@font-face { font-family: 'Playground Sans'; src: url('/static/fonts/dm-sans.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Playground Serif'; src: url('/static/fonts/instrument-serif.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Playground Serif'; src: url('/static/fonts/instrument-serif-italic.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }

:root { --paper: #f6f5f0; --white: #fdfcf9; --ink: #292e27; --muted: #777c72; --line: #ddded5; --yellow: #ecc263; --green: #63795b; --serif: 'Playground Serif', 'Times New Roman', serif; --sans: 'Playground Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { background: #edcb82; color: var(--ink); }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { height: 19px; width: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.site-header, main, .site-footer { width: min(1120px, calc(100% - 112px)); margin-inline: auto; }
.site-header { height: 100px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; gap: 12px; align-items: center; }
.brand-mark { width: 37px; height: 37px; border-radius: 9px; background: var(--yellow); display: flex; align-items: center; justify-content: center; position: relative; }
.brand-mark span:first-child { font: 34px/.9 var(--serif); transform: translate(1px, -3px); }
.brand-mark span:last-child { font: 23px/1 var(--serif); transform: translate(0, -6px); }
.brand-name { font-weight: 650; font-size: 18px; letter-spacing: -.4px; }
.brand-divider { margin-inline: 12px; color: #a5a99f; font-weight: 400; }
.brand-subtitle { color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0; }
nav { display: flex; align-items: center; gap: 31px; font-size: 12px; }
.nav-link { border: 0; background: none; padding: 10px 0; }
.nav-link:hover, .paper-link:hover { color: var(--green); }
.nav-source { display: inline-flex; gap: 8px; align-items: center; padding: 10px 0; }
.nav-source .icon { width: 16px; height: 16px; }
.hero { padding: 68px 0 53px; display: grid; grid-template-columns: 1fr 325px; gap: 40px; align-items: center; }
.eyebrow { font-size: 10px; letter-spacing: 1.55px; font-weight: 550; display: flex; align-items: center; gap: 9px; }
.tiny-star { font-size: 21px; line-height: 1; color: #869274; }
h1 { font: 76px/.98 var(--serif); margin: 25px 0 21px; letter-spacing: -2.6px; max-width: 610px; }
h1 em { color: #76836a; display: block; font-weight: 400; }
.hero-copy > p { color: var(--muted); font-size: 14px; line-height: 1.85; margin: 0; }
.hero-jump { margin-top: 25px; display: inline-flex; gap: 14px; align-items: center; font-size: 12px; font-weight: 600; }
.hero-jump .icon { width: 17px; transition: transform .2s; }
.hero-jump:hover .icon { transform: translateX(4px); }
.archive-art { height: 294px; border: 1px solid #d7d9ce; border-radius: 3px; padding: 20px; transform: rotate(3deg); position: relative; background-color: #eceee4; background-image: linear-gradient(#d9ddcd80 1px, transparent 1px), linear-gradient(90deg, #d9ddcd80 1px, transparent 1px); background-size: 18px 18px; box-shadow: 7px 7px 0 #e6e6db; }
.archive-art::before { content: ''; position: absolute; width: 55px; height: 23px; top: -12px; left: 133px; background: #efce83c4; transform: rotate(-9deg); border: 1px solid #e4c17266; }
.archive-top { display: flex; justify-content: space-between; font-size: 7px; letter-spacing: .9px; font-weight: 600; padding-bottom: 11px; border-bottom: 1px solid #bfc6b266; }
.archive-number { font: 177px/.97 var(--serif); letter-spacing: -9px; padding-top: 11px; color: #6c7b5d; position: relative; }
.archive-asterisk { position: absolute; top: 39px; right: 18px; font: 72px/1 var(--sans); color: #d5aa44; }
.archive-bottom { display: flex; justify-content: space-between; align-items: end; border-top: 1px solid #bfc6b288; padding-top: 12px; font-size: 7px; line-height: 1.6; letter-spacing: .9px; }
.archive-year { font: 24px/1 var(--serif); }
.model-facts { display: grid; grid-template-columns: 1fr 1.17fr 1fr 1.15fr 1.15fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 25px 0; }
.fact { padding-left: 30px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-value { font: 29px/1 var(--serif); }
.fact-value > span { font-size: 24px; }
.fact-label { color: var(--muted); font-size: 8px; letter-spacing: 1px; }
.fact-note { display: flex; align-items: center; justify-content: end; gap: 13px; line-height: 1.7; font-size: 11px; color: var(--muted); }
.fact-note-dot { width: 7px; height: 7px; background: #9ba788; border-radius: 50%; }
.playground { margin-top: 46px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 21px; }
.section-heading > div:first-child { display: flex; gap: 13px; align-items: center; }
.section-index { color: var(--muted); font: 10px/1.5 var(--sans); letter-spacing: 1px; }
.section-heading h2 { font-size: 19px; font-weight: 550; letter-spacing: -.4px; margin: 0; }
.model-status { display: inline-flex; gap: 7px; align-items: center; background: #e8eddf; color: #566a49; border: 1px solid #dce3d3; border-radius: 20px; padding: 6px 10px; font-size: 9px; font-weight: 550; letter-spacing: .1px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #73935f; }
.model-status.loading { color: #8a6b25; background: #f4e8cb; border-color: #e9dcbd; }
.model-status.loading .status-dot { background: #c1943d; animation: pulse 1.5s infinite; }
.model-status.error { color: #9b483a; background: #f4e6e0; border-color: #ebd5cd; }
.model-status.error .status-dot { background: #9b483a; }
.loading-notice { padding: 13px 16px; display: flex; gap: 11px; align-items: center; font-size: 11px; color: #82672c; border: 1px solid #e9dcbd; background: #f8efd9; margin-bottom: 12px; border-radius: 6px; line-height: 1.6; }
.loading-notice.error { background: #f4e6e0; border-color: #ebd5cd; color: #9b483a; }
.loading-notice button { border: 0; background: none; display: inline-flex; align-items: center; gap: 6px; margin-left: auto; white-space: nowrap; padding: 3px; }
.loading-notice button .icon { width: 14px; height: 14px; }
.model-controls { margin-bottom: 16px; }
.startup-ad { margin: 32px 0; padding: 20px 0; border-block: 1px solid var(--line); }
.ad-label { margin: 0 0 12px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-align: center; }
.startup-ad .adsbygoogle { width: 100%; min-height: 90px; }
.model-controls .loading-notice { margin-bottom: 8px; flex-wrap: wrap; }
.model-controls #start-model-button { background: var(--yellow); border: 1px solid #dcb04b; border-radius: 5px; padding: 8px 14px; color: #353c2e; font-weight: 600; }
.model-status.idle { background: #efefe7; border-color: #e1e2d8; color: #757b6a; }
#model-progress { width: 100%; height: 6px; margin: 0 0 10px; accent-color: var(--green); }
.device-settings { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 10px; }
.device-settings select { max-width: 100%; padding: 6px 8px; color: #53664a; border: 1px solid #dce3d1; border-radius: 4px; background: #fffdf8; font: inherit; }
.device-settings button { border: 0; border-bottom: 1px solid #b8c3ab; background: transparent; padding: 3px 0; font-size: 10px; color: #53664a; }
.device-settings button:disabled { opacity: .4; }
#download-info { margin: 8px 0 0; color: #7b8271; font-size: 10px; line-height: 1.6; }
.mini-spinner { width: 12px; height: 12px; border: 1.5px solid #cfba8d; border-top-color: #8a6b25; border-radius: 50%; animation: spin 1s linear infinite; flex-shrink: 0; }
.workbench { border: 1px solid var(--line); background: var(--white); border-radius: 9px; display: grid; grid-template-columns: minmax(0, 1fr) 310px; overflow: hidden; box-shadow: 0 3px 8px #2f382803; }
.composer { padding: 27px 28px 25px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; min-height: 25px; gap: 10px; }
.panel-heading label, .panel-heading h3 { font-size: 13px; font-weight: 550; letter-spacing: -.1px; margin: 0; }
.mono-small { font-size: 8px; color: #9a9e92; letter-spacing: 1px; }
textarea { display: block; width: 100%; min-height: 137px; padding: 22px 18px; margin-top: 15px; resize: vertical; border: 1px solid #dddfd5; border-radius: 5px; color: #41483b; background: #f7f8f3; font: 25px/1.45 var(--serif); outline: none; transition: border .2s, box-shadow .2s; }
textarea:focus { border-color: #92a081; box-shadow: 0 0 0 3px #89997618; }
textarea::placeholder { color: #a1a596; }
.prompt-meta { display: flex; justify-content: space-between; align-items: start; gap: 16px; font-size: 9px; margin-top: 9px; color: #93978b; line-height: 1.6; }
#token-count { flex-shrink: 0; }
#token-count.over-limit { color: #ae5440; }
.examples { margin-top: 23px; }
.example-label { color: #93978b; font-size: 8px; letter-spacing: .9px; }
.example-buttons { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.example-buttons button { border: 1px solid #e3e4db; background: transparent; border-radius: 4px; padding: 7px 9px; font-size: 9px; display: flex; gap: 5px; align-items: center; white-space: nowrap; transition: background .15s, border-color .15s; }
.example-buttons button:hover { background: #edf0e6; border-color: #acb99d; }
.example-buttons button.selected { background: #edf0e6; border-color: #acb99d; }
.example-buttons button:disabled { opacity: .5; }
.example-buttons .icon { width: 12px; height: 12px; }
.example-buttons button > span { font-size: 13px; line-height: 1; }
.generate-row { margin-top: 26px; display: flex; align-items: center; gap: 15px; }
.generate-button { background: var(--yellow); border: 1px solid #dcb04b; border-radius: 5px; display: flex; align-items: center; gap: 9px; padding: 12px 16px; font-size: 11px; font-weight: 600; transition: background .15s, transform .15s; }
.generate-button:hover:enabled { background: #e6b84f; transform: translateY(-1px); }
.generate-button:disabled { opacity: .48; }
.generate-button .icon { width: 16px; height: 16px; }
.generate-button .button-arrow { margin-left: 8px; }
.shortcut { color: #93978b; font-size: 9px; }
kbd { font-family: var(--sans); }
.stop-button { border: 1px solid #ccb99e; border-radius: 5px; background: #f1e6d2; padding: 12px 18px; display: flex; gap: 9px; align-items: center; font-size: 11px; font-weight: 550; }
.stop-square { width: 8px; height: 8px; border-radius: 1px; background: #6c614c; }
.settings { background: #f9f9f4; border-left: 1px solid var(--line); padding: 27px 25px 16px; }
.settings .panel-heading { margin-bottom: 23px; }
.settings .panel-heading h3 { font-size: 12px; }
.icon-button { display: grid; place-items: center; border: 0; background: transparent; border-radius: 4px; width: 28px; height: 28px; color: #777d6e; }
.icon-button:hover:enabled { background: #e9ecdf; color: #414d36; }
.icon-button:disabled { opacity: .35; }
.icon-button .icon { width: 15px; height: 15px; }
.control { margin-bottom: 22px; }
.control-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 8px; }
.control-label label { font-size: 10px; font-weight: 550; }
.control-label output { font-size: 9px; color: #69785a; border: 1px solid #e2e6d9; background: #eef1e7; padding: 3px 6px; border-radius: 3px; font-variant-numeric: tabular-nums; }
input[type='range'] { --progress: 53%; display: block; margin: 0; width: 100%; height: 4px; border-radius: 5px; appearance: none; background: linear-gradient(to right, #869476 var(--progress), #e1e5d9 var(--progress)); cursor: pointer; }
input[type='range']::-webkit-slider-thumb { appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #fdfcf9; border: 2.5px solid #768569; box-shadow: 0 1px 2px #00000010; }
input[type='range']::-moz-range-thumb { width: 8px; height: 8px; border-radius: 50%; background: #fdfcf9; border: 2.5px solid #768569; }
input[type='range']:focus-visible { outline: 2px solid #8d9c7b; outline-offset: 6px; }
input:disabled { cursor: not-allowed; opacity: .5; }
.range-labels { display: flex; justify-content: space-between; gap: 10px; font-size: 8px; color: #92978a; margin-top: 9px; }
.advanced { border-top: 1px solid #e3e6db; margin-top: 1px; padding-top: 9px; }
.advanced summary { display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; font-size: 9px; color: #818775; padding: 5px 0; }
.advanced summary::-webkit-details-marker { display: none; }
.advanced summary .icon { width: 13px; height: 13px; }
.advanced[open] summary .icon { transform: rotate(180deg); }
.seed-control { margin: 12px 0 4px; }
.seed-control label { font-size: 10px; display: flex; justify-content: space-between; }
.seed-control label span { font-size: 9px; color: var(--muted); }
.seed-control input { width: 100%; border-radius: 4px; border: 1px solid #d9ddcf; background: var(--white); padding: 9px 8px; margin-top: 7px; font-size: 10px; color: var(--ink); outline-color: #8d9c7b; }
.seed-control p { font-size: 9px; line-height: 1.7; color: var(--muted); }
.sampling-presets { display: flex; gap: 4px; padding: 3px; margin: -9px 0 21px; background: #ecefe5; border: 1px solid #e0e5d6; border-radius: 5px; }
.sampling-presets button { flex: 1; border: 1px solid transparent; border-radius: 3px; background: transparent; color: #849177; font-size: 10px; padding: 6px 4px; }
.sampling-presets button.selected { background: var(--white); border-color: #dce3d1; color: #53664a; box-shadow: 0 1px 3px #34472f09; }
.sampling-presets button:hover:enabled { color: #3c5231; }
.sampling-presets button:disabled, .length-presets button:disabled { opacity: .5; }
.length-presets { display: flex; gap: 5px; margin-top: 12px; }
.length-presets button { flex: 1; padding: 4px 3px; background: transparent; border: 1px solid #dfe4d5; border-radius: 3px; font-size: 9px; color: #7e8c71; font-variant-numeric: tabular-nums; }
.length-presets button:hover:enabled, .length-presets button.selected { background: #e7eddc; border-color: #b0be9e; color: #4d6141; }
.long-form-control { border-top: 1px solid #e0e5d5; padding-top: 14px; }
.toggle-label { position: relative; display: flex; gap: 12px; align-items: center; justify-content: space-between; cursor: pointer; font-size: 11px; font-weight: 550; }
.toggle-label input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle-track { width: 27px; height: 15px; border-radius: 12px; background: #d8ded0; padding: 3px; flex-shrink: 0; transition: background .2s; }
.toggle-track::after { content: ''; display: block; width: 9px; height: 9px; background: #fdfcf9; border-radius: 50%; box-shadow: 0 1px 2px #00000015; transition: transform .2s; }
.toggle-label input:checked + .toggle-track { background: #7c916a; }
.toggle-label input:checked + .toggle-track::after { transform: translateX(12px); }
.toggle-label input:focus-visible + .toggle-track { outline: 2px solid #728660; outline-offset: 3px; }
.toggle-label input:disabled + .toggle-track { opacity: .4; }
.experimental-badge { display: inline-block; font-size: 6px; letter-spacing: .3px; color: #958144; background: #f1e9d4; border: 1px solid #e7debc; padding: 2px 3px; margin-left: 4px; border-radius: 2px; vertical-align: 1px; }
#length-note { color: #8a937d; font-size: 10px; line-height: 1.65; margin: 9px 0 0; }
.experiments { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 0 28px; background: #f7f8f2; }
.experiments summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; list-style: none; padding: 16px 0; cursor: pointer; font-size: 11px; font-weight: 550; color: #617254; }
.experiments summary::-webkit-details-marker { display: none; }
.experiments summary > span { display: flex; align-items: center; gap: 8px; }
.experiments summary .icon { width: 14px; height: 14px; }
.experiments-subtitle { font-size: 10px; font-weight: 400; color: #949c89; margin-left: 8px; }
.experiments[open] summary > .icon { transform: rotate(180deg); }
.experiments-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px 35px; border-top: 1px dashed #dfe5d5; padding: 22px 0 14px; }
.experiments .control { margin-bottom: 8px; }
.experiments .control-label label { font-size: 11px; }
.control-help { font-size: 10px; line-height: 1.7; color: #89937c; margin: 11px 0 0; }
.experiments .seed-control { margin-top: 11px; }
.experiments .seed-control label, .experiments .seed-control input { font-size: 11px; }
.experiments .seed-control p { font-size: 10px; }
.microscope-control { padding-top: 12px; }
.experiment-note { display: flex; align-items: center; gap: 10px; padding-top: 10px; color: #8d997d; }
.experiment-note > span { font-size: 28px; color: #b7be9e; }
.experiment-note p { font-size: 10px; line-height: 1.8; margin: 0; }
.token-microscope { display: grid; grid-template-columns: 1fr 1.2fr; gap: 35px; margin: 5px 0 22px; padding: 20px; border: 1px solid #dfe5d4; border-radius: 5px; background: #f1f4e9; }
.microscope-intro .eyebrow { font-size: 7px; color: #8a9778; }
.microscope-intro h4 { font: 27px/1.1 var(--serif); margin: 9px 0; color: #697c58; }
.microscope-intro p { font-size: 10px; color: #8c967f; line-height: 1.7; margin: 0; }
.chosen-token { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #d8e0ca; border-radius: 4px; padding: 6px 8px; margin-top: 11px; background: #f9fbf3; max-width: 100%; }
.chosen-token > span:first-child { font-size: 7px; letter-spacing: .5px; color: #8a9878; }
.chosen-token > span:last-child { font-size: 9px; color: #71825e; font-variant-numeric: tabular-nums; }
.chosen-token code { font-size: 12px; color: #4b6536; overflow-wrap: anywhere; }
.microscope-intro .context-meter { font-size: 9px; margin-top: 11px; }
.candidate-list { align-self: center; display: flex; flex-direction: column; gap: 9px; }
.candidate-list > p { font-size: 11px; color: #8b977e; text-align: center; }
.candidate-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) 45px; gap: 12px; align-items: center; font-size: 11px; }
.candidate-row code { color: #89967b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.candidate-track { height: 6px; background: #e1e8d6; border-radius: 3px; overflow: hidden; }
.candidate-track > span { display: block; height: 100%; background: #bdcaaa; min-width: 1px; border-radius: 3px; }
.candidate-probability { text-align: right; color: #89977b; font-size: 10px; font-variant-numeric: tabular-nums; }
.candidate-row.chosen code, .candidate-row.chosen .candidate-probability { color: #526d3e; }
.candidate-row.chosen .candidate-track > span { background: #819b68; }
.result-actions { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.again-button.continue-button { border: 1px solid #dce5d0; border-radius: 4px; background: #eef3e6; padding: 6px 9px; font-size: 10px; }
.again-button.continue-button:hover:enabled { background: #e4edd8; }
.again-button:disabled { opacity: .4; cursor: not-allowed; }
.output-panel { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 0 28px; }
.output-heading { padding-top: 20px; display: flex; align-items: center; justify-content: space-between; }
.output-heading > div { display: flex; align-items: center; gap: 9px; }
.output-dot { height: 5px; width: 5px; border-radius: 50%; background: #92a07d; }
.output-heading h3 { font-size: 11px; font-weight: 550; margin: 0; }
.output-tag { color: #a3a697; font-size: 7px; letter-spacing: .8px; margin-left: 3px; }
.output-tools { gap: 3px !important; }
.empty-output { min-height: 201px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 18px; }
.empty-illustration { position: relative; display: grid; place-items: center; height: 57px; width: 85px; margin-bottom: 14px; }
.empty-illustration > span { font-size: 35px; color: #c1b689; line-height: 1; }
.orbit { position: absolute; inset: 10px 0; border: 1px solid #e1ddcc; border-radius: 50%; transform: rotate(-29deg); }
.orbit-two { transform: rotate(34deg); }
.empty-illustration > i { height: 5px; width: 5px; background: #b1b99e; border-radius: 50%; position: absolute; right: 6px; top: 10px; }
.empty-output h4 { font: 25px/1.2 var(--serif); color: #737b67; margin: 0 0 8px; }
.empty-output p { color: #949887; font-size: 10px; margin: 0; line-height: 1.7; text-align: center; }
.result { min-height: 201px; padding: 25px 0 30px; }
.result-text { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; font: 26px/1.6 var(--serif); }
#result-prompt { color: #9a9f8d; }
#result-completion { color: #414b36; }
.typing-cursor { display: inline-block; height: 23px; width: 2px; background: #8c9878; vertical-align: text-bottom; margin-left: 3px; animation: pulse .8s infinite; }
.output-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px dashed #e0e2d6; padding: 13px 0; color: #969b8d; font-size: 8px; line-height: 1.6; min-height: 43px; }
.again-button { display: flex; gap: 5px; align-items: center; border: 0; background: transparent; color: #6f7d5d; font-size: 9px; padding: 3px 0; flex-shrink: 0; }
.again-button:hover { color: #34412c; }
.again-button .icon { width: 12px; height: 12px; }
.error-message { border-radius: 4px; background: #f6e8e0; border: 1px solid #edd6cb; color: #9c4e39; padding: 12px; font-size: 11px; line-height: 1.7; margin: 0 0 15px; }
.playground-note { font-size: 10px; color: #939888; text-align: center; margin: 17px 0 0; line-height: 1.7; }
.playground-note > span { margin-right: 5px; }
.context-section { display: grid; grid-template-columns: 1fr 1.25fr; gap: 75px; margin-top: 68px; padding: 37px 0 47px; border-top: 1px solid var(--line); }
.context-intro .section-index { font-size: 8px; letter-spacing: 1.1px; }
.context-intro h2 { font: 42px/1.08 var(--serif); margin: 18px 0 0; letter-spacing: -.5px; }
.context-intro h2 em { font-weight: 400; color: #7b866e; }
.context-body { padding-top: 17px; }
.context-body p { margin: 0 0 12px; font-size: 12px; line-height: 1.8; color: #717768; }
.context-body .context-muted { font-size: 10px; color: #909582; line-height: 1.8; }
.paper-link { display: inline-flex; gap: 6px; align-items: center; font-size: 10px; font-weight: 550; margin-top: 5px; }
.paper-link .icon { height: 15px; width: 15px; }
.site-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding: 23px 0 29px; font-size: 9px; color: #8b917f; }
.footer-brand { color: #666e5a; }
.footer-brand > span { margin-inline: 8px; color: #a3aa96; }
.footer-star { color: #afac85; font-size: 16px; margin-left: 13px; vertical-align: -2px; }
.site-footer a { text-decoration: underline; text-underline-offset: 3px; }
.privacy-page { max-width: 720px; padding-block: 60px; }
.privacy-page h1 { font: 56px/1.1 var(--serif); margin: 0 0 30px; }
.privacy-page h2 { font: 30px/1.2 var(--serif); margin-top: 32px; }
.privacy-page p { color: var(--muted); line-height: 1.8; }
.privacy-page a { text-decoration: underline; text-underline-offset: 3px; }
.toast { position: fixed; left: 50%; bottom: 25px; transform: translateX(-50%); z-index: 20; border: 1px solid #5f6b53; background: #39432f; color: #f7f7ed; padding: 12px 22px; font-size: 12px; border-radius: 6px; box-shadow: 0 5px 25px #00000012; max-width: calc(100% - 30px); }
dialog { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 11px; width: min(530px, calc(100% - 32px)); padding: 30px; box-shadow: 0 20px 60px #29302630; }
dialog::backdrop { background: #2f39245e; backdrop-filter: blur(4px); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; }
.dialog-top .eyebrow { font-size: 8px; }
dialog h2 { font: 45px/1 var(--serif); margin: 21px 0; }
dialog p { color: #757c6a; line-height: 1.85; font-size: 12px; }
dialog dl { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; margin: 20px 0; }
dialog dl > div { display: flex; gap: 20px; justify-content: space-between; padding: 7px 0; font-size: 11px; line-height: 1.5; }
dialog dt { color: var(--muted); flex-shrink: 0; }
dialog dd { margin: 0; text-align: right; }
dialog .dialog-note { font-size: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .35; } }

@media (min-width: 1440px) {
  .site-header, main, .site-footer { width: min(1180px, calc(100% - 160px)); }
  .hero { padding-top: 80px; padding-bottom: 63px; grid-template-columns: 1fr 355px; }
  h1 { font-size: 85px; }
  .archive-art { height: 310px; }
  .archive-number { font-size: 192px; }
  .workbench { grid-template-columns: minmax(0, 1fr) 340px; }
}
@media (max-width: 1000px) {
  .site-header, main, .site-footer { width: calc(100% - 64px); }
  .hero { grid-template-columns: 1fr 270px; gap: 25px; padding: 52px 0 45px; }
  h1 { font-size: 65px; }
  .hero-copy > p { font-size: 12px; }
  .archive-art { height: 259px; padding: 17px; }
  .archive-number { font-size: 152px; padding-top: 10px; }
  .archive-asterisk { font-size: 61px; right: 1px; top: 34px; }
  .archive-art::before { left: 110px; }
  .archive-top { font-size: 6px; }
  .workbench { grid-template-columns: minmax(0, 1fr) 280px; }
  .composer { padding: 23px; }
  .settings { padding-inline: 22px; }
  .example-buttons button { font-size: 8px; padding: 7px; }
  .fact { padding-left: 20px; }
  .fact-label { font-size: 7px; }
  .fact-note { font-size: 10px; }
  .context-section { gap: 45px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.1px; }
}
@media (max-width: 760px) {
  .site-header, main, .site-footer { width: calc(100% - 40px); }
  .site-header { height: 78px; }
  .brand-subtitle, .brand-divider { display: none; }
  .brand-mark { width: 32px; height: 32px; border-radius: 8px; }
  .brand-name { font-size: 17px; }
  .brand { gap: 9px; }
  nav { gap: 15px; font-size: 10px; }
  .nav-source { font-size: 0; }
  .nav-source .icon { width: 19px; height: 19px; }
  .hero { grid-template-columns: 1fr 175px; padding: 42px 0 35px; gap: 15px; }
  h1 { font-size: 54px; letter-spacing: -1.6px; margin: 20px 0 17px; }
  .hero-copy > p { line-height: 1.75; font-size: 11px; }
  .desktop-break { display: none; }
  .hero-jump { font-size: 10px; margin-top: 20px; gap: 8px; }
  .eyebrow { font-size: 7px; letter-spacing: .7px; gap: 6px; }
  .tiny-star { font-size: 16px; }
  .archive-art { height: 208px; padding: 12px; }
  .archive-top { font-size: 5px; letter-spacing: .3px; padding-bottom: 8px; }
  .archive-number { font-size: 125px; letter-spacing: -7px; padding-top: 10px; }
  .archive-asterisk { right: -3px; top: 25px; font-size: 42px; }
  .archive-bottom { font-size: 4.5px; letter-spacing: .3px; padding-top: 8px; }
  .archive-year { font-size: 18px; }
  .archive-art::before { left: 68px; width: 39px; height: 19px; top: -10px; }
  .model-facts { padding: 20px 0; grid-template-columns: 1fr 1.1fr .95fr 1fr; }
  .fact { padding-left: 16px; gap: 6px; }
  .fact-value { font-size: 25px; }
  .fact-value > span { font-size: 20px; }
  .fact-label { font-size: 6px; letter-spacing: .45px; }
  .fact-note { display: none; }
  .playground { margin-top: 30px; }
  .section-heading h2 { font-size: 17px; }
  .model-status { font-size: 8px; padding: 5px 8px; }
  .workbench { grid-template-columns: 1fr; }
  .composer { padding: 22px; }
  textarea { min-height: 130px; font-size: 25px; }
  .prompt-meta { font-size: 8px; }
  .example-buttons { gap: 8px; }
  .example-buttons button { font-size: 9px; padding: 8px 10px; }
  .settings { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; padding: 20px 22px 14px; }
  .settings .panel-heading { grid-column: 1 / -1; margin-bottom: 14px; }
  .sampling-presets { grid-column: 1 / -1; margin: 0 0 19px; }
  .long-form-control { border-top: 0; padding-top: 0; }
  .long-form-control .toggle-label { font-size: 10px; }
  .experimental-badge { display: none; }
  #length-note { font-size: 9px; }
  .experiments { padding-inline: 22px; }
  .experiments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 23px; }
  .experiments-subtitle { display: none; }
  .token-microscope { grid-template-columns: 1fr; gap: 22px; padding: 18px; }
  .output-footer { flex-wrap: wrap; gap: 8px; }
  .result-actions { margin-left: auto; }
  .control { margin-bottom: 18px; }
  .control:last-of-type { grid-column: 1; }
  .advanced { grid-column: 2; grid-row: 3; margin: 0; padding: 0; border-top: 0; align-self: start; }
  .advanced summary { padding-top: 1px; }
  .range-labels { font-size: 7px; }
  .output-panel { padding-inline: 22px; }
  .output-heading { padding-top: 16px; }
  .result-text { font-size: 25px; }
  .context-section { gap: 25px; margin-top: 43px; padding-top: 28px; padding-bottom: 32px; }
  .context-intro h2 { font-size: 34px; }
  .context-body p { font-size: 10px; }
  .context-body .context-muted { font-size: 9px; }
}
@media (max-width: 470px) {
  .hero { grid-template-columns: 1fr; position: relative; padding-top: 36px; }
  .hero-copy { position: relative; z-index: 1; }
  h1 { font-size: 61px; max-width: 100%; margin-top: 21px; }
  .hero-copy > p { max-width: 260px; font-size: 12px; }
  .archive-art { position: absolute; width: 110px; height: 143px; bottom: 32px; right: -1px; transform: rotate(5deg); padding: 8px; opacity: .65; z-index: 0; }
  .archive-top { font-size: 3px; padding-bottom: 4px; }
  .archive-number { font-size: 85px; letter-spacing: -4px; padding-top: 7px; }
  .archive-asterisk { font-size: 25px; right: -1px; top: 23px; }
  .archive-bottom { font-size: 3px; padding-top: 6px; letter-spacing: 0; }
  .archive-year { font-size: 12px; }
  .archive-art::before { left: 44px; width: 26px; height: 14px; top: -8px; }
  .hero-copy > p { max-width: calc(100% - 120px); }
  .fact { padding-left: 12px; }
  .fact-value { font-size: 23px; }
  .fact-label { font-size: 5.5px; letter-spacing: .3px; }
  .section-heading > div:first-child { gap: 8px; }
  .section-index { font-size: 8px; }
  .model-status { font-size: 7px; }
  .composer { padding: 18px; }
  .panel-heading label { font-size: 12px; }
  textarea { font-size: 23px; min-height: 140px; padding: 18px 14px; }
  .examples { margin-top: 20px; }
  .example-buttons { gap: 6px; }
  .example-buttons button { padding: 7px; font-size: 8px; }
  .generate-button { font-size: 10px; padding: 12px 13px; gap: 7px; }
  .generate-row { gap: 10px; margin-top: 23px; }
  .generate-button .button-arrow { margin-left: 3px; }
  .settings { padding-inline: 18px; gap: 0 17px; }
  .experiments { padding-inline: 18px; }
  .experiments-grid { grid-template-columns: 1fr; gap: 11px; }
  .experiments .control { margin-bottom: 3px; }
  .experiments .seed-control { margin-top: 0; }
  .experiment-note { padding: 2px 0 5px; }
  .experiment-note p br { display: none; }
  .length-presets { gap: 3px; margin-top: 9px; }
  .length-presets button { font-size: 8px; padding: 4px 1px; }
  .long-form-control .toggle-label { font-size: 9px; gap: 5px; }
  #length-note { font-size: 8px; }
  #token-count { flex-shrink: 1; text-align: right; }
  .candidate-row { grid-template-columns: 65px minmax(0, 1fr) 40px; gap: 9px; }
  .result-actions { gap: 12px; }
  .again-button.continue-button { font-size: 9px; }
  .range-labels { font-size: 6px; gap: 5px; }
  .output-panel { padding-inline: 18px; }
  .output-tag { font-size: 5px; letter-spacing: .2px; }
  .output-heading > div { gap: 6px; }
  .output-heading h3 { font-size: 10px; }
  .empty-output { min-height: 185px; padding-inline: 0; }
  .empty-output h4 { font-size: 23px; }
  .empty-output p { font-size: 8px; }
  .output-footer { font-size: 7px; }
  .again-button { font-size: 8px; }
  .playground-note { font-size: 9px; }
  .context-section { grid-template-columns: 1fr; gap: 15px; }
  .context-intro h2 { font-size: 40px; }
  .context-body { padding-top: 0; }
  .context-body p { font-size: 11px; }
  .context-body .context-muted { font-size: 10px; }
  .site-footer { font-size: 7px; gap: 12px; }
  .footer-star { margin-left: 6px; }
  dialog { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
