/* Raiphe marketing site.
   Design language pulled from the app: warm cream canvas, green primary,
   olive/emerald greens, peach surfaces, a cycling "aurora" light field and a
   frosted "liquid glass" treatment (mobile/src/theme/tokens.ts + auroraPalette). */

:root {
  --bg: #fffaf7;
  --bg-cool: #f4f1ee;
  --ink: #1a1310;
  --ink-soft: #5b5048;
  --ink-mute: #8a8079;

  --brand: #c2e500;
  --brand-dark: #a8c400;
  --brand-deep: #5c6a00;
  --brand-light: #e4f584;
  --brand-ink: #1a1a0a;

  --olive: #a4b41c;
  --emerald: #157a4e;
  --price-green: #2ebf6f;
  --pink: #d6488a;
  --danger: #d23a2c;

  --surface-fill: #fbede6;
  --surface-icon: #f5d9cb;
  --surface-border: #e8c3b1;

  --card: #ffffff;
  --line: #ece3dc;

  --r-xl: 30px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-pill: 9999px;

  --sh-sm: 0 2px 10px rgba(120, 70, 45, 0.06);
  --sh-md: 0 16px 44px rgba(120, 60, 35, 0.12);
  --sh-lg: 0 36px 90px rgba(110, 55, 30, 0.2);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
::selection {
  background: rgba(194, 229, 0, 0.32);
  color: var(--ink);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation: none !important;
    scroll-behavior: auto;
  }
}

/* ---------- Wordmark ---------- */
.logo {
  display: inline-flex;
  align-items: flex-start;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--ink);
  line-height: 1;
}
.logo .dot {
  color: var(--ink);
}
.logo .beta {
  font-weight: 400;
  font-size: 0.33em;
  color: #9a8d84;
  margin-left: 1px;
  margin-top: 0.06em;
  transform: skewX(-12deg);
  display: inline-block;
}
.logo--lg {
  font-size: 28px;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 16px;
  font-family: inherit;
  border: none;
  cursor: pointer;
  border-radius: var(--r-pill);
  padding: 15px 26px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease);
}
.btn-primary {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 10px 24px rgba(194, 229, 0, 0.34);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(194, 229, 0, 0.42);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background: #fff;
}
.btn-sm {
  padding: 11px 20px;
  font-size: 15px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 250, 247, 0.78);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom-color: var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
body.legal-page {
  padding-top: 74px;
}

/* ---------- Aurora field ---------- */
.aurora {
  position: absolute;
  inset: -10% -10% -10% -10%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.aurora .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.7;
  mix-blend-mode: multiply;
}
.aurora .b1 {
  width: 52vw;
  height: 52vw;
  top: -16%;
  right: -6%;
  background: radial-gradient(circle at 30% 30%, var(--brand-light), transparent 68%);
  animation: drift1 26s var(--ease) infinite alternate;
}
.aurora .b2 {
  width: 46vw;
  height: 46vw;
  top: 6%;
  left: -10%;
  background: radial-gradient(circle at 40% 40%, rgba(164, 180, 28, 0.85), transparent 66%);
  animation: drift2 30s var(--ease) infinite alternate;
}
.aurora .b3 {
  width: 42vw;
  height: 42vw;
  bottom: -22%;
  left: 24%;
  background: radial-gradient(circle at 50% 50%, rgba(21, 122, 78, 0.6), transparent 64%);
  animation: drift3 34s var(--ease) infinite alternate;
}
.aurora .b4 {
  width: 36vw;
  height: 36vw;
  top: 30%;
  right: 18%;
  background: radial-gradient(circle at 50% 50%, rgba(214, 72, 138, 0.45), transparent 66%);
  animation: drift4 28s var(--ease) infinite alternate;
}
@keyframes drift1 {
  to {
    transform: translate(-8%, 12%) scale(1.15);
  }
}
@keyframes drift2 {
  to {
    transform: translate(12%, 8%) scale(1.2);
  }
}
@keyframes drift3 {
  to {
    transform: translate(10%, -10%) scale(1.1);
  }
}
@keyframes drift4 {
  to {
    transform: translate(-12%, 10%) scale(1.18);
  }
}
/* milky scrim + film grain over the aurora for legibility + texture */
.aurora::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 250, 247, 0.2), rgba(255, 250, 247, 0.75));
}
.grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ---------- Glass ---------- */
.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: saturate(1.7) blur(20px);
  -webkit-backdrop-filter: saturate(1.7) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--sh-md), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 96px;
}
.hero > .aurora {
  inset: 0;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--brand-deep);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(8px);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  margin-bottom: 24px;
}
.eyebrow .dotmark {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 4px rgba(164, 180, 28, 0.22);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 7px rgba(164, 180, 28, 0);
  }
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 0.98;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--brand-deep), var(--pink) 45%, var(--olive));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hue 9s ease-in-out infinite;
}
@keyframes hue {
  50% {
    background-position: 100% 0;
  }
}
.hero p.lead {
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 40ch;
}

/* ---------- Search bar (used in the "La recherche" section) ---------- */
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(1.7) blur(20px);
  -webkit-backdrop-filter: saturate(1.7) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--sh-md), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.search-bar .mag {
  width: 20px;
  height: 20px;
  color: var(--ink-mute);
  flex-shrink: 0;
}
.search-bar .typed-wrap {
  flex: 1;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
}
.search-bar .caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  vertical-align: -0.18em;
  margin-left: 1px;
  background: var(--ink);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ---------- Waitlist form ---------- */
.waitlist {
  margin-top: 30px;
  max-width: 460px;
}
.cta-band .waitlist {
  margin: 30px auto 0;
}
.waitlist .fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.waitlist .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.waitlist input {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 15px 16px;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.waitlist input::placeholder {
  color: var(--ink-mute);
}
.waitlist input:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 4px rgba(194, 229, 0, 0.13);
}
.waitlist .btn {
  width: 100%;
  margin-top: 2px;
}
.waitlist .hint {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 7px;
}
.waitlist .hint svg {
  width: 15px;
  height: 15px;
  color: var(--emerald);
  flex-shrink: 0;
}
.waitlist .msg {
  margin-top: 12px;
  font-size: 14.5px;
  font-weight: 500;
  text-align: center;
  display: none;
}
.waitlist .msg.show {
  display: block;
}
.waitlist .msg.error {
  color: var(--danger);
}
.waitlist.done .fields,
.waitlist.done .hint {
  display: none;
}
.waitlist .success {
  display: none;
  align-items: flex-start;
  gap: 12px;
  background: #f1f8f1;
  border: 1px solid #cfe7d4;
  border-radius: var(--r-lg);
  padding: 18px 20px;
}
.waitlist.done .success {
  display: flex;
  animation: pop 0.5s var(--ease);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
}
.waitlist .success .check {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--price-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.waitlist .success .check svg {
  width: 17px;
  height: 17px;
}
.waitlist .success strong {
  display: block;
  font-size: 16px;
  color: var(--emerald);
}
.waitlist .success span {
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- Hero device ---------- */
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
  isolation: isolate;
}
.hero-art .device {
  position: relative;
  width: 350px;
  max-width: 84vw;
  border-radius: var(--r-xl);
  background: var(--card);
  padding: 12px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line);
  transform: rotateY(-9deg) rotateX(3deg);
  transition: transform 0.5s var(--ease);
  will-change: transform;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  50% {
    transform: rotateY(-9deg) rotateX(3deg) translateY(-12px);
  }
}
.hero-art .device img {
  border-radius: 20px;
  width: 100%;
}
/* Price-drop push notification floating over the device (sibling of .device,
   so it is NOT subject to the device's 3D tilt). */
.notif {
  position: absolute;
  top: 30px;
  right: -8px;
  width: 300px;
  max-width: 90%;
  z-index: 4;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--sh-lg);
  animation: notif-in 0.7s var(--ease) 0.5s both, floaty 7s ease-in-out infinite 1.4s;
}
@keyframes notif-in {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.96);
  }
}
.notif-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-ink);
  background: linear-gradient(145deg, var(--brand), var(--brand-dark));
  box-shadow: 0 2px 6px rgba(194, 229, 0, 0.4);
}
.notif-icon svg {
  width: 20px;
  height: 20px;
}
.notif-body {
  min-width: 0;
}
.notif-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.notif-top strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
.notif-top span {
  font-size: 11.5px;
  color: var(--ink-mute);
}
.notif-body p {
  margin-top: 2px;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--ink-soft);
}
.notif-body p b {
  color: var(--price-green);
  font-weight: 700;
}

/* ---------- Sections ---------- */
section.block {
  position: relative;
  padding: 104px 0;
}
.section-head {
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-deep);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.05;
}
.section-head p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-soft);
}

/* ---------- Search section (light, warm) ---------- */
.bridge {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff4ec 0%, #fbe7dd 100%);
}
.bridge::before {
  /* soft warm glow for a little depth, no muddy aurora */
  content: '';
  position: absolute;
  top: -180px;
  right: -120px;
  width: 540px;
  height: 540px;
  background: radial-gradient(
    circle at center,
    rgba(194, 229, 0, 0.16),
    rgba(164, 180, 28, 0.1) 46%,
    transparent 70%
  );
  pointer-events: none;
}
.bridge .wrap {
  position: relative;
  z-index: 1;
}

/* Search (left) -> results (right) */
.match {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 0.92fr auto 1.15fr;
  gap: 40px;
  align-items: center;
}
.match-search {
  min-width: 0;
}
.match-note {
  margin: 18px 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-deep);
}
.match-alts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.match-alts span {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--surface-border);
  border-radius: var(--r-pill);
  padding: 9px 15px;
}
.match-arrow {
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  justify-content: center;
}
.match-arrow svg {
  width: 34px;
  height: 34px;
}
.match-results {
  min-width: 0;
}
.match-results-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.match-results-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--price-green);
  box-shadow: 0 0 0 4px rgba(46, 191, 111, 0.22);
}
.rgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.rcard {
  background: var(--card);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-md);
  transition: transform 0.3s var(--ease);
}
.rcard:hover {
  transform: translateY(-5px);
}
.rcard-img {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-cool);
}
.rcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.rcard-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 11px;
}
.rprice {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}
.rtag {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-mute);
  background: var(--bg-cool);
  border-radius: var(--r-pill);
  padding: 3px 8px;
  white-space: nowrap;
}

/* ---------- How it works — 3 steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease);
}
.step:hover {
  transform: translateY(-6px);
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 130px;
  right: -22px;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--line);
  border-right: 2px solid var(--line);
  transform: rotate(45deg);
  z-index: 2;
}
.step .shot {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  aspect-ratio: 4 / 5;
}
.step .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.step .shot::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 80px;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent);
  pointer-events: none;
}
.step .step-num {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  color: var(--brand-ink);
  background: var(--brand);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.step-body {
  padding: 24px 6px 0;
}
.step-body h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.2;
}
.step-body p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- Final CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  margin: 0 auto 96px;
  max-width: var(--maxw);
  border-radius: 36px;
  background: linear-gradient(150deg, var(--brand), var(--brand-dark));
  color: var(--brand-ink);
  text-align: center;
  padding: 84px 24px;
}
.cta-band .aurora .blob {
  opacity: 0.4;
  mix-blend-mode: screen;
}
.cta-band .aurora::after {
  display: none;
}
.cta-band .inner {
  position: relative;
  z-index: 2;
}
.cta-band h2 {
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1.04;
}
.cta-band p.sub {
  margin-top: 16px;
  font-size: 18px;
  opacity: 0.94;
}
.cta-band .waitlist input {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.95);
}
.cta-band .waitlist .btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}
.cta-band .waitlist .btn-primary:hover {
  background: #000;
}
.cta-band .waitlist .hint {
  color: rgba(26, 26, 10, 0.72);
}
.cta-band .waitlist .hint svg {
  color: var(--emerald);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-cool);
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 56px;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer .brand-col {
  max-width: 320px;
}
.site-footer .brand-col p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-mute);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}
.footer-links .col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.footer-links .col a {
  display: block;
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 10px;
  transition: color 0.14s var(--ease);
}
.footer-links .col a:hover {
  color: var(--brand-deep);
}
.footer-bottom {
  width: 100%;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-mute);
  text-align: center;
}

/* ---------- Legal pages ---------- */
.legal {
  padding: 56px 0 80px;
}
.legal .wrap {
  max-width: 760px;
}
.legal .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-mute);
  margin-bottom: 28px;
}
.legal .back:hover {
  color: var(--brand-deep);
}
.legal h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.8px;
}
.legal .updated {
  margin-top: 8px;
  color: var(--ink-mute);
  font-size: 14px;
}
.legal .content {
  margin-top: 36px;
}
.legal .content h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 36px 0 12px;
  letter-spacing: -0.3px;
}
.legal .content p {
  font-size: 16px;
  color: #34291f;
  margin-bottom: 14px;
}
.legal .content ul {
  margin: 0 0 16px 22px;
}
.legal .content li {
  font-size: 16px;
  color: #34291f;
  margin-bottom: 8px;
}
.legal .content a {
  color: var(--brand-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal .content table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font-size: 15px;
}
.legal .content th,
.legal .content td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--line);
  vertical-align: top;
}
.legal .content th {
  background: var(--surface-fill);
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .waitlist {
    max-width: none;
  }
  .match {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 560px;
    margin: 0 auto;
  }
  .match-arrow {
    transform: rotate(90deg);
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 420px;
    margin: 0 auto;
  }
  .step:not(:last-child)::after {
    display: none;
  }
  .step:hover {
    transform: none;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 116px 0 72px;
  }
  section.block {
    padding: 72px 0;
  }
  .waitlist .row2 {
    grid-template-columns: 1fr;
  }
  .hero-art .device {
    transform: none;
    animation: none;
  }
  .notif {
    right: -6px;
    width: 270px;
  }
  .cta-band {
    border-radius: 0;
    margin-bottom: 72px;
  }
}
