/* ─── Ordo — base styles ─────────────────────────────────────────────────── */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

:root {
  --bg:           oklch(0.975 0.008 85);
  --surface:      oklch(0.992 0.006 85);
  --ink:          oklch(0.22 0.015 60);
  --ink-soft:     oklch(0.45 0.015 60);
  --ink-mute:     oklch(0.62 0.01 60);
  --border:       oklch(0.88 0.012 70);
  --border-soft:  oklch(0.92 0.008 70);
  --accent:       oklch(0.72 0.14 55);
  --accent-dark:  oklch(0.42 0.13 50);
  --accent-soft:  oklch(0.93 0.06 55);
  --sage:         oklch(0.72 0.08 150);
  --sage-soft:    oklch(0.93 0.04 150);
  --sky:          oklch(0.72 0.08 230);
  --sky-soft:     oklch(0.93 0.04 230);
  --highlight:    oklch(0.92 0.12 95);
  --serif:        'Libre Baskerville', Georgia, serif;
  --sans:         'Inter', system-ui, sans-serif;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
  padding-top: 76px;
}
@supports (overflow: clip) {
  body { overflow-x: clip; }
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ─── NAV ─── */
#nav {
  --nav-blur: 14px;
  position: fixed; z-index: 100;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  width: calc(100vw - 200px);
  height: 52px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px;
  isolation: isolate;
  background:
    linear-gradient(180deg, oklch(0.994 0.006 85 / 0.92), oklch(0.978 0.010 82 / 0.88)),
    oklch(0.97 0.012 88 / 0.55);
  border: 1px solid oklch(0.91 0.014 75 / 0.85);
  border-radius: 999px;
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.55) inset,
    0 10px 40px oklch(0.22 0.02 65 / 0.07),
    0 2px 8px oklch(0.22 0.015 60 / 0.05);
  backdrop-filter: saturate(160%) blur(var(--nav-blur));
  -webkit-backdrop-filter: saturate(160%) blur(var(--nav-blur));
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
}
#nav::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 180% at 12% -40%, oklch(0.72 0.12 55 / 0.09), transparent 55%),
              radial-gradient(90% 120% at 92% -30%, oklch(0.72 0.08 150 / 0.06), transparent 50%);
  pointer-events: none;
  z-index: -1;
}
#nav.scrolled {
  background:
    linear-gradient(180deg, oklch(0.994 0.005 85 / 0.97), oklch(0.983 0.009 82 / 0.94)),
    oklch(0.972 0.011 85 / 0.72);
  border-color: oklch(0.86 0.016 72 / 0.95);
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.65) inset,
    0 14px 48px oklch(0.22 0.02 65 / 0.09),
    0 3px 10px oklch(0.22 0.015 60 / 0.06);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.nav-logo svg {
  pointer-events: none;
}
.nav-logo:hover { color: oklch(0.26 0.02 58); }
@media (prefers-reduced-motion: reduce) {
  #nav::after,
  #nav.scrolled {
    transition: none;
  }
  .nav-links a::after {
    transition: none;
  }
  .nav-links a:hover::after,
  .nav-links a:focus-visible::after {
    transform: scaleX(1);
    opacity: 1;
  }
}
.nav-links {
  display: flex; align-items: center; gap: clamp(22px, 3.5vw, 36px);
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links a {
  display: inline-block;
  position: relative;
  font-size: 13.25px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 2px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: -3px; right: -3px; bottom: -5px;
  height: 3px;
  transform: scaleX(0); transform-origin: center;
  background: linear-gradient(90deg, oklch(0.72 0.14 55 / 0), oklch(0.72 0.14 55 / 0.82), oklch(0.72 0.08 150 / 0.45));
  border-radius: 3px;
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}
.nav-links a:focus-visible {
  color: var(--ink);
  outline: none;
}
.nav-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
  background: linear-gradient(90deg, oklch(0.62 0.14 52 / 0.9), oklch(0.72 0.08 145 / 0.55));
}
.nav-cta {
  padding: 9px 22px;
  font-size: 14px; font-weight: 600; line-height: 1;
  font-family: var(--sans);
  background: var(--ink); color: var(--surface);
  border-radius: 999px; cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-cta:hover {
  color: var(--surface);
  text-decoration: none;
  transform: scale(1.03);
  filter: drop-shadow(0 6px 14px oklch(0.22 0.015 60 / 0.3));
}
.nav-cta:focus-visible {
  outline: 2px solid oklch(0.72 0.14 55 / 0.95);
  outline-offset: 3px;
}
.nav-logo:focus-visible {
  outline: 2px solid oklch(0.72 0.14 55 / 0.85);
  outline-offset: 4px;
  border-radius: 8px;
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 56px 40px 40px;
  position: relative;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, oklch(0.72 0.14 55 / 0.12) 0%, transparent 70%);
  top: -120px; left: 50%; transform: translateX(-50%);
  animation: glow-drift 8s ease-in-out infinite;
}
.hero-glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, oklch(0.72 0.08 150 / 0.1) 0%, transparent 70%);
  bottom: 0; right: -100px;
  animation: glow-drift 10s ease-in-out infinite reverse;
}
.hero-glow-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, oklch(0.72 0.08 230 / 0.08) 0%, transparent 70%);
  bottom: 100px; left: -100px;
  animation: glow-drift 12s ease-in-out infinite 2s;
}

@keyframes glow-drift {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  33% { transform: translateX(-50%) translateY(-20px) scale(1.05); }
  66% { transform: translateX(-50%) translateY(10px) scale(0.97); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 26px;
  opacity: 0;
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 6.2vw, 82px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--ink);
  max-width: 820px;
  margin-bottom: 22px;
  opacity: 0;
  animation: fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}
.hero-h1 em {
  font-style: italic;
  background: linear-gradient(180deg, transparent 60%, var(--highlight) 60%, var(--highlight) 92%, transparent 92%);
  padding: 0 4px;
}

.hero-sub {
  font-size: clamp(14px, 0.875rem + 0.33vw, 20px);
  color: var(--ink-soft);
  max-width: 480px;
  line-height: 1.58;
  margin-bottom: 36px;
  font-weight: 400;
  opacity: 0;
  animation: fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-actions {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; justify-content: center;
  margin-bottom: 10px;
  opacity: 0;
  animation: fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}
.hero-see-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  margin-bottom: 68px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  opacity: 0;
  animation: fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.72s forwards;
}
.btn-primary {
  padding: clamp(14px, 1.4vw, 18px) clamp(28px, 3.2vw, 44px);
  font-size: clamp(14px, 1.3vw, 17px); font-weight: 600;
  font-family: var(--sans);
  background: var(--ink); color: var(--surface);
  border: none; border-radius: 999px; cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.btn-primary:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 6px 14px oklch(0.22 0.015 60 / 0.28));
}
.hero-actions .btn-primary {
  padding: clamp(13px, 1.55vw, 18px) clamp(28px, 3.4vw, 44px);
  font-size: clamp(14px, 1.35vw, 17px);
}
.btn-secondary {
  padding: clamp(14px, 1.4vw, 18px) clamp(28px, 3.2vw, 44px);
  font-size: clamp(14px, 1.3vw, 17px); font-weight: 600;
  font-family: var(--sans);
  background: transparent;
  color: var(--ink-soft);
  border: 1.5px solid var(--border);
  border-radius: 999px; cursor: pointer;
  transition: color 0.15s, border-color 0.15s, transform 0.15s;
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { color: var(--ink); border-color: var(--ink-soft); transform: translateY(-1px); }
.btn-arrow {
  animation: arrow-nudge 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes arrow-nudge {
  0%, 55%, 100% { transform: translateY(0); }
  75%            { transform: translateY(4px); }
}

/* ─── PHONE MOCKUP ─── */
.hero-phone-wrap {
  position: relative;
  opacity: 0;
  transform: scale(0.35);
  transform-origin: top center;
  will-change: transform, opacity;
}

#phone-scene {
  min-height: 100vh;
  position: relative;
  --phone-pin-top: 80px;
  pointer-events: none;
}
#phone-scene-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  overflow: visible;
  clip-path: inset(0 -50vw);
  pointer-events: none;
  z-index: 10;
}
#phone-scene-sticky .hero-phone-wrap {
  pointer-events: auto;
}
.phone-scroll-clip {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.phone-device {
  width: 300px;
  position: relative;
  filter: drop-shadow(0 20px 42px oklch(0.22 0.015 60 / 0.16));
}
.phone-screen {
  position: absolute;
  left: 4.32%;
  top: 2.29%;
  width: 91.36%;
  height: 95.41%;
  border-radius: 40px;
  overflow: hidden;
  background: var(--bg);
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.phone-frame {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}
.hero-phone-wrap.at-full-scale .phone-device {
  animation: phone-bob 6s ease-in-out infinite 0.1s;
}
@keyframes phone-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─── FLOATING CARDS ─── */
.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 16px 40px oklch(0.22 0.015 60 / 0.1);
  font-size: 15px;
  white-space: nowrap;
}
.float-card-inner {
  transform: scale(0.85);
  transform-origin: top left;
}
.float-card-left {
  left: -175px; top: 30%;
  opacity: 0;
}
.float-card-right {
  right: -175px; top: 40%;
  opacity: 0;
}
.hero-phone-wrap.at-full-scale .float-card-left {
  animation:
    card-reveal-l 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0s both,
    card-float-l 7s ease-in-out infinite 0.9s;
}
.hero-phone-wrap.at-full-scale .float-card-right {
  animation:
    card-reveal-r 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both,
    card-float-r 8s ease-in-out infinite 1.2s;
}
@keyframes card-reveal-l {
  from { opacity: 0; transform: translateX(-20px) rotate(-2deg); }
  to   { opacity: 1; transform: translateX(0)     rotate(-2deg); }
}
@keyframes card-reveal-r {
  from { opacity: 0; transform: translateX(20px)  rotate(2deg); }
  to   { opacity: 1; transform: translateX(0)     rotate(2deg); }
}
@keyframes card-float-l {
  0%, 100% { transform: translateY(0)    rotate(-2deg); }
  50%       { transform: translateY(-10px) rotate(-2deg); }
}
@keyframes card-float-r {
  0%, 100% { transform: translateY(0)    rotate(2deg); }
  50%       { transform: translateY(-12px) rotate(2deg); }
}
@keyframes card-exit-l {
  from { opacity: 1; transform: translateX(0)     rotate(-2deg); }
  to   { opacity: 0; transform: translateX(-20px) rotate(-2deg); }
}
@keyframes card-exit-r {
  from { opacity: 1; transform: translateX(0)    rotate(2deg); }
  to   { opacity: 0; transform: translateX(20px) rotate(2deg); }
}
.hero-phone-wrap.was-full-scale .float-card-left {
  animation: card-exit-l 0.45s cubic-bezier(0.4, 0, 1, 1) both;
}
.hero-phone-wrap.was-full-scale .float-card-right {
  animation: card-exit-r 0.45s cubic-bezier(0.4, 0, 1, 1) 0.08s both;
}

/* ─── SECTION LABELS ─── */
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 17px; color: var(--ink-soft);
  line-height: 1.65; max-width: 560px;
}

/* ─── MARQUEE ─── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 18px 0;
  background: var(--surface);
  white-space: nowrap;
  user-select: none;
}
.marquee-track {
  display: inline-flex; gap: 0;
  animation: marquee 28s linear infinite;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 32px;
  font-size: 13px; font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.marquee-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── FEATURES (ALTERNATING PANELS) ─── */
#features {
  padding: 140px 0;
}
.features-header {
  text-align: center;
  padding: 0 48px;
  margin-bottom: 100px;
}

.feature-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 100px 120px;
  position: relative;
}
.feature-panel:nth-child(even) { direction: rtl; }
.feature-panel:nth-child(even) > * { direction: ltr; }

.feature-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 70% 50%, var(--glow-color, transparent), transparent);
  pointer-events: none;
  opacity: 0.6;
}
.feature-panel-1 { --glow-color: oklch(0.72 0.14 55 / 0.05); }
.feature-panel-2 { --glow-color: oklch(0.72 0.08 150 / 0.06); background: var(--surface); }
.feature-panel-3 { --glow-color: oklch(0.72 0.08 230 / 0.06); }
.feature-panel-4 { --glow-color: oklch(0.72 0.09 300 / 0.05); background: var(--surface); }

.feature-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: 14px;
}
.feature-title {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 18px;
}
.feature-title em { font-style: italic; }
.feature-body {
  font-size: 16px; color: var(--ink-soft);
  line-height: 1.7; margin-bottom: 28px;
}
.feature-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--ink-soft);
}

.feature-visual {
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 32px 64px oklch(0.22 0.015 60 / 0.12),
    0 0 0 1px var(--border-soft);
  background: var(--surface);
}

/* ─── HOW IT WORKS ─── */
#how {
  padding: 0px 48px 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#how::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 999px;
  background: radial-gradient(circle, oklch(0.72 0.14 55 / 0.06) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1100px;
  margin: 80px auto 0;
  background: var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 64px oklch(0.22 0.015 60 / 0.08);
}
.step {
  background: var(--surface);
  padding: 48px 40px;
  text-align: left;
  transition: background 0.3s;
}
.step:hover { background: var(--bg); }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 52px;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 24px;
}
.step-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.step h3 {
  font-family: var(--serif);
  font-size: 22px; font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.step p {
  font-size: 14.5px; color: var(--ink-soft);
  line-height: 1.65;
}

/* ─── STATS ROW ─── */
#stats {
  padding: 100px 48px;
  background: var(--ink);
  color: var(--surface);
  text-align: center;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 900px; margin: 0 auto;
}
.stat {
  padding: 40px 32px;
  border-right: 1px solid oklch(1 0 0 / 0.08);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--surface);
  margin-bottom: 8px;
}
.stat-num em { font-style: normal; color: var(--accent); }
.stat-label {
  font-size: 13px; color: oklch(1 0 0 / 0.55);
  font-weight: 500; line-height: 1.4;
}

/* ─── TESTIMONIALS ─── */
#testimonials {
  padding: 140px 48px;
  background: var(--bg);
}
.testimonials-header {
  text-align: center; margin-bottom: 80px;
}
.testimonials-header .section-sub { margin: 0 auto; }

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px; margin: 0 auto;
}
.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px oklch(0.22 0.015 60 / 0.1);
}
.quote-stars {
  display: flex; gap: 3px; margin-bottom: 18px;
}
.star {
  width: 14px; height: 14px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.quote-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px; line-height: 1.65;
  color: var(--ink);
  flex: 1;
  margin-bottom: 24px;
}
.quote-author { display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--ink);
  flex-shrink: 0;
}
.quote-name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.quote-role { font-size: 12px; color: var(--ink-mute); margin-top: 1px; }

/* ─── ABOUT ─── */
#about {
  padding: 140px 48px;
  background: var(--surface);
}
.about-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.about-quote-mark {
  font-family: var(--serif);
  font-size: 120px;
  color: var(--accent);
  opacity: 0.15;
  line-height: 0.8;
  position: absolute;
  top: -20px;
  left: -20px;
  pointer-events: none;
  user-select: none;
}
.about-body {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 32px;
  position: relative;
  padding-left: 20px;
}
.about-sig {
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: var(--accent-dark);
  flex-shrink: 0;
}

/* ─── FAQ ─── */
#faq {
  padding: 140px 48px;
  text-align: center;
  background: var(--bg);
}
.faq-list {
  max-width: 720px;
  margin: 60px auto 0;
  text-align: left;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  text-align: left;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--accent-dark); }
.faq-chevron {
  flex-shrink: 0;
  color: var(--ink-mute);
  transition: transform 0.2s;
}
.faq-chevron.open { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  transition: max-height 0.35s ease, padding-bottom 0.35s ease;
}
.faq-a.open {
  max-height: 300px;
  padding-bottom: 22px;
}

/* ─── CTA ─── */
#cta {
  padding: 140px 48px;
  text-align: center;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, oklch(0.72 0.14 55 / 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-bean {
  margin: 0 auto 32px;
  animation: bean-bob 4s ease-in-out infinite;
}
@keyframes bean-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(42px, 5.5vw, 80px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto; margin-right: auto;
}
.cta-title em { font-style: italic; }
.cta-sub {
  font-size: 17px; color: var(--ink-soft);
  line-height: 1.6; max-width: 480px;
  margin: 0 auto 48px;
}
.waitlist-form {
  display: flex; gap: 10px;
  max-width: 460px; margin: 0 auto 16px;
}
.waitlist-input {
  flex: 1;
  padding: 15px 22px;
  font-size: 15px; font-family: var(--sans);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px; outline: none;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.waitlist-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.72 0.14 55 / 0.15);
}
.waitlist-input::placeholder { color: var(--ink-mute); }
.waitlist-note { font-size: 12.5px; color: var(--ink-mute); }

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  color: var(--surface);
  padding: 72px 48px 48px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid oklch(1 0 0 / 0.1);
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 20px; font-weight: 700;
  margin-bottom: 14px;
}
.footer-tagline {
  font-size: 13.5px;
  color: oklch(1 0 0 / 0.5);
  line-height: 1.6;
  max-width: 260px;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: oklch(1 0 0 / 0.4);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13.5px; color: oklch(1 0 0 / 0.65);
  text-decoration: none; margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-col a:hover { color: oklch(1 0 0 / 1); }
.footer-bottom {
  padding-top: 32px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: oklch(1 0 0 / 0.35);
}
.footer-heart { color: var(--accent); }

/* ─── UTILS ─── */
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  #nav {
    top: 11px;
    width: calc(100vw - 22px);
    height: 50px;
    padding: 0 16px 0 17px;
  }
  .nav-links { display: none; }
  #phone-scene-sticky { clip-path: inset(0); }
  #hero { padding: 36px 22px 64px; }
  .hero-h1 { font-size: clamp(40px, 9.75vw, 62px); line-height: 1.04; }
  .hero-sub { max-width: min(520px, 92vw); margin-bottom: 32px; }
  .btn-primary { padding: 16px 34px; font-size: 16px; }
  .hero-actions .btn-primary { padding: 14px 28px; font-size: 14px; }
  .hero-see-action { margin-top: 14px; font-size: 13px; margin-bottom: 56px; }
  .float-card { display: none !important; }
  .phone-device { filter: none; }
  .feature-panel { grid-template-columns: 1fr; gap: 40px; padding: 80px 32px; }
  .feature-panel:nth-child(even) { direction: ltr; }
  .timer-pill { font-size: 10px !important; padding: 5px 10px !important; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid oklch(1 0 0 / 0.08); }
  .stat:last-child { border-bottom: none; }
  .quotes-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .waitlist-form { flex-direction: column; align-items: center; }
  #about, #faq, #how, #testimonials, #cta, #stats { padding: 100px 24px; }
  .features-header { padding: 0 24px; }
}


/* ─── Ordo — Sketch Aesthetic ─────────────────────────────────────────────── */

/* Hero badge — hand-drawn dashed oval */
.hero-badge {
  background: transparent !important;
  border: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 200 40'><path d='M20 4 C8 4 4 12 4 20 C4 28 8 36 20 36 L180 36 C192 36 196 28 196 20 C196 12 192 4 180 4 Z' fill='%23fcfaf6' stroke='%23332a22' stroke-width='1.4' stroke-linejoin='round' stroke-dasharray='0.8 1.4'/></svg>") !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  border-radius: 0 !important;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 13px; color: var(--ink);
  padding: 8px 18px;
  transform: rotate(-1.4deg);
  white-space: nowrap;
  box-shadow: none !important;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 30%, oklch(0.72 0.14 55 / 0) 100%);
  box-shadow: 0 0 6px 2px oklch(0.72 0.14 55 / 0.35);
  animation: badge-dot-pulse 2.2s ease-in-out infinite;
}
@keyframes badge-dot-pulse {
  0%, 100% { transform: scale(1);   box-shadow: 0 0 6px 2px oklch(0.72 0.14 55 / 0.35); }
  50%       { transform: scale(1.3); box-shadow: 0 0 10px 4px oklch(0.72 0.14 55 / 0.18); }
}

/* Nav CTA — hand-drawn amber oval */
.nav-cta {
  background: transparent !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 200 50'><path d='M22 4 C8 4 4 14 4 25 C4 36 8 46 22 46 L178 46 C192 46 196 36 196 25 C196 14 192 4 178 4 Z' fill='%23ffe1ad' stroke='%23332a22' stroke-width='1.6' stroke-linejoin='round'/></svg>") !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  color: var(--ink) !important;
  border-radius: 0 !important;
  padding: 11px 24px;
  font-family: var(--serif); font-weight: 700;
  font-size: 14px;
  box-shadow: none !important;
  white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-cta:hover {
  transform: scale(1.03) !important;
  box-shadow: none !important;
  filter: drop-shadow(0 5px 12px oklch(0.22 0.015 60 / 0.25));
}

/* Primary button — hand-drawn filled oval */
.btn-primary {
  background: transparent !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 280 60'><path d='M28 5 C12 5 5 18 5 30 C5 42 12 55 28 55 L252 55 C268 55 275 42 275 30 C275 18 268 5 252 5 Z' fill='%23332a22' stroke='%23332a22' stroke-width='2' stroke-linejoin='round'/><path d='M30 9 C16 9 10 21 10 30 C10 39 16 51 30 51 L250 51' fill='none' stroke='%23ffffff' stroke-width='0.8' stroke-linecap='round' stroke-dasharray='2 4' opacity='0.35'/></svg>") !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  color: oklch(0.98 0.005 80) !important;
  border-radius: 0 !important;
  font-family: var(--serif); font-weight: 700;
  font-size: 17px;
  padding: 16px 30px;
  box-shadow: none !important;
  white-space: nowrap;
  width: fit-content;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-primary:hover {
  transform: scale(1.03) !important;
  box-shadow: none !important;
  filter: drop-shadow(0 6px 14px oklch(0.22 0.015 60 / 0.28));
}

/* "See it in action" link — sketch italic with wavy underline */
.hero-see-action {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 16px; color: var(--accent-dark);
  position: relative;
  transform: rotate(0.7deg);
}
.hero-see-action::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -8px; height: 6px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 200 6' fill='none' stroke='%23c08153' stroke-width='1.6' stroke-linecap='round'><path d='M2 3 Q25 0.5 50 3 T100 3 T150 3 T198 3'/></svg>") center/100% 100% no-repeat;
}
.hero-see-action:hover { transform: rotate(0deg) translateY(-1px); }
.btn-arrow { color: var(--accent); }

/* Hero h1 em — wavy hand-drawn underline instead of highlight */
.hero-h1 em {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 8' fill='none' stroke='%23c08153' stroke-width='2.2' stroke-linecap='round'><path d='M2 4 Q15 1 30 4 T60 4 T98 4'/></svg>") 0 100% / 100% 8px no-repeat;
  background-color: transparent !important;
  padding-bottom: 4px;
}

/* Eyebrow — italic serif with wavy ornament */
.eyebrow {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 14px; letter-spacing: 0;
  text-transform: none; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 8px; flex-shrink: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 8' fill='none' stroke='%23a08b6f' stroke-width='1.2' stroke-linecap='round'><path d='M2 4 Q7 1 14 4 T26 4'/></svg>") center/contain no-repeat;
}

/* Feature label — italic serif */
.feature-label {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 14px; letter-spacing: 0;
  text-transform: none; color: var(--accent-dark);
}

/* Chips — hand-drawn ovals with varied fill colors */
.chip {
  background: transparent !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 160 32'><path d='M16 3 C5 3 3 10 3 16 C3 22 5 29 16 29 L144 29 C155 29 157 22 157 16 C157 10 155 3 144 3 Z' fill='%23fcfaf6' stroke='%23332a22' stroke-width='1.2' stroke-linejoin='round'/></svg>") !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 6px 14px;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 13px; color: var(--ink) !important;
  white-space: nowrap;
}
.feature-chips .chip:nth-child(2) {
  transform: rotate(-1.2deg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 160 32'><path d='M14 3 C4 3 3 11 3 16 C3 21 4 29 14 29 L146 29 C156 29 157 21 157 16 C157 11 156 3 146 3 Z' fill='%23dbecd9' stroke='%23332a22' stroke-width='1.2' stroke-linejoin='round'/></svg>") !important;
}
.feature-chips .chip:nth-child(3) {
  transform: rotate(0.8deg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 160 32'><path d='M16 4 C5 4 3 11 3 16 C3 22 5 28 16 28 L144 28 C155 28 157 22 157 16 C157 11 155 4 144 4 Z' fill='%23d8e6f4' stroke='%23332a22' stroke-width='1.2' stroke-linejoin='round'/></svg>") !important;
}
.feature-chips .chip:nth-child(4) {
  transform: rotate(-0.4deg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 160 32'><path d='M16 3 C5 3 3 11 3 16 C3 21 5 29 16 29 L144 29 C155 29 157 21 157 16 C157 11 155 3 144 3 Z' fill='%23ffe1ad' stroke='%23332a22' stroke-width='1.2' stroke-linejoin='round'/></svg>") !important;
}

/* Waitlist input — dashed border */
.waitlist-input {
  border-radius: 20px;
  border: 1.5px dashed oklch(0.55 0.04 70);
}
.waitlist-input:focus {
  border-color: var(--accent-dark);
  box-shadow: none;
}
