:root {
  --ink: hsl(160 20% 12%);
  --muted: hsl(160 8% 38%);
  --bg: hsl(0 0% 96%);
  --surface: #ffffff;
  --line: hsl(160 12% 88%);
  --primary: hsl(161 93% 30%);
  --primary-dark: hsl(161 80% 20%);
  --accent-bg: hsl(166 76% 96%);
  --accent-fg: hsl(173 80% 34%);
  --sky: hsl(200 70% 95%);
  --radius: 20px;
  --shadow: 0 1px 3px hsl(160 20% 10% / 0.06), 0 10px 30px hsl(160 20% 10% / 0.06);
  --edge: max(6vw, calc((100% - 1280px) / 2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.highlight { color: var(--primary); }

.section-pad { padding: clamp(48px, 6vw, 88px) var(--edge); }
.kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--accent-fg);
  margin: 0 0 14px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-fg);
  background: var(--accent-bg);
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 22px;
}
.eyebrow-light { background: hsl(0 0% 100% / 0.14); color: #eafff5; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px var(--edge);
  background: hsl(0 0% 100% / 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 42px; height: 42px; }
.desktop-nav { display: flex; gap: 28px; margin-left: auto; }
.desktop-nav a { font-size: 14px; color: var(--muted); font-weight: 500; }
.desktop-nav a:hover { color: var(--ink); }
.header-cta {
  font-size: 14px;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
}
.header-cta:hover { background: var(--primary-dark); }
.header-web-link { font-size: 14px; font-weight: 600; color: var(--primary-dark); white-space: nowrap; }
.header-web-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); display: block; }
.mobile-menu { display: none; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary-inverse { background: #fff; color: var(--primary-dark); justify-content: center; }
.text-link { font-size: 14px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.pill-link { background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 999px; width: fit-content; }

.app-store-badge {
  display: inline-flex;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.app-store-badge:hover { transform: translateY(-2px); opacity: 0.85; }
.app-store-badge img { height: 50px; width: auto; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(40px, 6vw, 72px) var(--edge) clamp(48px, 6vw, 80px);
  background: linear-gradient(180deg, var(--accent-bg) 0%, var(--sky) 55%, var(--accent-bg) 100%);
}
.hero-copy { max-width: 580px; }
.hero h1 {
  font-size: clamp(48px, 6.2vw, 92px);
  line-height: 0.97;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
}
.hero-body { font-size: 20px; line-height: 1.4; color: var(--muted); max-width: 460px; margin: 0 0 34px; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

.hero-art { position: relative; display: flex; justify-content: center; }
.blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.55; z-index: 0; }
.blob-a { width: 260px; height: 260px; background: var(--primary); top: -30px; left: 10%; opacity: 0.25; }
.blob-b { width: 220px; height: 220px; background: hsl(200 80% 70%); bottom: -20px; right: 6%; opacity: 0.3; }

.phone-frame {
  position: relative;
  z-index: 1;
  width: clamp(240px, 26vw, 320px);
  aspect-ratio: 1320 / 2868;
  background: #0e1512;
  border-radius: 42px;
  padding: 10px;
  box-shadow: var(--shadow);
  border: 1px solid hsl(160 20% 20%);
}
.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}
.phone-frame-small { width: clamp(210px, 22vw, 270px); }

/* Feature grid */
.why { background: var(--accent-bg); }
.why h2, .showcase h2, .who h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.0;
  max-width: 780px;
  margin: 0 0 36px;
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-bg);
  color: var(--accent-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; }
.feature-card p { font-size: 16px; line-height: 1.45; color: var(--muted); margin: 0; }

/* Showcase */
.showcase {
  background-color: var(--surface);
  background-image: radial-gradient(circle at 1px 1px, hsl(160 10% 84%) 1px, transparent 0);
  background-size: 26px 26px;
}
.showcase-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.showcase-row.reverse .showcase-art { order: -1; }
.showcase-number { font-size: 13px; font-weight: 700; color: var(--accent-fg); }
.showcase-copy h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; margin: 12px 0 14px; }
.showcase-copy p { font-size: 17px; line-height: 1.45; color: var(--muted); max-width: 420px; margin: 0; }
.showcase-art { display: flex; justify-content: center; }

/* Who */
.who { background: var(--accent-bg); }
.who-body { font-size: 20px; line-height: 1.4; color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.persona-row { display: flex; flex-wrap: wrap; gap: 12px; }
.persona-pill {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-fg);
  border: 1px solid hsl(166 40% 84%);
}

/* CTA band */
.cta-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(48px, 6vw, 88px) var(--edge);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
}
.cta-copy h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.0; margin: 0 0 18px; color: #fff; }
.cta-copy p { font-size: 18px; line-height: 1.45; color: hsl(150 40% 92%); max-width: 380px; margin: 0 0 30px; }

.signup-form {
  max-width: 420px;
  background: hsl(0 0% 100% / 0.08);
  border: 1px solid hsl(0 0% 100% / 0.2);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.signup-form label { font-size: 12px; color: hsl(150 40% 90%); margin: 0 0 6px; }
.signup-form input {
  background: hsl(0 0% 100% / 0.1);
  border: 1px solid hsl(0 0% 100% / 0.25);
  border-radius: 10px;
  color: #fff;
  padding: 12px 14px;
  margin-bottom: 18px;
  outline: none;
}
.signup-form input::placeholder { color: hsl(150 20% 80%); }
.signup-form input:focus { border-color: #fff; }
.signup-form button { margin-top: 4px; }
.form-status { min-height: 18px; color: #eafff5; font-size: 13px; margin: 12px 0 0; }
.signup-form small { color: hsl(150 20% 80%); font-size: 11px; margin-top: 16px; }

/* Footer */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px var(--edge);
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.site-footer p { font-size: 13px; color: var(--muted); margin: 0; }
.footer-links { display: flex; gap: 20px; align-items: center; font-size: 13px; }
.footer-links span { color: hsl(160 8% 55%); }

@media (max-width: 900px) {
  .desktop-nav, .header-cta, .header-web-link { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu.open {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 20px 6vw 28px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-art { margin-top: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; }
  .showcase-row.reverse .showcase-art { order: 0; }
  .cta-band { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
