/* Letriko — «Скло»: glass panels over painted landscapes. */

@font-face { font-family: "Literata"; src: url("fonts/literata.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Literata"; src: url("fonts/literata-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Onest"; src: url("fonts/onest.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #1c2030;
  --ink-soft: #4b5168;
  --brand: #2c3e73;
  --navy: #141d3f;
  --gold-1: #fbe3a6;
  --gold-2: #e2b04c;
  --gold-3: #a8741c;
  --correct: #229767;
  --present: #e9a80f;
  --absent: #8e949f;
  --g-blue: #4c7bd9;
  --g-violet: #8e5bb5;
  --page: #e9edf5;
  --glass: rgba(255, 255, 255, .6);
  --veil: rgba(238, 244, 252, .94);
  --veil-soft: rgba(238, 244, 252, .72);
  --glass-strong: rgba(255, 255, 255, .78);
  --glass-edge: rgba(255, 255, 255, .7);
  --glass-shadow: 0 24px 70px rgba(16, 24, 56, .28), 0 2px 8px rgba(16, 24, 56, .12);
  --night-glass: rgba(16, 22, 48, .52);
  --night-edge: rgba(255, 255, 255, .22);
  --radius: 28px;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Onest", -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #eef1fa;
    --ink-soft: #b9c0d6;
    --brand: #a9baf2;
    --page: #0c1124;
    --glass: rgba(18, 24, 50, .58);
    --veil: rgba(12, 17, 36, .9);
    --veil-soft: rgba(12, 17, 36, .62);
    --glass-strong: rgba(18, 24, 50, .78);
    --glass-edge: rgba(255, 255, 255, .18);
    --glass-shadow: 0 24px 70px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --veil: rgba(12, 17, 36, .9); --veil-soft: rgba(12, 17, 36, .62);
  --ink: #eef1fa; --ink-soft: #b9c0d6; --brand: #a9baf2; --page: #0c1124;
  --glass: rgba(18, 24, 50, .58); --glass-strong: rgba(18, 24, 50, .78); --glass-edge: rgba(255, 255, 255, .18);
  --glass-shadow: 0 24px 70px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.01em; overflow-wrap: break-word; }
/* Legal titles hold single long words ("Nutzungsbedingungen") that need breaking on phones. */
.doc h1 { -webkit-hyphens: auto; hyphens: auto; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 8px; }

/* Glass */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.glass.night, .night .glass {
  --ink: #f2f4fb; --ink-soft: #c9cfe2; --brand: #c4d0fa;
  background: var(--night-glass); border-color: var(--night-edge); color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .18);
}

/* Painted scenes */
.scene {
  position: relative; isolation: isolate;
  background: var(--navy) var(--bg-m) center / cover no-repeat;
  padding: clamp(72px, 10vw, 140px) 0;
}
@media (min-width: 900px) { .scene { background-image: var(--bg); } }
.scene::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 16, 40, .18), transparent 30%, transparent 70%, rgba(10, 16, 40, .22));
}

/* Header */
.top { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; pointer-events: none; transition: top .3s ease; }
/* Night-blue glass like the icon, edged with a gold hairline. */
.top .bar {
  pointer-events: auto; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 10px; border-radius: 24px;
  color: #f3f5fc; position: relative;
  background: linear-gradient(135deg, rgba(20, 29, 63, .82), rgba(36, 52, 104, .72));
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(226, 176, 76, .42);
  box-shadow: 0 18px 50px rgba(10, 16, 40, .35), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: padding .3s ease, border-radius .3s ease, background .3s ease;
}
.top .bar::after {
  content: ""; position: absolute; left: 24px; right: 24px; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(251, 227, 166, .9), transparent);
}
.top.scrolled { top: 8px; }
.top.scrolled .bar { padding-block: 5px; background: linear-gradient(135deg, rgba(16, 23, 52, .92), rgba(30, 44, 92, .86)); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(226, 176, 76, .5), 0 4px 12px rgba(0, 0, 0, .35); }
.brand span {
  font: 600 23px/1 var(--serif); letter-spacing: -.01em;
  background: linear-gradient(172deg, #fff1c4, var(--gold-1) 30%, var(--gold-2) 70%, #c99434);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-weight: 500; font-size: 15px; padding: 9px 13px; border-radius: 12px; color: rgba(243, 245, 252, .78); transition: color .2s, background .2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold-1), var(--gold-2)); transform: scaleX(0); transition: transform .3s ease; }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav a[aria-current="true"] { color: #fff; }
.soon {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px 8px 9px; border-radius: 13px; white-space: nowrap;
  font: 600 13px/1 var(--sans); color: #fbe3a6; border: 1px solid rgba(226, 176, 76, .55); background: rgba(226, 176, 76, .1);
}
.soon svg { width: 20px; height: 20px; }
/* Language: one pill (globe, code, chevron) that opens a small glass menu. */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px; padding: 8px 10px 8px 11px;
  border-radius: 14px; font: 600 13px/1 var(--sans); letter-spacing: .05em; color: #fbe3a6;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s, border-color .2s;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: rgba(255, 255, 255, .14); border-color: rgba(226, 176, 76, .55); }
.lang summary svg { width: 18px; height: 18px; }
.lang .chev { width: 7px; height: 7px; margin: -3px 2px 0 1px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .85; transition: transform .25s ease, margin .25s ease; }
.lang[open] .chev { transform: rotate(225deg); margin-top: 3px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; margin: 0; padding: 6px; list-style: none;
  border-radius: 18px; background: linear-gradient(160deg, rgba(24, 34, 72, .94), rgba(34, 50, 100, .9));
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(226, 176, 76, .4); box-shadow: 0 22px 50px rgba(8, 12, 32, .45);
  transform-origin: top right; animation: menu .22s cubic-bezier(.2, .8, .2, 1);
}
@keyframes menu { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.lang-menu a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; text-decoration: none;
  color: rgba(243, 245, 252, .9); font: 500 15px/1 var(--sans);
}
.lang-menu a b {
  width: 34px; text-align: center; padding: 5px 0; border-radius: 8px; font: 700 11px/1 var(--sans); letter-spacing: .05em;
  color: #fbe3a6; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
}
.lang-menu a:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.lang-menu a[aria-current="true"] { color: #fff; }
.lang-menu a[aria-current="true"] b { color: #2b1d00; background: linear-gradient(170deg, #fff1c4, var(--gold-1) 35%, var(--gold-2)); border-color: transparent; }
.lang-menu .check { width: 18px; height: 18px; margin-left: auto; color: var(--gold-1); }
@media (max-width: 1080px) { .soon { display: none; } }
@media (max-width: 820px) { .nav { display: none; } .lang { margin-left: auto; } }

/* Shared section heads */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold-2), var(--gold-3)); }
.head { max-width: 720px; padding: 30px 34px; margin-bottom: 28px; }
.head h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 12px 0 12px; }
.head p { color: var(--ink-soft); font-size: 18px; }
.center { margin-inline: auto; text-align: center; }
.center .kicker { justify-content: center; }

/* Hero: the painting edge to edge, a light veil on the text side, one big iPhone
   with game pieces drifting around it. */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--veil) 0%, var(--veil-soft) 42%, transparent 66%);
}
.hero .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.hero-copy { max-width: 560px; }
.hero-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 18px 40px rgba(20, 29, 63, .4); margin-bottom: 26px; }
.hero h1 { font-size: clamp(76px, 10.5vw, 148px); line-height: .92; letter-spacing: -.035em; margin: 10px 0 14px; }
.hero h1 .gilt { filter: drop-shadow(0 2px 0 rgba(90, 60, 10, .35)) drop-shadow(0 10px 24px rgba(120, 80, 10, .25)); }
.tagline { font: 700 clamp(30px, 3.4vw, 46px)/1.12 var(--serif); letter-spacing: -.015em; color: var(--ink); margin: 4px 0 18px; }
.tagline .hl { padding: 0 .08em; border-radius: .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(180deg, transparent 58%, var(--hl) 58%, var(--hl) 92%, transparent 92%); }
.hl-w { --hl: rgba(34, 151, 103, .38); } .hl-g { --hl: rgba(233, 168, 15, .45); } .hl-m { --hl: rgba(76, 123, 217, .38); }
.tagline .gilt, .hero h1 .gilt {
  background: linear-gradient(172deg, #fff1c4 0%, var(--gold-1) 18%, var(--gold-2) 52%, var(--gold-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline .gilt { font-style: italic; filter: drop-shadow(0 1px 0 rgba(90, 60, 10, .3)); }
.hero .lead { font-size: clamp(18px, 1.7vw, 20px); line-height: 1.55; color: var(--ink); opacity: .86; margin: 0 0 30px; max-width: 27em; }
.hero .lead mark { color: inherit; font-weight: 600; background: linear-gradient(180deg, transparent 72%, rgba(226, 176, 76, .55) 72%); padding: 0 .05em; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 16px;
  border-radius: 16px; background: #0b0d14; color: #fff; text-decoration: none; cursor: default;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 12px; opacity: .75; line-height: 1.2; }
.store b { display: block; font: 600 18px/1.2 var(--sans); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { font-size: 14px; font-weight: 500; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .5); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip { background: rgba(255, 255, 255, .08); } }

/* Apple product bezels are shown as is — no tilt, overlap, shadow or overlay (App Store
   marketing guidelines). The look comes from what sits around them: a soft light behind the
   hero iPhone, a dark glass well for each iPad so the black bezel melts into it. */
.hero-device { display: grid; place-items: center; }
.holder { position: relative; }
.floats { display: contents; }
.holder::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 170%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; z-index: -1; filter: blur(14px);
  background: radial-gradient(closest-side, rgba(255, 246, 220, .9), rgba(255, 236, 196, .4) 55%, transparent);
}
.hero-device .iphone { width: min(320px, 64vw); height: auto; display: block; animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }

/* The drifting pieces sit outside the phone's outline, never on it. */
.float {
  position: absolute; display: grid; justify-items: center; gap: 8px; padding: 12px 14px;
  border-radius: 18px; font: 600 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink);
  animation: drift 7s ease-in-out infinite, pop .8s cubic-bezier(.2, .8, .2, 1) both;
}
.float span { white-space: nowrap; }
@keyframes drift { 50% { transform: translateY(-10px) rotate(var(--r, 0deg)); } 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } }
@keyframes pop { from { opacity: 0; scale: .8; } }
.tiles { display: flex; gap: 4px; }
.tiles i, .dots i, .grid4 i { display: block; border-radius: 6px; }
.tiles i { width: 30px; height: 30px; display: grid; place-items: center; font: 700 15px/1 var(--sans); font-style: normal; color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15); }
.tiles .c { background: var(--correct); } .tiles .p { background: var(--present); color: #2b1d00; } .tiles .a { background: var(--absent); }
.dots { display: grid; grid-template-columns: repeat(4, 18px); gap: 4px; }
.dots i { height: 18px; background: var(--c); }
.grid4 { display: grid; grid-template-columns: repeat(4, 16px); gap: 3px; }
.grid4 i { height: 16px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px rgba(30, 40, 70, .15); }
.grid4 i.x { background: #1e2a52; box-shadow: none; }
:root { --g0: var(--present); --g1: var(--correct); --g2: var(--g-blue); --g3: var(--g-violet); }
.f-tiles { right: calc(100% + 26px); top: 16%; --r: -4deg; animation-delay: 0s, .6s; }
.f-cross { right: calc(100% + 40px); top: 58%; --r: 3deg; animation-delay: -3s, .9s; }
.f-card { left: calc(100% + 30px); top: 6%; width: 168px; padding: 7px 7px 10px; border-radius: 6px; background: #fbf7ee; color: #2a2418;
  box-shadow: 0 16px 36px rgba(40, 30, 10, .3); --r: 5deg; animation-delay: -1.5s, 1.1s; text-transform: none; letter-spacing: 0; }
.f-card img { width: 100%; height: auto; border-radius: 3px; }
.f-card span { font: italic 500 15px/1 var(--serif); }
.f-groups { left: calc(100% + 34px); top: 52%; --r: -3deg; animation-delay: -4.5s, 1.3s; }

.ipad { width: 100%; height: auto; display: block; }

/* Games: one row per game, a large iPad on a soft glow beside a glass panel, sides alternating. */
.games { overflow-x: clip; }
.game-rows { display: grid; gap: clamp(40px, 6vw, 90px); margin-top: 20px; }
.game-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.game-row:nth-child(even) .game-device { order: 2; }
.game-device { position: relative; display: grid; place-items: center; }
.game-device::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 125%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; z-index: -1; filter: blur(16px);
  background: radial-gradient(closest-side, rgba(255, 244, 222, .8), rgba(255, 232, 200, .35) 55%, transparent);
}
.game-device .ipad { width: min(430px, 100%); }
.game-copy { padding: clamp(26px, 3.5vw, 44px); max-width: 480px; justify-self: start; }
.game-row:nth-child(even) .game-copy { justify-self: end; }
.game-copy .num {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font: 500 13px/1 var(--sans); letter-spacing: .18em; font-variant-numeric: tabular-nums; color: var(--ink-soft);
}
.game-copy .num b { font-weight: 700; color: var(--brand); }
.game-copy .num i { width: 28px; height: 1.5px; border-radius: 1px; background: var(--brand); opacity: .35; }
.game-copy h3 { font-size: clamp(32px, 3.4vw, 44px); }
.game-copy .meta { font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin: 10px 0 16px; }
.game-copy p:last-child { color: var(--ink-soft); font-size: 18px; }

/* Journey */
.journey { background: #d9c9a6 url("bg/map.webp") center / cover; }
.journey::after { background: radial-gradient(ellipse at center, transparent 40%, rgba(80, 55, 20, .25)); }
.journey .grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.journey .head { margin: 0; }
.stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.stat { padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .5); border: 1px solid var(--glass-edge); }
.stat b { display: block; font: 600 26px/1.1 var(--serif); color: var(--brand); }
.stat span { font-size: 14px; color: var(--ink-soft); }
.hint { margin-top: 18px; font-size: 14px; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; }
.cards6 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 26px; }
.postcard { perspective: 1200px; border: 0; padding: 0; background: none; cursor: pointer; aspect-ratio: 4 / 3.3; font: inherit; color: inherit; text-align: left; }
.postcard:nth-child(odd) { transform: rotate(-1.8deg); }
.postcard:nth-child(even) { transform: rotate(1.3deg) translateY(14px); }
.postcard:nth-child(3) { transform: rotate(1deg); }
.postcard:nth-child(4) { transform: rotate(-1.2deg) translateY(14px); }
.postcard .in { display: block; position: relative; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.3, .7, .2, 1); transform-style: preserve-3d; }
.postcard[aria-pressed="true"] .in { transform: rotateY(180deg); }
.postcard .face {
  position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background: #fbf7ee; border-radius: 6px; padding: 8px 8px 0; color: #2a2418;
  box-shadow: 0 14px 34px rgba(60, 40, 10, .35), 0 1px 2px rgba(60, 40, 10, .3);
  display: flex; flex-direction: column;
}
.postcard .face img { width: 100%; flex: 1; min-height: 0; object-fit: cover; border-radius: 3px; }
.postcard .cap { font: italic 500 17px/1.2 var(--serif); padding: 9px 4px 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; }
.postcard .cap small { font: 500 11px/1.4 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #8a7a5c; font-style: normal; }
.postcard .back { transform: rotateY(180deg); padding: 16px 18px; overflow: auto;
  background: #fbf7ee repeating-linear-gradient(0deg, transparent 0 25px, rgba(130, 110, 70, .14) 25px 26px); }
.postcard .back b { font: italic 600 16px/1.2 var(--serif); display: block; margin-bottom: 6px; padding-right: 46px; }
.postcard .back .fact { display: block; font: 400 14px/1.55 var(--sans); }
.stamp { position: absolute; top: 10px; right: 10px; width: 38px; height: 46px; border: 2px dashed #c2a36a; border-radius: 3px; display: grid; place-items: center; }
.stamp img { width: 26px; height: 26px; border-radius: 6px; }

/* Archive & Plus */
.plus .cards { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; }
.panel { padding: 32px; }
.panel h3 { font-size: 30px; margin: 10px 0 12px; }
.panel p { color: var(--ink-soft); }
.perks { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.perks svg { width: 30px; height: 30px; flex: none; padding: 6px; border-radius: 9px; background: linear-gradient(160deg, var(--gold-1), var(--gold-2)); color: #3a2706; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.plan { padding: 14px; border-radius: 16px; border: 1px solid var(--night-edge); background: rgba(255, 255, 255, .06); }
.plan b { display: block; font: 600 17px/1.2 var(--serif); }
.plan span { font-size: 13px; color: var(--ink-soft); }
.plan.best { border-color: rgba(226, 176, 76, .7); background: rgba(226, 176, 76, .14); }
.note { font-size: 14px; margin-top: 16px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 22px 0 8px; }
.day { aspect-ratio: .8; border-radius: 10px; display: grid; place-items: center; align-content: center; gap: 2px; font-size: 11px; color: var(--ink-soft); background: rgba(255, 255, 255, .08); border: 1px solid var(--night-edge); }
.day b { font: 600 17px/1 var(--serif); color: var(--ink); }
.day.done { background: rgba(34, 151, 103, .35); border-color: rgba(34, 151, 103, .7); }
.day.lock { opacity: .55; }
.strip { margin-top: 26px; overflow: hidden; border-radius: 22px; padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.strip .track { display: flex; gap: 12px; width: max-content; animation: slide 60s linear infinite; }
.strip img { width: 190px; height: 120px; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
@keyframes slide { to { transform: translateX(-50%); } }
.strip-cap { text-align: center; color: #f2f4fb; font-size: 15px; margin-top: 4px; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }

/* FAQ */
.faq-list { max-width: 820px; margin-inline: auto; padding: 10px 30px; }
.faq-list details { border-bottom: 1px solid rgba(120, 130, 160, .25); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font: 600 19px/1.35 var(--serif); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 26px/1 var(--sans); color: var(--brand); transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 20px; color: var(--ink-soft); max-width: 62ch; }

/* Footer */
.foot { padding: 90px 0 40px; }
.foot .panel { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.foot h2 { font-size: clamp(28px, 3.6vw, 38px); }
.foot .links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 14px;
  font: 600 15px/1 var(--sans); text-decoration: none; color: var(--ink);
  background: rgba(255, 255, 255, .12); border: 1px solid var(--night-edge);
}
.btn:hover { background: rgba(255, 255, 255, .22); }
.btn.gold { background: linear-gradient(160deg, var(--gold-1), var(--gold-2)); color: #3a2706; border-color: transparent; }
.btn svg { width: 18px; height: 18px; }
.legal-line { margin: 26px auto 0; width: fit-content; padding: 6px 14px; border-radius: 999px; font-size: 13px; color: #e8ecf8; background: rgba(10, 16, 40, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* Legal pages */
.doc { padding: 120px 0 70px; min-height: 100svh; }
.doc article { max-width: 820px; margin-inline: auto; padding: clamp(26px, 5vw, 56px); background: var(--glass-strong); }
.doc h1 { font-size: clamp(32px, 5vw, 46px); margin: 12px 0 6px; }
.doc .updated { color: var(--ink-soft); font-size: 15px; margin-bottom: 28px; }
.doc h2 { font-size: 23px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; margin: 10px 0; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--brand); }
.doc .summary { padding: 18px 20px; border-radius: 18px; background: rgba(44, 62, 115, .08); border: 1px solid rgba(44, 62, 115, .14); }
.doc .contact { margin-top: 16px; }
.doc .btn { color: var(--ink); background: rgba(44, 62, 115, .1); border-color: rgba(44, 62, 115, .2); }
.doc .back { display: inline-flex; margin-top: 30px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Narrow screens */
@media (max-width: 980px) {
  .hero .grid, .journey .grid, .plus .cards, .foot .panel { grid-template-columns: 1fr; }
  .game-row { grid-template-columns: 1fr; gap: 28px; }
  .game-row:nth-child(even) .game-device { order: 0; }
  .game-copy, .game-row:nth-child(even) .game-copy { justify-self: center; max-width: 560px; }
  .game-device .ipad { width: min(360px, 82vw); }
  .foot .links { justify-content: flex-start; }
  .hero { padding-bottom: 56px; }
  .hero::before { background: linear-gradient(180deg, var(--veil) 0%, var(--veil-soft) 45%, transparent 75%); }
  .hero .grid { gap: 56px; }
}
@media (max-width: 1240px) {
  /* No room beside the phone: the pieces line up under it instead. */
  .hero-device .iphone { width: min(290px, 64vw); }
  .holder { display: grid; justify-items: center; }
  .holder::before { top: 35%; }
  .float { position: static; }
  .floats { display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 22px; }
  .f-card { width: 130px; }
  .f-cross, .f-groups { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 96px; }
  .head, .panel { padding: 24px 22px; }
  .hero-icon { width: 84px; height: 84px; border-radius: 20px; }
  .cards6 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 10px 16px 26px; margin-inline: -16px; scrollbar-width: none; }
  .cards6::-webkit-scrollbar { display: none; }
  .postcard { flex: 0 0 80%; scroll-snap-align: center; }
  .postcard:nth-child(n) { transform: rotate(0); }
  .plans { grid-template-columns: 1fr; }
  .faq-list { padding: 4px 20px; }
  .kicker { letter-spacing: .1em; }
  .center .kicker::before { display: none; }
  .top .bar { gap: 10px; }
  .brand { font-size: 19px; }
}
