/* Layout: B2B SaaS marketing page. Announcement bar, nav, hero with product UI, tool strip, tabbed features, comparison, FAQ, dark CTA, mega footer. Single light theme by choice, like the reference sites. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --soft: #f5f5f5;
  --ink: #0a0a0a;
  --muted: #5f5f5f;
  --line: #e5e5e5;
  --brand: #000000;
  --brand-hi: #262626;
  --mint: #efefef;
  --amber: #000000;
  --amber-soft: #eeeeee;
  --blue: #000000;
  --blue-soft: #ececec;
  --font: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
.kicker { display: inline-block; font-size: 14px; font-weight: 600; color: var(--brand-hi); }
.center { text-align: center; }
.sub { color: var(--muted); font-size: 18px; max-width: 40em; }
.center .sub { margin-left: auto; margin-right: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 8px; font: 600 15px/1 var(--font); border: 0; cursor: pointer; white-space: nowrap; transition: background .15s, box-shadow .15s; }
.btn.primary { background: var(--brand); color: #ffffff; }
.btn.primary:hover { background: var(--brand-hi); }
.btn.secondary { background: #ffffff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.secondary:hover { box-shadow: inset 0 0 0 1px #c1c1c1; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* Announcement + nav */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: #ffffff; }
.announce { background: var(--brand); color: #efefef; font-size: 14px; }
.announce .wrap { padding-block: 9px; text-align: center; }
.announce a { color: #ffffff; font-weight: 600; }
.announce a span { color: var(--amber); }
header.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.logo svg { width: 28px; height: 28px; flex: none; }
.nav nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; color: #3d3d3d; }
.nav nav a:hover { color: var(--ink); }
.nav .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
@media (max-width: 900px) { .nav nav { display: none; } }
@media (max-width: 480px) { .nav .right .secondary { display: none; } }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 50% -10%, var(--mint), transparent 70%), var(--bg); }
.hero .wrap { padding-block: 72px 0; }
.hero-copy { text-align: center; max-width: 860px; margin: 0 auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; background: #ffffff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--muted); }
.pill b { background: var(--brand); color: #ffffff; font-weight: 600; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 800; letter-spacing: -0.045em; margin-top: 22px; }
.hero h1 span { color: var(--brand-hi); }
.hero .sub { margin-top: 20px; font-size: 19px; }
.signup { display: flex; gap: 8px; max-width: 520px; margin: 32px auto 0; }
.signup input { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--line); border-radius: 8px; padding: 0 14px; font: 400 16px var(--font); background: #ffffff; color: var(--ink); }
.signup .btn { height: 48px; }
@media (max-width: 520px) { .signup { flex-direction: column; } }
.fine { margin-top: 12px; font-size: 13px; color: var(--muted); }
.form-msg { margin-top: 12px; font-size: 14px; color: var(--brand-hi); font-weight: 500; }

/* Product window */
.app { margin: 56px auto 0; max-width: 1120px; background: #ffffff; border: 1px solid var(--line); border-radius: 14px 14px 0 0; border-bottom: 0; box-shadow: 0 -2px 0 rgba(0,0,0,.01), 0 30px 80px -30px rgba(0,0,0,.22); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fbfbfb; }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #e3e3e3; }
.crumb { font-size: 13px; color: var(--muted); } .crumb b { color: var(--ink); font-weight: 600; }
.app-bar .tag { margin-left: auto; font-size: 11px; font-family: var(--mono); color: var(--muted); }
.app-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 380px; }
@media (max-width: 820px) { .app-body { grid-template-columns: minmax(0, 1fr); } .side { display: none; } }
.side { border-right: 1px solid var(--line); padding: 14px 10px; display: grid; gap: 2px; align-content: start; font-size: 13.5px; background: #fdfdfd; }
.side .grp { font-size: 11px; color: #929292; text-transform: uppercase; letter-spacing: .06em; padding: 12px 10px 6px; }
.side a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 6px; color: #454545; }
.side a.on { background: var(--mint); color: var(--brand); font-weight: 600; }
.side a em { font-style: normal; font-family: var(--mono); font-size: 11px; color: #929292; }
.main { min-width: 0; padding: 16px 18px 0; }
.main-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.main-head h4 { font-size: 16px; letter-spacing: -0.01em; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: #454545; border: 1px solid var(--line); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #ffffff; }
.tscroll { overflow-x: auto; }
table.grid { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13px; }
.grid th { text-align: left; font-weight: 500; color: #838383; font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: #fbfbfb; white-space: nowrap; }
.grid td { padding: 10px; border-bottom: 1px solid #f0f0f0; white-space: nowrap; vertical-align: middle; }
.person { display: flex; align-items: center; gap: 9px; }
.av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 600; color: #ffffff; flex: none; }
.person b { font-weight: 600; display: block; line-height: 1.2; }
.person small { color: var(--muted); font-size: 12px; }
.role { display: inline-block; padding: 2px 8px; border-radius: 5px; background: var(--amber-soft); color: #525252; font-size: 12px; font-weight: 500; }
.lvl { font-size: 12px; color: #454545; }
.conf { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; font-variant-numeric: tabular-nums; }
.conf i { width: 44px; height: 5px; border-radius: 3px; background: #eaeaea; position: relative; overflow: hidden; }
.conf i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--brand-hi); }
.warm { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--blue); background: var(--blue-soft); padding: 2px 8px; border-radius: 5px; font-weight: 500; }
.none { color: #bababa; }
.sig { font-size: 12px; color: #454545; max-width: 240px; overflow: hidden; text-overflow: ellipsis; display: block; }

/* Tool strip */
.tools .wrap { padding-block: 44px; text-align: center; }
.tools p { font-size: 14px; color: var(--muted); }
.tool-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; margin-top: 20px; }
.tool-row span { font-size: 21px; font-weight: 700; letter-spacing: -0.03em; color: #a2a2a2; }
.tool-row span:nth-child(2n) { font-weight: 600; letter-spacing: -0.01em; }

/* Section shell */
.sec .wrap { padding-block: 96px; }
@media (max-width: 720px) { .sec .wrap { padding-block: 64px; } }
.sec h2 { font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -0.04em; margin-top: 10px; }
.sec .sub { margin-top: 16px; }
.sec.soft { background: var(--soft); }

/* Value row */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
@media (max-width: 860px) { .values { grid-template-columns: minmax(0, 1fr); } }
.value { padding: 28px; border-radius: 14px; background: #ffffff; border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.value .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--mint); color: var(--brand); }
.value .ic svg { width: 20px; height: 20px; }
.value h3 { font-size: 20px; letter-spacing: -0.02em; margin-top: 6px; }
.value p { color: var(--muted); }

/* Tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.tab { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #ffffff; font: 500 15px var(--font); color: #454545; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #ffffff; }
.panel { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; background: #ffffff; border: 1px solid var(--line); border-radius: 18px; padding: 44px; }
@media (max-width: 900px) { .panel { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; gap: 32px; } }
.panel h3 { font-size: 30px; letter-spacing: -0.035em; }
.panel > div > p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2018%2018%22%3E%3Cpath%20d%3D%22M5%209.5l2.5%202.5L13%206.5%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") center/18px no-repeat; }
.mock { background: var(--soft); border-radius: 12px; padding: 20px; border: 1px solid var(--line); min-width: 0; }
.card { background: #ffffff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.mock .stack { display: grid; gap: 10px; }
/* org tree mock */
.org { display: grid; gap: 14px; justify-items: center; }
.org .lvl-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.onode { background: #ffffff; border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; font-size: 12.5px; text-align: center; min-width: 120px; }
.onode b { display: block; font-size: 13px; }
.onode small { color: var(--muted); }
.onode.key { border-color: var(--brand-hi); box-shadow: 0 0 0 3px var(--mint); }
.vline { width: 1px; height: 14px; background: #cfcfcf; margin: -10px 0; }
/* mini table for title translation */
.tt { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tt td { padding: 10px 8px; border-bottom: 1px solid var(--line); }
.tt td:first-child { color: var(--muted); }
.tt .arrow { color: #a2a2a2; width: 20px; text-align: center; }
.bars { display: grid; gap: 7px; margin-top: 14px; }
.bars div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr) 2.6em; gap: 10px; align-items: center; font-size: 12.5px; }
.bars i { height: 8px; border-radius: 4px; background: #d0d0d0; }
.bars i.hot { background: var(--amber); }
.bars em { font-style: normal; font-family: var(--mono); text-align: right; color: var(--muted); font-size: 12px; }
/* path mock */
.pathline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.pathline .link { flex: 1; min-width: 40px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 6px, transparent 6px 10px); }
.meta { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.post { font-size: 13.5px; }
.post .src { font-size: 12px; color: var(--muted); margin-bottom: 6px; display: flex; justify-content: space-between; gap: 8px; }
.theme { display: inline-block; margin-top: 8px; font-size: 11.5px; padding: 2px 8px; border-radius: 5px; background: var(--amber-soft); color: #525252; font-weight: 500; }

/* Comparison */
.cmp-scroll { overflow-x: auto; margin-top: 48px; border: 1px solid var(--line); border-radius: 14px; background: #ffffff; }
table.cmp { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp th { font-size: 14px; font-weight: 600; background: #fbfbfb; }
.cmp th.us { color: var(--brand); }
.cmp td:first-child { font-weight: 500; }
.cmp .y { color: var(--brand-hi); font-weight: 600; }
.cmp .n { color: #a2a2a2; }
.cmp td.us, .cmp th.us { background: #fafafa; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { padding: 28px; border-radius: 14px; border: 1px solid var(--line); background: #ffffff; display: grid; gap: 10px; align-content: start; }
.step .n { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); color: #ffffff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.step h3 { font-size: 20px; letter-spacing: -0.02em; margin-top: 6px; }
.step p { color: var(--muted); }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust { grid-template-columns: minmax(0, 1fr); } }
.trust div { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--brand); }
.trust h3 { font-size: 18px; letter-spacing: -0.02em; }
.trust p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; font-size: 17px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding: 0 0 20px; max-width: 40em; }

/* CTA band */
.cta { background: var(--brand); color: #ffffff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 0%, rgba(255,255,255,.07), transparent 70%); }
.cta .wrap { position: relative; padding-block: 88px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta h2 { font-size: clamp(32px, 4.4vw, 50px); letter-spacing: -0.04em; max-width: 14em; }
.cta p { color: #d8d8d8; margin-top: 14px; font-size: 18px; max-width: 32em; }
.cta .btn.primary { background: #ffffff; color: var(--brand); }
.cta .btn.primary:hover { background: var(--mint); }
.cta .btn.secondary { background: transparent; color: #ffffff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }

/* Footer */
footer { background: #141414; color: #b4b4b4; font-size: 14px; }
footer .wrap { padding-block: 64px 32px; }
.fcols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 760px) { .fcols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fcols > :first-child { grid-column: 1 / -1; } }
footer .logo { color: #ffffff; }
footer h5 { margin: 0 0 14px; color: #ffffff; font-size: 14px; font-weight: 600; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer a:hover { color: #ffffff; }
.fbar { margin-top: 48px; padding-top: 24px; border-top: 1px solid #2a2a2a; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; }

/* Outcomes */
.outcomes { background: #0a0a0a; color: #ffffff; }
.outcomes .kicker { color: #bababa; }
.outcomes .sub { color: #a2a2a2; }
.roi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 860px) { .roi { grid-template-columns: minmax(0, 1fr); } }
.roi-in, .roi-out { border: 1px solid #2a2a2a; border-radius: 14px; padding: 28px; display: grid; gap: 22px; align-content: start; }
.roi-in { background: #141414; }
.field { display: grid; gap: 8px; }
.field label { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: #cfcfcf; }
.field output { font-family: var(--mono); color: #ffffff; font-variant-numeric: tabular-nums; }
.field input[type=range] { width: 100%; accent-color: #ffffff; }
.roi-out { background: #ffffff; color: #0a0a0a; }
.big { display: grid; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid #e5e5e5; }
.big:last-of-type { border-bottom: 0; padding-bottom: 0; }
.big span { font-size: 14px; color: #5f5f5f; }
.big strong { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.big small { font-size: 13px; color: #5f5f5f; }
.roi-note { font-size: 13px; color: #838383; margin-top: 18px; max-width: 60em; }
.outcome-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
@media (max-width: 860px) { .outcome-list { grid-template-columns: minmax(0, 1fr); } }
.outcome-list div { border-top: 1px solid #3d3d3d; padding-top: 16px; display: grid; gap: 6px; }
.outcome-list h3 { font-size: 18px; letter-spacing: -0.02em; }
.outcome-list p { color: #a2a2a2; font-size: 15px; }
.textlink { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Pillars */
.pillars { display: grid; gap: 20px; margin-top: 48px; }
.pillars .panel { margin-top: 0; }
@media (min-width: 901px) { .pillars .panel:nth-child(2) > :first-child { order: 2; } }
.plabel { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #5f5f5f; margin-bottom: 12px; }
