/* ActiveHub website. Light and dark, phone to desktop. */
:root {
  --blue: #0066ff;
  --blue-dark: #0052cc;
  --blue-soft: #e8eeff;
  --bg: #ffffff;
  --bg-alt: #f3f5f9;
  --card: #ffffff;
  --text: #0e1116;
  --muted: #5b6472;
  --border: #e3e7ee;
  --shadow: 0 20px 50px rgba(14, 17, 22, 0.12);
  --radius: 18px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --blue-soft: #14305e;
    --bg: #0b0d12;
    --bg-alt: #12151c;
    --card: #171b23;
    --text: #f2f4f8;
    --muted: #a3acba;
    --border: #262c37;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--border); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .lang { color: var(--blue); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 640px) {
  .nav a:not(.lang) { display: none; }
}

/* Hero */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(40px, 6vw, 80px); background: radial-gradient(1200px 500px at 85% -10%, var(--blue-soft), transparent 60%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.hero h1 { max-width: 12ch; }
.hero .lead { max-width: 36ch; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1, .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .stores { justify-content: center; }
}

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #0e1116; color: #fff; padding: 10px 18px 10px 14px; border-radius: 12px; line-height: 1.1; font-weight: 600; font-size: 1.05rem; border: 1px solid #2a2f38; }
.store:hover { text-decoration: none; background: #000; }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: 0.7rem; font-weight: 500; opacity: 0.8; }
.store.disabled { opacity: 0.55; cursor: default; }
.soon { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }

/* Phone mockup (drawn with HTML, no real data) */
.phone { justify-self: center; width: min(320px, 82vw); aspect-ratio: 9 / 19; background: #0e1116; border-radius: 46px; padding: 12px; box-shadow: var(--shadow); }
.screen { height: 100%; background: #f3f5f9; border-radius: 36px; padding: 22px 16px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; color: #0e1116; text-align: left; }
.mock-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 4px 2px; }
.mock-logo { color: var(--blue); font-weight: 800; font-size: 1.15rem; }
.mock-dot { width: 26px; height: 26px; border-radius: 50%; background: #dfe6ff; }
.mock-title { margin: 4px 4px 0; font-weight: 800; font-size: 1.05rem; }
.mock-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); }
.mock-img { height: 92px; }
.mock-img.hike { background: linear-gradient(160deg, #ffb46b 0%, #ff7a59 35%, #5b6bd6 100%); }
.mock-img.snow { background: linear-gradient(160deg, #cfe3ff 0%, #8fb5f5 45%, #2f5fb3 100%); }
.mock-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 0.82rem; }
.mock-body strong { font-size: 0.98rem; }
.mock-body span { color: #5b6472; }
.mock-row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.mock-row em { font-style: normal; color: #5b6472; }
.mock-row b { background: var(--blue); color: #fff; padding: 5px 14px; border-radius: 999px; font-size: 0.8rem; }
.mock-empty { border: 1.5px dashed var(--blue); background: #e8eeff; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 2px; font-size: 0.8rem; color: #2a3446; }
.mock-empty strong { color: var(--blue); font-size: 0.92rem; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { text-align: center; margin-bottom: 1.2em; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.feature p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.icon { width: 30px; height: 30px; color: var(--blue); margin-bottom: 14px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 14px; }
.steps p { color: var(--muted); margin: 0; }
.num { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li { flex-direction: row; align-items: flex-start; } .num { flex: none; } }

.safety { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.safety h2 { text-align: left; margin-bottom: 0.5em; }
.safety-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.safety-list li { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.safety-list .icon { width: 24px; height: 24px; margin: 2px 0 0; flex: none; }
@media (max-width: 860px) { .safety { grid-template-columns: 1fr; } }

.cta { padding: clamp(56px, 8vw, 96px) 0; background: var(--blue); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { opacity: 0.9; font-size: 1.15rem; }
.cta .stores { justify-content: center; }
.cta .soon { color: rgba(255, 255, 255, 0.85); }

/* Documents (privacy, terms, support) */
.doc { padding: clamp(40px, 6vw, 72px) 20px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.doc section { margin-top: 32px; }
.doc h2 { font-size: 1.35rem; text-align: left; margin-bottom: 0.4em; }
.doc p { color: var(--text); }
details { border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; background: var(--card); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--border); padding: 36px 0; background: var(--bg-alt); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand div { display: flex; flex-direction: column; line-height: 1.3; }
.foot-brand span { color: var(--muted); font-size: 0.9rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.95rem; }
.foot-links a { color: var(--muted); }
.copy { width: 100%; margin: 0; color: var(--muted); font-size: 0.85rem; }
