:root {
  --ink: #0b2a38;        /* logo navy */
  --ink-2: #123d4f;
  --teal: #0f6470;       /* app primary button */
  --teal-hi: #13808f;
  --wave: #1fa3c4;       /* brush-stroke accent */
  --sun: #f6a53a;
  --sand: #f4efe4;       /* app background */
  --paper: #fbf8f2;
  --text: #1b2a31;
  --muted: #5b6a70;
  --radius: 22px;
  --max: 1120px;
  --script: "Kaushan Script", cursive;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.script { font-family: var(--script); font-weight: 400; color: var(--wave); letter-spacing: 0; }

.eyebrow {
  margin: 0 0 12px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sun);
}
.eyebrow-dark { color: var(--teal); }

h1, h2, h3 { color: var(--ink); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; max-width: 22ch; }

/* Buttons (match the app's pill buttons) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  transition: background .2s, transform .2s, border-color .2s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-hi); transform: translateY(-1px); }
.btn-ghost { border: 2px solid rgba(255,255,255,.85); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-disabled { cursor: default; opacity: .9; }
.btn-disabled:hover { transform: none; background: var(--teal); }

/* Nav */
.nav {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto; padding: 18px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { border-radius: 10px; }
.brand span { font-family: var(--script); font-size: 1.5rem; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.nav-cta {
  color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem;
  padding: 8px 18px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 999px;
  backdrop-filter: blur(6px); background: rgba(11,42,56,.25);
}
.nav-cta:hover { background: rgba(11,42,56,.45); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: min(100vh, 920px); min-height: min(100svh, 920px);
  display: flex; align-items: center;
  color: #fff;
  background: var(--ink);
}
.hero-bg {
  position: absolute; inset: -40px;
  /* Zoom into the sunset/water band of the photo so the baked-in logo text isn't visible. */
  background: url("/img/hero-bg.webp") 30% 57% / 260% auto no-repeat var(--ink);
  filter: blur(28px) saturate(1.2);
  transform: scale(1.05);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,42,56,.88) 0%, rgba(11,42,56,.55) 55%, rgba(11,42,56,.15) 100%),
    linear-gradient(0deg, rgba(11,42,56,.6), transparent 40%);
}
.hero-inner {
  position: relative; width: 100%;
  max-width: var(--max); margin: 0 auto;
  padding: 110px 20px 70px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 800;
}
.hero h1 .script { color: var(--sun); font-size: 1.12em; display: inline-block; transform: rotate(-3deg); }
.lede { font-size: 1.12rem; max-width: 34em; margin: 22px 0 32px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-phone { display: flex; justify-content: center; }
.phone {
  width: min(340px, 100%);
  aspect-ratio: 852 / 1846;
  border-radius: 46px;
  padding: 10px;
  background: #0a1418;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08) inset;
  transform: rotate(3deg);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; }

/* Sections */
.section { padding: 110px 0; }
.features {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.feature {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px 28px 32px;
  box-shadow: 0 1px 0 rgba(11,42,56,.06), 0 20px 40px -28px rgba(11,42,56,.35);
}
.shot {
  height: 340px; overflow: hidden;
  border-radius: 16px;
  background: var(--sand);
  margin-bottom: 24px;
  border: 1px solid rgba(11,42,56,.08);
}
.shot img { width: 100%; height: auto; }
.step { font-family: var(--script); color: var(--wave); font-size: 1.4rem; }
.feature h3 { font-size: 1.3rem; font-weight: 700; margin: 2px 0 10px; }
.feature p { margin: 0; color: var(--muted); }

.section-ink { background: var(--ink); color: rgba(255,255,255,.88); }
.section-ink h2 { color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; font-size: 1.08rem; }
.checks li { position: relative; padding-left: 40px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* CTA */
.cta { position: relative; overflow: hidden; padding: 120px 0; text-align: center; color: #fff; }
.cta-bg {
  position: absolute; inset: 0;
  background: url("/img/hero.webp") center 88% / cover no-repeat;
}
.cta-bg::after { content: ""; position: absolute; inset: 0; background: rgba(11,42,56,.62); }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-icon { border-radius: 26px; box-shadow: 0 16px 40px -10px rgba(0,0,0,.5); margin-bottom: 28px; }
.cta h2 { color: #fff; max-width: none; }
.cta p { font-size: 1.1rem; margin: 14px 0 30px; color: rgba(255,255,255,.9); }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 28px 0; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-tag { font-family: var(--script); color: var(--wave); font-size: 1.1rem; }

/* Mobile */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 96px; gap: 40px; text-align: center; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(11,42,56,.8), rgba(11,42,56,.55)); }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .phone { width: min(280px, 78vw); transform: none; }
  .section { padding: 80px 0; }
  .features { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .cta { padding: 90px 0; }
}
@media (max-width: 420px) {
  .nav-cta { display: none; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Content pages (privacy, support) */
.page-head { position: relative; background: var(--ink); color: #fff; padding: 120px 0 56px; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: -40px;
  background: url("/img/hero-bg.webp") 30% 57% / 260% auto no-repeat;
  filter: blur(28px) saturate(1.2); opacity: .45;
}
.page-head .container { position: relative; }
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
.page-head p { margin: 12px 0 0; color: rgba(255,255,255,.8); }
.doc { max-width: 760px; margin: 0 auto; padding: 64px 20px 96px; }
.doc h2 { font-size: 1.45rem; font-weight: 700; max-width: none; margin: 44px 0 12px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.05rem; font-weight: 700; margin: 26px 0 6px; }
.doc p, .doc li { color: #33434a; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc a { color: var(--teal); font-weight: 600; }
.contact-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--paper); border-radius: var(--radius); padding: 24px 28px; margin: 0 0 40px;
  box-shadow: 0 1px 0 rgba(11,42,56,.06), 0 20px 40px -28px rgba(11,42,56,.35);
}
.contact-card p { margin: 0; }
.contact-card strong { display: block; color: var(--ink); font-size: 1.1rem; }
.doc .contact-card a.btn { color: #fff; }
.faq details { border-bottom: 1px solid rgba(11,42,56,.12); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* Center headings on content pages; long paragraphs and lists stay left-aligned for readability. */
.page-head { text-align: center; }
.doc h2, .doc > p:first-child, .doc > p:last-child { text-align: center; }
.contact-card { flex-direction: column; text-align: center; }
