:root {
  color-scheme: dark;
  --bg: #171311;
  --surface: #221b18;
  --line: #46342d;
  --paper: #fff3e9;
  --muted: #c9b4a8;
  --accent: #ff906a;
  --gold: #ffd08f;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--paper);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
img { display: block; }
figure, p { margin: 0; }
.wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.header { display: flex; align-items: center; justify-content: space-between; min-height: 86px; border-bottom: 1px solid var(--line); gap: 18px; }
.header nav { display: flex; align-items: center; gap: clamp(15px, 3vw, 44px); color: var(--muted); font-size: .94rem; }
.header nav a:hover { color: var(--paper); }
.brand { display: block; flex: none; }
.language { border: 1px solid var(--line); padding: 8px 12px; border-radius: 9px; color: var(--paper); font: .8rem var(--mono); }
.hero { display: grid; grid-template-columns: .95fr 1.15fr; align-items: center; gap: clamp(24px, 4vw, 66px); padding-block: clamp(46px, 6vw, 104px) clamp(40px, 6vw, 88px); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--gold); font: 600 .73rem/1.5 var(--mono); letter-spacing: .09em; }
.eyebrow i, .clock-stage i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: var(--accent); flex: none; }
h1 { font-size: clamp(3rem, 5.55vw, 5.8rem); line-height: 1.01; letter-spacing: -.075em; margin: 22px 0; font-weight: 690; }
h1 em { color: var(--accent); font-style: normal; }
.intro { max-width: 31rem; color: var(--muted); line-height: 1.63; font-size: clamp(1rem, 1.45vw, 1.22rem); }
.button { display: inline-flex; gap: 24px; align-items: center; margin-top: 26px; padding: 13px 18px; background: var(--accent); color: #21140f; border-radius: 10px; font-weight: 650; }
.button:hover { background: #ffad8e; }
.button span { font-size: 1.25rem; }
.desktop {
  min-height: clamp(346px, 35vw, 510px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center end;
  padding: 30px 6%;
  border-radius: 24px;
  border: 1px solid #ad6550;
  background: radial-gradient(ellipse at 8% 20%, #ffe0aa 0, #e59874 34%, transparent 71%), linear-gradient(135deg, #d37e5f 27%, #8e4436 79%, #5d2d2b);
}
.desktop::before, .desktop::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.desktop::before { background: repeating-linear-gradient(137deg, transparent 0 43px, #ffead324 44px 45px, transparent 46px 60px); mask-image: linear-gradient(125deg, #000, transparent 78%); }
.desktop::after { border: 1px solid #ffe6c146; border-radius: 50%; width: 112%; height: 120%; transform: rotate(-27deg); top: 20%; left: -46%; box-shadow: 0 0 0 45px #fff2df13, 0 0 0 46px #ffe6c130, 0 0 0 95px #fff2df0b, 0 0 0 96px #ffe6c12b; }
.desktop-window { position: absolute; z-index: -1; width: 65%; height: 62%; left: 8%; top: 18%; border: 1px solid #fff5e76c; background: #fff5e828; border-radius: 14px; }
.window-chrome { display: block; padding: 11px 14px; border-bottom: 1px solid #fff4e55e; color: #703b31; font-size: 8px; }
.skeleton { display: grid; gap: 13px; padding: 25px 14%; }
.skeleton i { width: 65%; height: 6px; border-radius: 8px; background: #74402e36; }
.skeleton i:nth-child(1) { width: 44%; height: 12px; margin-bottom: 7px; background: #74402e68; }
.skeleton i:nth-child(4) { width: 54%; }
.island { width: min(59%, 320px); min-width: 208px; background: #231b19; border: 1px solid #856356; border-radius: 18px; padding: 12px; box-shadow: 0 17px 40px #33191775; font-size: .82rem; }
.island-top { display: flex; align-items: center; gap: 7px; padding: 1px 0 10px; font-weight: 650; }
.more { margin-left: auto; color: var(--muted); font: 1.1rem/1 var(--mono); }
.island-nav { display: flex; justify-content: space-around; gap: 4px; color: var(--muted); background: #191412; border-radius: 9px; padding: 4px; font-size: .74rem; }
.island-nav > * { flex: 1; text-align: center; padding: 5px 2px; white-space: nowrap; }
.island-nav b { background: #4a3129; color: var(--paper); border-radius: 6px; font-weight: 600; }
.clock { display: grid; justify-items: center; padding: 16px 0 12px; }
.clock-label { color: var(--muted); }
.clock strong { font: 550 clamp(2.25rem, 4.3vw, 4rem)/1.16 var(--mono); letter-spacing: -.085em; padding: 2px 7px 2px 0; }
.clock-stage { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-size: .75rem; }
.clock-stage i { width: 5px; height: 5px; }
.play, .mini-play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #231b19; background: var(--accent); margin-top: 10px; font-size: .71rem; }
.up-next { padding: 9px 10px; border: 1px solid #53392f; border-radius: 8px; }
.up-next > span { font: .64rem var(--mono); color: var(--muted); }
.up-next div { display: flex; justify-content: space-between; gap: 6px; margin-top: 5px; font-size: .76rem; }
.up-next b { font: .75rem var(--mono); color: var(--gold); }
.edge-handle { position: absolute; width: 4px; height: 50px; border-radius: 8px 0 0 8px; right: 0; top: calc(50% - 25px); background: #ffe2b7; }
figcaption { margin-top: 12px; color: var(--muted); font: .69rem/1.4 var(--mono); }
figcaption span { color: var(--gold); }
.section { border-top: 1px solid var(--line); padding-block: clamp(33px, 5vw, 70px); scroll-margin-top: 16px; }
.section-index { color: var(--accent); }
h2 { margin: 9px 0 19px; font-size: clamp(1.95rem, 4vw, 3.65rem); line-height: 1.07; letter-spacing: -.055em; font-weight: 650; }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.feature { border: 1px solid var(--line); border-radius: 15px; padding: clamp(14px, 1.7vw, 22px); background: var(--surface); }
.feature h3 { margin: 16px 0 6px; font-size: 1.11rem; line-height: 1.25; }
.section p:not(.eyebrow) { color: var(--muted); line-height: 1.58; max-width: 38rem; }
.feature p { font-size: .91rem; }
.feature-art { min-height: 94px; padding: 13px; border: 1px solid #5b3f34; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 7px; background: #2a1e19; }
.mini-time { color: var(--gold); font: 1.85rem var(--mono); letter-spacing: -.06em; }
.mini-play { margin: 0 0 0 6px; width: 24px; height: 24px; font-size: .56rem; }
.art-1, .art-2, .art-3 { flex-direction: column; align-items: flex-start; }
.mini-task, .mini-label { font-size: .71rem; }
.mini-task b { display: inline-grid; vertical-align: middle; place-items: center; width: 13px; height: 13px; border: 1px solid #ba806a; border-radius: 4px; margin-right: 3px; }
.mini-task.done { text-decoration: line-through; color: var(--muted); }
.mini-task.done b { background: var(--accent); color: var(--bg); font-size: .6rem; }
.mini-label { color: var(--gold); }
.wave, .chart { width: min(100%, 180px); }
.wave path, .chart path { stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart path { stroke: var(--gold); }
.edge-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 80px); align-items: center; }
.edge-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.edge-choice { text-align: center; font-size: .8rem; color: var(--muted); }
.edge-choice div { position: relative; border: 1px solid #785243; border-radius: 9px; aspect-ratio: 1.5; background: linear-gradient(145deg, #412c24, #231a17); margin-bottom: 9px; }
.edge-choice div::before { content: ""; position: absolute; inset: 20% 20%; border: 1px solid #66483d; border-radius: 4px; }
.edge-choice i { position: absolute; background: var(--accent); border-radius: 4px; }
.edge-0 i, .edge-2 i { width: 4px; height: 34%; top: 33%; }
.edge-0 i { left: 0; }
.edge-1 i { width: 34%; height: 4px; top: 0; left: 33%; }
.edge-2 i { right: 0; }
.release-section { padding-inline: clamp(16px, 3vw, 39px); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: radial-gradient(ellipse at right top, #3b2520, transparent 65%), var(--surface); border: 1px solid var(--line); border-radius: 17px; }
.release-section img { width: clamp(44px, 8vw, 92px); height: auto; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); min-height: 88px; font-size: .86rem; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 52px); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header { min-height: 68px; }
  .hero, .edge-section { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  h1 { font-size: clamp(2.55rem, 8.7vw, 4.4rem); }
  .desktop { min-height: 322px; border-radius: 16px; padding-right: 7%; }
}
@media (max-width: 480px) {
  .header .brand img { width: 118px; height: 30px; }
  .header nav a:not(.language) { display: none; }
  .features { grid-template-columns: 1fr; }
  .release-section img { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
