/* =====================================================================
   VidyaCheck — design system (v2, premium)
   Brand: green #15D663 + near-black, Satoshi display font, warm cream
   canvas. Dark, glowing hero; refined depth, type and motion.
   ===================================================================== */

:root {
  /* brand */
  --green:        #15D663;
  --green-dark:   #0B8040;
  --green-deep:   #0C1410;
  --green-50:     #E9FCF1;
  --green-100:    #CDF8DF;
  --green-300:    #7BEDA7;
  --green-bright: #2EE579;
  --on-brand:     #04150D;

  /* neutrals */
  --canvas:       #FAFAF7;
  --surface:      #FFFFFF;
  --surface-2:    #F3F4EF;
  --ink:          #0A0A0A;
  --ink-strong:   #1A1A1A;
  --ink-body:     #3D3D3D;
  --ink-muted:    #5B5B57;
  --line:         #E7E7E0;
  --line-strong:  #D6D6CD;

  /* dark surfaces */
  --hero-bg:      radial-gradient(125% 105% at 50% -15%, #1a4133 0%, #0e1a14 48%, #0a0f0c 100%);
  --dark-ink:     #0A0F0C;
  --dark-soft:    #C7D4CC;

  /* effects */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-sm: 0 1px 2px rgba(12,20,16,.05), 0 2px 6px rgba(12,20,16,.05);
  --shadow:    0 6px 22px rgba(12,20,16,.07), 0 2px 8px rgba(12,20,16,.05);
  --shadow-lg: 0 30px 70px rgba(12,20,16,.16), 0 12px 30px rgba(12,20,16,.09);
  --shadow-green: 0 14px 34px rgba(21,214,99,.30);
  --ring: 0 0 0 4px rgba(21,214,99,.30);

  --maxw: 1160px;
  --maxw-narrow: 760px;

  --font: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Devanagari", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font);
  background: var(--canvas);
  color: var(--ink-body);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.05rem); font-weight: 900; }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.85rem); font-weight: 900; }
h3 { font-size: clamp(1.18rem, 2.1vw, 1.35rem); }
p { text-wrap: pretty; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ---------- reveal motion (only hides when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .07s; } .js .reveal.d2 { transition-delay: .14s; }
.js .reveal.d3 { transition-delay: .21s; } .js .reveal.d4 { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: var(--maxw-narrow); }
.section { padding: clamp(60px, 9vw, 120px) 0; position: relative; }
.section--tint { background: var(--surface-2); }
.section--deep { background: var(--green-deep); color: var(--dark-soft); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-dark); background: var(--green-50);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
  border: 1px solid var(--green-100);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.section--deep .eyebrow, .hero .eyebrow { color: var(--green-bright); background: rgba(21,214,99,.1); border-color: rgba(21,214,99,.22); }
.lead { font-size: 1.2rem; color: var(--ink-muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: inherit; font-size: 1rem; font-weight: 700;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .16s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: linear-gradient(180deg, var(--green-bright), var(--green)); color: var(--on-brand); box-shadow: var(--shadow-green); }
.btn--primary:hover { box-shadow: 0 18px 40px rgba(21,214,99,.42); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(0,0,0,.02); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--green-50); }
/* Ghost buttons sitting on dark surfaces need light text/border */
.hero .btn--ghost,
.cta-band .btn--ghost,
.section--deep .btn--ghost {
  color: #fff; border-color: rgba(255,255,255,.4);
}
.hero .btn--ghost:hover,
.cta-band .btn--ghost:hover,
.section--deep .btn--ghost:hover {
  border-color: #fff; background: rgba(255,255,255,.1);
}
.btn--lg { padding: 16px 32px; font-size: 1.06rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,250,247,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 10px 34px rgba(12,20,16,.07); }

/* Dark-hero pages: header is transparent with light text by default (no JS
   needed, so there is no flash), and turns solid once .scrolled is added. */
body[data-hero="dark"] .site-header:not(.scrolled) {
  background: transparent; border-color: transparent; backdrop-filter: none; box-shadow: none;
}
body[data-hero="dark"] .site-header:not(.scrolled) .brand,
body[data-hero="dark"] .site-header:not(.scrolled) .nav-toggle { color: #fff; }
body[data-hero="dark"] .site-header:not(.scrolled) .nav:not(.open) .nav-links a { color: #fff; }
body[data-hero="dark"] .site-header:not(.scrolled) .nav:not(.open) .nav-links a:hover { color: var(--green-bright); }
body[data-hero="dark"] .site-header:not(.scrolled) .btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
body[data-hero="dark"] .site-header:not(.scrolled) .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
/* Pull the dark hero up beneath the sticky header so the transparent header
   overlays the dark hero (not the cream page background). 74px nav + 1px border. */
body[data-hero="dark"] .hero,
body[data-hero="dark"] .page-hero { margin-top: -75px; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; color: var(--ink); letter-spacing: -.02em; font-size: 1.24rem; transition: color .3s; }
.brand:hover { text-decoration: none; }
.brand img { height: 33px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; padding: 0; }
.nav-links a { color: var(--ink-strong); font-weight: 600; font-size: .97rem; transition: color .2s; }
.nav-links a:hover { color: var(--green-dark); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); transition: color .3s; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; left: 16px; right: 16px; top: 80px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-lg);
  }
  .nav.open .nav-links a { padding: 11px 8px; width: 100%; color: var(--ink-strong); }
}

/* ---------- hero (dark) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(4,8,6,.5), rgba(4,8,6,0) 150px), var(--hero-bg);
  color: var(--dark-soft);
  padding: clamp(120px, 17vh, 190px) 0 clamp(70px, 10vw, 120px);
}
.hero::before { /* soft green glow */
  content: ""; position: absolute; width: 800px; height: 800px; border-radius: 50%;
  top: -380px; right: -160px; pointer-events: none;
  background: radial-gradient(circle, rgba(46,229,121,.20), transparent 62%);
}
.hero::after { /* fine dotted texture */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent { color: transparent; background: linear-gradient(120deg, var(--green-bright), #6ff0a4); -webkit-background-clip: text; background-clip: text; }
.hero .lead { color: rgba(255,255,255,.74); margin-bottom: 30px; font-size: 1.24rem; max-width: 52ch; }
.hero-note { margin-top: 20px; font-size: .92rem; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.hero-note b { color: #fff; }
.hero-note svg { color: var(--green-bright); }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { order: 2; }
}

/* ---------- hero product mockup (dashboard + phone) ---------- */
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.dash {
  width: 100%; max-width: 480px; background: var(--surface);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.5); overflow: hidden;
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); transform-origin: center;
}
.dash-top { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.dash-top i { width: 10px; height: 10px; border-radius: 50%; background: #D7D7CE; }
.dash-top span { margin-left: 8px; font-size: .72rem; color: var(--ink-muted); font-weight: 600; }
.dash-body { padding: 18px; }
.dash-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-row h4 { font-size: 1rem; }
.dash-row .pill { font-size: .66rem; font-weight: 700; color: var(--green-dark); background: var(--green-50); padding: 4px 10px; border-radius: 999px; }
.dash-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.dash-stat { border: 1px solid var(--line); border-radius: 12px; padding: 11px; }
.dash-stat .n { font-weight: 900; color: var(--ink); font-size: 1.15rem; letter-spacing: -.02em; }
.dash-stat .l { font-size: .6rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .05em; }
.dash-chart { display: flex; align-items: flex-end; gap: 8px; height: 78px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.dash-chart i { flex: 1; background: var(--green-100); border-radius: 5px 5px 0 0; }
.dash-chart i.hi { background: linear-gradient(180deg, var(--green-bright), var(--green)); }

.hero-phone {
  position: absolute; right: -6%; bottom: -8%; width: 152px;
  background: #fff; border-radius: 22px; padding: 7px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); z-index: 3;
}
.hero-phone .pscreen { border-radius: 16px; overflow: hidden; background: var(--green-deep); }
.hero-phone .ptop { padding: 16px 12px 10px; }
.hero-phone .ptop small { color: var(--green-300); font-size: .54rem; font-weight: 700; letter-spacing: .04em; }
.hero-phone .ptop h5 { color: #fff; font-size: .82rem; margin-top: 2px; }
.hero-phone .pbody { background: var(--canvas); padding: 10px; display: grid; gap: 7px; }
.hero-phone .prow { display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 7px 8px; font-size: .6rem; font-weight: 600; color: var(--ink-strong); }
.hero-phone .prow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.hero-phone .prow .dot.amber { background: #F4A012; }

.float-badge {
  position: absolute; z-index: 4; background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.6); box-shadow: var(--shadow);
  border-radius: 13px; padding: 10px 13px; font-size: .78rem; font-weight: 700; color: var(--ink-strong);
  display: flex; align-items: center; gap: 8px; backdrop-filter: blur(6px);
}
.float-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.float-badge.b1 { top: 6%; left: -7%; }
.float-badge.b2 { bottom: 30%; left: -10%; }
@media (max-width: 560px) {
  .float-badge.b2 { display: none; }
  .hero-phone { right: 0; width: 132px; }
  .dash { transform: none; }
}

/* ---------- capability strip ---------- */
.capstrip { border-bottom: 1px solid var(--line); background: var(--surface); }
.capstrip .container { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; justify-content: center; padding-block: 26px; }
.capstrip span { color: var(--ink-muted); font-weight: 600; font-size: .94rem; display: inline-flex; align-items: center; gap: 9px; }
.capstrip svg { width: 19px; height: 19px; color: var(--green-dark); }

/* ---------- cards / feature grid ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-300); }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--ink-muted); font-size: .98rem; }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--green-50), #fff); color: var(--green-dark);
  border: 1px solid var(--green-100); margin-bottom: 18px;
}
.card .ico svg { width: 26px; height: 26px; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; }
.step .num {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-deep); color: var(--green-bright); font-weight: 900; font-size: 1.15rem; margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-muted); font-size: .96rem; }

/* ---------- roles ---------- */
.roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 900px) { .roles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .roles { grid-template-columns: 1fr; } }
.role { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; text-align: center; transition: transform .2s, box-shadow .25s; }
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.role .emoji { font-size: 2rem; line-height: 1; margin-bottom: 13px; }
.role h3 { font-size: 1.08rem; margin-bottom: 6px; }
.role p { font-size: .87rem; color: var(--ink-muted); }

/* ---------- alternating splits ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.split + .split { margin-top: clamp(52px, 7vw, 96px); }
.split.rev .split-text { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.rev .split-text { order: 0; }
  .split-art { max-width: 380px; margin-inline: auto; }
}
.checklist { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-body); }
.checklist svg { width: 22px; height: 22px; color: var(--green-dark); flex: none; margin-top: 2px; }

/* phone mockup (used in splits) */
.phone { width: 280px; max-width: 80vw; aspect-ratio: 9 / 19; background: #fff; border-radius: 36px; padding: 11px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); position: relative; }
.phone::before { content: ""; position: absolute; top: 17px; left: 50%; transform: translateX(-50%); width: 96px; height: 6px; border-radius: 999px; background: #E2E2DA; z-index: 3; }
.phone-screen { height: 100%; border-radius: 26px; overflow: hidden; background: var(--canvas); display: flex; flex-direction: column; }
.phone-top { background: var(--green-deep); color: #fff; padding: 32px 16px 16px; }
.phone-top small { color: var(--green-300); font-weight: 700; font-size: .62rem; letter-spacing: .04em; }
.phone-top h4 { color: #fff; font-size: 1.05rem; margin-top: 2px; }
.phone-body { padding: 14px; display: grid; gap: 10px; align-content: start; flex: 1; }
.mini-stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.mini-stat .n { font-weight: 900; color: var(--ink); font-size: 1.15rem; letter-spacing: -.02em; }
.mini-stat .l { font-size: .66rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .06em; }
.mini-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-pill { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font-size: .72rem; color: var(--ink-strong); font-weight: 600; }
.mini-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.mini-pill .dot--amber { background: #F4A012; }
.mini-bar { height: 8px; border-radius: 999px; background: var(--green-100); overflow: hidden; }
.mini-bar > i { display: block; height: 100%; background: var(--green); border-radius: 999px; }

/* ---------- stats band ---------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
@media (max-width: 700px) { .statband { grid-template-columns: repeat(2, 1fr); } }
.statband .n { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 900; color: #fff; letter-spacing: -.03em; }
.statband .l { color: var(--green-300); font-weight: 600; font-size: .92rem; }

/* ---------- security section ---------- */
.secure { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,64px); align-items: center; }
@media (max-width: 860px) { .secure { grid-template-columns: 1fr; } }
.secure-list { display: grid; gap: 16px; }
.secure-item { display: flex; gap: 14px; align-items: flex-start; }
.secure-item .si { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(21,214,99,.12); color: var(--green-bright); }
.secure-item .si svg { width: 22px; height: 22px; }
.secure-item h4 { color: #fff; font-size: 1.05rem; margin-bottom: 3px; }
.secure-item p { color: var(--dark-soft); font-size: .95rem; }
.secure-art { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 30px; }
.secure-art .shield { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(150deg, var(--green-bright), var(--green-dark)); margin-bottom: 18px; }
.secure-art .shield svg { width: 38px; height: 38px; color: #fff; }
.secure-art h3 { color: #fff; margin-bottom: 8px; }
.secure-art p { color: var(--dark-soft); font-size: .96rem; }

/* ---------- pricing ---------- */
.price-card { max-width: 560px; margin-inline: auto; background: var(--surface); border: 1.5px solid var(--green-300); border-radius: var(--radius-xl); padding: clamp(30px, 5vw, 50px); box-shadow: var(--shadow-lg); text-align: center; position: relative; }
.price-card .tag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, var(--green-bright), var(--green)); color: var(--on-brand); font-weight: 700; font-size: .8rem; padding: 7px 17px; border-radius: 999px; box-shadow: var(--shadow-green); }
.price-amt { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 900; color: var(--ink); letter-spacing: -.03em; overflow-wrap: break-word; }
.price-amt small { font-size: 1.05rem; color: var(--ink-muted); font-weight: 600; }
.price-card .checklist { max-width: 380px; margin: 24px auto 28px; text-align: left; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
details.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 24px; transition: border-color .2s, box-shadow .2s; }
details.qa[open] { border-color: var(--green-300); box-shadow: var(--shadow-sm); }
details.qa summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); font-size: 1.05rem; padding: 19px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; font-size: 1.5rem; color: var(--green-dark); font-weight: 400; transition: transform .25s; }
details.qa[open] summary::after { transform: rotate(45deg); }
details.qa p { padding-bottom: 21px; color: var(--ink-muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--hero-bg); border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 80px); text-align: center; color: #fff; }
.cta-band::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; top: -300px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(46,229,121,.22), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.76); max-width: 56ch; margin: 0 auto 30px; font-size: 1.12rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--green-deep); color: #AFBCB4; padding: clamp(52px, 6vw, 80px) 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 900; font-size: 1.26rem; margin-bottom: 15px; }
.footer-brand img { height: 31px; }
.site-footer p { font-size: .94rem; max-width: 35ch; color: #9CAAA2; }
.footer-col h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 17px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: #AFBCB4; font-size: .95rem; }
.footer-col a:hover { color: var(--green-bright); text-decoration: none; }
.footer-bottom { margin-top: 46px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: .88rem; color: #8A988F; }
.footer-bottom a { color: #8A988F; }
.footer-bottom a:hover { color: var(--green-bright); text-decoration: none; }

/* ---------- legal / prose pages ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(4,8,6,.5), rgba(4,8,6,0) 150px), var(--hero-bg); color: var(--dark-soft); padding: clamp(120px, 15vh, 168px) 0 clamp(44px, 6vw, 68px); }
.page-hero::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; top: -340px; right: -120px; background: radial-gradient(circle, rgba(46,229,121,.16), transparent 62%); pointer-events: none; }
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.74); margin-top: 14px; max-width: 60ch; }
.page-hero .updated { display: inline-block; margin-top: 18px; font-size: .85rem; color: var(--green-300); background: rgba(21,214,99,.1); padding: 6px 14px; border-radius: 999px; font-weight: 600; border: 1px solid rgba(21,214,99,.2); }

.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin: 44px 0 14px; scroll-margin-top: 96px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 10px; color: var(--ink-strong); }
.prose p { margin-bottom: 16px; color: var(--ink-body); }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 24px; }
.prose li { margin-bottom: 9px; color: var(--ink-body); }
.prose a { color: var(--green-dark); text-decoration: underline; }
.prose strong { color: var(--ink-strong); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose .callout { background: var(--green-50); border: 1px solid var(--green-100); border-left: 4px solid var(--green); border-radius: var(--radius-sm); padding: 18px 20px; margin: 24px 0; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-2); color: var(--ink-strong); font-weight: 700; }
.table-wrap { overflow-x: auto; }

.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 36px; box-shadow: var(--shadow-sm); }
.toc h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-muted); margin-bottom: 13px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 34px; }
.toc li { margin-bottom: 8px; }
@media (max-width: 600px) { .toc ol { columns: 1; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.contact-card .ico { width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(150deg, var(--green-50), #fff); border: 1px solid var(--green-100); color: var(--green-dark); display: grid; place-items: center; margin-bottom: 15px; }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card a { font-weight: 700; font-size: 1.08rem; }

/* ---------- utility ---------- */
.mt-0 { margin-top: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.skip-link:focus { left: 0; }
