/* Roamsy — site styles. Colors come from the app icon and Apple TV backdrop. */
:root {
  color-scheme: dark;
  --night: #0b1530;
  --navy: #14254f;
  --ocean: #1e5aae;
  --land: #8fb9c6;
  --text: #f2f5fa;
  --soft: #b9c6dc;
  --faint: #7f8fab;
  --card: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.11);
  --lived: #f2722c;
  --hiked: #2f8ce6;
  --visited: #2ab3b8;
  --parks: #2ba552;
  --competed: #8a55e8;
  --someday: #f2c230;
  --radius: 20px;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: #8ec5ff; text-underline-offset: 3px; }
a:hover { color: #b8dbff; }
h1, h2, h3 { font-family: var(--round); line-height: 1.15; letter-spacing: -0.015em; }
.wrap { width: min(1100px, 100% - 44px); margin: 0 auto; }
.narrow { width: min(720px, 100% - 44px); margin: 0 auto; }

/* Top bar */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 21, 48, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
  font: 700 20px var(--round); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: flex; gap: 22px; }
.top nav a { color: var(--soft); text-decoration: none; font-size: 15px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: min(86vh, 760px);
  display: flex; align-items: flex-end;
  background: var(--night);
}
.hero::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 33%; width: 80%;
  background: url("backdrop.jpg") 50% 10% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%);
  mask-image: linear-gradient(90deg, transparent, #000 22%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,21,48,0) 30%, rgba(11,21,48,0.75) 68%, var(--night) 100%),
    linear-gradient(90deg, rgba(11,21,48,0.7), rgba(11,21,48,0.2) 45%, rgba(11,21,48,0) 60%);
}
.hero .wrap { position: relative; z-index: 1; padding: 120px 0 64px; }
.hero h1 { font-size: clamp(40px, 6vw, 66px); margin: 0 0 14px; max-width: 11em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero p { font-size: clamp(18px, 2.2vw, 22px); color: #dbe5f5; max-width: 34em; margin: 0 0 28px; }
.app-title { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.app-title img { width: 72px; height: 72px; border-radius: 17px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45); }
.app-title span { font: 700 26px var(--round); }
.app-title small { display: block; font: 15px -apple-system, sans-serif; color: var(--soft); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; color: #fff;
  background: var(--lived); box-shadow: 0 6px 20px rgba(242,114,44,0.35);
}
.button:hover { color: #fff; filter: brightness(1.08); }
.button.ghost { background: rgba(255,255,255,0.1); box-shadow: none; border: 1px solid var(--line); }
.platforms { color: var(--soft); font-size: 15px; }

/* Sections */
section { padding: 84px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; font-weight: 700;
  color: var(--land); margin: 0 0 10px; }
section h2 { font-size: clamp(30px, 4.4vw, 44px); margin: 0 0 14px; }
.intro { color: var(--soft); font-size: 19px; max-width: 36em; margin: 0 0 40px; }

/* Collections */
.collections { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.collection {
  --c: var(--lived);
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius);
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, transparent), var(--card) 55%);
  border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line));
}
.collection h3 { font-size: 18px; margin: 2px 0 4px; }
.collection p { margin: 0; color: var(--soft); font-size: 15px; line-height: 1.45; }
.pin {
  flex: none; width: 34px; height: 34px; margin-top: 2px;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 55%, #fff), var(--c) 60%);
  box-shadow: -3px 5px 10px rgba(0,0,0,0.35);
  display: grid; place-items: center;
}
.pin::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.lived    { --c: var(--lived); }
.hiked    { --c: var(--hiked); }
.visited  { --c: var(--visited); }
.parks    { --c: var(--parks); }
.competed { --c: var(--competed); }
.someday  { --c: var(--someday); }

/* Features */
.alt { background: linear-gradient(180deg, var(--night), #0f1d40 50%, var(--night)); }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.feature .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--c, var(--ocean)) 22%, transparent);
  color: var(--c, #8ec5ff); margin-bottom: 14px;
}
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 20px; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--soft); font-size: 16px; }

/* Support */
.contact {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  padding: 26px 28px; border-radius: var(--radius); margin-bottom: 40px;
  background: linear-gradient(135deg, rgba(30,90,174,0.45), rgba(30,90,174,0.12));
  border: 1px solid rgba(142,197,255,0.25);
}
.contact h3 { margin: 0 0 4px; font-size: 22px; }
.contact p { margin: 0; color: var(--soft); max-width: 32em; font-size: 16px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-weight: 600; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font: 400 26px var(--round); color: var(--land); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--soft); }

/* Plain document pages (privacy) */
.doc { padding: 56px 0 24px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin: 0 0 6px; }
.doc h2 { font-size: 24px; margin: 2.2em 0 0.4em; }
.doc p, .doc li { color: #d3dcec; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 0.7em 0; }
.doc strong { color: var(--text); }
.updated { color: var(--faint); font-size: 15px; margin: 0 0 28px; }
.lead { font-size: 19px; color: var(--text) !important; padding: 20px 24px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 50px; color: var(--faint); font-size: 14px; margin-top: 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; }
footer a { color: var(--soft); text-decoration: none; }
footer a:hover { color: var(--text); }
footer nav { display: flex; gap: 20px; }

@media (min-width: 641px) and (max-width: 1180px) {
  .hero::before { left: 40%; width: 95%; }
  .hero h1 { font-size: clamp(40px, 5.4vw, 60px); max-width: 9em; }
}
@media (max-width: 640px) {
  .top nav { gap: 16px; }
  .top nav a.hide-sm { display: none; }
  .hero { min-height: 0; }
  .hero::before { left: 0; width: 100%; bottom: auto; height: 380px;
    background: url("backdrop-small.jpg") 48% 0 / 720px auto no-repeat;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
    mask-image: linear-gradient(180deg, #000 60%, transparent); }
  .hero::after { display: none; }
  .hero .wrap { padding-top: 300px; }
  .hero .wrap { padding-bottom: 44px; }
  section { padding: 60px 0; }
  .contact { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
