:root {
  --ink:        #08080A;
  --ink-2:      #101116;
  --surface:    #16171D;
  --surface-2:  #1E1E24;
  --hair:       rgba(255, 255, 255, 0.08);
  --hair-soft:  rgba(255, 255, 255, 0.045);

  --paper:      #F4F4F5;
  --muted:      #A1A1AA;
  --dim:        #71717A;
  --faint:      #52525B;

  --acc:        #FF8C3A;
  --acc-soft:   rgba(255, 140, 58, 0.14);
  --sunrise:    linear-gradient(135deg, #FF2A54 0%, #FF7A00 50%, #FFD600 100%);

  --lean:       -12deg;
  --r:          10px;
  --r-lg:       16px;
  --r-xl:       24px;

  --display: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  --body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --gut:     clamp(20px, 5vw, 72px);
  --stack:   clamp(72px, 11vw, 148px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
  border-radius: 4px;
}

.mono { font-family: var(--mono); font-variant-ligatures: none; }

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--acc);
  color: #180a00;
  border-radius: var(--r);
  font-weight: 600;
}
.skip:focus { left: 12px; }

.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gut);
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hair-soft);
}

.bar__brand { display: flex; align-items: center; gap: 10px; }

.mark { width: 34px; height: 22px; display: block; }

.bar__word {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: -0.02em;
}
.bar__word em {
  font-style: normal;
  background: var(--sunrise);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bar__nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}
.bar__nav > a:hover { color: var(--paper); }

.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
}
.lang__on,
.lang__off { padding: 3px 9px; border-radius: 999px; line-height: 1; }
.lang__on { background: var(--surface-2); color: var(--paper); }
.lang__off { color: var(--faint); }
.lang__off:hover { color: var(--paper); }

.bar__cta {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}
.bar__cta:hover { background: #fff; }

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acc);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::after {
  content: '';
  height: 12px;
  width: 1px;
  background: var(--hair);
  transform: skewX(var(--lean));
}

.head { max-width: 720px; margin: 0 0 clamp(40px, 6vw, 68px); }
.head h2 {
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.head__sub { margin: 0; color: var(--muted); font-size: clamp(15px, 1.5vw, 17px); max-width: 62ch; }

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 8vw, 104px) var(--gut) clamp(64px, 9vw, 120px);
}

.hero h1 {
  margin: 0 0 26px;
  max-width: 7.6em;
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 98px);
  line-height: 0.96;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.lean {
  display: inline-block;
  transform: skewX(var(--lean));
  background: var(--sunrise);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 0 34px;
  max-width: 48ch;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18px);
}
.lede strong { color: var(--paper); font-weight: 600; }

.hero__act { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.btn {
  padding: 14px 34px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:hover { transform: translateY(-2px); }

.hero__meta { font-size: 12px; color: var(--faint); }

.hero__stage { min-width: 0; }

.stage {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--hair);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7), 0 0 80px rgba(255, 122, 0, 0.06);
}

.stage__frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'%3E%3Cpath fill='%230d0a14' fill-opacity='0.88' d='M0,548 L180,470 L320,520 L470,430 L620,500 L780,415 L940,495 L1100,440 L1260,505 L1420,455 L1600,512 L1600,900 L0,900 Z'/%3E%3Cpath fill='%23050509' d='M0,690 L150,640 L300,702 L430,610 L560,680 L700,600 L860,690 L1000,625 L1180,706 L1340,640 L1500,700 L1600,664 L1600,900 L0,900 Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat,
    radial-gradient(22% 30% at 27% 30%, rgba(255, 236, 170, 0.92) 0%, rgba(255, 170, 40, 0.35) 45%, transparent 72%),
    radial-gradient(120% 95% at 24% 22%, rgba(255, 198, 0, 0.42) 0%, transparent 58%),
    radial-gradient(95% 85% at 78% 34%, rgba(255, 42, 84, 0.34) 0%, transparent 62%),
    linear-gradient(178deg, #3a1a06 0%, #1a0d14 44%, #05070e 100%);
}

.stage__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23g)'/%3E%3C/svg%3E");
}

.stage__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(78% 78% at 50% 42%, transparent 40%, rgba(0, 0, 0, 0.72) 100%);
}

.stage__chrome {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px clamp(16px, 3vw, 28px) clamp(16px, 3vw, 24px);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85) 55%);
  opacity: 0;
}

.stage__chip {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--acc-soft);
  border: 1px solid rgba(255, 140, 58, 0.35);
  color: var(--acc);
  font-family: var(--mono);
  font-size: 11px;
  transform: translateY(6px);
  opacity: 0;
}

.stage__rail {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: visible;
}
.stage__buffered {
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}
.stage__played {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 999px;
  background: var(--sunrise);
}
.stage__head {
  position: absolute;
  top: 50%;
  left: 0;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
}

.stage__times {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.stage__boot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.stage__note {
  margin: 16px 2px 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--faint);
  max-width: 46ch;
}

.stage.is-live .stage__frame { animation: frame-in 900ms cubic-bezier(0.2, 0.7, 0.3, 1) 480ms forwards; }
.stage.is-live .stage__boot  { animation: boot-out 320ms ease 520ms forwards; }
.stage.is-live .stage__chrome { animation: chrome-in 500ms ease 1000ms forwards; }
.stage.is-live .stage__chip  { animation: chip-in 420ms cubic-bezier(0.2, 0.8, 0.3, 1) 1500ms forwards; }
.stage.is-live .stage__played { animation: rail-in 900ms cubic-bezier(0.3, 0.7, 0.3, 1) 1180ms forwards; }
.stage.is-live .stage__head  { animation: head-in 900ms cubic-bezier(0.3, 0.7, 0.3, 1) 1180ms forwards; }

@keyframes frame-in  { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: none; } }
@keyframes boot-out  { to { opacity: 0; } }
@keyframes chrome-in { to { opacity: 1; } }
@keyframes chip-in   { to { opacity: 1; transform: none; } }
@keyframes rail-in   { to { width: 38%; } }
@keyframes head-in   { from { left: 0; opacity: 0; } to { left: 38%; opacity: 1; } }

.line {
  position: relative;
  z-index: 2;
  padding: var(--stack) var(--gut);
  background: var(--ink-2);
  border-block: 1px solid var(--hair-soft);
}
.line__inner { max-width: 900px; }
.line h2 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.line__body { margin: 0 0 44px; max-width: 70ch; color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); }

.line__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--hair-soft);
  border: 1px solid var(--hair-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.line__facts > div { padding: 22px 24px; background: var(--ink-2); }
.line__facts dt { font-size: 12px; color: var(--faint); margin-bottom: 8px; }
.line__facts dd { margin: 0; font-size: 17px; color: var(--acc); }

.guide { position: relative; z-index: 2; padding: var(--stack) 0; }
.guide .head { padding-inline: var(--gut); }

.guide__scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-inline: var(--gut);
  scrollbar-width: thin;
  scrollbar-color: var(--surface-2) transparent;
}

.guide__grid { min-width: 940px; }

.guide__axis,
.row {
  display: grid;
  grid-template-columns: 132px repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.guide__axis {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 10px;
}
.guide__axis span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.row { margin-bottom: 10px; }

.row__name {
  display: flex;
  align-items: center;
  padding-right: 14px;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--muted);
  border-right: 1px solid var(--hair-soft);
}

.slot { min-width: 0; }

.prog {
  height: 100%;
  padding: 18px 18px 20px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--hair-soft);
  border-left: 2px solid var(--faint);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.prog:hover { background: var(--surface-2); border-left-color: var(--acc); transform: translateY(-2px); }
.prog h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; letter-spacing: -0.005em; }
.prog p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--dim); }

.prog--mark {
  border-left-width: 2px;
  border-left-color: transparent;
  background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    var(--sunrise) border-box;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
}
.prog--mark h3 { color: #fff; }
.prog--mark p { color: var(--muted); }



.get { position: relative; z-index: 2; padding: var(--stack) var(--gut); background: var(--ink-2); border-top: 1px solid var(--hair-soft); }

.dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.plat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--hair);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}
.plat:hover { border-color: var(--acc); background: var(--surface-2); transform: translateY(-3px); }
.plat__os { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; }
.plat__file { font-size: 12px; color: var(--acc); }
.plat__note { font-size: 12px; color: var(--faint); }

.plat.is-yours { border-color: var(--acc); background: var(--surface-2); }

.term {
  padding: 26px 26px 28px;
  border-radius: var(--r-lg);
  border: 1px dashed var(--hair);
  background: rgba(255, 255, 255, 0.012);
}
.term__label { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.term code {
  display: block;
  overflow-x: auto;
  padding: 14px 16px;
  border-radius: var(--r);
  background: #000;
  border: 1px solid var(--hair-soft);
  font-size: 13px;
  color: var(--paper);
  white-space: nowrap;
}
.term__note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--faint); max-width: 64ch; }

.foot {
  position: relative;
  z-index: 2;
  padding: 40px var(--gut) 56px;
  border-top: 1px solid var(--hair-soft);
}
.foot__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; font-size: 13px; }
.foot__dim { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--faint); max-width: 62ch; }
.lang--foot { font-size: 10.5px; }

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; padding-top: clamp(40px, 8vw, 64px); }
  .hero__stage { order: -1; }
  .bar__nav { gap: 14px; }
  .bar__nav > a:not(.bar__cta) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
  .stage__frame, .stage__chrome, .stage__chip { opacity: 1; transform: none; }
  .stage__played { width: 38%; }
  .stage__head { left: 38%; opacity: 1; }
  .stage__boot { display: none; }
}

@media (max-width: 940px) {
  .guide { position: relative; }
  .guide::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 56px;
    pointer-events: none;
    background: linear-gradient(to right, transparent, var(--ink) 82%);
  }
  .guide__grid { min-width: 820px; }
  .guide__axis, .row { grid-template-columns: 96px repeat(4, minmax(0, 1fr)); gap: 8px; }
}
