/* ============================================================
   Beach Breezy — Marketing site
   Same tokens as the app: linen background, deep-teal primary,
   muted seafoam accent, warm coral sunset.
   ============================================================ */

:root {
  --linen: #F8F5EE;
  --linen-2: #F1EBDD;
  --ink: #132C34;
  --ink-soft: #2C4A52;
  --ink-mute: #5A6E73;
  --teal: #166570;
  --teal-deep: #0E4750;
  --teal-soft: #D6ECEC;
  --seafoam: #C7E5E1;
  --sand: #E8DCC2;
  --coral: #F2A18B;
  --coral-soft: #FBE3DA;

  --border: rgba(19, 44, 52, 0.12);
  --border-strong: rgba(19, 44, 52, 0.22);
  --shadow-sm: 0 1px 0 rgba(19, 44, 52, 0.04), 0 4px 14px -8px rgba(19, 44, 52, 0.18);
  --shadow-md: 0 8px 30px -12px rgba(19, 44, 52, 0.22), 0 2px 6px -4px rgba(19, 44, 52, 0.14);
  --shadow-lg: 0 30px 70px -30px rgba(19, 44, 52, 0.35), 0 10px 30px -16px rgba(19, 44, 52, 0.22);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --font-display: 'Clash Display', 'Satoshi', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Satoshi', ui-sans-serif, system-ui, sans-serif;
  --font-italic: 'Zodiak', 'Georgia', serif;

  --container: 1200px;

  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--linen);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .container { padding: 0 36px; } }

/* ───── Buttons ───── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease-out), background .2s var(--ease-out), box-shadow .25s var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--teal); color: var(--linen); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal-deep); box-shadow: var(--shadow-md); }

.btn-sm { padding: 9px 16px; font-size: 13.5px; }

.btn-app-store {
  background: var(--ink);
  color: var(--linen);
  padding: 13px 22px 13px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  align-items: center;
}
.btn-app-store:hover { background: #0a1f25; box-shadow: var(--shadow-lg); }
.btn-app-store .app-store-stack { display: inline-flex; flex-direction: column; line-height: 1; text-align: left; }
.btn-app-store .app-store-tag { font-size: 10.5px; font-weight: 500; letter-spacing: 0.04em; opacity: 0.78; margin-bottom: 3px; text-transform: none; }
.btn-app-store .app-store-name { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.btn-app-store.btn-lg { padding: 16px 28px 16px 22px; border-radius: 16px; }
.btn-app-store.btn-lg .app-store-name { font-size: 22px; }

/* ───── Eyebrow ───── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}
.eyebrow-mark {
  width: 18px;
  height: 1px;
  background: var(--teal);
  display: inline-block;
  border-radius: 1px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  transition: background .3s var(--ease-out), backdrop-filter .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(248, 245, 238, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--border);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-brand .logo-mark { color: var(--teal); width: 26px; height: 26px; }

.nav-links { display: none; gap: 32px; font-size: 14.5px; color: var(--ink-soft); font-weight: 500; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--teal); }

.nav-cta { background: var(--teal); color: var(--linen); }
.nav-cta:hover { background: var(--teal-deep); }

@media (min-width: 860px) {
  .nav-links { display: inline-flex; }
}
@media (max-width: 480px) {
  .nav-cta span { display: none; }
  .nav-cta { padding: 9px 12px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 900px) { .hero { padding: 180px 0 120px; min-height: 100vh; } }

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.55;
  filter: saturate(0.85);
}
.hero-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248, 245, 238, 0.2) 0%, rgba(248, 245, 238, 0.5) 45%, var(--linen) 92%),
    radial-gradient(60% 50% at 80% 10%, rgba(247, 198, 168, 0.25), transparent 70%);
}

.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    padding: 0 36px;
  }
}

.hero-copy { max-width: 580px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 7.5vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 18px 0 22px;
}
.hero-title em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--teal);
}

.hero-sub {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
}
.hero-link {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--teal);
  border-bottom: 1px solid var(--teal-soft);
  padding-bottom: 2px;
  transition: border-color .2s;
}
.hero-link:hover { border-bottom-color: var(--teal); }

.hero-stats {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 40px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.hero-stats li {
  display: flex; flex-direction: column; gap: 2px;
}
.hero-stats span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hero-stats small {
  font-size: 13px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero phone */
.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-phone .phone {
  transform: rotate(-2.5deg);
  animation: phone-float 9s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: rotate(-2.5deg) translateY(0); }
  50%      { transform: rotate(-2.5deg) translateY(-10px); }
}
.phone-glow {
  position: absolute;
  inset: -10% -5%;
  background:
    radial-gradient(50% 50% at 30% 30%, rgba(199, 229, 225, 0.55), transparent 70%),
    radial-gradient(50% 50% at 70% 70%, rgba(247, 198, 168, 0.35), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

/* ============================================================
   PHONE MOCKUP
   ============================================================ */
.phone {
  position: relative;
  width: 280px;
  aspect-ratio: 390 / 844;
  background: #0a1f25;
  border-radius: 44px;
  padding: 8px;
  box-shadow:
    0 30px 80px -25px rgba(19, 44, 52, 0.45),
    0 0 0 1.5px rgba(19, 44, 52, 0.6),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
@media (min-width: 700px) { .phone { width: 320px; } }
@media (min-width: 1100px) { .phone { width: 340px; } }

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
  display: block;
}
.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #0a1f25;
  border-radius: 999px;
  z-index: 2;
}
.phone-sm { width: 230px; }
@media (min-width: 700px) { .phone-sm { width: 250px; } }
@media (min-width: 1100px) { .phone-sm { width: 270px; } }
.phone-sm .phone-notch { width: 74px; height: 22px; top: 13px; }

/* ============================================================
   BAND
   ============================================================ */
.band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--linen);
}
.band-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 28px 24px;
}
@media (min-width: 760px) {
  .band-row { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; padding: 28px 36px; }
}
.band-stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 0;
}
.band-stat strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.band-stat span {
  font-size: 13.5px;
  color: var(--ink-mute);
}
.band-divider {
  display: none;
  width: 1px;
  height: 32px;
  background: var(--border-strong);
  margin: 0 auto;
  opacity: 0.6;
}
@media (min-width: 760px) { .band-divider { display: block; } }

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 14px 0 0;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { padding: 100px 0 80px; }
.steps {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px 32px;
  position: relative;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }

.step-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--teal);
  letter-spacing: 0.05em;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 14px 0 10px;
}
.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 80px 0 100px;
  position: relative;
}
.features::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: var(--border);
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: dense;
  }
}

.feature {
  background: linear-gradient(180deg, #FFFCF6 0%, #FBF6E9 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  overflow: hidden;
  position: relative;
}
.feature-wide {
  grid-column: 1 / -1;
}
@media (min-width: 900px) {
  .feature-wide {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    padding: 48px 48px 48px 56px;
    gap: 40px;
  }
  /* On wide cards, text on the LEFT, phone on the RIGHT */
  .feature-wide .feature-text { order: 1; }
  .feature-wide .feature-shot { order: 2; }

  .feature {
    padding: 40px 36px;
  }
}

.feature-text h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}
.feature-text p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 14px;
}
.feature-bullets {
  list-style: none;
  padding: 0; margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.feature-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 6px;
  border-radius: 6px;
  background: var(--teal-soft);
  border: 1px solid var(--teal);
  opacity: .7;
}

.feature-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}
.feature-shot-tight { padding: 0; margin-top: 4px; }

/* ============================================================
   TRUST
   ============================================================ */
.trust {
  background: var(--linen-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 760px) { .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.trust-item { color: var(--ink-soft); }
.trust-item svg { color: var(--teal); margin-bottom: 14px; }
.trust-item h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 6px;
}
.trust-item p { margin: 0; font-size: 14.5px; line-height: 1.55; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 100px 0; }
.faq-inner { max-width: 820px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  transition: border-color .2s, box-shadow .2s;
}
.faq details + details { margin-top: 12px; }
.faq details:hover { border-color: var(--border-strong); }
.faq details[open] { border-color: var(--teal); box-shadow: var(--shadow-sm); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17.5px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary {
  position: relative;
}
/* round chip on the right */
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--linen-2);
  transition: background .2s var(--ease-out);
}
/* horizontal bar (always shown) */
.faq summary::before {
  content: "";
  position: absolute;
  right: 32px;
  top: 50%;
  width: 12px; height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateY(-50%);
  z-index: 2;
}
/* vertical bar — added via inline span so we can rotate just this one */
.faq summary .plus-v {
  position: absolute;
  right: 37px;
  top: 50%;
  width: 1.6px; height: 12px;
  background: var(--ink);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
  z-index: 2;
}
.faq details[open] summary::after { background: var(--teal-soft); }
.faq details[open] summary .plus-v {
  transform: translateY(-50%) rotate(90deg);
  opacity: 0;
}

.faq details p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  padding: 100px 0 110px;
  background:
    radial-gradient(60% 50% at 70% 30%, rgba(247, 198, 168, 0.35), transparent 70%),
    linear-gradient(180deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: var(--linen);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 100px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.15));
  pointer-events: none;
}
.final-inner { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.final h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 5.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: var(--linen);
}
.final p {
  font-size: clamp(17px, 1.6vw, 19px);
  color: rgba(248, 245, 238, 0.82);
  margin: 0 0 36px;
}
.final-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.final .btn-app-store {
  background: var(--linen);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.final .btn-app-store:hover { background: #fff; }
.final-meta {
  font-size: 13.5px;
  color: rgba(248, 245, 238, 0.65);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(248, 245, 238, 0.7);
  padding: 56px 0 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: auto 1fr auto; gap: 40px; }
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--linen);
}
.footer-brand .logo-mark { color: var(--seafoam); width: 24px; height: 24px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
  font-size: 14px;
}
@media (min-width: 760px) { .footer-links { justify-content: center; } }
.footer-links a:hover { color: var(--linen); }

.footer-meta {
  font-size: 13px;
  color: rgba(248, 245, 238, 0.45);
  margin: 0;
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.step, .feature, .trust-item, .section-head {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.step.in, .feature.in, .trust-item.in, .section-head.in {
  opacity: 1;
  transform: translateY(0);
}
.step.in:nth-child(2) { transition-delay: .08s; }
.step.in:nth-child(3) { transition-delay: .16s; }
.feature.in:nth-child(2) { transition-delay: .08s; }
.feature.in:nth-child(3) { transition-delay: .16s; }
.trust-item.in:nth-child(2) { transition-delay: .08s; }
.trust-item.in:nth-child(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  .step, .feature, .trust-item, .section-head { opacity: 1; transform: none; }
  .hero-phone .phone { animation: none; }
  html { scroll-behavior: auto; }
}
