:root {
  --ink: #151718;
  --muted: #667078;
  --paper: #f5f6f3;
  --card: #ffffff;
  --line: #dfe3df;
  --soft: #eef1ed;
  --dark: #171918;
  --accent: #2e5b48;
  --accent-soft: #e8f1ec;
  --blue: #315c93;
  --shadow: 0 24px 70px rgba(18, 22, 19, 0.12);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.5; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 750; font-size: 22px; letter-spacing: -0.045em; }
.top-nav { display: flex; align-items: center; gap: 28px; color: #4d5559; font-size: 14px; }
.top-nav a:hover { color: var(--ink); }

.button { border: 0; border-radius: 999px; color: white; background: var(--dark); padding: 14px 21px; font-weight: 650; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset; }
.button:hover { transform: translateY(-1px); }
.button-small { padding: 10px 16px; font-size: 13px; }
.button-light { color: var(--dark); background: #fff; }
.text-button { border: 0; background: transparent; color: var(--ink); padding: 12px 0; font-weight: 620; }
.text-button span { margin-left: 5px; }

.hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(560px, 1.12fr); gap: 54px; align-items: center; min-height: 720px; padding-block: 64px 88px; }
.hero-copy h1 { margin: 10px 0 22px; max-width: 650px; font-size: clamp(48px, 5vw, 76px); line-height: .98; letter-spacing: -.057em; font-weight: 700; }
.hero-lede { max-width: 610px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.eyebrow { margin: 0; color: #59625e; font-size: 11px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.hero-actions { display: flex; gap: 22px; align-items: center; margin-top: 30px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.trust-strip span { padding: 7px 10px; border: 1px solid #d9ded9; border-radius: 999px; color: #616a65; background: rgba(255,255,255,.45); font-size: 11px; }

.hero-product { perspective: 1200px; }
.window { overflow: hidden; border: 1px solid #d7dbd6; border-radius: 18px; background: white; box-shadow: var(--shadow); transform: rotateY(-2deg) rotateX(1deg); }
.window-bar { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-bottom: 1px solid #e8ebe8; }
.wordmark { font-size: 14px; font-weight: 750; letter-spacing: -.04em; }
.local-pill { padding: 6px 10px; border-radius: 999px; color: #286046; background: #eaf4ee; font-size: 10px; font-weight: 650; }
.window-body { display: grid; grid-template-columns: 142px 1fr 128px; min-height: 430px; }
.rail { padding: 18px 13px; color: #d7dbd9; background: #171918; }
.rail small { display: block; margin-bottom: 6px; color: #7d8782; font-size: 8px; letter-spacing: .08em; }
.rail strong { display: block; margin-bottom: 24px; color: #fff; font-size: 11px; }
.rail ul { list-style: none; margin: 0; padding: 0; }
.rail li { margin-bottom: 4px; padding: 8px; border-radius: 7px; font-size: 9px; }
.rail li.active { background: #2b2e2c; color: white; }
.work-surface { padding: 32px 26px; }
.work-surface > small, .trust-rail > small { color: #76807a; font-size: 8px; letter-spacing: .11em; font-weight: 700; }
.work-surface h2 { margin: 8px 0 8px; font-size: 18px; letter-spacing: -.025em; line-height: 1.2; }
.work-surface > p { margin: 0; color: #69716d; font-size: 10px; }
.source-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 26px 0; }
.source-grid div { padding: 14px 12px; border: 1px solid #e2e5e1; border-radius: 10px; background: #fafbfa; }
.source-grid strong, .source-grid span { display: block; }
.source-grid strong { font-size: 18px; }
.source-grid span { margin-top: 4px; color: #737b76; font-size: 11px; }
.finding-preview { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; padding: 16px; border: 1px solid #dfe3df; border-radius: 11px; background: #fff; box-shadow: 0 6px 20px rgba(19,23,20,.05); }
.finding-preview .index { color: #737c76; font-size: 9px; font-weight: 700; }
.finding-preview strong { display: block; font-size: 10px; line-height: 1.35; }
.finding-preview p { margin: 5px 0 0; color: #66706a; font-size: 11px; }
.supported { align-self: end; padding: 4px 6px; border-radius: 999px; color: #276047; background: #e8f3ec; font-size: 7px; font-weight: 760; }
.trust-rail { padding: 23px 14px; background: #f0f2f0; }
.trust-rail dl { margin: 18px 0 0; }
.trust-rail dl div { padding: 10px 0; border-bottom: 1px solid #dfe3df; }
.trust-rail dt { color: #778079; font-size: 11px; }
.trust-rail dd { margin: 3px 0 0; font-size: 11px; font-weight: 650; }

.section { padding-block: 110px; }
.section-heading { max-width: 820px; }
.section-heading h2 { margin: 13px 0 0; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p:last-child { color: var(--muted); font-size: 15px; }
.centered { margin-inline: auto; text-align: center; }
.problem { border-top: 1px solid #dfe2dd; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 54px; }
.problem-card { min-height: 220px; padding: 28px; border: 1px solid #dde1dc; border-radius: 18px; background: rgba(255,255,255,.62); }
.problem-card span { display: block; margin-bottom: 30px; color: #737c77; font-size: 11px; font-weight: 760; }
.problem-card h3 { margin: 0 0 12px; font-size: 20px; letter-spacing: -.025em; }
.problem-card p { margin: 0; color: #68716c; font-size: 14px; }

.demo-section { overflow: hidden; background: #171918; color: #f4f5f2; }
.demo-section .eyebrow { color: #8f9b94; }
.demo-section .section-heading > p:last-child { color: #939c97; }


.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; margin: 55px 0 0; padding: 0; }
.workflow-grid li { min-height: 230px; padding: 25px; border: 1px solid #dde1dc; border-radius: 17px; background: rgba(255,255,255,.62); }
.workflow-grid li span { color: #6f7973; font-size: 10px; font-weight: 760; }
.workflow-grid h3 { margin: 55px 0 10px; font-size: 18px; }
.workflow-grid p { margin: 0; color: #68716c; font-size: 13px; }
.position-card { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; padding: 60px; border-radius: 25px; background: #e9ece7; }
.position-card h2 { margin: 12px 0 0; max-width: 700px; font-size: 38px; line-height: 1.08; letter-spacing: -.04em; }
.usecase-list { align-self: center; }
.usecase-item { padding: 17px 0; border-bottom: 1px solid #d2d8d2; }
.usecase-item strong { display: block; font-size: 14px; }
.usecase-item span { display: block; margin-top: 4px; color: #68716c; font-size: 12px; }
.beta-card { max-width: 980px; margin-inline: auto; padding: 70px; border-radius: 28px; color: #f4f6f3; background: #161817; text-align: center; }
.beta-card .eyebrow { color: #89958e; }
.beta-card h2 { margin: 14px auto 15px; max-width: 700px; font-size: 45px; line-height: 1.05; letter-spacing: -.04em; }
.beta-card > p:not(.eyebrow) { max-width: 650px; margin: 0 auto 26px; color: #aeb7b1; }
.beta-card small { display: block; margin-top: 15px; color: #7e8882; font-size: 10px; }
.footer { display: flex; justify-content: space-between; padding-block: 28px 45px; color: #768079; font-size: 11px; }

.beta-dialog { width: min(980px, calc(100% - 32px)); max-height: min(850px, calc(100vh - 40px)); padding: 0; border: 0; border-radius: 22px; box-shadow: 0 40px 110px rgba(0,0,0,.28); }
.beta-dialog::backdrop { background: rgba(20,22,21,.58); backdrop-filter: blur(5px); }
.dialog-shell { position: relative; display: grid; grid-template-columns: .75fr 1.25fr; min-height: 620px; background: #fff; }
.dialog-copy { padding: 54px 42px; background: #f0f2ef; }
.dialog-copy h2 { margin: 10px 0 14px; font-size: 34px; line-height: 1.05; letter-spacing: -.04em; }
.dialog-copy > p:last-child { color: #66706a; font-size: 13px; }
.dialog-close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #ecefec; color: #303531; font-size: 20px; }
.tally-frame { min-height: 620px; background: #fff; }
.tally-frame iframe { width: 100%; height: 100%; min-height: 620px; border: 0; }
.tally-placeholder { display: grid; height: 100%; min-height: 620px; place-items: center; padding: 40px; color: #66706a; text-align: center; }
.noscript { padding: 15px; color: white; background: #7b2e2e; text-align: center; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 760px; }
  .hero-product { max-width: 850px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: auto; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1180px); }
  .site-header { height: 68px; }
  .top-nav a { display: none; }
  .hero { padding-block: 44px 60px; gap: 40px; }
  .hero-copy h1 { font-size: 49px; }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .window { transform: none; }
  .window-body { grid-template-columns: 106px 1fr; }
  .trust-rail { display: none; }
  .rail { padding-inline: 9px; }
  .rail li { padding-inline: 6px; font-size: 7px; }
  .work-surface { padding: 24px 18px; }
  .source-grid { grid-template-columns: 1fr; }
  .source-grid div:nth-child(2), .source-grid div:nth-child(3) { display: none; }
  .finding-preview { grid-template-columns: 18px 1fr; }
  .finding-preview .supported { display: none; }
  .section { padding-block: 76px; }
  .section-heading h2 { font-size: 38px; }
  .paper { min-height: 180px; }
  .brief-screen li { grid-template-columns: 1fr; gap: 6px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-grid li { min-height: 190px; }
  .workflow-grid h3 { margin-top: 35px; }
  .position-card { grid-template-columns: 1fr; gap: 35px; padding: 38px 28px; }
  .position-card h2 { font-size: 32px; }
  .beta-card { padding: 55px 24px; }
  .beta-card h2 { font-size: 36px; }
  .dialog-shell { grid-template-columns: 1fr; }
  .dialog-copy { display: none; }
  .tally-frame, .tally-frame iframe, .tally-placeholder { min-height: min(760px, calc(100vh - 40px)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
