/* ═══════════════════════════════════════════════
   MOMENTS LANDING — Premium Editorial
   Font: Instrument Serif + Plus Jakarta Sans
   Palette: Warm beige, deep ink, blue accent, coral
   ═══════════════════════════════════════════════ */

:root {
  --bg: #f4efe6;
  --bg-warm: #f8f4ec;
  --ink: #1b2230;
  --muted: #5d6674;
  --subtle: #8a9099;
  --line: rgba(27, 34, 48, 0.10);
  --accent: #2865d9;
  --accent-light: #6aa4ff;
  --accent-glow: rgba(40, 101, 217, 0.15);
  --coral: #b04d40;
  --coral-soft: rgba(176, 77, 64, 0.12);
  --teal: #4e9a95;
  --glass: rgba(255, 255, 255, 0.52);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --shadow-soft: 0 8px 32px rgba(29, 39, 63, 0.06);
  --shadow-md: 0 16px 48px rgba(29, 39, 63, 0.10);
  --shadow-lg: 0 32px 80px rgba(29, 39, 63, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --max: 1200px;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

/* ── Reset & Base ── */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

/* ── Grain Overlay ── */

.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ── Dot Grid ── */

.dot-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}

/* ── Glass Cards ── */

.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.glass-card-strong {
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-md);
}

/* ── Page Shell ── */

.page-shell {
  position: relative;
  z-index: 1;
}

main {
  position: relative;
  z-index: 1;
}

/* ── Header ── */

.site-header {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 24px 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-logo {
  color: var(--ink);
  flex-shrink: 0;
}

.brand-word {
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.site-nav {
  display: inline-flex;
  gap: 32px;
  align-items: center;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a {
  transition: color 200ms ease;
}

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

.nav-cta {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: white !important;
  font-weight: 600;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(27, 34, 48, 0.18);
}

/* ── Shared Section Widths ── */

.hero,
.trust-bar,
.how-section,
.difference-section,
.editorial,
.final-cta {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

/* ── Typography ── */

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 0.96;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ═══════════════ HERO ═══════════════ */

.hero {
  padding: 40px 0 60px;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  overflow: clip;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
}

.hero-body {
  max-width: 36rem;
  margin: 24px 0 0;
  font-size: 1.12rem;
  line-height: 1.72;
  color: var(--muted);
}

/* ── Waitlist Form ── */

.waitlist-form {
  display: flex;
  gap: 8px;
  margin-top: 36px;
  padding: 8px;
  width: min(100%, 480px);
  border-radius: var(--radius-pill);
  border-color: rgba(27, 34, 48, 0.14);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(40, 101, 217, 0.08);
  transition: box-shadow 300ms ease, border-color 300ms ease;
}

.waitlist-form:focus-within {
  border-color: var(--accent-light);
  box-shadow: 0 0 0 4px var(--accent-glow), var(--shadow-md);
}

.waitlist-form input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0 16px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}

.waitlist-form input::placeholder {
  color: var(--subtle);
}

.waitlist-form button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--accent), #4a82f0);
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.waitlist-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(40, 101, 217, 0.28);
}

.waitlist-form button:active {
  transform: translateY(0) scale(0.98);
}

.form-meta {
  margin: 16px 0 0;
  color: var(--subtle);
  font-size: 0.88rem;
}

.social-proof {
  color: var(--muted);
}

.social-proof strong {
  color: var(--accent);
  font-weight: 800;
}

/* ── Hero Visual ── */

.hero-visual {
  position: relative;
  height: 560px;
  overflow: visible;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orb-breathe 8s ease-in-out infinite;
}

.orb-blue {
  width: 320px;
  height: 320px;
  top: 40px;
  left: 20px;
  background: rgba(40, 101, 217, 0.18);
}

.orb-coral {
  width: 260px;
  height: 260px;
  bottom: 60px;
  right: 10px;
  background: rgba(176, 77, 64, 0.16);
  animation-delay: -4s;
}

@keyframes orb-breathe {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* ── 3D iPhone Device ── */

.iphone-scene {
  perspective: 1200px;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iphone-tilt {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-12deg) rotateX(4deg);
  animation: iphone-float 8s ease-in-out infinite;
}

@keyframes iphone-float {
  0%, 100% { transform: rotateY(-12deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-10deg) rotateX(2deg) translateY(-14px); }
}

.iphone-device {
  position: relative;
  transform-style: preserve-3d;
}

.iphone-frame {
  position: relative;
  width: 270px;
  height: 554px;
  border-radius: 52px;
  background: linear-gradient(145deg, #2a2d33, #1a1c22, #0e1015);
  padding: 10px;
  box-shadow:
    /* Outer bezel edge highlight */
    0 0 0 1.5px rgba(255, 255, 255, 0.12),
    /* Inner depth */
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    /* Left edge light catch */
    -2px 0 0 rgba(255, 255, 255, 0.04),
    /* Contact shadow */
    0 40px 60px -10px rgba(14, 17, 24, 0.35),
    0 20px 30px -8px rgba(14, 17, 24, 0.2),
    /* Ambient shadow */
    0 80px 120px -20px rgba(14, 17, 24, 0.25);
}

/* Side buttons */
.iphone-btn {
  position: absolute;
  background: linear-gradient(180deg, #3a3d44, #22252b);
  border-radius: 2px;
}

.iphone-btn-power {
  right: -2.5px;
  top: 170px;
  width: 3px;
  height: 72px;
  border-radius: 0 2px 2px 0;
  box-shadow: 1px 0 2px rgba(0,0,0,0.3);
}

.iphone-btn-vol-up {
  left: -2.5px;
  top: 140px;
  width: 3px;
  height: 36px;
  border-radius: 2px 0 0 2px;
  box-shadow: -1px 0 2px rgba(0,0,0,0.3);
}

.iphone-btn-vol-down {
  left: -2.5px;
  top: 190px;
  width: 3px;
  height: 36px;
  border-radius: 2px 0 0 2px;
  box-shadow: -1px 0 2px rgba(0,0,0,0.3);
}

.iphone-btn-silent {
  left: -2.5px;
  top: 108px;
  width: 3px;
  height: 18px;
  border-radius: 2px 0 0 2px;
  box-shadow: -1px 0 2px rgba(0,0,0,0.3);
}

/* Bezel highlight — simulates light catching top-left edge */
.iphone-highlight {
  position: absolute;
  inset: 0;
  border-radius: 52px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 40%,
    transparent 60%,
    rgba(255, 255, 255, 0.02) 100%
  );
  pointer-events: none;
  z-index: 3;
}

/* Dynamic Island */
.iphone-island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  border-radius: 20px;
  background: #000;
  z-index: 4;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.5);
}

/* Screen */
.iphone-screen {
  width: 100%;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  position: relative;
}

/* Reflection overlay on device */
.iphone-reflection {
  position: absolute;
  inset: 0;
  border-radius: 52px;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 30%,
    transparent 70%,
    rgba(255, 255, 255, 0.03) 100%
  );
  pointer-events: none;
  z-index: 5;
}

/* Ground shadow beneath device */
.iphone-shadow {
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%) rotateX(80deg);
  width: 240px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(14, 17, 24, 0.18), transparent 70%);
  filter: blur(8px);
}

/* ── Floating Context Cards ── */

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 18px;
  z-index: 10;
  animation: float-drift 7s ease-in-out infinite;
  max-width: 180px;
}

.float-card strong {
  display: block;
  font-size: 0.82rem;
}

.float-card small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 1px;
}

.float-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-card-top {
  top: 42px;
  right: 8px;
  animation-delay: -1s;
}

.float-card-bottom {
  bottom: 44px;
  left: 10px;
  animation-delay: -4s;
}

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

/* ── Tab Bar (inside screen) ── */

.screen-tab-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0 22px;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(27, 34, 48, 0.06);
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.52rem;
  font-weight: 600;
  color: var(--subtle);
}

.tab-item.tab-active {
  color: var(--accent);
}

/* ── Screen: App (matches real iOS app) ── */

.screen-app {
  padding: 52px 12px 0;
  height: 100%;
  position: relative;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 50% 0%, rgba(40, 101, 217, 0.06), transparent 40%),
    linear-gradient(180deg, #f6f2eb 0%, #f0ead9 100%);
}

/* App Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.app-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.app-subtitle {
  margin: 2px 0 0;
  font-size: 0.62rem;
  color: var(--muted);
}

.app-new-btn {
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: white;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  cursor: default;
}

/* Capture Banner */
.app-capture-banner {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, #6b7ea8, #c98a73, #a87c6b);
  color: white;
  margin-bottom: 12px;
  position: relative;
}

.app-capture-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.18);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.app-capture-text strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
}

.app-capture-text small {
  font-size: 0.56rem;
  opacity: 0.85;
  line-height: 1.3;
}

.app-capture-close {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 0.9rem;
  opacity: 0.5;
  line-height: 1;
}

/* Section Header */
.app-section {
  margin-bottom: 8px;
}

.app-section-eyebrow {
  display: block;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #b04d40;
  margin-bottom: 2px;
}

.app-section-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
}

/* Group Cards */
.app-group-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(27, 34, 48, 0.06);
  border-radius: 16px;
}

.group-avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.72rem;
  color: white;
  flex-shrink: 0;
}

.ga-coral {
  background: linear-gradient(135deg, #7c9dff, #d88b73);
}

.ga-teal {
  background: linear-gradient(135deg, #5db6a8, #3a63d8);
}

.app-group-info {
  flex: 1;
  min-width: 0;
}

.app-group-info strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}

.app-group-meta {
  display: flex;
  gap: 4px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.app-meta-pill {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.52rem;
  font-weight: 600;
  background: rgba(27, 34, 48, 0.05);
  color: var(--muted);
}

.app-meta-pill.streak {
  background: rgba(176, 77, 64, 0.1);
  color: #b04d40;
}

.app-group-chevron {
  color: var(--subtle);
  font-size: 1.1rem;
  font-weight: 300;
  flex-shrink: 0;
}

/* New Circle Card */
.app-new-circle {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: rgba(40, 101, 217, 0.04);
  border: 1px solid rgba(40, 101, 217, 0.12);
  border-radius: 16px;
}

.app-new-circle-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(40, 101, 217, 0.1);
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
}

.app-new-circle-info {
  flex: 1;
}

.app-new-circle-info strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
}

.app-new-circle-info small {
  font-size: 0.56rem;
  color: var(--muted);
  line-height: 1.3;
}

.app-new-circle-action {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
}


.content-stack {
  position: relative;
  z-index: 4;
  margin-top: 8px;
  padding-top: 18px;
  background: linear-gradient(180deg, rgba(248, 244, 236, 0.82) 0%, var(--bg-warm) 12%, var(--bg) 100%);
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
}

/* ═══════════════ TRUST BAR ═══════════════ */

.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 244, 236, 0.72);
  backdrop-filter: blur(10px);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.trust-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
}

/* ═══════════════ HOW IT WORKS ═══════════════ */

.how-section {
  padding: 100px 0;
  position: relative;
  z-index: 5;
}

.section-header {
  max-width: 560px;
  margin-bottom: 48px;
}

.section-header h2,
.difference-copy h2,
.editorial-copy h2,
.final-copy h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

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

.step-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(40, 101, 217, 0.12), rgba(40, 101, 217, 0.06));
  border: 1px solid rgba(40, 101, 217, 0.1);
  color: var(--accent);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(40, 101, 217, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.step-number {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.step p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* ═══════════════ DIFFERENCE ═══════════════ */

.difference-section {
  padding: 0 0 100px;
  position: relative;
  z-index: 5;
}

.difference-layout {
  display: grid;
  grid-template-columns: minmax(0, 400px) 1fr;
  gap: 60px;
  align-items: start;
}

.difference-body {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.05rem;
}

.difference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.diff-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.diff-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.diff-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(40, 101, 217, 0.10), rgba(40, 101, 217, 0.04));
  border: 1px solid rgba(40, 101, 217, 0.08);
  color: var(--accent);
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(40, 101, 217, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.diff-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.diff-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ═══════════════ EDITORIAL ═══════════════ */

.editorial {
  padding: 100px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.editorial-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.editorial-card {
  padding: 28px 32px;
  border-radius: var(--radius-lg);
}

.editorial-card-offset {
  margin-left: 40px;
}

.editorial-quote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--ink);
}

.editorial-copy h2 {
  max-width: 14ch;
}

.editorial-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.05rem;
}

.feature-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-check {
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

/* ═══════════════ FINAL CTA ═══════════════ */

.final-cta {
  padding: 80px 0 100px;
  position: relative;
  z-index: 5;
}

.final-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.final-copy {
  margin-bottom: 36px;
}

.final-copy h2 {
  max-width: 16ch;
  margin: 0 auto;
}

.final-copy p {
  margin: 18px auto 0;
  max-width: 420px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.waitlist-form-final {
  width: min(100%, 480px);
  margin: 0 auto;
}

.final-cta .form-meta {
  text-align: center;
}

/* ═══════════════ FOOTER ═══════════════ */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0;
}

.footer-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  flex: 1;
}

.footer-links {
  display: inline-flex;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--muted);
}

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

.footer-copy {
  margin: 0;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.82rem;
}

/* ═══════════════ ANIMATIONS ═══════════════ */

.anim-fade {
  opacity: 0;
  transform: translateY(28px);
  animation: fade-up 800ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anim-d1 { animation-delay: 100ms; }
.anim-d2 { animation-delay: 220ms; }
.anim-d3 { animation-delay: 360ms; }
.anim-d4 { animation-delay: 500ms; }
.anim-d5 { animation-delay: 640ms; }

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }

/* ═══════════════ FORM SUCCESS STATE ═══════════════ */

.waitlist-form.success {
  border-color: #2d9a3e;
  box-shadow: 0 0 0 4px rgba(45, 154, 62, 0.12);
}

.waitlist-form.success button {
  background: linear-gradient(135deg, #2d9a3e, #4cc764);
  pointer-events: none;
}

/* ═══════════════ SR ONLY ═══════════════ */

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

/* ═══════════════ RESPONSIVE ═══════════════ */

@media (max-width: 1060px) {
  .hero,
  .editorial {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 32px;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .hero-visual {
    min-height: 520px;
    max-height: none;
  }

  .iphone-frame {
    width: 268px;
    height: 552px;
  }

  .difference-layout {
    grid-template-columns: 1fr;
  }

  .editorial {
    gap: 48px;
  }

  .editorial-card-offset {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 18px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 10vw, 3.8rem);
  }

  .hero-body {
    font-size: 1rem;
  }

  .waitlist-form {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 12px;
  }

  .waitlist-form input {
    padding: 12px 14px;
  }

  .waitlist-form button {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .iphone-frame {
    width: 230px;
    height: 474px;
    border-radius: 44px;
  }

  .iphone-screen {
    border-radius: 36px;
  }

  .iphone-island {
    width: 84px;
    height: 24px;
    top: 14px;
  }

  .float-card-top {
    right: 8px;
    top: 22px;
  }

  .float-card-bottom {
    left: 8px;
    bottom: 24px;
  }

  .screen-app {
    padding: 44px 10px 0;
  }

  .app-title {
    font-size: 1.2rem;
  }

  .group-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.64rem;
  }

  .app-group-info strong {
    font-size: 0.7rem;
  }

  .app-meta-pill {
    font-size: 0.46rem;
  }

  .trust-bar {
    flex-direction: column;
    gap: 16px;
    padding: 28px 0;
  }

  .trust-divider {
    display: none;
  }

  .steps,
  .difference-grid {
    grid-template-columns: 1fr;
  }

  .how-section,
  .difference-section,
  .editorial,
  .final-cta {
    padding: 72px 0;
  }

  .content-stack {
    margin-top: 0;
    padding-top: 10px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }

  .section-header h2,
  .difference-copy h2,
  .editorial-copy h2,
  .final-copy h2 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.6rem;
  }

  .iphone-frame {
    width: 206px;
    height: 424px;
    border-radius: 38px;
  }

  .iphone-screen {
    border-radius: 30px;
  }

  .iphone-tilt {
    transform: rotateY(-8deg) rotateX(3deg);
  }

  .float-card {
    padding: 10px 14px;
    border-radius: 14px;
  }

  .float-card strong {
    font-size: 0.74rem;
  }

  .float-card small {
    font-size: 0.62rem;
  }

  .float-emoji svg {
    width: 14px;
    height: 14px;
  }

  .screen-app {
    padding: 38px 8px 0;
  }

  .app-title {
    font-size: 1rem;
  }

  .app-capture-banner {
    padding: 8px 10px;
    border-radius: 12px;
  }

  .app-capture-text strong {
    font-size: 0.58rem;
  }

  .app-capture-text small {
    font-size: 0.48rem;
  }

  .app-group-card {
    padding: 8px;
    border-radius: 12px;
    margin-bottom: 6px;
  }

  .screen-tab-bar {
    padding: 6px 0 16px;
  }

  .tab-item {
    font-size: 0.46rem;
  }

  .tab-item svg {
    width: 16px;
    height: 16px;
  }
}
