:root {
  color-scheme: dark;
  --bg: #121211;
  --surface: #1b1b19;
  --text: #f5f0e8;
  --muted: #aba79f;
  --accent: #ecb3a0;
  --line: #30302b;
  --coral: #ee897a;
  --sage: #a8c6ad;
  --lavender: #b8a8d8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
a[hidden], details[hidden] { display: none; }
.skip { position: fixed; top: -90px; left: 20px; padding: 12px; background: var(--text); color: var(--bg); z-index: 9; }
.skip:focus { top: 12px; }
header, main, footer { max-width: 1180px; margin: auto; }
header { height: 102px; display: flex; justify-content: space-between; align-items: center; padding: 0 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 650; letter-spacing: -.7px; }
nav { display: flex; align-items: center; gap: 32px; font-size: 13px; color: var(--muted); }
.nav-download { color: var(--text); padding: 9px 17px; border: 1px solid var(--line); border-radius: 24px; }
main { padding: 0 28px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 600px; padding: 54px 0 84px; gap: 60px; }
.eyebrow { font-size: 10px; letter-spacing: 1.6px; font-weight: 600; color: var(--accent); margin: 0; }
h1 { font-size: clamp(48px, 6.5vw, 84px); line-height: 1.03; font-weight: 530; letter-spacing: -4.5px; margin: 23px 0 25px; }
h1 span { color: var(--accent); }
h2 { font-size: 37px; line-height: 1.15; letter-spacing: -1.5px; font-weight: 550; margin: 20px 0; }
h3 { font-size: 17px; font-weight: 550; margin: 22px 0 10px; }
.lead { max-width: 440px; color: var(--text); font-size: 18px; line-height: 1.6; margin: 0 0 13px; }
.hero-description { max-width: 440px; color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 0 28px; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 35px; background: var(--accent); color: #29221d; font-size: 14px; font-weight: 600; padding: 13px 21px; border-radius: 28px; transition: background .18s, transform .18s; }
.primary:hover { background: #f4cabb; transform: translateY(-2px); }
.fine { color: var(--muted); font-size: 11px; margin: 14px 0; }
.mascot-definitions { position: absolute; overflow: hidden; }
.team-scene { --friend-a: var(--coral); --friend-b: var(--sage); --friend-c: var(--lavender); }
.team-scene[data-palette="garden"] { --friend-a: #a8c6ad; --friend-b: #efcf75; --friend-c: #94bce2; }
.team-scene[data-palette="twilight"] { --friend-a: #b8a8d8; --friend-b: #e7a3af; --friend-c: #a2afe3; }
.team-art { position: relative; height: 420px; isolation: isolate; }
.scene-orbit { position: absolute; border: 1px solid #34332e; border-radius: 50%; z-index: -1; }
.orbit-one { width: 315px; height: 315px; top: 28px; left: 72px; }
.orbit-two { width: 410px; height: 140px; top: 180px; left: 0; rotate: -13deg; border-color: #292923; }
.friend { position: absolute; width: 51%; color: var(--friend-a); animation: drift 8s ease-in-out infinite; transition: color .3s; will-change: auto; }
.friend svg { display: block; width: 100%; overflow: visible; filter: drop-shadow(0 18px 14px #0003); transition: transform .24s; }
.friend-a { top: -4px; left: 27%; rotate: 8deg; }
.friend-b { top: 151px; left: 0; width: 46%; rotate: -13deg; color: var(--friend-b); animation-duration: 9.5s; animation-delay: -3s; --blink-delay: -2.8s; }
.friend-c { top: 175px; left: 55%; width: 39%; rotate: 14deg; color: var(--friend-c); animation-duration: 10s; animation-delay: -6s; --blink-delay: -4.4s; }
.face-gaze { fill: #25232b; transform: translate(var(--gaze-x, 0px), var(--gaze-y, 0px)); transition: transform .15s ease-out; }
.eye-blink { transform-box: fill-box; transform-origin: center; animation: blink 6.8s infinite; animation-delay: var(--blink-delay, 0s); }
.smile { fill: none; stroke: #25232b; stroke-width: 2.8; stroke-linecap: round; }
.little-note { position: absolute; color: #b6afa3; font: italic 13px/1.4 Georgia, serif; letter-spacing: .2px; }
.note-a { top: 27px; right: 0; rotate: 8deg; }
.note-b { top: 382px; left: 11px; rotate: -7deg; }
.note-c { top: 388px; right: 3px; rotate: 5deg; }
.personality-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; font-size: 11px; color: var(--muted); }
.palette-controls { display: flex; gap: 0; }
.palette { width: 44px; height: 44px; border: 0; padding: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; }
.palette:before { content: ''; width: 16px; height: 16px; border: 3px solid var(--bg); border-radius: 50%; outline: 1px solid transparent; transition: outline-color .15s; }
.palette[aria-pressed="true"]:before { outline-color: #aea69a; }
.palette.warm:before { background: var(--coral); }
.palette.garden:before { background: var(--sage); }
.palette.twilight:before { background: var(--lavender); }
.motion-toggle { border: 0; border-radius: 50%; background: transparent; width: 44px; height: 44px; padding: 0; font-size: 11px; display: grid; place-items: center; }
.motion-toggle span { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.motion-toggle:disabled { opacity: .5; cursor: default; }
.motion-paused .friend { animation-play-state: paused; }
.motion-paused .eye-blink { animation: none; }
.motion-paused .face-gaze { transition: none; }
@media (hover: hover) { .team-scene:not(.motion-paused) .friend:hover svg { transform: rotate(-5deg) scale(1.035); } }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes blink { 0%, 43%, 47%, 100% { transform: scaleY(1); } 45% { transform: scaleY(.13); } }
.workspace { border: 1px solid var(--line); border-radius: 17px; overflow: hidden; box-shadow: 0 24px 60px #0003; }
.window-bar { height: 38px; padding: 0 16px; display: flex; align-items: center; gap: 6px; background: #1b1b19; border-bottom: 1px solid #262621; }
.window-bar i { display: block; width: 7px; height: 7px; background: #46443e; border-radius: 50%; }
.window-bar span { font-size: 10px; color: var(--muted); flex: 1; text-align: center; margin-right: 36px; }
.workspace-grid { display: grid; grid-template-columns: 210px 1fr 260px; min-height: 365px; background: #0e0e0d; }
.workspace aside { padding: 24px 12px; background: #151513; border-right: 1px solid #292823; position: relative; }
.workspace aside > strong { font-size: 13px; margin: 0 12px 24px; display: block; }
.bot-row { display: flex; gap: 10px; padding: 12px; border-radius: 9px; margin-bottom: 4px; align-items: center; }
.bot-row.selected { background: #292923; }
.bot-row .mini-mascot { width: 31px; }
.bot-row b { display: block; font-size: 12px; }
.bot-row small { font-size: 10px; color: var(--muted); }
.mini-mascot.sage { color: var(--sage); }
.mini-mascot.lavender { color: var(--lavender); }
.workspace-footer { position: absolute; bottom: 22px; left: 24px; font-size: 10px; color: var(--muted); }
.conversation { padding: 23px 26px; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.chat-title { align-self: center; display: flex; gap: 6px; align-items: center; background: #23231f; padding: 4px 12px; border-radius: 25px; font-size: 11px; margin-bottom: 30px; }
.chat-title .mini-mascot { width: 19px; }
.bubble { font-size: 12px; background: #272721; border-radius: 15px; padding: 12px 15px; max-width: 91%; line-height: 1.6; }
.bubble.user { align-self: flex-end; background: #393730; }
.recipe { display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-top: 7px; align-items: center; width: 91%; }
.recipe > span { color: var(--accent); background: #40342c; border-radius: 9px; width: 28px; height: 28px; text-align: center; }
.recipe b { font-size: 11px; display: block; }
.recipe small { font-size: 10px; color: var(--muted); }
.composer { font-size: 11px; color: #aaa69c; background: #282821; border-radius: 28px; padding: 10px 15px; margin-top: auto; width: 100%; display: flex; justify-content: space-between; }
.composer span { color: var(--text); }
.profile { padding: 30px 18px; border-left: 1px solid #292823; text-align: center; }
.profile > .mini-mascot { width: 65px; display: block; margin: 0 auto 10px; }
.profile > b { display: block; font-size: 15px; }
.profile > small { font-size: 10px; color: var(--muted); }
.tabs { display: flex; gap: 12px; justify-content: center; font-size: 10px; margin: 23px 0; }
.tabs span { padding: 4px 0; color: var(--muted); }
.tabs .current { color: var(--text); }
.file { border-top: 1px solid var(--line); display: flex; gap: 10px; text-align: left; padding: 14px 0; font-size: 11px; align-items: center; }
.file > span { font-size: 20px; color: var(--muted); }
.file small { display: block; font-size: 9px; color: var(--muted); }
.illustration-note { padding: 12px; margin: 0; text-align: center; font-size: 10px; color: var(--muted); border-top: 1px solid var(--line); background: #181814; }
.features { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 34px; padding: 105px 0; }
.features h2 { font-size: 30px; }
.features article { padding-top: 14px; }
.step { font-size: 11px; color: var(--accent); }
.features p:not(.eyebrow) { font-size: 13px; color: var(--muted); line-height: 1.8; }
.download { border: 1px solid var(--line); border-radius: 19px; padding: 50px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 65px; background: #1d1b18; }
#release-status { font-size: 14px; color: var(--muted); max-width: 420px; }
.download-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; min-height: 54px; }
#zip-link { font-size: 12px; color: var(--muted); text-decoration: underline; }
.pill { font-size: 9px; letter-spacing: 1.5px; color: var(--accent); }
.installation ol { list-style: none; padding: 0; counter-reset: steps; }
.installation li { counter-increment: steps; position: relative; padding-left: 30px; margin-bottom: 19px; }
.installation li:before { content: counter(steps); position: absolute; left: 0; top: 2px; font-size: 11px; color: var(--accent); }
.installation b { display: block; font-size: 13px; font-weight: 550; }
.installation span { font-size: 12px; color: var(--muted); }
.installation p { font-size: 11px; color: var(--muted); margin: 26px 0 0; }
details { border-bottom: 1px solid var(--line); padding: 19px 0; }
summary { cursor: pointer; font-size: 14px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary:after { content: '+'; color: var(--muted); }
details[open] summary:after { content: '−'; }
details p { color: var(--muted); font-size: 13px; }
code { font-size: 11px; overflow-wrap: anywhere; color: var(--accent); }
.questions { padding: 85px 0 100px; max-width: 720px; margin: auto; }
.questions h2 { font-size: 28px; margin-bottom: 28px; }
footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding: 25px 28px 35px; }
footer p, footer > a:last-child { font-size: 11px; color: var(--muted); }
@media (max-width: 900px) {
  .hero { gap: 20px; }
  h1 { letter-spacing: -3px; }
  .team-art { height: 310px; }
  .friend-b { top: 130px; }
  .friend-c { top: 140px; }
  .orbit-one { width: 245px; height: 245px; left: 45px; }
  .orbit-two { width: 310px; top: 145px; }
  .note-a { top: 0; font-size: 11px; }
  .note-b, .note-c { top: 280px; font-size: 11px; }
  .workspace-grid { grid-template-columns: 170px 1fr; }
  .profile { display: none; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .features > div { grid-column: 1 / -1; }
  .features h2 br { display: none; }
  .features h2 { margin-bottom: 0; }
  .download { padding: 35px; gap: 35px; }
}
@media (max-width: 600px) {
  header { height: 80px; padding: 0 22px; }
  main { padding: 0 22px; }
  nav { gap: 14px; }
  nav > a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; padding: 35px 0 60px; gap: 30px; }
  .team-scene { width: 100%; max-width: 330px; margin: auto; }
  .team-art { height: 295px; }
  .friend-b { top: 124px; }
  .friend-c { top: 144px; }
  .orbit-two { width: 95%; }
  .personality-controls { margin-top: 17px; }
  h1 { font-size: 60px; letter-spacing: -3px; }
  .lead { font-size: 17px; }
  .hero-description { font-size: 14px; }
  .workspace-grid { grid-template-columns: 1fr; }
  .workspace aside { display: none; }
  .conversation { min-height: 340px; padding: 20px; }
  .features { grid-template-columns: 1fr; padding: 65px 0; gap: 17px; }
  .features article { padding-top: 8px; }
  .features h3 { margin-top: 8px; }
  .features p:not(.eyebrow) { margin-top: 8px; }
  .download { grid-template-columns: 1fr; padding: 26px; gap: 27px; }
  .download h2 { font-size: 31px; }
  .questions { padding: 60px 0; }
  footer { gap: 20px; flex-wrap: wrap; padding: 24px 22px; }
  footer p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
}
