/* ============ Rawen landing — design tokens ============ */
:root {
  --navy: #22304A;
  --orange: #F2A03D;
  --bg: #FAF8F4;
  --text: #1A2233;
  --text-2: #5C6675;
  --green: #3E9B6E;
  --card: #FFFFFF;
  --warm: #FBF3E6;
  --green-tint: #EDF4EF;
  --on-navy: #C9D0DC;
  --on-navy-muted: #8B96A8;
  --border: #E5E0D6;
  --border-warm: #E5D9C3;
  --heading: 'Baloo 2', sans-serif;
  --body: 'Nunito', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 85% -5%, rgba(242, 160, 61, 0.06), transparent 60%),
    linear-gradient(180deg, #FAF8F4 0%, #F8F4EC 100%);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(242, 160, 61, 0.3); }

h1, h2, h3 { font-family: var(--heading); color: var(--navy); }

h1, h2 { text-wrap: balance; }

h2 {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 40px;
  text-align: center;
  line-height: 1.15;
}

a { color: var(--navy); }
a:hover { color: var(--orange); }

:focus-visible {
  outline: 3px solid rgba(242, 160, 61, 0.7);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--navy);
  text-decoration: none;
  font-family: var(--body);
  font-weight: 800;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    0 2px 6px rgba(242, 160, 61, 0.25),
    0 8px 22px rgba(242, 160, 61, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), filter 0.2s;
}
.btn:hover {
  color: var(--navy);
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 4px 10px rgba(242, 160, 61, 0.3),
    0 14px 32px rgba(242, 160, 61, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn:active { transform: translateY(0); transition-duration: 0.08s; }
.btn-nav { font-size: 15px; padding: 10px 22px; }
.btn-hero { font-size: 18px; padding: 15px 34px; }
.btn-section { font-size: 17px; padding: 13px 30px; }
.btn-submit { font-size: 18px; padding: 16px; margin-top: 4px; width: 100%; }

/* ============ Nav (frosted glass, sticky) ============ */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  border-bottom: 1px solid rgba(34, 48, 74, 0.06);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .nav-wrap {
    background: rgba(250, 248, 244, 0.72);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    backdrop-filter: blur(16px) saturate(1.5);
  }
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
}
.lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.lockup-text { display: flex; flex-direction: column; }
.wordmark {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  color: var(--navy);
}
.subtitle {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-2);
  font-weight: 700;
}

/* The lockup + non-wrapping CTA slightly exceed 360px; tighten both on narrow phones */
@media (max-width: 400px) {
  .nav { padding: 12px 16px; gap: 10px; }
  .btn-nav { font-size: 14px; padding: 9px 16px; }
  .subtitle { letter-spacing: 1.5px; }
}

/* ============ Hero ============ */
/* All four rounded panels (hero, streak, mirror, waitlist) share one width */
.hero, .streak-section, .mirror, .waitlist {
  width: min(1140px, calc(100% - 16px));
}

.hero {
  position: relative;
  background: var(--navy);
  border-radius: 28px;
  margin: 12px auto 0;
  padding: 64px 24px 72px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(34, 48, 74, 0.28);
}
/* soft ambient glows inside the navy panel */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 640px;
  height: 640px;
  top: -320px;
  right: -180px;
  background: radial-gradient(circle, rgba(242, 160, 61, 0.16), transparent 65%);
}
.hero::after {
  width: 560px;
  height: 560px;
  bottom: -300px;
  left: -160px;
  background: radial-gradient(circle, rgba(90, 120, 190, 0.22), transparent 65%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  justify-content: center;
}
.hero-copy { flex: 1 1 420px; min-width: 300px; animation: rise-in 0.9s var(--ease-out) both; }
.hero h1 {
  font-weight: 800;
  font-size: clamp(38px, 5.5vw, 56px);
  line-height: 1.08;
  color: var(--bg);
  margin: 0 0 20px;
}
.hero-sub { font-size: 18px; color: var(--on-navy); margin: 0 0 18px; max-width: 46ch; }
/* the concrete outcome — declared vs confirmed is the product */
.hero-truth {
  font-size: 16px;
  color: var(--on-navy);
  background: rgba(250, 248, 244, 0.07);
  border: 1px solid rgba(250, 248, 244, 0.13);
  border-left: 3px solid var(--orange);
  border-radius: 14px;
  padding: 12px 18px;
  margin: 0 0 26px;
  max-width: 48ch;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-truth strong { color: var(--orange); }
.hero-note { font-size: 14px; color: var(--on-navy-muted); margin: 14px 0 26px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  background: rgba(250, 248, 244, 0.08);
  border: 1px solid rgba(250, 248, 244, 0.14);
  color: var(--on-navy);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.25s, border-color 0.25s;
}
.badge:hover { background: rgba(250, 248, 244, 0.14); border-color: rgba(250, 248, 244, 0.24); }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* Phone mockup */
.hero-visual {
  flex: 0 1 340px;
  min-width: 280px;
  display: flex;
  justify-content: center;
  animation: rise-in 0.9s 0.15s var(--ease-out) both;
}
.phone {
  width: 300px;
  background: var(--text);
  border-radius: 38px;
  padding: 10px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    0 60px 120px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotate(1.5deg);
  animation: phone-float 7s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: rotate(1.5deg) translateY(0); }
  50% { transform: rotate(1.5deg) translateY(-10px); }
}
.phone-screen {
  position: relative;
  background: var(--card);
  border-radius: 30px;
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}
/* subtle glass glare across the screen */
.phone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 58%);
  transform: translateX(-120%);
  animation: glare 7s ease-in-out 1.2s infinite;
  pointer-events: none;
}
@keyframes glare {
  0%, 24%, 100% { transform: translateX(-120%); }
  12% { transform: translateX(120%); }
}
.phone-title {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 26px;
  color: var(--navy);
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 7px; }
.stat-label { font-size: 14px; font-weight: 800; color: var(--navy); }
.stat-planned { font-weight: 700; color: var(--text-2); }
.stat-real { color: var(--green); }
.bar { height: 14px; border-radius: 999px; }
.bar-planned { background: #C6CBD4; }
.bar-track { background: #EDEBE5; overflow: hidden; }
.bar-fill {
  height: 100%;
  width: 84%;
  background: linear-gradient(90deg, #4CAF7F, var(--green));
  border-radius: 999px;
  animation: fill-grow 1.4s 0.5s var(--ease-out) both;
}
@keyframes fill-grow {
  from { width: 0; }
  to { width: 84%; }
}
.ticks {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #9AA3B0;
  font-weight: 700;
}
.streak-card {
  background: var(--warm);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.streak-flame { font-size: 26px; }
.streak-count {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.2;
}
.streak-unit { font-size: 14px; }
.private-row {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  background: #F3F1EC;
  border-radius: 12px;
  padding: 9px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
}
.private-icon { font-size: 13px; }

/* ============ Problem ============ */
.problem {
  max-width: 720px;
  margin: 0 auto;
  padding: 68px 24px 56px;
  text-align: center;
}
.problem h2 { margin-bottom: 20px; }
.problem-lead { font-size: 19px; color: var(--text); margin: 0 0 16px; text-wrap: pretty; }
.problem-follow { font-size: 19px; color: var(--text-2); margin: 0; text-wrap: pretty; }

/* ============ How it works ============ */
.how { max-width: 1100px; margin: 0 auto; padding: 0 24px 56px; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid rgba(34, 48, 74, 0.05);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow:
    0 1px 2px rgba(34, 48, 74, 0.04),
    0 6px 24px rgba(34, 48, 74, 0.06);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 2px 4px rgba(34, 48, 74, 0.05),
    0 18px 44px rgba(34, 48, 74, 0.12);
}
.card h3 { font-weight: 700; font-size: 22px; margin: 0 0 10px; }
.card p { font-size: 16px; color: var(--text-2); margin: 0; }
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--bg);
  font-family: var(--heading);
  font-weight: 800;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(34, 48, 74, 0.25);
}
.band-photo {
  margin-top: 24px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 6px 24px rgba(34, 48, 74, 0.08),
    0 24px 56px rgba(34, 48, 74, 0.12);
}
.band-photo img {
  display: block;
  width: 100%;
  height: min(52vw, 420px);
  object-fit: cover;
  transition: transform 6s var(--ease-out);
}
.band-photo:hover img { transform: scale(1.03); }

/* ============ Streak ============ */
.streak-section { margin: 0 auto; padding: 0 0 64px; }
.streak-panel {
  position: relative;
  background: linear-gradient(160deg, #FCF6EB 0%, var(--warm) 55%, #F9EDD8 100%);
  border: 1px solid rgba(242, 160, 61, 0.18);
  border-radius: 28px;
  padding: 56px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
  overflow: hidden;
}
.streak-panel::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  top: -210px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 160, 61, 0.14), transparent 65%);
  pointer-events: none;
}
.streak-hero { flex: 0 0 auto; text-align: center; }
.flame-big {
  font-size: 88px;
  line-height: 1;
  filter: drop-shadow(0 12px 28px rgba(242, 160, 61, 0.45));
}
.flame-anim {
  display: inline-block;
  animation: flicker 2.4s ease-in-out infinite;
  transform-origin: 50% 90%;
}
@keyframes flicker {
  0%, 100% { transform: scale(1) rotate(-2deg); }
  30% { transform: scale(1.08) rotate(2deg); }
  60% { transform: scale(0.96) rotate(-1deg); }
}
.streak-days {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  margin-top: 8px;
}
.streak-copy { flex: 1 1 400px; min-width: 280px; max-width: 560px; position: relative; }
.streak-copy h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 0 0 16px;
  text-align: left;
}
.streak-copy p { font-size: 17px; color: var(--text); margin: 0 0 12px; text-wrap: pretty; }
.streak-strong { font-weight: 800; color: var(--navy); margin-bottom: 18px !important; }
.milestones { display: flex; gap: 8px; flex-wrap: wrap; }
.milestone {
  color: var(--navy);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease-out);
}
.milestone:hover { transform: translateY(-2px); }
.m-7 { background: var(--orange); box-shadow: 0 6px 16px rgba(242, 160, 61, 0.35); }
.m-21 { background: rgba(242, 160, 61, 0.35); }
.m-100 { background: rgba(242, 160, 61, 0.18); }

/* ============ Mirror, not monitor ============ */
.mirror {
  position: relative;
  background: var(--navy);
  border-radius: 28px;
  margin: 0 auto 64px;
  padding: 64px 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(34, 48, 74, 0.25);
}
.mirror::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  top: -380px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 120, 190, 0.2), transparent 65%);
  pointer-events: none;
}
.mirror-inner { position: relative; max-width: 760px; margin: 0 auto; }
.mirror h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--bg);
  margin: 0 0 14px;
}
.mirror-lead { font-size: 19px; color: var(--on-navy); text-align: center; margin: 0 0 36px; }
.mirror-lead strong { color: var(--orange); }
.mirror-bullets { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.mirror-bullet {
  background: rgba(250, 248, 244, 0.07);
  border: 1px solid rgba(250, 248, 244, 0.12);
  border-radius: 18px;
  padding: 18px 22px;
  font-size: 16px;
  color: #E5E9F0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out);
}
.mirror-bullet:hover {
  background: rgba(250, 248, 244, 0.11);
  border-color: rgba(250, 248, 244, 0.2);
  transform: translateX(4px);
}
.mirror-close { font-size: 17px; color: var(--on-navy); text-align: center; margin: 0 0 28px; text-wrap: pretty; }
.mirror-close strong { color: var(--bg); }
.parents-note {
  background: var(--bg);
  border-radius: 18px;
  padding: 20px 24px;
  font-size: 15px;
  color: var(--text-2);
  font-style: italic;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ============ Sensors ============ */
.sensors { max-width: 1100px; margin: 0 auto; padding: 0 24px 56px; }
.sensors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.sensor-card { padding: 30px 26px; }
.sensor-card h3 { font-size: 20px; margin-bottom: 8px; }
.sensor-card p { font-size: 15px; }
.not-card {
  background: var(--green-tint);
  border-color: rgba(62, 155, 110, 0.2);
  box-shadow: none;
}
.not-card h3 { color: var(--green); }
.not-card p { color: var(--text); }

/* ============ Specs strip ============ */
.specs {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.spec-chip {
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s;
}
.spec-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 160, 61, 0.6);
  box-shadow: 0 8px 20px rgba(34, 48, 74, 0.08);
}

/* ============ FAQ ============ */
.faq { max-width: 760px; margin: 0 auto; padding: 0 24px 64px; }
.faq h2 { margin-bottom: 32px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--card);
  border: 1px solid rgba(34, 48, 74, 0.05);
  border-radius: 18px;
  padding: 6px 22px;
  box-shadow: 0 4px 16px rgba(34, 48, 74, 0.05);
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.faq details:hover { box-shadow: 0 8px 28px rgba(34, 48, 74, 0.1); }
.faq details[open] { border-color: rgba(242, 160, 61, 0.35); }
.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 17px;
  color: var(--navy);
  padding: 14px 28px 14px 0;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
/* chevron */
.faq summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2.5px solid var(--orange);
  border-bottom: 2.5px solid var(--orange);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { font-size: 16px; color: var(--text-2); margin: 0 0 16px; }
.faq details[open] p { animation: faq-open 0.35s var(--ease-out); }
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ============ Waitlist ============ */
.waitlist {
  position: relative;
  margin: 0 auto 64px;
  background: linear-gradient(160deg, #FCF6EB 0%, var(--warm) 55%, #F9EDD8 100%);
  border: 1px solid rgba(242, 160, 61, 0.18);
  border-radius: 28px;
  padding: 64px 24px;
  overflow: hidden;
}
.waitlist::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  top: -260px;
  left: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 160, 61, 0.12), transparent 65%);
  pointer-events: none;
}
.waitlist-inner { position: relative; max-width: 520px; margin: 0 auto; text-align: center; }
.waitlist h2 { font-size: clamp(30px, 4.5vw, 44px); margin: 0 0 14px; }
.waitlist-sub { font-size: 17px; color: var(--text-2); margin: 0 0 32px; text-wrap: pretty; }
.waitlist form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.waitlist input[type="text"] {
  font-family: var(--body);
  font-size: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid var(--border-warm);
  background: var(--card);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.waitlist input[type="text"]:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 160, 61, 0.18);
}
.waitlist input::placeholder { color: #9AA3B0; }
.role-row { display: flex; gap: 12px; flex-wrap: wrap; }
.role-pill {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1.5px solid var(--border-warm);
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.role-pill:hover { border-color: rgba(242, 160, 61, 0.5); }
.role-pill:has(input:checked) {
  border-color: var(--orange);
  background: #FFF9EF;
  box-shadow: 0 0 0 3px rgba(242, 160, 61, 0.14);
}
.role-pill input { accent-color: var(--orange); }
.form-success {
  background: var(--green-tint);
  border: 2px solid var(--green);
  border-radius: 18px;
  padding: 24px;
  font-size: 18px;
  font-weight: 800;
  color: var(--green);
  box-shadow: 0 12px 32px rgba(62, 155, 110, 0.15);
  animation: rise-in 0.6s var(--ease-out);
}
.form-note { font-size: 13px; font-weight: 700; color: var(--text-2); margin: 2px 0 0; text-align: center; }
.btn-submit[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ============ Footer ============ */
.footer { background: var(--navy); padding: 48px 24px 40px; }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-wordmark {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--bg);
}
.footer-tagline { color: var(--on-navy-muted); font-size: 14px; }
.footer-links { display: flex; gap: 24px; font-size: 14px; font-weight: 700; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  color: var(--on-navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.footer-links a:hover { color: var(--orange); border-color: rgba(242, 160, 61, 0.5); }
.footer-meta {
  color: var(--on-navy-muted);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-parent { color: var(--on-navy); text-decoration: none; font-weight: 700; }
.footer-parent:hover { color: var(--orange); }

/* ============ Scroll reveal (JS adds .visible; no-JS stays visible) ============ */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js .reveal.visible { opacity: 1; transform: none; }
/* gentle stagger inside grids */
.js .how-grid .reveal:nth-child(2),
.js .sensors-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .how-grid .reveal:nth-child(3),
.js .sensors-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .sensors-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.js .mirror-bullets .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .mirror-bullets .reveal:nth-child(3) { transition-delay: 0.16s; }

/* ============ Scroll progress ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange), #E8912A);
  border-radius: 0 2px 2px 0;
}

/* ============ Section separators (subtle orange dash under headings) ============ */
.problem h2::after,
.how h2::after,
.sensors h2::after,
.compare h2::after,
.why h2::after,
.faq h2::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(242, 160, 61, 0.35));
  margin: 16px auto 0;
}

/* ============ Pipeline (how does it know?) ============ */
.pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.pipeline-step {
  background: var(--card);
  border: 1px solid rgba(34, 48, 74, 0.08);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(34, 48, 74, 0.06);
}
.pipeline-arrow { color: var(--orange); font-weight: 800; font-size: 18px; }

/* ============ Use cases ============ */
.usecases {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px 64px;
  text-align: center;
}
.usecases-title {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-2);
  margin: 0 0 16px;
}
.usecases-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.use-chip {
  background: var(--warm);
  border: 1px solid var(--border-warm);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease-out), border-color 0.25s;
}
.use-chip:hover { transform: translateY(-2px); border-color: rgba(242, 160, 61, 0.6); }

/* ============ Comparison ============ */
.compare { max-width: 900px; margin: 0 auto; padding: 0 24px 64px; }
.compare-card {
  background: var(--card);
  border: 1px solid rgba(34, 48, 74, 0.06);
  border-radius: 24px;
  box-shadow: 0 6px 24px rgba(34, 48, 74, 0.07);
  overflow: hidden;
}
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}
.compare th, .compare td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(34, 48, 74, 0.07);
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: none; }
.compare thead th {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  background: #F6F3EC;
}
.compare tbody th { font-weight: 800; color: var(--navy); white-space: nowrap; }
.compare td { color: var(--text-2); }
.compare .rawen-col {
  background: #FDF7EC;
  color: var(--navy);
  font-weight: 800;
  border-left: 2px solid rgba(242, 160, 61, 0.45);
}
.compare thead .rawen-col { background: var(--orange); color: var(--navy); }

/* ============ Why Rawen exists ============ */
.why {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 64px;
  text-align: center;
}
.why p { font-size: 18px; color: var(--text); margin: 0 0 14px; text-wrap: pretty; }
.why p strong { color: var(--navy); }
.why-sign {
  font-size: 15px !important;
  color: var(--text-2) !important;
  font-style: italic;
}

/* ============ Repeated CTAs & trust row ============ */
.cta-row { text-align: center; margin-top: 28px; }
.streak-copy .btn-section { margin-top: 22px; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 28px;
}
.trust-row span {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-warm);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flame-anim, .phone, .phone-screen::after, .bar-fill { animation: none; }
  .hero-copy, .hero-visual { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .milestone, .spec-chip, .mirror-bullet, .band-photo img { transition: none; }
}
