/* ==========================================================================
   NIL Tax Coach — by AZ Does Taxes
   Brand system lifted from azdoestaxes.com (Roboto Black / Fahkwang / indigo
   + electric blue + teal). Single stylesheet, no build step.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Brand palette — sampled from the live azdoestaxes.com stylesheet */
  --ink:            #000000;   /* headline black                     */
  --indigo:         #191772;   /* deep brand block                   */
  --indigo-deep:    #11104f;   /* darker indigo for depth            */
  --blue:           #0044f9;   /* electric accent / primary CTA      */
  --blue-hover:     #0036c9;
  --periwinkle:     #cfdcff;   /* light blue line + muted text on dark */
  --pale:           #f0f4ff;   /* soft section wash                  */
  --teal:           #1c806d;   /* "good news" / savings accent       */
  --mint:           #d4f7ec;   /* soft teal wash                     */
  --white:          #ffffff;

  /* Derived neutrals */
  --body:           #2b2b33;
  --muted:          #5d6070;
  --rule:           #dfe4f5;
  --rule-strong:    #c3cbe8;

  /* Type */
  --font-display: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body:    "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-label:   "Fahkwang", "Roboto", Georgia, serif;

  /* Layout */
  --wrap: 1140px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 4px;
  --radius-lg: 8px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(17, 16, 79, .06), 0 2px 8px rgba(17, 16, 79, .05);
  --shadow-md: 0 4px 12px rgba(17, 16, 79, .08), 0 12px 32px rgba(17, 16, 79, .08);
  --shadow-lg: 0 8px 20px rgba(17, 16, 79, .10), 0 24px 56px rgba(17, 16, 79, .14);

  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* `height: auto` is required: the width/height HTML attributes map to CSS
   width/height as presentational hints, and a definite height makes the
   browser ignore `aspect-ratio` entirely. */
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.5rem); letter-spacing: -0.018em; line-height: 1.18; }
h4 { font-size: 1.0625rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible { outline-color: var(--white); }
/* `strong` defaults to --ink, which is unreadable on the indigo blocks. */
.on-dark strong, .on-dark em { color: var(--white); }

::selection { background: var(--blue); color: var(--white); }

/* ---------- 3. Layout helpers -------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }
.section--pale { background: var(--pale); }
.section--mint { background: var(--mint); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { font-size: 1.125rem; color: var(--muted); margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }

/* Eyebrow — the Fahkwang uppercase label used across azdoestaxes.com */
.eyebrow {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
  display: block;
}
.on-dark .eyebrow { color: var(--periwinkle); }

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink); color: var(--white);
  padding: 12px 20px; z-index: 200; border-radius: var(--radius);
  font-weight: 700; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1;
  padding: 18px 30px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease),
              box-shadow .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--blue); color: var(--white); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--blue-hover); box-shadow: var(--shadow-md); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--indigo); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }

.btn--light { background: var(--white); color: var(--indigo); }
.btn--light:hover { background: var(--periwinkle); }

.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost-light:hover { background: var(--white); color: var(--indigo); border-color: var(--white); }

.btn--sm { padding: 13px 22px; font-size: .9375rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 5. Header ---------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--rule); box-shadow: 0 1px 14px rgba(17,16,79,.06); }

.header__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 72px;
}

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-weight: 900; font-size: 1.0625rem;
  letter-spacing: -.02em; color: var(--ink);
}
.brand__sub {
  font-family: var(--font-label); font-weight: 700; font-size: .5625rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--muted);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-weight: 700; font-size: .9375rem; color: var(--ink);
  letter-spacing: -.01em; position: relative; padding-block: 6px;
}
.nav a:hover { color: var(--blue); text-decoration: none; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

/* The nav carries its own CTA for the mobile drawer; .header__cta is the
   desktop one. Only ever show one of the two. */
.nav > .btn { display: none; }

.nav-toggle {
  display: none; width: 44px; height: 44px; flex: none;
  background: none; border: 0; cursor: pointer; padding: 10px;
  color: var(--ink);
}
.nav-toggle span {
  display: block; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .header__cta { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 24px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--rule); font-size: 1.0625rem; }
  .nav a::after { display: none; }
  .nav > .btn { display: inline-flex; margin-top: 18px; }
}

/* ---------- 6. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 96px) clamp(52px, 7vw, 84px);
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(0, 68, 249, .09), transparent 68%),
    radial-gradient(700px 360px at 4% 104%, rgba(28, 128, 109, .07), transparent 66%),
    var(--white);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: normal;
  color: var(--blue);
}
.hero__lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--muted);
  max-width: 54ch;
  margin-bottom: 30px;
}
.hero .btn-row { margin-bottom: 26px; }

.hero__note {
  font-size: .875rem; color: var(--muted); display: flex;
  align-items: center; gap: 8px; margin: 0;
}
.hero__note svg { flex: none; color: var(--teal); }

/* Trust bar under the hero */
.trustbar {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--pale);
}
.trustbar ul {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px clamp(18px, 4vw, 48px);
  padding-block: 18px;
}
.trustbar li {
  font-family: var(--font-label); font-weight: 700;
  font-size: .75rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--indigo); display: flex; align-items: center; gap: 9px;
}
.trustbar li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); flex: none;
}

/* Hero card — the "what it costs you" panel */
.hero__card {
  background: var(--indigo);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.4vw, 40px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero__card::after {
  content: ""; position: absolute; inset: auto -40px -60px auto;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,68,249,.55), transparent 70%);
  pointer-events: none;
}
.hero__card h2 {
  color: var(--white); font-size: clamp(1.4rem, 2.3vw, 1.75rem);
  margin-bottom: 20px; position: relative;
}
.hero__card .eyebrow { color: var(--periwinkle); }

.paycheck { position: relative; display: grid; gap: 2px; }
.paycheck__row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; padding: 13px 0;
  border-bottom: 1px solid rgba(207, 220, 255, .22);
  font-size: .9375rem;
}
.paycheck__row:last-of-type { border-bottom: 0; }
.paycheck__row span:first-child { color: var(--periwinkle); }
.paycheck__row span:last-child {
  font-family: var(--font-display); font-weight: 700;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.paycheck__row--total {
  margin-top: 10px; padding-top: 18px;
  border-top: 2px solid rgba(207, 220, 255, .4);
  border-bottom: 0;
}
.paycheck__row--total span:first-child {
  color: var(--white); font-family: var(--font-display); font-weight: 900;
  font-size: 1.0625rem;
}
.paycheck__row--total span:last-child {
  font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 900; letter-spacing: -.03em;
}
.paycheck__foot {
  position: relative;
  margin: 22px 0 0; font-size: .8125rem; line-height: 1.5;
  color: var(--periwinkle);
  padding-top: 18px; border-top: 1px solid rgba(207,220,255,.22);
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ---------- 7. Stat block (indigo full-bleed) ---------------------------- */
.statblock {
  background: var(--indigo);
  color: var(--white);
  position: relative; overflow: hidden;
}
.statblock::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(760px 420px at 12% 0%, rgba(0,68,249,.42), transparent 62%);
  pointer-events: none;
}
.statblock__grid {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.statblock h2 { color: var(--white); margin-bottom: 14px; }
.statblock p { color: var(--periwinkle); font-size: 1.0625rem; max-width: 56ch; }
.statblock p:last-child { margin-bottom: 0; }
.statblock p.statblock__num {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(4.5rem, 13vw, 9.5rem);
  line-height: .82; letter-spacing: -.055em; color: var(--white);
  margin: 0; max-width: none;
}
@media (max-width: 760px) {
  .statblock__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- 8. Card grids ------------------------------------------------ */
.grid { display: grid; gap: clamp(18px, 2.2vw, 26px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 32px);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              border-color .22s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--rule-strong);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .9688rem; margin-bottom: 0; }

.card__icon {
  width: 46px; height: 46px; border-radius: var(--radius);
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--pale); color: var(--blue); flex: none;
}
.card--teal .card__icon { background: var(--mint); color: var(--teal); }

/* Numbered pillar cards */
.pillar { display: flex; gap: 20px; align-items: flex-start; }
.pillar__num {
  font-family: var(--font-display); font-weight: 900;
  font-size: 2.25rem; line-height: 1; letter-spacing: -.04em;
  color: var(--periwinkle); flex: none; width: 52px;
}
.pillar h3 { margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: .9688rem; margin: 0; }

/* ---------- 9. Pricing --------------------------------------------------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2.2vw, 26px);
  align-items: start;
}
.tier {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 2.8vw, 34px);
  display: flex; flex-direction: column; height: 100%;
  position: relative;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.tier--featured {
  border: 2px solid var(--indigo);
  box-shadow: var(--shadow-md);
}
.tier__flag {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--indigo); color: var(--white);
  font-family: var(--font-label); font-weight: 700;
  font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 100px; white-space: nowrap;
}

.tier__name {
  font-family: var(--font-label); font-weight: 700;
  font-size: .8125rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 6px;
}
.tier--featured .tier__name { color: var(--indigo); }
.tier__who { font-size: .875rem; color: var(--muted); margin: 0 0 22px; }

.tier__price {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px;
}
.tier__price b {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.75rem, 5vw, 3.4rem); line-height: 1;
  letter-spacing: -.045em; color: var(--ink);
}
.tier__price span { font-weight: 700; color: var(--muted); font-size: 1rem; }
.tier__alt { font-size: .8125rem; color: var(--muted); margin: 0 0 24px; min-height: 1.2em; }

.tier ul { margin-bottom: 28px; display: grid; gap: 11px; }
.tier li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: .9375rem; line-height: 1.45;
}
.tier li svg { flex: none; margin-top: 3px; color: var(--teal); }
.tier li b { font-weight: 700; color: var(--ink); }
.tier .btn { margin-top: auto; }

.pricing-note {
  margin-top: 32px; padding: 20px 24px;
  background: var(--mint); border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  font-size: .9375rem; color: #15523f;
}
.pricing-note p { margin-bottom: 0; }

/* ---------- 10. Steps ---------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: clamp(20px, 2.4vw, 28px); }
.steps--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { position: relative; padding-top: 26px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 900;
  font-size: .875rem; letter-spacing: .06em;
  color: var(--blue); display: block; margin-bottom: 12px;
}
.step::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--rule);
}
.step:first-child::after { background: var(--blue); }
.step h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .9375rem; margin: 0; }

/* ---------- 11. Audience ------------------------------------------------- */
.audience {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); padding: clamp(24px, 2.8vw, 34px);
}
.audience h3 { font-size: 1.25rem; margin-bottom: 12px; }
.audience p { color: var(--muted); font-size: .9688rem; margin-bottom: 16px; }
.audience ul { display: grid; gap: 9px; }
.audience li {
  display: flex; gap: 10px; font-size: .9063rem; line-height: 1.45;
  color: var(--body);
}
.audience li::before {
  content: "→"; color: var(--blue); font-weight: 700; flex: none;
}

/* ---------- 11b. Meet AZ + photography --------------------------------- */
.meetaz {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 860px) { .meetaz { grid-template-columns: 1fr; } }

.meetaz__portrait {
  width: 100%; aspect-ratio: 2 / 3;
  object-fit: cover; object-position: center 18%;
  border-radius: var(--radius-lg);
  background: var(--pale);
  box-shadow: var(--shadow-md);
}
@media (max-width: 860px) {
  .meetaz__portrait { aspect-ratio: 4 / 3; object-position: center 22%; }
}

.meetaz h2 { margin-bottom: 18px; }
.meetaz p { color: var(--muted); }

/* Three square thumbs under the copy */
.photostrip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-top: 28px;
}
.photostrip img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); background: var(--pale);
}
.photostrip img:nth-child(1) { object-position: center 42%; }
.photostrip img:nth-child(2) { object-position: center 38%; }
.photostrip img:nth-child(3) { object-position: 28% center; }

.photostrip__caption {
  margin: 14px 0 0;
  font-family: var(--font-label); font-weight: 700;
  font-size: .6875rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted);
}

/* Full-bleed photo band between sections */
.photoband {
  position: relative; overflow: hidden;
  background: var(--indigo);
}
.photoband img {
  width: 100%; height: clamp(260px, 42vw, 460px);
  object-fit: cover; object-position: center 42%;
  display: block;
}

/* ---------- 12. Quotes --------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(18px, 2.2vw, 26px); }
.quote {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); padding: clamp(24px, 2.6vw, 30px);
  display: flex; flex-direction: column;
}
.quote blockquote {
  margin: 0 0 20px; font-size: 1.0625rem; line-height: 1.5;
  color: var(--ink); font-weight: 500;
}
.quote blockquote::before { content: "“"; color: var(--blue); font-weight: 900; }
.quote blockquote::after { content: "”"; color: var(--blue); font-weight: 900; }
.quote figcaption {
  margin-top: auto; font-family: var(--font-label); font-weight: 700;
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); line-height: 1.5;
}
.quote figcaption b { display: block; color: var(--ink); }

/* ---------- 13. FAQ ------------------------------------------------------ */
.faq { display: grid; gap: 12px; max-width: 840px; }
.faq details {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq details[open] { border-color: var(--rule-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 20px 56px 20px 24px; position: relative;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.0313rem; color: var(--ink); line-height: 1.35;
  letter-spacing: -.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%;
  width: 11px; height: 11px; margin-top: -7px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: rotate(45deg); transform-origin: center;
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq__body { padding: 0 24px 22px; }
.faq .faq__body p { color: var(--muted); font-size: .9688rem; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- 14. Form ----------------------------------------------------- */
.formwrap {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
@media (max-width: 880px) { .formwrap { grid-template-columns: 1fr; } }

.form {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field label {
  display: block; font-weight: 700; font-size: .875rem;
  color: var(--ink); margin-bottom: 7px;
}
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  color: var(--ink); background: var(--white);
  padding: 13px 15px; border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius); transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235d6070' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 68, 249, .14);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .12);
}
.field .err {
  display: none; color: #c0392b; font-size: .8125rem;
  font-weight: 700; margin-top: 6px;
}
.field .err.is-shown { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.check {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: .875rem; color: var(--muted); line-height: 1.45;
  margin-bottom: 20px;
}
.check input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--blue); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__privacy {
  font-size: .8125rem; color: var(--muted); line-height: 1.5;
  margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--rule);
}
.form__privacy strong { color: var(--ink); }

.form__status {
  display: none; margin-top: 18px; padding: 16px 18px;
  border-radius: var(--radius); font-size: .9375rem; font-weight: 700;
}
.form__status.is-ok { display: block; background: var(--mint); color: #15523f; border-left: 4px solid var(--teal); }
.form__status.is-err { display: block; background: #fdecea; color: #8e2a1f; border-left: 4px solid #c0392b; }

.form-aside h2 { margin-bottom: 18px; }
.form-aside p { color: var(--muted); }
.form-aside ul { display: grid; gap: 14px; margin-top: 26px; }
.form-aside li { display: flex; gap: 13px; align-items: flex-start; font-size: .9688rem; }
.form-aside li svg { flex: none; margin-top: 3px; color: var(--teal); }

/* ---------- 15. Final CTA ------------------------------------------------ */
.finalcta {
  background: var(--indigo); color: var(--white);
  position: relative; overflow: hidden; text-align: center;
}
.finalcta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 420px at 50% 0%, rgba(0,68,249,.42), transparent 64%);
}
.finalcta .wrap { position: relative; }
.finalcta h2 { color: var(--white); margin-bottom: 18px; }
.finalcta p {
  color: var(--periwinkle); font-size: 1.125rem;
  max-width: 56ch; margin-inline: auto; margin-bottom: 32px;
}
.finalcta .btn-row { justify-content: center; }

/* ---------- 16. Footer --------------------------------------------------- */
.footer {
  background: var(--ink); color: #9ea2b8;
  padding-block: clamp(48px, 6vw, 72px) 32px;
  font-size: .9063rem;
}
.footer__grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(28px, 4vw, 52px); margin-bottom: 44px;
}
.footer .brand__name { color: var(--white); }
.footer .brand__sub { color: #777b90; }
.footer__about { margin-top: 18px; max-width: 42ch; line-height: 1.6; }
.footer .footer__head {
  font-family: var(--font-label); font-weight: 700;
  font-size: .6875rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--white); margin-bottom: 16px;
}
.footer ul { display: grid; gap: 11px; }
.footer a { color: #c6c9d8; }
.footer a:hover { color: var(--white); }

.footer__legal {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px;
  display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between;
  font-size: .8125rem; color: #7d8098;
}
.footer__disclaimer {
  font-size: .8125rem; line-height: 1.6; color: #7d8098;
  max-width: 90ch; margin: 0 0 24px;
}

.social { display: flex; gap: 12px; margin-top: 20px; }
.social a {
  width: 38px; height: 38px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #c6c9d8;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.social a:hover { background: var(--blue); color: var(--white); }

/* ---------- 17. Motion --------------------------------------------------- */
/* Only hide reveal elements when JS is actually running (the `js-anim` class
   is set by an inline script in <head>). No JS = everything visible. */
.js-anim .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.js-anim .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .tier:hover { transform: none; }
}

/* ---------- 18. Print ---------------------------------------------------- */
@media print {
  .header, .nav-toggle, .finalcta, .form, .reveal { all: revert; }
  body { color: #000; }
}
