/* Shared by all design variants: fonts, the kept top bar and the kept Questions block (same as the live site),
   plus the iPhone frame, store badges and footer. Everything else lives in each variant's own style.css. */
@font-face { font-family: 'Lilita One'; src: url('/assets/LilitaOne-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/assets/Nunito-W600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/assets/Nunito-W800.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --ol: #102360;
  --bg-1: #2361c9; --bg-2: #1e57bb; --bg-3: #1a4dab;
  --card-1: #5aa0ff; --card-2: #3c80ec; --card-3: #2c62d2;
  --cream-1: #fffaf0; --cream-2: #f1dfba;
  --ink: #1d2c66; --ink-2: #4d5784;
  --gold-1: #ffe49a; --gold-2: #f4b63e;
  --muted: #d2e2ff;
  --text-ol: -1.5px -1.5px 0 var(--ol), 1.5px -1.5px 0 var(--ol), -1.5px 1.5px 0 var(--ol), 1.5px 1.5px 0 var(--ol), 0 -1.5px 0 var(--ol), 0 1.5px 0 var(--ol), -1.5px 0 0 var(--ol), 1.5px 0 0 var(--ol), 0 3px 0 var(--ol);
  --text-ol-lg: -2.5px -2.5px 0 var(--ol), 2.5px -2.5px 0 var(--ol), -2.5px 2.5px 0 var(--ol), 2.5px 2.5px 0 var(--ol), 0 -2.5px 0 var(--ol), 0 2.5px 0 var(--ol), -2.5px 0 0 var(--ol), 2.5px 0 0 var(--ol), 0 5px 0 var(--ol);
  --font-game: 'Lilita One', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 66px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }

/* top bar: kept from the live site */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(13, 31, 92, 0.86); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); box-shadow: 0 2px 0 var(--ol), 0 8px 18px rgba(8, 18, 60, 0.25); }
.topbar-inner { max-width: 1440px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 9px 40px; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 0 2.5px var(--ol), 0 3px 0 2.5px rgba(16, 35, 96, 0.45); }
.mark span { font: 400 22px/1 var(--font-game); letter-spacing: 0.03em; color: #fff; text-shadow: var(--text-ol); }
.topbar .links { margin-left: auto; display: flex; align-items: center; gap: 4px 26px; }
.topbar .links a { font: 400 18px/1.2 var(--font-game); letter-spacing: 0.02em; color: #fff; text-decoration: none; text-shadow: var(--text-ol); padding: 8px 0; }
.topbar .links a:hover { color: var(--gold-1); }
.topbar .links a:focus-visible { outline: 3px solid var(--gold-1); outline-offset: 3px; border-radius: 6px; }
@media (max-width: 700px) {
  .topbar-inner { padding: 8px 16px; }
  .topbar .links { gap: 2px 16px; }
  .topbar .links a { font-size: 16px; }
  .topbar .links .opt { display: none; }
  .mark img { width: 36px; height: 36px; }
  .mark span { font-size: 19px; }
}

/* Questions: kept from the live site, on its own royal blue so it reads the same in every variant */
.questions { background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-3) 100%); color: #fff; padding: 64px 20px 72px; font: 600 17px/1.65 var(--font-body); }
.questions .wrap { max-width: 1120px; margin: 0 auto; }
.questions .h2 { margin: 0 0 10px; text-align: center; font: 400 clamp(32px, 6vw, 46px)/1.05 var(--font-game); letter-spacing: 0.02em; text-shadow: var(--text-ol-lg); }
.questions .sub { margin: 0 auto 34px; max-width: 620px; text-align: center; color: var(--muted); font-size: 18px; }
.questions h2, .questions h3 { text-transform: none; font-style: normal; }
.faq { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.qa { min-width: 0; padding: 22px 0 26px; border-top: 2px solid rgba(190, 215, 255, 0.22); }
.qa h3 { margin: 0 0 8px; font: 400 22px/1.2 var(--font-game); letter-spacing: 0.01em; text-wrap: balance; text-shadow: var(--text-ol); }
.qa p { margin: 0; max-width: 60ch; color: #e6efff; font-size: 16.5px; line-height: 1.6; }
.qa a { color: var(--gold-1); font-weight: 800; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } .qa h3 { font-size: 20px; } }

/* footer */
.footer { background: var(--ol); color: var(--muted); padding: 34px 20px 40px; font: 600 15px/1.6 var(--font-body); }
.footer .wrap { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer a { color: #fff; font-weight: 800; text-decoration: none; }
.footer a:hover { color: var(--gold-1); }
.footer .copy { margin-left: auto; }
@media (max-width: 700px) { .footer .copy { margin-left: 0; width: 100%; } }

/* store badges */
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.stores a { display: block; width: 186px; position: relative; }
.stores img { width: 100%; height: auto; }
.stores a:hover { transform: translateY(-2px); }
.stores a:focus-visible { outline: 3px solid var(--gold-1); outline-offset: 3px; border-radius: 10px; }
@media (max-width: 420px) { .stores a { width: calc(50% - 6px); } .stores { flex-wrap: nowrap; } }

/* iPhone frame: Apple's bezel over the screen (screen hole 1320x2868 at 75,66 of 1470x3000) */
.iphone { position: relative; width: 100%; margin: 0 auto; aspect-ratio: 1470 / 3000; }
.iphone::before { content: ''; position: absolute; inset: 1.5% 3% 0.5%; border-radius: 16% / 8%; box-shadow: 0 22px 42px rgba(8, 18, 60, 0.5); }
.iphone::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: url('/assets/img/iphone.webp') 0 0 / 100% 100% no-repeat; }
.iphone > img, .iphone > video { position: absolute; left: 4.9%; top: 2.1%; width: 90.2%; height: 95.8%; border-radius: 14.4% / 6.65%; object-fit: cover; object-position: top; background: #000; }

.clip { background: var(--ol); object-fit: cover; }
/* B: the road. The page is the campaign: seven painted lands, each with its boss. Art first, type on top. */
body { font: 600 18px/1.5 var(--font-body); color: #fff; background: #0d1f5c; }

.hero { position: relative; height: calc(100svh - 58px); min-height: 620px; max-height: 920px; overflow: hidden; background: #0d1f5c; }
.road { position: absolute; inset: 0; display: flex; }
.gate { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--land) center / cover no-repeat; box-shadow: inset 2px 0 0 #0d1f5c; transition: flex-grow .35s ease; text-decoration: none; }
.gate::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,31,92,.82) 0%, rgba(13,31,92,.32) 42%, rgba(13,31,92,0) 62%, rgba(9,18,58,.72) 100%); }
.gate img { position: absolute; z-index: 1; left: 50%; bottom: 34px; height: 50%; width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 12px 18px rgba(8,18,60,.55)); transition: transform .35s ease; transform-origin: 50% 100%; }
.gate span { position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 12px; text-align: center; font: 400 17px/1.1 var(--font-game); text-shadow: var(--text-ol); }
@media (hover: hover) { .gate:hover, .gate:focus-visible { flex-grow: 2.1; } .gate:hover img { transform: translateX(-50%) scale(1.07); } }
.hero-copy { position: absolute; z-index: 3; top: 4%; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; text-align: center; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
h1 { margin: 0; }
h1 img { width: clamp(220px, min(25vw, 36vh), 400px); height: auto; margin: 0 auto; filter: drop-shadow(0 6px 10px rgba(8,18,60,.5)); }
h1 span { display: block; margin-top: 6px; font: 400 clamp(23px, 2.7vw, 36px)/1.1 var(--font-game); text-shadow: var(--text-ol-lg); }
.hero-copy .stores { margin-top: 26px; justify-content: center; }

.how { background: #0d1f5c; padding: 84px 28px; }
.how-in { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.12fr 300px 0.8fr; gap: 52px; align-items: center; }
.how h2 { margin: 0 0 24px; font: 400 clamp(32px, 3.8vw, 46px)/1.05 var(--font-game); text-shadow: var(--text-ol-lg); }
.how-side ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.how-side li { counter-increment: s; position: relative; padding: 13px 0 13px 54px; border-top: 2px solid rgba(190,215,255,.2); }
.how-side li::before { content: counter(s); position: absolute; left: 0; top: 13px; font: 400 40px/1 var(--font-game); color: var(--gold-2); }
.how-side b { display: block; font: 400 22px/1.2 var(--font-game); letter-spacing: .01em; }
.how-side span { font-size: 16px; color: var(--muted); }
.how-moves { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; color: var(--muted); font-size: 17px; }
.how-moves b { display: block; font: 400 38px/1 var(--font-game); color: #fff; text-shadow: var(--text-ol); margin-bottom: 3px; }

.land { position: relative; isolation: isolate; overflow: hidden; background: var(--land) center 40% / cover no-repeat; }
.land::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(9,18,58,.86) 0%, rgba(9,18,58,.42) 46%, rgba(9,18,58,.12) 100%); }
.land.flip::before { background: linear-gradient(270deg, rgba(9,18,58,.86) 0%, rgba(9,18,58,.42) 46%, rgba(9,18,58,.12) 100%); }
.land::after { content: ''; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(9,18,58,.7)); }
.land-in { max-width: 1240px; margin: 0 auto; padding: 0 28px; min-height: 680px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) 258px; gap: 12px; align-items: center; }
.flip .land-in { grid-template-columns: 258px minmax(0, 1.1fr) minmax(0, 1fr); }
.flip .land-text { order: 3; }
.flip .iphone { order: 1; }
.flip .boss { order: 2; }
.land-in.solo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.where { margin: 0 0 8px; font: 800 15px/1.3 var(--font-body); letter-spacing: .05em; color: var(--gold-1); text-shadow: 0 1px 3px rgba(9,18,58,.8); }
.land h2 { margin: 0; font: 400 clamp(46px, 6vw, 78px)/.98 var(--font-game); letter-spacing: .01em; text-shadow: var(--text-ol-lg); }
.epithet { margin: 6px 0 16px; font: 400 clamp(20px, 2vw, 26px)/1.15 var(--font-game); color: #eaf1ff; text-shadow: var(--text-ol); }
.land-text p:last-child { margin: 0; max-width: 24em; color: #f3f7ff; text-shadow: 0 1px 4px rgba(9,18,58,.9); }
.boss { justify-self: center; align-self: end; height: 630px; width: auto; max-width: none; margin-top: 50px; filter: drop-shadow(0 14px 22px rgba(8,18,60,.55)); }
.solo .boss { height: 660px; }
.land .iphone { align-self: center; }

.ring { position: relative; isolation: isolate; background: var(--land) center / cover no-repeat; }
.ring::before { content: ''; position: absolute; z-index: -1; inset: 0; background: rgba(13,31,92,.8); }
.ring-in { max-width: 1040px; margin: 0 auto; padding: 84px 28px; display: grid; grid-template-columns: 290px 1fr; gap: 64px; align-items: center; }
.ring h2 { margin: 0 0 14px; font: 400 clamp(38px, 5vw, 62px)/1 var(--font-game); text-shadow: var(--text-ol-lg); }
.ring p { margin: 0 0 30px; font-size: 20px; max-width: 30em; }
.ring dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ring dt { font: 400 28px/1.1 var(--font-game); color: var(--gold-1); text-shadow: var(--text-ol); }
.ring dd { margin: 3px 0 0; font-size: 15px; line-height: 1.35; color: var(--muted); }

.trust { padding: 56px 24px; text-align: center; background: #0d1f5c; }
.trust h2 { margin: 0 0 6px; font: 400 clamp(26px, 3vw, 34px)/1.1 var(--font-game); text-shadow: var(--text-ol); }
.trust p { margin: 0; color: var(--muted); }
.trust a { color: var(--gold-1); font-weight: 800; }

.last { position: relative; isolation: isolate; padding: 96px 24px; text-align: center; background: var(--land) center 30% / cover no-repeat; }
.last::before { content: ''; position: absolute; z-index: -1; inset: 0; background: rgba(9,18,58,.68); }
.last h2 { margin: 0; font: 400 clamp(32px, 4.5vw, 54px)/1.05 var(--font-game); text-shadow: var(--text-ol-lg); }
.last p { margin: 8px 0 32px; }
.last .stores { justify-content: center; }

@media (max-width: 1080px) {
  .how-in { grid-template-columns: 1fr 260px; gap: 36px; }
  .how-moves { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
  .land-in, .flip .land-in { grid-template-columns: 1fr 240px; min-height: 0; padding: 56px 28px 0; gap: 20px 24px; }
  .land-in.solo { grid-template-columns: 1fr; }
  .land-text, .flip .land-text { order: 1; grid-column: 1; }
  .land .iphone, .flip .iphone { order: 2; grid-column: 2; grid-row: 1 / span 2; }
  .boss, .flip .boss, .solo .boss { order: 3; grid-column: 1; height: 420px; margin-top: 0; }
  .land-in.solo .iphone { display: none; }
  .land::before, .land.flip::before { background: rgba(9,18,58,.5); }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .hero { display: flex; flex-direction: column; height: auto; max-height: none; min-height: 0; padding-top: 22px; background: linear-gradient(180deg, #2361c9, #0d1f5c); }
  .hero-copy { position: relative; top: 0; order: -1; }
  h1 img { width: min(72%, 300px); }
  .hero-copy .stores { margin-top: 20px; padding: 18px 16px 0; }
  .road { position: relative; margin-top: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 16px 22px; gap: 10px; }
  .road::-webkit-scrollbar { display: none; }
  .gate { flex: 0 0 62vw; height: 400px; border-radius: 16px; box-shadow: 0 0 0 2.5px var(--ol); scroll-snap-align: center; }
  .gate::after { background: linear-gradient(180deg, rgba(13,31,92,0) 55%, rgba(9,18,58,.72) 100%); }
  .gate img { height: 72%; }
  .how { padding: 56px 16px; }
  .how-in { grid-template-columns: 1fr; }
  .how-in .iphone { width: min(72%, 280px); }
  .how-moves b { font-size: 27px; }
  .how-moves { font-size: 14px; }
  .land-in, .flip .land-in, .land-in.solo { display: block; position: relative; padding: 48px 16px 0; }
  .boss, .flip .boss, .solo .boss { display: block; height: 360px; margin: 20px auto 0; }
  .land-in:not(.solo) .boss { margin-left: -8px; }
  .land .iphone, .flip .iphone { position: absolute; right: 14px; bottom: 18px; width: 128px; }
  .land h2 { font-size: 50px; }
  .ring-in { grid-template-columns: 1fr; padding: 56px 16px; gap: 30px; text-align: center; }
  .ring .iphone { width: min(66%, 250px); }
  .ring dl { gap: 10px; }
  .ring dt { font-size: 20px; }
}
