/* Life Harbor — marketing site styles */

:root {
  --bg: #fbfbfd;
  --bg-alt: #f2f4f8;
  --surface: #ffffff;
  --text: #1d1d1f;
  --text-dim: #51515a;
  --text-faint: #77777f;
  --border: rgba(0, 0, 0, 0.08);
  --accent: #2f6feb;
  --accent-dim: #e8f0fe;
  --accent-ink: #184fbd;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 1px 2px rgba(20, 20, 30, 0.04), 0 12px 32px -12px rgba(20, 20, 40, 0.12);
  --max: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0c10;
    --bg-alt: #141519;
    --surface: #17181d;
    --text: #f5f5f7;
    --text-dim: #c3c3c8;
    --text-faint: #8d8d93;
    --border: rgba(255, 255, 255, 0.09);
    --accent: #5b8def;
    --accent-dim: rgba(91, 141, 239, 0.14);
    --accent-ink: #9cbdf5;
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.55);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0b0c10;
  --bg-alt: #141519;
  --surface: #17181d;
  --text: #f5f5f7;
  --text-dim: #c3c3c8;
  --text-faint: #8d8d93;
  --border: rgba(255, 255, 255, 0.09);
  --accent: #5b8def;
  --accent-dim: rgba(91, 141, 239, 0.14);
  --accent-ink: #9cbdf5;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand img { width: 28px; height: 28px; border-radius: 7px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  font-size: 14.5px;
  color: var(--text-dim);
}
.nav-links a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  padding: 8px;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn-primary:hover { transform: translateY(-1px); opacity: 0.94; }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: color-mix(in srgb, var(--text) 25%, transparent); }

.btn-lg { padding: 14px 26px; font-size: 16px; }

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 72px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent-dim);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  font-weight: 700;
}

.hero .lede {
  max-width: 620px;
  margin: 0 auto 34px;
  font-size: clamp(16px, 2.4vw, 19px);
  color: var(--text-dim);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-faint);
}

.hero-art {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

.hero-art .icon-tile {
  width: 128px;
  height: 128px;
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

/* ---------- Sections ---------- */

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head .kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 700;
}

.section-head p {
  color: var(--text-dim);
  font-size: 16.5px;
  margin: 0;
}

.alt { background: var(--bg-alt); }

/* ---------- Feature grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 880px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
}

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-dim);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card .icon svg { width: 20px; height: 20px; }

.card h3 {
  font-size: 16.5px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 14.5px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.55;
}

/* ---------- Platform row ---------- */

.platform-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.platform-row .platform {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 14.5px;
  font-weight: 600;
}

.platform-row svg { width: 22px; height: 22px; color: var(--text-faint); }

/* ---------- Showcase (screenshots) ---------- */

.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 880px) { .showcase { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .showcase { grid-template-columns: 1fr; } }

.shot-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.shot-card img, .shot-card .shot-fallback {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
  background: linear-gradient(160deg, var(--accent-dim), var(--bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
}

.shot-card .shot-fallback svg { width: 46px; height: 46px; color: var(--accent); opacity: 0.55; }

.shot-caption {
  padding: 14px 18px 18px;
}

.shot-caption strong { font-size: 14.5px; display: block; margin-bottom: 2px; }
.shot-caption span { font-size: 13px; color: var(--text-faint); }

/* ---------- Audiences ---------- */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .audience-grid { grid-template-columns: 1fr; } }

.audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 28px;
}

.audience-card .tag {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-dim);
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.audience-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.audience-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-card li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-dim);
  padding: 7px 0;
  border-top: 1px solid var(--border);
}
.audience-card li:first-child { border-top: none; }

.audience-card li svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Privacy section ---------- */

.privacy-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) { .privacy-layout { grid-template-columns: 1fr; gap: 36px; } }

.privacy-layout h2 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.02em;
  margin: 10px 0 16px;
}

.privacy-layout > div:first-child p {
  color: var(--text-dim);
  font-size: 16px;
  margin: 0 0 18px;
}

.privacy-points { display: flex; flex-direction: column; gap: 14px; }

.privacy-point {
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.privacy-point .icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-dim);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.privacy-point .icon svg { width: 17px; height: 17px; }

.privacy-point strong { display: block; font-size: 14.5px; margin-bottom: 2px; }
.privacy-point span { font-size: 13.5px; color: var(--text-dim); }

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
  background: linear-gradient(160deg, var(--accent-ink), var(--accent));
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  color: #fff;
}

.cta-band h2 {
  font-size: clamp(24px, 4vw, 34px);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.cta-band p {
  margin: 0 auto 28px;
  max-width: 480px;
  color: rgba(255,255,255,0.88);
  font-size: 16px;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--accent-ink);
  box-shadow: 0 10px 24px -10px rgba(0,0,0,0.35);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-dim);
}
.footer-brand img { width: 20px; height: 20px; border-radius: 5px; }

.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 14px; color: var(--text-dim); }
.footer-links a:hover { color: var(--text); }

.footer-note {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ---------- Mobile nav sheet ---------- */

.mobile-nav {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--bg);
  z-index: 39;
  padding: 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-size: 18px;
  border-bottom: 1px solid var(--border);
}

/* ---------- Simple page (privacy) ---------- */

.doc {
  max-width: 740px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}

.doc h1 {
  font-size: clamp(30px, 5vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.doc .updated {
  color: var(--text-faint);
  font-size: 14px;
  margin-bottom: 44px;
}

.doc h2 {
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
}

.doc p, .doc li {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
}

.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }

.doc a.inline-link {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.doc .callout {
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 28px 0;
}
.doc .callout p { color: var(--text); margin: 0; font-size: 15px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.back-link:hover { color: var(--text); }
.back-link svg { width: 15px; height: 15px; }
