/* BetterSign homepage. Tokens and section patterns follow docs/GTM/hero-copy/styles.css. */
:root {
  --bs-green: #0e7a5f;
  --bs-green-br: #15c79a;
  --bs-teal: #7ff0cf;
  --bs-blue: #0b5c8a;
  --bs-ink: #0f2b3d;
  --bs-ink-2: #0a1f2c;
  --bs-muted: #5b6b76;
  --bs-line: #e2e8ee;
  --bs-bg: #f4f7f9;
  --bs-card: #ffffff;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(10, 31, 44, 0.12);
  --maxw: 1120px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html, body { margin: 0; }
body { background: var(--bs-bg); color: var(--bs-ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p a, .faq a { color: var(--bs-green); text-decoration: underline; text-underline-offset: 3px; }
code { font-family: var(--mono); font-size: 0.9em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 28px;
  transition: background .2s ease, box-shadow .2s ease, padding .2s ease;
}
.topbar.scrolled { background: rgba(10, 31, 44, 0.86); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,0.08); padding: 10px 28px; }
.wordmark { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: #fff; display: inline-flex; align-items: center; gap: 10px; }
.wordmark img { border-radius: 8px; display: block; }
.wordmark .tm { font-size: 10px; opacity: 0.7; position: relative; top: -6px; margin-left: 1px; }
.topnav { display: flex; gap: 4px; }
.topnav a { color: rgba(255,255,255,0.78); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 999px; transition: background .15s ease, color .15s ease; }
.topnav a:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* ---------- buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; padding: 13px 22px; border-radius: 999px; cursor: pointer; border: 1px solid transparent; transition: transform .12s ease, filter .12s ease, background .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn.sm { font-size: 14px; padding: 9px 16px; }
.btn.primary { background: linear-gradient(135deg, var(--bs-green-br), var(--bs-green)); color: #042019; }
.btn.primary:hover { filter: brightness(1.07); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,0.28); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,0.1); }
.textlink { font-weight: 700; font-size: 15px; color: var(--bs-green); }
.textlink:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  padding: 150px 0 104px;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(14,122,95,0.55), transparent 60%),
    radial-gradient(1000px 700px at 100% 115%, rgba(11,92,138,0.6), transparent 55%),
    linear-gradient(160deg, var(--bs-ink-2), var(--bs-ink));
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(900px 600px at 72% 35%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 600px at 72% 35%, #000, transparent 75%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px; font-weight: 700; color: var(--bs-teal); margin: 0 0 18px; }
h1.headline { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.03; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 22px; max-width: 16ch; }
body.mode-tech h1.headline { font-size: clamp(32px, 4.8vw, 54px); }
p.sub { font-size: clamp(16px, 2vw, 20px); line-height: 1.55; color: rgba(255,255,255,0.84); max-width: 52ch; margin: 0 0 26px; }
ul.points { list-style: none; padding: 0; margin: 0 0 34px; gap: 12px; max-width: 56ch; }
ul.points li { position: relative; padding-left: 28px; font-size: clamp(14px, 1.7vw, 16px); color: rgba(255,255,255,0.86); line-height: 1.45; }
ul.points li strong { color: #fff; }
ul.points li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 9px; height: 9px; border-radius: 3px; background: linear-gradient(135deg, var(--bs-teal), #4bbf9a); }
body.mode-tech ul.points li { font-family: var(--mono); font-size: clamp(12.5px, 1.5vw, 14px); }

.hero-art { display: flex; align-items: center; justify-content: center; }
.hero-art .art { width: 100%; max-width: 420px; color: var(--bs-teal); }
.art svg { width: 100%; height: auto; display: block; }
.art .stroke { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.art .fillt { fill: currentColor; opacity: 0.12; }
.art .accent { opacity: 0.6; }
.art .ghost { opacity: 0.3; }
.art .dot { fill: currentColor; stroke: none; }

/* ---------- plain / technical toggle ---------- */
.tagset { display: inline-flex; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); padding: 6px; border-radius: 999px; margin: 0 0 26px; }
.tag { border: none; background: transparent; color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: background .15s ease, color .15s ease; font-family: inherit; }
.tag .glyph { font-size: 12px; opacity: 0.8; }
.tag:hover { color: #fff; }
.tag[aria-pressed="true"] { background: #fff; color: var(--bs-ink); }
.tag[data-mode="tech"][aria-pressed="true"] { background: var(--bs-teal); color: #042019; }

.plain, .tech { display: none; }
body.mode-plain .plain { display: revert; }
body.mode-tech  .tech  { display: revert; }
body.mode-plain ul.points.plain, body.mode-tech ul.points.tech { display: grid; }
body.mode-tech p.tech { font-size: 0.94em; }
.swap { animation: fade .28s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.band-oneliner { background: var(--bs-ink); color: #fff; padding: 46px 0; }
.oneliner { font-size: clamp(22px, 3.4vw, 34px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 0; text-align: center; }
.oneliner .hl { color: var(--bs-teal); }
.sec-eyebrow { text-transform: uppercase; letter-spacing: 0.2em; font-size: 12px; font-weight: 700; color: var(--bs-green); margin: 0 0 12px; }
.sec-title { font-size: clamp(28px, 3.8vw, 42px); letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 18px; font-weight: 800; }
.sec-lead { font-size: 18px; line-height: 1.6; color: var(--bs-muted); max-width: 62ch; margin: 0; }
.sec-lead.light { color: rgba(255,255,255,0.74); }

/* ---------- products ---------- */
.products { background: var(--bs-bg); }
.prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.prod-grid.three { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-grid.three .prod { padding: 26px; }
.prod-grid.three .prod-head h3 { font-size: 20px; }
.prod-grid.three .badge { white-space: normal; }
.prod { background: var(--bs-card); border: 1px solid var(--bs-line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.prod-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.prod-head h3 { margin: 0 0 6px; font-size: 24px; letter-spacing: -0.02em; }
.prod-ic { width: 56px; height: 56px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; flex: none; background: #eef3f6; }
.prod-ic img { border-radius: 11px; }
.glyph-ic { background: linear-gradient(135deg, var(--bs-green-br), var(--bs-green)); }
.glyph-ic svg { width: 32px; height: 32px; fill: none; stroke: #042019; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.badge { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.badge.live { background: #dcf7ec; color: var(--bs-green); }
.badge.soon { background: #e6eff6; color: var(--bs-blue); }
.prod-tag { font-size: 20px; font-weight: 800; letter-spacing: -0.015em; margin: 0 0 10px; }
.prod p.plain, .prod p.tech { font-size: 16px; line-height: 1.6; color: var(--bs-muted); margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.45; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--bs-green-br); color: #042019; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.prod-foot { margin-top: auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ---------- feature deep dives ---------- */
.feature { background: var(--bs-card); }
.feature.alt { background: var(--bs-bg); }
.feature-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.feature-grid.reverse { grid-template-columns: 0.9fr 1.1fr; }
.flow-steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 12px; margin: 30px 0 0; }
.flow-step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; padding: 14px 18px; border: 1px solid var(--bs-line); border-radius: 14px; background: #fbfdfe; }
.feature.alt .flow-step { background: #fff; }
.flow-step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--bs-green-br), var(--bs-green)); color: #042019; font-weight: 800; font-size: 15px; }
.flow-step p { margin: 5px 0 0; font-size: 15.5px; line-height: 1.45; }

/* ---------- UI mockups ---------- */
.mock-wrap { position: relative; display: flex; justify-content: center; align-items: center; min-height: 440px; }
.mock-wrap::before { content: ""; position: absolute; inset: 8% 4%; border-radius: 40px; background: radial-gradient(closest-side, rgba(21,199,154,0.22), transparent); z-index: 0; }
.phone { position: relative; z-index: 1; width: 260px; border-radius: 38px; padding: 12px; background: linear-gradient(160deg, var(--bs-ink-2), var(--bs-ink)); box-shadow: 0 30px 60px rgba(10,31,44,0.28), inset 0 0 0 1px rgba(255,255,255,0.08); }
.phone-notch { width: 90px; height: 22px; border-radius: 0 0 14px 14px; background: var(--bs-ink-2); margin: -12px auto 0; position: relative; z-index: 2; }
.phone-body { background: #0e0f12; border-radius: 28px; padding: 34px 18px 22px; color: #f2f3f5; margin-top: -10px; }
.ph-eyebrow { margin: 0 0 14px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bs-teal); font-weight: 700; }
.ph-site { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.ph-site strong { display: block; font-size: 14px; }
.ph-site small { color: #9ea2ab; font-size: 11px; }
.ph-site-ic { width: 36px; height: 36px; border-radius: 10px; background: #1f6f5b; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex: none; }
.ph-row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 10px 0; border-top: 1px solid #2a2c31; color: #9ea2ab; }
.ph-row b { color: #f2f3f5; font-weight: 600; font-family: var(--mono); font-size: 12px; }
.ph-code { text-align: center; font-family: var(--mono); font-size: 34px; font-weight: 700; letter-spacing: 0.08em; margin: 14px 0 6px; color: #fff; }
.ph-btn { margin-top: 14px; text-align: center; font-weight: 700; font-size: 14px; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, var(--bs-green-br), var(--bs-green)); color: #042019; }
.ph-btn.ghost { background: #1a1c20; color: #9ea2ab; margin-top: 8px; }

.browser { position: relative; z-index: 1; width: 340px; max-width: 100%; border-radius: 14px; background: #fff; border: 1px solid var(--bs-line); box-shadow: var(--shadow); overflow: hidden; margin: -60px 150px 0 0; }
.br-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #eef2f5; border-bottom: 1px solid var(--bs-line); }
.br-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd8de; }
.br-url { margin-left: 10px; flex: 1; background: #fff; border-radius: 8px; padding: 4px 10px; font-size: 12px; color: var(--bs-muted); font-family: var(--mono); }
.br-body { padding: 24px 26px 26px; }
.br-title { margin: 0 0 16px; font-weight: 800; font-size: 18px; }
.br-field { border: 1px solid var(--bs-line); border-radius: 8px; padding: 10px 12px; font-size: 13px; color: #9aa6ad; margin-bottom: 10px; }
.br-chip { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 11px; border-radius: 10px; background: var(--bs-ink); color: #fff; font-weight: 700; font-size: 13.5px; }
.br-chip kbd { font-family: var(--mono); font-size: 11px; background: rgba(255,255,255,0.14); padding: 2px 6px; border-radius: 5px; }
.br-wait { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--bs-muted); }
.br-wait b { font-family: var(--mono); color: var(--bs-green); }
.phone.small { position: absolute; right: 0; bottom: 0; width: 200px; border-radius: 32px; padding: 10px; }
.phone.small .phone-body { padding: 28px 14px 16px; border-radius: 24px; }
.phone.small .ph-code { font-size: 28px; }

/* ---------- compare ---------- */
.compare { background: var(--bs-card); }
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }
.cmp-col { border: 1px solid var(--bs-line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); background: #fff; }
.cmp-col.good { background: linear-gradient(180deg, #ecfbf5, #ffffff); border-color: #bfe9d8; }
.cmp-col h3 { margin: 0 0 18px; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; }
.cmp-col.bad h3 { color: #9aa6ad; }
.cmp-col.good h3 { color: var(--bs-green); }
.cmp-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cmp-col li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.45; }
.cmp-col.bad li { color: #6b7883; }
.cmp-col li .ic { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.cmp-col.bad li .ic { background: #f1e3e2; color: #b3534c; }
.cmp-col.good li .ic { background: var(--bs-green-br); color: #042019; }

/* ---------- concept cards ---------- */
.cards { background: var(--bs-ink); color: #fff; }
.cards .sec-eyebrow { color: var(--bs-teal); }
.cards .sec-title { color: #fff; }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.ccard { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 24px; transition: transform .14s ease, background .15s ease, border-color .15s ease; }
.ccard:hover { transform: translateY(-3px); background: rgba(255,255,255,0.09); border-color: rgba(127,240,207,0.45); }
.ccard .cglyph { font-size: 24px; color: var(--bs-teal); display: block; margin-bottom: 14px; }
.ccard h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.ccard p { margin: 0; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,0.72); }
body.mode-tech .ccard p.tech { font-family: var(--mono); font-size: 12.5px; }

/* ---------- faq ---------- */
.faq { background: var(--bs-bg); }
.faq-list { margin-top: 30px; max-width: 860px; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--bs-line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 22px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--bs-green); font-size: 22px; font-weight: 400; transition: transform .2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 22px; font-size: 16px; line-height: 1.6; color: var(--bs-muted); }

/* ---------- cta + footer ---------- */
.cta { background: linear-gradient(160deg, var(--bs-ink-2), var(--bs-green)); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -0.025em; margin: 0 0 16px; }
.cta p { font-size: 18px; color: rgba(255,255,255,0.85); margin: 0 0 28px; }
.cta .cta-row { justify-content: center; }
footer.site { background: var(--bs-ink-2); color: rgba(255,255,255,0.6); padding: 36px 0; font-size: 13.5px; }
footer.site .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
footer.site a { color: var(--bs-teal); }
footer.site .note { color: rgba(255,255,255,0.45); }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: flex; align-items: center; }
.notfound .container { display: block; }

/* ================= organizations page ================= */
.art .svgtxt { fill: currentColor; font: 700 15px var(--mono); letter-spacing: 0.06em; }
.status-strip { background: #e6eff6; border-bottom: 1px solid #d3e2ee; padding: 18px 0; }
.status-strip .container { display: flex; gap: 16px; align-items: center; }
.status-strip p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--bs-ink); }
.status-strip .badge { flex: none; }
.badge.org { background: #ece6f6; color: #5a3d99; }

.benefits { background: var(--bs-bg); }
.ben-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.ben { background: #fff; border: 1px solid var(--bs-line); border-radius: var(--radius); padding: 24px; }
.ben-ic { display: inline-flex; width: 40px; height: 40px; border-radius: 11px; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--bs-green-br), var(--bs-green)); color: #042019; font-weight: 800; font-size: 19px; margin-bottom: 14px; }
.ben h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; line-height: 1.25; }
.ben p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--bs-muted); }
body.mode-tech .ben p.tech { font-size: 13.5px; }

.arch { background: linear-gradient(160deg, var(--bs-ink-2), var(--bs-ink)); color: #fff; border-radius: 22px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.arch-title { margin: 0 0 4px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bs-teal); font-weight: 700; }
.arch-box { border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05); border-radius: 14px; padding: 14px 16px; display: grid; gap: 3px; }
.arch-box.core { border-color: rgba(127,240,207,0.55); background: rgba(127,240,207,0.09); }
.arch-box b { font-size: 15.5px; }
.arch-box span { font-size: 13.5px; color: rgba(255,255,255,0.75); }
.arch-box em { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--bs-teal); }
.arch-note { margin: 6px 0 0; font-size: 12.5px; color: rgba(255,255,255,0.6); line-height: 1.5; }

.evaluate { background: var(--bs-card); }
.stage-rail { display: grid; grid-template-columns: repeat(4, 1fr); margin: 36px 0 18px; border-radius: 999px; overflow: hidden; border: 1px solid var(--bs-line); }
.stage-rail span { text-align: center; padding: 10px 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: #042019; }
.stage-rail span:nth-child(1) { background: #dff7ee; }
.stage-rail span:nth-child(2) { background: #b9eedb; }
.stage-rail span:nth-child(3) { background: #7fe0bf; }
.stage-rail span:nth-child(4) { background: var(--bs-green-br); }
.stages { display: grid; gap: 16px; }
.stage { border: 1px solid var(--bs-line); border-radius: 18px; background: #fbfdfe; overflow: hidden; }
.stage > header { display: flex; gap: 16px; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--bs-line); background: #fff; }
.stage-num { flex: none; width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; background: linear-gradient(135deg, var(--bs-green-br), var(--bs-green)); color: #042019; }
.stage h3 { margin: 0; font-size: 20px; letter-spacing: -0.015em; }
.stage-sub { margin: 3px 0 0; font-size: 14px; color: var(--bs-muted); }
.stage-body { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; padding: 22px 24px 24px; }
.stage h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bs-green); }
.stage ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.stage ol li { font-size: 15px; line-height: 1.5; padding-left: 4px; }
.stage-side ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 7px; }
.stage-side ul li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.45; }
.stage-side ul li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; border-radius: 3px; background: var(--bs-green-br); }
.stage-side dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--bs-line); font-size: 13.5px; }
.stage-side dt { font-weight: 700; color: var(--bs-muted); }
.stage-side dd { margin: 0; }

.sub-title { margin: 48px 0 16px; font-size: 22px; letter-spacing: -0.015em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--bs-line); border-radius: 16px; background: #fff; }
table.idp, table.cov { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.idp th, .cov th { text-align: left; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bs-muted); padding: 14px 18px; background: #f7fafb; border-bottom: 1px solid var(--bs-line); }
.idp td, .cov td { padding: 13px 18px; border-bottom: 1px solid var(--bs-line); vertical-align: top; line-height: 1.45; }
.idp tr:last-child td, .cov tr:last-child td { border-bottom: none; }
.idp td:first-child, .cov td:first-child { font-weight: 700; white-space: nowrap; }
.coverage { background: var(--bs-bg); }
.coverage .table-wrap { margin-top: 32px; }
.when { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.when.early { background: #dcf7ec; color: var(--bs-green); }
.when.mid { background: #e6eff6; color: var(--bs-blue); }
.when.late { background: #f4ece0; color: #8a5a12; }

.editions { background: var(--bs-card); }
.ed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.ed { border: 1px solid var(--bs-line); border-radius: var(--radius); padding: 22px; background: #fbfdfe; display: flex; flex-direction: column; }
.ed-lang { align-self: flex-start; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--bs-teal); background: var(--bs-ink); padding: 4px 10px; border-radius: 8px; margin-bottom: 14px; }
.ed h3 { margin: 0 0 8px; font-size: 18px; }
.ed p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--bs-muted); }
.ed small { margin-top: auto; font-size: 13px; color: var(--bs-ink); font-weight: 600; }

/* homepage: org summary */
.org-sum { background: linear-gradient(160deg, var(--bs-ink-2), var(--bs-ink)); color: #fff; }
.org-sum .sec-eyebrow { color: var(--bs-teal); }
.org-sum .sec-title { color: #fff; }
.org-sum .ben { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.org-sum .ben h3 { color: #fff; }
.org-sum .ben p { color: rgba(255,255,255,0.72); }
.org-sum .ben-grid { grid-template-columns: repeat(3, 1fr); }
.mini-stages { list-style: none; padding: 0; margin: 34px 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mini-stages li { border: 1px solid rgba(127,240,207,0.3); border-radius: 14px; padding: 16px 18px; background: rgba(127,240,207,0.06); }
.mini-stages b { display: block; color: var(--bs-teal); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.mini-stages span { font-size: 14.5px; line-height: 1.45; color: rgba(255,255,255,0.86); }
.org-sum .btn.ghost { color: #fff; }

@media (max-width: 980px) {
  .ben-grid, .ed-grid, .org-sum .ben-grid { grid-template-columns: repeat(2, 1fr); }
  .stage-body { grid-template-columns: 1fr; }
  .mini-stages { grid-template-columns: repeat(2, 1fr); }
  .status-strip .container { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 560px) {
  .ben-grid, .ed-grid, .org-sum .ben-grid, .mini-stages { grid-template-columns: 1fr; }
  .stage-rail { grid-template-columns: repeat(2, 1fr); border-radius: 14px; }
  .stage > header, .stage-body { padding-left: 18px; padding-right: 18px; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .topnav { display: none; }
  .hero .container, .feature-grid, .feature-grid.reverse { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 340px; }
  .feature-grid.reverse .mock-wrap { order: 2; }
  .prod-grid, .prod-grid.three, .cmp-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .topbar, .topbar.scrolled { padding: 10px 16px; }
  .wordmark > span { display: none; }
  section { padding: 64px 0; }
  .hero { padding: 110px 0 72px; }
  .prod { padding: 24px; }
  .card-grid { grid-template-columns: 1fr; }
  .tag { padding: 8px 12px; }
  .browser { margin: 0; width: 100%; }
  .mock-wrap { min-height: 0; flex-direction: column; gap: 20px; }
  .phone.small { position: relative; right: auto; bottom: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .swap { animation: none; }
}
