@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/Manrope-latin.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --bg-soft: #f2f6fc;
  --text: #0b0b0f;
  --muted: #5f6470;
  --blue: #007aff;
  --blue-deep: #0a5bd6;
  --ink-blue: #2f6fe0;
  --card: #ffffff;
  --line: rgba(15, 23, 42, 0.08);
  --shadow: 0 30px 80px -30px rgba(10, 60, 140, 0.35);
  --radius: 28px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 18px;
  line-height: 1.45;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.05; }
p { margin: 0; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn-dark, .nav-links a.btn-dark:hover { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-dark { background: #000; color: #fff; padding: 10px 18px; }
.btn-dark:hover { background: #222; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #e8f0ff 0%, #ffffff 65%);
  padding: 72px 0 0;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-blue);
  background: rgba(0, 122, 255, 0.08); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(44px, 6.6vw, 84px); font-weight: 800; }
.hero h1 span { color: var(--blue); }
.lede { font-size: clamp(18px, 1.6vw, 22px); color: var(--muted); max-width: 42ch; margin: 22px 0 32px; }
.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cta-note { font-size: 14px; color: var(--muted); }
.script {
  font-family: "Bradley Hand", "Segoe Script", "Comic Sans MS", cursive;
  color: var(--ink-blue); font-size: clamp(20px, 2vw, 26px); line-height: 1.25; transform: rotate(-3deg);
  display: inline-block;
}

/* Fake iMessage thread */
.thread {
  display: flex; flex-direction: column; gap: 10px; width: min(380px, 100%);
  padding: 22px; border-radius: 32px; background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--shadow);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.bubble {
  max-width: 78%; padding: 10px 14px; border-radius: 20px; font-size: 17px; line-height: 1.3;
}
.bubble.them { align-self: flex-start; background: #e9e9eb; color: #000; border-bottom-left-radius: 6px; }
.bubble.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.bubble.card {
  align-self: flex-end; max-width: 86%; padding: 0; overflow: hidden; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; color: #000;
}
.bubble.card .art { background: var(--blue); height: 96px; display: grid; place-items: center; font-size: 44px; }
.bubble.card .meta { padding: 10px 14px 12px; display: flex; gap: 10px; align-items: center; }
.bubble.card .meta img { width: 28px; height: 28px; border-radius: 7px; }
.bubble.card .meta strong { display: block; font-size: 15px; }
.bubble.card .meta span { font-size: 13px; color: var(--muted); }
.bubble.time-pick { align-self: flex-start; max-width: 92%; background: #fff; border: 1px solid var(--line); padding: 12px; }
.bubble.time-pick .label { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 14px; font-weight: 600; color: var(--blue); background: rgba(0, 122, 255, 0.1); border-radius: 10px; padding: 7px 10px; }
.chip.on { background: var(--blue); color: #fff; }
.delivered { align-self: flex-end; font-size: 12px; color: var(--muted); margin-top: -4px; }

.hero-photo {
  margin-top: 64px; height: clamp(220px, 34vw, 420px); position: relative; overflow: hidden;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 80%, #ffffff 100%);
}

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); margin-top: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--bg-soft); border-radius: var(--radius); padding: 32px 28px 0; overflow: hidden;
  display: flex; flex-direction: column; min-height: 560px;
}
.step .num { font-size: 13px; font-weight: 700; color: var(--ink-blue); letter-spacing: 0.08em; }
.step h3 { font-size: 28px; font-weight: 800; margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: 16px; }
.step .shot { margin-top: 26px; flex: 1; display: flex; align-items: flex-end; justify-content: center; }
.step .shot img { width: 100%; max-width: 320px; filter: drop-shadow(0 30px 40px rgba(10, 60, 140, 0.25)); }

.features { background: var(--bg-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border-radius: 22px; padding: 28px; border: 1px solid var(--line); }
.feature .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(0, 122, 255, 0.1); color: var(--blue);
}
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 16px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; }
.split p { color: var(--muted); font-size: 18px; margin-top: 16px; max-width: 46ch; }
.split .shot img { width: 100%; max-width: 460px; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(10, 60, 140, 0.25)); }
.emoji-row { display: flex; gap: 14px; font-size: 40px; margin-top: 26px; }

.together { position: relative; overflow: hidden; padding: 0; color: #fff; }
.together img { width: 100%; height: clamp(420px, 50vw, 720px); object-fit: cover; object-position: 50% 60%; }
.together .overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%);
  padding-bottom: 64px;
}
.together h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3); }
.together p { font-size: clamp(18px, 1.6vw, 22px); margin-top: 12px; opacity: 0.92; }
.final { text-align: center; background: radial-gradient(80% 60% at 50% 100%, #e8f0ff 0%, #ffffff 70%); }
.final .icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 28px; box-shadow: 0 20px 50px rgba(0, 122, 255, 0.25); }
.final h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; }
.final p { color: var(--muted); font-size: 19px; margin: 16px auto 32px; max-width: 46ch; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Text pages */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 720px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; margin-bottom: 12px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 40px; }
.doc h2 { font-size: 24px; font-weight: 700; margin: 40px 0 12px; }
.doc p, .doc li { color: #333; font-size: 17px; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 22px; margin: 12px 0; }
.doc li + li { margin-top: 8px; }
.doc a { color: var(--blue); text-decoration: none; }
.doc .faq { border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; margin-top: 16px; }
.doc .faq h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-grid .thread { margin: 0 auto; }
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .split.reverse .shot { order: -1; }
  section { padding: 72px 0; }
  .nav-links a:not(.btn) { display: none; }
}
