@font-face { font-family: DM; src: url('assets/dm-sans.ttf'); font-display: swap; }
@font-face { font-family: Outfit; src: url('assets/outfit-black.ttf'); font-weight: 900; font-display: swap; }
:root { color-scheme: dark; --paper: #191d1a; --ink: #ecece2; --accent: #eea17e; --muted: #b1bca9; --line: #394138; --surface: #232a23; }
* { box-sizing: border-box; scrollbar-color: #65765a var(--paper); scrollbar-width: thin; }
html { scroll-behavior: auto; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 DM, Arial, sans-serif; }
button, input { font: inherit; }
button, a { color: inherit; }
button { cursor: pointer; }
a { text-underline-offset: 4px; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--paper); }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.symbols { position: absolute; width: 0; height: 0; }
.site-header, main, footer { max-width: 1280px; margin: auto; padding-inline: 40px; }
.site-header { height: 100px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; font: 900 29px/1 Outfit, sans-serif; letter-spacing: -.03em; text-decoration: none; }
.brand-mark { background: var(--accent); color: var(--paper); width: 31px; height: 31px; display: grid; place-items: center; margin-right: 10px; }
.brand-mark svg { width: 24px; height: 24px; }
.brand-dot { color: var(--accent); }
nav { display: flex; gap: 27px; font-size: 14px; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover, footer a:hover { color: var(--accent); }
.skip-link { position: absolute; top: 8px; left: 12px; padding: 8px 12px; background: var(--surface); z-index: 20; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; padding: 37px 0 45px; }
h1 { font: 900 clamp(40px, 4.5vw, 57px)/1.05 Outfit, sans-serif; letter-spacing: -.03em; margin: 0; }
h1 span { color: var(--accent); }
.utility-meta { margin: 20px 0 0; font-size: 14px; color: var(--muted); }
.download-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin: 20px 0 12px; }
.download-button { display: inline-flex; flex-direction: column; gap: 2px; background: var(--accent); color: var(--paper); padding: 12px 22px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.download-button span { font-size: 12px; font-weight: 400; }
.download-button:hover { background: #f2b397; }
.install-details { border-top: 1px solid var(--line); padding: 14px 0; color: var(--muted); }
.install-details summary { cursor: pointer; color: var(--ink); }
.release-notes { max-width: 880px; padding-block: 40px 60px; }
.release-notes h2 { margin-top: 36px; font-size: 25px; }
.release-notes li { margin-block: 8px; }
.intro-description { margin: 0; max-width: 47ch; color: var(--muted); font-size: 17px; line-height: 1.8; }
h2 { font: 900 30px/1.15 Outfit, sans-serif; letter-spacing: -.025em; margin: 0; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; margin: 0 0 22px; }
.section-heading p { font-size: 14px; color: var(--muted); margin: 0; max-width: 57ch; }
.demo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; align-items: start; }
.desktop { position: relative; height: 540px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.desktop-bar { display: flex; align-items: center; gap: 12px; height: 31px; padding: 0 13px; background: #20261f; color: #c9d1c2; font-size: 8px; border-bottom: 1px solid var(--line); }
.desktop-app { font-weight: bold; }
.menu-sun { margin-left: auto; background: none; color: inherit; border: 0; width: 26px; height: 26px; padding: 4px; display: grid; place-items: center; }
.menu-sun svg { width: 16px; height: 16px; }
.workspace-context { position: absolute; left: 3%; right: 48%; top: 49px; bottom: 38px; display: grid; grid-template-rows: 1.15fr 1fr; gap: 12px; color: #c3d0b9; }
.workspace-browser, .workspace-terminal { min-height: 0; overflow: hidden; background: #1d231e; border: 1px solid #384333; }
.workspace-title { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 9px; color: #aebea3; font-size: 8px; background: #252e23; }
.workspace-lights { color: #819377; font-size: 5px; white-space: nowrap; }
.browser-tabs { display: flex; gap: 14px; padding: 8px 12px; color: #b5c5aa; font-size: 8px; border-bottom: 1px solid #333f2d; }
.browser-tabs span:first-child { color: #e0e7d9; }
.browser-document { padding: 17px 14px; }
.browser-document > span { color: #aebda2; font-size: 7px; letter-spacing: .07em; }
.browser-document h3 { font-size: 17px; font-weight: normal; margin: 10px 0; }
.browser-document p { font-size: 10px; line-height: 1.6; color: #b4c3a8; margin: 0; }
.dark-document-lines { display: grid; gap: 7px; margin-top: 18px; }
.dark-document-lines i { height: 2px; background: #3a4933; width: 84%; }
.dark-document-lines i:nth-child(2) { width: 63%; }
.dark-document-lines i:last-child { width: 74%; }
.workspace-terminal pre { font: 9px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; color: #c0d1b2; padding: 13px; margin: 0; white-space: pre-wrap; }
.terminal-prompt { color: #e2bb83; }
.terminal-success, .terminal-cursor { color: #b4cd9f; }
.terminal-muted { color: #aebda2; }
.shared-window { position: absolute; left: 55%; right: 1.5%; top: 53px; bottom: 38px; background: #f7f7f1; color: #2a3027; color-scheme: light; z-index: 0; box-shadow: 0 9px 22px -12px #0009; }
.window-bar { height: 26px; display: flex; align-items: center; gap: 4px; background: #343e31; padding: 0 8px; }
.window-bar i { width: 4px; height: 4px; border: 1px solid #a0ae95; border-radius: 50%; }
.window-bar > span { color: #dae2d3; font-size: 8px; margin: auto; }
.demo-document { height: calc(100% - 26px); overflow: hidden; }
.demo-document article { padding: 25px 17px; overflow: hidden; }
.demo-document article > span { font-size: 7px; color: #58634c; letter-spacing: .03em; }
.demo-document h3 { font: 900 29px/1.05 Outfit, sans-serif; letter-spacing: -.025em; margin: 17px 0 14px; }
.demo-document article > p { font-size: 10px; line-height: 1.7; color: #58634c; margin: 0; }
.note-check { display: flex; flex-direction: column; gap: 11px; margin-top: 22px; font-size: 10px; }
.note-check button { align-self: flex-start; color: inherit; border: 0; background: none; padding: 0; text-align: left; font-size: inherit; }
.note-check > span::before, .note-check button > span { content: ''; display: inline-block; width: 8px; height: 8px; border: 1px solid #8a937e; margin-right: 6px; vertical-align: middle; }
.note-check button[aria-pressed=true] { text-decoration: line-through; }
.note-check button[aria-pressed=true] > span { background: #657452; }
.demo-document article > .try-click { font-size: 8px; margin-top: 22px; }
.stage-floating-ui { position: absolute; right: 9px; top: 36px; background: #293725; color: #cadcbe; padding: 1px 4px; font-size: 6px; z-index: 2; pointer-events: none; }
.tint { position: absolute; left: 44%; top: 94px; width: 48%; height: calc(100% - 156px); z-index: 3; pointer-events: none; outline: 1px solid #edbc8970; }
.tint-color { width: 100%; height: 100%; background: var(--tint, #261a00); opacity: var(--opacity, .3); pointer-events: none; }
.tint.moving { outline: 2px solid #e5b780; pointer-events: auto; }
.tint.off { visibility: hidden; }
.drag-handle, .resize-handle { display: none; position: absolute; pointer-events: auto; touch-action: none; border: 0; }
.drag-handle { top: 0; left: 0; right: 0; height: 30px; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px; color: #fff0d9; background: #443827; font-size: 10px; cursor: move; }
.drag-handle svg { width: 15px; height: 15px; }
.resize-handle { right: 0; bottom: 0; width: 28px; height: 28px; background: #e5b780; color: #211d16; padding: 4px; cursor: nwse-resize; }
.resize-handle svg { width: 20px; height: 20px; }
.moving .drag-handle { display: flex; }
.moving .resize-handle { display: block; }
.desktop-dock { display: flex; gap: 5px; position: absolute; left: 50%; bottom: 15px; transform: translateX(-50%); background: #35412b66; padding: 4px; border-radius: 6px; }
.desktop-dock span { width: 16px; height: 16px; border-radius: 3px; background: #8e704a; }
.desktop-dock span:nth-child(2) { background: #576e73; }
.desktop-dock span:nth-child(3) { background: #9b9f90; }
.desktop-dock span:nth-child(4) { background: #5d7253; }
.desktop-dock span:nth-child(5) { background: #806252; }
.demo-caption { position: absolute; bottom: 2px; left: 10px; font-size: 6px; letter-spacing: .08em; color: #aebda2; }
.controls { background: var(--surface); padding: 22px; }
.control-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.control-title h3 { font-size: 15px; margin: 0; font-weight: normal; display: flex; align-items: center; gap: 9px; }
.control-title h3 svg { width: 20px; height: 20px; color: var(--accent); }
.show-control { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.toggle { width: 38px; height: 24px; padding: 3px; background: var(--accent); border: 0; border-radius: 13px; position: relative; flex-shrink: 0; }
.toggle > span { position: absolute; right: 3px; top: 3px; width: 18px; height: 18px; background: #20271e; border-radius: 50%; }
.toggle[aria-checked=false] { background: #7a8871; }
.toggle[aria-checked=false] > span { right: 17px; }
.mode-group { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; border: 0; padding: 0; margin: 20px 0 0; }
.mode-group legend { font-size: 13px; padding: 0; margin-bottom: 9px; }
.mode-choice { padding: 11px 8px; background: none; color: var(--muted); border: 1px solid #526148; text-align: left; border-radius: 4px; }
.mode-choice[aria-pressed=true] { color: var(--ink); border-color: var(--accent); background: #3c3930; }
.mode-choice > span { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.mode-choice svg { width: 15px; height: 15px; }
.mode-choice small { display: block; font-size: 11px; margin-top: 5px; white-space: nowrap; }
.control-hint { font-size: 12px; line-height: 1.65; color: var(--muted); margin: 13px 0 20px; }
.range-label { display: flex; justify-content: space-between; font-size: 14px; }
.range-label output { font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; accent-color: var(--accent); margin: 10px 0 18px; cursor: pointer; }
.presets { border: 0; padding: 0; margin: 0; display: flex; gap: 7px; }
.presets legend { font-size: 13px; margin-bottom: 9px; padding: 0; }
.preset { display: flex; align-items: center; justify-content: center; gap: 5px; flex: 1; border: 1px solid #586450; background: transparent; color: var(--ink); padding: 9px 6px; font-size: 12px; border-radius: 4px; }
.preset.active { border-color: #b9c8aa; background: #3d4938; }
.preset i { width: 7px; height: 7px; border-radius: 50%; background: #d1a15d; }
.preset[data-preset=blue] i { background: #8eaace; }
.preset[data-preset=gray] i { background: #b1b9aa; }
.custom-color { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; margin: 19px 0 17px; }
.custom-color input { width: 34px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; }
.reset { border: 0; border-bottom: 1px solid #92a482; padding: 0; background: none; color: var(--muted); font-size: 12px; }
.demo-feedback { font-size: 14px; line-height: 1.65; margin: 16px 0 4px; }
.demo-note { font-size: 12px; color: var(--muted); margin: 0; }
.setup { display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; border-top: 1px solid var(--line); margin-top: 54px; padding-top: 40px; }
.setup p, .setup li { font-size: 14px; color: var(--muted); line-height: 1.85; }
.setup p { margin: 16px 0; }
.setup ol { padding-left: 20px; margin: 22px 0; }
.setup li { padding-left: 5px; margin-bottom: 12px; }
.setup strong { color: var(--ink); font-weight: 500; }
.setup code { font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: #d4dfcb; }
.clone-command { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--line); background: #20261f; }
.clone-command code { overflow-wrap: anywhere; flex: 1; min-width: 0; }
.clone-command button { border: 1px solid #65765a; border-radius: 4px; background: none; padding: 4px 10px; font-size: 12px; }
.setup .source-note { font-size: 12px; }
.usage-note { padding-top: 5px; }
.usage-note h3 { font-size: 18px; font-weight: normal; margin: 0 0 19px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 38px; padding-top: 20px; padding-bottom: 25px; font-size: 12px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media(max-width: 1000px) {
  .site-header, main, footer { padding-inline: 26px; }
  .intro { gap: 40px; }
  .intro-description { font-size: 15px; }
  .demo-layout { grid-template-columns: minmax(0, 1fr) 285px; gap: 16px; }
  .controls { padding: 19px; }
  .browser-document { padding: 13px 9px; }
  .browser-document h3 { font-size: 14px; }
  .workspace-terminal pre { font-size: 8px; padding: 12px 9px; }
  .demo-document article { padding: 24px 12px; }
  .demo-document h3 { font-size: 25px; }
  .demo-document article > p, .note-check { font-size: 9px; }
  .setup { gap: 35px; }
}
@media(max-width: 740px) {
  .site-header, main, footer { padding-inline: 22px; }
  .site-header { height: 82px; }
  .brand { font-size: 25px; }
  .brand-mark { width: 27px; height: 27px; margin-right: 7px; }
  .brand-mark svg { width: 21px; height: 21px; }
  nav { font-size: 12px; gap: 16px; }
  .intro { display: block; padding: 25px 0 35px; }
  h1 { font-size: 43px; }
  .utility-meta { margin-top: 17px; font-size: 13px; }
  .intro-description { margin-top: 22px; font-size: 16px; line-height: 1.75; }
  h2 { font-size: 27px; }
  .section-heading { display: block; margin-bottom: 19px; }
  .section-heading p { margin-top: 10px; font-size: 14px; line-height: 1.7; }
  .demo-layout { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .desktop { height: 375px; }
  .desktop-bar { font-size: 7px; padding: 0 10px; gap: 9px; }
  .workspace-context { left: 2.5%; gap: 10px; }
  .workspace-title { font-size: 5px; gap: 4px; padding: 0 6px; }
  .workspace-lights { font-size: 4px; }
  .browser-tabs { font-size: 6px; gap: 9px; padding: 8px; }
  .browser-document { padding: 13px 8px; }
  .browser-document > span { font-size: 5px; }
  .browser-document h3 { font-size: 12px; margin: 8px 0; }
  .browser-document p { font-size: 7px; }
  .dark-document-lines { margin-top: 11px; }
  .workspace-terminal pre { font-size: 6px; padding: 10px 7px; }
  .window-bar { padding: 0 5px; gap: 3px; }
  .window-bar i { width: 3px; height: 3px; }
  .window-bar > span { font-size: 6px; }
  .demo-document article { padding: 22px 10px; }
  .demo-document article > span { font-size: 5px; }
  .demo-document h3 { font-size: 22px; margin-top: 14px; }
  .demo-document article > p, .note-check { font-size: 7px; }
  .note-check { gap: 8px; margin-top: 17px; }
  .demo-document article > .try-click { font-size: 6px; margin-top: 17px; }
  .tint { left: 43%; width: 49%; height: calc(100% - 152px); }
  .drag-handle { font-size: 8px; padding: 0 6px; }
  .drag-handle svg { width: 12px; height: 12px; }
  .controls { padding: 23px; }
  .control-title h3 { font-size: 16px; }
  .show-control { font-size: 14px; }
  .mode-choice { padding: 13px 11px; }
  .mode-choice > span { font-size: 14px; }
  .mode-choice small { font-size: 12px; }
  .range-label { font-size: 15px; }
  .preset { font-size: 13px; }
  .custom-color { font-size: 14px; }
  .control-hint { font-size: 13px; }
  .setup { display: block; margin-top: 38px; padding-top: 29px; }
  .setup p, .setup li { font-size: 15px; }
  .usage-note { border-top: 1px solid var(--line); padding-top: 25px; margin-top: 25px; }
  footer { font-size: 11px; gap: 15px; margin-top: 29px; }
}
@media(prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

@media(max-width:380px) {
  .site-header, main, footer { padding-inline: 16px; }
  .brand { font-size: 23px; }
  .brand-mark { width: 25px; height: 25px; }
  nav { gap: 11px; font-size: 11px; }
  .controls { padding: 20px; }
  h1 { font-size: 40px; }
}
@media(max-width:740px) { .note-check button { min-height: 24px; } }
