/* Same look as the launcher: near-black base, one loud yellow in solid slabs, diagonal cuts,
   chunky Burbank for titles, hazard stripes, parallelogram buttons, clipped-corner cards. Flat fills only. */
@font-face { font-family: "Burbank"; src: url("/fonts/BurbankBigCondensed-Black.otf") format("opentype"); font-display: swap; }

:root {
  --display: "Burbank", "Bahnschrift", "Arial Narrow", sans-serif;
  --ui: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Noto Sans", sans-serif;

  --bg: #0b0d17;
  --bg-2: #07080f;
  --panel: #141826;
  --panel-2: #1c2133;
  --panel-3: #272d44;
  --line: rgba(255, 255, 255, .08);
  --yellow: #f7d90b;
  --yellow-hi: #ffe945;
  --ink: #0c0d12;
  --text: #f4f5f8;
  --mute: #9ba2b6;
  --faint: #626a80;

  --cut: 12px;
  --notch: 22px;
  --gutter: clamp(16px, 5vw, 72px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--ui); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, figure, ol { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.caps { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.mono { font-family: Consolas, "Cascadia Mono", monospace; font-size: .9em; background: var(--panel-2); padding: 1px 6px; overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- buttons */
.btn { height: 40px; padding: 2px 24px 0; display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  font-family: var(--display); font-size: 21px; letter-spacing: .04em; text-transform: uppercase; color: var(--text); background: var(--panel-2);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.btn:hover { background: var(--panel-3); }
.btn.primary { background: var(--yellow); color: var(--ink); }
.btn.primary:hover { background: var(--yellow-hi); }
.btn:active { transform: translateY(1px); }

/* the big download slab */
.get { display: inline-flex; flex-direction: column; align-items: flex-start; padding: 16px 52px 16px 34px; text-decoration: none;
  background: var(--ink); color: #fff; clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
  transition: transform .12s ease; }
.get-word { font-family: var(--display); font-size: clamp(44px, 6vw, 64px); line-height: .85; letter-spacing: .02em; text-transform: uppercase; padding-top: 6px; }
.get-sub { margin-top: 6px; font-size: 13px; font-weight: 600; color: #c3c9d8; }
.get-sub b { color: var(--yellow); }
.get-sub i { font-style: normal; color: var(--faint); margin: 0 4px; }
.get:hover { background: #1b1d27; }
.get:hover .get-word { transform: translate(2px, -1px); }
.get:active { transform: translateY(2px); }
.get.dark { background: var(--yellow); color: var(--ink); }
.get.dark .get-sub { color: var(--ink); }
.get.dark .get-sub b { color: var(--ink); }
.get.dark .get-sub i { color: rgba(12, 13, 18, .45); }
.get.dark:hover { background: var(--yellow-hi); }

/* ---------------------------------------------------------------- header */
.top { position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 64px; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px;
  background: rgba(11, 13, 23, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 40px; transform: rotate(-7deg); }
.logo span { font-family: var(--display); font-size: 28px; line-height: 1; padding-top: 4px; letter-spacing: .02em; text-transform: uppercase; }
.top nav { margin-left: auto; display: flex; gap: 6px; }
.top nav a { padding: 8px 14px; font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--mute); text-decoration: none; }
.top nav a:hover { color: #fff; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: min(100vh, 900px); padding-top: 64px; display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); align-items: center; }
.hero-slab { position: relative; align-self: stretch; container-type: inline-size; padding: 64px 120px 88px var(--gutter); display: flex; flex-direction: column; justify-content: center;
  background: var(--yellow); color: var(--ink); clip-path: polygon(0 0, 100% 0, calc(100% - 110px) 100%, 0 100%);
  animation: slab-in .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes slab-in { from { transform: translateX(-70px); opacity: 0; } }
.hero-mark { width: clamp(110px, 12vw, 170px); margin: 0 0 18px -6px; transform: rotate(-7deg); filter: drop-shadow(7px 7px 0 rgba(12, 13, 18, .22)); }
/* the title's glyphs rise above its .8 line box, so the label needs real room */
.tag { margin-bottom: .18em; font-size: 12px; }
.hero .tag + h1 { padding-top: .12em; }
/* sized to the slab's content width (its right padding already clears the diagonal cut); BLUEPRINT is ~3em wide */
.hero h1 { font-family: var(--display); font-weight: normal; font-size: min(150px, 100cqi / 3.25); line-height: .8; letter-spacing: .005em; text-transform: uppercase; margin-left: -4px; }
.hero-line { max-width: 460px; margin: 22px 0 30px; font-size: 18px; font-weight: 600; line-height: 1.45; }
.hero-note { margin-top: 12px; font-size: 13px; font-weight: 600; opacity: .7; }
.slab-stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, transparent 14px 28px); }

.frame { position: relative; background: var(--panel); clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%); }
.frame img { width: 100%; }

/* the launcher screenshot beside the slab: starts after the diagonal cut (no negative margin), with a
   hard offset block behind it instead of a soft shadow */
.hero-side { position: relative; padding: 48px var(--gutter) 56px 36px; }
.shot { position: relative; animation: shot-in .6s .15s cubic-bezier(.2, .8, .2, 1) both; }
.shot::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; background: var(--panel-3);
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%); }
@keyframes shot-in { from { transform: translateY(24px); opacity: 0; } }
/* ---------------------------------------------------------------- sections */
.block { padding: clamp(64px, 9vw, 120px) var(--gutter) 0; max-width: 1360px; margin: 0 auto; }
.title { position: relative; padding: 4px 0 0 26px; font-family: var(--display); font-style: italic; font-weight: normal;
  font-size: clamp(40px, 5vw, 60px); line-height: .95; letter-spacing: .02em; text-transform: uppercase; }
.title::before { content: ""; position: absolute; left: 0; top: 2px; width: 11px; height: .82em; transform: skewX(-14deg); background: var(--yellow); }
.lede { margin: 14px 0 0 26px; max-width: 560px; font-size: 17px; color: var(--mute); }

.tiles { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; padding: 26px 24px 28px; background: var(--panel); clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%);
  transition: transform .15s ease, background .15s ease; }
.tile:hover { transform: translateY(-4px); background: var(--panel-2); }
.tile-num { font-family: var(--display); font-style: italic; font-size: 52px; line-height: .9; color: var(--yellow); }
.tile h3 { margin-top: 14px; font-family: var(--display); font-weight: normal; font-size: 30px; line-height: 1; letter-spacing: .015em; text-transform: uppercase; }
.tile p { margin-top: 10px; font-size: 15px; color: var(--mute); }
.tile.lead { background: var(--yellow); color: var(--ink); }
.tile.lead .tile-num { color: var(--ink); }
.tile.lead p { color: var(--ink); font-weight: 550; }
.tile.lead:hover { background: var(--yellow-hi); }

/* install */
.steps { margin-top: 40px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.steps li { display: flex; gap: 18px; padding: 24px 24px 26px 0; background: var(--panel); }
.step-num { flex: none; width: 76px; display: grid; place-items: center; align-self: flex-start; height: 84px; padding-top: 8px; margin-top: -24px;
  font-family: var(--display); font-style: italic; font-size: 70px; line-height: 1; color: var(--ink); background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.steps h3 { font-family: var(--display); font-weight: normal; font-size: 30px; line-height: 1; letter-spacing: .015em; text-transform: uppercase; }
.steps p { margin-top: 8px; font-size: 15px; color: var(--mute); }
.steps b { color: var(--text); }
.cta { margin-top: 36px; display: flex; justify-content: center; }

/* invite */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-text p { margin: 16px 0 0 26px; font-size: 17px; color: var(--mute); }
.split-text p:first-of-type { margin-top: 20px; color: var(--text); }
.frame.small { transform: rotate(1.5deg); outline: 8px solid var(--panel-3); outline-offset: -1px; clip-path: none; }

/* faq */
.faq { margin-top: 34px; max-width: 900px; display: flex; flex-direction: column; gap: 6px; }
.faq details { background: var(--panel); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 18px 64px 16px 22px; border-left: 4px solid var(--panel-3);
  font-family: var(--display); font-size: 25px; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-48%); font-family: var(--ui); font-size: 26px; font-weight: 700; color: var(--mute); }
.faq summary:hover { background: var(--panel-2); }
.faq details[open] summary { border-left-color: var(--yellow); }
.faq details[open] summary::after { content: "\2212"; color: var(--yellow); }
.faq details p { padding: 0 64px 20px 26px; font-size: 15.5px; color: var(--mute); }
.faq details p b { color: var(--text); }

/* ---------------------------------------------------------------- footer */
.foot { margin-top: clamp(80px, 10vw, 140px); background: var(--bg-2); }
.foot-stripe { height: 14px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, transparent 14px 28px); }
.foot-row { max-width: 1360px; margin: 0 auto; padding: 30px var(--gutter) 40px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot-row p { flex: 1; min-width: 240px; font-size: 13px; color: var(--faint); }
.foot-row .foot-count { flex: none; min-width: 0; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }

/* ---------------------------------------------------------------- 404 */
.lost { min-height: 100vh; display: grid; place-items: center; padding: 24px var(--gutter); text-align: center; }
.lost h1 { font-family: var(--display); font-weight: normal; font-size: clamp(100px, 20vw, 220px); line-height: .8; color: var(--yellow); }
.lost p { margin: 16px 0 28px; color: var(--mute); }

/* ---------------------------------------------------------------- smaller screens */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .steps li { padding-top: 22px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-slab { padding: 56px var(--gutter) 72px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%); }
  .slab-stripe { display: none; }
  .hero-side { padding: 8px calc(var(--gutter) + 16px) 56px var(--gutter); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .frame.small { transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .top { gap: 12px; height: 58px; }
  .top nav { display: none; }
  .logo span { font-size: 24px; }
  .logo img { width: 34px; }
  .top .btn { margin-left: auto; font-size: 18px; padding: 2px 18px 0; height: 36px; }
  .hero { padding-top: 58px; }
  .hero-line { font-size: 16px; }
  .get { padding: 14px 34px 14px 24px; max-width: 100%; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .lede, .split-text p { margin-left: 0; }
  .faq summary { font-size: 21px; padding-right: 52px; }
  .faq details p { padding: 0 20px 18px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
