:root {
  --bg: #f3f7f4;
  --ink: #12201c;
  --muted: #4d5f58;
  --line: rgba(18, 32, 28, 0.1);
  --teal: #0f8f7a;
  --teal-deep: #0a6b5c;
  --coral: #e4572e;
  --foam: #ffffff;
  --phone: #15241f;
  --radius: 28px;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 30px 80px rgba(15, 143, 122, 0.18);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 85% 10%, rgba(15, 143, 122, 0.22), transparent 60%),
    radial-gradient(ellipse 55% 45% at 8% 85%, rgba(228, 87, 46, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 30% at 50% 40%, rgba(255, 255, 255, 0.7), transparent 70%),
    linear-gradient(160deg, #eef6f1 0%, #f7f3ee 45%, #e8f3ef 100%);
}

.top {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 0;
}

.brand img { width: 112px; height: 36px; }

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100svh - 92px);
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  animation: rise 700ms ease both;
}

h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin-bottom: 22px;
  animation: rise 800ms ease 60ms both;
}

h1 .accent {
  color: var(--teal);
  background: linear-gradient(120deg, var(--teal) 0%, var(--coral) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 32ch;
  margin-bottom: 32px;
  animation: rise 800ms ease 120ms both;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise 800ms ease 180ms both;
}

.store {
  transition: transform 180ms ease, filter 180ms ease;
  line-height: 0;
}

.store:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.store:active { transform: translateY(0); }

.hero-visual {
  display: grid;
  place-items: center;
  animation: float-in 900ms ease 120ms both;
}

.phone {
  position: relative;
  width: min(100%, 320px);
  filter: drop-shadow(var(--shadow));
}

.phone::before {
  content: "";
  position: absolute;
  inset: 12% -18% -8% -18%;
  background: radial-gradient(circle at 50% 40%, rgba(15, 143, 122, 0.35), transparent 65%);
  z-index: -1;
  animation: pulse 5.5s ease-in-out infinite;
}

.phone-bezel {
  background: var(--phone);
  border-radius: 36px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-screen {
  background: linear-gradient(180deg, #1b3029 0%, #0f1b17 100%);
  border-radius: 26px;
  min-height: 520px;
  padding: 22px 18px 24px;
  color: #f4faf7;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.phone-screen::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 18px;
  transform: translateX(-50%);
  background: #0a1210;
  border-radius: 999px;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  animation: live 2.2s ease-out infinite;
}

.bubble {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.9375rem;
  line-height: 1.35;
  opacity: 0;
  animation: bubble 700ms ease forwards;
}

.bubble.in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 6px;
}

.bubble.out {
  align-self: flex-end;
  background: linear-gradient(135deg, #129980, #0c7a68);
  border-bottom-right-radius: 6px;
}

.chip {
  margin-top: auto;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #9ef0d8;
  background: rgba(15, 143, 122, 0.22);
  border: 1px solid rgba(158, 240, 216, 0.25);
  opacity: 0;
  animation: bubble 700ms ease forwards;
}

.delay-1 { animation-delay: 450ms; }
.delay-2 { animation-delay: 750ms; }
.delay-3 { animation-delay: 1050ms; }
.delay-4 { animation-delay: 1300ms; }

.features {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 24px 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid var(--line);
}

.features h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.features p {
  color: var(--muted);
  max-width: 28ch;
}

.foot {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 48px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.foot-brand img {
  width: 88px;
  height: 28px;
  opacity: 0.9;
}

.foot-meta {
  display: flex;
  gap: 18px;
  align-items: center;
}

.foot-meta a {
  font-weight: 600;
  color: var(--teal-deep);
}

.foot-meta a:hover { color: var(--coral); }

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

@keyframes float-in {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

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

@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

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

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 36px;
    gap: 40px;
  }

  .hero-copy { max-width: none; text-align: left; }

  .lede { max-width: 38ch; }

  .hero-visual { order: -1; }

  .phone { width: min(100%, 280px); }

  .phone-screen { min-height: 440px; }

  .features {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 72px;
  }

  .foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .eyebrow,
  h1,
  .lede,
  .cta,
  .hero-visual,
  .bubble,
  .chip {
    opacity: 1 !important;
    transform: none !important;
  }
}
