/* Same colors as the app: navy, sand, sea green and buoy orange, with dark mode. */
:root {
  --navy: #12355B;
  --sand: #F4F1EA;
  --card: #FFFFFF;
  --mist: #E2EDF0;
  --ink: #0E2236;
  --ink-muted: #4A5B6C;
  --sea: #1F7A8C;
  --buoy: #F28C28;
  --hairline: #DCE3E6;
  --hero-from: #12355B;
  --hero-to: #1F7488;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sand: #0B1622;
    --card: #13243A;
    --mist: #1B3349;
    --ink: #E8EEF3;
    --ink-muted: #9FB0BF;
    --sea: #7CC4D6;
    --hairline: #22384B;
    --hero-from: #0B1622;
    --hero-to: #12355B;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--sea); }

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top bar */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
}

.brand img { width: 32px; height: 32px; border-radius: 8px; }

.top nav { display: flex; gap: 18px; font-size: 15px; }
.top nav a { color: inherit; text-decoration: none; opacity: 0.85; }
.top nav a:hover { opacity: 1; text-decoration: underline; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--hero-from) 0%, var(--hero-from) 45%, var(--hero-to) 100%);
  color: #fff;
}

.hero .top { color: #fff; }

.hero-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0 64px;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero p.lead {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 28px;
  max-width: 34em;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--buoy);
  color: #0E2236;
  font-weight: 700;
}

.hero p.platform {
  margin: 14px 0 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}

.hero-shot {
  justify-self: center;
  width: min(300px, 100%);
}

.phone {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
  border: 6px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* Sections */
section { padding: 56px 0; }

h2 {
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.muted { color: var(--ink-muted); }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.feature {
  background: var(--card);
  border-radius: 18px;
  padding: 22px;
}

.feature .icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mist);
  margin-bottom: 12px;
}

.feature .icon svg { width: 22px; height: 22px; stroke: var(--navy); }

@media (prefers-color-scheme: dark) {
  .feature .icon svg { stroke: var(--sea); }
}

.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--ink-muted); font-size: 16px; }

.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.shots figure { margin: 0; }
.shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid var(--hairline);
}
.shots figcaption { margin-top: 10px; font-size: 15px; color: var(--ink-muted); text-align: center; }

.privacy {
  background: var(--card);
  border-radius: 24px;
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}

.privacy .icon { width: 64px; height: 64px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; }
.privacy .icon svg { width: 32px; height: 32px; stroke: var(--sea); }
.privacy p { margin: 0; }

/* Text pages: privacy and support */
.page { padding: 24px 0 64px; }
.page article {
  background: var(--card);
  border-radius: 24px;
  padding: clamp(22px, 5vw, 44px);
  max-width: 760px;
}
.page h1 { font-size: clamp(30px, 5vw, 40px); line-height: 1.15; margin: 0 0 8px; }
.page h2 { font-size: 22px; margin: 32px 0 8px; }
.page h3 { font-size: 18px; margin: 24px 0 4px; }
.page p, .page li { color: var(--ink); }
.page ul { padding-left: 22px; }
.page li { margin: 6px 0; }
.page .updated { color: var(--ink-muted); margin: 0 0 24px; }

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--mist);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 16px 0 8px;
}

.button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--buoy);
  color: #0E2236;
  font-weight: 700;
  text-decoration: none;
}

details {
  border-top: 1px solid var(--hairline);
  padding: 14px 0;
}
details:last-of-type { border-bottom: 1px solid var(--hairline); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; color: var(--ink-muted); }

footer {
  border-top: 1px solid var(--hairline);
  padding: 28px 0 40px;
  font-size: 15px;
  color: var(--ink-muted);
}
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: inherit; }
footer nav { display: flex; gap: 18px; }

@media (max-width: 820px) {
  .hero-body { grid-template-columns: 1fr; padding: 24px 0 48px; }
  .hero-shot { width: min(260px, 80%); }
  .features { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .top nav { gap: 14px; font-size: 14px; }
  .features { grid-template-columns: 1fr; }
  .privacy { grid-template-columns: 1fr; padding: 24px; }
}
