/* ============================================================
   Proculytics — landing page
   Design system: deep navy + gold, professional & clean
   ============================================================ */

:root {
  /* Brand */
  --ink:        #0c1d2e;   /* deepest navy (dark sections) */
  --navy:       #0d2135;   /* hero navy */
  --navy-2:     #12283d;   /* navy card */
  --navy-line:  #1f3a52;   /* report header navy */
  --gold:       #f2a93b;
  --gold-2:     #f6bf63;
  --gold-soft:  rgba(242,169,59,.12);
  --red:        #e5484d;
  --red-soft:   #fdecec;
  --green:      #2faa64;
  --green-soft: #e7f6ee;
  --cool:       #3a7bd5;

  /* Surfaces */
  --paper:  #ffffff;
  --bg:     #f5f8fb;
  --bg-2:   #eef3f8;

  /* Text */
  --text:   #15242f;
  --muted:  #56697a;
  --muted-2:#8090a0;
  --light:  #e8eef4;
  --light-muted: #9fb1c4;

  --line:   #e4eaf1;
  --line-2: #d7e0ea;

  /* Geometry */
  --radius:   18px;
  --radius-sm:12px;
  --maxw:     1160px;
  --shadow:   0 18px 50px -24px rgba(13, 33, 53, .35);
  --shadow-sm:0 8px 26px -16px rgba(13, 33, 53, .4);

  --font:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; }
p { margin: 0; }
code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  background: rgba(242,169,59,.16);
  color: #b97c12;
  padding: .08em .4em;
  border-radius: 6px;
  font-size: .92em;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.band { padding: clamp(64px, 9vw, 116px) 0; }
.band--white { background: var(--paper); }
.band--light { background: var(--bg); }
.band--dark  { background: var(--ink); color: var(--light); }

/* ---------- Shared headings ---------- */
.kicker {
  font: 600 13px/1 var(--font);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cool);
  margin: 0 0 16px;
}
.kicker--gold { color: var(--gold); }
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  max-width: 18ch;
}
.section-title--light { color: #fff; }
.section-sub {
  color: var(--muted);
  font-size: 18px;
  margin-top: 16px;
  max-width: 60ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--gold);
  color: #2a1a02;
  box-shadow: 0 10px 26px -12px rgba(242,169,59,.7);
}
.btn--primary:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  border-color: var(--line-2);
  color: var(--text);
}
.btn--outline:hover { border-color: var(--navy); background: var(--bg); }
.btn--ghost {
  background: transparent;
  border-color: rgba(13,33,53,.18);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--navy); }
.btn--ghost-light {
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.nav.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(13,33,53,.5);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand__logo { display: block; }
.brand__name { font-family: var(--display); font-size: 19px; letter-spacing: -.02em; }
.brand--light .brand__name { color: #fff; }

.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s ease;
}
.nav__links a:hover { color: var(--text); }

.nav__actions { display: flex; align-items: center; gap: 14px; }

.langtoggle {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 3px;
  background: #fff;
}
.langtoggle__btn {
  border: 0;
  background: transparent;
  font: 600 13px var(--font);
  color: var(--muted);
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.langtoggle__btn.is-active { background: var(--navy); color: #fff; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 38px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  height: 2px; width: 18px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% -10%, #163652 0%, rgba(22,54,82,0) 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%);
  color: var(--light);
  overflow: hidden;
  padding: clamp(28px, 4vw, 52px) 0 clamp(56px, 8vw, 96px);
}
.hero__glow {
  position: absolute;
  width: 520px; height: 520px;
  right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(242,169,59,.16) 0%, rgba(242,169,59,0) 70%);
  pointer-events: none;
}
.hero__arc {
  position: absolute;
  left: -180px; bottom: -260px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: rgba(255,255,255,.025);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.eyebrow {
  font: 600 13px/1 var(--font);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}
.hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 78px);
  line-height: .98;
  color: #fff;
  letter-spacing: -.03em;
}
.hero__accent {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--gold);
  margin: 20px 0 0;
  position: relative;
  padding-top: 22px;
}
.hero__accent::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 64px; height: 4px;
  background: var(--gold);
  border-radius: 2px;
}
.hero__lead {
  color: var(--light-muted);
  font-size: clamp(16px, 1.4vw, 18px);
  max-width: 46ch;
  margin: 22px 0 0;
}
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.pill {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--light);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 7px 15px;
  background: rgba(255,255,255,.04);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 0; }
.hero__by {
  margin: 30px 0 0;
  font-size: 14px;
  color: var(--light-muted);
}

/* Hero report card */
.hero__visual { display: flex; justify-content: center; }
.report-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, #fbfdff 0%, #f2f6fb 100%);
  border-radius: 16px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04);
  overflow: hidden;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.report-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy-line);
  color: #fff;
  padding: 14px 18px;
}
.report-card__title {
  font: 700 13px/1 var(--font);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.report-card__live i {
  display: block;
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 0 rgba(242,169,59,.6);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(242,169,59,.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(242,169,59,0); }
}
.report-card__rows { list-style: none; margin: 0; padding: 6px 0; }
.report-card__rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 18px;
  border-top: 1px solid #e9eff5;
}
.report-card__rows li:first-child { border-top: 0; }
.report-card__rows li:nth-child(even) { background: rgba(13,33,53,.018); }
.rid {
  display: block;
  font: 600 11px ui-monospace, 'SF Mono', Menlo, monospace;
  color: var(--muted-2);
  letter-spacing: .02em;
}
.rdesc { display: block; font-size: 14px; font-weight: 500; color: var(--text); }
.tag {
  font: 700 11px/1 var(--font);
  letter-spacing: .03em;
  padding: 6px 10px;
  border-radius: 7px;
  white-space: nowrap;
}
.tag--red    { background: var(--red-soft);   color: #c0383d; }
.tag--green  { background: var(--green-soft); color: #1d804a; }
.tag--cool   { background: #e8f0fb;           color: #2f63ab; }
.tag--gold   { background: var(--gold-soft);  color: #b07614; }
.tag--slate  { background: #e9edf2;           color: #51647a; }
.tag--redfill{ background: var(--red);        color: #fff; }
.report-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #eef3f8;
  border-top: 1px solid #e1e8f0;
  font-size: 13.5px;
  color: var(--muted);
}
.report-card__foot strong { color: var(--red); font-size: 15px; }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem { text-align: center; }
.problem__head {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 36px);
  max-width: 22ch;
  margin: 0 auto;
  color: var(--text);
}
.problem__sub {
  margin: 22px auto 0;
  max-width: 60ch;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
}

/* ============================================================
   GRID / CARDS
   ============================================================ */
.grid { display: grid; gap: 22px; margin-top: 48px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 18.5px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
  margin-top: 52px;
}
.step {
  background: var(--navy-2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: #2a1a02;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 18px;
}
.step h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--light-muted); font-size: 15px; }
.step__arrow {
  align-self: center;
  color: var(--gold);
  font-size: 26px;
  font-weight: 700;
}

/* ============================================================
   WHY / EDGE
   ============================================================ */
.edge {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.edge__intro { position: sticky; top: 96px; }
.edge__lead { color: var(--muted); font-size: 18px; margin-top: 18px; max-width: 38ch; }
.edge__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.edge__list li { display: flex; gap: 18px; }
.edge__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: #b07614;
}
.edge__icon svg { width: 24px; height: 24px; }
.edge__list h3 { font-size: 18px; margin-bottom: 6px; }
.edge__list p { color: var(--muted); font-size: 15px; }

.callout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 56px;
  background: linear-gradient(180deg, #fff8ec 0%, #fef3df 100%);
  border: 1px solid #f3dcae;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.callout__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gold);
}
.callout__icon svg { width: 24px; height: 24px; }
.callout__lead { font-family: var(--display); font-weight: 600; font-size: 20px; margin-bottom: 8px; }
.callout__body p:last-child { color: #6b5a3a; font-size: 15.5px; }
.callout code { background: rgba(176,124,20,.16); }

/* ============================================================
   SAMPLE REPORT
   ============================================================ */
.sample__lead { color: var(--light-muted); font-size: 18px; margin: 18px 0 0; max-width: 64ch; }
.report {
  margin-top: 44px;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.6);
}
.report__head { padding: 26px 30px 18px; border-bottom: 2px solid var(--navy-line); }
.report__h3 { font-family: var(--display); color: var(--navy); font-size: clamp(18px,2.4vw,23px); }
.report__meta { color: var(--muted); font-size: 13.5px; margin-top: 6px; font-style: italic; }
.report__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.report__metrics > div { background: #fbfdff; padding: 16px 22px; }
.report__metrics span { display: block; font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .04em; }
.report__metrics strong { display: block; font-size: 15px; margin-top: 4px; }
.report__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.report__panel { padding: 24px 30px; }
.report__panel:first-child { border-right: 1px solid var(--line); }
.report__panel h4 { font-family: var(--display); color: var(--navy); font-size: 16px; margin-bottom: 12px; }
.report__panel h4.mt { margin-top: 22px; }
.rtab { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.rtab td { padding: 8px 0; border-bottom: 1px solid #eef3f8; color: var(--muted); }
.rtab td:last-child { text-align: right; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.rtab--items td { font-size: 13.5px; }
.rtab--items b { color: var(--text); font-weight: 600; }
.rtab__total td { border-top: 2px solid var(--navy-line); border-bottom: 0; font-weight: 700; color: var(--text); padding-top: 10px; }
.rtab .pos { color: #c0383d; }
.rtab .neg { color: #c0383d; }
.report__warn {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff7e6;
  border-top: 1px solid #f0dcae;
  padding: 16px 30px;
  font-size: 14px;
  color: #6b5a3a;
}
.report__warn strong { color: var(--gold); font-size: 18px; line-height: 1; }
.sample__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* compact stat row (landing page) */
.sample__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.sstat {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
}
.sstat strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--gold);
  letter-spacing: -.02em;
}
.sstat span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--light-muted);
}

/* ============================================================
   SAMPLE PAGE (sample.html)
   ============================================================ */
.navback {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color .15s ease;
}
.navback:hover { color: var(--navy); }
.samplehero { padding-bottom: clamp(28px, 4vw, 44px); }
.samplehero .section-title { max-width: 24ch; }
.sampleintro { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 70ch; margin-top: 16px; }
.samplehero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.samplebody { padding-top: clamp(32px, 4vw, 48px); }
.samplestack { display: grid; gap: 28px; }

.reportbox {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.reportbox__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  background: var(--navy-line);
  color: #fff;
  padding: 14px 22px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
}
.reportbox__bar small { font-family: var(--font); font-weight: 500; font-size: 12.5px; opacity: .72; }
.reportbox__scroll { overflow-x: auto; }

.rtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.rtable thead th {
  background: #f3f7fb;
  color: var(--navy);
  text-align: left;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .02em;
  padding: 12px 18px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-2);
}
.rtable td {
  padding: 11px 18px;
  border-bottom: 1px solid #eef3f8;
  color: var(--text);
  white-space: nowrap;
}
.rtable tbody tr:nth-child(even) { background: rgba(13,33,53,.018); }
.rtable td:first-child { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12.5px; color: var(--muted); }
.rtable td:nth-child(2) { white-space: normal; min-width: 220px; }
.rtable .num { text-align: right; font-variant-numeric: tabular-nums; }
.rtable .pos { color: #c0383d; font-weight: 600; }
.rtable .neg { color: #1d804a; font-weight: 600; }

.samplenote {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 76ch;
  padding: 4px 2px;
}

/* ============================================================
   PRICING
   ============================================================ */
.plans { margin-top: 50px; align-items: start; }
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.plan--featured {
  border-color: var(--navy);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}
.plan__badge {
  position: absolute;
  top: -13px; left: 30px;
  background: var(--gold);
  color: #2a1a02;
  font: 700 12px var(--font);
  letter-spacing: .03em;
  padding: 5px 13px;
  border-radius: 999px;
}
.plan__name { font-family: var(--display); font-size: 21px; color: var(--navy); }
.plan__price { font-family: var(--display); font-weight: 700; font-size: 42px; margin: 8px 0 4px; letter-spacing: -.03em; }
.plan__scope { color: var(--muted); font-size: 14.5px; min-height: 66px; }
.plan__list { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; gap: 11px; }
.plan__list li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
  color: var(--text);
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  background: var(--green-soft);
  border-radius: 50%;
}
.plan__list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 8px;
  width: 6px; height: 3px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }
.pricing__note {
  margin-top: 34px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  max-width: 70ch;
  margin-left: auto; margin-right: auto;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { margin-top: 40px; display: grid; gap: 12px; }
.faq__item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq__item[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.4;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq__item summary:hover { color: var(--navy); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  margin-top: 7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__a {
  padding: 0 24px 22px;
  border-top: 1px solid var(--line);
  margin-top: -1px;
  padding-top: 18px;
}
.faq__a p { color: var(--muted); font-size: 15.5px; line-height: 1.65; max-width: none; }
.faq__item[open] .faq__a { animation: faqOpen .26s ease; }
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.band--cta {
  background:
    radial-gradient(110% 120% at 50% -20%, #173a58 0%, rgba(23,58,88,0) 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--ink) 100%);
  color: #fff;
  text-align: center;
}
.cta { max-width: 760px; margin: 0 auto; }
.cta__title { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4.2vw, 44px); color: #fff; }
.cta__sub { color: var(--light-muted); font-size: 18px; margin: 18px auto 0; max-width: 56ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--light-muted); padding: 56px 0 32px; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__tag { margin-top: 14px; font-size: 14px; max-width: 44ch; }
.footer__links { display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap; }
.footer__links a { font-size: 15px; font-weight: 500; color: var(--light); transition: color .15s ease; }
.footer__links a:hover { color: var(--gold); }
.footer__bottom { margin-top: 24px; font-size: 13px; color: var(--muted-2); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 8px; }
  .report-card { max-width: 380px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .edge { grid-template-columns: 1fr; }
  .edge__intro { position: static; }
  .steps { grid-template-columns: 1fr; }
  .step__arrow { transform: rotate(90deg); justify-self: center; }
  .plan--featured { transform: none; }
}

@media (max-width: 760px) {
  .nav__links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 0;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .nav__links a:first-child { border-top: 0; }
  .nav__burger { display: flex; }
  .nav .btn--sm { display: none; }
  .report__metrics { grid-template-columns: repeat(2, 1fr); }
  .report__cols { grid-template-columns: 1fr; }
  .report__panel:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .grid--3 { grid-template-columns: 1fr; }
  .sample__stats { grid-template-columns: 1fr 1fr; }
  .hero__cta .btn, .cta__actions .btn, .sample__cta .btn, .samplehero__cta .btn { width: 100%; }
  .langtoggle { order: 2; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
