:root {
  color-scheme: dark;
  --ground: #17181d; --line: #383a41; --paper: #f6f5f0; --ink: #22242a;
  --blue: #b5baf9; --mono: 'Fold Mono', monospace;
  font-family: 'Fold Sans', system-ui, sans-serif; color: var(--paper); background: var(--ground);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, select { font: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid #7d86f7; outline-offset: 3px; }
.limit { width: min(1380px, calc(100% - clamp(40px, 9vw, 154px))); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -5rem; z-index: 10; padding: 12px; background: var(--paper); color: var(--ink); }
.skip:focus { top: .5rem; }
.mast { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 86px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 650; font-size: 1.38rem; line-height: 1.1; letter-spacing: -.065em; text-decoration: none; }
.brand img { border-radius: 4px; background: var(--paper); padding: 3px; }
.brand small { display: block; margin-top: 4px; color: #c8c8ce; font: .75rem/1.2 var(--mono); letter-spacing: -.045em; }
.brand-light { color: #babcc8; font-weight: 450; }
.tools, .langs { display: flex; align-items: center; }
.tools { gap: 26px; } .local-link, .studio-price-link { text-decoration: none; font-size: .93rem; }
.langs { border: 1px solid #505159; border-radius: 8px; padding: 3px; }
.langs button { border: 0; color: #c6c6cc; background: none; cursor: pointer; font: .8rem/1 var(--mono); min-height: 32px; padding-inline: 9px; border-radius: 4px; }
.langs [aria-pressed="true"] { background: #3c3d45; color: white; }
.stage { display: grid; grid-template-columns: minmax(0,.76fr) minmax(0,1.24fr); align-items: center; gap: clamp(28px,3.7vw,70px); padding-block: clamp(54px,6vw,100px); }
.intro { padding-block: 10px; }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--blue); font: 500 .81rem/1.4 var(--mono); }
.kicker::before { content: ''; width: 23px; height: 2px; background: currentColor; }
h1 { margin: 0; font-size: clamp(3.6rem,5.7vw,6.5rem); line-height: .97; letter-spacing: -.077em; font-weight: 550; }
h1 span, h1 em { display: block; }
h1 em { margin-top: .1em; color: var(--blue); font: italic 400 1.06em/.99 'Fold Serif', Georgia, serif; letter-spacing: -.05em; }
.lead { margin: 26px 0; max-width: 38ch; color: #ceced5; font-size: clamp(1rem,1.27vw,1.17rem); line-height: 1.6; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content:center; text-decoration: none; border-radius: 7px; font-weight: 620; min-height: 44px; padding: 9px 17px; }
.primary { color: #171821; background: #c7c9ff; } .primary:hover { background: #dbdcff; }
.console { background: var(--paper); color: var(--ink); border-radius: 14px; overflow: clip; color-scheme: light; box-shadow: 0 15px 40px #0b0b0e55; }
.console-head { display:flex; align-items:center; justify-content:space-between; gap: 8px; padding: 19px clamp(14px,1.8vw,28px) 17px; border-bottom: 1px solid #d8d8d3; }
.console h2 { margin: 0; font-size: clamp(1.02rem,1.45vw,1.3rem); font-weight: 610; letter-spacing: -.045em; }
.demo-chip { display:inline-flex; gap:6px; align-items:center; white-space:nowrap; font: .75rem/1.3 var(--mono); color: #454654; }
.demo-chip::before { content: ''; width: 8px; height: 8px; background: #787ead; border-radius: 50%; }
#compare-console { padding: clamp(14px,1.8vw,28px); scroll-margin-top: 18px; }
#compare-console:focus-visible { outline-offset:-4px; }
.task-tabs { display:flex; flex-wrap:wrap; gap:5px; margin-bottom: 18px; }
.task-tabs button { background:transparent; color:#4a4b55; border:1px solid #d1d0ce; border-radius:99px; cursor:pointer; padding:7px 11px; min-height:36px; font-size:.86rem; font-weight:550; }
.task-tabs button:hover { border-color: #767986; }
.task-tabs button[aria-pressed="true"] { background:#292b34; border-color:#292b34; color:white; }
.sample-prompt { background:#e8e8ed; border-radius:8px; padding:13px 15px; }
.sample-prompt small, .answer-card small, .trace-row > span { font: .78rem/1.4 var(--mono); }
.sample-prompt small { color:#545769; }
.sample-prompt p { margin:5px 0 0; font-size:1rem; line-height:1.46; }
.answer-grid { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:11px; margin:14px 0 0; }
.answer-card { background:#fff; border:1px solid #d6d5d1; border-top:3px solid #7d82be; border-radius: 7px; padding:13px 14px 15px; }
.answer-card:nth-child(2) { border-top-color:#c67c57; }
.answer-card header { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px; }
.answer-card small { color:#555863; }
.answer-card select { appearance: none; background: #f4f3f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' stroke='%23434752' stroke-width='1.45' fill='none'/%3E%3C/svg%3E") no-repeat right 9px center; color:var(--ink); border:1px solid #d1d2d2; border-radius:5px; min-height:34px; font-weight:600; font-size:.85rem; padding:5px 24px 5px 8px; cursor:pointer; }
.answer-card p { margin:12px 0 0; font-size:1rem; line-height:1.5; overflow-wrap:anywhere; }
.compare-note { color:#5a5b64; font-size:.82rem; line-height:1.45; margin:14px 0 0; }
.privacy { background:#e8e8f2; color:#22232a; }
.privacy-grid { display:grid; grid-template-columns: 1fr 1fr; align-items:center; gap:clamp(25px,7vw,115px); padding-block:clamp(52px,6vw,95px); }
.privacy .kicker { color:#545979; margin-bottom:16px; }
.privacy h2 { margin:0; font-size:clamp(2.15rem,3.8vw,4rem); font-weight:510; line-height:1.05; letter-spacing:-.065em; }
.privacy p:not(.kicker) { max-width:46ch; line-height:1.55; color:#454651; }
.secondary { margin-top:4px; border:1px solid #888b9b; } .secondary:hover { background:#f5f5fd; }
.trace { background:#f7f7fc; border:1px solid #c4c6d7; border-radius:10px; padding:clamp(17px,2.1vw,32px); }
.trace h3 { margin:0 0 12px; font-size:1.12rem; letter-spacing:-.03em; }
.trace-row { display:grid; padding:12px 0; border-top:1px solid #dbdce4; gap:6px; }
.trace-row:last-child { padding-bottom:0; }
.trace-row > span { color:#606274; }
samp { font: .95rem/1.5 var(--mono); overflow-wrap:anywhere; }
.trace mark { background:#f2dfd3; color:#673c2b; }
.trace strong { color:#444a7d; background:#e1e2f9; font-weight:500; }
footer { min-height:80px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
footer small { color:#bebdc7; } footer a { font-size:.88rem; }
@media(max-width: 900px) {
  .stage { grid-template-columns:1fr; gap:30px; }
  .intro { max-width: 630px; } .lead { max-width:52ch; margin:18px 0; }
  .privacy-grid { gap:27px; }
}
@media(max-width: 620px) {
  .local-link { display:none; }
  .limit { width:calc(100% - 34px); }
  .mast { min-height:68px; }
  .stage { padding:36px 0; gap:24px; }
  h1 { font-size: clamp(3.35rem,13vw,4.6rem); }
  .kicker { margin-bottom:15px; }
  .privacy-grid { grid-template-columns:1fr; padding-block:40px; }
  .answer-grid { grid-template-columns:1fr; }
  .task-tabs button { font-size:.84rem; }
}
@media(max-width:365px) {
  .limit { width:calc(100% - 24px); }
  .stage { padding-top:26px; }
  .brand { font-size:1.16rem; }
}

@media (max-width: 620px) { .tools { gap: 9px; } .studio-price-link { font-size: .87rem; } }
