* { box-sizing: border-box; }
:root { font-family: Inter, "Helvetica Neue", Arial, sans-serif; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55; }
.ai { --bg: #101d29; --ink: #f2f5ef; --muted: #bac8cc; --line: #394955; --accent: #c3edaa; --button-ink: #182722; }
.pdf { --bg: #faf7f0; --ink: #252b39; --muted: #545968; --line: #d8d4c9; --accent: #203fa6; --button-ink: #fff; }
.wrap { width: min(1176px, calc(100% - 96px)); margin-inline: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 5; padding: .75rem 1rem; background: var(--bg); }
.skip:focus { top: 12px; }
.top, footer, .brand, nav, .actions, .kicker, .btn, .text-link, .console-top, .sheet-head { display: flex; align-items: center; }
.top { justify-content: space-between; min-height: 84px; border-bottom: 1px solid var(--line); }
.brand, nav a, .btn, .text-link, footer a { text-decoration: none; }
.brand { gap: 10px; font-size: 25px; font-weight: 750; letter-spacing: -.065em; }
.brand img { border-radius: 27%; }
nav, .actions { gap: 28px; }
nav { font-size: .9rem; }
.nav-end { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
.nav-end span, .text-link span { margin-left: 5px; }
.hero { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(32px, 5vw, 84px); padding-block: clamp(58px, 7.5vw, 104px); }
.hero-copy { min-width: 0; }
.kicker { gap: 10px; margin: 0 0 18px; color: var(--accent); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.kicker i { width: 22px; height: 2px; background: currentColor; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(3.1rem, 5.5vw, 5.5rem); line-height: .99; letter-spacing: -.065em; }
.ai h1 em { color: var(--accent); font-family: Georgia, serif; font-weight: 400; letter-spacing: -.06em; }
.pdf h1, .pdf h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.055em; }
.pdf h1 { font-size: clamp(3.6rem, 6.8vw, 6.7rem); }
.pdf h1 em { color: var(--accent); }
.lede { max-width: 52ch; margin-top: 23px; font-size: clamp(1.03rem, 1.45vw, 1.21rem); line-height: 1.6; color: var(--muted); }
.actions { margin-top: 29px; flex-wrap: wrap; gap: 12px 23px; }
.btn, .text-link { justify-content: center; width: fit-content; gap: .4em; font-weight: 650; font-size: .94rem; }
.btn { min-height: 47px; padding: 11px 18px; background: var(--accent); color: var(--button-ink); border-radius: 6px; }
.pdf .btn { border-radius: 999px; }
.btn span { margin-left: .5em; }
.btn:hover { filter: brightness(1.09); text-decoration: none; }
.text-link { min-height: 44px; text-decoration: underline; text-decoration-color: var(--line); }
h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.08; letter-spacing: -.055em; }
h3 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -.025em; }
.console { border: 1px solid #475963; border-radius: 15px; background: #192a35; overflow: hidden; box-shadow: 10px 14px 0 #0b161e; }
.console-top { gap: 12px; padding: 14px 20px; border-bottom: 1px solid #41505b; color: #d4dedc; font: .78rem ui-monospace, Menlo, monospace; }
.lights { color: #87ab93; font-size: .68rem; }
.demo-tag { margin-left: auto; color: #c6d6d7; }
.samples { min-width: 0; margin: 0; padding: 22px; border: 0; }
.samples legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.samples input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.samples label { display: inline-block; padding: 8px 12px; margin: 0 4px 5px 0; cursor: pointer; border: 1px solid #556673; border-radius: 6px; font-size: .8rem; }
.samples input:checked + label { color: #15251b; background: #c3edaa; border-color: #c3edaa; font-weight: 650; }
.samples input:focus-visible + label { outline: 2px solid white; outline-offset: 3px; }
.example { display: none; }
#status:checked ~ .ex-status, #draft:checked ~ .ex-draft { display: block; }
.ask { font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.3; letter-spacing: -.035em; margin: 17px 0; max-width: 25ch; }
.tool, .endpoint code { font: .85rem ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.tool { color: #c3edaa; }
.tool b { margin-right: 6px; }
.example-result { margin-top: 18px; padding: 14px 16px 7px; border: 1px solid #42545d; border-radius: 8px; background: #101f2a; }
.example-result strong { font-size: .94rem; }
.example-result dl { margin-top: 7px; }
.example-result dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid #34434f; padding: 7px 0; font-size: .83rem; }
.example-result dt { color: #c4cfd1; }
.signed { color: #c3edaa; }
.waiting { color: #f6d798; }
.setup { background: #e8ede5; color: #192823; --accent: #345c43; --line: #bdc9bd; --muted: #45584e; }
.setup-grid, .faq { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 8vw, 120px); padding-block: 66px; }
.setup-grid h2 + p, .resources h2 + p, .steps p, .faq details p { color: var(--muted); margin-top: 10px; }
.endpoint { margin-top: 22px; border-left: 3px solid #5b8067; padding: 2px 0 2px 14px; }
.endpoint span { display: block; font-size: .77rem; margin-bottom: 4px; }
.endpoint code { font-size: clamp(.83rem, 2.1vw, 1rem); font-weight: 600; user-select: all; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); font: .82rem ui-monospace, Menlo, monospace; color: var(--accent); }
.setup .steps li { padding: 14px 0 14px 40px; border-top: 1px solid var(--line); }
.setup .steps li::before { position: absolute; left: 0; top: 18px; }
.resources { padding-block: 54px; display: flex; justify-content: space-between; align-items: center; gap: 34px; }
.resources div { max-width: 62ch; }
.resources h2 { font-size: 2.05rem; }
.resources a { flex-shrink: 0; }
.desk { position: relative; min-height: 398px; display: grid; place-items: center; border: 1px solid #d4dbe4; border-radius: 12px; background-color: #e2e9f0; background-image: radial-gradient(#adb9c5 .8px, transparent .8px); background-size: 13px 13px; isolation: isolate; padding: 26px 24px 34px; }
.sheet { width: min(76%, 310px); min-width: 216px; transform: rotate(-5deg); border: 1px solid #ddd6c7; padding: 21px 25px 19px; background: #fffdf7; box-shadow: 6px 10px 0 #c4cdd4, 10px 14px 24px #5366812b; }
.sheet-head { justify-content: space-between; gap: 8px; border-bottom: 1px solid #c5c1b3; padding-bottom: 10px; font: .63rem ui-monospace, Menlo, monospace; text-transform: uppercase; letter-spacing: .05em; color: #50566a; }
.sheet h2 { margin-top: 17px; font-size: clamp(1.9rem, 2.8vw, 2.65rem); line-height: .98; }
.paper-lines { width: 90%; height: 29px; margin: 18px 0 10px; background: repeating-linear-gradient(to bottom,#cecbbf 0 1px,transparent 1px 9px); }
.signature { width: fit-content; color: #203e83; font: italic clamp(1.8rem, 3vw, 2.55rem)/1.25 "Snell Roundhand", "Segoe Script", "Brush Script MT", Georgia, serif; }
.siglabel { border-top: 1px solid #aaa694; padding-top: 4px; font: .64rem ui-monospace, Menlo, monospace; color: #555b66; }
.desk figcaption { display: flex; align-items: center; gap: 10px; position: absolute; bottom: 25px; right: 16px; padding: 10px 15px; background: #fff; border: 1px solid #d3dbdf; box-shadow: 0 5px 14px #303c5317; border-radius: 8px; }
.tick { display: grid; place-items: center; width: 26px; height: 26px; color: #1d694c; background: #dff3e6; border-radius: 50%; font-weight: 700; }
figcaption strong, figcaption small { display: block; }
figcaption strong { font-size: .84rem; }
figcaption small { color: #52616b; font-size: .72rem; }
.workflow { padding-block: 64px; background: #f0ece2; border-block: 1px solid var(--line); }
.workflow h2 { max-width: 24ch; }
.workflow .steps { margin: 28px 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.workflow li { border-top: 1px solid #bdb9ae; padding-top: 12px; }
.workflow h3 { margin-top: 9px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { padding: 16px 0; cursor: pointer; font-weight: 650; }
.faq details p { padding-bottom: 16px; margin: 0; }
footer { gap: 22px; padding-block: 24px; border-top: 1px solid var(--line); font-size: .82rem; }
footer .brand { margin-right: auto; font-size: 20px; }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-block: 40px 50px; }
  .hero-copy, .console, .desk { width: 100%; max-width: 610px; }
  .setup-grid, .faq { grid-template-columns: 1fr; gap: 28px; }
  .resources { display: grid; gap: 10px; }
  .workflow .steps { gap: 20px; }
  .desk { min-height: 330px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  .top { min-height: 66px; }
  .top .brand { font-size: 22px; }
  .brand img { width: 29px; height: 29px; }
  .nav-detail { display: none; }
  .nav-end { font-size: .82rem; padding: 7px 12px; }
  .kicker { margin-bottom: 13px; }
  .lede { margin-top: 17px; }
  .actions { margin-top: 20px; }
  .samples { padding: 15px; }
  .console { box-shadow: 4px 6px 0 #0b161e; }
  .setup-grid, .workflow, .faq { padding-block: 42px; }
  .workflow .steps { grid-template-columns: 1fr; }
  .desk { padding-inline: 8px; }
  .desk figcaption { bottom: 12px; right: 9px; }
  footer { gap: 13px; flex-wrap: wrap; }
}
