/* LandHog website — shared styles. Brand: navy-slate with amber, Titan One for headings. */
@font-face {
  font-family: 'Titan One';
  src: url('fonts/TitanOne-Regular.woff') format('woff');
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0d1319;
  --bg-raised: #1a2432;
  --card: #1c2733;
  --line: #2e3a48;
  --fg: #eef3f8;
  --muted: #9fb0c3;
  --amber: #ffb020;
  --orange: #ff9d1f;
  --btn-border: #7a3c00;
  --btn-text: #3a1e00;
  --teal: #00bcd4;
  --pink: #e040fb;
  --green: #3ddc84;
  --red: #ff4d4d;
  --map-land: #18263a;
  --display: 'Titan One', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 16px;
  --gutter: 16px;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: #ffc95c; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .2px; }
h1 { font-size: clamp(34px, 7vw, 58px); }
h2 { font-size: clamp(26px, 4.6vw, 38px); color: var(--amber); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.shadow-text { text-shadow: 2px 2px 0 #000; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(13, 19, 25, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 74px; height: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a.link { color: var(--muted); text-decoration: none; font-family: var(--display); font-size: 16px; }
.nav a.link:hover, .nav a.link[aria-current="page"] { color: var(--fg); }
@media (max-width: 719px) { .nav a.link { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-size: 19px; line-height: 1; letter-spacing: .5px;
  text-decoration: none; cursor: pointer;
  padding: 15px 24px; border-radius: var(--radius);
  border: 3px solid var(--btn-border);
  background: var(--orange); color: var(--btn-text);
  box-shadow: 0 4px 0 var(--btn-border);
  transition: transform .08s ease, box-shadow .08s ease, filter .15s ease;
}
.btn:hover { color: var(--btn-text); filter: brightness(1.06); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--btn-border); }
.btn.small { font-size: 15px; padding: 10px 14px; border-width: 2px; box-shadow: 0 3px 0 var(--btn-border); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--muted); color: var(--fg); }
.btn img { width: 22px; height: 22px; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 56px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(255,176,32,.12), transparent 62%); pointer-events: none;
}
.hero .wrap { position: relative; display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; } .hero { padding: 64px 0 80px; } }
.hero-logo { width: min(300px, 70vw); margin: 0 0 18px -6px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 14px; color: var(--amber);
  border: 2px solid rgba(255,176,32,.35); background: rgba(255,176,32,.08);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(61,220,132,.18); }
.hero h1 .accent { color: var(--amber); display: block; }
.lede { font-size: 19px; color: #d7e0ea; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.cta-note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ---------- Phone + How To Play demo ---------- */
.phone-stage { display: flex; justify-content: center; }
.phone {
  position: relative; width: min(320px, 86vw); aspect-ratio: 9 / 18.5;
  border-radius: 42px; padding: 10px;
  background: linear-gradient(160deg, #2a3646, #121921);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 0 0 2px #3a4757;
}
.screen { position: relative; width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: var(--map-land); isolation: isolate; }
.screen svg.demo-map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 14px; background: #05080c; z-index: 3; }
.how-label {
  position: absolute; top: 44px; left: 0; right: 0; display: flex; justify-content: center; z-index: 2; pointer-events: none;
}
.how-label span {
  font-family: var(--display); font-size: 17px; color: var(--amber);
  background: rgba(15,22,30,.84); border: 2px solid var(--line); border-radius: 16px; padding: 5px 14px;
}
.demo-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.pop-row { height: 38px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; pointer-events: none; }
.pop {
  font-family: var(--display); font-size: 22px; color: var(--amber); text-shadow: 2px 2px 0 #000;
  opacity: 0; transform: translateY(6px) scale(.96); transition: opacity .25s ease, transform .25s ease; white-space: nowrap;
}
.pop.show { opacity: 1; transform: none; }
.pop.pink { color: var(--pink); }
.sheet {
  background: var(--bg-raised); border: 2px solid var(--line); border-bottom: 0;
  border-radius: 22px 22px 0 0; padding: 16px 16px 20px; text-align: center; min-height: 196px;
}
.sheet h3 { color: var(--amber); font-size: clamp(15px, 5vw, 19px); margin-bottom: 6px; white-space: nowrap; }
.sheet p { font-size: 14px; line-height: 1.4; margin: 0 0 12px; color: var(--fg); min-height: 7em; }
.dots { display: flex; justify-content: center; gap: 7px; margin-bottom: 12px; }
.dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--line); cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.dots button[aria-current="true"] { width: 22px; background: var(--amber); }
.dots button:focus-visible { outline-offset: 2px; }
.sheet-row { display: flex; align-items: center; gap: 12px; }
.sheet-row .skip { font-family: var(--display); color: var(--muted); font-size: 14px; background: none; border: 0; padding: 6px; cursor: pointer; }
.sheet-row .btn { flex: 1; font-size: 16px; padding: 10px 12px; }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 30px; }
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 22px 20px 20px;
}
.step .num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--display); font-size: 20px; color: var(--btn-text); background: var(--amber); border: 2px solid var(--btn-border);
  margin-bottom: 14px;
}
.step p { color: #d7e0ea; margin: 0; font-size: 16px; }
.step h3 { color: var(--fg); }

.modes { display: grid; gap: 16px; }
@media (min-width: 760px) { .modes { grid-template-columns: repeat(3, 1fr); } }
.mode { background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 22px 20px; }
.mode .swatch { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 14px; border: 2px solid rgba(255,255,255,.18); }
.mode p { color: #d7e0ea; margin: 0; font-size: 16px; }

.facts { display: grid; gap: 14px; margin-top: 26px; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { border-left: 3px solid var(--amber); padding: 4px 0 4px 14px; }
.fact strong { display: block; font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--fg); }
.fact span { color: var(--muted); font-size: 15px; }

.beta-panel {
  display: grid; gap: 28px; align-items: center;
  background: linear-gradient(135deg, #1f2b3a, #141c26); border: 2px solid var(--line); border-radius: 26px; padding: 28px 22px;
}
@media (min-width: 860px) { .beta-panel { grid-template-columns: 1.3fr .7fr; padding: 40px; } }
.beta-panel img { width: min(260px, 60vw); margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)); }
.beta-steps { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.beta-steps li { display: flex; gap: 12px; align-items: flex-start; color: #d7e0ea; }
.beta-steps li b { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,176,32,.14); color: var(--amber); font-family: var(--display); font-weight: 400; font-size: 15px; }

.safety { display: grid; gap: 14px; }
@media (min-width: 760px) { .safety { grid-template-columns: repeat(2, 1fr); } }
.safety div { background: var(--card); border: 2px solid var(--line); border-radius: 16px; padding: 16px 18px; color: #d7e0ea; }
.safety strong { color: var(--fg); font-family: var(--display); font-weight: 400; display: block; font-size: 17px; margin-bottom: 2px; }

/* ---------- Document pages (privacy, terms, delete, support) ---------- */
.doc { padding: 44px 0 72px; }
.doc .wrap { max-width: 780px; }
.doc-head { padding-bottom: 24px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.doc-head h1 { font-size: clamp(32px, 6vw, 46px); }
.doc-meta { color: var(--muted); font-size: 15px; margin: 0; }
.doc h2 { font-size: 24px; margin-top: 40px; scroll-margin-top: 84px; }
.doc h3 { font-size: 18px; color: var(--fg); margin-top: 22px; }
.doc p, .doc li { color: #d7e0ea; }
.doc ul, .doc ol { padding-left: 1.25em; margin: 0 0 1em; }
.doc li { margin-bottom: .4em; }
.doc li::marker { color: var(--amber); }
.callout {
  background: rgba(255,176,32,.07); border: 2px solid rgba(255,176,32,.28); border-radius: 16px;
  padding: 16px 18px; margin: 0 0 24px; color: #e8edf3;
}
.callout p:last-child { margin-bottom: 0; }
.toc { background: var(--card); border: 2px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-bottom: 8px; }
.toc strong { font-family: var(--display); font-weight: 400; color: var(--amber); }
.toc ol { margin: 8px 0 0; columns: 1; }
@media (min-width: 640px) { .toc ol { columns: 2; column-gap: 30px; } }
.toc a { color: var(--fg); text-decoration: none; }
.toc a:hover { color: var(--amber); text-decoration: underline; }

.table-scroll { overflow-x: auto; margin: 0 0 1.2em; border: 2px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); }
th { font-family: var(--display); font-weight: 400; color: var(--amber); background: var(--card); font-size: 15px; }
tr:last-child td { border-bottom: 0; }
td { color: #d7e0ea; }

.path {
  display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; font-family: var(--display); font-size: 15px;
}
.path span { background: var(--card); border: 2px solid var(--line); border-radius: 10px; padding: 3px 10px; color: var(--fg); }
.path i { font-style: normal; color: var(--muted); }

.faq details { background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 17px; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--amber); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 0 14px; }

.contact-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--card); border: 2px solid var(--line); border-radius: 18px; padding: 20px;
}
.contact-card .email { font-family: var(--display); font-size: 20px; color: var(--amber); word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 40px; background: #0a0f14; }
.site-footer .wrap { display: grid; gap: 20px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: auto 1fr; align-items: start; } }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: flex-start; }
@media (min-width: 760px) { .foot-links { justify-content: flex-end; } }
.foot-links a { color: var(--fg); text-decoration: none; font-family: var(--display); font-size: 15px; }
.foot-links a:hover { color: var(--amber); }
.legal-line { color: var(--muted); font-size: 13.5px; margin: 0; }
.legal-line + .legal-line { margin-top: 4px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 46px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
