:root {
  --ink: #11120f;
  --muted: #65675f;
  --paper: #f5f5f7;
  --white: #ffffff;
  --line: rgba(17, 18, 15, 0.12);
  --blue: #0a84ff;
  --green: #30d158;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  margin: 0;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.skip-link {
  background: #ffffff;
  border-radius: 8px;
  color: #000000;
  font-size: 14px;
  font-weight: 600;
  left: 16px;
  padding: 8px 12px;
  position: fixed;
  top: -80px;
  transition: top 700ms var(--ease);
  z-index: 100;
}
.skip-link:focus { top: 16px; }

.brand { align-items: center; display: inline-flex; font-size: 20px; font-weight: 700; gap: 8px; }
.brand-mark {
  align-items: center;
  background: #181818;
  border: 1px solid #313131;
  border-radius: 9999px;
  color: #ffffff;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}
.brand-mark svg { fill: none; height: 18px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 18px; }
.section-kicker, .section-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.button { align-items: center; border-radius: 12px; display: inline-flex; font-size: 16px; font-weight: 600; justify-content: center; padding: 8px 12px; }
.button-primary { background: #000000; color: #ffffff; }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.landing-page { background: #000000; color: #ffffff; }
.landing-page ::selection { background: var(--blue); color: #ffffff; }
.section { margin: 0 auto; max-width: 1200px; padding: 96px 40px; }

.site-header { left: 0; position: absolute; right: 0; top: 0; z-index: 20; }
.nav-shell {
  align-items: center;
  backdrop-filter: blur(24px) saturate(140%);
  background: rgba(24, 24, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
  display: flex;
  justify-content: space-between;
  margin: 24px auto 0;
  max-width: 1120px;
  padding: 8px 8px 8px 16px;
  width: calc(100% - 48px);
}
.landing-page .brand { color: #ffffff; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: #9b9b9b; font-size: 14px; font-weight: 600; transition: color 700ms var(--ease); }
.nav-links a:hover { color: #ffffff; }
.nav-message {
  align-items: center;
  background: var(--blue);
  border-radius: 9999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  padding: 8px 12px;
  transition: filter 700ms var(--ease), transform 700ms var(--ease);
}
.nav-message svg { fill: none; height: 16px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; width: 16px; }
.nav-message:hover { filter: brightness(1.12); transform: translateY(-2px); }
.nav-message:active { transform: scale(0.98); }

.hero { background: #000000; min-height: 980px; overflow: hidden; position: relative; }
.hero::after {
  background: var(--blue);
  border-radius: 9999px;
  content: "";
  filter: blur(160px);
  height: 320px;
  opacity: 0.22;
  position: absolute;
  right: -160px;
  top: 320px;
  width: 320px;
}
.hero-shell {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  margin: 0 auto;
  max-width: 1200px;
  min-height: 980px;
  padding: 144px 40px 80px;
  position: relative;
  z-index: 1;
}
.hero-copy { align-self: start; margin-top: 112px; max-width: 560px; position: relative; z-index: 3; }
.eyebrow { align-items: center; color: #9b9b9b; display: inline-flex; font-size: 12px; font-weight: 700; gap: 8px; letter-spacing: 0.12em; text-transform: uppercase; }
.eyebrow i { background: var(--green); border-radius: 9999px; box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.12); height: 8px; width: 8px; }
.hero h1 {
  background: linear-gradient(90deg, #ffffff 0%, #9b9b9b 100%);
  background-clip: text;
  color: transparent;
  font-size: 72px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 24px 0;
  max-width: 560px;
}
.hero-lede { color: #9b9b9b; font-size: 18px; line-height: 28px; margin: 0; max-width: 560px; }

.message-composer-cta, .final-composer {
  align-items: center;
  backdrop-filter: blur(24px) saturate(140%);
  background: rgba(39, 39, 39, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  display: grid;
  gap: 12px;
  grid-template-columns: 40px 1fr 40px;
  margin-top: 40px;
  padding: 8px;
  transition: background 700ms var(--ease), border-color 700ms var(--ease), transform 700ms var(--ease);
}
.message-composer-cta:hover, .final-composer:hover { background: rgba(49, 49, 49, 0.96); border-color: rgba(255, 255, 255, 0.24); transform: translateY(-4px); }
.message-composer-cta:active, .final-composer:active { transform: scale(0.98); }
.compose-add { align-items: center; background: #313131; border-radius: 9999px; color: #d1d1d6; display: flex; font-size: 24px; height: 40px; justify-content: center; width: 40px; }
.compose-field { display: flex; flex-direction: column; min-width: 0; }
.compose-field span { color: #777777; font-size: 12px; line-height: 16px; }
.compose-field strong { color: #ffffff; font-size: 14px; font-weight: 500; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compose-send, .composer-arrow { align-items: center; background: var(--blue); border-radius: 9999px; color: #ffffff; display: flex; height: 40px; justify-content: center; width: 40px; }
.compose-send svg, .composer-arrow svg { fill: none; height: 24px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.4; width: 24px; }
.hero-proof { align-items: center; color: #777777; display: flex; font-size: 12px; gap: 24px; margin-top: 16px; padding-left: 8px; }
.hero-proof span { align-items: center; display: inline-flex; gap: 8px; }
.hero-proof i { background: var(--green); border-radius: 9999px; height: 8px; width: 8px; }

.device-scene { align-items: center; display: flex; justify-content: center; min-height: 820px; position: relative; }
.device-caption {
  background: #181818;
  border: 1px solid #313131;
  border-radius: 16px;
  bottom: 96px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  left: -48px;
  padding: 16px;
  position: absolute;
  width: 208px;
  z-index: 4;
}
.device-caption span { color: #777777; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.device-caption strong { font-size: 14px; font-weight: 600; line-height: 20px; }
.phone-hardware {
  background: #313131;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 48px;
  box-shadow: 0 48px 96px rgba(0, 0, 0, 0.8), 0 0 96px rgba(10, 132, 255, 0.12);
  height: 840px;
  padding: 8px;
  position: relative;
  width: 420px;
  z-index: 2;
}
.phone-screen { background: #000000; border-radius: 40px; height: 100%; overflow: hidden; position: relative; }
.status-bar { align-items: center; display: flex; font-size: 12px; font-weight: 700; height: 40px; justify-content: space-between; padding: 0 24px; position: relative; }
.dynamic-island { background: #181818; border-radius: 9999px; height: 24px; left: 50%; position: absolute; top: 8px; transform: translateX(-50%); width: 88px; }
.status-icons { align-items: flex-end; display: flex; gap: 2px; }
.status-icons i { background: #ffffff; border-radius: 2px; display: block; height: 8px; width: 3px; }
.status-icons i:nth-child(2) { height: 10px; }
.status-icons i:nth-child(3) { background: transparent; border: 1px solid #ffffff; height: 8px; width: 14px; }
.messages-header { align-items: center; display: grid; grid-template-columns: 32px 1fr 32px; min-height: 80px; padding: 8px 16px; }
.ios-back { color: var(--blue); }
.ios-back svg { fill: none; height: 24px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; width: 24px; }
.contact { align-items: center; display: flex; flex-direction: column; gap: 2px; }
.contact-mark { align-items: center; background: #272727; border: 1px solid #313131; border-radius: 9999px; display: flex; font-size: 14px; font-weight: 700; height: 48px; justify-content: center; width: 48px; }
.contact strong { font-size: 12px; }
.contact small { color: #777777; font-size: 12px; line-height: 8px; }
.conversation { display: flex; flex-direction: column; gap: 8px; height: 656px; overflow: hidden; padding: 8px 16px 80px; }
.conversation-date { color: #777777; font-size: 12px; margin: 0 0 8px; text-align: center; }
.ios-bubble { border-radius: 16px; font-size: 14px; line-height: 20px; max-width: 84%; padding: 8px 12px; }
.ios-bubble-user { align-self: flex-end; background: var(--blue); color: #ffffff; }
.ios-bubble-baseline { align-self: flex-start; background: #272727; color: #ffffff; }
.meal-image-wrap { align-self: flex-end; border-radius: 16px; height: 176px; overflow: hidden; width: 224px; }
.meal-image-wrap img { height: 100%; object-fit: cover; width: 100%; }
.meal-receipt { align-self: flex-start; background: #181818; border: 1px solid #313131; border-radius: 16px; padding: 12px; width: 84%; }
.meal-receipt > div { align-items: center; display: flex; justify-content: space-between; }
.meal-receipt span, .meal-receipt p { color: #777777; font-size: 12px; }
.meal-receipt strong { display: block; font-size: 24px; font-weight: 600; line-height: 32px; margin-top: 8px; }
.meal-receipt p { margin: 0; }
.receipt-state { background: rgba(48, 209, 88, 0.12); border-radius: 9999px; color: var(--green) !important; padding: 4px 8px; }
.phone-composer { align-items: center; backdrop-filter: blur(24px); bottom: 24px; display: grid; gap: 8px; grid-template-columns: 32px 1fr 32px; left: 16px; position: absolute; right: 16px; z-index: 4; }
.composer-add { align-items: center; background: #272727; border-radius: 9999px; color: #d1d1d6; display: flex; font-size: 20px; height: 32px; justify-content: center; width: 32px; }
.composer-input { background: rgba(24, 24, 24, 0.9); border: 1px solid #3a3a3c; border-radius: 9999px; color: #777777; font-size: 14px; padding: 8px 12px; }
.composer-arrow { height: 32px; width: 32px; }
.composer-arrow svg { height: 20px; width: 20px; }
.home-indicator { background: #ffffff; border-radius: 9999px; bottom: 8px; height: 4px; left: 50%; position: absolute; transform: translateX(-50%); width: 120px; }

.proof-rail {
  align-items: center;
  background: #0d0d0d;
  border: 1px solid #1f1f1f;
  border-radius: 9999px;
  color: #9b9b9b;
  display: flex;
  font-size: 12px;
  font-weight: 600;
  gap: 24px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1120px;
  padding: 16px 24px;
  width: calc(100% - 80px);
}
.proof-rail i { background: #313131; border-radius: 9999px; height: 4px; width: 4px; }

.tagline-section { align-items: center; display: flex; min-height: 600px; }
.tagline { color: rgba(255, 255, 255, 0.28); font-size: 60px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin: 0; max-width: 760px; }
.tagline .word { transition: color 900ms var(--ease); }
.tagline .word.active { color: #ffffff; }

.product-section { margin: 0 auto; max-width: 1200px; padding: 96px 40px; }
.section-intro { margin-bottom: 80px; max-width: 680px; }
.section-label { color: #777777; margin-bottom: 16px; }
.section-intro h2, .final-card h2 { font-size: 48px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin: 0 0 16px; }
.section-intro p, .final-card > p { color: #9b9b9b; font-size: 18px; line-height: 28px; margin: 0; }
.thread-story { border-bottom: 1px solid #272727; }
.thread-chapter {
  align-items: center;
  border-top: 1px solid #272727;
  display: grid;
  gap: 80px;
  grid-template-columns: minmax(0, 0.8fr) minmax(400px, 1.2fr);
  min-height: 560px;
  padding: 80px 0;
}
.thread-chapter-reverse .chapter-copy { order: 2; }
.thread-chapter-reverse .chapter-chat { order: 1; }
.chapter-copy { max-width: 400px; }
.chapter-copy > span { color: var(--blue); display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 24px; text-transform: uppercase; }
.chapter-copy h3 { font-size: 36px; font-weight: 500; line-height: 40px; margin: 0 0 16px; }
.chapter-copy p { color: #9b9b9b; font-size: 16px; line-height: 24px; margin: 0; }
.chapter-chat { background: #131313; border: 1px solid #272727; border-radius: 32px; display: flex; flex-direction: column; gap: 12px; min-height: 352px; padding: 32px; }
.chapter-chat .ios-bubble { font-size: 16px; line-height: 24px; max-width: 80%; }
.chapter-image { align-self: flex-end; border-radius: 24px; height: 224px; overflow: hidden; width: 288px; }
.chapter-image img { height: 100%; object-fit: cover; width: 100%; }
.typing-status { align-items: center; color: #777777; display: flex; font-size: 12px; gap: 8px; margin-top: auto; }
.typing-status i { background: var(--green); border-radius: 9999px; height: 8px; width: 8px; }
.daily-message { align-self: flex-start; background: #272727; border-radius: 24px; padding: 24px; width: 84%; }
.daily-message > div:first-child { display: flex; flex-direction: column; }
.daily-message span, .daily-message small { color: #9b9b9b; font-size: 12px; }
.daily-message strong { font-size: 48px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin: 12px 0 4px; }
.daily-meter { background: #3a3a3c; border-radius: 9999px; height: 8px; margin: 24px 0 16px; overflow: hidden; }
.daily-meter i { background: var(--blue); border-radius: 9999px; display: block; height: 100%; width: 66%; }
.daily-facts { display: flex; justify-content: space-between; }
.update-receipt { align-items: center; align-self: flex-start; background: #181818; border: 1px solid #313131; border-radius: 16px; display: flex; justify-content: space-between; margin-top: 8px; padding: 16px; width: 84%; }
.update-receipt span { color: #9b9b9b; font-size: 12px; }
.update-receipt strong { font-size: 16px; font-weight: 600; }

.how-section { background: #f5f5f7; color: #000000; }
.how-editorial { margin: 0 auto; max-width: 1200px; padding: 96px 40px; }
.how-statement { color: rgba(0, 0, 0, 0.28); font-size: 60px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin: 24px 0 80px; max-width: 760px; }
.how-statement .word { transition: color 900ms var(--ease); }
.how-statement .word.active { color: #000000; }
.steps-list { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.steps-list li { align-items: start; background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 24px; display: grid; gap: 16px; grid-template-columns: 48px 1fr; padding: 24px; }
.steps-list li > span { align-items: center; background: var(--blue); border-radius: 9999px; color: #ffffff; display: flex; font-size: 14px; font-weight: 700; height: 48px; justify-content: center; width: 48px; }
.steps-list strong { display: block; font-size: 16px; margin-bottom: 4px; padding-top: 4px; }
.steps-list p { color: #65675f; font-size: 14px; line-height: 20px; margin: 0; }

.final-section { padding-top: 96px; }
.final-card { align-items: center; background: #131313; border: 1px solid #272727; border-radius: 32px; display: flex; flex-direction: column; padding: 96px 40px; text-align: center; }
.final-contact { align-items: center; display: flex; gap: 12px; margin-bottom: 32px; }
.final-contact > span:last-child { display: flex; flex-direction: column; text-align: left; }
.final-contact strong { font-size: 16px; font-weight: 600; }
.final-contact small { color: #777777; font-size: 12px; }
.messages-app-icon { align-items: center; background: var(--green); border-radius: 12px; display: flex; height: 48px; justify-content: center; width: 48px; }
.messages-app-icon svg { fill: #ffffff; height: 32px; width: 32px; }
.final-card > p { margin-bottom: 32px; max-width: 560px; }
.final-composer { margin-top: 0; max-width: 600px; text-align: left; width: 100%; }
.message-link-status { color: #777777 !important; font-size: 12px !important; margin: 16px 0 0 !important; }

.site-footer { align-items: center; display: grid; gap: 24px; grid-template-columns: 1fr auto 1fr; margin: 0 auto; max-width: 1200px; padding: 40px; }
.site-footer p { color: #777777; font-size: 14px; margin: 0; text-align: center; }
.site-footer > div { align-items: center; color: #777777; display: flex; font-size: 12px; gap: 16px; justify-content: flex-end; }
.site-footer a { transition: color 700ms var(--ease); }
.site-footer a:hover { color: #ffffff; }

.reveal { filter: blur(8px); opacity: 0; transform: translateY(64px); transition: filter 900ms var(--ease), opacity 900ms var(--ease), transform 900ms var(--ease); }
.reveal.visible { filter: blur(0); opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .hero-shell { gap: 48px; grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr); }
  .hero h1 { font-size: 60px; }
  .phone-hardware { height: 760px; width: 380px; }
  .conversation { height: 576px; }
  .device-caption { display: none; }
  .thread-chapter { gap: 48px; grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr); }
  .site-footer { grid-template-columns: 1fr; justify-items: center; }
  .site-footer > div { justify-content: center; }
}

@media (max-width: 720px) {
  .section { padding: 80px 24px; }
  .nav-shell { width: calc(100% - 32px); }
  .nav-links { display: none; }
  .nav-message { font-size: 12px; }
  .hero { min-height: 0; }
  .hero::after { display: none; }
  .hero-shell { display: flex; flex-direction: column; gap: 64px; min-height: 0; padding: 144px 24px 0; }
  .hero-copy { max-width: 100%; text-align: center; }
  .hero-copy { margin-top: 0; }
  .hero h1 { font-size: 48px; max-width: 100%; }
  .hero-lede { font-size: 16px; line-height: 24px; margin: 0 auto; }
  .message-composer-cta { margin-left: auto; margin-right: auto; max-width: 480px; text-align: left; }
  .hero-proof { justify-content: center; padding-left: 0; }
  .device-scene { min-height: 704px; width: 100%; }
  .phone-hardware { border-radius: 40px; height: 704px; max-width: 360px; width: 100%; }
  .phone-screen { border-radius: 32px; }
  .conversation { height: 520px; }
  .meal-image-wrap { height: 144px; width: 192px; }
  .proof-rail { align-items: flex-start; border-radius: 24px; flex-direction: column; gap: 12px; margin-top: 24px; padding: 24px; width: calc(100% - 48px); }
  .proof-rail i { display: none; }
  .tagline-section { min-height: 480px; }
  .tagline { font-size: 36px; line-height: 40px; }
  .product-section { padding: 80px 24px; }
  .section-intro { margin-bottom: 48px; }
  .section-intro h2, .final-card h2 { font-size: 36px; line-height: 40px; }
  .thread-chapter { display: flex; flex-direction: column; gap: 40px; min-height: 0; padding: 64px 0; }
  .thread-chapter-reverse .chapter-copy, .thread-chapter-reverse .chapter-chat { order: initial; }
  .chapter-copy { max-width: 100%; }
  .chapter-copy h3 { font-size: 30px; line-height: 36px; }
  .chapter-chat { border-radius: 24px; min-height: 320px; padding: 24px; width: 100%; }
  .chapter-image { height: 192px; width: 240px; }
  .how-editorial { padding: 80px 24px; }
  .how-statement { font-size: 36px; line-height: 40px; margin-bottom: 64px; }
  .steps-list { grid-template-columns: 1fr; }
  .final-card { padding: 64px 24px; }
  .site-footer { padding: 40px 24px; }
}

@media (max-width: 380px) {
  .nav-message { padding: 8px; }
  .nav-message svg { display: none; }
  .hero h1 { font-size: 36px; line-height: 40px; }
  .message-composer-cta, .final-composer { grid-template-columns: 32px 1fr 32px; }
  .compose-add, .compose-send { height: 32px; width: 32px; }
  .compose-send svg { height: 20px; width: 20px; }
  .hero-proof { align-items: flex-start; flex-direction: column; gap: 8px; }
  .phone-hardware { height: 680px; }
  .conversation { height: 496px; }
  .ios-bubble { font-size: 12px; line-height: 16px; }
  .chapter-image { width: 208px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { filter: none; opacity: 1; transform: none; }
}
