/* ONE TAP: DON'T BLINK landing page.
   Dark only, because the game is dark. One accent (the game's lime).
   Shape rule: no rounded UI. Primary buttons carry the game's cut corner;
   rounded corners appear only on phone frames, which are devices, not UI. */

@font-face {
	font-family: "Oxanium";
	src: url("/fonts/Oxanium.ttf") format("truetype");
	font-weight: 200 800;
	font-display: swap;
}

:root {
	color-scheme: dark;
	--ink: #08090c;
	--panel: #101218;
	--panel-2: #151821;
	--line: rgba(246, 247, 242, 0.12);
	--line-strong: rgba(246, 247, 242, 0.28);
	--paper: #f6f7f2;
	--muted: #a2a7b2;
	--lime: #b7ff5a;
	--lime-soft: rgba(183, 255, 90, 0.09);
	--cut: 12px;
	--nav-h: 64px;
	--wrap: 1200px;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--paper);
	font-family: "Oxanium", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--lime); color: var(--ink); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.1; }
h3 { font-size: 1.25rem; line-height: 1.2; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 34ch; }
.mini { font-size: 0.875rem; color: var(--muted); }
p { max-width: 62ch; }

/* Buttons */
.btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 0;
	font: inherit;
	font-weight: 600;
	letter-spacing: 0.01em;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary {
	background: var(--lime);
	color: var(--ink);
	clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.btn-primary:hover { background: #caff7d; }
.btn-ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--paper); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.95rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 520px) { .cta-row .btn { flex: 1 1 100%; } }
.standalone [data-install] { display: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(8, 9, 12, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: 0.08em; }
.brand-mark { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgba(246, 247, 242, 0.28); }
.brand-mark::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--lime); border-right-color: var(--lime); transform: rotate(-20deg); clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%); }
.brand-mark::after { content: ""; position: absolute; left: 2px; bottom: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--paper); }
.nav-links { display: none; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--paper); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; box-shadow: inset 0 0 0 1px var(--line); }
.lang button { appearance: none; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 0.85rem; font-weight: 600; padding: 8px 12px; cursor: pointer; letter-spacing: 0.06em; }
.lang button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* Hero */
.hero { min-height: calc(100dvh - var(--nav-h)); display: flex; align-items: center; padding-block: 32px 56px; position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
.hero-copy { padding-top: 8px; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
@media (min-width: 900px) {
	.hero-grid { grid-template-columns: 1.05fr 0.95fr; }
	.hero-visual { min-height: 600px; }
}

.orbit { position: absolute; width: min(88vw, 560px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); }
.orbit-arc { position: absolute; inset: -3px; border-radius: 50%; background: conic-gradient(from 18deg, var(--lime) 0 26deg, transparent 26deg); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); }
.orbit-dot { position: absolute; inset: 0; }
.orbit-dot::after { content: ""; position: absolute; top: -8px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--paper); }
@media (prefers-reduced-motion: no-preference) {
	/* The signal circling the ring is the game itself, so it is the one looping motion on the page. */
	.orbit-dot { animation: orbit 16s linear infinite; }
	.phone-back { animation: float 9s var(--ease) infinite alternate; }
}
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes float { from { transform: translateY(0) rotate(5deg); } to { transform: translateY(-10px) rotate(5deg); } }

/* Phone frames */
.phone { position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 30px; box-shadow: 0 40px 70px -35px #000; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone picture { display: block; width: 100%; height: 100%; }
.hero-visual .phone { position: absolute; width: min(46vw, 250px); }
.phone-back { right: 4%; top: 2%; transform: rotate(5deg); }
.phone-front { left: 6%; bottom: 0; z-index: 2; width: min(52vw, 290px) !important; }
@media (min-width: 900px) {
	.hero-visual .phone { width: 270px; }
	.phone-front { width: 310px !important; }
}

/* Ads free promise: the largest type on the page after the hero headline. */
.adfree { padding-block: clamp(64px, 9vw, 120px); background: radial-gradient(80% 140% at 8% 100%, var(--lime-soft), transparent 65%), var(--ink); border-block: 1px solid var(--line); }
.adfree-title { font-size: clamp(3.2rem, 12.5vw, 10rem); font-weight: 700; line-height: 0.92; letter-spacing: -0.045em; }
.adfree-title .accent { color: var(--lime); display: inline-block; }
.adfree-sub { margin-top: 28px; font-size: clamp(1.15rem, 2vw, 1.7rem); line-height: 1.35; max-width: 30ch; color: var(--paper); }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tint { background: var(--panel); border-block: 1px solid var(--line); }

/* How it works: a staircase, one verb per row */
.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; }
.steps { display: grid; gap: 40px; }
.step { display: grid; gap: 8px; align-items: baseline; }
.step h3 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
.step p { color: var(--muted); max-width: 42ch; }
@media (min-width: 800px) {
	.step { grid-template-columns: 5fr 6fr; gap: 32px; }
	.step:nth-child(2) { margin-left: 8%; }
	.step:nth-child(3) { margin-left: 16%; }
}

/* TAP//DNA split */
.split { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
.split .phone { max-width: 300px; margin-inline: auto; }
.split-copy { display: grid; gap: 20px; }
.split-copy p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; box-shadow: inset 0 0 0 1px var(--line-strong); }
@media (min-width: 900px) { .split { grid-template-columns: 0.8fr 1.2fr; gap: 96px; } }

/* Bento */
.bento { margin-top: 48px; display: grid; gap: 16px; grid-template-columns: 1fr; }
.cell { position: relative; padding: 32px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.cell p { color: var(--muted); }
.cell-loop { background: radial-gradient(120% 90% at 90% 100%, rgba(88, 232, 255, 0.14), transparent 60%), var(--panel); }
.cell-daily { background: var(--lime-soft); border-color: rgba(183, 255, 90, 0.3); }
.cell-dare { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; background-color: var(--panel); }
.cell-phone { max-width: 220px; margin-inline: auto; margin-bottom: -90px; }
.big-num { font-size: 5.5rem; font-weight: 200; line-height: 0.9; color: var(--lime); letter-spacing: -0.04em; }
.code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1.05rem; color: var(--lime); letter-spacing: 0.04em; padding: 12px 14px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.signals { display: grid; gap: 10px; margin: 0; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.signals div { display: grid; gap: 2px; padding: 12px 14px; background: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.signals dt { font-weight: 700; letter-spacing: 0.1em; color: var(--lime); font-size: 0.9rem; }
.signals dd { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (min-width: 800px) {
	.bento { grid-template-columns: repeat(12, 1fr); }
	.cell-loop { grid-column: 1 / 8; grid-row: 1 / 3; flex-direction: row; align-items: stretch; justify-content: space-between; gap: 24px; padding-bottom: 0; }
	.cell-loop .cell-text { align-self: center; max-width: 24ch; padding-bottom: 32px; }
	.cell-loop .cell-phone { width: 230px; margin: 40px 0 -90px; flex: none; }
	.cell-daily { grid-column: 8 / 13; }
	.cell-dare { grid-column: 8 / 13; }
	.cell-signals { grid-column: 1 / 13; }
}
@media (min-width: 1180px) {
	.cell-signals { display: grid; grid-template-columns: 4fr 8fr; gap: 32px; align-items: center; }
	.signals { grid-template-columns: repeat(5, 1fr); }
}

/* Worlds carousel */
.worlds-head { display: grid; gap: 16px; }
.worlds-head p { color: var(--muted); max-width: 60ch; }
.carousel-wrap { margin-top: 48px; }
.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, calc((100vw - var(--wrap)) / 2 + 40px)) 8px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; overscroll-behavior-x: contain; }
.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-thumb { background: var(--line-strong); }
.world { flex: none; width: 210px; scroll-snap-align: start; display: grid; gap: 12px; }
.world figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 0.95rem; }
.world figcaption b { font-weight: 600; }
.world figcaption span { color: var(--lime); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.world .phone { display: block; }
.carousel-ctrl { display: flex; gap: 8px; margin-top: 20px; }

/* Install */
.install { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
.install-copy { display: grid; gap: 16px; }
.install-copy p { color: var(--muted); }
.install-copy .cta-row { margin-block: 8px; }
.install-panel { background: var(--panel); border: 1px solid var(--line); }
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tabs button { appearance: none; flex: 1; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600; padding: 16px 12px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.2s, border-color 0.2s; }
.tabs button[aria-selected="true"] { color: var(--paper); border-bottom-color: var(--lime); }
.tabpanel { padding: 28px; min-height: 120px; }
.tabpanel p { color: var(--paper); }
.install-panel.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(183, 255, 90, 0.6); } 100% { box-shadow: 0 0 0 14px rgba(183, 255, 90, 0); } }
@media (min-width: 900px) { .install { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* Updates */
.updates { margin-top: 48px; display: grid; gap: 48px; grid-template-columns: 1fr; }
.updates h3 { color: var(--muted); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 24px; }
.timeline { display: grid; gap: 32px; }
.entry { display: grid; gap: 6px; }
.entry .tag { color: var(--lime); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; }
.entry h4 { margin: 0; font-size: 1.3rem; font-weight: 600; }
.entry p { color: var(--muted); }
.updates-next { background: var(--ink); border: 1px solid var(--line); padding: 28px; align-self: start; }
.planned { display: grid; gap: 20px; margin-bottom: 24px; }
.planned h4 { margin: 0 0 2px; font-size: 1.05rem; font-weight: 600; }
.planned p { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 900px) { .updates { grid-template-columns: 1.3fr 0.7fr; gap: 80px; } }

/* FAQ */
.faq { display: grid; gap: 40px; max-width: 880px; }
.faq-list { display: grid; gap: 8px; }
details { background: var(--panel); border: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--lime); font-size: 1.5rem; font-weight: 300; line-height: 1; transition: transform 0.25s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 24px 22px; color: var(--muted); }

/* Final call and footer */
.final { padding-block: clamp(72px, 10vw, 120px); background: radial-gradient(70% 120% at 15% 100%, var(--lime-soft), transparent 60%), var(--ink); border-top: 1px solid var(--line); }
.final-row { display: grid; gap: 8px; }
.final h2 { max-width: 18ch; font-size: clamp(2rem, 4.4vw, 3.6rem); }
.footer { border-top: 1px solid var(--line); padding-block: 32px 40px; }
.footer-row { display: grid; gap: 8px; color: var(--muted); font-size: 0.9rem; }
.footer-brand { color: var(--paper); font-weight: 700; letter-spacing: 0.08em; white-space: nowrap; }
.footer-links { display: flex; gap: 20px; }
.footer-links a, .footer a { text-underline-offset: 3px; }
.footer-links a:hover, .footer a:hover { color: var(--paper); }
@media (min-width: 900px) {
	.footer-row { grid-template-columns: 1.3fr 1.5fr auto; align-items: start; gap: 32px; }
	.footer-font { grid-column: 1 / -1; }
}

/* Privacy page */
.prose { max-width: 760px; padding-block: 56px 80px; display: grid; gap: 96px; }
.prose article { display: grid; gap: 14px; }
.prose h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 4px; }
.prose h2 { font-size: 1.3rem; margin-top: 22px; }
.prose p, .prose li { color: var(--muted); }
.prose p strong { color: var(--paper); }
.prose a { color: var(--lime); text-underline-offset: 3px; }
.prose ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.prose :target { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* Scroll reveal: hierarchy only. Content is visible without JavaScript. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.btn, .tabs button { transition: none; }
}

/* Gameplay video and arenas */
.watch-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
.watch-copy { display: grid; gap: 20px; }
.watch-copy p { color: var(--muted); max-width: 46ch; }
.watch-video { max-width: 320px; margin-inline: auto; background: #000; }
.watch-video video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
@media (min-width: 900px) {
	.watch-grid { grid-template-columns: 1.2fr 0.8fr; gap: 96px; }
	.watch-video { margin-inline: 0 auto; }
}
.arenas { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
.arenas-copy { display: grid; gap: 20px; }
.arenas-copy p { color: var(--muted); }
.arenas-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 520px; margin-inline: auto; }
.arenas-shots .phone:nth-child(2) { transform: translateY(24px); }
@media (min-width: 900px) { .arenas { grid-template-columns: 1.1fr 0.9fr; gap: 96px; } }
