/* GoTo Player home page, design B "The Ticket" (live since 11 Nov 2026).
   Phone first: the base rules are for 360 px, then 600, 900 and 1200 px.
   Dark only, like the app. Spacing steps: 4 8 12 16 24 32 48 64 80 (the page gutter is 18). Radius: 18 for cards, 12 for small tiles, 8 for store badges, round for pills. */

[hidden] { display: none !important; }

:root {
  --bg: #07090a; --surface: #0f1316; --surface-2: #151b1f; --border: #232b30; --border-strong: #66737a;
  --text: #f3f6f4; --muted: #a9b3b8; --accent: #c8f56a; --accent-ink: #13180a; --radius: 18px;
  --radius-sm: 12px;
  --lime-edge: rgba(200, 245, 106, .42);   /* extra tint 1: lime hairline and glow */
  --deep: #0b110d;                          /* extra tint 2: deep green-black */
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header: 60px;
  color-scheme: dark;
}

@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 12px); }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.55 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.18; }
h1, h2 { letter-spacing: -.02em; text-wrap: balance; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
strong { color: var(--text); font-weight: 600; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.copy-buf { position: fixed; top: 0; left: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; font-size: 16px; }

.wrap { width: 100%; max-width: 1156px; margin-left: auto; margin-right: auto; padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }

/* Line icons: drawn once in the sprite, 1.75 px stroke, the colour of the text around them */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 20px; height: 20px; stroke-width: 2.1; }   /* 2.1 in a 24 box drawn at 20 px = 1.75 px on screen */
.ico { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--radius-sm); background: rgba(200, 245, 106, .1); color: var(--accent); }

.fine { color: var(--muted); font-size: .875rem; line-height: 1.45; text-wrap: balance; }
.flag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .8125rem; font-weight: 700; line-height: 1.3; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 24px; border: 1px solid transparent; border-radius: 999px; font: 600 1rem/1.2 var(--body); text-align: center; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 22px rgba(200, 245, 106, .2); }
.btn-primary:active { background: #b5e358; box-shadow: 0 2px 8px rgba(200, 245, 106, .2); }
.btn-ghost { border-color: var(--border-strong); background: rgba(255, 255, 255, .03); color: var(--text); }
.btn-ghost:active { background: rgba(200, 245, 106, .1); border-color: var(--accent); }
.btn-lg { min-height: 52px; font-size: 1.0625rem; }
.btn-sm { min-height: 44px; padding: 8px 12px; font-size: .9375rem; }
.btn-block { width: 100%; max-width: 420px; }
.btn.is-done, .btn.is-done:hover { background: var(--text); color: var(--accent-ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--border); background: rgba(7, 9, 10, .86); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: 8px; min-width: 0; min-height: 44px; color: var(--text); font: 700 clamp(.9375rem, 4.1vw, 1.0625rem)/1.1 var(--display); letter-spacing: -.01em; text-decoration: none; }
.brand img { flex: none; width: 34px; height: 34px; border-radius: 9px; }
.brand-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav { display: flex; flex: none; align-items: center; gap: 8px; }
.nav-link { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 16px 0 32px; background:
  radial-gradient(92% 44% at 50% 0%, rgba(200, 245, 106, .15), transparent 72%),
  radial-gradient(64% 26% at 100% 40%, rgba(200, 245, 106, .07), transparent 70%),
  linear-gradient(180deg, var(--deep), var(--bg) 64%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; justify-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; width: 100%; min-width: 0; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 12px; border: 1px solid var(--lime-edge); border-radius: 999px; background: rgba(200, 245, 106, .08); color: var(--accent); font-size: .875rem; font-weight: 600; line-height: 1.3; }
.pill::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(200, 245, 106, .18); }
h1 { margin-top: 12px; font-size: clamp(1.6875rem, 8.4vw, 2.375rem); line-height: 1.15; letter-spacing: -.03em; }
h1 em { color: var(--accent); font-style: normal; }
.lead { max-width: 34rem; margin-top: 12px; color: var(--muted); text-wrap: pretty; }

/* The ticket: two parts, a tear line and two notches cut with a mask (no notch = still a tidy card) */
.ticket { width: 100%; max-width: 440px; margin-top: 16px; text-align: center; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .55)) drop-shadow(0 0 24px rgba(200, 245, 106, .12)); scroll-margin-top: 4px; }
.ticket-main, .ticket-stub { --n: 11px; min-width: 0; background: linear-gradient(180deg, #1a2226, #12181b); }
.ticket-main { padding: 12px 16px; border-radius: var(--radius) var(--radius) 0 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-mask: radial-gradient(circle var(--n) at 0 100%, transparent calc(var(--n) - 1px), #000 var(--n)) 0 0 / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% 100%, transparent calc(var(--n) - 1px), #000 var(--n)) 100% 0 / 51% 100% no-repeat;
  mask: radial-gradient(circle var(--n) at 0 100%, transparent calc(var(--n) - 1px), #000 var(--n)) 0 0 / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% 100%, transparent calc(var(--n) - 1px), #000 var(--n)) 100% 0 / 51% 100% no-repeat; }
.ticket-stub { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 16px 12px; border-top: 2px dashed rgba(169, 179, 184, .5); border-radius: 0 0 var(--radius) var(--radius); background: linear-gradient(180deg, #12181b, #0f1417);
  -webkit-mask: radial-gradient(circle var(--n) at 0 0, transparent calc(var(--n) - 1px), #000 var(--n)) 0 0 / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% 0, transparent calc(var(--n) - 1px), #000 var(--n)) 100% 0 / 51% 100% no-repeat;
  mask: radial-gradient(circle var(--n) at 0 0, transparent calc(var(--n) - 1px), #000 var(--n)) 0 0 / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% 0, transparent calc(var(--n) - 1px), #000 var(--n)) 100% 0 / 51% 100% no-repeat; }
.ticket-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; color: var(--muted); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; }
.ticket-top span { display: inline-flex; align-items: center; gap: 8px; }
.ticket-top span + span { color: var(--accent); }
.ticket-code { margin-top: 4px; padding-left: .04em; color: var(--text); font: 700 clamp(2.875rem, 14.5vw, 4.25rem)/1 var(--display); letter-spacing: .04em; white-space: nowrap; text-shadow: 0 0 30px rgba(200, 245, 106, .3); -webkit-user-select: all; user-select: all; }
.ticket-alt { color: var(--muted); font-size: .9375rem; overflow-wrap: anywhere; }

/* Slim row under the ticket: the other devices. The script moves this visitor's device to the top. */
.stores { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 12px; width: 100%; max-width: 440px; margin-top: 16px; }
.stores-title { flex: 0 0 100%; color: var(--muted); font-size: .9375rem; }
.stores-note { flex: 0 0 100%; order: 2; }
.store { display: flex; flex-direction: column; align-items: center; gap: 8px; order: 1; min-width: 0; }
.store-badge { display: inline-flex; border-radius: 8px; }
.store-badge img { display: block; width: auto; height: 44px; }
.store-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 4px 12px; border: 1px solid var(--border-strong); border-radius: 8px; background: #0b0e10; color: var(--text); font-size: .9375rem; font-weight: 600; line-height: 1.2; text-decoration: none; }
.store-btn:active { border-color: var(--accent); }
.store-line { color: var(--muted); font-size: .875rem; line-height: 1.45; text-wrap: balance; }
.store.is-mine { position: relative; order: -1; flex: 0 0 100%; margin-top: 4px; padding: 24px 16px 16px; border: 1px solid var(--lime-edge); border-radius: var(--radius); background: rgba(200, 245, 106, .06); }
.is-mine > .flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.store.is-mine .store-btn { width: 100%; max-width: 420px; min-height: 52px; border-color: transparent; border-radius: 999px; background: var(--text); color: var(--accent-ink); font-size: 1.0625rem; }

/* The TV: bezel, stand, glow, label and a drawn remote */
.hero-stage { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; max-width: 620px; min-width: 0; }
.tvset { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 4px 0 8px; background: radial-gradient(56% 58% at 50% 54%, rgba(200, 245, 106, .2), rgba(200, 245, 106, .05) 52%, transparent 74%); }
.tv-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 4px 12px; border: 1px solid var(--border); border-radius: 999px; background: rgba(15, 19, 22, .85); color: var(--text); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; }
.tv-label .i { color: var(--accent); }
.tv-row { display: flex; align-items: flex-end; justify-content: center; width: 100%; }
.tv { flex: 0 1 90%; min-width: 0; }
.tv-bezel { padding: 5px 5px 9px; border-radius: 12px; background: linear-gradient(180deg, #252e33, #0d1113); box-shadow: 0 0 0 1px #343f45, 0 26px 54px rgba(0, 0, 0, .65), 0 0 64px rgba(200, 245, 106, .16); }
.tv-bezel img { display: block; width: 100%; border-radius: 7px; background: #000; }
.tv-stand { display: flex; flex-direction: column; align-items: center; }
.tv-stand::before { content: ""; width: 14%; height: 10px; background: linear-gradient(180deg, #0d1113, #1f272b); }
.tv-stand::after { content: ""; width: 40%; height: 5px; border-radius: 5px 5px 2px 2px; background: #2c363b; }
.remote { position: relative; z-index: 1; flex: 0 0 11%; width: 11%; min-width: 34px; max-width: 58px; height: auto; aspect-ratio: 44 / 132; margin: 0 0 2px -4%; transform: rotate(8deg); transform-origin: 50% 100%; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .6)); }
.tv-note { text-align: center; }
.qr { display: none; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; scroll-margin-top: -16px; }
.section-head { max-width: 40rem; margin: 0 auto 24px; text-align: center; }
h2 { font-size: clamp(1.625rem, 6.8vw, 1.875rem); }
.section-lead { margin-top: 8px; color: var(--muted); text-wrap: balance; }
.section-foot { display: flex; justify-content: center; margin-top: 24px; }
.band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #0b0f10, #090c0d); }
.card { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }

/* 3 steps: a small TV per step. Rows on phones, a row of three from 600 px. */
.steps { display: grid; gap: 24px; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); align-items: center; gap: 12px; padding: 24px 16px 16px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -12px; left: 16px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 .9375rem/1 var(--display); box-shadow: 0 0 0 4px var(--bg); }
.step-body { min-width: 0; }
.step h3 { margin-bottom: 4px; font-size: 1.125rem; }
.step p { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.mini-tv { min-width: 0; container-type: inline-size; }
.mini-bezel { padding: 3px 3px 5px; border-radius: 8px; background: linear-gradient(180deg, #252e33, #0d1113); box-shadow: 0 0 0 1px #343f45, 0 10px 24px rgba(0, 0, 0, .5); }
.mini-screen { display: flex; flex-direction: column; justify-content: center; gap: 8px; gap: 5cqw; aspect-ratio: 16 / 9; padding: 8px; padding: 6cqw; overflow: hidden; border-radius: 5px; background: radial-gradient(120% 100% at 12% 0%, #1b2b19, #0b0e0f 64%); text-align: left; }
.mini-shot { display: block; aspect-ratio: auto; padding: 0; }
.mini-shot img { display: block; width: 100%; }
.mini-tv .tv-stand::before { height: 6px; }
.mini-tv .tv-stand::after { height: 3px; }
.ms-label { color: var(--muted); font-size: .8125rem; font-size: clamp(.8125rem, 5.4cqw, 1.125rem); line-height: 1.2; }
.ms-field { display: flex; align-items: center; gap: 4px; padding: 4px 8px; padding: 3.2cqw 5cqw; overflow: hidden; border: 1px solid var(--accent); border-radius: 8px; background: rgba(200, 245, 106, .07); color: var(--text); font: 700 .9375rem/1.2 var(--display); font-size: clamp(.9375rem, 10cqw, 2rem); letter-spacing: .04em; white-space: nowrap; }
.ms-field::after { content: ""; flex: none; width: 2px; height: 1em; background: var(--accent); }
.ms-row { display: flex; align-items: center; gap: 8px; gap: 6cqw; }
.ms-bars { display: grid; flex: 1 1 auto; gap: 4px; gap: 3.6cqw; min-width: 0; }
.ms-bars i { display: block; height: 10px; height: clamp(10px, 7.5cqw, 22px); border: 1px solid var(--border-strong); border-radius: 999px; }
.ms-bars i:first-child { border-color: var(--accent); background: rgba(200, 245, 106, .07); }
.ms-qr { flex: 0 0 28%; width: 28%; height: auto; aspect-ratio: 1; color: var(--text); }

/* Check your TV */
.check-grid { display: grid; gap: 12px; }
.check { padding: 16px; }
.check h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 1.125rem; }
.check h3 .i { color: var(--accent); }
.check-no h3 .i { color: var(--muted); }
.check-yes { border-color: #33401f; background: linear-gradient(160deg, rgba(200, 245, 106, .08), rgba(200, 245, 106, 0) 58%), var(--surface); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface-2); font-size: 1rem; line-height: 1.3; }
.more { margin-top: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }

/* No typing: two ways on one pass, with a tear line between them */
.pass { display: grid; }
.pass-half { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 8px 12px; padding: 16px; }
.pass-half h3 { font-size: 1.125rem; }
.pass-half p { grid-column: 2; color: var(--muted); font-size: 1rem; }
.pass-or { display: flex; align-items: center; gap: 12px; padding: 0 16px; color: var(--muted); font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pass-or::before, .pass-or::after { content: ""; flex: 1 1 0; border-top: 2px dashed var(--border); }

/* Other devices: one picture of the three, then three small cards */
.lineup { display: flex; align-items: flex-end; justify-content: center; max-width: 620px; margin: 0 auto 24px; padding-top: 8px; background: radial-gradient(60% 72% at 50% 62%, rgba(200, 245, 106, .13), transparent 72%); }
.dev-phone { position: relative; z-index: 1; flex: 0 0 22%; min-width: 0; padding: 3px; border-radius: clamp(13px, 3.6vw, 24px); background: #1c2327; box-shadow: 0 0 0 1px #3a454b, 0 14px 28px rgba(0, 0, 0, .55); }
.dev-phone img { display: block; width: 100%; border-radius: clamp(10px, 3vw, 21px); }
.dev-phone:first-child { margin-right: -7%; }
.dev-phone:last-child { margin-left: -7%; }
.dev-laptop { flex: 0 0 60%; min-width: 0; }
.dev-screen { padding: 4px; border-radius: 10px 10px 2px 2px; background: #1c2327; box-shadow: 0 0 0 1px #3a454b; }
.dev-screen img { display: block; width: 100%; border-radius: 6px; }
.dev-base { height: 8px; margin: 0 -5%; border-radius: 2px 2px 10px 10px; background: linear-gradient(180deg, #343f45, #171d20); }
.apps { display: grid; gap: 12px; }
.app { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
.app-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.app h3 { font-size: 1.125rem; }
.app p { color: var(--muted); font-size: 1rem; }
.app .btn { width: 100%; margin-top: auto; }
.app.is-mine { order: -1; border-color: var(--lime-edge); background: linear-gradient(160deg, rgba(200, 245, 106, .1), rgba(200, 245, 106, 0) 60%), var(--surface); }
.app.is-mine .btn { border-color: transparent; background: var(--accent); color: var(--accent-ink); }
.app.is-mine > .flag { position: static; transform: none; color: var(--accent-ink); font-size: .8125rem; }

/* Features: one grouped list on phones, tiles from 600 px */
.feats { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.feats li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.feats li + li { border-top: 1px solid var(--border); }

/* FAQ */
.faq { display: grid; gap: 8px; max-width: 42rem; margin: 0 auto; }
.qa { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.qa[open], .more[open] { border-color: #3a4a22; }
summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 16px; border-radius: var(--radius); font-weight: 600; line-height: 1.35; list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 10px; height: 10px; margin: 0 4px 4px 0; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); }
details[open] > summary::after { margin-bottom: -4px; transform: rotate(-135deg); }
summary:focus-visible { outline-offset: -3px; }
.qa-a { display: grid; gap: 8px; padding: 0 16px 16px; color: var(--muted); }
.qa-a a { overflow-wrap: anywhere; }
.words { display: grid; gap: 4px; }
.words dt { margin-top: 8px; color: var(--text); font-weight: 600; }
.words dt:first-child { margin-top: 0; }

/* Closing band with the small ticket */
.closing { padding: 48px 0; background: radial-gradient(84% 72% at 50% 0%, rgba(200, 245, 106, .14), transparent 72%), var(--deep); text-align: center; scroll-margin-top: -16px; }
.closing .wrap { display: flex; flex-direction: column; align-items: center; }
.ticket-mini .ticket-top { justify-content: center; }
.ticket-mini .ticket-code { font-size: clamp(2.375rem, 11.5vw, 3rem); }
.closing-more { margin-top: 16px; }
.closing .fine { margin-top: 8px; }

/* Player-only notice */
.notice-wrap { padding: 32px 0 48px; background: var(--deep); }
.notice { max-width: 36rem; margin: 0 auto; padding: 12px 16px; border: 1px solid #34431f; border-radius: var(--radius-sm); background: #11170b; color: #cfd8c2; font-size: .9375rem; text-align: center; text-wrap: balance; }

/* ---------- Footer ---------- */
.site-footer { padding: 32px 0 48px; border-top: 1px solid var(--border); color: var(--muted); font-size: .9375rem; text-align: center; }
.footer-in { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.footer-nav a, .footer-mail { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--muted); text-decoration: none; }
.footer-mail { color: var(--text); overflow-wrap: anywhere; }

/* ---------- Phone bottom bar (below 900 px) ---------- */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 8px max(16px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); border-top: 1px solid var(--lime-edge); background: rgba(10, 13, 14, .95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -12px 28px rgba(0, 0, 0, .5); }
.bar-in { display: flex; align-items: center; gap: 8px; max-width: 460px; margin: 0 auto; }
.bar-code { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.bar-code span { color: var(--muted); font-size: .8125rem; line-height: 1.3; }
.bar-code strong { font: 700 1.5rem/1.1 var(--display); letter-spacing: .04em; }
.bar-copy { flex: none; min-width: 96px; }
.bar-x { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bar-x:active { background: var(--surface-2); color: var(--text); }
.has-bar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

/* Very small phones (under 360 px): the logo alone keeps the two header buttons in one row */
@media (max-width: 359.98px) {
  .brand-name { display: none; }
  .ticket-top { justify-content: center; }
}

/* ---------- From 600 px: large phones in landscape, tablets ---------- */
@media (min-width: 600px) {
  .hero { padding: 48px 0 64px; }
  .btn-sm { padding: 8px 16px; }
  h1 { max-width: 14em; font-size: 2.75rem; }
  .lead { font-size: 1.125rem; }
  .ticket { margin-top: 24px; }
  .stores { max-width: 520px; }
  .ticket-main { padding: 16px 24px; }
  .ticket-stub { padding: 16px 24px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  h2 { font-size: 2rem; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .step { grid-template-columns: minmax(0, 1fr); align-items: start; align-content: start; gap: 16px; }
  .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .more .qa-a { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; }
  .pass { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .pass-half { padding: 24px; }
  .pass-or { flex-direction: column; padding: 16px 0; }
  .pass-or::before, .pass-or::after { border-top: 0; border-left: 2px dashed var(--border); }
  .apps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .app-head { flex-direction: column; align-items: flex-start; }
  .app h3 { text-wrap: balance; }
  .app .btn { padding-left: 12px; padding-right: 12px; }
  .feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border: 0; background: none; }
  .feats li, .feats li + li { align-items: flex-start; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
  .words { grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; }
  .words dt { margin-top: 0; }
  .closing { padding: 64px 0; }
  /* the small ticket turns into a real boarding pass: code on the left, button on the stub */
  .ticket-mini { display: grid; grid-template-columns: minmax(0, 1fr) auto; max-width: 560px; }
  .ticket-mini .ticket-main { display: flex; flex-direction: column; justify-content: center; border-radius: var(--radius) 0 0 var(--radius);
    -webkit-mask: radial-gradient(circle var(--n) at 100% 0, transparent calc(var(--n) - 1px), #000 var(--n)) 0 0 / 100% 51% no-repeat, radial-gradient(circle var(--n) at 100% 100%, transparent calc(var(--n) - 1px), #000 var(--n)) 0 100% / 100% 51% no-repeat;
    mask: radial-gradient(circle var(--n) at 100% 0, transparent calc(var(--n) - 1px), #000 var(--n)) 0 0 / 100% 51% no-repeat, radial-gradient(circle var(--n) at 100% 100%, transparent calc(var(--n) - 1px), #000 var(--n)) 0 100% / 100% 51% no-repeat; }
  .ticket-mini .ticket-stub { justify-content: center; padding: 24px; border-top: 0; border-left: 2px dashed rgba(169, 179, 184, .5); border-radius: 0 var(--radius) var(--radius) 0;
    -webkit-mask: radial-gradient(circle var(--n) at 0 0, transparent calc(var(--n) - 1px), #000 var(--n)) 0 0 / 100% 51% no-repeat, radial-gradient(circle var(--n) at 0 100%, transparent calc(var(--n) - 1px), #000 var(--n)) 0 100% / 100% 51% no-repeat;
    mask: radial-gradient(circle var(--n) at 0 0, transparent calc(var(--n) - 1px), #000 var(--n)) 0 0 / 100% 51% no-repeat, radial-gradient(circle var(--n) at 0 100%, transparent calc(var(--n) - 1px), #000 var(--n)) 0 100% / 100% 51% no-repeat; }
  .ticket-mini .btn-block { width: auto; }
}

/* ---------- From 900 px: laptops, tablets in landscape ---------- */
@media (min-width: 900px) {
  :root { --header: 68px; }
  .nav { gap: 4px; }
  .nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--muted); font-size: .9375rem; font-weight: 500; text-decoration: none; }
  .nav .btn { margin-left: 8px; }
  .hero { padding: 32px 0 64px; background:
    radial-gradient(52% 70% at 76% 42%, rgba(200, 245, 106, .13), transparent 72%),
    linear-gradient(180deg, var(--deep), var(--bg) 70%); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 48px; justify-items: stretch; }
  .hero-copy { align-items: flex-start; text-align: left; }
  h1 { font-size: clamp(2.25rem, 4.1vw, 3rem); }
  .stores { justify-content: flex-start; }
  .store, .store.is-mine { align-items: flex-start; }
  .store.is-mine > .flag { left: 16px; transform: none; }
  .hero-stage { max-width: none; }
  .qr { display: flex; align-items: center; gap: 12px; max-width: 380px; padding: 12px 16px 12px 12px; text-align: left; }
  .qr img { flex: none; width: 99px; height: 99px; border-radius: 8px; background: #fff; }
  .qr p { color: var(--muted); font-size: .9375rem; }
  .section { padding: 80px 0; }
  .closing { padding: 80px 0; }
  h2 { font-size: 2.25rem; }
  .step { padding: 24px; }
  .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px 16px; max-width: none; }
  .footer-in { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
  .footer-copy { flex: 0 0 100%; }
  .bar { display: none !important; }
  .has-bar { padding-bottom: 0; }
}

/* ---------- From 1200 px ---------- */
@media (min-width: 1200px) {
  .hero-grid { gap: 64px; }
  .steps, .apps { gap: 24px; }
  .check-grid { gap: 24px; }
}

/* ---------- Hover (mouse only) ---------- */
@media (hover: hover) {
  a:hover { text-decoration-thickness: 2px; }
  .btn-primary:hover { background: #d7fb8b; }
  .btn-ghost:hover, .store-btn:hover { border-color: var(--accent); background: rgba(200, 245, 106, .07); }
  .store.is-mine .store-btn:hover { background: #fff; }
  .app.is-mine .btn:hover { background: #d7fb8b; }
  .store-badge:hover { box-shadow: 0 0 0 2px var(--lime-edge); }
  .nav-link:hover, .footer-nav a:hover { color: var(--text); }
  .footer-nav a:hover, .footer-mail:hover { text-decoration: underline; }
  summary:hover { color: var(--accent); }
  .bar-x:hover { background: var(--surface-2); color: var(--text); }
}

/* ---------- Motion: small and calm, only for people who have not asked for less ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn, .store-btn, .store-badge, .nav-link, .bar-x { transition: transform .12s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease; }
  .btn:active, .store-btn:active, .store-badge:active { transform: scale(.975); }
  summary::after { transition: transform .2s ease, margin .2s ease; }
  .hero-copy { animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-stage { animation: rise .6s cubic-bezier(.2, .7, .2, 1) .08s both; }
  .bar { animation: bar-in .25s ease-out both; }
  @keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
  @keyframes bar-in { from { transform: translateY(100%); } to { transform: none; } }
}

/* Small laptops and tablets on their side (900 to 1099 px): the menu has five links since "Check your TV" was added
   (owner, 12 Nov 2026). "Features" steps aside there so the name GoTo Player is never cut. */
@media (min-width: 900px) and (max-width: 1099px) {
  .nav-link[href$="#features"] { display: none; }
}
