@font-face {
  font-family: Manrope;
  src: url('./assets/manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: JetBrains;
  src: url('./assets/mono.woff2') format('woff2');
  font-display: swap;
}
:root {
  font-family: Manrope, Arial, sans-serif;
  font-synthesis: none;
  color-scheme: dark;
  --bg: #10131d;
  --surface: #191f2c;
  --ink: #edf1fa;
  --muted: #acb6c9;
  --line: #30394b;
  --blue: #87a7ff;
  --green: #a8ce71;
  background: var(--bg);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--ink); }
body.image-is-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 5px; }
:where(button, a, [tabindex]):focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(64px, 6.4vw, 92px); font-weight: 750; letter-spacing: -.065em; line-height: 1.02; }
h2 { font-size: 40px; font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
h3 { font-size: 23px; font-weight: 600; letter-spacing: -.025em; line-height: 1.35; }
p { font-size: 17px; line-height: 1.75; color: var(--muted); }
svg { flex-shrink: 0; vertical-align: middle; }
.wrap { width: calc(100% - 96px); max-width: 1200px; margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 16px; transform: translateY(-160%); z-index: 10; padding: 12px 20px; border-radius: 6px; background: var(--blue); color: var(--bg); }
.skip-link:focus { transform: translateY(0); }
.nav { min-height: 92px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 750; letter-spacing: -.03em; }
.brand:hover { text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.nav nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.nav nav a { padding-block: 12px; }
.source-link { display: flex; align-items: center; gap: 7px; }
.source-link svg { width: 15px; height: 15px; }
.hero { text-align: center; padding-block: 42px 38px; }
.hero .intro { max-width: 590px; margin: 24px auto 26px; font-size: 17px; line-height: 1.7; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .actions { justify-content: center; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 23px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 700; line-height: 1.5; }
.button:hover { text-decoration: none; }
.primary { background: var(--blue); color: #111c38; }
.primary:hover { background: #9cb6ff; }
.secondary { border-color: var(--line); }
.secondary:hover { background: var(--surface); }
.availability { margin-top: 16px; font-size: 12px; line-height: 1.5; }
.stage { width: calc(100% - 56px); max-width: 1280px; padding: 18px 18px 0; border-radius: 16px; background: var(--blue); color: #111c38; }
.product-shot { width: 100%; min-width: 0; }
.workspace-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 2px 8px 18px; }
.workspace-heading > span { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 750; letter-spacing: -.02em; }
.workspace-heading .zoom-link { font-size: 12px; font-weight: 650; padding: 8px; }
.stage :where(button):focus-visible { outline-color: #111c38; }
.stage .screen-open:focus-visible { outline-offset: 3px; }
.screen-open { padding: 0; display: block; width: 100%; background: #1e1e1e; border: 1px solid #111c38; border-radius: 6px; overflow: hidden; box-shadow: 0 8px 20px #111c3826; cursor: zoom-in; }
.product-image { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.product-shot figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; line-height: 1.6; color: #253758; padding: 14px 8px; }
.zoom-link { background: transparent; white-space: nowrap; padding: 8px 0 8px 12px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.capabilities { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 22px; padding: 30px 0 34px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.capabilities span { display: flex; align-items: center; gap: 10px; }
.capabilities svg { width: 19px; color: var(--blue); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; padding-block: 92px 76px; }
.story h2 { max-width: 470px; font-size: 46px; line-height: 1.15; }
.story p + p { margin-top: 18px; }
.file-feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 8%; align-items: center; padding-block: 30px 90px; }
.feature-copy > svg { color: var(--blue); width: 28px; height: 28px; margin-bottom: 20px; }
.feature-copy h2 { margin-bottom: 24px; }
.feature-copy p { font-size: 16px; }
.feature-copy p + p { margin-top: 16px; }
.feature-copy code { font-family: JetBrains, monospace; font-size: .85em; color: var(--ink); }
.file-types { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; }
.file-types span { font-size: 12px; color: var(--ink); }
.file-closeup { position: relative; aspect-ratio: 1.1; overflow: hidden; border-radius: 9px; border: 1px solid #465063; background: #1e1e1e; }
.file-closeup img { position: absolute; width: 212%; max-width: none; height: auto; left: -102%; top: 0; }
.detail-caption { position: absolute; bottom: 12px; right: 12px; background: #282c35; color: #d3dbe9; padding: 7px 10px; border: 1px solid #464b58; border-radius: 4px; font-size: 11px; }
.feature-section { padding-block: 40px 80px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-heading p { font-size: 15px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 9%; }
.feature { padding-block: 32px 38px; border-top: 1px solid var(--line); min-width: 0; }
.feature-title { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.feature-title svg { align-self: flex-start; margin-top: 4px; color: var(--blue); width: 22px; }
.feature h3 { text-wrap: pretty; }
.feature > p { font-size: 15px; line-height: 1.85; }
.paste-example { display: flex; align-items: center; gap: 18px; padding: 18px; margin-top: 24px; background: var(--surface); border-radius: 8px; }
.paste-thumbnail { flex: 0 0 94px; padding: 5px; background: #252e40; border-radius: 4px; border: 1px solid #424e65; transform: rotate(-4deg); }
.paste-thumbnail img { width: 100%; height: auto; }
.paste-example figcaption { min-width: 0; display: grid; gap: 6px; }
.paste-example span { font-size: 12px; color: var(--muted); }
.paste-example code { font-family: JetBrains, monospace; font-size: 11px; overflow-wrap: anywhere; color: var(--ink); }
.paste-example small { font-size: 11px; color: var(--muted); }
.palette-examples { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.palette { padding: 16px; border-radius: 6px; border: 1px solid #42485e; font-size: 12px; }
.palette > div { display: flex; gap: 7px; margin-top: 12px; }
.palette i { display: block; width: 18px; height: 10px; border-radius: 2px; }
.palette-tokyo { background: #1a1b26; color: #c0caf5; }
.palette-tokyo i:nth-child(1) { background: #7aa2f7; }
.palette-tokyo i:nth-child(2) { background: #9ece6a; }
.palette-tokyo i:nth-child(3) { background: #bb9af7; }
.palette-tokyo i:nth-child(4) { background: #e0af68; }
.palette-solarized { background: #fdf6e3; color: #586e75; }
.palette-solarized i:nth-child(1) { background: #268bd2; }
.palette-solarized i:nth-child(2) { background: #859900; }
.palette-solarized i:nth-child(3) { background: #6c71c4; }
.palette-solarized i:nth-child(4) { background: #b58900; }
.persistence-note { font-size: 12px; max-width: 740px; margin-top: 8px; }
.install { border-top: 1px solid var(--line); padding-block: 80px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 8%; align-items: center; }
.install > div > img { width: 66px; height: 66px; margin-bottom: 24px; }
.install h2 { font-size: 36px; margin-bottom: 20px; }
.install p { font-size: 14px; }
.install > div > a { display: inline-block; font-size: 14px; margin-top: 20px; color: var(--blue); text-decoration: underline; text-underline-offset: 5px; }
.install-code { min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 24px; }
.code-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.code-heading button { display: flex; gap: 7px; align-items: center; background: #2a354b; font-size: 12px; padding: 9px 12px; border-radius: 5px; }
.code-heading button:hover { background: #354462; }
.code-heading svg { width: 15px; height: 15px; }
pre { font-family: JetBrains, monospace; font-size: 12px; line-height: 2.2; overflow-x: auto; margin: 0 0 22px; white-space: pre-wrap; overflow-wrap: anywhere; }
pre code { font-family: inherit; }
.install-code p { font-size: 12px; line-height: 1.7; }
.install-code p a { text-decoration: underline; text-underline-offset: 3px; }
.copy-status { display: block; font-size: 12px; color: var(--green); min-height: 18px; margin-top: 10px; }
.footer { padding-block: 28px 38px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer .brand { font-size: 16px; }
.footer .brand img { width: 38px; height: 38px; }
.footer > span, .footer > a:last-child { font-size: 12px; color: var(--muted); }
.image-dialog { width: min(1700px, 98vw); max-width: 98vw; max-height: 96vh; border: 1px solid #586177; border-radius: 12px; padding: 58px 12px 14px; background: var(--bg); color: var(--ink); box-shadow: 0 20px 100px #0009; }
.image-dialog::backdrop { background: #060912dc; }
.image-dialog img { width: 100%; height: auto; max-height: calc(96vh - 115px); object-fit: contain; }
.image-scroll { overflow: auto; max-height: calc(96vh - 122px); }
.image-dialog p { font-size: 12px; text-align: center; margin-top: 12px; color: var(--muted); }
.close-image { position: absolute; right: 12px; top: 10px; background: #2b3345; border-radius: 5px; padding: 7px 14px; font-size: 13px; display: flex; align-items: center; gap: 15px; min-height: 36px; }
.close-image span { font-size: 19px; }
.scroll-hint { display: none; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 56px); }
  .stage { width: calc(100% - 32px); }
  .story h2 { font-size: 38px; }
  h2 { font-size: 35px; }
  h3 { font-size: 21px; }
  .story, .feature-grid { column-gap: 6%; }
  .file-feature, .install { gap: 5%; }
  .paste-example { flex-direction: column; align-items: flex-start; }
  .paste-thumbnail { flex-basis: auto; width: 100px; }
  .install-code { padding: 20px; }
  .capabilities { font-size: 12px; gap: 18px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .nav { min-height: 80px; gap: 16px; }
  .brand { font-size: 18px; gap: 9px; }
  .brand img { width: 44px; height: 44px; }
  .nav nav { gap: 18px; font-size: 12px; }
  .nav nav > a:first-child { display: none; }
  .source-link svg { display: none; }
  h1 { font-size: clamp(30px, 10.1vw, 64px); letter-spacing: -.06em; }
  h2 { font-size: 32px; letter-spacing: -.035em; }
  h3 { font-size: 22px; }
  .hero { padding-block: 30px 30px; }
  .stage { width: calc(100% - 20px); padding: 8px 8px 0; border-radius: 10px; }
  .workspace-heading { padding: 4px 4px 10px; gap: 8px; }
  .workspace-heading > span { font-size: 12px; gap: 7px; }
  .workspace-heading > span svg { width: 17px; height: 17px; }
  .workspace-heading .zoom-link { font-size: 11px; padding: 10px 4px; }
  .story h2 { font-size: 34px; }
  .hero .intro { font-size: 16px; max-width: 440px; margin-block: 20px 23px; }
  .button { padding: 12px 16px; font-size: 13px; }
  .availability { font-size: 11px; margin-top: 15px; }
  .screen-open { border-radius: 6px; }
  .product-shot figcaption { font-size: 11px; padding-block: 8px; gap: 16px; }
  .product-shot figcaption > span { max-width: 100%; }
  .zoom-link { font-size: 11px; padding: 8px 0 8px 4px; }
  .capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 10px; padding-block: 20px 24px; font-size: 11px; }
  .capabilities span { gap: 8px; }
  .capabilities svg { width: 17px; }
  .story { grid-template-columns: 1fr; gap: 24px; padding-block: 56px; }
  .story p { font-size: 16px; }
  .file-feature { grid-template-columns: 1fr; gap: 30px; padding-block: 12px 55px; }
  .feature-copy p { font-size: 16px; }
  .feature-copy > svg { margin-bottom: 16px; }
  .file-closeup { aspect-ratio: 1.2; max-height: 470px; }
  .file-types { margin-top: 22px; }
  .feature-section { padding-block: 24px 50px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading p { margin-top: 18px; font-size: 15px; }
  .section-heading p br { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { padding-block: 27px 30px; }
  .feature-title { gap: 12px; margin-bottom: 14px; }
  .feature > p { font-size: 15px; }
  .paste-example { flex-direction: row; gap: 13px; padding: 15px; }
  .paste-thumbnail { flex: 0 0 70px; }
  .paste-example span, .paste-example small { font-size: 11px; }
  .paste-example code { font-size: 10px; }
  .palette { padding: 15px; }
  .persistence-note { font-size: 12px; margin-top: 10px; }
  .install { grid-template-columns: 1fr; gap: 30px; padding-block: 50px; }
  .install > div > img { width: 60px; height: 60px; margin-bottom: 20px; }
  .install h2 { font-size: 32px; }
  .install-code { padding: 18px; }
  pre { font-size: 12px; line-height: 2; }
  .footer { padding-block: 24px 32px; flex-wrap: wrap; gap: 18px; }
  .footer > span { order: 3; flex-basis: 100%; }
  .image-dialog { padding-inline: 8px; }
  .image-dialog .image-scroll img { width: 1600px; max-width: none; max-height: none; height: 900px; }
  .image-dialog p { font-size: 11px; }
  .scroll-hint { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
