/* ============================================================
   Community Bulletin — Premium SaaS UI (21st.dev / Linear / Vercel)
   ============================================================ */

:root {
  --bg: #fafbfc;
  --bg-elevated: #ffffff;
  --bg-soft: #f1f4f8;
  --bg-muted: #e8eef5;
  --ink: #0a0f1a;
  --ink-2: #3d4a5c;
  --ink-3: #6b7a8f;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-glow: rgba(37, 99, 235, 0.45);
  --blue-soft: #eff6ff;
  --cyan: #06b6d4;
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 4px 6px rgba(15, 23, 42, 0.03), 0 20px 50px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 0 1px rgba(37, 99, 235, 0.12), 0 20px 60px rgba(37, 99, 235, 0.18);
  --font: "Sora", ui-sans-serif, system-ui, sans-serif;
  --display: "Outfit", "Sora", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;
}

[data-theme="dark"] {
  --bg: #070b14;
  --bg-elevated: #0d1320;
  --bg-soft: #111827;
  --bg-muted: #1a2332;
  --ink: #f1f5f9;
  --ink-2: #cbd5e1;
  --ink-3: #94a3b8;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --blue-soft: #172554;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(37, 99, 235, 0.18); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.container { width: min(1160px, calc(100% - 4rem)); margin-inline: auto; }
.container-wide { width: min(1280px, calc(100% - 4rem)); margin-inline: auto; }

/* ---------- Noise / mesh atmosphere ---------- */
.page-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(37, 99, 235, 0.14), transparent 55%),
    radial-gradient(700px 400px at 5% 30%, rgba(6, 182, 212, 0.08), transparent 50%),
    radial-gradient(600px 300px at 50% 100%, rgba(37, 99, 235, 0.06), transparent 60%);
}
.noise-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
.h1 {
  font-family: var(--display);
  font-size: clamp(2.75rem, 6.5vw, 4.75rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0;
}
.h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0;
}
.h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  margin: 0;
}
.lead { color: var(--ink-3); font-size: 1.08rem; line-height: 1.65; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}
.gradient-text {
  background: linear-gradient(135deg, var(--ink) 20%, var(--blue) 55%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Nav (Linear / Vercel style) ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: height 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.site-nav .container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 0;
}
.site-nav.is-scrolled {
  height: 60px;
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg-elevated) 86%, transparent);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(15, 23, 42, 0.04);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: 100%;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
  justify-self: start;
  z-index: 2;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2), 0 6px 16px rgba(37, 99, 235, 0.28);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.28) 50%, transparent 65%);
  animation: sheen 4s ease infinite;
}
@keyframes sheen {
  0% { transform: translateX(-120%); }
  35%, 100% { transform: translateX(120%); }
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 0.1rem;
}
.brand-text strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand-text span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  background: none;
  border: 0;
  padding: 0;
  border-radius: 0;
  justify-self: center;
  grid-column: 2;
}
.nav-links a {
  position: relative;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  color: var(--ink-3);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s var(--ease), background 0.2s;
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.04);
  box-shadow: none;
}
.nav-links a.is-active {
  color: var(--ink);
  font-weight: 600;
}
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.12rem;
  height: 1.5px;
  border-radius: 2px;
  background: var(--blue);
  opacity: 0.9;
}
.nav-actions {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  justify-self: end;
  flex-shrink: 0;
  z-index: 2;
  grid-column: 3;
}
.mobile-nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  justify-self: end;
  grid-column: 3;
  z-index: 3;
}
.nav-divider {
  width: 1px;
  height: 18px;
  background: var(--line-strong);
  margin: 0 0.25rem;
}
.btn-nav-login {
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s, background 0.2s;
}
.btn-nav-login:hover {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.04);
}
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  background: var(--ink);
  border: 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 6px 16px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s;
}
.btn-nav-cta:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.14) inset, 0 10px 22px rgba(15, 23, 42, 0.22);
}
[data-theme="dark"] .btn-nav-cta {
  background: #fff;
  color: #0b1220;
}
[data-theme="dark"] .btn-nav-cta:hover {
  background: #e2e8f0;
}
.btn-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: 0.2s var(--ease);
}
.btn-icon:hover {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.04);
  border-color: var(--line-strong);
}
.mobile-nav-toggle span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.2s;
}
.nav-mobile-actions { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.78rem 1.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(180deg, #3b82f6, var(--blue-dark));
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 10px 28px var(--blue-glow);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 16px 36px var(--blue-glow);
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-secondary {
  background: var(--bg-elevated);
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  transform: translateY(-1px);
  background: var(--bg);
  box-shadow: var(--shadow);
}
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); background: rgba(15, 23, 42, 0.04); }
.btn-sm { padding: 0.48rem 0.95rem; font-size: 0.8rem; }
.btn-block { width: 100%; }

/* ---------- Cards / glass / 3D ---------- */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.glass {
  background: color-mix(in srgb, var(--bg-elevated) 70%, transparent);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
[data-theme="dark"] .glass {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* 3D tilt scene */
.tilt-scene {
  perspective: 1200px;
  transform-style: preserve-3d;
}
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  will-change: transform;
}
.tilt-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(37, 99, 235, 0.22), transparent 55%);
  z-index: 2;
}
.tilt-card:hover .tilt-glow { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 4rem 0 5rem;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: floatOrb 12s ease-in-out infinite;
}
.hero-orb.a {
  width: 380px; height: 380px;
  background: #60a5fa;
  top: -80px; right: 8%;
}
.hero-orb.b {
  width: 280px; height: 280px;
  background: #67e8f9;
  bottom: 10%; left: -40px;
  animation-delay: -4s;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
  position: relative;
  z-index: 1;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero-meta strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.hero-meta span { font-size: 0.8rem; color: var(--ink-3); }

/* ---------- 3D Bulletin Booklet ---------- */
.booklet-stage {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  perspective: 1600px;
  padding: 1.5rem 0;
}
.booklet {
  position: relative;
  aspect-ratio: 11 / 14;
  transform-style: preserve-3d;
  transform: rotateY(-18deg) rotateX(8deg) rotateZ(-2deg);
  animation: bookletFloat 6s ease-in-out infinite;
  transition: transform 0.4s var(--ease);
}
.booklet-stage:hover .booklet {
  transform: rotateY(-8deg) rotateX(4deg) rotateZ(0deg) scale(1.02);
  animation-play-state: paused;
}
@keyframes bookletFloat {
  0%, 100% { transform: rotateY(-18deg) rotateX(8deg) rotateZ(-2deg) translateY(0); }
  50% { transform: rotateY(-14deg) rotateX(6deg) rotateZ(-1deg) translateY(-12px); }
}
.booklet-shadow {
  position: absolute;
  left: 10%; right: 5%; bottom: -8%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(15, 23, 42, 0.35), transparent 70%);
  filter: blur(12px);
  z-index: 0;
}
.booklet-spine {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 14px;
  background: linear-gradient(90deg, #94a3b8, #e2e8f0 40%, #cbd5e1);
  border-radius: 4px 0 0 4px;
  transform: translateZ(1px);
  z-index: 3;
  box-shadow: inset -2px 0 4px rgba(0,0,0,0.15);
}
.booklet-page {
  position: absolute;
  inset: 0 0 0 10px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 0 16px 16px 4px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow:
    8px 20px 40px rgba(15, 23, 42, 0.18),
    2px 0 0 #fff,
    4px 0 0 rgba(15,23,42,0.04),
    6px 0 0 #fff;
  overflow: hidden;
  transform: translateZ(2px);
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.booklet-masthead {
  padding: 1rem 1.1rem 0.75rem;
  border-bottom: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.booklet-masthead strong {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}
.booklet-masthead span {
  font-size: 0.65rem;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.booklet-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8px;
  padding: 10px;
  min-height: 0;
}
.booklet-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bk-block {
  border-radius: 8px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  flex: 1;
  position: relative;
  overflow: hidden;
}
.bk-block::after {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border-radius: 4px;
  background: repeating-linear-gradient(
    180deg,
    rgba(148, 163, 184, 0.35) 0 2px,
    transparent 2px 10px
  );
  opacity: 0.5;
}
.bk-ad {
  background: linear-gradient(145deg, #dbeafe, #eff6ff);
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 12px 28px rgba(37, 99, 235, 0.2);
  display: grid;
  place-items: center;
  animation: adPulse 2.4s ease infinite;
  z-index: 2;
}
.bk-ad::after { display: none; }
.bk-ad strong {
  font-family: var(--display);
  font-size: 0.78rem;
  color: var(--blue-dark);
  text-align: center;
  padding: 0.5rem;
  letter-spacing: -0.02em;
}
@keyframes adPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 12px 28px rgba(37, 99, 235, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.08), 0 16px 36px rgba(37, 99, 235, 0.28); }
}
.booklet-footer {
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--ink-3);
  background: #f8fafc;
}
.booklet-badge {
  position: absolute;
  top: -12px;
  right: -8px;
  z-index: 5;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transform: rotate(6deg);
}

/* ---------- Sections ---------- */
.section { padding: 6rem 0; position: relative; }
.section-soft {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }

/* Steps — bento / timeline */
.steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, 1fr);
}
.step {
  position: relative;
  padding: 1.4rem 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: 0.35s var(--ease);
}
.step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.step:hover {
  transform: translateY(-6px) rotateX(2deg);
  box-shadow: var(--shadow-glow);
  border-color: rgba(37, 99, 235, 0.25);
}
.step:hover::before { opacity: 1; }
.step-num {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue);
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  border: 1px solid rgba(37, 99, 235, 0.15);
  box-shadow: inset 0 1px 0 #fff;
  position: relative;
  z-index: 1;
}

/* Pricing — 3D cards */
.price-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(3, 1fr);
}
.price-card {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: 0.4s var(--ease);
}
.price-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.price-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.2);
}
.price-card:hover::before { opacity: 1; }
.price-card.featured {
  background: linear-gradient(165deg, #eff6ff 0%, #ffffff 45%);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-glow);
}
.price-card.featured::after {
  content: "Popular";
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
}
.price-card .amount {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--ink), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-visual {
  height: 72px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border: 1px dashed #cbd5e1;
  position: relative;
  overflow: hidden;
}
.price-visual .slot-demo {
  position: absolute;
  background: linear-gradient(145deg, #93c5fd, #2563eb);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
.slot-demo.business_card { width: 28%; height: 22%; right: 10%; bottom: 12%; }
.slot-demo.double_card { width: 28%; height: 40%; right: 10%; bottom: 12%; }
.slot-demo.quarter { width: 38%; height: 48%; right: 8%; bottom: 10%; }
.slot-demo.half { width: 84%; height: 42%; left: 8%; bottom: 10%; }
.slot-demo.full { inset: 10%; width: auto; height: auto; }
.slot-demo.flyer { width: 55%; height: 70%; left: 22%; top: 12%; transform: rotate(-4deg); }

/* ZIP bento */
.bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}
.bento-item {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.bento-item:nth-child(1),
.bento-item:nth-child(6) { grid-column: span 2; }
.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.25);
}
.bento-item .zip-code {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--blue);
}

/* Calendar */
.cal-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}
.event-row {
  display: flex;
  gap: 1rem;
  padding: 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  margin-bottom: 0.75rem;
  transition: 0.25s var(--ease);
}
.event-row:hover {
  transform: translateX(4px);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: var(--shadow);
}
.event-date {
  min-width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.15;
  font-weight: 700;
  font-size: 0.72rem;
  flex-shrink: 0;
}
.event-date strong { display: block; font-size: 1.15rem; font-family: var(--display); }

/* FAQ accordion */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: 0.25s var(--ease);
}
.faq-item[open] { box-shadow: var(--shadow); border-color: rgba(37, 99, 235, 0.2); }
.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--blue);
  font-weight: 400;
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 1.25rem 1.15rem;
  color: var(--ink-3);
  font-size: 0.95rem;
}

/* Forms */
.form-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
.label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink-2); margin-bottom: 0.4rem; }
.input, .select, .textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  background: var(--bg-elevated);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.textarea { min-height: 110px; resize: vertical; }
.help { font-size: 0.8rem; color: var(--ink-3); margin-top: 0.35rem; }
.checkbox { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; color: var(--ink-2); }

/* Alerts / badges / tables */
.alert {
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.05rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  border: 1px solid var(--line);
}
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-info { background: var(--blue-soft); border-color: #bfdbfe; color: #1e3a8a; }
.badge {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: 0.22rem 0.6rem; font-size: 0.7rem; font-weight: 700;
}
.badge-primary { background: var(--blue-soft); color: var(--blue); }
.badge-success { background: #ecfdf5; color: #047857; }
.badge-warning { background: #fffbeb; color: #b45309; }
.badge-danger { background: #fef2f2; color: #b91c1c; }
.badge-info { background: #eff6ff; color: #1d4ed8; }
.badge-muted { background: var(--bg-muted); color: var(--ink-3); }
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}
table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.data th, table.data td { padding: 0.9rem 1.05rem; text-align: left; border-bottom: 1px solid var(--line); }
table.data th {
  background: var(--bg-soft);
  color: var(--ink-3);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
table.data tr:last-child td { border-bottom: 0; }
table.data tr { transition: background 0.15s; }
table.data tbody tr:hover { background: rgba(37, 99, 235, 0.03); }

/* Live preview bulletin (flat + 3D wrapper) */
.bulletin-stage {
  aspect-ratio: 11 / 17;
  width: min(420px, 100%);
  margin-inline: auto;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(3deg);
  transform-style: preserve-3d;
}
.bulletin-grid {
  position: absolute; inset: 8%;
  display: grid; gap: 8px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 1fr;
}
.slot {
  border: 2px dashed #cbd5e1; border-radius: 8px;
  background: repeating-linear-gradient(45deg, #f8fafc, #f8fafc 8px, #f1f5f9 8px, #f1f5f9 16px);
  display: grid; place-items: center; color: var(--ink-3);
  font-size: 0.75rem; font-weight: 600; overflow: hidden; text-align: center; padding: 0.5rem;
}
.slot.active {
  border-style: solid; border-color: var(--blue);
  background: var(--blue-soft); color: var(--blue);
  animation: pulseSlot 1.6s ease infinite;
}
.slot.business_card { grid-column: 2; grid-row: 4; }
.slot.double_card { grid-column: 2; grid-row: 3 / 5; }
.slot.quarter { grid-column: 2; grid-row: 2 / 4; }
.slot.half { grid-column: 1 / 3; grid-row: 3 / 5; }
.slot.full { grid-column: 1 / 3; grid-row: 1 / 5; }
.slot.flyer { grid-column: 1 / 3; grid-row: 2 / 4; transform: rotate(-2deg); }
@keyframes pulseSlot {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(37,99,235,.15); }
  50% { box-shadow: inset 0 0 0 6px rgba(37,99,235,.08); }
}

/* Dashboards */
.app-shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar {
  background: linear-gradient(180deg, #0b1220, #111827);
  color: #e2e8f0;
  padding: 1.25rem 1rem;
  position: sticky; top: 0; height: 100vh; overflow: auto;
}
.sidebar a {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.65rem 0.8rem; border-radius: 10px;
  color: #cbd5e1; font-size: 0.9rem; font-weight: 500;
  transition: 0.2s;
}
.sidebar a:hover, .sidebar a.active {
  background: rgba(59, 130, 246, 0.15);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.25);
}
.sidebar .brand { color: #fff; margin-bottom: 1.5rem; padding: 0.4rem 0.5rem; }
.app-main { background: var(--bg); }
.app-top {
  background: color-mix(in srgb, var(--bg-elevated) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0; z-index: 20;
}
.app-content { padding: 1.5rem; }
.stat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(5, 1fr); }
.stat {
  padding: 1.2rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.stat::after {
  content: "";
  position: absolute;
  right: -20px; top: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
}
.stat .label { color: var(--ink-3); font-size: 0.78rem; font-weight: 600; }
.stat .value {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  margin-top: 0.25rem;
  letter-spacing: -0.03em;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 4rem 0 2rem;
  color: var(--ink-3);
  font-size: 0.92rem;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 2fr 1fr 1fr 1fr; }
.footer a:hover { color: var(--blue); }

.empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--ink-3);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}
.spinner {
  width: 22px; height: 22px;
  border: 2px solid var(--line);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.fade-up { animation: fadeUp 0.8s var(--ease) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* Marquee logos / trust */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  padding: 1rem 0;
  border-block: 1px solid var(--line);
  background: var(--bg-elevated);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  color: var(--ink-3);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Media / image components ---------- */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--bg-muted);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.media-frame:hover img { transform: scale(1.04); }

.hero-visual {
  position: relative;
  width: 100%;
  align-self: stretch;
  display: flex;
}
.hero-bulletin {
  width: 100%;
  min-height: min(560px, 72vh);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-bulletin .booklet-masthead {
  padding: 1.25rem 1.4rem 1rem;
  border-bottom: 2px solid var(--ink);
}
.hero-bulletin .booklet-masthead strong {
  font-size: 1.25rem;
}
.hero-bulletin .booklet-body {
  gap: 12px;
  padding: 14px;
  min-height: 0;
}
.hero-bulletin .bk-ad strong {
  font-size: 1rem;
}
.hero-bulletin .booklet-footer {
  padding: 0.85rem 1.35rem;
  font-size: 0.75rem;
}

.feature-bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
}
.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  min-height: 220px;
  transition: 0.4s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-card.wide { grid-row: span 2; min-height: 460px; }
.feature-card .fc-media {
  position: absolute;
  inset: 0;
}
.feature-card .fc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-card .fc-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.35rem;
  background: linear-gradient(180deg, transparent, rgba(10, 15, 26, 0.78));
  color: #fff;
  z-index: 2;
}
.feature-card .fc-body p { color: rgba(255,255,255,0.78); margin: 0.35rem 0 0; font-size: 0.9rem; }
.feature-card.light .fc-body {
  position: relative;
  background: none;
  color: var(--ink);
  padding: 1.35rem;
}
.feature-card.light .fc-body p { color: var(--ink-3); }
.feature-card.light .fc-media {
  position: relative;
  height: 140px;
}
.feature-card.light { display: flex; flex-direction: column; min-height: 0; }

.journey {
  display: grid;
  gap: 1.25rem;
}
.journey-step {
  display: grid;
  grid-template-columns: 80px 1.1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: 0.35s var(--ease);
}
.journey-step:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(37, 99, 235, 0.25);
}
.journey-step:nth-child(even) { grid-template-columns: 80px 1fr 1.1fr; }
.journey-step:nth-child(even) .journey-copy { order: 3; }
.journey-step:nth-child(even) .journey-media { order: 2; }
.journey-num {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  box-shadow: 0 12px 28px var(--blue-glow);
}
.journey-media {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
}
.journey-media img { width: 100%; height: 100%; object-fit: cover; }

.placement-studio {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: stretch;
}
.placement-panel {
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.slot-picker {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}
.slot-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  cursor: default;
  transition: 0.25s var(--ease);
}
.slot-chip:hover, .slot-chip.active {
  border-color: rgba(37, 99, 235, 0.4);
  background: var(--blue-soft);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}
.slot-chip strong { font-size: 0.92rem; }
.slot-chip span { color: var(--ink-3); font-size: 0.82rem; }

.testimonial-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
.quote-card {
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 240px;
  transition: 0.35s var(--ease);
}
.quote-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.quote-card p {
  flex: 1;
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  margin: 0;
}
.quote-user {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.quote-avatar {
  width: 42px; height: 42px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.stars { color: #f59e0b; letter-spacing: 0.08em; font-size: 0.85rem; }

.coverage-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
}
.coverage-map {
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.coverage-map img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.coverage-map .map-caption {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg-elevated) 82%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  z-index: 2;
}
.zip-stack { display: grid; gap: 0.75rem; max-height: 420px; overflow: auto; padding-right: 0.25rem; }
.zip-pill {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: 0.25s var(--ease);
}
.zip-pill:hover {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateX(4px);
}
.zip-pill .code {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue);
  min-width: 3.5rem;
}

.calendar-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.calendar-hero .media-frame { min-height: 280px; }
.dash-cta {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #0b1220, #1e3a8a 60%, #2563eb);
  color: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.dash-cta p { color: rgba(255,255,255,0.75); }
.dash-cta .media-frame {
  border: 0;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  transform: rotateY(-8deg) rotateX(4deg);
}

.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.section-nav a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  transition: 0.2s;
}
.section-nav a:hover {
  color: var(--blue);
  border-color: rgba(37, 99, 235, 0.3);
  background: var(--blue-soft);
}

.split-2 {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

@media (max-width: 1024px) {
  .hero-grid, .price-grid, .steps, .stat-grid, .footer-grid, .app-shell, .cal-grid, .bento, .split-2,
  .feature-bento, .placement-studio, .coverage-layout, .calendar-hero, .dash-cta, .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .feature-card.wide { grid-row: auto; min-height: 280px; }
  .journey-step,
  .journey-step:nth-child(even) {
    grid-template-columns: 64px 1fr;
  }
  .journey-step .journey-media,
  .journey-step:nth-child(even) .journey-media {
    grid-column: 1 / -1;
    order: 3;
  }
  .journey-step:nth-child(even) .journey-copy { order: 2; }
  .hero-bulletin { min-height: 420px; }
  .bento-item:nth-child(1), .bento-item:nth-child(6) { grid-column: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { position: relative; height: auto; }
  .nav-inner {
    grid-template-columns: 1fr auto;
  }
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .mobile-nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(var(--nav-h) + 8px);
    background: color-mix(in srgb, var(--bg-elevated) 94%, transparent);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.5rem;
    gap: 0.15rem;
    box-shadow: var(--shadow-lg);
    z-index: 120;
  }
  .nav-links.open a {
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
  }
  .nav-links.open a.is-active::after { display: none; }
  .nav-links.open a.is-active {
    background: var(--blue-soft);
    color: var(--blue);
  }
  .nav-links.open .nav-mobile-actions,
  .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    border-top: 1px solid var(--line);
    margin-top: 0.35rem;
  }
  .nav-mobile-actions[hidden] { display: none !important; }
  .booklet { transform: rotateY(-8deg) rotateX(4deg); }
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .steps, .price-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 2.5rem 0 3rem; }
  .container, .container-wide { width: min(1160px, calc(100% - 2rem)); }
  .site-nav { padding-inline: 1rem; }
}
