:root {
  --bg: #F5F2ED;
  --text: #3D3D3D;
  --heading: #1F2937;
  --muted: #6B6B6B;
  --accent: #6B5B95;
  --border: #DED9D2;
  --surface: #EDE9E3;
}

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

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

body {
  background:
    /* fine dot matrix */
    radial-gradient(rgba(107, 91, 149, 0.07) 1px, transparent 1px) 0 0 / 28px 28px,
    /* grain texture */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.24 0 0 0 0 0.24 0 0 0 0 0.24 0 0 0 0.35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.4'/></svg>"),
    /* warm vignette */
    radial-gradient(ellipse at top, #FAF7F1 0%, #F5F2ED 45%, #F1EDE6 100%);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Ambient background orbs — drift slowly, very low opacity */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

body::before {
  width: 520px;
  height: 520px;
  top: 20%;
  left: -200px;
  background: radial-gradient(circle, rgba(107, 91, 149, 0.22) 0%, rgba(107, 91, 149, 0) 70%);
  animation: drift-a 22s ease-in-out infinite;
}

body::after {
  width: 460px;
  height: 460px;
  bottom: 10%;
  right: -180px;
  background: radial-gradient(circle, rgba(196, 164, 132, 0.18) 0%, rgba(196, 164, 132, 0) 70%);
  animation: drift-b 28s ease-in-out infinite;
}

@keyframes drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.08); }
}

@keyframes drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 50px) scale(1.1); }
}

main, nav, footer, section {
  position: relative;
  z-index: 1;
}

/* Section-level pattern decorations */
.section,
.hero,
.philosophy,
.cta-section {
  isolation: isolate;
}

/* Diagonal line overlay on archive section */
.archive-section {
  overflow: hidden;
}

.archive-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 80px,
    rgba(107, 91, 149, 0.04) 80px,
    rgba(107, 91, 149, 0.04) 81px
  );
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.archive-section > * {
  position: relative;
  z-index: 1;
}

/* Concentric rings behind philosophy */
.philosophy {
  overflow: hidden;
}

.philosophy::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0%, transparent 24%, rgba(107, 91, 149, 0.05) 24.5%, transparent 25.5%, transparent 39%, rgba(107, 91, 149, 0.04) 39.5%, transparent 40.5%, transparent 54%, rgba(107, 91, 149, 0.03) 54.5%, transparent 55.5%);
  pointer-events: none;
  z-index: 0;
  animation: ring-breathe 18s ease-in-out infinite;
}

.philosophy > * {
  position: relative;
  z-index: 1;
}

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

/* Soft topographic wave pattern on CTA section */
.cta-section {
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 30% at 50% 0%, rgba(107, 91, 149, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(196, 164, 132, 0.1), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

/* Soft horizontal rule pattern for the "how it works" section */
#how {
  position: relative;
  overflow: hidden;
}

#how::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(107, 91, 149, 0.15) 20%, rgba(107, 91, 149, 0.15) 80%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

#how > * {
  position: relative;
  z-index: 1;
}

.sans {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Navigation */
.nav {
  padding: 28px 0;
  position: relative;
  z-index: 10;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--heading);
  text-decoration: none;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(107, 91, 149, 0.25));
  animation: breathe 5s ease-in-out infinite;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Typography */
h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--heading);
  font-weight: 500;
  letter-spacing: 0.75px;
  line-height: 1.2;
}

.accent {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(120deg, #7a6ba8 0%, #6B5B95 45%, #8b7bb0 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: accent-shimmer 6s ease-in-out infinite;
}

@keyframes accent-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.eyebrow {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* Hero */
.hero {
  padding: 60px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(107, 91, 149, 0.22) 0%, rgba(107, 91, 149, 0) 55%),
    radial-gradient(circle at 70% 70%, rgba(196, 164, 132, 0.14) 0%, rgba(196, 164, 132, 0) 60%);
  pointer-events: none;
  z-index: 0;
  animation: orb-float 14s ease-in-out infinite;
  filter: blur(10px);
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-copy {
  text-align: left;
}

.hero h1 {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 32px;
}

.hero-tagline {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--heading);
  max-width: 520px;
  margin: 0 0 20px;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

.hero-sub {
  font-family: Georgia, serif;
  font-size: 17px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 0 44px;
  line-height: 1.7;
}

/* App Store badge */
.app-store-badge {
  display: inline-block;
  background: linear-gradient(135deg, #000 0%, #1f1f1f 100%);
  color: #fff;
  padding: 12px 24px 12px 52px;
  border-radius: 10px;
  text-decoration: none;
  position: relative;
  font-family: "Inter", -apple-system, sans-serif;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  min-width: 180px;
  text-align: left;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.app-store-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.8s ease;
}

.app-store-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -8px rgba(107, 91, 149, 0.35);
}

.app-store-badge:hover::after {
  left: 120%;
}

.app-store-badge::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 28px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512' fill='white'><path d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z'/></svg>") center/contain no-repeat;
}

.badge-label {
  display: block;
  font-size: 10px;
  opacity: 0.8;
  letter-spacing: 0.5px;
}

.badge-name {
  display: block;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

/* Phone mockup — warm on-brand bezel */
.phone-frame {
  width: 280px;
  height: 580px;
  background: linear-gradient(160deg, #EDE9E3 0%, #DCD4C8 100%);
  border-radius: 48px;
  padding: 10px 9px;
  margin: 0 auto;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(107, 91, 149, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 -1px 2px rgba(107, 91, 149, 0.08),
    0 30px 60px -20px rgba(107, 91, 149, 0.35),
    0 10px 30px -12px rgba(61, 61, 61, 0.1);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.6s ease;
}

.phone-frame:hover {
  transform: translateY(-8px);
  box-shadow:
    0 0 0 1px rgba(107, 91, 149, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 -1px 2px rgba(107, 91, 149, 0.08),
    0 44px 80px -18px rgba(107, 91, 149, 0.5),
    0 14px 36px -12px rgba(61, 61, 61, 0.12);
}

/* Side button — soft warm hardware hint on the right */
.phone-frame::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 140px;
  width: 2.5px;
  height: 70px;
  background: linear-gradient(180deg, #DED9D2 0%, #C9C0B4 100%);
  border-radius: 0 2px 2px 0;
  box-shadow: inset -0.5px 0 0 rgba(107, 91, 149, 0.15);
}

/* Notch only for CSS mockups (.has-notch); real screenshots already include the status bar */
.phone-frame.has-notch::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 22px;
  background: linear-gradient(180deg, #3a2f4a 0%, #2a2235 100%);
  border-radius: 14px;
  z-index: 4;
  box-shadow: inset 0 0 0 0.5px rgba(107, 91, 149, 0.3);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: var(--bg);
  padding: 44px 20px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Real screenshot image filling the phone frame */
.phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 38px;
  display: block;
  position: relative;
  z-index: 1;
}

/* Status bar (all screens) */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 14px;
  left: 22px;
  right: 22px;
  z-index: 2;
  font-family: -apple-system, "SF Pro Text", sans-serif;
}

.status-time {
  font-size: 11px;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: 0;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.s-signal {
  width: 14px;
  height: 8px;
  background:
    linear-gradient(to top, var(--heading) 35%, var(--heading) 35%) left bottom / 2px 35% no-repeat,
    linear-gradient(to top, var(--heading) 55%, var(--heading) 55%) 4px bottom / 2px 55% no-repeat,
    linear-gradient(to top, var(--heading) 75%, var(--heading) 75%) 8px bottom / 2px 75% no-repeat,
    linear-gradient(to top, var(--muted) 95%, var(--muted) 95%) right bottom / 2px 95% no-repeat;
  opacity: 0.85;
}

.s-wifi {
  width: 12px;
  height: 9px;
  background:
    radial-gradient(circle 6px at center bottom, transparent 3px, var(--heading) 3px 4px, transparent 4px),
    radial-gradient(circle 4px at center bottom, transparent 1.5px, var(--heading) 1.5px 2.5px, transparent 2.5px),
    radial-gradient(circle 2px at center bottom, var(--heading) 1.5px, transparent 1.5px);
  opacity: 0.85;
}

.s-battery {
  width: 20px;
  height: 9px;
  border: 1px solid var(--heading);
  border-radius: 2px;
  position: relative;
  opacity: 0.55;
  padding: 1px;
}

.s-battery::before {
  content: "";
  display: block;
  width: 45%;
  height: 100%;
  background: var(--heading);
  border-radius: 1px;
}

.s-battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 3px;
  background: var(--heading);
  border-radius: 0 1px 1px 0;
  opacity: 0.6;
}

/* Settings cog */
.settings-cog {
  position: absolute;
  top: 40px;
  right: 20px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background:
    radial-gradient(circle, transparent 3px, var(--muted) 3.2px 4.5px, transparent 4.5px) center/100% 100% no-repeat,
    conic-gradient(from 0deg, var(--muted) 0 20deg, transparent 20deg 25deg, var(--muted) 25deg 45deg, transparent 45deg 50deg, var(--muted) 50deg 70deg, transparent 70deg 75deg, var(--muted) 75deg 95deg, transparent 95deg 100deg, var(--muted) 100deg 120deg, transparent 120deg 125deg, var(--muted) 125deg 145deg, transparent 145deg 150deg, var(--muted) 150deg 170deg, transparent 170deg 175deg, var(--muted) 175deg 195deg, transparent 195deg 200deg, var(--muted) 200deg 220deg, transparent 220deg 225deg, var(--muted) 225deg 245deg, transparent 245deg 250deg, var(--muted) 250deg 270deg, transparent 270deg 275deg, var(--muted) 275deg 295deg, transparent 295deg 300deg, var(--muted) 300deg 320deg, transparent 320deg 325deg, var(--muted) 325deg 345deg, transparent 345deg 350deg, var(--muted) 350deg 360deg);
  opacity: 0.5;
  cursor: pointer;
  padding: 0;
  z-index: 2;
}

.settings-cog::after {
  content: "";
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  background: var(--bg);
}

.phone-caption {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Hero phone */
.hero-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Waiting screen (hero) */
.waiting-screen {
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding-top: 44px;
  padding-bottom: 32px;
}

.waiting-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto 0;
}

.waiting-orb {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 72% 32%, #f5e8e8 0%, #c9b9d9 22%, #8e7cb0 55%, #5a4a85 100%);
  margin-bottom: 44px;
  animation: breathe 5s ease-in-out infinite;
  position: relative;
  box-shadow:
    inset -14px -22px 40px rgba(60, 40, 90, 0.35),
    inset 10px 14px 24px rgba(255, 255, 255, 0.35),
    0 14px 40px -8px rgba(107, 91, 149, 0.35);
}

.waiting-orb::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 91, 149, 0.22) 0%, rgba(107, 91, 149, 0) 65%);
  filter: blur(10px);
  animation: halo 5s ease-in-out infinite;
  z-index: -1;
}

@keyframes breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.03); }
}

@keyframes halo {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.12); opacity: 0.95; }
}

.waiting-heading {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--heading);
  letter-spacing: 0.3px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.waiting-heading em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.waiting-sub {
  font-family: Georgia, serif;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

.waiting-footer {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.3px;
}

/* Sections */
.section {
  padding: 110px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: clamp(36px, 5vw, 52px);
  margin-bottom: 20px;
}

.section-sub {
  color: var(--muted);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
  max-width: 100px;
  margin: 0 auto;
}

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

.step {
  text-align: center;
}

.step-number {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 18px;
  margin-bottom: 24px;
  letter-spacing: 1px;
  background: linear-gradient(120deg, #8b7bb0 0%, #6B5B95 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step:nth-child(1) .reveal-stagger { transition-delay: 0s; }
.step:nth-child(2) { transition-delay: 0.15s; }
.step:nth-child(3) { transition-delay: 0.3s; }

.step h3 {
  font-size: 26px;
  margin-bottom: 16px;
}

.step p {
  color: var(--muted);
  font-size: 16px;
  max-width: 300px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* Step phone screens */
.step-phone {
  width: 240px;
  height: 500px;
  border-radius: 42px;
  padding: 8px 7px;
}

.step-phone.has-notch::before {
  width: 74px;
  height: 20px;
  top: 14px;
}

.step-phone .phone-screen {
  padding: 34px 14px 18px;
  border-radius: 34px;
}

.step-phone .phone-img {
  border-radius: 34px;
}

.step-phone .status-bar {
  top: 10px;
  left: 18px;
  right: 18px;
}

.step-phone .settings-cog {
  top: 32px;
  right: 16px;
  width: 15px;
  height: 15px;
}

/* Arrive screen (Your moment is here) */
.arrive-screen {
  padding: 44px 18px 26px;
  text-align: center;
}

.arrive-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding-top: 40px;
}

.arrive-heading {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--heading);
  line-height: 1.25;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}

.arrive-heading em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.arrive-sub {
  font-family: Georgia, serif;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 180px;
  margin-bottom: auto;
}

/* The glass arch — rounded arch with inner warm glow */
.glass-arch {
  width: 90px;
  height: 120px;
  position: relative;
  margin: 18px auto 22px;
  filter: drop-shadow(0 12px 22px rgba(60, 40, 90, 0.18));
}

.glass-arch::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 44px 44px 6px 6px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.6) 0%, rgba(240, 230, 220, 0.15) 60%, rgba(255, 255, 255, 0.3) 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(1px);
}

.arch-inner {
  position: absolute;
  inset: 10px 12px 0 12px;
  border-radius: 36px 36px 0 0;
  background: radial-gradient(ellipse at center 80%, #fff3d6 0%, #f7deb0 40%, #e8c789 70%, rgba(232, 199, 137, 0) 100%);
  animation: arch-glow 5s ease-in-out infinite;
}

.arch-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50px 50px 10px 10px;
  background: radial-gradient(ellipse at center 70%, rgba(247, 222, 176, 0.4) 0%, transparent 60%);
  filter: blur(12px);
  z-index: -1;
  animation: arch-glow 5s ease-in-out infinite;
}

@keyframes arch-glow {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

.capture-pill {
  margin-top: auto;
  background: transparent;
  color: var(--heading);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 10px 44px;
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.capture-pill:hover {
  background: rgba(107, 91, 149, 0.08);
  border-color: var(--accent);
  color: var(--accent);
}

/* Capture screen */
.capture-screen {
  padding: 44px 16px 20px;
}

.timer-pill {
  align-self: flex-end;
  background: rgba(107, 91, 149, 0.08);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  margin-top: 6px;
  margin-bottom: 22px;
}

.prompt-label {
  font-family: "Inter", sans-serif;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.prompt-text {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: var(--heading);
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.4;
}

.entry-area {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  font-family: Georgia, serif;
  font-size: 11px;
  color: var(--text);
  line-height: 1.6;
  min-height: 80px;
}

.char-count {
  font-family: "Inter", sans-serif;
  font-size: 9px;
  color: var(--muted);
  text-align: right;
  margin-top: 6px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.camera-tile {
  background: rgba(107, 91, 149, 0.04);
  border: 1px dashed rgba(107, 91, 149, 0.35);
  border-radius: 10px;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
}

.camera-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.3px;
}

.camera-icon {
  width: 24px;
  height: 20px;
  border: 1.5px solid var(--muted);
  border-radius: 3px;
  position: relative;
}

.camera-icon::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 7px;
  width: 10px;
  height: 4px;
  border: 1.5px solid var(--muted);
  border-bottom: none;
  border-radius: 2px 2px 0 0;
}

.camera-icon::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
}

/* Shared moment screen (Somewhere in Berlin) */
.shared-screen {
  padding: 44px 18px 22px;
  text-align: left;
}

.shared-city {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.2;
  letter-spacing: 0.3px;
  margin-top: 8px;
  margin-bottom: 22px;
}

.shared-prompt {
  font-size: 12px;
  margin-bottom: 16px;
}

.shared-photo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.shared-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 10px 24px -8px rgba(107, 91, 149, 0.3),
    inset 0 0 0 1px rgba(107, 91, 149, 0.15);
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, #e8c789 0%, #d4a968 35%, #8b7aa8 70%, #6b5f8a 100%);
  animation: shared-shimmer 9s ease-in-out infinite;
  background-size: 200% 200%;
}

.shared-circle-inner {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 240, 200, 0.6) 0%, transparent 35%),
    linear-gradient(to bottom, transparent 50%, rgba(40, 40, 60, 0.35) 100%);
}

.shared-circle::after {
  content: "";
  position: absolute;
  bottom: 28%;
  left: 15%;
  right: 15%;
  height: 30%;
  background:
    repeating-linear-gradient(
      95deg,
      rgba(60, 50, 70, 0.25) 0,
      rgba(60, 50, 70, 0.25) 2px,
      transparent 2px,
      transparent 6px
    );
  opacity: 0.5;
  clip-path: polygon(0 40%, 100% 60%, 100% 100%, 0 100%);
}

@keyframes shared-shimmer {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}

.shared-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 13px;
  color: var(--heading);
  line-height: 1.6;
  text-align: center;
  margin-bottom: auto;
  padding: 0 8px;
}

.shared-continue {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.3px;
  margin-top: 16px;
}

/* Archive section */
.archive-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 30%, var(--surface) 70%, var(--bg) 100%);
}

.archive-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.archive-text h2 {
  font-size: clamp(36px, 5vw, 52px);
  margin-bottom: 24px;
}

.archive-text p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.archive-phone {
  width: 300px;
  height: 640px;
  margin: 0 auto;
}

.archive-phone .phone-img {
  border-radius: 40px;
}

/* Glimpses (archive) screen */
.glimpses-screen {
  padding: 44px 16px 20px;
  overflow-y: auto;
}

.back-link {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  margin-bottom: 18px;
}

.glimpses-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--heading);
  letter-spacing: 0.3px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.month-label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.3px;
  margin-bottom: 8px;
  margin-top: 18px;
}

.glimpses-screen .month-label:first-of-type {
  margin-top: 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.photo-tile {
  aspect-ratio: 1;
  background: var(--surface);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 1px 2px rgba(61, 61, 61, 0.05);
}

.photo-tile-empty {
  background: transparent;
  box-shadow: none;
}

.tile-date {
  position: absolute;
  bottom: 5px;
  left: 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 10px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Photo-like gradient tiles, low-saturation, warm/cool mix */
.tile-a { background: linear-gradient(160deg, #5a4a3a 0%, #3a2e24 55%, #1e1812 100%); }
.tile-b { background: linear-gradient(150deg, #4a3e32 0%, #2f2820 60%, #15110c 100%); }
.tile-c { background: linear-gradient(170deg, #5d4a38 0%, #38291e 55%, #181108 100%); }
.tile-d { background: linear-gradient(140deg, #18151e 0%, #2a2236 55%, #140f1c 100%); }
.tile-e { background: linear-gradient(160deg, #6b5f4a 0%, #4a3d2b 50%, #2a2218 100%); }
.tile-f { background: linear-gradient(145deg, #1a1622 0%, #2e2640 55%, #181020 100%); }
.tile-g { background: linear-gradient(180deg, #d4b98c 0%, #a8886a 45%, #5a5a72 100%); }

.phone-frame:hover .photo-tile {
  transform: scale(0.985);
}

/* Summaries block */
.summaries-block {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.summaries-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}

.summary-link {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.summary-link:hover {
  opacity: 0.75;
}

/* Reflections */
.reflections-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.reflections-layout .reflections-text {
  order: 2;
}

.reflections-layout .reflections-visual {
  order: 1;
}

.reflections-text h2 {
  font-size: clamp(36px, 5vw, 52px);
  margin-bottom: 24px;
}

.reflections-text p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.summary-phone {
  width: 300px;
  height: 640px;
  margin: 0 auto;
}

.summary-phone .phone-img {
  border-radius: 40px;
}

/* Weekly summaries screen */
.summaries-screen {
  padding: 44px 16px 20px;
  overflow-y: auto;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.summary-card {
  aspect-ratio: 0.95;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(61, 61, 61, 0.06);
  transition: transform 0.5s ease;
}

.summary-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(20, 15, 30, 0.4) 60%, rgba(20, 15, 30, 0.85) 100%);
}

.summary-card-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  z-index: 1;
  color: #fff;
}

.summary-card-week {
  font-size: 9px;
  opacity: 0.85;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.summary-card-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.2px;
}

/* Card gradient variants (photo-like) */
.card-a { background: linear-gradient(160deg, #6a5a44 0%, #4a3a28 40%, #2a2218 100%); }
.card-b { background: linear-gradient(150deg, #5d4a38 0%, #3a2e24 45%, #181208 100%); }
.card-c { background: linear-gradient(170deg, #8a7560 0%, #5a4838 50%, #2a2016 100%); }
.card-d { background: linear-gradient(145deg, #1a1624 0%, #2e2438 50%, #150f1e 100%); }

.phone-frame:hover .summary-card {
  transform: scale(0.985);
}

/* Philosophy */
.philosophy {
  text-align: center;
  padding: 140px 0;
}

.philosophy-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.philosophy p {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 2.8vw, 28px);
  color: var(--heading);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
  letter-spacing: 0.3px;
  font-weight: 400;
}

/* CTA */
.cta-section {
  padding: 130px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-section h2 {
  font-size: clamp(36px, 5vw, 52px);
  margin-bottom: 48px;
}

.cta-meta {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--muted);
  margin-top: 24px;
  letter-spacing: 1px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 13px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

.footer-contact a {
  color: var(--muted);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--accent);
}

/* Legal pages */
.legal-page {
  padding: 60px 0 120px;
}

.legal-page h1 {
  font-size: clamp(40px, 6vw, 60px);
  margin-bottom: 12px;
}

.legal-meta {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 48px;
  letter-spacing: 0.3px;
}

.legal-meta p {
  margin-bottom: 4px;
}

.legal-page h2 {
  font-size: 28px;
  margin-top: 56px;
  margin-bottom: 18px;
}

.legal-page h3 {
  font-size: 20px;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--heading);
  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.legal-page p {
  margin-bottom: 18px;
  color: var(--text);
  line-height: 1.75;
}

.legal-page ul {
  margin-bottom: 18px;
  padding-left: 22px;
}

.legal-page li {
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.75;
}

.legal-page strong {
  color: var(--heading);
  font-weight: 600;
}

.legal-page a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.legal-page a:hover {
  border-bottom-color: var(--accent);
}

.legal-intro {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.75;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease, transform 1s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.2s !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .archive-layout,
  .reflections-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .reflections-layout .reflections-text {
    order: 1;
  }

  .reflections-layout .reflections-visual {
    order: 2;
  }

  .section {
    padding: 80px 0;
  }

  .philosophy,
  .cta-section {
    padding: 90px 0;
  }

  .hero {
    padding: 40px 0 80px;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-tagline,
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-orb {
    top: -120px;
    right: 50%;
    transform: translateX(50%);
  }

  #how::before {
    display: none;
  }

  .section-header {
    margin-bottom: 56px;
  }
}

@media (max-width: 560px) {
  .container,
  .container-narrow {
    padding: 0 24px;
  }

  .nav {
    padding: 20px 0;
  }

  .nav-links {
    gap: 18px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .phone-frame {
    width: 260px;
    height: 540px;
  }

  body {
    font-size: 16px;
  }
}
