/* ==========================================================================
   Moyo Moja — marketing site
   ========================================================================== */

:root {
  --red: #e0283c;
  --red-600: #c01b30;
  --red-300: #f57a87;
  --red-50: #fdecee;
  --cream: #fbf6f1;
  --sand: #f4e9df;
  --blush: #f9e1dd;
  --ink: #17131a;
  --ink-2: #463f4c;
  --muted: #7a7280;
  --navy: #16122b;
  --navy-2: #221a40;
  --plum: #7b4ae2;
  --wine: #3d0c1b;
  --wine-2: #1d0710;
  --gold: #c8a26b;
  --gold-2: #ecd9b4;
  --white: #fff;
  --line: rgba(23, 19, 26, 0.08);

  --serif: "Fraunces", "Kaisei Decol", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 28px;
  --arch: 50% 50% 36px 36px / 40% 40% 36px 36px;
  --radius-sm: 16px;
  --shadow-sm: 0 1px 2px rgba(23, 19, 26, 0.04), 0 4px 14px -4px rgba(23, 19, 26, 0.08);
  --shadow: 0 1px 2px rgba(70, 20, 35, 0.05), 0 24px 60px -22px rgba(70, 20, 35, 0.3);
  --shadow-lg: 0 2px 4px rgba(70, 20, 35, 0.06), 0 50px 100px -34px rgba(70, 20, 35, 0.5);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --grad: linear-gradient(135deg, #f0405a 0%, #e0283c 45%, #b8172d 100%);
  --grad-wine: linear-gradient(145deg, #2a0914 0%, #4a0f22 55%, #6e1229 100%);
  --grad-gold: linear-gradient(135deg, #f3e3c3 0%, #c8a26b 45%, #f0dcb4 70%, #a8804a 100%);
  --hairline: linear-gradient(140deg, rgba(200, 162, 107, 0.7), rgba(224, 40, 60, 0.18) 40%, rgba(23, 19, 26, 0.04) 70%, rgba(200, 162, 107, 0.5));
  --hairline-dark: linear-gradient(140deg, rgba(236, 217, 180, 0.45), rgba(255, 255, 255, 0.06) 45%, rgba(255, 255, 255, 0.03) 65%, rgba(236, 217, 180, 0.3));
  --grain: 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --nav-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "kern";
}

/* Film grain gives flat colour a printed, tactile finish. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  background-image: var(--grain);
  opacity: 0.07;
  mix-blend-mode: multiply;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 20, 48, 0.45) transparent;
}

/* Gradient hairline border: add .hairline and set --hl to swap the gradient. */
.hairline,
.feature,
.story,
.accordion__item,
.safety-item,
.step {
  position: relative;
}

.hairline::before,
.feature::before,
.story::before,
.accordion__item.is-open::before,
.safety-item::before,
.step.is-active::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--hl, var(--hairline));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ol,
ul {
  list-style: none;
}

::selection {
  background: var(--red);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--red-300);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(80px, 11vw, 140px) 0;
}

main,
.footer {
  overflow-x: clip;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 10px;
}

.skip-link:focus {
  top: 16px;
}

.icon {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}

.icon--verified {
  color: #2f8cff;
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
}

.icon--flip {
  transform: scaleX(-1);
}

.icon--heart {
  color: var(--red);
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
}

/* ---------- Typography ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9a1a33;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 0 0 1px rgba(200, 162, 107, 0.4), 0 6px 18px -10px rgba(122, 20, 48, 0.35);
  margin-bottom: 24px;
}

.eyebrow__dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 162, 107, 0.3);
}

.eyebrow__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--red);
  animation: ping 2.4s var(--ease) infinite;
}

.eyebrow--light {
  color: var(--gold-2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(236, 217, 180, 0.25);
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144;
}

.section-title em,
.hero__title em,
.download h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  padding-right: 0.06em;
  background: linear-gradient(120deg, #f0405a 0%, #c41a33 45%, #7a1430 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-lead {
  margin-top: 20px;
  max-width: 520px;
  font-size: 1.1rem;
  color: var(--ink-2);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 72px);
}

.section-head .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  max-width: none;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--spring), box-shadow 0.3s var(--ease), background 0.3s;
  white-space: nowrap;
}

/* Light sweep across buttons on hover. */
.btn::after,
.store-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease);
  pointer-events: none;
}

.btn:hover::after,
.store-btn:hover::after {
  transform: translateX(120%);
}

.btn--sm {
  height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.btn--primary {
  background: var(--grad);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 6px rgba(90, 8, 25, 0.25),
    0 10px 24px -8px rgba(224, 40, 60, 0.6);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 6px rgba(90, 8, 25, 0.25),
    0 18px 34px -12px rgba(224, 40, 60, 0.75);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: 60px;
  padding: 0 24px 0 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #2c2631 0%, #141017 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 14px 28px -14px rgba(23, 19, 26, 0.7);
}

.store-btn small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.75;
  letter-spacing: 0.02em;
}

.store-btn__icon {
  width: 28px;
  height: 28px;
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(200, 162, 107, 0.35),
    0 20px 36px -14px rgba(23, 19, 26, 0.75);
}

.round-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm), 0 8px 18px -8px rgba(23, 19, 26, 0.3);
  transition: transform 0.3s var(--spring);
}

.round-btn .icon {
  width: 22px;
  height: 22px;
}

.round-btn:hover {
  transform: scale(1.1);
}

.round-btn:active {
  transform: scale(0.92);
}

.round-btn--ghost {
  background: transparent;
  border: 1.5px solid var(--line);
  box-shadow: none;
}

.round-btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  transform: none;
}

.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.66));
  backdrop-filter: blur(20px) saturate(1.7);
  -webkit-backdrop-filter: blur(20px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow);
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.45s var(--ease);
}

.nav.is-hidden {
  transform: translateY(-100%);
}

.nav__progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  pointer-events: none;
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 999px;
  transition: height 0.45s var(--ease), margin 0.45s var(--ease), padding 0.45s var(--ease),
    background 0.45s var(--ease), box-shadow 0.45s var(--ease), max-width 0.45s var(--ease);
}

/* Once scrolled, the bar condenses into a floating glass pill. */
.nav.is-scrolled .nav__inner {
  width: calc(100% - 24px);
  max-width: 1200px;
  height: 62px;
  margin-top: 8px;
  padding: 0 9px 0 26px;
  background: rgba(251, 246, 241, 0.72);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 0 0 1px rgba(200, 162, 107, 0.22),
    0 18px 40px -20px rgba(70, 20, 35, 0.35);
}

.nav.is-scrolled .nav__inner .lang-switch,
.nav.is-scrolled .nav__inner .nav__toggle {
  box-shadow: inset 0 0 0 1px var(--line);
}

.nav__logo img {
  height: 32px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
}

.nav__links a {
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.25s, background 0.25s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--ink);
}

.nav__links a.is-active::after {
  opacity: 1;
  transform: none;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.lang-switch a {
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.25s, background 0.25s;
}

.lang-switch a:hover {
  color: var(--ink);
}

.lang-switch a.is-active {
  color: var(--white);
  background: var(--ink);
}

.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.nav__toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.nav__toggle span:first-child {
  top: 17px;
}

.nav__toggle span:last-child {
  top: 25px;
}

.nav.menu-open .nav__toggle span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav.menu-open .nav__toggle span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 60% at 82% 32%, rgba(245, 122, 135, 0.38), transparent 62%),
    radial-gradient(35% 40% at 95% 85%, rgba(200, 162, 107, 0.22), transparent 70%),
    radial-gradient(40% 50% at 8% 92%, rgba(249, 225, 221, 0.95), transparent 70%),
    radial-gradient(30% 40% at 55% 105%, rgba(123, 74, 226, 0.12), transparent 70%),
    linear-gradient(180deg, #fdf9f5 0%, var(--cream) 100%);
}

/* Faint editorial grid behind the hero copy. */
.hero__glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(122, 20, 48, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 20, 48, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(60% 55% at 25% 45%, #000, transparent 75%);
  mask-image: radial-gradient(60% 55% at 25% 45%, #000, transparent 75%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.3rem, 7.6vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144;
}

.hero__lead {
  margin-top: 28px;
  max-width: 500px;
  font-size: 1.15rem;
  color: var(--ink-2);
}

.hero__cta {
  margin-top: 36px;
}

.hero__social {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.4;
}

.hero__social strong {
  color: var(--ink);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img,
.avatar-stack__heart {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--cream);
  object-fit: cover;
  margin-left: -12px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.avatar-stack__heart {
  display: grid;
  place-items: center;
  background: var(--grad);
  color: var(--white);
}

.avatar-stack__heart .icon {
  width: 18px;
  height: 18px;
}

.hero__visual {
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: min(100%, 480px);
}

/* Offset gold arch outline + orbit ring framing the photo. */
.hero__visual::before,
.hero__visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.hero__visual::before {
  inset: 0;
  border: 1px solid rgba(200, 162, 107, 0.65);
  border-radius: var(--arch);
  transform: translate(22px, -22px);
}

.hero__visual::after {
  left: 50%;
  top: 46%;
  width: 150%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(122, 20, 48, 0.14);
  transform: translate(-50%, -50%);
  animation: spin 90s linear infinite;
}

.hero__arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--arch);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__arch::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 55%, rgba(23, 19, 26, 0.28));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.hero__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transform: scale(1.04);
}

.hero__float {
  position: absolute;
  border-radius: 22px;
  will-change: transform;
}

.hero__float--match {
  left: -64px;
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  animation: bob 6s ease-in-out infinite;
}

.hero__float--match strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--red);
}

.hero__float--match span {
  font-size: 13px;
  color: var(--ink-2);
}

.hero__float--chat {
  right: -40px;
  top: 90px;
  padding: 14px 18px;
  max-width: 220px;
  border-radius: 22px 22px 22px 6px;
  animation: bob 7s ease-in-out -2s infinite;
}

.hero__chat-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.hero__float--chat p {
  font-weight: 600;
  font-size: 15px;
  margin: 2px 0 6px;
}

.hero__float--badge {
  right: 24px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2c2631, #141017);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(200, 162, 107, 0.35), var(--shadow);
  animation: bob 5s ease-in-out -1s infinite;
}

.hero__float--badge .icon {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 3px rgba(200, 162, 107, 0.35);
}

.hero__doodle {
  position: absolute;
  top: -30px;
  left: -50px;
  width: 110px;
  color: var(--gold);
  opacity: 0.8;
  transform: rotate(-14deg);
  z-index: -1;
}

.mini-match {
  display: flex;
  align-items: center;
}

.mini-match img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.mini-match__heart {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin: 0 -10px;
  border-radius: 50%;
  background: var(--white);
  color: var(--red);
  box-shadow: var(--shadow-sm);
}

.mini-match__heart .icon {
  width: 15px;
  height: 15px;
}

.mini-match--lg img {
  width: 96px;
  height: 96px;
  border-width: 4px;
}

.mini-match--lg .mini-match__heart {
  width: 40px;
  height: 40px;
  margin: 0 -16px;
}

.mini-match--lg .mini-match__heart .icon {
  width: 22px;
  height: 22px;
}

.typing {
  display: inline-flex;
  gap: 4px;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-300);
  animation: typing 1.2s infinite;
}

.typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.typing i:nth-child(3) {
  animation-delay: 0.3s;
}

.floating-hearts {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.floating-hearts span {
  position: absolute;
  bottom: -40px;
  color: var(--red);
  opacity: 0;
  animation: rise linear forwards;
}

.floating-hearts .icon {
  width: 100%;
  height: 100%;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgba(122, 20, 48, 0.3);
  border-radius: 999px;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--red);
  animation: scroll-cue 1.8s var(--ease) infinite;
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 24px 0;
  background:
    radial-gradient(40% 140% at 50% 50%, rgba(224, 40, 60, 0.35), transparent 70%),
    var(--grad-wine);
  color: #fbeee6;
  box-shadow:
    inset 0 1px 0 rgba(236, 217, 180, 0.35),
    inset 0 -1px 0 rgba(236, 217, 180, 0.35),
    0 24px 50px -24px rgba(61, 12, 27, 0.7);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
}

.marquee__group span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  white-space: nowrap;
}

.marquee__heart {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

/* ---------- Mission ---------- */

.mission {
  padding: clamp(110px, 14vw, 190px) 0 clamp(80px, 10vw, 140px);
}

.mission__inner {
  max-width: 1040px;
  text-align: center;
}

.mission__text {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4.1vw, 3.3rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.mission__text .w {
  opacity: 0.14;
  transition: opacity 0.4s var(--ease), color 0.4s;
}

.mission__text .w.is-lit {
  opacity: 1;
}

.mission__text .w.is-accent.is-lit {
  color: var(--red);
  font-style: italic;
}

.mission__sign {
  margin-top: 48px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.mission__sign img {
  height: 30px;
  width: auto;
}

/* ---------- How it works ---------- */

.how {
  background:
    radial-gradient(50% 40% at 0% 0%, rgba(249, 225, 221, 0.7), transparent 70%),
    linear-gradient(180deg, var(--white), #fffcf9);
  border-radius: 48px 48px 0 0;
  box-shadow: 0 -1px 0 rgba(200, 162, 107, 0.3);
}

.how__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.steps {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step {
  border-radius: 20px;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.step__btn {
  display: flex;
  gap: 22px;
  width: 100%;
  padding: 22px 24px;
  text-align: left;
}

.step__num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--muted);
  padding-top: 2px;
  transition: color 0.3s;
}

.step__title {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  transition: color 0.3s;
}

.step__text {
  display: grid;
  grid-template-rows: 0fr;
  color: var(--ink-2);
  transition: grid-template-rows 0.5s var(--ease), margin 0.5s var(--ease);
}

.step__text {
  overflow: hidden;
}

.step.is-active {
  background: linear-gradient(160deg, var(--white), #fdf6f0);
  box-shadow: var(--shadow);
}

.step.is-active .step__num {
  color: var(--red);
}

.step.is-active .step__title {
  color: var(--ink);
}

.step.is-active .step__text {
  grid-template-rows: 1fr;
  margin-top: 8px;
}

.step__progress {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
}

.step.is-active .step__progress {
  opacity: 1;
}

.step__progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad);
}

.step.is-active.is-running .step__progress i {
  animation: progress var(--step-time, 6s) linear forwards;
}

.how__blob {
  position: absolute;
  z-index: 0;
  width: 120%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(245, 122, 135, 0.45), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(123, 74, 226, 0.2), transparent 55%);
  filter: blur(30px);
}

.how__device {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 740px;
  perspective: 1800px;
}

/* Slow orbit with a single travelling dot, framing the screens. */
.how__ring {
  position: absolute;
  width: 600px;
  max-width: 120%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(122, 20, 48, 0.16);
  animation: spin 60s linear infinite;
  pointer-events: none;
}

.how__ring::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 5px rgba(224, 40, 60, 0.12), 0 0 24px rgba(224, 40, 60, 0.6);
}

/* App screens: real screenshots presented as floating glass slabs. */

.shot {
  position: relative;
  aspect-ratio: 9 / 20;
  border-radius: 38px;
  overflow: hidden;
  background: var(--white);
  box-shadow:
    0 0 0 1px rgba(23, 19, 26, 0.06),
    0 2px 6px rgba(70, 20, 35, 0.06),
    0 50px 90px -34px rgba(70, 20, 35, 0.55);
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  user-select: none;
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), inset 0 0 0 5px rgba(255, 255, 255, 0.18);
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 26%, rgba(255, 255, 255, 0) 74%, rgba(255, 255, 255, 0.14) 100%);
}

.shots {
  position: relative;
  z-index: 1;
  width: 300px;
  aspect-ratio: 9 / 20;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 0.7s var(--ease);
}

/* Soft floor shadow under the stack. */
.shots::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(70, 20, 35, 0.32), transparent);
  filter: blur(8px);
}

.shots .shot {
  position: absolute;
  inset: 0;
  cursor: pointer;
  transition: transform 1s var(--ease), filter 1s var(--ease);
}

.shots .shot[data-pos="0"] {
  transform: translate3d(0, 0, 40px);
}

.shots .shot[data-pos="1"] {
  transform: translate3d(48%, 5%, -140px) rotate(8deg) scale(0.84);
  filter: brightness(0.9) saturate(0.85);
}

.shots .shot[data-pos="2"] {
  transform: translate3d(-48%, 5%, -140px) rotate(-8deg) scale(0.84);
  filter: brightness(0.9) saturate(0.85);
}

.shots .shot[data-pos="1"]:hover {
  transform: translate3d(54%, 3%, -120px) rotate(10deg) scale(0.86);
  filter: none;
}

.shots .shot[data-pos="2"]:hover {
  transform: translate3d(-54%, 3%, -120px) rotate(-10deg) scale(0.86);
  filter: none;
}

/* ---------- Features (bento) ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.bento__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
}

.bento__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.bento__photo:hover img {
  transform: scale(1.05);
}

.bento__photo--tall {
  grid-row: span 2;
}

.bento__photo--wide {
  grid-column: 1 / -1;
  min-height: clamp(300px, 34vw, 440px);
}

.bento__photo--wide img {
  object-position: 50% 30%;
}

.bento__photo figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 14px 20px;
  border-radius: 18px;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.2;
}

.bento__photo figcaption span {
  display: block;
  font-style: italic;
  color: var(--red);
}

.bento__photo--wide figcaption {
  left: auto;
  right: 28px;
  bottom: 28px;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  padding: 20px 28px;
}

.feature {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--white) 0%, #fffaf6 100%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
  --hl: linear-gradient(160deg, rgba(200, 162, 107, 0.45), rgba(23, 19, 26, 0.05) 45%, rgba(23, 19, 26, 0.04));
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  transform-style: preserve-3d;
}

/* Cursor spotlight, positioned by JS through --mx / --my. */
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(224, 40, 60, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature:hover::after {
  opacity: 1;
}

.feature:hover {
  box-shadow: var(--shadow);
  --hl: linear-gradient(160deg, rgba(200, 162, 107, 0.9), rgba(224, 40, 60, 0.25) 50%, rgba(200, 162, 107, 0.5));
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  border-radius: 18px;
  background: linear-gradient(145deg, #fff 0%, var(--red-50) 100%);
  box-shadow: inset 0 0 0 1px rgba(224, 40, 60, 0.14), 0 8px 18px -10px rgba(224, 40, 60, 0.45);
  color: var(--red);
  transition: transform 0.5s var(--spring);
}

.feature__icon .icon {
  width: 26px;
  height: 26px;
}

.feature:hover .feature__icon {
  transform: rotate(-8deg) scale(1.08);
}

.feature h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.feature p {
  font-size: 15px;
  color: var(--ink-2);
}

.feature--accent {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(240, 64, 90, 0.55), transparent 60%),
    var(--grad-wine);
  color: var(--white);
  --hl: var(--hairline-dark);
  box-shadow: 0 30px 60px -30px rgba(61, 12, 27, 0.8);
}

.feature--accent:hover {
  --hl: linear-gradient(160deg, rgba(236, 217, 180, 0.8), rgba(255, 255, 255, 0.1) 50%, rgba(236, 217, 180, 0.5));
}

.feature--accent::after {
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(236, 217, 180, 0.14), transparent 70%);
}

.feature--accent p {
  color: rgba(255, 255, 255, 0.78);
}

.feature--accent .feature__icon {
  background: linear-gradient(145deg, rgba(236, 217, 180, 0.25), rgba(236, 217, 180, 0.05));
  box-shadow: inset 0 0 0 1px rgba(236, 217, 180, 0.4);
  color: var(--gold-2);
}

/* ---------- Stats ---------- */

.stats {
  position: relative;
  padding: clamp(60px, 8vw, 96px) 0;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 120% at 0% 50%, rgba(224, 40, 60, 0.35), transparent 70%),
    radial-gradient(40% 120% at 100% 50%, rgba(123, 74, 226, 0.3), transparent 70%);
}

.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 8px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:first-child {
  border-left: 0;
}

.stat__value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 30%, #f8b6be);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Stories ---------- */

.stories {
  overflow: hidden;
}

.carousel-nav {
  display: flex;
  gap: 10px;
}

.story-viewport {
  overflow: visible;
}

.story-track {
  display: flex;
  gap: 32px;
  transition: transform 0.8s var(--ease);
  touch-action: pan-y;
}

.story {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(20px, 3vw, 36px);
  border-radius: 40px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(249, 225, 221, 0.7), transparent 70%),
    var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.story.is-active {
  opacity: 1;
  transform: none;
}

.story__media {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: 28px;
  overflow: hidden;
}

.story__media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}

.story__body {
  padding-right: clamp(0px, 3vw, 40px);
}

.story__quote-icon {
  width: 56px;
  height: 56px;
  color: var(--gold);
  margin-bottom: 18px;
}

.story blockquote {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.story__names {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  font-weight: 800;
  font-size: 1.1rem;
}

.story__names::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.story__place {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 15px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(23, 19, 26, 0.18);
  transition: width 0.4s var(--ease), background 0.4s;
}

.carousel-dots button.is-active {
  width: 34px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

/* ---------- Safety ---------- */

.safety {
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(224, 40, 60, 0.32), transparent 65%),
    radial-gradient(50% 60% at 0% 100%, rgba(200, 162, 107, 0.16), transparent 70%),
    linear-gradient(160deg, #1d0a16 0%, #160f26 55%, #0f0b1c 100%);
  color: var(--white);
  border-radius: 48px;
  margin: 0 12px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(236, 217, 180, 0.12);
}

.safety::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%);
}

.safety__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(236, 217, 180, 0.4);
  border-radius: var(--arch);
  transform: translate(-18px, -18px);
  pointer-events: none;
}

.safety__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.safety__visual {
  position: relative;
}

.safety__visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--arch);
}

.safety__badge {
  position: absolute;
  left: -24px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 14px;
  border-radius: 20px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.safety__badge > .icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 14px;
  background: var(--red);
  color: var(--white);
}

.safety__badge span {
  display: block;
  color: var(--muted);
}

.safety .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.safety__list {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.safety-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  --hl: var(--hairline-dark);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}

.safety-item:hover {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  transform: translateY(-4px);
}

.safety-item__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(236, 217, 180, 0.22), rgba(236, 217, 180, 0.04));
  box-shadow: inset 0 0 0 1px rgba(236, 217, 180, 0.3);
  color: var(--gold-2);
}

.safety-item__icon .icon {
  width: 24px;
  height: 24px;
}

.safety-item__icon .icon--verified {
  color: var(--gold-2);
}

.safety-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.safety-item p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.66);
}

/* ---------- FAQ ---------- */

.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: calc(var(--nav-h) + 30px);
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  max-width: 400px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 40, 60, 0.3);
  box-shadow: var(--shadow);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--red-50);
  color: var(--red);
  transition: background 0.35s, color 0.35s;
}

.contact-card:hover .contact-card__icon {
  background: var(--red);
  color: var(--white);
}

.contact-card__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-card__text small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card__text strong {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-card__arrow {
  margin-left: auto;
  color: var(--red);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s, transform 0.35s var(--ease);
}

.contact-card:hover .contact-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion__item {
  border-radius: 22px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.4s var(--ease);
}

.accordion__item:hover {
  box-shadow: inset 0 0 0 1px rgba(200, 162, 107, 0.45);
}

.accordion__item.is-open {
  box-shadow: var(--shadow);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 24px 26px;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
}

.accordion__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red-50);
  color: var(--red);
  transition: transform 0.4s var(--spring), background 0.3s, color 0.3s;
}

.accordion__item.is-open .accordion__icon {
  transform: rotate(45deg);
  background: var(--red);
  color: var(--white);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.accordion__panel > div {
  overflow: hidden;
}

.accordion__panel p {
  padding: 0 26px 26px;
  color: var(--ink-2);
}

.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
}

/* ---------- Download ---------- */

.download {
  padding: 0 0 clamp(80px, 10vw, 120px);
}

.download__card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: clamp(40px, 6vw, 80px);
  border-radius: 48px;
  background: var(--grad-wine);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(236, 217, 180, 0.2), 0 50px 100px -40px rgba(61, 12, 27, 0.7);
}

.download__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 90% at 90% 10%, rgba(240, 64, 90, 0.55), transparent 62%),
    radial-gradient(40% 60% at 0% 100%, rgba(200, 162, 107, 0.25), transparent 70%),
    radial-gradient(30% 40% at 40% 0%, rgba(123, 74, 226, 0.22), transparent 70%);
}

.download__logo {
  height: 34px;
  width: auto;
  margin-bottom: 28px;
}

.download h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.download h2 em {
  color: var(--gold-2);
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
}

.download__copy > p {
  margin: 20px 0 32px;
  font-size: 1.1rem;
  max-width: 440px;
  color: rgba(255, 255, 255, 0.88);
}

.download .store-btn {
  background: linear-gradient(180deg, #fff, #f6eee7);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(200, 162, 107, 0.5), 0 14px 30px -14px rgba(0, 0, 0, 0.6);
}

.download .store-btn::after {
  background: linear-gradient(105deg, transparent 30%, rgba(200, 162, 107, 0.3) 50%, transparent 70%);
}

.download__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.download__visual {
  display: flex;
  justify-content: center;
  margin-bottom: calc(-1 * clamp(40px, 6vw, 80px) - 150px);
  align-self: end;
}

.fan {
  position: relative;
  width: 250px;
  aspect-ratio: 9 / 20;
}

.fan__shot {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  transition: transform 0.9s var(--ease), filter 0.9s var(--ease);
}

.fan__shot--back {
  transform: translate(40%, -5%) rotate(11deg) scale(0.9);
  filter: brightness(0.82);
}

.fan__shot--front {
  transform: rotate(-6deg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 50px 80px -30px rgba(0, 0, 0, 0.75);
}

.fan:hover .fan__shot--back {
  transform: translate(50%, -8%) rotate(14deg) scale(0.9);
  filter: none;
}

.fan:hover .fan__shot--front {
  transform: translate(-6%, -3%) rotate(-9deg);
}

.fan__like {
  position: absolute;
  z-index: 2;
  left: -30px;
  top: 30%;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.1), 0 20px 34px -12px rgba(0, 0, 0, 0.6);
  animation: heartbeat 2.6s var(--ease) infinite;
}

.fan__like .icon {
  width: 28px;
  height: 28px;
}

.download__hearts {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.download__hearts .dh {
  position: absolute;
  z-index: -1;
  color: rgba(236, 217, 180, 0.1);
}

.dh--1 {
  width: 220px;
  height: 220px;
  left: 42%;
  top: -60px;
  transform: rotate(-18deg);
}

.dh--2 {
  width: 90px;
  height: 90px;
  left: 6%;
  bottom: 20px;
  transform: rotate(14deg);
}

.dh--3 {
  width: 60px;
  height: 60px;
  right: 8%;
  top: 40px;
  animation: bob 5s ease-in-out infinite;
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  background:
    radial-gradient(50% 60% at 50% 100%, rgba(122, 20, 48, 0.35), transparent 70%),
    #120e14;
  color: rgba(255, 255, 255, 0.66);
  padding: 90px 0 32px;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 162, 107, 0.6), transparent);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.footer__brand img {
  height: 34px;
  width: auto;
  margin-bottom: 20px;
}

.footer__brand p {
  font-size: 15px;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--spring);
}

.footer__social a:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-3px);
}

.footer__social .icon {
  width: 18px;
  height: 18px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}

.footer__col h4 {
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer__col a,
.footer__col p {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  transition: color 0.25s;
}

.footer__col .icon {
  margin-top: 3px;
  color: var(--red-300);
}

.footer__col a:hover {
  color: var(--white);
}

.footer__wordmark {
  margin: 70px 0 10px;
  font-family: var(--serif);
  font-size: clamp(4rem, 17vw, 15rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(236, 217, 180, 0.22), rgba(236, 217, 180, 0.01) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

/* ---------- Split headlines ---------- */

/* Words rise out of a mask. Padding keeps ascenders, descenders and italics unclipped. */
.split .wm {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.1em 0.05em 0.16em;
  margin: -0.1em -0.05em -0.16em;
}

.split .wi {
  display: inline-block;
  transform: translateY(110%) rotate(4deg);
  transform-origin: 0 100%;
  transition: transform 1.2s var(--ease) calc(var(--d, 0s) + var(--i, 0) * 55ms);
}

.split.is-in .wi {
  transform: none;
}

/* Gradient text has to live on each word once the words are transformed. */
.split em {
  background: none;
  padding-right: 0;
}

.split em .wi {
  padding-right: 0.06em;
  background: linear-gradient(120deg, #f0405a 0%, #c41a33 55%, #7a1430 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Custom cursor ---------- */

.has-cursor,
.has-cursor * {
  cursor: none !important;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  pointer-events: none;
  will-change: transform;
  transition: opacity 0.3s;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--red);
  transition: opacity 0.3s, background 0.3s, scale 0.3s var(--ease);
}

.cursor-ring {
  display: grid;
  place-items: center;
  width: 0;
  height: 0;
}

.cursor-ring__circle {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(224, 40, 60, 0.5);
  transition: scale 0.45s var(--ease), background 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.cursor-ring__label {
  position: relative;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  opacity: 0;
  scale: 0.6;
  transition: opacity 0.3s, scale 0.45s var(--ease);
}

.cursor-dot.is-hover {
  scale: 0.5;
}

.cursor-ring.is-hover .cursor-ring__circle {
  scale: 1.5;
  background: rgba(224, 40, 60, 0.07);
  border-color: var(--red);
}

.cursor-ring.is-label .cursor-ring__circle {
  scale: 2.3;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 12px 30px -10px rgba(224, 40, 60, 0.7);
}

.cursor-ring.is-label .cursor-ring__label {
  opacity: 1;
  scale: 1;
}

.cursor-dot.is-label {
  opacity: 0;
}

.cursor-ring.is-down .cursor-ring__circle {
  scale: 0.8;
}

.cursor-ring.is-label.is-down .cursor-ring__circle {
  scale: 2;
}

.cursor-dot.is-dark {
  background: var(--gold-2);
}

.cursor-ring.is-dark .cursor-ring__circle {
  border-color: rgba(236, 217, 180, 0.6);
}

.cursor-ring.is-dark.is-hover .cursor-ring__circle {
  border-color: var(--gold-2);
  background: rgba(236, 217, 180, 0.08);
}

.cursor.is-off {
  opacity: 0;
}

.cursor-heart {
  position: fixed;
  z-index: 399;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  color: var(--red);
  pointer-events: none;
  animation: heart-pop 0.9s var(--ease) forwards;
}

.cursor-heart .icon {
  width: 100%;
  height: 100%;
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s);
}

.js .reveal--scale {
  transform: translateY(24px) scale(0.96);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Keyframes ---------- */

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

@keyframes rise {
  0% { transform: translateY(0) rotate(0deg) scale(0.6); opacity: 0; }
  12% { opacity: var(--o, 0.5); }
  100% { transform: translateY(-110vh) rotate(var(--r, 20deg)) scale(1); opacity: 0; }
}

@keyframes scroll-cue {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes progress {
  to { width: 100%; }
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.7; }
  80%, 100% { transform: scale(3); opacity: 0; }
}

@keyframes heartbeat {
  0%, 40%, 100% { scale: 1; }
  12% { scale: 1.14; }
  24% { scale: 0.96; }
}

@keyframes heart-pop {
  0% { transform: translateY(0) scale(0.4); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateY(-46px) scale(1.15) rotate(var(--r, 0deg)); opacity: 0; }
}

@keyframes spin {
  to { rotate: 360deg; }
}


/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    inset: var(--nav-h) 0 0;
    padding: 24px 24px 40px;
    background: var(--cream);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
  }

  .nav.menu-open {
    background: var(--cream);
  }

  .nav.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu nav a {
    padding: 16px 0;
    font-family: var(--serif);
    font-size: 2rem;
    border-bottom: 1px solid var(--line);
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento__photo--tall {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 420px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .hero__grid,
  .how__grid,
  .safety__grid,
  .faq__grid,
  .download__card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 24px);
  }

  .hero__copy {
    text-align: center;
  }

  .hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .store-buttons,
  .hero__social {
    justify-content: center;
  }

  .hero__visual {
    width: min(100%, 400px);
    margin-top: 20px;
  }

  .hero__float--match {
    left: -12px;
  }

  .hero__float--chat {
    right: -8px;
  }

  .scroll-cue {
    display: none;
  }

  .how__copy {
    display: contents;
  }

  .how__grid {
    row-gap: 0;
  }

  .how__device {
    order: 1;
    margin: 24px 0 16px;
    min-height: 680px;
  }

  .steps {
    order: 2;
    margin-top: 0;
  }

  .story {
    grid-template-columns: 1fr;
  }

  .story__media {
    aspect-ratio: 16 / 11;
  }

  .faq__intro {
    position: static;
  }

  .download__copy {
    text-align: center;
  }

  .download__copy > p,
  .download__note {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .download__visual {
    margin-top: 24px;
    margin-bottom: calc(-1 * clamp(40px, 6vw, 80px) - 190px);
  }

  .safety__badge {
    left: 12px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 16px;
  }

  .nav__actions .btn {
    display: none;
  }

  .store-btn {
    height: 54px;
    padding: 0 18px 0 14px;
    font-size: 16px;
  }

  .hero__float--match {
    left: -6px;
    bottom: 40px;
    padding: 10px 14px 10px 10px;
  }

  .hero__float--match .mini-match img {
    width: 38px;
    height: 38px;
  }

  .hero__float--chat {
    top: 40px;
    right: -4px;
    max-width: 180px;
  }

  .hero__float--badge {
    right: 12px;
  }

  .hero__doodle {
    display: none;
  }

  .how__device {
    min-height: 540px;
  }

  .how__ring {
    width: 400px;
  }

  .shots {
    width: 220px;
  }

  .shot {
    border-radius: 28px;
  }

  .shots .shot[data-pos="1"],
  .shots .shot[data-pos="1"]:hover {
    transform: translate3d(36%, 5%, -140px) rotate(7deg) scale(0.82);
  }

  .shots .shot[data-pos="2"],
  .shots .shot[data-pos="2"]:hover {
    transform: translate3d(-36%, 5%, -140px) rotate(-7deg) scale(0.82);
  }

  .fan {
    width: 200px;
  }

  .fan__like {
    left: -14px;
    width: 54px;
    height: 54px;
  }

  .feature {
    padding: 22px;
  }

  .feature__icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
  }

  .step__btn {
    padding: 18px;
    gap: 14px;
  }

  .step__title {
    font-size: 1.3rem;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento__photo--tall {
    min-height: 380px;
  }

  .bento__photo--wide figcaption {
    right: 16px;
    left: 16px;
    bottom: 16px;
  }

  .stat {
    padding: 4px 16px;
  }

  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
  }

  .story {
    padding: 14px;
    border-radius: 28px;
  }

  .story__body {
    padding: 0 8px 12px;
  }

  .safety {
    margin: 0;
    border-radius: 32px;
  }

  .safety__list {
    grid-template-columns: 1fr;
  }

  .accordion__trigger {
    padding: 20px;
    font-size: 1rem;
  }

  .accordion__panel p {
    padding: 0 20px 20px;
  }

  .download__card {
    border-radius: 32px;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .floating-hearts {
    display: none;
  }
}

/* ---------- Legal pages (privacy, terms, safety) ---------- */

.legal-hero {
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(32px, 5vw, 56px);
  text-align: center;
}

.legal-body {
  padding-bottom: clamp(80px, 11vw, 140px);
}

.legal-body .container {
  max-width: 820px;
}

.legal-body h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 48px 0 14px;
  scroll-margin-top: calc(var(--nav-h) + 8px);
}

.legal-body h3 {
  font-size: 1.1rem;
  margin: 28px 0 10px;
}

.legal-body p,
.legal-body ul,
.legal-body ol {
  color: var(--ink-2);
  margin-bottom: 16px;
}

.legal-body li + li {
  margin-top: 8px;
}

/* Red dot bullets with a soft blush ring. */
.legal-body ul {
  list-style: none;
}

.legal-body ul > li {
  position: relative;
  padding-left: 1.4em;
}

.legal-body ul > li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px var(--red-50);
}

.legal-body ol {
  list-style: decimal;
  padding-left: 1.4em;
}

.legal-body ol > li::marker {
  font-weight: 700;
  color: var(--red);
}

.legal-body strong {
  color: var(--ink);
}

.legal-body a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition: color 0.2s var(--ease);
}

.legal-body a:hover {
  color: var(--red-600);
}

.legal-meta {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Boxed list of notes shown above the policy text. */
.legal-note {
  margin: 24px 0 8px;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  box-shadow: inset 0 0 0 1px var(--line);
}

.legal-body .legal-note p {
  margin: 0;
  font-size: 0.95rem;
}

.legal-body .legal-note p + p {
  margin-top: 12px;
}

/* Wide tables scroll sideways on phones instead of breaking the layout. */
.legal-table {
  overflow-x: auto;
  margin: 8px 0 24px;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.legal-table table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.legal-table th,
.legal-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-table thead th {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-table th {
  font-weight: 700;
  color: var(--ink);
  background: var(--sand);
}

.legal-table td {
  color: var(--ink-2);
}

.legal-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}
.legal-table tbody tr {
  transition: background 0.2s var(--ease);
}

.legal-table tbody tr:hover {
  background: rgba(253, 236, 238, 0.5);
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

/* Key-value variant: label column on the left, details on the right. */
.legal-table--details table {
  min-width: 0;
}

.legal-table--details td:first-child {
  width: 36%;
}

/* Sub-details inside one cell, each on its own line with a muted label. */
.legal-line {
  display: block;
}

.legal-line + .legal-line {
  margin-top: 6px;
}

.legal-line__label {
  font-weight: 600;
  color: var(--ink);
}

.legal-line__label::after {
  content: ":";
}

/* On phones each label sits above its details instead of beside them. */
@media (max-width: 600px) {
  .legal-table--details thead {
    display: none;
  }

  .legal-table--details td {
    display: block;
    width: auto;
  }

  .legal-table--details td:first-child {
    width: auto;
    padding-bottom: 4px;
    border-bottom: 0;
    background: var(--sand);
  }

  .legal-table--details td + td {
    padding-top: 10px;
  }

  .legal-table--details tr:last-child td:first-child {
    border-bottom: 0;
  }
}

.legal-divider {
  border: 0;
  height: 1px;
  margin: 64px 0 0;
  background: var(--hairline);
}

.legal-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 50;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  background: var(--grad);
  box-shadow: 0 12px 28px -10px rgba(224, 40, 60, 0.7);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.legal-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

@media print {
  .nav,
  .footer,
  .legal-top,
  body::after {
    display: none !important;
  }

  .legal-hero {
    padding: 0 0 16px;
  }
}

/* ---------- Delete account page ---------- */

/* Warm layered glow + soft concentric rings behind the card. */
.page-delete main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(55% 45% at 8% 4%, rgba(240, 64, 90, 0.16), transparent 70%),
    radial-gradient(45% 40% at 96% 18%, rgba(200, 162, 107, 0.3), transparent 70%),
    radial-gradient(60% 50% at 50% 108%, rgba(123, 74, 226, 0.1), transparent 70%),
    linear-gradient(180deg, #fbf2ec 0%, #f8e7e0 50%, var(--cream) 100%);
}

.page-delete main::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 420px;
  width: 1100px;
  height: 1100px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 62px, rgba(200, 162, 107, 0.22) 62px 63px);
  -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%);
  mask: radial-gradient(circle, #000 20%, transparent 68%);
  pointer-events: none;
}

.page-delete main::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -160px;
  top: 120px;
  width: 420px;
  height: 420px;
  border-radius: var(--arch);
  background: linear-gradient(160deg, rgba(224, 40, 60, 0.14), rgba(200, 162, 107, 0.12));
  filter: blur(60px);
  animation: del-float 14s var(--ease) infinite alternate;
  pointer-events: none;
}

@keyframes del-float {
  to { transform: translate(-120px, 80px) rotate(12deg); }
}

@media (prefers-reduced-motion: reduce) {
  .page-delete main::after { animation: none; }
}

.page-delete .legal-hero {
  padding-bottom: clamp(28px, 4vw, 44px);
}

.legal-lead {
  margin-left: auto;
  margin-right: auto;
}

.del-wrap {
  max-width: 480px;
  margin: 0 auto;
}

/* Frosted card with a gold gradient hairline border. */
.del-card {
  position: relative;
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.76)) padding-box,
    var(--hairline) border-box;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-lg);
}

.del-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18%;
  right: 18%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--red), var(--gold), transparent);
}

.del-step[hidden] {
  display: none;
}

/* Step indicator */
.legal-body .del-steps {
  display: flex;
  margin: 0 0 28px;
  padding-left: 0;
  list-style: none;
}

.legal-body .del-steps li {
  position: relative;
  flex: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-body .del-steps li::marker {
  content: none;
}

/* Connector line between dots. */
.del-steps li + li::before {
  content: "";
  position: absolute;
  top: 16px;
  right: calc(50% + 24px);
  width: calc(100% - 48px);
  height: 2px;
  border-radius: 2px;
  background: var(--line);
  transition: background 0.4s var(--ease);
}

.del-steps li.is-active::before,
.del-steps li.is-done::before {
  background: linear-gradient(90deg, var(--gold), var(--red));
}

.del-steps li span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--muted);
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: all 0.4s var(--ease);
}

.legal-body .del-steps li.is-active,
.legal-body .del-steps li.is-done {
  color: var(--ink);
}

.del-steps li.is-active span {
  color: var(--white);
  background: var(--grad);
  box-shadow: 0 0 0 5px var(--red-50), 0 10px 20px -8px rgba(224, 40, 60, 0.7);
}

.del-steps li.is-done span {
  color: #6b4c1f;
  background: var(--grad-gold);
  box-shadow: none;
}

.legal-body .del-text {
  margin-bottom: 22px;
  color: var(--ink-2);
}

.del-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}

.del-phone {
  display: flex;
  align-items: stretch;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(200, 162, 107, 0.45), 0 4px 14px -8px rgba(70, 20, 35, 0.18);
  transition: box-shadow 0.2s var(--ease);
}

.del-phone:focus-within {
  box-shadow: inset 0 0 0 2px var(--red), 0 0 0 5px var(--red-50);
}

.has-error .del-phone,
.has-error .del-otp input {
  box-shadow: inset 0 0 0 2px var(--red);
}

.del-phone__code {
  position: relative;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(200, 162, 107, 0.4);
}

.del-phone__code select {
  height: 100%;
  padding: 0 34px 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.del-phone__code svg {
  position: absolute;
  right: 12px;
  color: var(--muted);
  pointer-events: none;
}

.del-phone input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.del-otp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.del-otp input {
  width: 100%;
  height: 64px;
  border: 0;
  outline: 0;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(200, 162, 107, 0.45), 0 4px 14px -8px rgba(70, 20, 35, 0.18);
  text-align: center;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--spring);
}

.del-otp input:focus {
  box-shadow: inset 0 0 0 2px var(--red), 0 0 0 5px var(--red-50);
  transform: translateY(-2px);
}

.legal-body .del-error {
  margin: 10px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
}

.del-btn {
  width: 100%;
  margin-top: 26px;
}

.del-btn .icon {
  width: 18px;
  height: 18px;
}

.del-btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.del-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.del-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
}

.del-link:disabled {
  color: var(--muted);
  cursor: default;
}

.del-success {
  text-align: center;
  animation: del-pop 0.6s var(--spring);
}

@keyframes del-pop {
  from { opacity: 0; transform: scale(0.94); }
}

.del-success__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 4px auto 20px;
  border-radius: 50%;
  color: var(--white);
  background: var(--grad);
  box-shadow: 0 0 0 8px var(--red-50), 0 0 0 9px rgba(200, 162, 107, 0.35), 0 18px 36px -12px rgba(224, 40, 60, 0.7);
}

.del-success__icon .icon {
  width: 34px;
  height: 34px;
}

.legal-body .del-success h2 {
  margin: 0 0 10px;
}

.legal-body .del-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.del-secure .icon {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--gold);
}

@media (max-width: 420px) {
  .del-otp { gap: 8px; }
  .del-otp input { height: 56px; font-size: 24px; }
  .del-phone__code select { padding: 0 28px 0 12px; font-size: 14px; }
}

/* Legal links are red; keep the button's white label. */
.legal-body a.btn--primary {
  color: var(--white);
  text-decoration: none;
}

.legal-body a.btn--primary:hover {
  color: var(--white);
}

/* Completed steps show a tick instead of the number. */
.del-steps li.is-done span {
  font-size: 0;
}

.del-steps li.is-done span::after {
  content: "";
  width: 12px;
  height: 7px;
  margin-top: -3px;
  border: solid currentColor;
  border-width: 0 0 2.4px 2.4px;
  transform: rotate(-45deg);
}

.del-success__icon {
  position: relative;
}

.del-success__icon::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid rgba(224, 40, 60, 0.35);
  animation: del-ring 2.4s var(--ease) infinite;
}

@keyframes del-ring {
  from { opacity: 0.9; transform: scale(1); }
  to { opacity: 0; transform: scale(1.45); }
}

@media (prefers-reduced-motion: reduce) {
  .del-success__icon::after { animation: none; }
}

.del-chip {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #6b4c1f;
  background: linear-gradient(135deg, #fbf1de, #f3e3c3);
  box-shadow: inset 0 0 0 1px rgba(200, 162, 107, 0.5);
}

.del-chip:empty {
  display: none;
}
