/* ==========================================================
   EduTrace marketing site
   ========================================================== */

:root {
  --navy: #14294a;
  --navy-2: #1d3a66;
  --green: #4fb583;
  --green-d: #2f8f60;
  --amber: #e8a33d;
  --red: #e5534b;
  --ink: #14294a;
  --muted: #5b6b82;
  --line: #e3e8f0;
  --bg: #ffffff;
  --soft: #f5f8fb;
  --radius: 16px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(20, 41, 74, .08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 34px; width: auto; }
.foot-grid .brand img { height: 30px; }

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a.link { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-links a.link:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 11px 20px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-d); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(47, 143, 96, .28); }
.btn-primary:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; background: linear-gradient(180deg, #f3f8f6 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green-d); margin-bottom: 14px;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 18px; font-weight: 900; }
h1 span { color: var(--green); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.status { margin-top: 22px; font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(232, 163, 61, .2); }

/* Sample dashboard card */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(20, 41, 74, .12); overflow: hidden; }
.mock-top { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.mock-top i { width: 10px; height: 10px; border-radius: 50%; background: #d5dce8; }
.mock-top b { margin-left: 10px; font-size: .8rem; color: var(--muted); font-weight: 600; }
.mock-body { padding: 20px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.kpi { background: var(--soft); border-radius: 12px; padding: 12px; }
.kpi small { display: block; color: var(--muted); font-size: .72rem; }
.kpi strong { font-size: 1.4rem; letter-spacing: -.02em; }
.up { color: var(--green-d); }
.down { color: var(--red); }
.chart { display: flex; align-items: flex-end; gap: 10px; height: 110px; padding: 0 4px; margin-bottom: 6px; }
.chart div { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--navy-2); }
.chart div.hl { background: var(--green); }
.axis { display: flex; gap: 10px; font-size: .68rem; color: var(--muted); padding: 0 4px; margin-bottom: 16px; }
.axis span { flex: 1; text-align: center; }
.row { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .85rem; margin-top: 8px; }
.tag { font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; color: #fff; }
.tag.r { background: var(--red); }
.tag.a { background: var(--amber); }
.tag.g { background: var(--green); }
.sample { font-size: .7rem; color: var(--muted); text-align: center; padding: 0 0 12px; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--soft); }
.sec-head { max-width: 44rem; margin: 0 auto 44px; text-align: center; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -.03em; line-height: 1.15; margin: 0 0 12px; font-weight: 850; }
.sub { color: var(--muted); font-size: 1.05rem; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .n { width: 36px; height: 36px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.cards .card:nth-child(2) .n { background: var(--green); }
.cards .card:nth-child(3) .n { background: var(--amber); }
.cards .card:nth-child(4) .n { background: var(--red); }
.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Comparison */
.compare { max-width: 820px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.compare .hd, .compare .tr { display: grid; grid-template-columns: 1fr 1fr; }
.compare .hd div { padding: 14px 20px; font-weight: 800; font-size: .9rem; }
.compare .hd div:first-child { background: #eef1f6; color: var(--muted); }
.compare .hd div:last-child { background: var(--navy); color: #fff; }
.compare .tr div { padding: 14px 20px; border-top: 1px solid var(--line); font-size: .95rem; }
.compare .tr div:first-child { color: var(--muted); }
.compare .tr div:last-child { font-weight: 600; }
.compare .tr div:last-child::before { content: "✓ "; color: var(--green); }
.soon {
  display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px;
  background: #fdf3e1; color: #9a6410; border: 1px solid #f3d9a6;
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap; vertical-align: middle;
}

/* Roles */
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.role { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; border-top: 5px solid var(--green); }
.role:nth-child(2) { border-top-color: var(--navy); }
.role:nth-child(3) { border-top-color: var(--amber); }
.role h3 { margin: 0 0 4px; }
.role .who { color: var(--muted); font-size: .85rem; margin-bottom: 14px; }
.role ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .95rem; }
.role li { margin-bottom: 6px; }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust .card .n { background: var(--green); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-copy h2 { text-align: left; }
.contact-copy p { color: var(--muted); }
.contact-copy .direct { margin-top: 22px; font-size: .95rem; }
.contact-copy .direct a { color: var(--green-d); font-weight: 700; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 16px 44px rgba(20, 41, 74, .08); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 6px; }
label .opt { color: var(--muted); font-weight: 500; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(79, 181, 131, .18); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--red); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.privacy { font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.form-msg { margin-top: 16px; padding: 12px 16px; border-radius: 10px; font-size: .95rem; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: #e8f6ee; color: #1f6b44; border: 1px solid #bfe4cf; }
.form-msg.err { background: #fdecea; color: #a1332c; border: 1px solid #f5c6c2; }

/* ---------- Footer ---------- */
.site-footer { padding: 36px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.foot .brand { font-size: 1.2rem; }
.tricolour { height: 6px; border-radius: 99px; width: 120px; background: linear-gradient(90deg, var(--red) 0 33%, var(--amber) 33% 66%, var(--green) 66%); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 28px; }
  .roles, .trust { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links a.link { display: none; }
  .section { padding: 56px 0; }
  .hero { padding-top: 40px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .compare .hd div, .compare .tr div { padding: 12px 14px; font-size: .85rem; }
  .form-card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ==========================================================
   Added: subpages, trial banner, pricing, footer columns
   ========================================================== */
.section.tight { padding: 28px 0; }
.page-hero { padding: 56px 0 44px; background: linear-gradient(180deg, #f3f8f6 0%, #fff 100%); text-align: center; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { margin: 0 auto; }

/* Trial banner */
.trial { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff;
  border-radius: 20px; padding: 32px 36px; }
.trial h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 6px; }
.trial p { margin: 0; color: #cdd8ea; max-width: 40em; }
.trial .btn-primary { white-space: nowrap; }
.trial.big { margin-top: 36px; }

/* Features */
.ico { display: flex; justify-content: center; margin: 2px 0 14px; color: var(--green-d); }
.ico svg { width: 38px; height: 38px; }
.card { position: relative; }
.soonc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.soonc .card .soon { position: static; display: block; width: fit-content; max-width: 100%; margin: 0 0 16px; white-space: normal; }

/* Video showcase */
.showcase { background: linear-gradient(135deg, #ffffff 0%, #f1f6fa 100%); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 24px 60px rgba(20, 41, 74, .08); padding: 40px 40px 28px; }
.slide { display: none; grid-template-columns: 1fr 1.35fr; gap: 44px; align-items: center; }
.slide.active { display: grid; }
.slide-copy h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.12; letter-spacing: -.03em; margin: 0 0 14px; }
.slide-copy p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.slide-media { position: relative; padding: 14px 6px 22px 22px; }
.slide-media::before { content: ""; position: absolute; inset: 30px 0 4px 40px; background: var(--navy-2); border-radius: 26px; transform: rotate(-2.5deg); opacity: .22; }
.frame { position: relative; aspect-ratio: 16 / 9; background: #0e1c33; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(20, 41, 74, .28); }
.frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.frame.has-video video { opacity: 1; }
.frame.has-video .ph { display: none; }
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; color: #cdd8ea; background: radial-gradient(circle at 30% 20%, #1d3a66 0%, #0e1c33 70%); }
.ph strong { color: #fff; font-size: 1rem; }
.ph small { font-size: .82rem; opacity: .75; }
.play { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(79, 181, 131, .18); border: 2px solid var(--green); color: var(--green); margin-bottom: 8px; }
.sc-nav { display: flex; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 8px; }
.arrow { width: 46px; height: 46px; border-radius: 12px; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(20, 41, 74, .12); transition: transform .15s, box-shadow .15s; }
.arrow:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(20, 41, 74, .18); }
.dots { display: flex; gap: 10px; }
.dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #d5dce8; cursor: pointer; transition: background .15s, transform .15s; }
.dots button[aria-selected="true"] { background: var(--green); transform: scale(1.25); }
@media (max-width: 900px) { .slide { grid-template-columns: 1fr; gap: 24px; } .showcase { padding: 26px 20px 20px; } .soonc { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .soonc { grid-template-columns: 1fr; } .slide-media { padding: 8px 0 14px 8px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 820px; margin: 0 auto; }
.plans.plans-live { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); max-width: 1080px; }
.plans-live .price { font-size: 2.3rem; }
.plans-live .price small { display: block; margin-top: 2px; font-size: .85rem; }
.plans:not(.plans-live) { grid-template-columns: minmax(0, 420px); justify-content: center; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; border-top: 5px solid var(--navy); }
.plan.pop { border-top-color: var(--green); box-shadow: 0 16px 44px rgba(20, 41, 74, .10); }
.plan h3 { margin: 0 0 4px; font-size: 1.25rem; }
.plan .who { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.price { font-size: 2.6rem; font-weight: 900; letter-spacing: -.03em; margin-bottom: 18px; }
.price small { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; }
.plan li { padding: 6px 0 6px 26px; position: relative; color: var(--muted); font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.pill { position: absolute; top: -13px; right: 24px; background: var(--green); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.fine { max-width: 820px; margin: 22px auto 0; text-align: center; font-size: .82rem; color: var(--muted); }

/* Legal text */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; letter-spacing: -.02em; margin: 40px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--green-d); font-weight: 600; }
.prose strong { color: var(--ink); }
.privacy a { color: var(--green-d); font-weight: 600; }

/* Footer columns */
.site-footer { padding: 52px 0 28px; background: var(--soft); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot-grid h4 { margin: 0 0 14px; color: var(--ink); font-size: .95rem; }
.foot-grid a:not(.brand) { display: block; text-decoration: none; color: var(--muted); margin-bottom: 9px; }
.foot-grid a:not(.brand):hover { color: var(--green-d); }
.foot-tag { max-width: 22rem; margin: 14px 0 0; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-bottom a { color: var(--muted); }

@media (max-width: 1000px) { .cards.feat { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .plans { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cards.feat { grid-template-columns: 1fr; } .foot-grid { grid-template-columns: 1fr; } .trial { padding: 26px 22px; } }

/* Hero image */
.hero-img { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(20, 41, 74, .14); background: var(--soft); }
.hero-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* Supported subjects */
.subjects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.subj { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; border-top: 5px solid var(--green); }
.subj.soonc2 { border-top-color: var(--amber); }
.subj h3 { margin: 12px 0 16px; font-size: 1.35rem; letter-spacing: -.02em; }
.subj dl { margin: 0; }
.subj dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.subj dt { color: var(--muted); }
.subj dd { margin: 0; font-weight: 700; }
.s-pill { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.s-pill.s-ok { background: #e8f6ee; color: #1f6b44; border: 1px solid #bfe4cf; }
.s-pill.s-soon { background: #fdf3e1; color: #9a6410; border: 1px solid #f3d9a6; }
.subj.more { border: 2px dashed #c9d4e3; border-top: 2px dashed #c9d4e3; background: var(--soft); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.subj.more h3 { margin-top: 0; }
.subj.more p { color: var(--muted); margin: 0 0 18px; }
@media (max-width: 900px) { .subjects { grid-template-columns: 1fr; } }

/* Pricing: subjects strip */
.incl { max-width: 820px; margin: 36px auto 0; text-align: center; }
.incl h2 { font-size: 1.4rem; margin-bottom: 18px; }
.incl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; text-align: left; }
.incl-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.incl-item strong { display: block; font-size: 1.05rem; }
.incl-item span:not(.s-pill) { color: var(--muted); font-size: .88rem; }
.incl-item .s-pill { white-space: nowrap; flex-shrink: 0; }
.incl-item > div { min-width: 0; }
.incl .fine a { color: var(--green-d); font-weight: 600; }
@media (max-width: 560px) { .incl-grid { grid-template-columns: 1fr; } }

.co-details { flex-basis: 100%; font-size: .85rem; color: var(--muted); }

/* Hero stack of real app screenshots */
.hero-stack { position: relative; width: 100%; aspect-ratio: 8 / 5; cursor: pointer; }
.ph-card { position: absolute; left: 4%; right: 4%; top: 6%; bottom: 6%; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 18px 44px rgba(20, 41, 74, .16);
  z-index: calc(10 - var(--i)); opacity: calc(1 - var(--i) * .08);
  transform: translate(calc(var(--i) * 3.2%), calc(var(--i) * -3.4%)) rotate(calc(var(--i) * 1.7deg - .8deg)) scale(calc(1 - var(--i) * .02));
  transform-origin: 30% 80%; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .7s, z-index 0s .15s; }
.ph-top { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--navy); color: #fff; font-size: .85rem; }
.ph-top span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); }
.ph-top span:nth-child(1) { background: var(--green); }
.ph-top strong { margin-left: 10px; font-weight: 700; letter-spacing: .01em; }
.hero-screenshot { display: block; width: 100%; min-height: 0; flex: 1; object-fit: contain; object-position: top; background: #f7f8fc; }
.hero-stack:focus-visible { outline: 3px solid var(--green); outline-offset: 8px; border-radius: 18px; }
@media (prefers-reduced-motion: reduce) { .ph-card { transition: none; } }
@media (max-width: 900px) { .hero-stack { max-width: 520px; margin: 0 auto; } }

/* FAQ page */
.faq-wrap { max-width: 820px; }
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-size: 1.35rem; margin: 0 0 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 500; color: var(--green-d); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--green-d); }
.faq-item summary:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 12px; }
.faq-a { padding: 0 20px 18px; color: var(--muted); font-size: .97rem; }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a { color: var(--green-d); font-weight: 600; }

.comparison-link { text-align: center; margin: 28px 0 0; }

/* Assessment workflow */
.workflow-steps { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.workflow-number { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: white; font-weight: 800; }
.workflow-steps h3 { margin: 14px 0 8px; font-size: 1.1rem; }
.workflow-steps p { margin: 0; color: var(--muted); }
.workflow-screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.workflow-screens figure { margin: 0; min-width: 0; }
.workflow-screens img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(20,41,74,.08); }
.workflow-screens figcaption { padding: 12px 0; font-size: .9rem; color: var(--muted); }
.workflow-roadmap { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: var(--radius); background: white; }
.workflow-roadmap h3, .workflow-roadmap h2 { margin: 12px 0 8px; }
.workflow-roadmap p { margin: 0; color: var(--muted); }
.workflow-roadmap a { display: inline-block; margin-top: 12px; }
@media (max-width: 900px) { .workflow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .workflow-steps, .workflow-screens { grid-template-columns: 1fr; } }

.roadmap-heading { margin: 36px 0 20px; }
.roadmap-heading h3 { margin: 0 0 6px; font-size: 1.3rem; }
.roadmap-heading p { margin: 0; color: var(--muted); }
.soonc.roadmap-cards .card .soon { position: static; display: block; width: fit-content; margin: 0 0 16px; }
.roadmap-cards .card h3 { margin-top: 0; }
