:root {
  --ink: #111311;
  --paper: #f4f5ef;
  --white: #ffffff;
  --line: #cfd1c9;
  --muted: #676b65;
  --lime: #ccff35;
  --coral: #ff694e;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 12px; top: -50px; z-index: 100; background: var(--lime); padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 10;
  width: min(calc(100% - 48px), var(--max));
  height: 92px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-weight: 800; font-size: 14px; text-decoration: none; }
.brand img { display: block; }
nav { display: flex; align-items: center; gap: 34px; }
nav a, footer > a { font-size: 14px; text-decoration: none; }
nav a:hover, footer > a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-action { justify-self: end; border: 1px solid rgba(255,255,255,.55); padding: 11px 16px; font-size: 13px; font-weight: 700; text-decoration: none; }
.header-action:hover { background: var(--white); color: var(--ink); }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(360px, .86fr) 1.14fr;
  gap: 60px;
  align-items: center;
  padding: 142px max(24px, calc((100vw - var(--max)) / 2)) 72px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.hero::after { content: ""; position: absolute; right: -8vw; bottom: -145px; width: 43vw; height: 190px; background: var(--coral); transform: rotate(-6deg); }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin: 0; max-width: 700px; font-family: "Arial Black", Inter, sans-serif; font-size: clamp(54px, 6.1vw, 94px); line-height: .92; font-weight: 900; text-transform: uppercase; }
.hero-copy > p { max-width: 500px; margin: 30px 0 0; color: #c8cbc4; font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 20px; font-size: 14px; font-weight: 800; text-decoration: none; border: 1px solid transparent; border-radius: 2px; }
.button-primary { background: var(--lime); color: var(--ink); }
.button-primary:hover { background: var(--white); }
.text-link { color: var(--white); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 7px; }
.text-link:hover span { transform: translateY(3px); }
.hero-copy .release-note { display: flex; align-items: center; gap: 10px; margin-top: 40px; font-size: 12px; color: #93978f; text-transform: uppercase; }
.release-note span { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255,105,78,.16); }

.product-stage { position: relative; z-index: 1; min-height: 500px; display: flex; align-items: center; justify-content: center; perspective: 1100px; }
.product-stage::before { content: ""; position: absolute; width: 82%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.product-stage::after { content: ""; position: absolute; width: 66%; aspect-ratio: 1; border: 1px solid rgba(204,255,53,.2); border-radius: 50%; }
.beam { position: absolute; z-index: 2; width: 7px; height: 360px; background: var(--lime); box-shadow: 0 0 36px rgba(204,255,53,.6); transform: rotate(21deg); animation: beam-shift 5s ease-in-out infinite alternate; }
.keyboard { position: relative; z-index: 3; width: min(590px, 100%); padding: 28px 24px 24px; background: #292c29; border: 1px solid #555a53; border-radius: 7px; box-shadow: 0 45px 70px rgba(0,0,0,.48); transform: rotateX(58deg) rotateZ(-12deg); transform-style: preserve-3d; }
.keyboard-topline { display: flex; justify-content: space-between; margin-bottom: 18px; padding: 0 3px; font-size: 9px; color: #858b82; font-weight: 800; }
.key-row { display: flex; gap: 8px; margin-bottom: 8px; }
.key-row.inset { margin-left: 15px; margin-right: 15px; }
.key-row.lower { margin-left: 28px; margin-right: 28px; }
.key-row.bottom { justify-content: center; margin-bottom: 0; }
.key-row i { flex: 1; min-width: 0; aspect-ratio: 1; display: grid; place-items: center; background: #151715; border: 1px solid #3f433e; border-radius: 4px; box-shadow: inset 0 -3px 0 #090a09; color: #cfd2cb; font-size: 10px; font-style: normal; }
.key-row i.wide { flex: 1.5; }
.key-row i.space { flex: 5; aspect-ratio: auto; height: 36px; }
.key-row i.utility { flex: 1.2; aspect-ratio: auto; height: 36px; }
.platform-rail { position: absolute; z-index: 4; right: -2%; bottom: 30px; display: flex; gap: 18px; color: #8c9188; font-size: 9px; font-weight: 800; writing-mode: vertical-rl; }
@keyframes beam-shift { to { transform: translateX(24px) rotate(21deg); opacity: .65; } }

.product-band, .downloads { padding: 120px max(24px, calc((100vw - var(--max)) / 2)); }
.section-heading { display: grid; grid-template-columns: .38fr 1fr; align-items: start; gap: 40px; }
.section-heading > p, .support > div > p { margin: 5px 0 0; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.section-heading h2, .support h2 { margin: 0; max-width: 760px; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.03; font-weight: 800; }
.feature-list { margin-top: 90px; border-top: 1px solid var(--line); }
.feature-list article { display: grid; grid-template-columns: .38fr 1fr; gap: 40px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.feature-index { color: var(--coral); font: 800 12px/1 Inter, sans-serif; }
.feature-list article > div { display: grid; grid-template-columns: .42fr 1fr; gap: 30px; }
.feature-list h3 { margin: 0; font-size: 20px; }
.feature-list p { margin: 0; max-width: 540px; color: var(--muted); line-height: 1.65; }

.downloads { background: var(--white); }
.downloads-heading { grid-template-columns: .38fr .65fr 1fr; }
.downloads-heading > span { max-width: 360px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.download-list { margin-top: 70px; border-top: 2px solid var(--ink); }
.download-row { min-height: 116px; display: grid; grid-template-columns: 78px 1fr 190px 128px; gap: 22px; align-items: center; border-bottom: 1px solid var(--line); }
.platform-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--paper); border-radius: 6px; }
.platform-icon svg { width: 23px; height: 23px; fill: var(--ink); }
.download-name h3 { margin: 0 0 5px; font-size: 20px; }
.download-name p { margin: 0; color: var(--muted); font-size: 13px; }
.download-meta { display: grid; gap: 6px; }
.download-meta span { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.download-meta strong { font-size: 13px; }
.download-button { min-height: 44px; border: 1px solid var(--line); background: transparent; color: #8a8e87; border-radius: 2px; font: 700 13px/1 Inter, sans-serif; }
.download-button:not(:disabled) { cursor: pointer; background: var(--ink); color: var(--white); border-color: var(--ink); }
.download-button:not(:disabled):hover { background: var(--lime); color: var(--ink); }
.download-footnote { display: grid; grid-template-columns: .38fr 1fr; gap: 40px; margin-top: 34px; }
.download-footnote span { font-size: 12px; font-weight: 800; text-transform: uppercase; }
.download-footnote p { margin: 0; max-width: 660px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.download-footnote code { overflow-wrap: anywhere; color: var(--ink); font: 600 11px/1.6 Consolas, monospace; }

.support { padding: 86px max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: end; justify-content: space-between; gap: 30px; background: var(--coral); }
.support h2 { max-width: 720px; margin-top: 13px; }
.support > div > p { color: rgba(17,19,17,.65); }
.button-light { flex: 0 0 auto; background: var(--white); color: var(--ink); }
.button-light:hover { background: var(--ink); color: var(--white); }
.button-pending { cursor: default; opacity: .82; }
.button-pending:hover { background: var(--white); color: var(--ink); }

.site-footer { padding: 54px max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .7fr 1.3fr; gap: 32px 60px; background: var(--ink); color: var(--white); }
.site-footer p { margin: 0; color: #92968e; font-size: 12px; line-height: 1.65; }
.footer-primary { display: grid; align-content: start; gap: 18px; }
.footer-legal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.footer-legal strong { display: inline-block; min-width: 76px; color: #c8cbc4; }
.footer-legal a { color: #c8cbc4; overflow-wrap: anywhere; }
.footer-address { grid-column: 1 / 3; }
.footer-links { grid-column: 1 / 3; display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.footer-links a { color: #c8cbc4; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--lime); text-decoration: underline; text-underline-offset: 5px; }
.footer-note { grid-column: 1 / 2; }
.footer-copyright { grid-column: 2 / 3; justify-self: end; }

.legal-page { background: var(--white); }
.legal-header { min-height: 82px; padding: 0 max(24px, calc((100vw - 980px) / 2)); display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: var(--white); }
.legal-header > a:last-child { font-size: 13px; font-weight: 700; text-decoration: none; }
.legal-content { width: min(calc(100% - 48px), 980px); margin: 0 auto; padding: 86px 0 110px; }
.legal-kicker { margin: 0 0 18px; color: var(--coral); font-size: 12px; font-weight: 800; }
.legal-content h1 { margin: 0; font-size: clamp(42px, 6vw, 68px); line-height: 1; }
.legal-date { margin: 22px 0 68px; color: var(--muted); font-size: 13px; }
.legal-content section { padding: 30px 0; border-top: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 14px; font-size: 20px; }
.legal-content section p { margin: 0; max-width: 820px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.legal-footer { min-height: 100px; padding: 24px max(24px, calc((100vw - 980px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--ink); color: #92968e; font-size: 12px; }
.legal-footer a { color: var(--white); font-weight: 800; text-decoration: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-copy { max-width: 650px; }
  .product-stage { min-height: 430px; }
  .downloads-heading { grid-template-columns: .38fr 1fr; }
  .downloads-heading > span { grid-column: 2; }
  .download-row { grid-template-columns: 70px 1fr 150px; }
  .download-button { grid-column: 2 / 4; margin-bottom: 24px; }
}

@media (max-width: 640px) {
  .site-header { width: calc(100% - 36px); height: 76px; }
  .header-action { padding: 10px 12px; }
  .hero { min-height: 760px; padding: 112px 18px 54px; gap: 28px; }
  .hero h1 { font-size: 48px; }
  .hero-copy > p { margin-top: 22px; font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 28px; }
  .hero-copy .release-note { margin-top: 30px; }
  .product-stage { min-height: 320px; margin: 0 -18px; }
  .keyboard { width: 92%; padding: 18px 14px 14px; }
  .key-row { gap: 5px; margin-bottom: 5px; }
  .key-row i { font-size: 8px; border-radius: 3px; }
  .key-row i.space, .key-row i.utility { height: 27px; }
  .platform-rail { display: none; }
  .product-band, .downloads { padding: 78px 18px; }
  .section-heading, .feature-list article, .download-footnote { grid-template-columns: 1fr; gap: 16px; }
  .section-heading h2, .support h2 { font-size: 38px; }
  .feature-list { margin-top: 56px; }
  .feature-list article > div { grid-template-columns: 1fr; gap: 12px; }
  .downloads-heading { grid-template-columns: 1fr; }
  .downloads-heading > span { grid-column: auto; }
  .download-list { margin-top: 48px; }
  .download-row { grid-template-columns: 58px 1fr; gap: 14px; padding: 22px 0; }
  .download-meta { grid-column: 2; }
  .download-button { grid-column: 2; margin: 0; }
  .support { padding: 68px 18px; align-items: flex-start; flex-direction: column; }
  .site-footer { padding: 44px 18px; grid-template-columns: 1fr; gap: 30px; }
  .footer-legal { grid-template-columns: 1fr; }
  .footer-address { grid-column: 1; }
  .footer-links, .footer-note, .footer-copyright { grid-column: 1; }
  .footer-copyright { justify-self: start; }
  .legal-content { width: calc(100% - 36px); padding: 60px 0 80px; }
  .legal-date { margin-bottom: 46px; }
  .legal-footer { padding: 28px 18px; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .beam { animation: none; }
}
