/* Ultimate Crossword — app site
   Shares the Fiscal Persevering design system: near-black chrome over a light page,
   tight grotesque type, two-tone headlines, gradient "surface" cards. Plain CSS. */

:root {
  --bg: #efefec;
  --bg-2: #e6e6e2;
  --surface: #fafaf8;
  --ink: #0d0d0c;
  --ink-2: #2a2a28;
  --muted: #5f5f5b;
  --muted-display: #80807b; /* >= 3:1 on --bg, for large display type only */
  --line: #d3d3ce;

  --dark: #0b0b0a;
  --dark-2: #141413;
  --on-dark: #f3f3f0;
  --muted-on-dark: #9d9d97;
  --line-on-dark: #2b2b28;

  --moss: #6f8447;
  --moss-tint: #e1e8cf;
  --moss-ink: #33421f;
  --tan: #b9926a;
  --tan-deep: #7d5f3f;
  --cream: #efedd2;

  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 18px;
  --radius-lg: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  font: 600 0.85rem/1 var(--font-display);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- type helpers ---------- */

.eyebrow {
  font: 600 0.72rem/1.2 var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.eyebrow--on-dark { color: var(--muted-on-dark); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--moss-tint);
  color: var(--moss-ink);
  font: 600 0.78rem/1.2 var(--font-display);
  letter-spacing: 0.01em;
  margin: 0;
}

.pill--dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--on-dark);
}

.display {
  font: 600 clamp(2rem, 4.6vw, 3.6rem)/1.04 var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
}

.display > span { display: block; text-wrap: balance; }

.tone-muted { color: var(--muted-display); }

.index-label {
  font: 500 0.8rem/1 var(--font-display);
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 0.9rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font: 600 0.82rem/1 var(--font-display);
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--white { background: #fff; color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: var(--line); }

.btn__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.link-arrow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font: 600 0.9rem/1 var(--font-display);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.25rem;
}

.link-arrow:hover { opacity: 0.7; }

/* ---------- header / nav ---------- */

.site-header {
  background: var(--dark);
  color: var(--on-dark);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header a:focus-visible,
.site-header button:focus-visible { outline-color: #fff; }

.site-nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font: 600 1.12rem/1 var(--font-display);
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark img { width: 28px; height: 28px; border-radius: 7px; }
.wordmark svg { width: 24px; height: 24px; }

.nav-panel { display: contents; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font: 600 0.72rem/1 var(--font-display);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  padding: 0.5rem 0;
  transition: opacity 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { opacity: 1; }

.nav-links a[aria-current="page"] { border-bottom: 1px solid var(--tan); }

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.6rem;
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- grain + gradient surfaces ---------- */

.surface {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.surface::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.surface--moss {
  background:
    radial-gradient(70% 55% at 25% 15%, #9db56d 0%, transparent 62%),
    radial-gradient(60% 60% at 85% 85%, #16200f 0%, transparent 70%),
    linear-gradient(160deg, #4b5f2e, #1f2915);
}

/* faint crossword-grid lines inside a surface */
.surface--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(75% 75% at 60% 30%, #000 25%, transparent 80%);
          mask-image: radial-gradient(75% 75% at 60% 30%, #000 25%, transparent 80%);
}

/* ---------- phone-frame mockup for real screenshots ---------- */

.phone-frame {
  max-width: 300px;
  margin: 0 auto;
  padding: 11px;
  background: #0d0d0c;
  border-radius: 2.1rem;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}

.phone-frame__screen {
  overflow: hidden;
  border-radius: 1.5rem;
  background: #fff;
}

.phone-frame__screen img { width: 100%; height: auto; }

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(55% 70% at 30% 0%, #fbfbf9 0%, transparent 70%),
    linear-gradient(180deg, #f3f3f0 0%, var(--bg) 100%);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__title {
  font: 600 clamp(2.3rem, 4.7vw, 3.75rem)/1.04 var(--font-display);
  letter-spacing: -0.022em;
  margin: 1.4rem 0 1.5rem;
}

.hero__title .line { display: block; text-wrap: balance; }
.hero__title .word { display: inline-block; }

.hero__lede {
  max-width: 46ch;
  margin: 0 0 2rem;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.checks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.75rem 0 0;
  padding: 0;
}

.checks li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font: 500 0.82rem/1.2 var(--font-display);
}

.checks svg { width: 15px; height: 15px; color: var(--moss); flex: none; }

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1.08;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2.25rem 2rem 0;
}

.hero__visual .phone-frame {
  width: min(100%, 260px);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  transform: translateY(5%);
}

/* the small floating card over the phone, like an in-app panel */
.float-card {
  position: absolute;
  left: 6%;
  bottom: 14%;
  z-index: 2;
  width: min(62%, 270px);
  padding: 1rem 1.1rem 1.1rem;
  background: rgba(250, 250, 248, 0.94);
  border-radius: 18px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.float-card__label {
  font: 600 0.68rem/1.2 var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.float-card__title {
  font: 600 1rem/1.25 var(--font-display);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.size-chips li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--moss-tint);
  color: var(--moss-ink);
  font: 600 0.74rem/1.2 var(--font-display);
}

.size-chips span { font-weight: 500; opacity: 0.75; margin-left: 0.25rem; }

/* ---------- hero entrance: words rise into place ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero__title .line {
    overflow: hidden;
    padding: 0.06em 0 0.16em;
    margin: -0.06em 0 -0.16em;
  }

  .hero__title .word {
    transform-origin: 0 100%;
    animation: word-in 1.05s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(0.25s + var(--i, 0) * 0.11s);
  }

  .hero__title .word--ink {
    animation:
      word-in 1.05s cubic-bezier(0.16, 1, 0.3, 1) both,
      ink-in 0.8s ease both;
    animation-delay:
      calc(0.25s + var(--i, 0) * 0.11s),
      calc(0.25s + var(--i, 0) * 0.11s + 0.6s);
  }

  .hero .pill,
  .hero__lede,
  .hero__actions,
  .checks,
  .hero__visual {
    animation: fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero .pill { animation-delay: 0.05s; }
  .hero__lede { animation-delay: 0.9s; }
  .hero__actions { animation-delay: 1.05s; }
  .checks { animation-delay: 1.2s; }
  .hero__visual { animation-delay: 0.35s; }

  @keyframes word-in {
    from { transform: translateY(105%) rotate(4deg); opacity: 0; filter: blur(6px); }
    to   { transform: none; opacity: 1; filter: blur(0); }
  }

  @keyframes ink-in {
    from { color: var(--muted-display); }
    to   { color: var(--ink); }
  }

  @keyframes fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ---------- benefits band ---------- */

.benefits {
  background: var(--dark);
  color: var(--on-dark);
  padding: 1.15rem 0;
}

.benefits__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.9rem 2rem;
}

.benefits__list li {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font: 500 0.9rem/1.3 var(--font-display);
}

.benefits__list svg { width: 18px; height: 18px; color: var(--tan); flex: none; }

/* ---------- section scaffolding ---------- */

.section { padding: clamp(4.5rem, 9vw, 7rem) 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-head__aside {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-head .pill { margin-bottom: 1.1rem; }

/* ---------- how it works: three step cards ---------- */

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.step-card__visual {
  height: 240px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem 1.5rem 0;
  overflow: hidden;
}

.step-card:nth-child(1) .step-card__visual { background: linear-gradient(160deg, #e1e8cf, #cbd6ae); }
.step-card:nth-child(2) .step-card__visual { background: linear-gradient(160deg, #efe3cf, #e0cba8); }
.step-card:nth-child(3) .step-card__visual { background: linear-gradient(160deg, #dde2ee, #c4cde3); }

.step-card__visual--center { align-items: center; padding-bottom: 1.5rem; }

.mini-phone {
  width: min(58%, 168px);
  border: 5px solid #0d0d0c;
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, 0.45);
}

.mini-phone img { width: 100%; height: auto; }

.size-stack {
  display: grid;
  gap: 0.6rem;
  width: min(100%, 250px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.size-stack li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.8rem 1rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.35);
  font: 600 0.95rem/1.2 var(--font-display);
  letter-spacing: -0.01em;
}

.size-stack span { font-weight: 500; font-size: 0.8rem; color: var(--muted); }

.step-card__body { padding: 1.5rem 1.6rem 1.9rem; }

.step-card__body h3 {
  font: 600 1.35rem/1.15 var(--font-display);
  letter-spacing: -0.025em;
  margin: 0 0 0.6rem;
}

.step-card__body p { margin: 0; color: var(--muted); }

/* ---------- app showcase (dark) ---------- */

.showcase {
  background:
    radial-gradient(55% 75% at 85% 15%, rgba(111, 132, 71, 0.3), transparent 62%),
    radial-gradient(50% 60% at 8% 95%, rgba(185, 146, 106, 0.16), transparent 62%),
    var(--dark);
  color: var(--on-dark);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  overflow: hidden;
}

.showcase__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.showcase .tone-muted { color: #8f8f89; }

.showcase__phone .phone-frame { max-width: 290px; }

.feat-list {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
}

.feat-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  align-items: start;
}

.icon-chip {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(111, 132, 71, 0.28);
  color: #c4d6a0;
  display: grid;
  place-items: center;
}

.icon-chip svg { width: 20px; height: 20px; }

.feat-list h3 {
  font: 600 1.1rem/1.3 var(--font-display);
  letter-spacing: -0.02em;
  margin: 0 0 0.3rem;
}

.feat-list p { margin: 0; color: var(--muted-on-dark); font-size: 0.95rem; max-width: 46ch; }

.feat-list a { color: var(--on-dark); text-underline-offset: 3px; }

/* ---------- free vs optional ---------- */

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.plan {
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
}

.plan--extras {
  background:
    radial-gradient(70% 70% at 90% 0%, rgba(111, 132, 71, 0.35), transparent 62%),
    var(--dark);
  color: var(--on-dark);
  border-color: var(--dark);
}

.plan__name {
  font: 600 0.72rem/1 var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.plan--extras .plan__name { color: var(--muted-on-dark); }

.plan h3 {
  font: 600 clamp(1.6rem, 3vw, 2.2rem)/1.08 var(--font-display);
  letter-spacing: -0.025em;
  margin: 0 0 0.5rem;
}

.plan__sub { margin: 0 0 1.5rem; color: var(--muted); }
.plan--extras .plan__sub { color: var(--muted-on-dark); }

.ticks {
  list-style: none;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.85rem;
}

.plan--extras .ticks { border-top-color: var(--line-on-dark); }

.ticks li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.75rem;
  font-size: 0.97rem;
}

.ticks svg { width: 18px; height: 18px; margin-top: 0.2rem; color: var(--moss); }
.plan--extras .ticks svg { color: #a9c27a; }

.plans-note { margin: 1.5rem 0 0; color: var(--muted); font-size: 0.9rem; max-width: 70ch; }
.plans-note a { color: var(--tan-deep); text-underline-offset: 3px; }

/* ---------- FAQ ---------- */

.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.faq__intro p { color: var(--muted); max-width: 34ch; margin: 1.25rem 0 0; }

.faq__list { border-top: 1px solid var(--line); }

.faq__list details { border-bottom: 1px solid var(--line); }

.faq__list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font: 600 1.1rem/1.3 var(--font-display);
  letter-spacing: -0.02em;
}

.faq__list summary::-webkit-details-marker { display: none; }

.faq__list summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.faq__list details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

.faq__list details p { margin: 0 0 1.4rem; color: var(--muted); max-width: 60ch; }
.faq__list details a { color: var(--tan-deep); text-underline-offset: 3px; }

/* ---------- closing call to action ---------- */

.cta { padding: 0 0 clamp(4.5rem, 9vw, 7rem); }

.cta-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4.25rem);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.cta-card .display { max-width: 14ch; margin: 1rem 0 1.25rem; }

.cta-card__text { color: #4a4a3f; max-width: 44ch; margin: 0; }

.cta-card .signup {
  margin: 0;
  max-width: none;
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(13, 13, 12, 0.12);
}

/* ---------- email signup ---------- */

.signup {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  max-width: 60ch;
}

.signup p { margin: 0 0 1rem; font-size: 0.92rem; color: var(--ink-2); }

.signup-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.signup-row input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--ink);
}

.signup-row button { flex: 0 0 auto; }

/* ---------- simple pages (support / privacy) ---------- */

.simple-main {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem 6rem;
}

.simple-main h1 {
  font: 600 clamp(2.2rem, 5vw, 3.4rem)/1.06 var(--font-display);
  letter-spacing: -0.022em;
  margin: 0 0 0.75rem;
}

.simple-main .tagline { color: var(--muted); margin-top: 0; font-size: 1.05rem; }

.simple-main h2 {
  font: 600 1.35rem/1.3 var(--font-display);
  letter-spacing: -0.025em;
  margin: 2.6rem 0 0.5rem;
}

.simple-main a { color: var(--tan-deep); text-underline-offset: 3px; }
.simple-main a:hover { color: var(--ink); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--dark);
  color: var(--on-dark);
  padding: clamp(3.5rem, 7vw, 5rem) 0 2.25rem;
  overflow: hidden;
}

.site-footer a:focus-visible { outline-color: #fff; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.footer-blurb { margin: 1rem 0 0; color: var(--muted-on-dark); font-size: 0.92rem; max-width: 34ch; }
.footer-blurb a { color: var(--on-dark); text-underline-offset: 3px; }

.footer-col h2 {
  font: 600 0.72rem/1 var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  margin: 0 0 1.1rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }

.footer-col a {
  font-size: 0.95rem;
  color: var(--on-dark);
  text-decoration: none;
  opacity: 0.88;
}

.footer-col a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

.footer-wordmark {
  font: 600 clamp(2.1rem, 8.6vw, 7.6rem)/0.95 var(--font-display);
  letter-spacing: -0.03em;
  margin: 0;
  color: #1f1f1d;
  border-top: 1px solid var(--line-on-dark);
  padding-top: 1.75rem;
  user-select: none;
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
  font-size: 0.8rem;
  color: var(--muted-on-dark);
}

/* ---------- scroll reveal ---------- */

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq__list summary::after { transition: none; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero__grid,
  .showcase__grid,
  .faq__grid,
  .cta-card { grid-template-columns: 1fr; }
  .hero__visual { aspect-ratio: 1 / 0.95; max-width: 540px; }
  .step-grid { grid-template-columns: 1fr; }
  .step-card__visual { height: 220px; }
  .plan-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .showcase__phone { order: 2; }
}

@media (max-width: 880px) {
  .site-nav { grid-template-columns: 1fr auto; }

  .nav-toggle { display: inline-flex; }

  .nav-panel {
    display: block;
    grid-column: 1 / -1;
    padding-bottom: 1.25rem;
  }

  .js .nav-panel { display: none; }
  .js .nav-panel.is-open { display: block; }

  .nav-links { flex-direction: column; gap: 0; }

  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--line-on-dark);
  }

  .nav-actions { justify-content: flex-start; padding-top: 1.1rem; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .benefits__list { flex-direction: column; }
  .hero__visual { padding: 1.75rem 1.25rem 0; }
  .float-card { left: 4%; bottom: 10%; width: 66%; }
}
