@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/source-serif-4-latin-opsz.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter-latin-wght.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono-latin-wght.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}
:root {
  --paper: #f0eee6;
  --ivory: #faf9f5;
  --oat: #e3dacc;
  --manilla: #f5e3c7;
  --ink: #141413;
  --muted: #3d3d3a;
  --subtle: #5e5d58;
  --line: #cccbc8;
  --clay: #d97757;
  --clay-hover: #c6613f;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: Inter, Arial, sans-serif;
  --mono: "JetBrains Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 20px/1.55 var(--serif); }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { color: inherit; font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
img, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
figure, blockquote { margin: 0; }
h1, h2, h3, p { margin: 0; }
pre { margin: 0; overflow-x: auto; }
code { font: .8em var(--mono); }
.skip { position: absolute; left: -10000px; top: 8px; z-index: 10; background: var(--ivory); padding: 12px 16px; border: 1px solid var(--ink); font: 14px var(--sans); }
.skip:focus { left: 8px; }
.page { width: min(100% - 80px, 1216px); margin: 0 auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font: 600 25px/1.2 var(--serif); letter-spacing: -.6px; text-decoration: none; white-space: nowrap; }
.wordmark svg { width: 24px; height: 24px; }
.masthead nav { display: flex; align-items: center; gap: 30px; font: 13px var(--sans); }
.masthead nav a { text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; }
.nav-action { border: 1px solid var(--ink); padding: 12px 16px; border-radius: 8px; }
.intro { display: grid; grid-template-columns: 1fr 1.14fr; align-items: center; gap: 64px; padding: 90px 0 75px; }
.eyebrow, .small-label { font: 500 12px/1.6 var(--sans); letter-spacing: .035em; }
.eyebrow { display: flex; gap: 10px; align-items: center; margin-bottom: 23px; }
.status { width: 8px; height: 8px; background: var(--clay); border-radius: 50%; }
h1 { font: 450 clamp(66px, 6.2vw, 86px)/.97 var(--serif); letter-spacing: -4px; }
h1 em { font-weight: 450; }
.lede { max-width: 450px; margin-top: 30px; font-size: 22px; line-height: 1.5; color: var(--muted); }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.button { display: inline-flex; gap: 24px; align-items: center; padding: 15px 20px; background: var(--clay); color: var(--ink); border-radius: 8px; text-decoration: none; font: 500 14px var(--sans); }
.button:hover { background: var(--clay-hover); }
.text-link { font: 500 13px/1.7 var(--sans); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.intro-note { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; color: var(--subtle); font: 11px/1.6 var(--sans); }
.specimen { padding: 24px; background: var(--manilla); border: 1px solid var(--line); border-radius: 24px; }
.specimen-top, .specimen-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; font: 11px/1.6 var(--sans); }
.specimen-top { margin-bottom: 18px; }
.specimen-bottom { margin-top: 18px; }
.comparison { position: relative; overflow: hidden; aspect-ratio: 3/2; border: 1px solid var(--line); border-radius: 16px; background: var(--ivory); }
.comparison img { width: 100%; height: 100%; object-fit: cover; }
.comparison .after { image-rendering: pixelated; }
.comparison .before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.divider { position: absolute; top: 0; bottom: 0; left: var(--split); width: 1px; background: var(--ivory); pointer-events: none; }
.divider span { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); background: var(--ivory); border-radius: 50%; font: 17px var(--sans); }
.image-label { position: absolute; bottom: 12px; padding: 5px 9px; border-radius: 5px; background: var(--ivory); font: 10px var(--sans); }
.original-label { left: 12px; }
.result-label { right: 12px; }
.comparison-control { display: grid; grid-template-columns: 1fr 1.2fr 35px; align-items: center; gap: 12px; margin-top: 18px; font: 10px/1.6 var(--sans); }
.comparison-control input { width: 100%; margin: 0; accent-color: var(--ink); }
.comparison-control output { text-align: right; font: 10px var(--mono); }
.swatches { display: inline-flex; flex: 0 0 auto; overflow: hidden; border-radius: 3px; }
.swatches i { display: block; width: 15px; height: 15px; }
.swatches.gameboy i:nth-child(1) { background: #0f380f; }
.swatches.gameboy i:nth-child(2) { background: #306230; }
.swatches.gameboy i:nth-child(3) { background: #8bac0f; }
.swatches.gameboy i:nth-child(4) { background: #9bbc0f; }
.swatches.ember i:nth-child(1) { background: #251d32; }
.swatches.ember i:nth-child(2) { background: #ab4e3b; }
.swatches.ember i:nth-child(3) { background: #e6ad62; }
.swatches.ember i:nth-child(4) { background: #f0e7d3; }
.swatches.cga i:nth-child(1) { background: #000; }
.swatches.cga i:nth-child(2) { background: #55ffff; }
.swatches.cga i:nth-child(3) { background: #ff55ff; }
.swatches.cga i:nth-child(4) { background: #fff; }
.swatches.clay i:nth-child(1) { background: #141413; }
.swatches.clay i:nth-child(2) { background: #3d3d3a; }
.swatches.clay i:nth-child(3) { background: #d97757; }
.swatches.clay i:nth-child(4) { background: #e3dacc; }
.swatches.clay i:nth-child(5) { background: #f0eee6; }
.swatches.clay i:nth-child(6) { background: #faf9f5; }
.ticker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 12px/1.6 var(--sans); }
.ticker span:not(:first-child) { border-left: 1px solid var(--line); padding-left: 20px; }
.section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; gap: 48px; align-items: end; margin-bottom: 38px; }
.section-heading .eyebrow { margin-bottom: 14px; }
h2 { font: 450 clamp(40px, 4.5vw, 56px)/1.07 var(--serif); letter-spacing: -1.8px; }
.section-heading > p { max-width: 365px; color: var(--muted); font-size: 21px; line-height: 1.5; }
.gallery-layout { display: grid; grid-template-columns: 1.5fr 1fr; align-items: stretch; gap: 28px; }
.feature-image { padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: var(--ivory); }
.feature-image img { width: 100%; image-rendering: pixelated; border-radius: 12px; }
.feature-caption { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; font: 12px var(--sans); }
.feature-caption span:last-child { color: var(--subtle); }
.study-menu { border: 1px solid var(--line); border-radius: 24px; padding: 26px; background: var(--ivory); }
.study-menu > .small-label { color: var(--subtle); margin-bottom: 18px; }
.study { width: 100%; display: grid; grid-template-columns: 28px 1fr 18px; gap: 14px; align-items: center; padding: 17px 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.study:first-child { border-top: 1px solid var(--line); }
.study.active { background: var(--oat); }
.study:hover { background: var(--paper); }
.study-num, .study > span:last-child { font: 11px var(--mono); color: var(--subtle); }
.study strong { display: block; font: 500 16px/1.4 var(--sans); }
.study small { display: block; margin-top: 4px; font: 12px/1.5 var(--sans); color: var(--subtle); }
.gallery-note { margin-top: 20px; font: 12px/1.6 var(--sans); color: var(--subtle); }
.palette-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.palette-grid figure { background: var(--ivory); border: 1px solid var(--line); border-radius: 24px; padding: 18px; min-width: 0; }
.palette-grid img { width: 100%; image-rendering: pixelated; border-radius: 12px; }
.palette-grid figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; font: 24px/1.2 var(--serif); letter-spacing: -.5px; }
.palette-grid figure > p { margin-top: 8px; font: 11px var(--sans); color: var(--subtle); }
.art-credit { margin-top: 24px; font: 11px/1.7 var(--sans); color: var(--subtle); }
.workflow-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; }
.prompt-card { padding: 34px; background: var(--manilla); border: 1px solid var(--line); border-radius: 24px; }
.prompt-card .small-label { color: var(--subtle); }
.prompt-card blockquote { font: 32px/1.3 var(--serif); letter-spacing: -.6px; margin-top: 26px; }
.tool-chain { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin-top: 34px; font: 12px var(--mono); }
.tool-chain span:nth-child(even) { color: var(--subtle); padding-left: 8px; }
.terminal { background: var(--ivory); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; min-width: 0; }
.terminal-bar { display: flex; justify-content: space-between; gap: 18px; padding: 18px 24px; border-bottom: 1px solid var(--line); font: 11px var(--sans); color: var(--subtle); }
.terminal-bar span:first-child { letter-spacing: 5px; }
.terminal pre { padding: 28px; font: 12px/1.9 var(--mono); }
.terminal code { font: inherit; }
.comment { color: var(--subtle); }
.command { font-weight: 600; }
.string { color: var(--ink); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.principles article { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--ivory); }
.principle-icon { display: block; margin-bottom: 20px; font: 25px var(--mono); }
.principles h3 { font: 28px/1.15 var(--serif); letter-spacing: -.6px; }
.principles p { margin-top: 16px; color: var(--muted); font-size: 19px; line-height: 1.5; }
.motion { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.motion > div > p:not(.eyebrow) { max-width: 390px; margin: 25px 0; color: var(--muted); font-size: 21px; }
.motion figure { padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--oat); }
.motion img { width: 100%; image-rendering: pixelated; border-radius: 12px; }
.motion figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; font: 11px/1.6 var(--sans); }
.motion button { padding: 8px 12px; border: 1px solid var(--ink); border-radius: 6px; background: var(--ivory); font: 11px var(--sans); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.demo-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: var(--ivory); min-width: 0; }
.demo-grid video { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.demo-grid h3 { font: 27px/1.2 var(--serif); letter-spacing: -.5px; margin-top: 22px; }
.demo-grid p { font-size: 19px; color: var(--muted); margin-top: 12px; }
.connect { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; border-bottom: 0; }
.connect-steps { margin: 28px 0 0; padding-left: 25px; max-width: 380px; color: var(--muted); font-size: 21px; }
.connect-steps li + li { margin-top: 10px; }
.install { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--ivory); min-width: 0; }
.install .small-label { color: var(--subtle); }
.install pre { padding: 19px 0 28px; font: 12px/1.85 var(--mono); }
.install code { font: inherit; }
.install-note { padding-top: 20px; border-top: 1px solid var(--line); font: 13px/1.7 var(--sans); color: var(--subtle); }
footer { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; padding: 40px; margin-bottom: 32px; border-radius: 24px; background: var(--ink); color: var(--ivory); }
footer .wordmark { font-size: 29px; }
footer > p { font: 23px/1.4 var(--serif); text-align: right; }
footer > span { font: 11px/1.7 var(--sans); color: var(--oat); }
.font-notices { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px 18px; font: 11px/1.7 var(--sans); color: var(--oat); }
.font-notices a { text-decoration: none; }
.font-notices a:hover { text-decoration: underline; }
@media (max-width: 1100px) {
  .page { width: min(100% - 56px, 1216px); }
  .intro { gap: 32px; padding-top: 70px; }
  h1 { font-size: 68px; letter-spacing: -3px; }
  .specimen { padding: 20px; }
  .comparison-control { grid-template-columns: 1fr 1fr 30px; gap: 8px; }
  .specimen-bottom { align-items: flex-start; }
  .specimen-bottom > span:last-child { max-width: 150px; text-align: right; }
  .gallery-layout { grid-template-columns: 1.3fr 1fr; gap: 20px; }
  .study-menu { padding: 20px; }
  .study { padding: 15px 8px; gap: 10px; }
  .palette-grid figcaption { font-size: 21px; }
  .principles article { padding: 22px; }
  .motion, .connect { gap: 40px; }
}
@media (max-width: 800px) {
  .page { width: calc(100% - 40px); }
  .masthead { align-items: flex-start; gap: 20px; padding: 24px 0; }
  .masthead nav { gap: 18px; font-size: 11px; }
  .nav-action { padding: 10px; }
  .intro { grid-template-columns: 1fr; gap: 44px; padding: 58px 0; }
  h1 { font-size: 80px; letter-spacing: -4px; }
  .lede { max-width: 560px; }
  .specimen { width: 100%; padding: 24px; }
  .comparison-control { grid-template-columns: 1fr 1fr 35px; }
  .specimen-bottom > span:last-child { max-width: none; }
  .ticker { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .ticker span:nth-child(3) { padding-left: 0; border-left: 0; }
  .section { padding: 68px 0; }
  .section-heading { align-items: start; gap: 32px; }
  .section-heading > p { max-width: 270px; font-size: 19px; }
  .gallery-layout, .workflow-grid, .motion, .connect { grid-template-columns: 1fr; }
  .study-menu { padding: 24px; }
  .palette-grid { gap: 16px; }
  .palette-grid figure { padding: 12px; border-radius: 16px; }
  .palette-grid figcaption { display: block; font-size: 21px; }
  .palette-grid .swatches { margin-top: 10px; }
  .principles { grid-template-columns: 1fr; gap: 16px; }
  .principles article { padding: 28px; }
  .principles p { max-width: 560px; }
  .motion { gap: 32px; }
  .motion > div > p:not(.eyebrow) { max-width: 560px; }
  .motion figure { max-width: 650px; }
  .demo-grid { gap: 20px; }
  .demo-grid article { padding: 16px; }
  .demo-grid h3 { font-size: 25px; }
  .demo-grid p { font-size: 18px; }
  .connect { gap: 32px; }
  footer { padding: 30px; }
}
@media (max-width: 520px) {
  .page { width: calc(100% - 32px); }
  .masthead { display: block; padding: 22px 0 16px; }
  .wordmark { font-size: 24px; }
  .masthead nav { margin-top: 22px; justify-content: space-between; gap: 12px; font-size: 11px; }
  .masthead nav .nav-action { border: 0; padding: 0; }
  .intro { padding: 44px 0; gap: 34px; }
  .eyebrow { font-size: 10px; margin-bottom: 20px; }
  h1 { font-size: clamp(59px, 16.6vw, 78px); letter-spacing: -3px; }
  .lede { font-size: 21px; margin-top: 24px; }
  .actions { gap: 22px; margin-top: 28px; }
  .button { padding: 14px 16px; gap: 16px; font-size: 12px; }
  .text-link { font-size: 12px; }
  .intro-note { font-size: 10px; gap: 12px; margin-top: 22px; }
  .specimen { padding: 16px; }
  .specimen-top, .specimen-bottom { font-size: 10px; gap: 10px; }
  .specimen-bottom { align-items: center; }
  .specimen-bottom > span:last-child { max-width: 170px; }
  .swatches i { width: 11px; height: 13px; }
  .comparison-control { grid-template-columns: 1fr 1fr 30px; font-size: 9px; }
  .ticker { font-size: 10px; gap: 14px; padding: 20px 0; }
  .ticker span:not(:first-child) { padding-left: 14px; }
  .ticker span:nth-child(3) { padding-left: 0; }
  .section { padding: 56px 0; }
  .section-heading { display: block; margin-bottom: 28px; }
  h2 { font-size: 43px; letter-spacing: -1.5px; }
  .section-heading > p { max-width: none; font-size: 20px; margin-top: 22px; }
  .feature-image, .study-menu { padding: 16px; }
  .feature-caption { font-size: 11px; }
  .study { padding: 17px 8px; }
  .palette-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
  .palette-grid figure { padding: 18px; border-radius: 24px; }
  .palette-grid figcaption { display: flex; font-size: 25px; }
  .palette-grid .swatches { margin-top: 0; }
  .palette-grid .swatches i { width: 15px; height: 15px; }
  .art-credit { font-size: 11px; }
  .prompt-card { padding: 26px; }
  .prompt-card blockquote { font-size: 30px; }
  .terminal-bar { padding: 17px; font-size: 10px; }
  .terminal pre { padding: 19px; font-size: 10px; }
  .principles article { padding: 26px; }
  .principles h3 { font-size: 29px; }
  .motion > div > p:not(.eyebrow) { font-size: 20px; }
  .motion figure { padding: 16px; }
  .motion figcaption { gap: 12px; font-size: 10px; }
  .motion button { font-size: 10px; padding: 8px; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-grid article { padding: 18px; }
  .demo-grid h3 { font-size: 27px; }
  .demo-grid p { font-size: 20px; }
  .connect-steps { font-size: 20px; }
  .install { padding: 22px; }
  .install pre { font-size: 10px; }
  .install .small-label { font-size: 11px; }
  .install-note { font-size: 12px; }
  footer { grid-template-columns: 1fr; gap: 20px; padding: 28px; }
  footer > p { text-align: left; }
  .font-notices { justify-content: flex-start; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
footer :focus-visible { outline-color: var(--ivory); }
