/* Wakelog marketing site — single stylesheet, no external requests.
   Palette mirrors the app: ocean #0B6E9E (actions), wake #50BFE9 (accent),
   cream #fbf7ef / water #cbe2f0 (the "Wakelog Chart" map tones). Light only. */

:root {
  --ocean: #0b6e9e;
  --ocean-dark: #095a82;
  --wake: #50bfe9;
  --wake-soft: #d9ecf5;
  --water: #cbe2f0;
  --cream: #fbf7ef;
  --sand: #f0e7d4;
  --ink: #16323f;
  --slate: #51677a;
  --slate-light: #8aa0b0;
  --line: #e3ecf2;
  --white: #ffffff;
  --dive-red: #dc2626;
  --anchor-silver: #8c9aab;
  --sandbar-amber: #d9a441;
  --snorkel-teal: #0e9f9f;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(11, 110, 158, 0.12);
  --shadow-soft: 0 4px 18px rgba(22, 50, 63, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--ocean); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ocean);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

section[id] { scroll-margin-top: 80px; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wordmark:hover { text-decoration: none; }
.wordmark .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: none;
}
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; }
.nav-links a { color: var(--slate); padding: 10px 4px; }
.nav-links a:hover { color: var(--ocean); text-decoration: none; }
.nav-cta {
  background: var(--ocean);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--ocean-dark); text-decoration: none; }

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

.hero {
  background: linear-gradient(180deg, var(--white) 0%, var(--wake-soft) 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 32px 0 64px;
}
.hero h1 {
  font-size: clamp(44px, 6.5vw, 74px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 900;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--ocean); }
.hero .sub {
  font-size: 19px;
  color: var(--slate);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero .sub b { color: var(--ink); font-weight: 700; }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ocean);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(11, 110, 158, 0.35);
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn-primary:hover { background: var(--ocean-dark); text-decoration: none; }
.btn-primary:active { transform: scale(0.98); }

.badge-placeholder {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 26px;
  min-height: 58px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1e9bf6, #0d62f4);
  cursor: default;
  line-height: 1.3;
  box-shadow: 0 6px 20px rgba(13, 110, 244, 0.35);
}
.badge-placeholder .small { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: #eaf5ff; }
.badge-placeholder .big { font-size: 19px; font-weight: 800; color: var(--white); }

.hero .fineprint { font-size: 14px; color: var(--slate); }

/* ---------- Phone mockup ---------- */

.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: min(300px, 80vw, 36vh);
  border-radius: 44px;
  background: var(--ink);
  padding: 10px;
  box-shadow: var(--shadow), 0 30px 80px rgba(11, 110, 158, 0.25);
  transform: rotate(2deg);
}
.phone-screen {
  border-radius: 36px;
  overflow: hidden;
  background: var(--water);
}
.phone-screen svg { width: 100%; height: auto; }

/* ---------- Activity strip ---------- */

.activity-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.activity-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
  padding: 22px 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--slate);
}
.activity-inner .chip { display: inline-flex; align-items: center; gap: 8px; }
.chip .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.activity-inner .lead { color: var(--slate); font-weight: 600; }

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

section { padding: 88px 0; }
.section-alt { background: var(--cream); }

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(30px, 4.5vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--slate); max-width: 60ch; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature + .feature { margin-top: 88px; }
.feature .art { display: flex; justify-content: center; }
.feature .art svg {
  width: min(380px, 100%);
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.feature.flip .art { order: -1; }
.feature h3 { font-size: 26px; letter-spacing: -0.02em; margin-bottom: 12px; }
.feature p { color: var(--slate); font-size: 17px; max-width: 48ch; }
.feature ul { margin-top: 14px; padding-left: 0; list-style: none; }
.feature li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  color: var(--slate);
  font-size: 16px;
}
.feature li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--wake);
}

/* ---------- Everyone band ---------- */

.everyone { text-align: center; }
.everyone .icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 36px 0 20px;
}
.everyone .icon-card {
  width: 118px;
  padding: 20px 8px 16px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.everyone .icon-card svg { width: 44px; height: 44px; margin: 0 auto 8px; }

/* ---------- Pricing ---------- */

.pricing-card {
  max-width: 460px;
  margin: 40px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 40px 36px;
  text-align: center;
}
.pricing-card .trial { font-size: 15px; font-weight: 800; color: var(--ocean); letter-spacing: 0.04em; text-transform: uppercase; }
.pricing-card .price { font-size: 54px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 2px; }
.pricing-card .price span { font-size: 20px; font-weight: 600; color: var(--slate); letter-spacing: 0; }
.pricing-card .after { color: var(--slate); font-size: 15px; margin-bottom: 24px; }
.pricing-card ul { list-style: none; text-align: left; margin: 0 auto 28px; max-width: 300px; }
.pricing-card li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink); font-size: 16px; }
.pricing-card li::before { content: "✓" / ""; position: absolute; left: 0; color: var(--ocean); font-weight: 800; }
.pricing-card .btn-primary { width: 100%; justify-content: center; }
.pricing-card .fineprint { margin-top: 14px; font-size: 13px; color: var(--slate); }

/* ---------- FAQ ---------- */

.faq { max-width: 720px; margin: 40px auto 0; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 8px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+" / "";
  font-size: 22px;
  font-weight: 600;
  color: var(--ocean);
  flex: none;
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 8px 18px; color: var(--slate); font-size: 16px; max-width: 62ch; }

/* ---------- Final CTA ---------- */

.final-cta {
  background: var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta .wake-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
}
.final-cta .wrap { position: relative; z-index: 2; }
.final-cta .cta-row { justify-content: center; margin-top: 28px; }
.final-cta .tagline {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
}

/* ---------- Contact ---------- */

.contact { text-align: center; }
.contact .btn-primary { margin-top: 26px; }
.contact .note { margin-top: 14px; font-size: 14px; color: var(--slate); }

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

footer {
  background: var(--ink);
  color: #b8ccd8;
  padding: 44px 0;
  font-size: 14px;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.footer-inner .wordmark { color: var(--white); font-size: 17px; }
.footer-inner .wordmark .mark { width: 28px; height: 28px; border-radius: 7px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: #b8ccd8; font-weight: 600; padding: 10px 4px; display: inline-block; }
.footer-links a:hover { color: var(--white); }
.footer-tag { width: 100%; color: #b8ccd8; }

/* ---------- Wave divider ---------- */

.wave-divider { display: block; width: 100%; height: 42px; }

/* ---------- Privacy page ---------- */

.doc { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.doc h1 { font-size: 38px; letter-spacing: -0.02em; margin-bottom: 6px; }
.doc .updated { color: var(--slate); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--slate); font-size: 16px; }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc .callout {
  background: var(--wake-soft);
  border-left: 4px solid var(--ocean);
  border-radius: 8px;
  padding: 16px 20px;
  color: var(--ink);
  font-size: 16px;
  margin: 18px 0 8px;
}

/* ---------- Print ---------- */

@media print {
  .nav-cta, .btn-primary { color: var(--ink) !important; border: 1px solid var(--ink); box-shadow: none; }
  footer, footer a, .footer-tag { color: #333 !important; }
  .badge-placeholder { border-color: #999; }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 64px; gap: 40px; }
  .hero .sub { max-width: none; }
  .phone { transform: none; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .art { order: 0; }
  .feature + .feature { margin-top: 64px; }
  section { padding: 64px 0; }
  .nav-links { gap: 14px; }
  .nav-links .nav-plain { display: none; }
}
