/* Squallfall: "Storm Relics". A dark storm sky, framed plates, collectible cards and chunky buttons, all
   outlined in one ink colour. Tokens, the cut-corner shape and the type follow the game's Theme.swift and
   design/art-direction.md. Display type is Sigmar (SIL OFL 1.1, fonts/OFL.txt), served from this site. */
@font-face { font-family: Sigmar; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/sigmar.ttf) format("truetype"); }

:root {
  --night: #070A1F; --deep: #0E1438; --sky: #232C7C; --panel: #19205A; --panel-hi: #2A348E; --ink: #070919;
  --bolt: #FFCC2E; --bolt-hi: #FFF09E; --bolt-deep: #C67F0A; --bolt-text: #3A2100;
  --rain: #43D2FA; --rain-hi: #B8F4FF; --rain-deep: #167CA6;
  --indigo: #3D4AB8; --indigo-hi: #7482EE; --indigo-deep: #1C2370;
  --smog: #F2552B; --mauve: #E85BC6; --violet: #9B6BFF; --acid: #8EDB55; --mist: #A6B8E0; --cloud: #4B58B8;
  --text: rgba(255, 255, 255, .95); --soft: rgba(255, 255, 255, .8); --faint: rgba(255, 255, 255, .64);
  --display: Sigmar, "Arial Black", system-ui, sans-serif;
  --body: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Game text: an ink outline around every glyph and an ink lip under it. */
  --outline: 0 -.055em 0 var(--ink), .055em 0 0 var(--ink), -.055em 0 0 var(--ink), 0 .055em 0 var(--ink),
             .04em .04em 0 var(--ink), -.04em .04em 0 var(--ink), .04em -.04em 0 var(--ink), -.04em -.04em 0 var(--ink),
             0 .11em 0 var(--ink), .04em .1em 0 var(--ink), -.04em .1em 0 var(--ink);
  --rim: drop-shadow(2.5px 0 0 var(--ink)) drop-shadow(-2.5px 0 0 var(--ink)) drop-shadow(0 2.5px 0 var(--ink)) drop-shadow(0 -2.5px 0 var(--ink));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden; position: relative;
  background: linear-gradient(var(--sky) 0, #141B55 380px, var(--deep) 900px, var(--night) 1600px) var(--night);
  color: var(--text); font: 600 17px/1.55 var(--body);
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--rain-hi); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; font-synthesis: none; line-height: 1.12; margin: 0; letter-spacing: .005em; text-wrap: balance; text-shadow: var(--outline); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--bolt); outline-offset: 3px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.label { font: 800 12px/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.rain-text { color: var(--rain-hi); }
.lead { color: var(--soft); font-size: 18px; max-width: 60ch; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--bolt); color: var(--bolt-text); padding: 8px 14px; font-weight: 800; }
.skip:focus { left: 8px; }
.glyph { width: 1em; height: 1em; display: inline-block; flex: none; }

/* The framed plate everything sits on (gameFrame in the app): the element is the ink rim, cut from the
   BoltCut shape (two opposite corners sliced off), thicker at the bottom as a lip; ::before is the metal
   band in the panel's tone and ::after the fill inside it. */
.cut {
  --c: 16px; --rim: 3px; --band: 4px; --lip: 6px;
  --edge: linear-gradient(var(--indigo-hi), var(--indigo) 45%, var(--indigo-deep));
  --fill: linear-gradient(var(--panel-hi), var(--panel));
  position: relative; isolation: isolate; background: var(--ink);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}
.cut::before, .cut::after {
  content: ""; position: absolute; z-index: -1;
  clip-path: polygon(0 0, calc(100% - var(--k)) 0, 100% var(--k), 100% 100%, var(--k) 100%, 0 calc(100% - var(--k)));
}
.cut::before { inset: var(--rim) var(--rim) calc(var(--rim) + var(--lip)) var(--rim); background: var(--edge); --k: calc(var(--c) - var(--rim) * .586); }
.cut::after {
  inset: calc(var(--rim) + var(--band)) calc(var(--rim) + var(--band)) calc(var(--rim) + var(--band) + var(--lip)) calc(var(--rim) + var(--band));
  background: linear-gradient(rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 3px), var(--fill);
  --k: calc(var(--c) - (var(--rim) + var(--band)) * .586);
}

/* Sky: cloud band and rain behind everything. */
.sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.clouds { position: absolute; top: 0; left: 0; width: 100%; height: 150px; }
.rain { position: absolute; inset: 0 -120px; height: 1500px; transform: skewX(-7deg); opacity: .85; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.rain i {
  position: absolute; inset: -260px 0 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='260'%3E%3Cg stroke='%2362E6FF' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M22 12v22' opacity='.24'/%3E%3Cpath d='M96 70v16' opacity='.16'/%3E%3Cpath d='M158 20v24' opacity='.28'/%3E%3Cpath d='M236 110v18' opacity='.18'/%3E%3Cpath d='M60 170v22' opacity='.22'/%3E%3Cpath d='M190 190v14' opacity='.14'/%3E%3Cpath d='M278 220v20' opacity='.22'/%3E%3Cpath d='M128 132v12' opacity='.12'/%3E%3C/g%3E%3C/svg%3E");
  animation: rain 1.5s linear infinite;
}
@keyframes rain { to { transform: translateY(260px); } }
header, main, footer { position: relative; z-index: 1; }

/* Top bar. */
.bar { display: flex; align-items: center; gap: 18px; padding-top: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; margin-right: auto; }
.brand img { border-radius: 10px; box-shadow: 0 0 0 2.5px var(--ink), 0 4px 0 2.5px var(--ink); }
.bar nav { display: flex; gap: 22px; }
.bar nav a { color: #fff; text-decoration: none; font: 800 13px var(--body); letter-spacing: .12em; text-transform: uppercase; opacity: .88; text-shadow: 0 2px 0 var(--ink); }
.bar nav a:hover { opacity: 1; color: var(--bolt); }
.lang {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; color: #fff; text-decoration: none; font: 800 12px var(--body); letter-spacing: .1em;
  background: linear-gradient(var(--indigo-hi), var(--indigo) 60%); border: 2.5px solid var(--ink); border-radius: 5px 13px 5px 13px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), 0 4px 0 var(--ink); text-shadow: 0 1.5px 0 var(--ink); transition: transform .08s;
}
.lang:hover { filter: brightness(1.08); }
.lang:active { transform: translateY(3px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), 0 1px 0 var(--ink); }

/* The wordmark: SQUALL in storm white over FA⚡L in bolt gold, outlined in ink like the app's logotype. */
.wordmark { font-family: var(--display); font-weight: 400; font-synthesis: none; text-transform: uppercase; line-height: .98; letter-spacing: .01em; filter: var(--rim) drop-shadow(0 .07em 0 var(--ink)); }
.wordmark .w1 { background: linear-gradient(#fff 25%, #D3E0FF 55%, #8EA3F2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark .w2 { background: linear-gradient(var(--bolt-hi) 20%, var(--bolt) 55%, #F2A516); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark .wm-bolt { width: .56em; height: .98em; margin: 0 -.04em; vertical-align: -.12em; display: inline-block; color: var(--bolt-hi); transform: rotate(8deg); }
.wordmark.small { font-size: 17px; display: inline-flex; letter-spacing: .02em; filter: drop-shadow(1.5px 0 0 var(--ink)) drop-shadow(-1.5px 0 0 var(--ink)) drop-shadow(0 1.5px 0 var(--ink)) drop-shadow(0 -1.5px 0 var(--ink)) drop-shadow(0 2px 0 var(--ink)); }
.wordmark.big { display: inline-flex; flex-direction: column; align-items: flex-start; font-size: clamp(50px, 8vw, 100px); }
.wordmark.big .w2 { margin-top: -.12em; }

/* Hero. */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 384px); gap: 56px; align-items: center; padding: 86px 0 40px; }
.logo { margin: 14px 0 22px; position: relative; }
.logo::before { content: ""; position: absolute; left: -8%; top: -10%; width: 70%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 210, 63, .32), rgba(255, 210, 63, 0)); }
.hero h1 { font-size: clamp(22px, 2.5vw, 30px); line-height: 1.25; }
.hero h1 em { font-style: normal; color: #FF8A5E; }
.hero .lead { margin-top: 16px; max-width: 52ch; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 28px; }
.soon {
  --c: 12px; --band: 3px; --lip: 5px; --edge: linear-gradient(var(--bolt-hi), var(--bolt), var(--bolt-deep)); --fill: linear-gradient(#22246A, #15174A);
  display: inline-flex; align-items: center; gap: 10px; padding: 0 20px 6px; min-height: 58px; font: 400 14px var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--bolt-hi); text-shadow: 0 2px 0 var(--ink);
}
.soon .glyph { font-size: 18px; filter: drop-shadow(0 0 6px rgba(255, 210, 63, .7)); }
a.soon { text-decoration: none; }
a.soon:hover, a.soon:focus-visible { --fill: linear-gradient(#2C2E80, #1B1D58); }
.pitch > .soon { margin-top: 28px; }
.pitch > .cta { margin-top: 16px; }
.under { margin-top: 14px; color: var(--faint); font-size: 15px; }

/* Buttons: the app's chunky button. Ink rim, a coloured lip, a glossy face that drops onto the lip when
   pressed and springs back. */
.btn {
  --hi: var(--bolt-hi); --base: var(--bolt); --deep: var(--bolt-deep); --ink-text: var(--bolt-text);
  position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; margin-bottom: 6px;
  color: var(--ink-text); text-decoration: none; font: 400 15px var(--display); letter-spacing: .05em; text-transform: uppercase; text-shadow: 0 1px 0 var(--hi);
  isolation: isolate; filter: var(--rim) drop-shadow(0 6px 8px rgba(0, 0, 0, .35));
  transition: transform .22s cubic-bezier(.34, 1.7, .5, 1);
}
.btn::before, .btn::after { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px)); }
.btn::before { background: var(--deep); transform: translateY(6px); transition: transform .22s cubic-bezier(.34, 1.7, .5, 1); }
.btn::after { background: linear-gradient(rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 50%), linear-gradient(var(--hi), var(--base) 62%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6); }
.btn:hover { --base: color-mix(in srgb, var(--bolt) 88%, white); }
.btn:active { transform: translateY(5px) scale(.98); transition-duration: .06s; transition-timing-function: ease-out; }
.btn:active::before { transform: translateY(1px); transition-duration: .06s; }
.btn.quiet { --hi: var(--indigo-hi); --base: var(--indigo); --deep: var(--indigo-deep); --ink-text: #fff; text-shadow: 0 1.5px 0 var(--ink); }
.btn.quiet:hover { --base: #4A57C8; }

/* The playable wave. */
.stage { min-width: 0; scroll-margin-top: 20px; filter: drop-shadow(0 22px 40px rgba(3, 5, 16, .65)); }
.demo { --c: 22px; --band: 4px; --lip: 7px; padding: 7px 7px 14px; }
.demo::after { background: var(--night); }
.demo canvas { width: 100%; height: auto; aspect-ratio: 360 / 608; cursor: crosshair; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)); background: var(--deep); }
.demo canvas:focus-visible { outline-offset: -4px; }
.demo noscript img { position: absolute; inset: 7px 7px 14px; width: calc(100% - 14px); height: calc(100% - 21px); object-fit: cover; object-position: top; }
.demo-over { position: absolute; inset: 7px 7px 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 20px 16px 18px; background: linear-gradient(rgba(7, 10, 31, 0) 10%, rgba(7, 10, 31, .9) 32%, rgba(7, 10, 31, .97)); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)); }
.demo-over[hidden] { display: none; }
.demo-over h2 { font-size: 22px; }
.demo-tally { font-size: 10.5px; }
.demo-boons { display: grid; gap: 9px; }
.demo-boon {
  --tone: var(--mist); display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; align-items: center; text-align: left; padding: 9px 12px; color: #fff; font: 600 13px/1.35 var(--body);
  background: linear-gradient(color-mix(in srgb, var(--tone) 18%, #2A348E), #19205A); border: 2.5px solid var(--ink); border-radius: 4px 14px 4px 14px;
  box-shadow: inset 0 0 0 2.5px var(--tone), 0 4px 0 var(--ink); cursor: pointer; transition: transform .18s cubic-bezier(.34, 1.7, .5, 1), box-shadow .1s;
}
.demo-boon:hover, .demo-boon:focus-visible { transform: translateY(-2px); box-shadow: inset 0 0 0 2.5px var(--tone), 0 6px 0 var(--ink), 0 0 18px -2px var(--tone); }
.demo-boon:active { transform: translateY(2px); box-shadow: inset 0 0 0 2.5px var(--tone), 0 2px 0 var(--ink); }
.demo-boon b { font: 400 14px var(--display); text-shadow: 0 1.5px 0 var(--ink); }
.demo-boon .tag { grid-row: 1; }
.demo-boon .desc { grid-column: 1 / -1; color: var(--soft); }
.demo-note { font-size: 13px; color: var(--faint); }
.demo-again { align-self: flex-start; background: none; border: 0; padding: 4px 0; color: var(--rain-hi); font: 800 11.5px var(--body); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.try { margin-top: 14px; text-align: center; color: var(--faint); font-size: 14px; }
.try .touch { display: none; }
@media (hover: none) and (pointer: coarse) { .try .mouse { display: none; } .try .touch { display: inline; } }

/* Rarity tones, as in Tone.rarity. */
.r-common { --tone: var(--mist); }
.r-uncommon { --tone: var(--rain); }
.r-rare { --tone: var(--mauve); }
.r-legendary { --tone: var(--bolt); }
.tag {
  display: inline-block; padding: 3px 9px 2px; background: linear-gradient(color-mix(in srgb, var(--tone) 55%, white), var(--tone)); color: var(--ink);
  font: 800 9.5px/1.35 var(--body); letter-spacing: .14em; text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); filter: drop-shadow(1.5px 0 0 var(--ink)) drop-shadow(-1.5px 0 0 var(--ink)) drop-shadow(0 1.5px 0 var(--ink)) drop-shadow(0 -1.5px 0 var(--ink));
}

/* Counts: stat medals. */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 38px; }
.facts li {
  --tone: var(--bolt); padding: 18px 14px 16px; text-align: center; border-radius: 6px 18px 6px 18px;
  background: linear-gradient(var(--panel-hi), var(--panel)); border: 3px solid var(--ink);
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--tone) 55%, var(--indigo-deep)), inset 0 5px 0 rgba(255, 255, 255, .08), 0 6px 0 var(--ink), 0 12px 20px rgba(0, 0, 0, .3);
}
.facts li:nth-child(2) { --tone: var(--rain); } .facts li:nth-child(3) { --tone: var(--smog); } .facts li:nth-child(4) { --tone: var(--mauve); }
.facts b { display: block; font: 400 42px/1.05 var(--display); font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--tone) 75%, white); text-shadow: var(--outline); }
.facts span { display: block; margin-top: 10px; font: 800 11px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }

/* Sections. */
.block { margin-top: 104px; }
.block > h2, h2.wrap { font-size: clamp(28px, 4vw, 44px); }
.block > .lead { margin-top: 16px; }

/* Tints for panels: the frame band takes the tone. */
.t-rain { --tone: var(--rain); --edge: linear-gradient(var(--rain-hi), var(--rain) 45%, var(--rain-deep)); }
.t-bolt { --tone: var(--bolt); --edge: linear-gradient(var(--bolt-hi), var(--bolt) 45%, var(--bolt-deep)); }
.t-mauve { --tone: var(--mauve); --edge: linear-gradient(#FFB3EE, var(--mauve) 45%, #8F257B); }
.t-acid { --tone: var(--acid); --edge: linear-gradient(#D6FFA2, var(--acid) 45%, #3C8722); }
.t-smog { --tone: #FF8A5E; --edge: linear-gradient(#FFA47E, var(--smog) 45%, #992C13); }
.t-violet { --tone: #B79BFF; --edge: linear-gradient(#D2C0FF, var(--violet) 45%, #4F2FA8); }

/* Steps. */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.step { display: flex; flex-direction: column; gap: 20px; padding: 24px 22px 9px; overflow: hidden; }
.step-copy { flex: 1; }
.num { display: block; font: 400 17px var(--display); color: var(--tone); letter-spacing: .06em; text-shadow: 0 2px 0 var(--ink); }
.num::before { content: "0"; }
.step h3 { font-size: 20px; margin: 8px 0 10px; }
.step p { color: var(--soft); font-size: 15.5px; }
.shot { width: 100%; height: auto; border-radius: 22px; border: 3px solid var(--ink); background: var(--deep); box-shadow: 0 6px 0 var(--ink); }
.step .shot { border-radius: 18px 18px 0 0; border-bottom: 0; box-shadow: none; aspect-ratio: 640 / 900; object-fit: cover; object-position: top; margin-bottom: 0; }

/* Boons: collectible cards with rarity frames. */
.boons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.boon {
  --c: 14px; --band: 4px; --lip: 5px;
  --edge: linear-gradient(color-mix(in srgb, var(--tone) 55%, white), var(--tone) 45%, color-mix(in srgb, var(--tone) 50%, #070919));
  --fill: linear-gradient(color-mix(in srgb, var(--tone) 16%, #2A348E), #19205A);
  display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 18px 20px 16px; align-items: start;
}
.boon.r-common { --edge: linear-gradient(#E3EBFF, var(--mist) 45%, #53649A); }
.boon.r-legendary { --fill: linear-gradient(#3A3364, #1F1C48); }
.tile {
  --c: 10px; --rim: 2.5px; --band: 0px; --lip: 4px;
  --edge: linear-gradient(color-mix(in srgb, var(--tone) 50%, white), var(--tone) 60%);
  --fill: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--tone) 50%, white), var(--tone) 55%, color-mix(in srgb, var(--tone) 60%, #070919));
  width: 50px; height: 54px; display: grid; place-items: center; padding-bottom: 4px; color: #fff;
}
.tile svg { filter: drop-shadow(0 1.5px 0 var(--ink)) drop-shadow(0 0 3px rgba(7, 9, 25, .5)); }
.boon-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pips { display: flex; gap: 5px; padding-right: 2px; }
.pips i { width: 8px; height: 8px; transform: rotate(45deg); background: linear-gradient(135deg, color-mix(in srgb, var(--tone) 55%, white), var(--tone)); box-shadow: 0 0 0 2px var(--ink); }
.boon h3 { font-size: 17px; margin: 9px 0 5px; }
.boon p:last-child { color: var(--soft); font-size: 14.5px; line-height: 1.45; }

/* Features. */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.feature { padding: 24px 22px 28px; }
.feature h3 { font-size: 19px; color: color-mix(in srgb, var(--tone) 70%, white); }
.feature > p { margin-top: 10px; color: var(--soft); font-size: 15.5px; }
.defs { margin: 16px 0 0; display: grid; gap: 10px; }
.defs div { padding-top: 10px; border-top: 2px solid rgba(7, 9, 25, .6); }
.defs dt { font: 800 13.5px var(--body); }
.defs dd { margin: 3px 0 0; color: var(--soft); font-size: 14.5px; line-height: 1.45; }
.money { --edge: linear-gradient(var(--bolt-hi), var(--bolt) 45%, var(--bolt-deep)); --fill: linear-gradient(#24267A, #15174A); margin-top: 18px; padding: 24px 24px 30px; display: grid; gap: 10px; }
.money h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; }
.money h3 .glyph { color: var(--bolt); filter: drop-shadow(0 0 5px rgba(255, 210, 63, .7)); }
.money p { color: var(--soft); font-size: 15.5px; max-width: 86ch; }

/* Gallery. */
.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 206px)); justify-content: center; gap: 22px; margin-top: 32px; padding: 0 20px 8px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 14px; text-align: center; font: 800 11px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }

/* Questions. */
.faq-list { display: grid; gap: 12px; margin-top: 28px; max-width: 820px; }
details.cut { --c: 12px; --band: 3px; --lip: 5px; padding: 0 22px 5px; }
summary { cursor: pointer; padding: 18px 30px 18px 0; font: 800 16px/1.3 var(--body); list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 11px; color: var(--bolt); font: 400 24px var(--display); text-shadow: 0 2px 0 var(--ink); }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 18px; color: var(--soft); max-width: 68ch; }
.more { margin-top: 22px; }
.more a, .back a { font: 800 12.5px var(--body); letter-spacing: .12em; text-transform: uppercase; }

/* Last word. */
.final { margin-top: 110px; text-align: center; display: grid; justify-items: center; gap: 16px; }
.final img { border-radius: 24px; box-shadow: 0 0 0 3px var(--ink), 0 7px 0 3px var(--ink), 0 0 70px rgba(255, 210, 63, .3); }
.final h2 { font-size: clamp(28px, 4.4vw, 48px); margin-top: 14px; }
.final p { color: var(--soft); max-width: 52ch; }
.final .cta { justify-content: center; margin-top: 12px; }

/* Footer, on the skyline. */
footer { margin-top: 90px; background: linear-gradient(transparent 0, rgba(43, 52, 120, .55) 108px, #04061A 108px); }
.skyline { width: 100%; height: 110px; }
.foot { padding: 26px 0 44px; display: grid; gap: 14px; }
.links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.links a { color: #fff; font: 800 12px var(--body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.links a[href^="mailto"] { text-transform: none; letter-spacing: .02em; color: var(--rain-hi); }
.links a:hover { color: var(--bolt); }
.fine { color: var(--faint); font-size: 14px; max-width: 80ch; }
.fine a { color: var(--soft); }

/* Inner pages. */
.inner .page-head { padding: 78px 0 30px; }
.crumbs a { color: var(--rain-hi); text-decoration: none; }
.inner h1 { font-size: clamp(30px, 5vw, 50px); margin: 14px 0 18px; }
.updated { margin-top: 18px; font-size: 10.5px; }
.prose { --c: 20px; padding: 18px 34px 40px; }
.prose h2 { font-size: 22px; margin: 34px 0 10px; color: #fff; }
.prose h3 { font-size: 17px; margin: 22px 0 6px; }
.prose p, .prose li { color: var(--soft); }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0; padding-left: 20px; list-style: none; display: grid; gap: 8px; }
.prose ul li { position: relative; }
.prose ul li::before { content: ""; position: absolute; left: -18px; top: .55em; width: 8px; height: 8px; background: var(--bolt); transform: rotate(45deg); box-shadow: 0 0 0 2px var(--ink); }
.prose strong { color: #fff; }
.prose .short { margin-top: 22px; padding: 16px 18px; border: 2.5px solid var(--ink); border-radius: 4px 14px 4px 14px; background: linear-gradient(rgba(255, 210, 63, .12), rgba(255, 210, 63, .05)); box-shadow: inset 0 0 0 2px rgba(255, 210, 63, .55), 0 4px 0 var(--ink); color: var(--text); }
.prose .defs { margin-top: 14px; }
.prose em { font-style: normal; color: var(--bolt); font-weight: 800; }
.back { margin-top: 26px; }

/* 404. */
.lost { min-height: 62vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 18px; padding-top: 70px; }
.lost h1 { font-size: clamp(30px, 6vw, 56px); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 70px; }
  .stage { width: min(400px, 100%); margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .boons, .features { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(5, 220px); justify-content: start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
  .gallery figure { scroll-snap-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .bar { gap: 12px; }
  .bar nav { display: none; }
  .hero { padding-top: 60px; }
  .cta { gap: 12px; }
  .soon { width: 100%; justify-content: center; text-align: left; }
  .cta .btn { flex: 1 1 auto; padding: 0 14px; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .facts b { font-size: 36px; }
  .block { margin-top: 76px; }
  .steps { grid-template-columns: 1fr; }
  .step { flex-direction: column; }
  .step .shot { width: min(300px, 100%); margin-inline: auto; aspect-ratio: 640 / 1000; }
  .boons, .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(5, 200px); padding-inline: 16px; gap: 14px; }
  .prose { padding: 10px 20px 30px; }
  .inner .page-head { padding-top: 62px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rain { display: none; }
  .btn, .btn::before, .demo-boon, .lang { transition: none; }
}
