:root {
  color-scheme: dark;
  --bg: #10191f;
  --panel: #19282d;
  --border: #384c50;
  --text: #f2f0df;
  --muted: #bdccca;
  --accent: #d7ef00;
  --mint: #65e4cd;
  --paper: #e9e9d9;
  --gutter: clamp(20px, 5.2vw, 76px);
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--bg); line-height: 1.55; }
.container { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: #edffaa; }
a:focus-visible, video:focus-visible { outline: 3px solid var(--mint); outline-offset: 5px; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3,.brand,.footer-brand,.primary { font-family: Bahnschrift, 'Arial Narrow', 'Segoe UI', sans-serif; }
h1,h2,h3 { line-height: 1.11; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 8px 14px; color: #101321; background: var(--mint); transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.mast { position: relative; isolation: isolate; border-bottom: 2px solid #1c2321; background: var(--paper); }
.mast::before { content: ''; position: absolute; z-index:-2; inset: 0; pointer-events: none; background-image: radial-gradient(#1a302824 .7px,transparent .8px); background-size: 4px 4px; }
.mast::after { content:''; position:absolute; z-index:-1; inset:0; pointer-events:none; background:var(--accent); clip-path:polygon(0 13%,34% 13%,34% 8%,57% 8%,54% 33%,56% 33%,54% 48%,100% 48%,100% 76%,73% 76%,71% 85%,25% 85%,25% 91%,0 91%); }
.mast-inner { position: relative; }
.mast a:focus-visible { outline-color: #114c46; }
.mast-inner,.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.mast-inner { min-height: 73px; }
.brand,.footer-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 24px; font-weight: 750; letter-spacing: -.045em; text-decoration: none; color: var(--text); }
.brand img { display: block; width: auto; }
.brand .symbol { width: 36px; height: 36px; object-fit: contain; image-rendering: pixelated; }
.brand .wordmark { display: block; width: clamp(124px,14vw,178px); height: 48px; object-fit: contain; object-position: left center; }
nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 38px); }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: #d8dce7; text-decoration: none; }
.mast nav a { color: #20322e; }
.mast nav a:hover,.mast nav a[aria-current=page] { color: #104a44; text-decoration: underline; }
nav a[aria-current=page] { color: var(--accent); }
.hero { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.3fr); align-items: center; gap: clamp(20px, 4.5vw, 68px); padding-block: clamp(56px, 7vw, 106px); }
.status,.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.status { color: var(--mint); }
.status span { width: 7px; height: 7px; background: var(--mint); border-radius: 50%; }
.hero h1 { margin-top: 19px; font-family: Impact,'Bahnschrift Condensed','Arial Narrow',sans-serif; font-size: clamp(70px, 7.4vw, 108px); font-weight: 700; letter-spacing: -.045em; line-height: .91; }
.hero h1 em { color: var(--accent); font-style: normal; }
.intro { color: #d1d4df; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; }
.hero .intro { max-width: 39ch; margin-top: 24px; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 18px; margin-top: 24px; color: #172423; background: var(--accent); font-size: 16px; font-weight: 750; line-height: 1.3; text-decoration: none; border-radius: 2px; }
.primary:hover { color: #172423; background: #efff9c; }
.play { display: inline-block; width: 0; height: 0; border: 5px solid transparent; border-left: 8px solid currentColor; margin-right: -5px; }
.screen-stage { position: relative; isolation: isolate; display:grid; grid-template-columns:minmax(0,2.4fr) minmax(0,1fr); align-items:center; gap:clamp(3px,.7vw,12px); padding:clamp(8px,1.4vw,20px); background: linear-gradient(112deg,#487971 0 32%,#253f40 32% 51%,#213135 51% 77%,#d8ed58 77% 94%,#e9e8d5 94%); border: 1px solid #4a6261; border-radius: 3px; }
.screen-stage::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(#182b2880 .7px,transparent .9px); background-size: 4px 4px; }
.desktop-frame,.phone-frame { position: relative; width:100%; display:block; overflow: hidden; background: #0e171e; border: 1px solid #617476; box-shadow: 0 8px 20px #08131255; }
.desktop-frame img,.phone-frame img { display: block; width: 100%; height: auto; }
.desktop-frame { border-radius: 5px; }
.phone-frame { align-self:end; margin-bottom:6%; border: 3px solid #19282c; outline: 1px solid #697b7c; border-radius: 8px; }
figcaption { margin-top: 10px; font-size: 12px; text-align: right; color: var(--muted); }
.how { border-top: 1px solid var(--border); padding-block: clamp(30px, 4.5vw, 57px); }
h2 { font-size: clamp(25px, 2.4vw, 34px); letter-spacing: -.035em; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.steps article { padding: 20px 22px; background: var(--panel); border: 1px solid var(--border); }
.formation { display: flex; gap: 4px; margin-bottom: 13px; }
.formation i { display: block; width: 16px; height: 9px; background: var(--paper); transform: skewX(-14deg); }
.formation .open { background: transparent; border: 1px solid var(--mint); }
.formation .locked { background: #607577; opacity: .42; }
.steps h3 { margin-bottom: 8px; font-size: 20px; }
.steps p,.availability p,.guide p,.chapters,.owner,.riot-notice { color: var(--muted); }
.availability { display: grid; grid-template-columns: 1fr 2fr; align-items: baseline; gap: 20px; border-top: 1px solid var(--border); padding-block: 32px 56px; }
.availability p { max-width: 67ch; }
.footer { background: #0a1117; border-top: 1px solid var(--border); padding-block: 22px 30px; }
.footer-brand { display:grid; place-items:center; width:44px; height:44px; background:var(--paper); border-radius:5px; }
.owner,.riot-notice { max-width: 95ch; font-size: 12px; }
.owner { margin-top: 12px; }
.riot-notice { margin-top: 5px; }
.page-head,.article>header { padding-top: clamp(40px, 6vw, 76px); }
.eyebrow,.date { color: var(--mint); }
.page-head h1,.article h1 { font-size: clamp(43px, 5.3vw, 74px); letter-spacing: -.055em; }
.page-head h1 { margin-top: 8px; }
.page-head .intro,.article .intro { margin-top: 17px; max-width: 70ch; }
.video-block { margin-top: 28px; max-width: 988px; }
.video-block video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; background: #090c16; border: 1px solid var(--border); border-radius: 6px; }
.media-links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; margin-top: 10px; font-size: 14px; color: var(--muted); }
.guide { max-width: 80ch; padding-block: 40px 64px; }
.article { padding-top: 0; }
.article header { margin-bottom: 38px; }
.article .date { margin-top: 9px; font-size: 14px; color: var(--mint); }
.article section { margin-top: 27px; border-top: 1px solid var(--border); padding-top: 22px; }
.article section h2 { font-size: clamp(23px, 2.2vw, 29px); }
.guide h2+p,.guide p+p { margin-top: 12px; }
.guide strong { color: var(--text); }
.chapters { margin: 18px 0; padding: 0; list-style: none; }
.chapters li { display: grid; grid-template-columns: 42px 1fr; gap: 10px; border-top: 1px solid var(--border); padding-block: 9px; }
.chapters time { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--mint); }
.practice-demo { border-top: 1px solid var(--border); padding-top: 32px; }
.practice-shots { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin: 22px 0; }
.practice-shots figure { margin: 0; min-width: 0; }
.practice-shots img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 8px; }
.practice-shots figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 560px) { .practice-shots { grid-template-columns: minmax(0,390px); } }
@media (max-width: 840px) {
  .hero { grid-template-columns: minmax(215px,.81fr) minmax(0,1.18fr); gap: 22px; }
  .hero h1 { font-size: 70px; }
  .steps { gap: 10px; }
  .steps article { padding: 14px 13px; }
}
@media (max-width: 670px) {
  .mast-inner { min-height: 58px; }
  .brand { gap: 6px; }
  .brand .symbol { width:30px; height:30px; }
  .brand .wordmark { height: 40px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 34px; }
  .hero h1 { font-size: clamp(60px, 13vw, 78px); }
  .hero .intro { max-width: 48ch; margin-top: 16px; }
  .hero .primary { margin-top: 18px; }
  .steps,.availability { grid-template-columns: 1fr; }
  .steps article { padding: 15px 18px; }
  .availability { gap: 12px; padding-block: 25px 34px; }
  .footer-top { gap: 12px; flex-wrap: wrap; }
  .video-block { margin-top: 18px; }
  .guide { padding-bottom: 40px; }
}
