/* Thinkmon public site. Tokens follow the design-system board (tokens v0.2). */
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/hanken-grotesk-latin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/plex-mono-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/plex-mono-500-latin.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --bg: #ffffff; --band: #f5f6f8; --band-line: #eceef2; --line: #eef0f3; --line-2: #d9dde4; --card-line: #e3e6eb; --window-line: #dde1e7;
  --ink: #0e1116; --ink-2: #4b5260; --muted: #6b7280; --prose: #2f3540; --chrome: #fafbfc;
  --blue: #2856c8; --blue-hover: #1d3f96; --blue-tint: #eef2fc;
  --ok: #146c43; --ok-dot: #1f9d5c; --ok-tint: #cfe7da; --fail: #a13232; --fail-dot: #d14343; --fail-tint: #f3c6c6; --idle-dot: #9aa1ad; --now: #e5532d; --now-text: #b93a17;
  --sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
  --shadow-window: 0 1px 0 #e7eaee, 0 40px 80px -40px #0e111640;
  --shadow-card: 0 1px 0 #e7eaee, 0 30px 60px -34px #0e111640;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-hover); }
a, button, input, textarea, select, summary { outline-offset: 2px; }
:focus-visible { outline: 2px solid var(--blue); }
[hidden] { display: none !important; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 1020px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 9px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* Type */
.eb { font-size: 14px; font-weight: 600; color: var(--blue); }
.display { font-size: 76px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.title { font-size: 60px; line-height: 1.02; font-weight: 700; letter-spacing: -0.04em; }
.h2 { font-size: 44px; line-height: 1.06; font-weight: 700; letter-spacing: -0.035em; }
.h2.sm { font-size: 40px; line-height: 1.08; }
.h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.lead.lg { font-size: 20px; }
.body { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.small { font-size: 14px; color: var(--ink-2); }
.meta { font-family: var(--mono); font-size: 12px; color: var(--blue); }
.text-link { font-size: 15px; font-weight: 600; text-decoration: none; }
strong.ink { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; min-width: 170px; padding: 0 22px; border-radius: 9px; font-size: 16px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { background: #f7f8fa; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; min-height: 42px; min-width: 160px; font-size: 15px; padding: 0 20px; }
.btn-ink:hover { background: #2a2e36; color: #fff; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }

/* Surfaces */
.card { background: #fff; border: 1px solid var(--card-line); border-radius: 14px; }
.band { background: var(--band); border-top: 1px solid var(--band-line); border-bottom: 1px solid var(--band-line); }
.sec { padding: 112px 0; }
.sec-md { padding: 96px 0; }
.sec-sm { padding: 64px 0; }
.stack { display: flex; flex-direction: column; }
.g10 { gap: 10px; } .g12 { gap: 12px; } .g14 { gap: 14px; } .g16 { gap: 16px; } .g18 { gap: 18px; } .g20 { gap: 20px; } .g22 { gap: 22px; } .g24 { gap: 24px; } .g28 { gap: 28px; } .g40 { gap: 40px; } .g44 { gap: 44px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.mw-440 { max-width: 440px; } .mw-520 { max-width: 520px; } .mw-620 { max-width: 620px; } .mw-640 { max-width: 640px; } .mw-680 { max-width: 680px; } .mw-720 { max-width: 720px; } .mw-760 { max-width: 760px; }
.grid { display: grid; gap: 20px; }
.grid-210 { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px; }
.grid-250 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.grid-300 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-320 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.grid-330 { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
.grid-300.wide-gap { gap: 32px; }
.rule-item { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--ink); padding-top: 16px; }
.rule-item b { font-size: 17px; font-weight: 700; }
.rule-item span { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.rule-item.lg b { font-size: 18px; }
.cta-panel { background: var(--band); border: 1px solid var(--card-line); border-radius: 14px; padding: 64px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.cta-panel .btn { margin-top: 6px; }

/* Window chrome used for product illustrations */
.window { background: #fff; border: 1px solid var(--window-line); border-radius: 14px; box-shadow: var(--shadow-card); overflow: hidden; }
.window.hero-window { box-shadow: var(--shadow-window); }
.bar { height: 38px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--chrome); }
.bar i { width: 9px; height: 9px; border-radius: 50%; background: #dfe2e7; flex: none; }
.bar .mono { margin-left: 8px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar.url { height: 40px; gap: 8px; padding: 0 16px; }
.bar.url i { width: 10px; height: 10px; }
.bar.url .mono { margin: 0 auto; font-size: 12px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 48px; }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st.ok { color: var(--ok); } .st.ok::before { background: var(--ok-dot); }
.st.idle { color: var(--ink-2); } .st.idle::before { background: var(--idle-dot); }
.st.fail { color: var(--fail); } .st.fail::before { background: var(--fail-dot); }

/* Site header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.site-header .wrap { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 28px; height: 28px; flex: none; display: block; }
.brand-dot { fill: var(--blue); }
.brand-word { display: block; height: 16px; width: auto; }
.site-links { display: flex; flex-wrap: wrap; gap: 4px 26px; flex: 1 1 auto; }
.site-links a, .site-actions .plain { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 10px 0; }
.site-links a[aria-current="page"] { font-weight: 600; box-shadow: inset 0 -2px 0 var(--blue); }
.site-actions { display: flex; align-items: center; gap: 18px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; place-items: center; cursor: pointer; margin-left: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 44px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 36px 64px; }
.footer-about { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; }
.footer-about p { font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 280px; }
.footer-col { flex: 0 1 170px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col span { font-weight: 700; margin-bottom: 4px; }
.footer-col a { color: var(--ink-2); text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; font-size: 14px; color: var(--ink-2); }

/* Home hero */
.hero { background: linear-gradient(180deg, #fff 0%, #fff 58%, var(--band) 58%); padding: 72px 0 80px; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.hero .pre { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.hero .pre a { text-decoration: none; }
.hero h1 { max-width: 960px; }
.hero .lead { max-width: 640px; }
.hero .actions { justify-content: center; padding-top: 4px; }
.hero-window { width: 100%; margin-top: 40px; text-align: left; }
.app-mock { display: flex; flex-wrap: wrap; }
.app-side { flex: 0 1 200px; border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; background: #fcfcfd; }
.app-side span { padding: 8px 10px; border-radius: 7px; font-size: 14px; color: var(--ink-2); }
.app-side span.on { background: var(--blue-tint); color: var(--blue-hover); font-weight: 600; }
.app-main { flex: 999 1 600px; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; }
.app-head b { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.app-head small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.app-head .fake-btn { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.scroll-x { overflow-x: auto; }
.tr { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; align-items: center; padding: 0 20px; height: 54px; border-top: 1px solid var(--line); font-size: 14px; min-width: 720px; }
.tr.th { height: 34px; font-size: 12px; font-weight: 600; color: var(--muted); }
.tr.hl { background: #f8faff; }
.tr b { font-weight: 600; }
.tr .mono { font-size: 13px; }
.tr .dim { color: var(--muted); font-size: 13px; }
.runs { display: flex; gap: 3px; }
.runs i { width: 9px; height: 18px; border-radius: 2px; background: var(--ok-tint); }
.runs i.f { background: var(--fail-tint); }
.log { margin: 14px 20px 20px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.log-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 14px; font-size: 13px; background: var(--chrome); border-bottom: 1px solid var(--line); }
.log-head b { font-weight: 600; }
.log-head .mono { color: var(--ok); }
.log-body { padding: 12px 14px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: #3b414d; }
.primer-strip { border-bottom: 1px solid var(--band-line); background: var(--band); }
.primer-strip .wrap { padding-top: 8px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; text-align: center; }
.primer-strip p { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 720px; }

/* Timeline */
.timeline-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.timeline-head b { font-size: 16px; font-weight: 700; }
.timeline-head .mono { font-size: 12px; color: var(--muted); }
.timeline { display: grid; grid-template-columns: 200px 1fr; min-width: 760px; }
.tl-names { border-right: 1px solid var(--line); }
.tl-names div { height: 52px; border-top: 1px solid var(--line); padding: 16px 20px; font-size: 14px; font-weight: 600; }
.tl-names div.tl-label { height: 32px; border-top: 0; padding: 9px 20px; font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--muted); }
.tl-grid { position: relative; }
.tl-hours { height: 32px; position: relative; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.tl-hours span { position: absolute; top: 9px; padding-left: 6px; }
.tl-hours span:first-child { left: 1%; padding-left: 0; }
.tick { position: absolute; top: 0; bottom: 0; width: 1px; background: #f1f2f5; }
.lane { position: relative; height: 52px; border-top: 1px solid var(--line); }
.mark { position: absolute; top: 18px; width: 16px; height: 16px; border-radius: 4px; margin-left: -8px; background: var(--blue); }
.mark.due { border: 1.5px solid var(--blue); background: #fff; }
.now-line { position: absolute; top: 0; bottom: 0; left: 60.5%; width: 2px; background: var(--now); }
.now-label { position: absolute; top: 8px; left: 61.2%; font-family: var(--mono); font-size: 11px; color: var(--now-text); background: #fff; padding: 0 4px; }
.x-6 { left: 25%; } .x-12 { left: 50%; } .x-18 { left: 75%; }
.x-0700 { left: 29.17%; } .x-1730 { left: 72.92%; }
.s1 { left: 8.33%; } .s2 { left: 16.67%; } .s3 { left: 25%; } .s4 { left: 33.33%; } .s5 { left: 41.67%; } .s6 { left: 50%; } .s7 { left: 58.33%; } .s8 { left: 66.67%; } .s9 { left: 75%; } .s10 { left: 83.33%; } .s11 { left: 91.67%; }
.legend { display: flex; flex-wrap: wrap; gap: 24px; padding: 12px 20px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.legend span { display: flex; gap: 8px; align-items: center; }
.legend i { width: 11px; height: 11px; border-radius: 3px; background: var(--blue); }
.legend i.due { background: none; border: 1.5px solid var(--blue); }
.tl-mobile { display: none; }

/* Steps */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split.reverse { flex-direction: row-reverse; }
.split-text { flex: 1 1 440px; display: flex; flex-direction: column; gap: 28px; }
.split-vis { flex: 1 1 480px; min-width: 0; }
.steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.steps li { display: flex; gap: 16px; }
.steps b { display: block; font-size: 18px; font-weight: 700; }
.steps p { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin-top: 4px; }
.num { flex: none; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; background: #fff; border: 1px solid var(--line-2); color: var(--ink); }
.num.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.terminal { padding: 20px; font-family: var(--mono); font-size: 13.5px; line-height: 1.8; color: var(--prose); }
.prompt { background: #f5f7fc; border: 1px solid #dfe5f5; border-radius: 8px; padding: 12px 14px; color: var(--ink); min-height: 4.6em; }
.prompt .key { color: var(--blue); }
.caret { display: inline-block; width: 7px; height: 16px; background: var(--blue); vertical-align: -3px; margin-left: 3px; animation: blink 1s steps(1) infinite; }
.terminal .out { margin-top: 14px; }
.check { color: var(--ok-dot); }
.dim-line { color: var(--muted); }
@keyframes blink { 50% { opacity: 0; } }

/* Example cards */
.example { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.example-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.example h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.pill { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); background: #f3f4f7; border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.example p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.example .out { margin-top: auto; padding-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* Learn cards */
.learn-card { padding: 24px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 12px; }
.learn-card:hover { color: var(--ink); border-color: var(--line-2); }
.learn-card .t { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.learn-card .s { font-size: 15px; color: var(--ink-2); line-height: 1.55; }
.soon { font-family: var(--mono); font-size: 11px; color: var(--ink-2); background: #f3f4f7; border-radius: 6px; padding: 2px 7px; align-self: flex-start; }

/* FAQ accordion (native details) */
.faq-list { border-top: 1px solid var(--card-line); }
.faq-list.strong { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--card-line); }
.faq-list summary { list-style: none; min-height: 62px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 600; cursor: pointer; }
.faq-list.strong summary { min-height: 64px; font-size: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--muted); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 40px 20px 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.faq-split { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.faq-split > div:first-child { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; }
.faq-split > div:last-child { flex: 2 1 560px; }
.page-faq { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.side-nav { flex: 0 1 220px; display: flex; flex-direction: column; position: sticky; top: 24px; border-left: 2px solid var(--line); }
.side-nav a { font-size: 15px; color: var(--ink-2); text-decoration: none; padding: 8px 0 8px 14px; }
.side-nav a:hover { color: var(--ink); }
.faq-groups { flex: 999 1 560px; min-width: 0; max-width: 820px; display: flex; flex-direction: column; gap: 48px; }
.faq-groups h2 { font-size: 14px; font-weight: 600; color: var(--blue); margin: 0 0 6px; }
.faq-groups details p { padding: 0 48px 22px 0; line-height: 1.65; }

/* Page heads */
.page-head { padding: 80px 0 48px; }
.page-head.center .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.page-head.center { padding: 88px 0 72px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.chips a { font-family: var(--mono); font-size: 13px; color: var(--ink); text-decoration: none; border: 1px solid var(--line-2); border-radius: 8px; padding: 9px 14px; }
.chips a:hover { border-color: var(--ink); }

/* How it works */
.step { padding: 104px 0; }
.step-text { flex: 1 1 400px; display: flex; flex-direction: column; gap: 18px; }
.step-vis { flex: 1 1 520px; min-width: 0; }
.ticks { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 2px; background: var(--blue); }
.ticks .mono { font-size: 14px; }
.mock-pad { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.mock-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mock-title b { font-size: 18px; font-weight: 700; }
.instruction { background: #f7f8fa; border: 1px solid var(--line); border-radius: 9px; padding: 14px; font-family: var(--mono); font-size: 13px; line-height: 1.65; color: var(--prose); }
.fake { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 9px; font-size: 14px; font-weight: 600; border: 1px solid var(--line-2); }
.fake.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.setting { display: flex; flex-direction: column; gap: 6px; }
.setting-top { display: flex; justify-content: space-between; }
.setting-top .mono { font-size: 13px; font-weight: 500; }
.req { font-size: 12px; font-weight: 600; color: var(--fail); }
.opt-label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.fake-input { height: 44px; border: 1px solid var(--line-2); border-radius: 9px; padding: 0 14px; font-size: 15px; display: flex; align-items: center; color: #8b919c; }
.fake-input.saved { color: var(--ink-2); background: #f7f8fa; }
.fake-input.focus { border-color: var(--blue); box-shadow: 0 0 0 3px #2856c824; }
.run-table { font-family: var(--mono); font-size: 13px; }
.run-row { display: grid; grid-template-columns: 1.4fr 1fr .5fr .5fr; padding: 12px 20px; border-top: 1px solid var(--line); }
.run-row.th { padding: 10px 20px; color: var(--muted); font-size: 12px; }
.run-row.bad { background: #fdf6f6; }
.run-row .ok { color: var(--ok); } .run-row .fail { color: var(--fail); }
.run-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.run-head b { font-size: 16px; font-weight: 700; }
.run-log { background: #f7f8fa; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; line-height: 1.7; padding: 14px 20px; color: #3b414d; }
.run-log .err { color: var(--fail); }

/* Learn hub */
.search { flex: 0 1 380px; position: relative; }
.search svg { position: absolute; left: 14px; top: 14px; }
.search input { width: 100%; height: 46px; border: 1px solid var(--line-2); border-radius: 9px; padding: 0 14px 0 42px; font-size: 15px; background: #fff; }
.featured { display: flex; flex-wrap: wrap; overflow: hidden; text-decoration: none; color: var(--ink); }
.featured:hover { color: var(--ink); border-color: var(--line-2); }
.featured-vis { flex: 1 1 520px; min-height: 320px; background: var(--band); border-right: 1px solid var(--band-line); display: flex; align-items: center; justify-content: center; gap: 14px; padding: 40px; flex-wrap: wrap; }
.flow-box { background: #fff; border: 1px solid var(--card-line); border-radius: 10px; padding: 14px 18px; text-align: center; }
.flow-box.agent { border: 2px solid var(--blue); }
.flow-box small { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.flow-box.agent small { color: var(--blue); }
.flow-box b { display: block; font-size: 15px; font-weight: 700; margin-top: 4px; }
.flow-arrow { font-family: var(--mono); color: var(--muted); }
.featured-text { flex: 1 1 380px; padding: 44px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.featured-text h2 { font-size: 34px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.featured-text p { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.featured-text .go { font-size: 15px; font-weight: 600; color: var(--blue); }
.path { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.path-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.path-top b { font-size: 18px; font-weight: 700; }
.path-top .mono { font-size: 12px; color: var(--ink-2); }
.path ol { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-2); counter-reset: part; }
.path li { counter-increment: part; }
.path li::before { content: counter(part, decimal-leading-zero); font-family: var(--mono); color: var(--blue); margin-right: 8px; }
.path a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.path a:hover { border-color: var(--blue); }
.filters { display: flex; flex-direction: column; gap: 12px; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.flabel { font-family: var(--mono); font-size: 12px; color: var(--muted); min-width: 64px; }
.chip { min-height: 38px; padding: 0 14px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; border: 1px solid var(--line-2); background: #fff; color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.count { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.guide { overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
a.guide:hover { color: var(--ink); border-color: var(--line-2); }
.guide-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.guide h3 { font-size: 19px; line-height: 1.28; font-weight: 700; letter-spacing: -0.015em; }
.guide p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.guide .topic { margin-top: auto; padding-top: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.thumb { aspect-ratio: 16 / 8; background: var(--ink); display: grid; place-items: center; position: relative; }
.play { width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.thumb .dur { position: absolute; right: 12px; bottom: 10px; color: #fff; font-family: var(--mono); font-size: 12px; }
.empty { padding: 40px; text-align: center; background: var(--band); }
.empty p { font-size: 16px; color: var(--ink-2); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); font-weight: 600; cursor: pointer; }

/* Article */
.article-head { padding: 64px 0 44px; border-bottom: 1px solid var(--line); }
.article-head .wrap { display: flex; flex-direction: column; gap: 18px; }
.crumb { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.crumb a { color: var(--ink-2); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.article-title { font-size: 52px; line-height: 1.04; font-weight: 700; letter-spacing: -0.04em; }
.article-head .lead { font-size: 20px; line-height: 1.55; }
.article-body { padding-top: 52px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.toc { flex: 0 1 200px; position: sticky; top: 24px; }
.toc .mono { font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); font-size: 14px; color: var(--ink-2); text-decoration: none; }
.toc a[aria-current="true"] { border-left-color: var(--blue); color: var(--ink); font-weight: 600; }
.prose { flex: 999 1 560px; min-width: 0; max-width: 700px; font-size: 18px; line-height: 1.72; color: var(--prose); }
.prose p { margin: 0 0 22px; }
.prose h2 { font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); margin: 52px 0 16px; scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 22px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose code { font-family: var(--mono); font-size: .84em; background: #f3f4f7; border-radius: 5px; padding: 2px 6px; color: var(--ink); }
.code { border: 1px solid var(--window-line); border-radius: 12px; margin: 0 0 26px; overflow: hidden; background: #fff; }
.codebar { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 4px 16px; border-bottom: 1px solid var(--line); background: var(--chrome); min-height: 46px; }
.codebar .mono { font-size: 12px; color: var(--muted); }
.codebar .mono.bad { color: var(--fail); }
.code pre { margin: 0; padding: 16px 18px; overflow-x: auto; font-family: var(--mono); font-size: 14px; line-height: 1.75; color: var(--ink); background: #fff; }
.prose pre code { background: none; padding: 0; font-size: inherit; border-radius: 0; }
.copy { min-height: 36px; padding: 0 12px; border-radius: 7px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.callout { border-radius: 12px; padding: 18px 20px; margin: 0 0 26px; font-size: 16px; line-height: 1.6; }
.callout.warn { background: #fff8eb; border: 1px solid #f0d9a8; color: #5c3b00; }
.callout.tip { background: var(--blue-tint); border: 1px solid #d3ddf6; color: var(--blue-hover); }
.callout strong { color: inherit; }
.try { margin-top: 44px; background: var(--band); border: 1px solid var(--card-line); border-radius: 14px; padding: 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.try > div { flex: 1 1 320px; }
.try b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.try p { margin: 6px 0 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.related { padding: 64px 0 96px; border-top: 1px solid var(--band-line); background: var(--band); }
.related-card { padding: 22px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
a.related-card:hover { color: var(--ink); border-color: var(--line-2); }
.related-card b { font-size: 18px; font-weight: 700; line-height: 1.3; }

/* Video */
.video-top { padding-top: 48px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 24px; }
.video-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.video-main { flex: 999 1 660px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.player { border: 1px solid var(--window-line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); }
.screen { aspect-ratio: 16 / 9; background: var(--ink); position: relative; display: grid; place-items: center; }
.screen-top { position: absolute; left: 24px; top: 20px; right: 24px; display: flex; justify-content: space-between; color: var(--idle-dot); font-family: var(--mono); font-size: 12px; }
.screen-msg { display: flex; flex-direction: column; align-items: center; gap: 14px; color: #fff; text-align: center; padding: 0 24px; }
.screen-msg .play { width: 76px; height: 76px; opacity: .35; }
.screen-msg span { font-size: 15px; color: #c9cdd4; }
.player-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: var(--chrome); border-top: 1px solid var(--line); }
.player-bar .mono { font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.track { flex: 1; height: 4px; border-radius: 2px; background: var(--card-line); position: relative; overflow: hidden; }
.track i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--blue); border-radius: 2px; transition: width .2s; }
.track[data-progress="1"] i { width: 9%; } .track[data-progress="2"] i { width: 18%; } .track[data-progress="3"] i { width: 33%; } .track[data-progress="4"] i { width: 53%; } .track[data-progress="5"] i { width: 75%; }
.video-title { font-size: 44px; line-height: 1.06; font-weight: 700; letter-spacing: -0.035em; }
.chapters { flex: 1 1 320px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.chapters .mono { font-size: 11px; color: var(--muted); padding: 8px 14px 10px; }
.ch { width: 100%; display: flex; gap: 14px; align-items: baseline; text-align: left; padding: 12px 14px; border-radius: 9px; border: 0; background: transparent; font-size: 15px; color: var(--ink-2); cursor: pointer; min-height: 44px; }
.ch span:first-child { font-family: var(--mono); font-size: 12px; color: var(--blue); min-width: 40px; }
.ch[aria-current="true"] { background: var(--blue-tint); color: var(--ink); font-weight: 600; }
.video-notes { border-top: 1px solid var(--line); padding: 56px 0 80px; }
.video-notes .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.notes { flex: 999 1 560px; min-width: 0; max-width: 720px; }
.notes h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.025em; }
.notes h3 { margin: 30px 0 10px; font-size: 16px; font-weight: 700; display: flex; gap: 12px; align-items: baseline; }
.notes h3 .mono { color: var(--blue); font-size: 13px; }
.notes p { margin: 0 0 16px; font-size: 17px; line-height: 1.7; color: var(--prose); }
.aside-cta { flex: 1 1 300px; background: var(--band); border: 1px solid var(--card-line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.aside-cta b { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.aside-cta p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* About */
.about-head { padding: 96px 0 88px; }
.about-head .wrap { display: flex; flex-direction: column; gap: 22px; }
.belief { border-top: 2px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.belief .mono { font-size: 12px; color: var(--blue); }
.belief h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; }
.belief p { font-size: 16px; line-height: 1.7; color: var(--ink-2); }

/* Forms */
.form-section { padding: 88px 0 104px; background: linear-gradient(180deg, #fff 0%, #fff 40%, var(--band) 40%); }
.form-layout { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.form-intro { flex: 1 1 380px; display: flex; flex-direction: column; gap: 22px; }
.form-intro h1 { font-size: 56px; line-height: 1.02; font-weight: 700; letter-spacing: -0.04em; }
.form-intro .lead { font-size: 19px; }
.form-card { flex: 1 1 500px; background: #fff; border: 1px solid var(--window-line); border-radius: 14px; padding: 36px; box-shadow: var(--shadow-card); }
.form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.flab { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field { width: 100%; min-height: 46px; border: 1px solid var(--line-2); border-radius: 9px; padding: 11px 14px; font-size: 16px; color: var(--ink); background: #fff; }
.field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #2856c824; }
.field[aria-invalid="true"] { border-color: var(--fail); }
textarea.field { resize: vertical; }
select.field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.hint { display: block; font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.error { display: block; font-size: 13px; color: var(--fail); margin-top: 6px; }
.form-error { font-size: 14px; color: var(--fail); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 9px; font-size: 15px; cursor: pointer; }
.opt input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }
.opt:has(input:checked) { border-color: var(--blue); background: #f8faff; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.how-list { margin-top: 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; font-size: 16px; line-height: 1.5; color: var(--prose); }
.how-list li { display: flex; gap: 14px; align-items: flex-start; }
.how-list .num { width: 30px; height: 30px; font-size: 12px; }
.contact-facts { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.contact-facts > div { border-top: 2px solid var(--ink); padding-top: 14px; }
.contact-facts .mono { font-size: 12px; color: var(--muted); }
.contact-facts a { display: inline-block; font-size: 17px; font-weight: 600; margin-top: 4px; text-decoration: none; }
.sent { display: flex; flex-direction: column; gap: 14px; padding: 24px 0; }
.sent .st { font-size: 13px; }
.sent h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.025em; }
.sent p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* Log in */
.login-page { background: var(--band); min-height: 100vh; display: flex; flex-direction: column; }
.login-header { padding: 18px 32px; display: flex; justify-content: space-between; align-items: center; background: #fff; border-bottom: 1px solid var(--line); }
.login-header .back { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.login-main { flex: 1; display: grid; place-items: center; padding: 56px 20px; }
.login-box { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 18px; }
.login-card { background: #fff; border: 1px solid var(--window-line); border-radius: 14px; padding: 36px 32px; display: flex; flex-direction: column; gap: 24px; box-shadow: var(--shadow-card); }
.login-card .eyebrow { font-size: 13px; font-weight: 600; color: var(--blue); }
.login-card h1 { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; }
.login-card .sub { font-size: 15px; color: var(--ink-2); }
.login-form { display: flex; flex-direction: column; gap: 18px; }
.provider-buttons { display: flex; flex-direction: column; gap: 10px; }
.form-card .provider-buttons { margin-bottom: 22px; }
.btn-provider { gap: 10px; min-height: 46px; font-size: 15px; }
.provider-icon { width: 18px; height: 18px; flex: none; }
.or-divider { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.or-divider::before, .or-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line-2); }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-row a { font-size: 13px; text-decoration: none; }
.login-box > p { text-align: center; font-size: 14px; color: var(--ink-2); }
.login-box > p a { font-weight: 600; text-decoration: none; }
.login-split { width: 100%; max-width: 1080px; display: flex; align-items: center; justify-content: center; gap: 72px; }
.login-split .login-box { flex: 0 1 420px; }
.login-aside { flex: 1 1 460px; max-width: 520px; display: flex; flex-direction: column; gap: 28px; }
.login-aside-title { font-size: 32px; line-height: 1.12; font-weight: 700; letter-spacing: -0.03em; }
.glance-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line); }
.glance-row:first-of-type { border-top: 0; }
.glance-row b { display: block; font-size: 15px; font-weight: 600; }
.glance-row .mono { font-size: 12px; color: var(--muted); }
@media (max-width: 980px) { .login-aside { display: none; } }
.login-footer { padding: 24px 32px; font-size: 13px; color: var(--ink-2); display: flex; gap: 20px; justify-content: center; }

.pb-sec { padding-bottom: 112px; }
.faq-page { padding-bottom: 104px; }

/* Motion: content stays visible without JavaScript; site.js opts sections in. */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .2s ease-out, transform .2s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .caret { animation: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .js .menu-toggle { display: grid; }
  .js .site-header .wrap { gap: 0; padding-top: 10px; padding-bottom: 10px; }
  .js .site-links, .js .site-actions { display: none; }
  .js .site-header.open .site-links { display: flex; flex-direction: column; flex-basis: 100%; gap: 0; padding-top: 12px; }
  .js .site-header.open .site-links a { padding: 12px 0; border-top: 1px solid var(--line); box-shadow: none; }
  .js .site-header.open .site-links a[aria-current="page"] { color: var(--blue); }
  .js .site-header.open .site-actions { display: flex; flex-direction: column; align-items: stretch; flex-basis: 100%; gap: 10px; padding: 12px 0 8px; border-top: 1px solid var(--line); }
  .js .site-header.open .site-actions .btn { width: 100%; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .display { font-size: 42px; line-height: 1.02; }
  .title, .form-intro h1 { font-size: 40px; }
  .article-title, .video-title { font-size: 34px; }
  .h2, .h2.sm { font-size: 30px; line-height: 1.1; }
  .lead, .lead.lg, .article-head .lead { font-size: 17px; }
  .sec, .sec-md, .step { padding: 64px 0; }
  .pb-sec, .faq-page { padding-bottom: 64px; }
  .about-head { padding: 56px 0 48px; }
  .page-head, .page-head.center { padding: 48px 0 32px; }
  .form-section { padding: 48px 0 64px; }
  .article-head { padding: 40px 0 32px; }
  .article-body { padding-top: 32px; padding-bottom: 56px; gap: 32px; }
  .sec-sm { padding: 48px 0; }
  .hero { padding: 44px 0 40px; background: linear-gradient(180deg, #fff 0%, #fff 62%, var(--band) 62%); }
  .hero .actions, .cta-panel .btn, .page-head .actions { flex-direction: column; width: 100%; }
  .hero .actions .btn, .actions.center .btn { width: 100%; }
  .hero-window { margin-top: 18px; }
  .hero-window .bar, .app-side, .tr.th, .log, .tr .runs-col, .tr .sched-col { display: none; }
  .app-head { padding: 14px; }
  .tr { grid-template-columns: 1fr auto; min-width: 0; height: auto; padding: 12px 14px; gap: 8px; }
  .tl-desktop { display: none; }
  .tl-mobile { display: flex; flex-direction: column; gap: 14px; padding: 14px; }
  .tl-mobile b { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
  .tl-bar { position: relative; height: 14px; background: #f3f4f7; border-radius: 4px; }
  .tl-bar .mark { top: 1px; width: 12px; height: 12px; border-radius: 3px; margin-left: -6px; }
  .tl-bar .now-line { top: -3px; bottom: -3px; }
  .cta-panel { padding: 36px 20px; }
  .featured-vis { min-height: 0; padding: 28px 20px; border-right: 0; border-bottom: 1px solid var(--band-line); }
  .featured-text { padding: 24px; }
  .featured-text h2 { font-size: 26px; }
  .form-card { padding: 24px 20px; }
  .options { grid-template-columns: 1fr; }
  .toc, .side-nav { position: static; flex-basis: 100%; }
  .prose { font-size: 17px; }
  .faq-list details p, .faq-groups details p { padding-right: 0; }
  .login-header { padding: 14px 20px; }
}
@media print {
  .site-header, .site-footer, .toc, .try, .related { display: none; }
}
