/* OWNLAND — ownland.app. One stylesheet, system fonts, no scripts. */
:root {
  --bg: #061820;
  --bg-raised: #0b2b34;
  --bg-card: rgba(11, 43, 52, 0.82);
  --line: rgba(167, 211, 213, 0.18);
  --line-strong: rgba(167, 211, 213, 0.34);
  --text: #f3ead8;
  --text-soft: #c9dbe0;
  --text-muted: #8eb4bc;
  --text-faint: #779da5;
  --gold: #f4be61;
  --gold-bright: #ffd175;
  --green: #49ad7b;
  --teal: #285b66;
  --teal-bright: #68a7b2;
  --locked: #173841;
  --measure: 62rem;
  color-scheme: dark;
}
* { box-sizing: border-box; min-width: 0; }
img { max-width: 100%; height: auto; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-soft);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(40, 91, 102, 0.35), transparent 60%),
    radial-gradient(40rem 26rem at 10% 110%, rgba(230, 164, 63, 0.14), transparent 60%),
    var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--text-soft); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; padding: 0.5rem 1rem; background: var(--gold); color: #1a1206; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: min(var(--measure), 100% - 2.5rem); margin-inline: auto; }

/* Header */
.site-header { padding: 1.25rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--text); }
.brand img { width: 44px; height: 44px; }
.brand span { font-size: 1.35rem; font-weight: 900; letter-spacing: 0.12em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.site-nav a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

main { flex: 1; }

/* Hero */
.hero { padding: 3rem 0 4rem; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3rem; align-items: center; }
.kicker { margin: 0 0 1rem; color: var(--teal-bright); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; }
.hero h1 { margin: 0 0 1.25rem; color: #fff; font-size: clamp(2.6rem, 6.5vw, 4.6rem); line-height: 1.02; font-weight: 900; letter-spacing: -0.02em; }
.lede { margin: 0 0 2rem; max-width: 34rem; font-size: 1.15rem; color: var(--text-soft); }
.cta { display: inline-flex; flex-direction: column; gap: 0.5rem; }
.cta-badge {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.25rem; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--bg-card); color: var(--text);
  font-weight: 800; letter-spacing: 0.04em;
}
.cta-badge small { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; color: var(--text-muted); }
.cta-note { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-faint); text-align: center; }

/* Phone mock: the app's own USA screen, drawn with its colours and its real map. */
.phone {
  margin: 0 auto; width: min(100%, 22.5rem);
  border-radius: 2.6rem; padding: 0.55rem; background: #11161b;
  box-shadow: 0 0 0 1px #2a3138, 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 2px #000;
}
.screen {
  border-radius: 2.1rem; overflow: hidden; background: var(--bg);
  display: flex; flex-direction: column; font-size: 0.8rem; color: var(--text-soft);
}
.screen-body { padding: 1.4rem 0.9rem 0.8rem; display: flex; flex-direction: column; gap: 0.5rem; }
.app-header { display: flex; align-items: center; gap: 0.6rem; }
.app-header img { width: 34px; height: 24px; object-fit: contain; }
.app-title { color: var(--text); font-weight: 900; font-size: 1rem; letter-spacing: 0.06em; line-height: 1.1; }
.score { margin-left: auto; display: inline-flex; align-items: center; gap: 0.3rem; color: var(--gold-bright); font-weight: 900; font-size: 0.95rem; }
.score img { width: 18px; height: 18px; }
.app-heading { margin: 0.2rem 0 0; color: var(--text); font-weight: 900; font-size: 0.95rem; }
.app-copy { margin: 0; color: var(--text-muted); font-size: 0.72rem; }
.progress { height: 6px; border-radius: 3px; overflow: hidden; background: rgba(23, 56, 65, 0.9); display: flex; }
.progress i { display: block; height: 100%; }
.seg-secured { width: 8%; background: #49ad7b; }
.seg-active { width: 2%; background: #e6a43f; }
.seg-available { width: 8%; background: #285b66; }
.seg-locked { width: 82%; background: #173841; }
.map-zone { position: relative; border: 1px solid rgba(167, 211, 213, 0.14); border-radius: 14px; background: rgba(16, 59, 70, 0.35); padding: 1.2rem 0.4rem 0.9rem; }
.map-zone img { display: block; width: 100%; height: auto; }
.map-caption { position: absolute; top: 0.45rem; right: 0.7rem; font-size: 0.6rem; font-weight: 900; letter-spacing: 0.08em; color: var(--text-muted); }
.legend { display: flex; justify-content: center; gap: 0.7rem; margin: 0; padding: 0; list-style: none; font-size: 0.55rem; font-weight: 800; letter-spacing: 0.08em; color: var(--text-faint); }
.legend li { display: inline-flex; align-items: center; gap: 0.3rem; }
.legend i { width: 8px; height: 8px; border-radius: 3px; border: 1px solid #39616a; }
.sw-active { background: #e6a43f; } .sw-available { background: #285b66; } .sw-secured { background: #49ad7b; } .sw-locked { background: #173841; }
.chip-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.chip { padding: 0.3rem 0.6rem; border-radius: 10px; border: 1px solid rgba(244, 190, 97, 0.34); font-size: 0.6rem; font-weight: 900; letter-spacing: 0.08em; color: var(--text-muted); }
.boosters { display: flex; gap: 0.4rem; }
.boosters span { padding: 0.25rem 0.5rem; border-radius: 10px; border: 1px solid rgba(244, 190, 97, 0.45); background: var(--bg-card); font-size: 0.65rem; font-weight: 900; color: var(--text-soft); }
.state-row { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.7rem; border-radius: 12px; border: 1px solid var(--gold-bright); background: rgba(70, 55, 27, 0.35); }
.state-row img { width: 28px; height: 20px; object-fit: contain; border-radius: 3px; }
.state-row b { display: block; color: var(--text); font-size: 0.85rem; }
.state-row small { color: var(--text-muted); font-size: 0.65rem; }
.state-row em { margin-left: auto; font-style: normal; color: var(--gold-bright); font-size: 0.65rem; font-weight: 900; letter-spacing: 0.08em; }
.app-nav { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: rgba(6, 24, 32, 0.95); padding: 0.55rem 0 0.9rem; }
.app-nav span { text-align: center; font-size: 0.55rem; font-weight: 900; letter-spacing: 0.08em; color: var(--text-faint); }
.app-nav span::before { content: attr(data-glyph); display: block; font-size: 1rem; margin-bottom: 0.15rem; }
.app-nav .on { color: var(--gold-bright); }
.app-nav .on img { width: 16px; height: 16px; display: block; margin: 0 auto 0.15rem; }

/* Feature strip */
.features { padding: 0 0 4rem; }
.features ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.features li { padding: 1.25rem; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-card); }
.features h2 { margin: 0 0 0.4rem; font-size: 0.8rem; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-bright); }
.features p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* Legal / prose pages */
.prose { padding: 2.5rem 0 4rem; }
.prose .wrap { max-width: 44rem; }
.prose h1 { color: #fff; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.1; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
.prose .meta { color: var(--text-faint); font-size: 0.85rem; margin: 0 0 2rem; }
.prose h2 { color: var(--text); font-size: 1.2rem; margin: 2rem 0 0.5rem; }
.prose p, .prose li { color: var(--text-soft); }
.notice {
  margin: 0 0 2rem; padding: 1rem 1.25rem; border-radius: 12px;
  border: 1px solid rgba(229, 132, 138, 0.5); background: rgba(70, 30, 34, 0.45); color: #f3c9cc;
}
.notice strong { color: #fff; }
.placeholder { color: var(--text-faint); font-style: italic; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 1.75rem 0 2.25rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1.25rem 2rem; }
.site-footer .brand img { width: 36px; height: 36px; }
.site-footer .brand span { font-size: 1rem; }
.tagline { margin: 0.35rem 0 0; font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-faint); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.9rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.copyright { margin: 0.5rem 0 0; font-size: 0.8rem; color: var(--text-faint); text-align: right; }

@media (max-width: 52rem) {
  .hero { padding: 1.5rem 0 3rem; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .features ul { grid-template-columns: minmax(0, 1fr); }
  .site-footer .wrap { flex-direction: column; }
  .copyright { text-align: left; }
}
@media (max-width: 40rem) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .site-nav ul { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
