/* ============================================================
   InjuryLog - shared styles
   Dark-first premium. One accent: cyan. Sora + Hanken Grotesk.
   ============================================================ */

@import url("fonts.css");

:root {
  --ink: #0D1117;          /* primary background */
  --ink-deep: #090C10;     /* footer / hero base */
  --surface: #161E2B;      /* cards / raised panels */
  --surface-2: #1C2637;    /* elevated / hover */
  --cyan: #00CDFF;         /* single accent */
  --cyan-deep: #00A6D6;    /* same-family shade for depth/gradients */
  --text: #E7EBF0;         /* body text */
  --muted: #9AA4B2;        /* secondary text */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --card: rgba(255, 255, 255, 0.028);
  --danger: #F85149;
  --green: #3DC97C;
  --radius: 16px;
  --radius-sm: 12px;
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: "Sora", sans-serif; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(0, 205, 255, 0.28); color: #fff; }

.wrap { width: min(var(--maxw), 92%); margin: 0 auto; }
.center { text-align: center; }

/* ---------- Skip link (a11y) ---------- */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--cyan); color: var(--ink); padding: 10px 16px;
  border-radius: 0 0 10px 0; font-weight: 700;
}
.skip:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 0.95rem;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--cyan); color: var(--ink); box-shadow: 0 8px 30px rgba(0, 205, 255, 0.18); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0, 205, 255, 0.32); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(0, 205, 255, 0.06); }
.btn-lg { padding: 17px 30px; font-size: 1.02rem; }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 17, 23, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease;
}
nav.scrolled { border-bottom-color: var(--line); background: rgba(13, 17, 23, 0.88); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; }
.brand { display: inline-flex; align-items: center; }
/* Full lockup incl. tagline (aspect 2.94:1). The tagline is the bottom ~23% of
   the artwork, so it needs ~44px+ of logo height to stay legible — below that it
   renders as unreadable mush. Keep these heights in step with the asset. */
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 0.92rem; color: var(--muted); transition: color .2s ease; }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-cta { padding: 10px 20px; font-size: 0.88rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: rgba(13, 17, 23, 0.98); border-bottom: 1px solid var(--line);
    padding: 14px 4%;
  }
  .nav-links.open a { padding: 10px 0; font-size: 1.05rem; width: 100%; }
}

/* ---------- Hero (cursor spotlight reveal) ---------- */
.hero {
  position: relative; min-height: 100dvh; display: flex; align-items: center;
  justify-content: center; text-align: center; overflow: hidden;
  padding: 96px 0 72px;
}
.spot-base, .spot-reveal {
  position: absolute; inset: 0; background-position: center;
  background-size: auto 92%; background-repeat: no-repeat; pointer-events: none;
}
.spot-base { z-index: 1; filter: brightness(.46) saturate(.9) blur(.5px); opacity: .62; }
.spot-reveal { z-index: 2; will-change: -webkit-mask-image, mask-image; }
.spot-dim { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    radial-gradient(130% 100% at 50% 4%, rgba(13,17,23,0.28), rgba(13,17,23,0.70) 58%, rgba(13,17,23,0.86) 100%),
    rgba(13, 17, 23, 0.26);
}
.hero-content { position: relative; z-index: 4; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid rgba(0, 205, 255, 0.28);
  border-radius: 999px; padding: 7px 15px; margin-bottom: 26px;
  background: rgba(0, 205, 255, 0.05);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.35} }

.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.4rem); font-weight: 800; line-height: 1.06;
  max-width: 15ch; margin: 0 auto 22px; text-shadow: 0 2px 40px rgba(0,0,0,0.4);
}
.hero h1 em { font-style: normal; color: var(--cyan); text-shadow: 0 0 34px rgba(0, 205, 255, 0.5); }
.hero .sub {
  color: var(--text); opacity: .9; font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  max-width: 46ch; margin: 0 auto 36px;
}
.hero-hint { margin-top: 22px; font-size: 0.78rem; letter-spacing: 0.05em; color: var(--muted); opacity: .75; }

/* ---------- Email capture ---------- */
.capture { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 500px; margin: 0 auto; }
.capture input[type="email"] {
  flex: 1 1 250px; background: rgba(13,17,23,0.6); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 15px 22px; font-family: inherit; font-size: 1rem; color: var(--text);
  outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.capture input[type="email"]:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 205, 255, 0.16); }
.capture input[type="email"]::placeholder { color: var(--muted); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-msg { margin-top: 14px; font-size: 0.92rem; min-height: 1.3em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--danger); }
.micro { margin-top: 13px; font-size: 0.82rem; color: var(--muted); }

/* ---------- ECG divider ---------- */
.ecg { display: block; width: min(680px, 84%); margin: 8px auto; overflow: visible; }
.ecg path {
  fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(0, 205, 255, 0.5));
}
.ecg.animate path { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.2s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Sections & headings ---------- */
section { padding: 92px 0; }
.kicker {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 15px;
}
h2.title {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 700; line-height: 1.12;
  max-width: 20ch; margin-bottom: 18px;
}
.title em { font-style: normal; color: var(--cyan); }
.lead { color: var(--muted); max-width: 56ch; font-size: 1.08rem; }
.section-head { margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head.center .title, .section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; text-align: center; }
.trust p { color: var(--muted); font-size: 0.98rem; }
.trust .dot { color: var(--cyan); }
.trust strong { color: var(--text); font-weight: 600; }

/* ---------- Problem statement ---------- */
.statement {
  font-family: "Sora", sans-serif; font-size: clamp(1.5rem, 3.6vw, 2.3rem); font-weight: 600;
  line-height: 1.36; max-width: 24ch;
}
.statement .fade { color: var(--muted); }

/* ---------- Phone frame ----------
   Aspect matches the supplied captures exactly (720x1490, status bar already
   cropped off), so screenshots fill the screen with zero cropping. No fake
   notch: the app's own header starts at the top of the crop and a notch
   overlay would sit on real UI. */
.phone {
  position: relative; width: 100%; max-width: 268px; aspect-ratio: 720 / 1490;
  border-radius: 34px; padding: 8px; margin: 0 auto;
  background: linear-gradient(160deg, #232D3E, #10151D);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.4) inset, 0 0 50px rgba(0, 205, 255, 0.06);
}
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 27px; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #12202B, var(--ink-deep));
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
/* the one hero-of-the-features phone (Recovery Forecast) */
.phone-lg { max-width: 330px; }

/* ---------- Flat crop card (partial-screen screenshots) ---------- */
.shotcard {
  display: block; width: 100%; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--ink-deep);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 205, 255, 0.06);
}
.shotcard img { display: block; width: 100%; height: auto; }

/* ---------- Overlap composition (phone + floating second shot) ---------- */
.duo { position: relative; width: 100%; max-width: 350px; margin: 0 auto; }
.duo .duo-main { margin: 0; }
.duo .duo-float {
  position: absolute; z-index: 2; width: 62%; right: -8%; bottom: -6%;
  transform: rotate(-3deg);
}
.duo .duo-float.phone { padding: 6px; border-radius: 24px; }
.duo .duo-float.phone .phone-screen { border-radius: 19px; }
@media (max-width: 560px) {
  .duo { max-width: 290px; }
  .duo .duo-float { width: 58%; right: -4%; }
}

/* ---------- Paperwork grid ---------- */
.paper-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.paper-card {
  border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden;
  background: var(--surface); display: flex; flex-direction: column;
  transition: border-color .25s ease, transform .25s ease;
}
.paper-card:hover { border-color: rgba(0, 205, 255, 0.35); transform: translateY(-3px); }
.paper-card .paper-shot { background: var(--ink-deep); border-bottom: 1px solid var(--line); }
/* full screenshot, natural aspect: nothing cropped off */
.paper-card .paper-shot img { display: block; width: 100%; height: auto; }
.paper-card .paper-body { padding: 22px 24px 26px; }
.paper-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.paper-card p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 880px) { .paper-grid { grid-template-columns: 1fr; } .paper-card { max-width: 420px; margin: 0 auto; width: 100%; } }

/* ---------- Comeback showcase (active + healed pair) ---------- */
.comeback-wrap { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: 44px; }
/* share cards framed like every other app screen; aspect matches the 1012x2309
   exports exactly so nothing is cropped, sized to match the timeline phone */
.phone-card { max-width: 290px; width: min(290px, 80vw); aspect-ratio: 1012 / 2309; margin: 0; }

/* ---------- Hero split (copy left, app right) ---------- */
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px; align-items: center; text-align: left;
}
.hero-grid .hero-copy .capture { justify-content: flex-start; }
.hero-grid .hero-copy h1 { margin-left: 0; }
.hero-grid .hero-copy .sub { margin-left: 0; }
.hero-phone { max-width: 300px; margin: 0 auto; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-grid .hero-copy .capture { justify-content: center; }
  .hero-grid .hero-copy h1, .hero-grid .hero-copy .sub { margin-left: auto; margin-right: auto; }
  .hero-phone { max-width: 240px; }
}

/* ---------- UI detail cards ----------
   Real app components lifted out of the screenshots and shown large, rather
   than a whole screen shrunk into a phone frame (at 268px a 1080px capture
   renders at 23% — the text is physically unreadable). These crop to the
   component so it lands near 1:1 and the feature reads at a glance.
   The crops have different aspects; `contain` on a dark card letterboxes them
   to a common height, and because the app UI is dark-on-dark the letterbox is
   invisible. */
.ui-card {
  position: relative; width: 100%; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--ink-deep);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), 0 0 46px rgba(0, 205, 255, 0.07);
}
.ui-card img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* feature rows: card sits beside the copy, natural height */
.feature-media .ui-card img { height: auto; }
/* how-it-works row: three across, so pin a common aspect */
.step .ui-card { aspect-ratio: 4 / 5; margin-bottom: 26px; }
/* placeholder look until real screenshots are dropped in */
.phone-ph { padding: 24px; color: var(--muted); }
.phone-ph .glyph {
  width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 13px;
  background: rgba(0, 205, 255, 0.08); border: 1px solid rgba(0, 205, 255, 0.28);
  display: grid; place-items: center; color: var(--cyan);
}
.phone-ph .name { font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--text); }
.phone-ph .tag { font-size: 0.8rem; margin-top: 6px; }
.phone-ph .pill {
  display: inline-block; margin-top: 16px; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid rgba(0, 205, 255, 0.3); border-radius: 999px; padding: 4px 11px;
}

/* ---------- How it works (3 steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { text-align: center; }
.step .phone { margin-bottom: 0; }
/* equal-height media slot so a flat crop card sits level with the phones */
.step-media { min-height: 556px; display: flex; align-items: center; justify-content: center; margin-bottom: 26px; }
.step-media .shotcard { max-width: 300px; }
@media (max-width: 780px) { .step-media { min-height: 0; } }
.step .num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: 0.92rem; color: var(--cyan);
  border: 1px solid rgba(0, 205, 255, 0.35); background: rgba(0, 205, 255, 0.06); margin-bottom: 14px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 34ch; margin: 0 auto; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- Feature rows (zigzag, capped) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.flip .feature-media { order: 2; }
.feature-media { display: flex; justify-content: center; }
.feature-body h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
.feature-body p { color: var(--muted); font-size: 1.06rem; max-width: 46ch; }
.feature-body p + p { margin-top: 14px; }
.feature-tag {
  display: inline-block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}
.note { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 0.82rem; color: var(--muted); }
.note svg { color: var(--cyan); flex-shrink: 0; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 34px; }
  .feature.flip .feature-media { order: 0; }
  .feature .phone { max-width: 230px; }
}

/* ---------- Bento (vault / costs / comeback) ---------- */
.bento { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.bento .cell {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; overflow: hidden; position: relative; transition: border-color .25s ease, transform .25s ease;
}
.bento .cell:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.bento .cell.tall { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.bento .cell h3 { font-size: 1.32rem; margin-bottom: 10px; }
.bento .cell p { color: var(--muted); font-size: 1rem; max-width: 38ch; }
.bento .cell .phone { max-width: 210px; margin-top: 30px; }
.icon-badge {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px;
  color: var(--cyan); background: rgba(0, 205, 255, 0.08); border: 1px solid rgba(0, 205, 255, 0.22);
}
.cost-tag { font-family: "Sora", sans-serif; font-weight: 800; font-size: 2.1rem; color: var(--text); margin-top: 18px; }
.cost-tag span { color: var(--muted); font-size: 0.9rem; font-weight: 400; display: block; }
@media (max-width: 820px) {
  .bento { grid-template-columns: 1fr; }
  .bento .cell.tall { grid-row: auto; }
}

/* ---------- Privacy band ---------- */
.band {
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(0, 205, 255, 0.10), transparent 55%),
    var(--surface);
  border: 1px solid var(--line); border-radius: 24px; padding: 56px;
}
.band-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.band h3 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 14px; }
.band p { color: var(--muted); max-width: 44ch; }
.band ul { list-style: none; display: grid; gap: 12px; }
.band li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: 1rem; }
.band li svg { color: var(--cyan); flex-shrink: 0; margin-top: 3px; }
@media (max-width: 780px) { .band { padding: 34px 26px; } .band-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 0 auto; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 20px; padding: 36px; background: var(--card); }
.plan.pro { border-color: rgba(0, 205, 255, 0.5); background:
  radial-gradient(120% 80% at 50% 0%, rgba(0, 205, 255, 0.09), transparent 60%), var(--surface); }
.plan .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: "Sora", sans-serif; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); background: var(--cyan); padding: 5px 14px; border-radius: 999px;
}
.plan h3 { font-size: 1.15rem; margin-bottom: 6px; }
.plan .price { font-family: "Sora", sans-serif; font-size: 2.4rem; font-weight: 800; line-height: 1; margin: 12px 0 4px; }
.plan .price small { font-size: 0.95rem; font-weight: 400; color: var(--muted); }
.plan .price-sub { color: var(--cyan); font-size: 0.86rem; margin-bottom: 22px; min-height: 1.2em; }
.plan ul { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.plan li { display: flex; align-items: flex-start; gap: 11px; color: var(--muted); font-size: 0.97rem; }
.plan li svg { color: var(--cyan); flex-shrink: 0; margin-top: 4px; }
.plan.free li svg { color: var(--green); }
.plan .btn { width: 100%; }
.price-foot { text-align: center; color: var(--muted); font-size: 0.86rem; margin-top: 26px; }
@media (max-width: 780px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.08rem; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--cyan); font-weight: 400; transition: transform .25s ease;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { color: var(--muted); padding: 0 40px 24px 0; max-width: 65ch; }

/* ---------- Final CTA ---------- */
.final { text-align: center; padding: 110px 0; }
.final h2 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; max-width: 16ch; margin: 0 auto 16px; }
.final .sub { color: var(--muted); max-width: 42ch; margin: 0 auto 34px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: var(--ink-deep); padding: 56px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-brand img { height: 64px; width: auto; margin-bottom: 16px; }
.foot-brand p { color: var(--muted); font-size: 0.92rem; max-width: 34ch; }
.foot-col h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.foot-col a { display: block; color: var(--text); opacity: .82; font-size: 0.96rem; padding: 5px 0; transition: opacity .2s, color .2s; }
.foot-col a:hover { opacity: 1; color: var(--cyan); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid var(--line); }
.foot-bottom p { color: var(--muted); font-size: 0.85rem; }
.socials { display: flex; gap: 12px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 10px; color: var(--muted);
  transition: color .2s, border-color .2s, transform .15s;
}
.socials a:hover { color: var(--cyan); border-color: rgba(0, 205, 255, 0.4); transform: translateY(-2px); }
.disclaimer { color: var(--muted); font-size: 0.8rem; max-width: 78ch; line-height: 1.55; margin-top: 22px; opacity: .85; }
@media (max-width: 780px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Legal / support content pages ---------- */
.page-hero { padding: 130px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--muted); }
.prose { max-width: 760px; margin: 0 auto; padding: 64px 0; }
.prose h2 { font-size: 1.5rem; margin: 42px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 18px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--cyan); }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--text); font-weight: 600; }
.prose .updated { font-size: 0.85rem; color: var(--muted); opacity: .8; margin-bottom: 30px; }
.callout {
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm); padding: 20px 22px; margin: 24px 0;
}
.callout p { margin: 0; color: var(--text); }

/* ---------- Contact form (support page) ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h3 { font-size: 1.3rem; margin-bottom: 12px; }
.contact-info p { color: var(--muted); margin-bottom: 20px; max-width: 40ch; }
.contact-info .mail { color: var(--cyan); font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.1rem; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 0.86rem; color: var(--text); font-weight: 500; }
.field input, .field textarea {
  background: rgba(13,17,23,0.6); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 13px 16px; font-family: inherit; font-size: 1rem; color: var(--text); outline: none;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 205, 255, 0.14); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field textarea { resize: vertical; min-height: 130px; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ecg.animate path { animation: none; stroke-dasharray: none; }
  .eyebrow::before { animation: none; }
  .btn, .bento .cell, .socials a { transition: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 66px 0; }
  .hero { padding: 88px 0 56px; }
  .band { padding: 30px 22px; }
  .feature + .feature { margin-top: 66px; }
}
