:root {
  --bg: #f6f8fb;
  --bg-2: #eef2f7;
  --ink: #0f1b2d;
  --muted: #56617a;
  --line: rgba(15, 27, 45, 0.1);
  --surface: #ffffff;
  --surface-2: #f1f4f9;
  --brand: #10c7a9;
  --brand-strong: #0aa389;
  --brand-ink: #04241f;
  --brand-soft: rgba(16, 199, 169, 0.12);
  --accent: #3b74f0;
  --shadow: 0 20px 50px rgba(15, 27, 45, 0.12);
  --shadow-sm: 0 8px 24px rgba(15, 27, 45, 0.08);
  --font-brand: 'Outfit', sans-serif;
  --font-ui: 'Public Sans', sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background:
    radial-gradient(1000px 520px at 88% -6%, rgba(16, 199, 169, 0.12), transparent 55%),
    radial-gradient(760px 460px at 0% 4%, rgba(59, 116, 240, 0.09), transparent 52%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 34%, var(--bg-2) 100%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Announcement bar (urgency) ——— */

.announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.9rem;
  color: var(--brand-ink);
  background: linear-gradient(90deg, var(--brand) 0%, #34d6bb 100%);
  text-align: center;
}

.announce strong {
  font-weight: 700;
}

.announce-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-ink);
  animation: pulse 1.8s ease-in-out infinite;
}

/* ——— Nav ——— */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(20px, 4vw, 40px);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
}

.brand,
.brand-mark {
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav .brand {
  font-size: 1.25rem;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-login {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink) !important;
  font-weight: 600;
}

.nav-login:hover {
  border-color: var(--brand);
  color: var(--brand-strong) !important;
}

.nav-cta {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-ink) !important;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background: var(--brand-strong);
}

/* ——— Hero (light, split) ——— */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 4vw, 40px) clamp(48px, 8vw, 88px);
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.hero-copy {
  max-width: 34rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(16, 199, 169, 0.3);
  color: var(--brand-strong);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  animation: rise 0.7s ease both;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-brand);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 18px;
  max-width: 15ch;
  animation: rise 0.8s 0.06s ease both;
}

.lede {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 36rem;
  animation: rise 0.85s 0.12s ease both;
}

.lede strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-vin {
  margin: 0 0 26px;
  padding: 11px 15px;
  max-width: 34rem;
  border-radius: 12px;
  border: 1px solid rgba(16, 199, 169, 0.35);
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.95rem;
  font-weight: 600;
  animation: rise 0.85s 0.16s ease both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  animation: rise 0.9s 0.2s ease both;
}

.cta-urgency {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  animation: rise 0.9s 0.24s ease both;
}

.cta-urgency strong {
  color: var(--ink);
  font-weight: 700;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(16, 199, 169, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--brand-strong);
  box-shadow: 0 16px 34px rgba(16, 199, 169, 0.36);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 14px;
  color: var(--ink);
  font-weight: 600;
}

.btn-ghost:hover {
  color: var(--brand-strong);
}

/* ——— Hero visual (framed shot + floating phone) ——— */

.hero-visual {
  position: relative;
  animation: fade-in 1s 0.2s ease both;
}

.hero-shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-shot img {
  width: 100%;
  display: block;
}

.hero-phone {
  position: absolute;
  right: -14px;
  bottom: -34px;
  margin: 0;
  width: min(150px, 34%);
  animation: float 5s ease-in-out infinite;
}

.hero-phone .phone-frame {
  width: 100%;
}

/* ——— Sections ——— */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 10vh, 100px) clamp(20px, 4vw, 40px);
}

.kicker {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-strong);
  margin: 0 0 10px;
}

.kicker-center {
  text-align: center;
}

.section h2 {
  font-family: var(--font-brand);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 20ch;
}

.section-lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40rem;
  margin: 0;
}

/* ——— How ——— */

.how {
  border-top: 1px solid var(--line);
}

.how .section-lede {
  margin-bottom: 40px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.steps li {
  padding: 26px 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.steps li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-family: var(--font-brand);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-ink);
  background: var(--brand);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.steps h3 {
  font-family: var(--font-brand);
  font-size: 1.2rem;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— Product shots ——— */

.product {
  border-top: 1px solid var(--line);
}

.product-intro {
  margin-bottom: 36px;
}

.product-intro .section-lede {
  margin-top: 4px;
}

.shot {
  margin: 0 0 28px;
}

.shot img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.shot figcaption {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.shot-wide img {
  animation: fade-in 1s ease both;
}

.shot-phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
  justify-items: center;
  margin: 36px 0 44px;
}

.shot-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-frame {
  width: min(260px, 70%);
  padding: 10px;
  border-radius: 32px;
  background: linear-gradient(160deg, #e7edf5, #cdd7e6);
  border: 1px solid rgba(15, 27, 45, 0.12);
  box-shadow: var(--shadow);
}

.phone-frame img {
  border-radius: 24px;
  border: none;
  box-shadow: none;
}

.product-copy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 44px);
}

.product-block {
  padding: 26px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.product-block h3 {
  font-family: var(--font-brand);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.product-block p {
  margin: 0;
  color: var(--muted);
}

/* ——— Waitlist (urgency) ——— */

.waitlist {
  border-top: 1px solid var(--line);
}

.waitlist-card {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
  border-radius: 24px;
  background:
    radial-gradient(600px 240px at 50% -10%, rgba(16, 199, 169, 0.16), transparent 65%),
    var(--surface);
  border: 1px solid rgba(16, 199, 169, 0.28);
  box-shadow: var(--shadow);
}

.waitlist-card h2,
.waitlist-card .section-lede {
  margin-left: auto;
  margin-right: auto;
}

.waitlist-card h2 {
  max-width: 20ch;
}

.waitlist-card .section-lede {
  max-width: 34rem;
  margin-bottom: 22px;
}

.waitlist-perks {
  list-style: none;
  margin: 0 auto 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  max-width: 40rem;
}

.waitlist-perks li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.waitlist-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 12px;
}

.waitlist-form input {
  flex: 1 1 220px;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  font: inherit;
}

.waitlist-form input:focus {
  outline: 2px solid rgba(16, 199, 169, 0.5);
  outline-offset: 1px;
  background: #fff;
}

.waitlist-form .waitlist-submit {
  flex: 1 1 100%;
  margin-top: 2px;
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-note.ok {
  color: var(--brand-strong);
  font-weight: 600;
}

.form-note.error {
  color: #c0392b;
  font-weight: 600;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 4vw, 40px) 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  max-width: var(--max);
  margin: 0 auto;
}

.footer .brand {
  color: var(--ink);
}

.footer a {
  color: var(--ink);
  font-weight: 500;
}

.footer a:hover {
  color: var(--brand-strong);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.35);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: clamp(32px, 8vw, 56px);
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-phone {
    right: 0;
    bottom: -26px;
    width: min(130px, 30%);
  }

  .steps,
  .shot-phones,
  .product-copy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .announce {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow,
  .eyebrow-dot,
  .announce-dot,
  .hero h1,
  .lede,
  .hero-vin,
  .cta-row,
  .cta-urgency,
  .hero-visual,
  .hero-phone,
  .shot-wide img {
    animation: none;
  }
}

/* ——— Legal pages (terms / privacy) ——— */

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 64px) clamp(20px, 4vw, 40px) clamp(48px, 8vw, 80px);
}

.legal-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 30px;
}

.legal-head h1 {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.1;
  margin: 0 0 10px;
}

.legal-head .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.legal-intro {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.legal h2 {
  font-family: var(--font-brand);
  font-size: 1.3rem;
  margin: 34px 0 10px;
}

.legal h3 {
  font-size: 1.05rem;
  margin: 20px 0 6px;
}

.legal p,
.legal li {
  color: #33405a;
  font-size: 1rem;
}

.legal ul {
  padding-left: 22px;
  margin: 8px 0 14px;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  color: var(--brand-strong);
  text-decoration: underline;
}

.legal-note {
  margin-top: 34px;
  padding: 16px 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-back {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--brand-strong) !important;
  font-weight: 600;
}
