/* ReportSkills shared stylesheet (en / zh) */
:root {
  --ink: #17263b;
  --ink-deep: #0f1c2e;
  --ink-soft: #40506a;
  --amber: #e8a33d;
  /* darkened to match the shell token: on the amber ambient wash the old #b97a17
     dropped to 2.6:1 against glass surfaces, which fails AA for small text */
  --amber-dark: #8f5f0d;
  --paper: #faf7f2;
  --card: #ffffff;
  --line: #e4ddd1;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(23, 38, 59, 0.06), 0 8px 24px rgba(23, 38, 59, 0.08);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--amber-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 12px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand .brand-accent { color: var(--amber-dark); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 15px;
}
/* nav link colors skip .btn pills, else they outrank .btn-primary's white text */
.site-nav a:not(.btn) { color: var(--ink-soft); }
.site-nav a:not(.btn):hover { color: var(--ink); text-decoration: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--ink-deep); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: rgba(23, 38, 59, 0.06); }

.header-cta { padding: 9px 18px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; }

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}

.hero h1 .accent { color: var(--amber-dark); }

.hero .lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0 0 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-note { font-size: 13px; color: var(--ink-soft); }

.hero-art { justify-self: end; width: 100%; max-width: 440px; }

/* ---------- sections ---------- */
section { padding: 64px 0; }
section.tint { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.section-head p { color: var(--ink-soft); font-size: 17px; margin: 0; }

/* generic grid utilities — the marketing pages borrow these class names from
   app.css (contact.html uses `grid grid-auto`, compare/sample-report use
   `grid grid-2`), but site.css never defined them, so the cards stacked as
   plain blocks with no gap. Same spec as app.css so the two shells agree. */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* pain voices */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.voice {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
section.tint .voice { background: var(--paper); }
.voice p { margin: 0 0 12px; font-size: 16px; color: var(--ink); }
.voice cite { font-style: normal; font-size: 13px; color: var(--ink-soft); }

/* steps */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}
.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
section.tint .feature { background: var(--paper); }
.feature .feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(232, 163, 61, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 20px;
  color: var(--amber-dark);
}
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* audience */
.aud-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.aud {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.aud h3 { margin: 0 0 6px; font-size: 17px; }
.aud p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
  margin-bottom: 12px;
}
section.tint .faq details { background: var(--paper); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  font-size: 20px;
  font-weight: 400;
  color: var(--amber-dark);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--ink-soft); font-size: 15px; }

/* closing cta */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 52px 40px;
  text-align: center;
  margin: 24px 0 72px;
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 32px); }
.cta-band p { margin: 0 auto 26px; max-width: 560px; color: rgba(255, 255, 255, 0.82); }
.cta-band .btn-primary { background: var(--amber); color: var(--ink-deep); }
.cta-band .btn-primary:hover { background: #f0b45c; }
.cta-band a.plain { color: var(--amber); }

/* ---------- home v2 ---------- */
.hero .wrap { position: relative; }
.hero-quoter {
  min-height: 52px;
  margin: 26px 0 4px;
  border-left: 3px solid var(--amber);
  padding: 4px 0 4px 14px;
}
.hero-quoter p { margin: 0; font-size: 14.5px; color: var(--ink); font-style: italic; transition: opacity 0.5s ease; }
.hero-quoter cite { display: block; font-style: normal; font-size: 12px; color: var(--ink-soft); margin-top: 4px; }

.hero-live { position: relative; margin: 26px 34px 48px 42px; }
.hl-float { position: relative; animation: hlFloat 7s ease-in-out infinite; }
@keyframes hlFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-live .hl-stamp {
  position: absolute; top: -18px; right: -14px; z-index: 3;
  width: 60px; height: 60px; border-radius: 50%;
  border: 2px dashed var(--amber-dark); background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--amber-dark); font-size: 13px; flex-direction: column; line-height: 1.15;
  box-shadow: var(--shadow);
}
/* letter-spacing adds a trailing gap after the last glyph — pull it back so uppercase text is optically centered */
.hero-live .hl-stamp span, .hero-live .hl-stamp small { display: block; width: 100%; text-align: center; text-indent: 0; }
.hero-live .hl-stamp small { font-size: 7.5px; letter-spacing: 0.06em; margin-right: -0.06em; }
.hero-live .hl-pigeon { position: absolute; top: -30px; left: -30px; width: 56px; z-index: 3; }
.hero-live .hl-flight {
  position: absolute; top: -6px; left: 24px; width: 120px; height: 26px; z-index: 2; pointer-events: none;
}
.hl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(23, 38, 59, 0.06), 0 30px 70px rgba(23, 38, 59, 0.18);
  overflow: hidden;
}
.hl-input {
  position: absolute; bottom: -34px; left: -34px; z-index: 4;
  background: var(--ink); color: #d7e0ee; border-radius: 10px;
  padding: 10px 12px; box-shadow: var(--shadow); transform: rotate(-2deg);
  max-width: 230px;
}
.hl-input .hl-input-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 6px; font-weight: 700;
}
.hl-input .hl-input-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.hl-input pre {
  margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; line-height: 1.55; white-space: pre-wrap; word-break: break-all;
}
.hero-live .rp-w { opacity: 0; transform: translateY(10px); }
.hero-live.is-ready .rp-w { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease; }
.hero-live .hl-foot {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-soft); background: var(--paper);
}
.hl-dot { width: 8px; height: 8px; border-radius: 50%; background: #2e7d5b; animation: hlPulse 1.6s ease infinite; }
@keyframes hlPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hero-trust span {
  font-size: 12px; color: var(--ink-soft); background: var(--card);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}
.hero-trust strong { color: var(--ink); }

/* monthly tax */
.tax-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 28px; align-items: start; }
.voice-v2 { display: flex; flex-direction: column; gap: 14px; }
.voice-v2 .voice { border-left: 3px solid var(--amber); }
.voice-v2 .voice .v-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--amber-dark); margin-bottom: 6px;
}
.calc { position: sticky; top: 84px; }
.calc .field-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 2px; }
.calc .field-row output { color: var(--ink); font-weight: 700; }
.calc input[type="range"] { width: 100%; accent-color: var(--amber-dark); margin-bottom: 14px; }
.calc-bar { margin: 6px 0 12px; }
.calc-bar .cb-label { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 4px; color: var(--ink-soft); }
.calc-bar .cb-track { height: 12px; border-radius: 6px; background: rgba(23, 38, 59, 0.07); overflow: hidden; }
.calc-bar .cb-fill { height: 100%; border-radius: 6px; transition: width 0.4s ease; }
.cb-time { background: #b04432; }
.cb-suite { background: #5b6b82; }
.cb-us { background: #2e7d5b; }
.calc-note { font-size: 11.5px; color: var(--ink-soft); margin: 8px 0 0; }

/* playground */
.pg-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 28px; align-items: start; }
.pg-editor textarea {
  width: 100%; min-height: 190px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px;
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; background: #fff; color: var(--ink);
}
.pg-editor textarea:focus { outline: 2px solid rgba(232, 163, 61, 0.45); border-color: var(--amber); }
.pg-hint { font-size: 12.5px; color: var(--ink-soft); margin: 8px 0 0; }
.pg-stage { display: flex; justify-content: center; }
.pg-stage .paper { max-width: 420px; transition: box-shadow 0.3s ease; }
.pg-stage.is-pressed .paper { box-shadow: 0 0 0 3px rgba(46, 125, 91, 0.35), 0 24px 60px rgba(23, 38, 59, 0.14); }

/* compare band */
.cmp-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cmp-band .card { display: flex; flex-direction: column; gap: 4px; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.cmp-band .card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cmp-band .cb-price { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.cmp-band .cb-per { font-size: 12px; color: var(--ink-soft); margin-bottom: 8px; }
.cmp-band .card a.more { margin-top: auto; font-weight: 600; font-size: 14px; }

/* audience links */
.aud .aud-links { display: flex; gap: 12px; margin-top: 10px; font-size: 13px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* voice source chips */
.voice-v2 .voice .v-src {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: 11px; font-weight: 700; color: var(--ink-soft);
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
}
.voice-v2 .voice .v-src::before {
  content: "r"; width: 15px; height: 15px; border-radius: 50%;
  background: #ff4500; color: #fff; font-size: 9.5px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.voices-foot { font-size: 12px; color: var(--ink-soft); margin: 14px 0 0; }

/* step snippets */
.step .step-snip {
  margin: 12px 0 0; padding: 9px 11px; border-radius: 8px;
  background: var(--paper); border: 1px dashed var(--line-strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px;
  color: var(--ink-soft); line-height: 1.6; overflow-wrap: anywhere;
}
.step .step-snip b { color: var(--amber-dark); font-weight: 700; }

/* feature visuals */
.feat-vis { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; min-height: 26px; align-items: center; }
.fv-chip {
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 7px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft); white-space: nowrap;
}
.fv-chip--ink { background: #17263b; color: #fff; border-color: #17263b; }
.fv-chip--amber { background: rgba(232, 163, 61, 0.16); color: var(--amber-dark); border-color: rgba(143, 95, 13, 0.45); }
.fv-stack { display: flex; flex-direction: column; gap: 3px; width: 100%; }
.fv-stack span { height: 6px; border-radius: 3px; background: var(--line-strong); }
.fv-stack span:nth-child(1) { width: 78%; background: #17263b; }
.fv-stack span:nth-child(2) { width: 95%; }
.fv-stack span:nth-child(3) { width: 62%; }
.fv-dots { display: inline-flex; gap: 0; align-items: center; }
.fv-dots i { width: 9px; height: 9px; border-radius: 50%; background: #17263b; }
.fv-dots i:nth-child(2) { background: #e8a33d; margin-left: -2px; }
.fv-dots i:nth-child(3) { background: #2e7d5b; margin-left: -2px; }
.fv-line { width: 26px; height: 1.5px; background: var(--line-strong); display: inline-block; }

/* delivery log strip */
.log-strip { padding: 8px 22px; }
.log-row {
  display: flex; align-items: center; gap: 14px; padding: 13px 0;
  border-bottom: 1px solid var(--line); font-size: 14px; flex-wrap: wrap;
}
.log-row:last-child { border-bottom: 0; }
.lg-avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex: 0 0 34px;
}
.lg-name { flex: 0 0 210px; font-weight: 600; }
.lg-name small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 12px; }
.lg-chips { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.lg-chip {
  font-size: 11.5px; padding: 3px 10px; border-radius: 999px;
  background: rgba(23, 38, 59, 0.06); color: var(--ink-soft); white-space: nowrap;
}
.lg-chip--ok { background: rgba(46, 125, 91, 0.12); color: #2e7d5b; font-weight: 600; }
.lg-chip--warn { background: rgba(232, 163, 61, 0.16); color: var(--amber-dark); font-weight: 600; }
.log-foot { font-size: 12px; color: var(--ink-soft); margin: 12px 0 0; }

/* compare external verify links */
.cmp-band .cb-verify { font-size: 12px; color: var(--ink-soft); margin-top: 8px; }

@media (max-width: 980px) {
  .tax-grid, .pg-grid { grid-template-columns: 1fr; }
  .calc { position: static; }
  .cmp-band { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hl-input { position: static; transform: none; max-width: none; margin-top: 16px; }
  /* keep negative-offset decorations inside the container so phones get no horizontal scroll */
  .hero-live { margin: 30px 16px 0 16px; }
  .hero-live .hl-stamp { top: -12px; right: -4px; width: 56px; height: 56px; }
  .hero-live .hl-pigeon { top: -28px; left: -10px; width: 46px; }
  .hero-live .hl-flight { top: -10px; left: 30px; width: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-float { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-live .rp-w { opacity: 1; transform: none; }
}

/* ---------- inner pages ---------- */
.page-hero { padding: 56px 0 36px; text-align: center; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 12px; }
.page-hero p { color: var(--ink-soft); font-size: 17px; max-width: 42em; margin: 0 auto; }

.feature-x {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
.feature-x:nth-child(even) .fx-demo { order: -1; }
.feature-x h2 { font-size: 24px; margin: 0 0 10px; }
.feature-x p { color: var(--ink-soft); margin: 0 0 10px; }
.feature-x ul { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 15px; }
.fx-demo {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
}
.fx-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.fx-row:last-child { border-bottom: 0; }
.fx-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; }
.fx-dot--ok { background: #2e7d5b; }
.fx-dot--warn { background: var(--amber); }
.fx-dot--idle { background: #c2c8d1; }
.fx-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(23, 38, 59, 0.07);
  color: var(--ink-soft);
  margin-left: auto;
  white-space: nowrap;
}
.fx-chip--ok { background: rgba(46, 125, 91, 0.12); color: #2e7d5b; }
.fx-chip--warn { background: rgba(232, 163, 61, 0.18); color: var(--amber-dark); }

/* pricing */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.plan--hot { border: 2px solid var(--amber); box-shadow: var(--shadow); position: relative; }
.plan--hot::before {
  content: "Most picked";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: var(--ink-deep); font-size: 11.5px; font-weight: 700;
  padding: 2px 12px; border-radius: 999px;
}
.plan h3 { margin: 0 0 4px; font-size: 18px; }
.plan .price { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; margin: 8px 0 2px; }
.plan .price small { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.plan .plan-sub { color: var(--ink-soft); font-size: 14px; margin: 0 0 14px; }
.plan ul { list-style: none; margin: 0 0 18px; padding: 0; font-size: 14.5px; flex: 1; }
.plan ul li { padding: 6px 0 6px 24px; position: relative; }
.plan ul li::before { content: "\2713"; position: absolute; left: 2px; color: var(--amber-dark); font-weight: 700; }

.matrix { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.matrix th, .matrix td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.matrix th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.matrix .yes { color: #2e7d5b; font-weight: 700; }
.matrix .no { color: #c2c8d1; }

/* guides */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.guide-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; color: var(--ink); }
.guide-card:hover { text-decoration: none; border-color: var(--amber); transform: translateY(-2px); transition: 0.15s ease; }
.guide-card h3 { margin: 0 0 8px; font-size: 17px; }
.guide-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.guide-card .gc-tag { font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 6px; }

.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2 { font-size: 22px; margin: 34px 0 10px; letter-spacing: -0.01em; }
.article-body h3 { font-size: 17px; margin: 26px 0 8px; }
.article-body p { font-size: 16px; color: #2c3a50; }
.article-body ul, .article-body ol { font-size: 16px; color: #2c3a50; }
.quick-answer {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 15.5px;
  margin: 0 0 22px;
}
.breadcrumbs { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumbs a { color: var(--ink-soft); }

@media (max-width: 860px) {
  .feature-x { grid-template-columns: 1fr; }
  .feature-x:nth-child(even) .fx-demo { order: 0; }
  .plan-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 32px;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-cols h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 8px; }
.footer-brand p { max-width: 30em; margin: 12px 0 0; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 13px;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { justify-self: center; max-width: 360px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: block; }
  section { padding: 48px 0; }
  .cta-band { padding: 40px 24px; }
}

@media (max-width: 520px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* ---------- Liquid Glass material (marketing site, body.lg) ---------- */
/* Apple-style liquid glass for every page that loads this sheet — `lg` on the
   body marks them (the home page carries `home` as well for its own layout).
   The earlier frosted pass washed out because it blurred over a near-flat
   page: glass only reads as glass when there is colour behind it. Ingredients:
   1. a warm ambient colour scene, fixed and slowly drifting, behind everything;
   2. a specular 1px rim + top inset highlight so edges catch light;
   3. two grades — quiet glass for section cards, stronger floating glass for
      the header, hero card and chips (the "controls layer", as on iOS 26).
   Content surfaces — report paper, inputs, chips inside cards — stay opaque,
   and text stays dark ink for contrast. */

/* 1) ambient scene: warm paper base + two drifting colour fields */
body.lg {
  background: linear-gradient(180deg, #fdfdfa 0%, #f7f5f1 52%, #f2f1ec 100%);
}
body.lg::before,
body.lg::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body.lg::before {
  background:
    radial-gradient(58% 46% at 84% 2%, rgba(236, 170, 66, 0.24), transparent 70%),
    radial-gradient(54% 44% at 2% 36%, rgba(23, 38, 59, 0.15), transparent 72%),
    radial-gradient(38% 30% at 60% 100%, rgba(46, 125, 91, 0.13), transparent 76%);
  animation: lgDriftA 46s ease-in-out infinite alternate;
}
/* the white glint is what desaturates the whole field — pulling the warm blobs
   down without holding this one would leave the page looking more coloured */
body.lg::after {
  background:
    radial-gradient(42% 34% at 8% 82%, rgba(240, 180, 92, 0.17), transparent 72%),
    radial-gradient(48% 38% at 98% 60%, rgba(35, 58, 90, 0.15), transparent 74%),
    radial-gradient(16% 12% at 44% 12%, rgba(255, 255, 255, 0.72), transparent 78%);
  animation: lgDriftB 64s ease-in-out infinite alternate;
}
/* scale >1 so the drifting fields never expose a bare edge */
@keyframes lgDriftA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2.5%, 1.8%, 0) scale(1.06); }
}
@keyframes lgDriftB {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to { transform: translate3d(2.2%, -1.6%, 0) scale(1); }
}
/* tint bands become a faint white veil so the scene flows through the page */
body.lg section.tint {
  background: rgba(255, 255, 255, 0.4);
  border-top-color: rgba(23, 38, 59, 0.07);
  border-bottom-color: rgba(23, 38, 59, 0.07);
}

/* 2) quiet glass grade for section cards */
body.lg .step,
body.lg .feature,
body.lg .aud,
body.lg .voice,
body.lg .calc,
body.lg .log-strip,
body.lg .cmp-band .card,
body.lg .faq details,
body.lg .card,
body.lg .plan,
body.lg .guide-card,
body.lg .fx-demo,
body.lg .fb-card,
body.lg .auth-card,
body.lg .quick-answer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.38));
  border-color: transparent;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(23, 38, 59, 0.04),
    0 1px 2px rgba(23, 38, 59, 0.04),
    0 14px 36px rgba(23, 38, 59, 0.09);
}
/* .step is already relative and .calc is sticky (both anchor pseudos) — the rest need it */
body.lg .feature,
body.lg .aud,
body.lg .voice,
body.lg .log-strip,
body.lg .cmp-band .card,
body.lg .faq details,
body.lg .plan,
body.lg .guide-card,
body.lg .fx-demo,
body.lg .fb-card,
body.lg .auth-card,
body.lg .quick-answer { position: relative; }
/* bare cards anchor their rim too — except .calc, which must stay sticky
   (a relative on it would silently kill the pinned calculator column) */
body.lg .card:not(.calc) { position: relative; }
/* the amber quote accent survives the transparent border */
body.lg .voice-v2 .voice,
body.lg .quick-answer { border-left-color: var(--amber); }
/* the hot plan keeps its amber ring — it is the "recommended" accent */
body.lg .plan--hot { border-color: var(--amber); }
/* inner pages never load app.css, so the card surface base lived only in the
   shell sheet — the glass recipe carries it now (same radius/padding) */
body.lg .card { border-radius: var(--radius); padding: 20px 22px; }
/* the delivery log is a tight card variant — its own padding survives */
body.lg .log-strip { padding: 8px 22px; }

/* specular rim: bright where light strikes (top-left), dim below — the edge
   refraction tell a plain frosted card never had */
body.lg .step::before,
body.lg .feature::before,
body.lg .aud::before,
body.lg .voice::before,
body.lg .calc::before,
body.lg .log-strip::before,
body.lg .cmp-band .card::before,
body.lg .faq details::before,
body.lg .card::before,
body.lg .guide-card::before,
body.lg .fx-demo::before,
body.lg .fb-card::before,
body.lg .auth-card::before,
body.lg .quick-answer::before {
  /* plans excluded: .plan--hot::before is the "Most picked" badge — their rim
     rides on ::after instead (see the plan rules further down) */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.30) 38%,
    rgba(23, 38, 59, 0.06) 72%,
    rgba(255, 255, 255, 0.42) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* sheen: a diagonal light band that fades in on hover — the liquid response */
body.lg .step::after,
body.lg .feature::after,
body.lg .aud::after,
body.lg .voice::after,
body.lg .calc::after,
body.lg .log-strip::after,
body.lg .cmp-band .card::after,
body.lg .faq details::after,
body.lg .card::after,
body.lg .guide-card::after,
body.lg .fx-demo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg,
    transparent 32%, rgba(255, 255, 255, 0.30) 47%,
    rgba(255, 255, 255, 0.05) 54%, transparent 66%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
body.lg .step:hover::after,
body.lg .feature:hover::after,
body.lg .aud:hover::after,
body.lg .voice:hover::after,
body.lg .calc:hover::after,
body.lg .log-strip:hover::after,
body.lg .cmp-band .card:hover::after,
body.lg .faq details:hover::after,
body.lg .card:hover::after,
body.lg .guide-card:hover::after,
body.lg .fx-demo:hover::after { opacity: 1; }
/* compare cards already lift on hover — deepen the shadow to match */
body.lg .cmp-band .card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(23, 38, 59, 0.04),
    0 2px 4px rgba(23, 38, 59, 0.05),
    0 22px 48px rgba(23, 38, 59, 0.14);
}

/* 3) floating grade — the controls layer */
body.lg .site-header {
  top: 10px;
  margin: 10px 14px 0;
  border-radius: 20px;
  border-bottom: 0;
  background: rgba(250, 247, 242, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 6px rgba(23, 38, 59, 0.05),
    0 12px 32px rgba(23, 38, 59, 0.10);
}
body.lg .site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.28) 40%,
    rgba(23, 38, 59, 0.05) 75%,
    rgba(255, 255, 255, 0.4) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* hero live card — the strongest glass on the page */
body.lg .hl-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.48));
  border-color: transparent;
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  backdrop-filter: blur(24px) saturate(200%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 6px rgba(23, 38, 59, 0.06),
    0 30px 70px rgba(23, 38, 59, 0.22);
}
body.lg .hl-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.34) 38%,
    rgba(23, 38, 59, 0.05) 72%,
    rgba(255, 255, 255, 0.5) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
body.lg .hl-foot {
  background: rgba(250, 247, 242, 0.5);
  border-top-color: rgba(255, 255, 255, 0.55);
  /* the paper above sits at a height — a contact shadow where they meet */
  box-shadow: inset 0 2px 3px -2px rgba(15, 28, 46, 0.22);
}
body.lg #hl-status { transition: opacity 0.42s ease; }
/* the pasted-CSV chip: dark glass, with the tight shadow that sells the overlap */
body.lg .hl-input {
  background: linear-gradient(180deg, rgba(23, 38, 59, 0.66), rgba(15, 28, 46, 0.58));
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 1px 2px rgba(15, 28, 46, 0.32),
    0 12px 26px rgba(15, 28, 46, 0.26);
}
/* the postmark stamp keeps its dashed rim, gains a glass face and a contact edge */
body.lg .hl-stamp {
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(15, 28, 46, 0.24),
    0 10px 22px rgba(15, 28, 46, 0.18);
}

/* glass pills */
body.lg .btn-ghost {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(23, 38, 59, 0.22);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 8px rgba(23, 38, 59, 0.06);
}
body.lg .btn-ghost:hover { background: rgba(255, 255, 255, 0.62); }
body.lg .hero-trust span {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
  backdrop-filter: blur(8px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
/* primary stays solid ink — just a lacquer catch-light on top */
body.lg .btn-primary {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 24px rgba(23, 38, 59, 0.18);
}

/* closing CTA: dark glass panel */
body.lg .cta-band {
  position: relative;
  background: linear-gradient(180deg, rgba(23, 38, 59, 0.80), rgba(15, 28, 46, 0.72));
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 24px 60px rgba(23, 38, 59, 0.28);
}
body.lg .cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.02) 72%,
    rgba(255, 255, 255, 0.18) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* mobile menu drops under the floating bar as its own glass sheet */
@media (max-width: 720px) {
  body.lg .site-nav {
    top: calc(100% + 8px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    background: rgba(250, 247, 242, 0.88);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 16px 40px rgba(23, 38, 59, 0.16);
    overflow: hidden;
  }
}

/* motion and support guards */
@media (prefers-reduced-motion: reduce) {
  body.lg::before,
  body.lg::after { animation: none; }
  body.lg .step::after,
  body.lg .feature::after,
  body.lg .aud::after,
  body.lg .voice::after,
  body.lg .calc::after,
  body.lg .log-strip::after,
  body.lg .cmp-band .card::after,
  body.lg .faq details::after,
  body.lg .card::after,
  body.lg .guide-card::after,
  body.lg .fx-demo::after { transition: none; }
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  body.lg .step, body.lg .feature, body.lg .aud, body.lg .voice,
  body.lg .calc, body.lg .log-strip, body.lg .cmp-band .card, body.lg .faq details,
  body.lg .card, body.lg .plan, body.lg .guide-card, body.lg .fx-demo,
  body.lg .fb-card, body.lg .auth-card, body.lg .quick-answer {
    background: #fff;
  }
  body.lg .site-footer { background: var(--paper); }
  body.lg .sr-tabs button { background: #fff; }
  body.lg .hl-card { background: #fff; }
  body.lg .hl-input { background: var(--ink); }
  body.lg .hl-stamp { background: var(--paper); }
  body.lg .site-header { background: rgba(250, 247, 242, 0.95); }
  body.lg .btn-ghost { background: rgba(255, 255, 255, 0.9); }
  body.lg .btn-ghost:hover { background: rgba(23, 38, 59, 0.06); }
  body.lg .hero-trust span { background: rgba(255, 255, 255, 0.9); }
  body.lg .cta-band { background: var(--ink); }
  body.lg section.tint { background: rgba(255, 255, 255, 0.85); }
  @media (max-width: 720px) {
    body.lg .site-nav { background: rgba(250, 247, 242, 0.97); }
  }
}

/* ---------- the material on the inner pages ---------- */

/* plan cards: the rim rides ::after because ::before is the "Most picked"
   badge, and the badge has to float above the rim line */
body.lg .plan::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.30) 38%,
    rgba(23, 38, 59, 0.06) 72%,
    rgba(255, 255, 255, 0.42) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
body.lg .plan--hot::before { z-index: 2; }

/* the sample-report kind switcher is a tab bar — glass pills, selected stays solid */
body.lg .sr-tabs button {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(23, 38, 59, 0.18);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  backdrop-filter: blur(10px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* footer: a quiet glass sheet so the scene reads through the end of the page */
body.lg .site-footer {
  background: rgba(250, 247, 242, 0.4);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-top-color: rgba(23, 38, 59, 0.08);
}

/* scroll edge effect — Apple's bars thicken their frosting as content moves
   underneath. Scroll-driven, so no JS; engines without the timeline simply
   keep the bar at its resting grade. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    body.lg .site-header {
      animation: lgBarSettle linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 180px;
    }
    @keyframes lgBarSettle {
      from {
        background: rgba(250, 247, 242, 0.5);
        -webkit-backdrop-filter: blur(16px) saturate(170%);
        backdrop-filter: blur(16px) saturate(170%);
      }
      to {
        background: rgba(250, 247, 242, 0.78);
        -webkit-backdrop-filter: blur(26px) saturate(195%);
        backdrop-filter: blur(26px) saturate(195%);
      }
    }
  }
}

/* pointer specular — the material catches light from the pointer side.
   site.js feeds --hlx/--hly; the media guard keeps touch devices out of it. */
@media (hover: hover) and (pointer: fine) {
  body.lg .hl-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(220px circle at var(--hlx, 72%) var(--hly, 10%), rgba(255, 255, 255, 0.38), transparent 65%);
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  body.lg .hero-live:hover .hl-card::after { opacity: 1; }
}

/* increased-contrast preference — Apple ships a denser Liquid Glass for it:
   take the ambient wash out and let the surfaces sit on plain paper. */
@media (prefers-contrast: more) {
  body.lg::before, body.lg::after { display: none; }
  body.lg section.tint { background: #fff; }
  body.lg .site-header { background: rgba(250, 247, 242, 0.85); animation: none; }
  body.lg .step, body.lg .feature, body.lg .aud, body.lg .voice,
  body.lg .calc, body.lg .log-strip, body.lg .cmp-band .card, body.lg .faq details,
  body.lg .card, body.lg .plan, body.lg .guide-card, body.lg .fx-demo,
  body.lg .fb-card, body.lg .auth-card, body.lg .quick-answer,
  body.lg .hl-card { background: #fff; }
}

/* ---------- the material answers back ---------- */

/* keyboard traversal gets the same response a pointer gets: the surface lights
   up when something inside it takes focus, and focusable glass gets a ring */
body.lg .step:focus-within::after,
body.lg .feature:focus-within::after,
body.lg .aud:focus-within::after,
body.lg .voice:focus-within::after,
body.lg .calc:focus-within::after,
body.lg .log-strip:focus-within::after,
body.lg .cmp-band .card:focus-within::after,
body.lg .faq details:focus-within::after,
body.lg .card:focus-within::after,
body.lg .guide-card:focus-within::after,
body.lg .fx-demo:focus-within::after { opacity: 1; }
body.lg .guide-card:focus-visible,
body.lg .faq summary:focus-visible,
body.lg .btn:focus-visible,
body.lg .sr-tabs button:focus-visible,
body.lg .card a.more:focus-visible,
body.lg .aud a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* press response — Apple's controls settle into the material, not just tint */
body.lg .btn:active,
body.lg .sr-tabs button:active {
  transform: translateY(1px) scale(0.985);
  filter: brightness(0.95);
}
/* touch hosts never hover, so the sheen and the lift move onto the press */
@media (hover: none) {
  body.lg .step:active, body.lg .feature:active, body.lg .aud:active,
  body.lg .voice:active, body.lg .calc:active, body.lg .log-strip:active,
  body.lg .cmp-band .card:active, body.lg .faq details:active,
  body.lg .card:active, body.lg .plan:active, body.lg .guide-card:active,
  body.lg .fx-demo:active {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.52));
  }
  body.lg .guide-card:active { transform: translateY(1px); }
  body.lg .btn:active { transform: translateY(1px) scale(0.98); }
}

/* the FAQ opens as a morph instead of a jump. Guarded on interpolate-size: a
   engine that can size to `auto` but cannot interpolate it would otherwise
   leave every answer collapsed for good. */
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    body.lg .faq details { interpolate-size: allow-keywords; }
    body.lg .faq details::details-content {
      block-size: 0;
      overflow: hidden;
      transition: block-size 0.34s cubic-bezier(0.22, 1, 0.36, 1), content-visibility 0.34s allow-discrete;
    }
    body.lg .faq details[open]::details-content { block-size: auto; }
  }
}

/* hero parallax — the floating report drifts against the page as it passes.
   The idle bob lives on .hl-float, a different element, so the two transforms
   never fight over the same box. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    body.lg .hero-live {
      animation: lgParallax linear both;
      animation-timeline: view(block);
      animation-range: entry 12% exit 88%;
    }
    @keyframes lgParallax {
      from { transform: translate3d(0, 22px, 0); }
      to { transform: translate3d(0, -26px, 0); }
    }
  }
}

/* bar morph — condensed on the way down, settled back on the way up. Driven by
   site.js because direction is the whole behaviour; see the note there. */
body.lg .site-header { transition: top 0.3s ease, margin-top 0.3s ease, box-shadow 0.3s ease; }
body.lg .site-header .wrap { transition: height 0.3s cubic-bezier(0.22, 1, 0.36, 1), gap 0.3s ease; }
body.lg .site-header .brand img { transition: width 0.3s ease, height 0.3s ease; }
body.lg .site-header .header-cta { transition: padding 0.3s ease; }
body.lg .site-header.is-condensed { top: 6px; margin-top: 6px; }
body.lg .site-header.is-condensed .wrap { height: 52px; gap: 20px; }
body.lg .site-header.is-condensed .brand img { width: 28px; height: 28px; }
body.lg .site-header.is-condensed .header-cta { padding: 8px 16px; }
@media (min-width: 721px) {
  body.lg .site-header .site-nav { transition: gap 0.3s ease; }
  body.lg .site-header.is-condensed .site-nav { gap: 16px; }
}

/* none of the above may animate against a user's wishes */
@media (prefers-reduced-motion: reduce) {
  body.lg .site-header, body.lg .site-header .wrap, body.lg .site-header .brand img,
  body.lg .site-header .site-nav, body.lg .site-header .header-cta,
  body.lg #hl-status, body.lg .btn, body.lg .sr-tabs button { transition: none; }
  body.lg .btn:active, body.lg .sr-tabs button:active { transform: none; }
}
