:root {
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-muted: #f7f8fb;
  --color-border: #e6e8ec;
  --color-accent-mint: #e63b42;
  --color-accent-blue: #b5121b;
  --color-text-strong: #0f172a;
  --color-text: #1f2937;
  --color-text-soft: rgba(31, 41, 55, 0.72);
  --color-error: #d7263d;
  --radius-md: 0.9rem;
  --radius-lg: 1.4rem;
  --radius-full: 999px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 12px 28px rgba(15, 23, 42, 0.08);
  --shadow-header: 0 10px 24px rgba(15, 23, 42, 0.08);
  --max-width: 72rem;
  --nav-height: 4.5rem;
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font-stack);
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 55%, #ffffff 100%);
  color: var(--color-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-accent-blue); text-decoration: none; }

a:hover, a:focus-visible { text-decoration: underline; }

button { font-family: inherit; }

h1, h2, h3, h4 { margin: 0 0 0.4rem; color: var(--color-text-strong); font-weight: 650; }

p { margin: 0 0 0.7rem; line-height: 1.6; color: var(--color-text); }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

li { margin-bottom: 0.4rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  z-index: 30;
  transform: translateY(-150%);
  transition: transform 0.18s ease-out;
}

.skip-link:focus { transform: translateY(0); }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }

.section { padding: 4.25rem 0; }

.section + .section { border-top: 1px solid var(--color-border); }

.section-header { max-width: 40rem; margin: 0 auto 2.3rem; text-align: center; }

.section-header p { color: var(--color-text-soft); }

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  transition: box-shadow 0.2s ease-out, background 0.2s ease-out;
}

.site-header--scrolled { box-shadow: var(--shadow-header); background: rgba(255, 255, 255, 0.98); }

.header-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--color-text-strong); line-height: 1.1; }

.logo__primary { font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase; }

.logo__secondary { font-size: 0.78rem; letter-spacing: 0.13em; color: rgba(181, 18, 27, 0.85); text-transform: uppercase; }

.site-nav { display: flex; align-items: center; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 1.35rem; padding: 0; margin: 0; }

.nav-links a { color: var(--color-text); font-size: 0.9rem; }

.nav-links__cta {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: linear-gradient(135deg, #ffffff, #f3f4f6);
  color: var(--color-text-strong);
}

.nav-links__cta:hover, .nav-links__cta:focus-visible { text-decoration: none; border-color: rgba(181, 18, 27, 0.6); }

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.9);
  position: relative;
  cursor: pointer;
}

.nav-toggle__bar {
  position: absolute;
  width: 1.2rem;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
  transition: transform 0.18s ease-out;
}

.nav-toggle__bar:first-child { transform: translateY(-3px); }

.nav-toggle__bar:last-child { transform: translateY(3px); }

.nav-open .nav-toggle__bar:first-child { transform: translateY(0) rotate(45deg); }

.nav-open .nav-toggle__bar:last-child { transform: translateY(0) rotate(-45deg); }

/* Hero */

.hero { padding: 3.5rem 0; }

.hero-grid { display: grid; gap: 2.2rem; align-items: center; }

.hero-content { max-width: 36rem; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.75rem; color: var(--color-accent-mint); margin-bottom: 0.6rem; }

.hero h1 { font-size: 2rem; line-height: 1.15; }

.hero-one-liner { font-size: 1.1rem; color: var(--color-text-strong); margin-bottom: 0.6rem; }

.hero-subtext { color: var(--color-text-soft); margin-bottom: 1.2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1rem; }

.hero-privacy-note { font-size: 0.86rem; color: var(--color-text-soft); max-width: 32rem; }

.hero-privacy-note a { color: var(--color-accent-blue); }

.hero-media { justify-self: center; }

.hero-owl-wrap {
  width: min(15rem, 55vw);
  aspect-ratio: 4 / 5;
  border-radius: 1.8rem;
  padding: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
  box-shadow: var(--shadow-soft);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-owl-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--color-border);
}

.hero-owl { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 34px rgba(15, 23, 42, 0.18)); animation: owlFloat 8s ease-in-out infinite; }

/* Buttons & focus */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.72rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-mint));
  box-shadow: 0 18px 40px rgba(181, 18, 27, 0.26);
}

.btn-primary:hover, .btn-primary:focus-visible { filter: brightness(1.05); text-decoration: none; }

.btn-ghost {
  background: rgba(181, 18, 27, 0.08);
  color: var(--color-text);
  border-color: rgba(181, 18, 27, 0.3);
}

.btn-ghost:hover, .btn-ghost:focus-visible { border-color: rgba(181, 18, 27, 0.65); color: var(--color-accent-blue); text-decoration: none; }

.btn-full { width: 100%; }

:focus-visible { outline: 2px solid var(--color-accent-blue); outline-offset: 3px; }

/* How it works */

.section--how { background: linear-gradient(180deg, #ffffff 0%, var(--color-surface-muted) 100%); }

.step-grid { display: grid; gap: 1.25rem; list-style: none; padding: 0; margin: 0; }

.step-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem 1.1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.step-card__badge {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-accent-blue);
}

.step-card h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }

.step-card p { margin: 0; font-size: 0.93rem; color: var(--color-text-soft); }

/* Benefits */

.section--benefits { background: #ffffff; }

.card-grid { display: grid; gap: 1.25rem; }

.card {
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.25rem 1.2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.card h3 { font-size: 1.05rem; }

.card p { margin: 0; color: var(--color-text-soft); }

/* Social proof */

.section--social { background: var(--color-surface-muted); }

.testimonial-grid { display: grid; gap: 1.2rem; }

.testimonial-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.testimonial-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius-full);
  background: radial-gradient(circle at top, var(--color-accent-mint), var(--color-accent-blue));
  color: #fff;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-quote { margin-bottom: 0.3rem; font-size: 0.94rem; }

.testimonial-meta { margin: 0; font-size: 0.8rem; color: var(--color-text-soft); }

/* FAQ */

.section--faq { background: #ffffff; }

.faq-list { margin: 0; padding: 0; }

.faq-item { border-top: 1px solid var(--color-border); padding: 1.1rem 0; }

.faq-item:last-child { border-bottom: 1px solid var(--color-border); }

.faq-item dt { font-weight: 600; }

.faq-item dd { margin: 0.35rem 0 0; color: var(--color-text-soft); }

/* Waitlist */

.section--waitlist { background: var(--color-surface-muted); box-shadow: var(--shadow-soft); }

.waitlist-form {
  max-width: 32rem;
  margin: 0 auto;
  padding: 1.7rem 1.5rem 1.5rem;
  border-radius: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.form-grid { display: grid; gap: 0.9rem; margin-bottom: 1.25rem; }
.form-grid.form-grid--stack { grid-template-columns: 1fr; }

.field { display: flex; flex-direction: column; gap: 0.3rem; }

.field label { font-size: 0.86rem; color: var(--color-text); }

.field input,
.field textarea {
  width: 100%;
  padding: 0.58rem 0.7rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background: #f9fafb;
  color: var(--color-text-strong);
  font-size: 0.9rem;
  font-family: inherit;
}

.field textarea { min-height: 0; line-height: 1.4; resize: none; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(31, 41, 55, 0.45); }

.field-help { margin: 0; font-size: 0.78rem; color: var(--color-text-soft); }

.field-error { min-height: 1rem; margin: 0; font-size: 0.78rem; color: var(--color-error); }

.waitlist-form.form--has-error input[name="email"] { border-color: rgba(209, 38, 61, 0.9); background: rgba(209, 38, 61, 0.08); }

.form-alert {
  display: none;
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  font-size: 0.9rem;
}

.form-alert--success {
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  color: #166534;
  box-shadow: 0 10px 25px rgba(22, 101, 52, 0.08);
}

.form-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  box-shadow: 0 10px 25px rgba(153, 27, 27, 0.08);
}

.waitlist-form.form--success [data-form-success],
.waitlist-form.form--error [data-form-error] {
  display: block;
}

.waitlist-disclaimer { max-width: 36rem; margin: 1.4rem auto 0; font-size: 0.82rem; color: var(--color-text-soft); }

/* Page layouts */

.page-main { padding-bottom: 4.5rem; }

.page-hero { padding: 3.3rem 0 1.8rem; }

.page-intro { max-width: 40rem; }

.page-meta { font-size: 0.82rem; color: var(--color-text-soft); }

.page-section { padding: 1.5rem 0 4.25rem; }

.page-content { max-width: 46rem; }

.page-content h2 { font-size: 1.2rem; margin-top: 1.5rem; }

.page-content h3 { font-size: 1rem; margin-top: 1rem; }

.page-actions { margin-top: 1.6rem; }

/* Download section */

.download-section { padding-top: 0.6rem; }

.download-card {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(243, 244, 246, 0.8));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
}

.download-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.download-text h2 { margin-bottom: 0.6rem; }

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.download-note {
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

.phone-gallery {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.phone-mockup {
  position: relative;
  border-radius: 2.2rem;
  padding: 0.65rem;
  background: linear-gradient(180deg, #0f172a, #0b1220);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
  transform: translateZ(0);
}

.phone-mockup::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-mockup::after {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 0.38rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-screen {
  position: relative;
  border-radius: 1.7rem;
  overflow: hidden;
  background: #0b1220;
  aspect-ratio: 9 / 19.5;
}

.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

.phone-mockup:nth-child(2) { transform: translateY(-0.5rem); }

.phone-mockup:nth-child(odd) { transform: rotate(-1deg); }

.phone-mockup:nth-child(3) { transform: rotate(1.2deg); }

/* Footer */

.site-footer { border-top: 1px solid var(--color-border); padding: 1.35rem 0 1.6rem; background: #ffffff; }

.footer-inner { display: flex; flex-direction: column; gap: 0.4rem; align-items: flex-start; }

.footer-copy { font-size: 0.82rem; color: var(--color-text-soft); }

.footer-nav { display: flex; gap: 1rem; flex-wrap: wrap; }

.footer-nav a { font-size: 0.82rem; color: var(--color-text); }

.footer-nav a[aria-current="page"] { color: var(--color-text-strong); }

/* Responsive */

@media (min-width: 640px) {
  .hero { padding-top: 4.2rem; }
  .hero h1 { font-size: 2.3rem; }
  .hero-one-liner { font-size: 1.2rem; }
  .section { padding: 5rem 0; }
  .waitlist-form { padding-inline: 2rem; }
}

@media (min-width: 768px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3.1rem; }
  .hero-owl-wrap { width: min(18rem, 38vw); }
  .step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1.1fr 1.4fr; gap: 1rem; }
  .form-grid.form-grid--stack { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .hero { padding-top: 4.8rem; }
  .hero h1 { font-size: 2.6rem; }
  .section-header h2 { font-size: 1.9rem; }
  .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute;
    inset-inline: 1.25rem;
    top: calc(var(--nav-height) + 0.75rem);
    padding: 0.9rem 1rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    flex-direction: column;
    gap: 0.7rem;
    transform-origin: top;
    transform: scaleY(0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease-out, transform 0.16s ease-out;
  }
  .nav-open .nav-links { opacity: 1; pointer-events: auto; transform: scaleY(1); }
  .nav-links__cta { width: 100%; text-align: center; }
}

/* Animation */

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

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
