@font-face { font-family: 'Instrument Sans'; src: url('assets/fonts/instrument-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('assets/fonts/instrument-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('assets/fonts/instrument-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
:root { color-scheme: dark; --bg: #050505; --surface: #101010; --text: #ededed; --brand: #f4ede4; --muted: #a7a5a2; --line: #292929; --accent: #dac3a2; --paper: #f2eee8; --font: 'Instrument Sans', sans-serif; --mono: 'Cascadia Code', Consolas, 'Liberation Mono', monospace; --scene-opacity: 1; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
::selection { background: #dac3a2; color: var(--bg); }
.container { width: min(1224px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 50; padding: 12px 20px; color: var(--bg); background: var(--paper); }
.skip-link:focus { top: 12px; }
h1, h2, p, figure { margin: 0; }
h1, h2 { color: var(--brand); font-weight: 500; }
h1 { font-size: clamp(62px, 7.2vw, 104px); line-height: .98; letter-spacing: -.065em; }
h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -.045em; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; background: linear-gradient(#050505 25%, #050505e8 75%, #05050500); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 32px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.brand img { width: 30px; height: 30px; }
.motion-toggle { margin-left: auto; border: 1px solid var(--line); background: #050505; min-height: 44px; padding: 8px 14px; border-radius: 2px; font: 12px var(--mono); white-space: nowrap; }
.header-link { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 4px; color: var(--muted); font-size: 13px; }
.header-link:hover { color: var(--brand); }
.header-link + .motion-toggle { margin-left: 0; }
.motion-toggle:hover { border-color: #6c6256; }
.motion-symbol { display: none; }
.hero-scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; opacity: var(--scene-opacity); }
.hero-canvas { position: absolute; width: 100%; height: 100%; inset: 0; opacity: 0; }
.scene-ready .hero-canvas { opacity: 1; }
.hero-scene-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #050505ed 0%, #05050580 35%, transparent 70%), linear-gradient(0deg, #05050555, transparent 45%); }
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-block: 120px 130px; }
.hero-content { position: relative; }
.hero-description { max-width: 420px; margin-top: 30px; font-size: 18px; line-height: 1.65; color: #c4c0ba; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 34px; padding: 12px 20px; border-radius: 2px; font-size: 14px; font-weight: 500; margin-top: 34px; }
.button-primary { color: var(--bg); background: var(--paper); }
.button-primary:hover { background: #ded7cd; }
.hero-downloads { max-width: 430px; }
.download-platforms { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.download-platforms a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }
.download-platforms a:hover, .download-platforms a[aria-current="true"] { color: var(--brand); }
.download-platforms a[aria-current="true"] { text-decoration: underline; text-underline-offset: 5px; }
.download-platforms span { font: 10px var(--mono); color: var(--muted); }
.download-status { color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 12px; }
.download-status a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.download-status a:hover { color: var(--brand); }
.button-label { display: inline-flex; align-items: center; gap: 10px; }
/* Platform marks take the text colour: the SVG is only a mask. */
.platform-icon { display: inline-block; flex: none; width: 1.15em; height: 1.15em; background: currentColor; mask: center / contain no-repeat; }
.platform-icon[hidden] { display: none; }
.platform-icon-windows { mask-image: url("assets/platforms/windows.svg"); }
.platform-icon-linux { mask-image: url("assets/platforms/linux.svg"); }
.platform-icon-apple { mask-image: url("assets/platforms/apple.svg"); }
.download-status-warning { color: var(--accent); }
.downloads { max-width: 1224px; padding-block: 60px 60px; }
.downloads-lead { max-width: 620px; margin-top: 16px; color: var(--muted); line-height: 1.7; }
.downloads-lead a, .download-warning a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.download-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 34px; background: var(--line); border: 1px solid var(--line); }
.download-card { padding: 22px 22px 24px; background: #050505f0; }
.download-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--brand); font-size: 18px; font-weight: 500; }
.download-arch { margin-left: auto; color: var(--muted); font: 11px var(--mono); text-align: right; }
.download-card ul { margin: 0; padding: 0; list-style: none; }
.download-file { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.download-file:hover { color: var(--brand); }
.download-file > span:first-child { display: flex; flex-direction: column; }
.download-needs, .download-variant { margin-top: 2px; color: var(--accent); font-size: 11px; }
.download-variant { color: var(--muted); }
.download-size { flex: none; color: var(--muted); font: 12px var(--mono); }
.download-hint a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.download-hint, .download-soon { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.download-soon { margin-top: 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.download-warning { margin-top: 24px; padding: 18px 22px; border-left: 2px solid var(--accent); background: #dac3a20d; color: #c4c0ba; font-size: 14px; line-height: 1.7; }
.download-warning strong { color: var(--brand); font-weight: 600; }
.download-warning ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; margin: 14px 0; padding: 0; list-style: none; }
.download-warning li { display: flex; flex-direction: column; min-width: 0; }
.download-warning li span { color: var(--muted); font-size: 12px; }
.download-warning code { font: 13px var(--mono); color: var(--text); overflow-wrap: anywhere; }
.hero-bottom { position: absolute; bottom: 40px; left: 0; right: 0; }
.hero-explore { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; color: var(--muted); font-size: 13px; }
.hero-explore:hover { color: var(--brand); }
.product-story { position: relative; }
.chapter { padding-top: 60px; padding-bottom: clamp(80px, 10vh, 130px); scroll-margin-top: 100px; }
.chapter-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 28px; }
.chapter-heading p { color: #bbb7b1; max-width: 610px; margin-top: 15px; line-height: 1.65; }
.capture { position: relative; }
.live-demo { position: relative; aspect-ratio: 8 / 5; overflow: hidden; background: #0a0a0a center / cover no-repeat; border: 1px solid #38322a; border-radius: 2px; }
.live-demo iframe { position: absolute; inset: 0 auto auto 0; width: 1440px; height: 900px; border: 0; transform: scale(var(--live-scale, 1)); transform-origin: 0 0; pointer-events: none; }
/* Watch-only: nothing inside a demo can be clicked, focused or selected. */
.live-demo { user-select: none; -webkit-user-select: none; }
.live-demo::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.live-demo[data-demo="workspace"] { background-image: url(assets/live-posters/workspace.jpg); }
.live-demo[data-demo="git"] { background-image: url(assets/live-posters/git.jpg); }
.live-demo[data-demo="testing"] { background-image: url(assets/live-posters/testing.jpg); }
.live-demo[data-demo="plugins"] { background-image: url(assets/live-posters/plugins.jpg); }
.live-demo[data-demo="personalization"] { background-image: url(assets/live-posters/personalization.jpg); }
.live-demo[data-demo="mcp"] { background-image: url(assets/live-posters/mcp.jpg); }
.live-demo[data-demo="skills"] { background-image: url(assets/live-posters/skills.jpg); }
.live-demo[data-demo="documents"] { background-image: url(assets/live-posters/documents.jpg); }
.recording-actions { display: flex; justify-content: flex-end; align-items: center; gap: 16px; min-height: 44px; margin-top: 14px; }
.live-hint { margin-right: auto; color: var(--muted); font-size: 12px; }
.recording-replay { background: none; color: var(--accent); border: 0; padding: 0 2px; min-height: 44px; font-size: 12px; }
.recording-replay span { margin-left: 8px; }
.faq { max-width: 950px; padding-block: 36px 100px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 12px 84px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.legal-links a { display: inline-flex; align-items: center; min-height: 44px; }
.legal-links a:hover, .legal-links a[aria-current="page"] { color: var(--brand); }
.maker-credit { position: fixed; right: 20px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 20; background: var(--bg); padding-inline: 10px; color: var(--muted); font-size: 12px; }
.maker-credit a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.maker-credit span { color: var(--brand); }
.maker-credit a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.faq h2 { margin-bottom: 34px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); background: #050505e8; }
.faq-list summary { position: relative; list-style: none; cursor: pointer; font-size: 18px; padding: 23px 40px 23px 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 3px; top: 21px; font-size: 22px; color: var(--muted); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { color: var(--muted); max-width: 740px; padding: 0 25px 26px 0; line-height: 1.75; }
@media (max-width: 1000px) { .download-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .container { width: calc(100% - 56px); } h1 { font-size: clamp(68px, 9vw, 88px); } .hero-description { max-width: 380px; } }
@media (max-width: 680px) {
  html { scroll-padding-top: 85px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 76px; gap: 10px; padding-bottom: 0; }
  .brand { font-size: 18px; gap: 7px; }
  .brand img { width: 25px; height: 25px; }
  .motion-toggle { width: 44px; padding: 0; flex-shrink: 0; }
  .motion-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .motion-symbol { display: inline; }
  .motion-symbol::before { content: 'Ⅱ'; font: 18px var(--font); }
  .motion-toggle[aria-pressed="true"] .motion-symbol::before { content: '▷'; }
  .hero { min-height: 100svh; align-items: start; padding-block: 140px 140px; }
  h1 { font-size: clamp(54px, 13.5vw, 84px); letter-spacing: -.065em; }
  .hero-description { max-width: 300px; font-size: 16px; margin-top: 24px; }
  .hero-scene-shade { background: linear-gradient(180deg, #050505d9 0%, #05050580 36%, transparent 72%); }
  .button { margin-top: 24px; }
  .hero-downloads .button { gap: 16px; max-width: 100%; }
  .hero-bottom { bottom: 32px; }
  .chapter { padding-top: 32px; padding-bottom: 70px; }
  .chapter-heading { align-items: start; flex-direction: column; gap: 12px; padding-bottom: 18px; }
  .chapter-heading p { font-size: 15px; margin-top: 14px; }
  h2 { font-size: 32px; }
  .downloads { padding-block: 32px 40px; }
  .download-grid, .download-warning ul { grid-template-columns: 1fr; }
  .download-warning { padding: 16px; }
  .faq { padding-block: 20px 120px; }
  .faq h2 { margin-bottom: 26px; }
  .faq-list summary { font-size: 16px; padding-block: 20px; }
  .faq-list details p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
