:root {
  --teal-dark: #0e4a49;
  --teal: #16645f;
  --gold: #d9a441;
  --gold-dark: #b98428;
  --gray: #8a8f98;
  --gray-light: #f4f6f5;
  --ink: #182420;
  --ink-soft: #4b5652;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 20px 40px -20px rgba(14, 74, 73, 0.35);
  --max-width: 1120px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

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

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

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

h1, h2, h3 { line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); text-align: center; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

p { color: var(--ink-soft); margin: 0 0 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(14, 74, 73, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 36px; height: 36px; border-radius: 50%; }
.brand-name { font-weight: 700; font-size: 1.15rem; color: var(--teal-dark); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 500; color: var(--ink-soft); font-size: 0.95rem; }
.nav a:hover { color: var(--teal-dark); }
.nav-cta {
  background: var(--teal-dark);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--teal); color: var(--white) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  background: var(--white);
  border-bottom: 1px solid rgba(14, 74, 73, 0.08);
}
.nav-mobile a { padding: 10px 4px; font-weight: 500; color: var(--ink-soft); }
.nav-mobile .nav-cta {
  display: inline-block;
  width: fit-content;
  margin-top: 6px;
  background: var(--teal-dark);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 999px;
}

.site-header.is-open .nav-mobile { display: flex; }

/* Hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(217, 164, 65, 0.14);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lede { font-size: 1.08rem; max-width: 46ch; }

.hero-note { font-size: 0.85rem; color: var(--gray); margin-top: 10px; }

/* Store buttons */
.store-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.store-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--white);
  padding: 11px 18px;
  border-radius: 12px;
  opacity: 0.92;
  cursor: default;
  user-select: none;
}

.store-icon { width: 22px; height: 22px; flex-shrink: 0; }

.store-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-text em { font-style: normal; font-size: 0.68rem; opacity: 0.85; }
.store-text strong { font-size: 1rem; font-weight: 600; }

.soon-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--gold);
  color: var(--teal-dark);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Hero phone mockups */
.hero-art { position: relative; height: 460px; }

.phone {
  position: absolute;
  width: 230px;
  height: 460px;
  background: var(--ink);
  border-radius: 34px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: var(--ink);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-back {
  right: 0;
  top: 30px;
  transform: rotate(9deg) scale(0.92);
  opacity: 0.85;
}

.phone-front {
  left: 20px;
  top: 0;
  transform: rotate(-6deg);
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 26px;
  display: block;
  background: var(--gray-light);
}

figure.phone {
  margin: 0;
}

figure.phone figcaption {
  text-align: center;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-dark);
}

/* Features */
.features { padding: 76px 0; background: var(--gray-light); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: 0 10px 30px -20px rgba(14, 74, 73, 0.3);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--icon-color) 14%, white);
  color: var(--icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-card p { margin: 0; font-size: 0.95rem; }

/* Screens */
.screens { padding: 76px 0; }
.section-lede { text-align: center; max-width: 50ch; margin: 0 auto 40px; }

.screen-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.phone-static { position: static; transform: none; }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-mark { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 18px; }
.cta h2 { color: var(--white); }
.cta p { color: rgba(255, 255, 255, 0.82); max-width: 42ch; }
.cta .store-buttons { justify-content: center; }
.cta .store-button { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3); }

/* Footer */
.site-footer { padding: 32px 0; border-top: 1px solid rgba(14, 74, 73, 0.08); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.brand--footer .brand-mark { width: 28px; height: 28px; }
.brand--footer .brand-name { font-size: 1rem; }
.site-footer p { margin: 0; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 880px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { height: 380px; margin: 0 auto; max-width: 320px; }
  .phone { width: 190px; height: 380px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .store-buttons { flex-direction: column; align-items: flex-start; }
  .screen-row { gap: 20px; }
  .phone-static { width: 180px; height: 360px; }
}
