:root {
  --bg: #ffffff;
  --ink: #0b0a06;
  --ink-warm: #2b2013;
  --ink-warm-2: #3a2a15;
  --yellow: #ffcc00;
  --yellow-deep: #e6b800;
  --amber: #e8a716;
  --mustard: #c98a1c;
  --yellow-glow: #ffdd66;
  --hero-gold: #9c6d00;
  --hero-gold-2: #7c5700;
  --grey80: #1e1e1e;
  --grey50: #4b4b4b;
  --grey40: #868686;
  --grey30: #b3b3b3;
  --grey20: #dadada;
  --grey10: #e1e1e1;
  --grey05: #f3f3f1;
  --text: rgba(11, 10, 6, 0.9);
  --muted: rgba(11, 10, 6, 0.56);
  --muted-strong: rgba(11, 10, 6, 0.72);
  --line: rgba(11, 10, 6, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Aspekta", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: "Aspekta", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

p {
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.page {
  min-height: 100vh;
}

.wrap {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
}

.panel {
  position: relative;
  width: min(calc(100% - 20px), 1340px);
  margin: 40px auto 0;
  overflow: visible;
}

@media (max-width: 760px) {
  .panel {
    width: calc(100% - 16px);
    margin-top: 28px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 140px 0 84px;
  background: linear-gradient(140deg, var(--hero-gold) 0%, var(--hero-gold-2) 100%);
  border-radius: 0 0 0 110px;
  overflow: visible;
}

@media (max-width: 760px) {
  .hero {
    padding: 100px 0 56px;
    border-radius: 0 0 0 45px;
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
}

.hero-brand {
  position: absolute;
  top: 26px;
  left: max(24px, calc((100% - 1180px) / 2 + 24px));
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-brand img {
  height: clamp(28px, 4.2vw, 46px);
  width: clamp(28px, 4.2vw, 46px);
  border-radius: 24%;
  display: block;
}

.hero-brand span {
  color: #fff;
  font-size: clamp(13px, 1.6vw, 17px);
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 20px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 13.5px;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1;
}

.eyebrow img {
  width: 10px;
  height: 14px;
  filter: none !important;
  opacity: 0.9;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(38px, 5.6vw, 62px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.04;
}

.hero-sub {
  max-width: 580px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.btn-ico {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover { transform: translateY(-1px); }

.btn .arrow { transition: transform 180ms ease; }
.btn:hover .arrow { transform: translateX(2px); }

.btn.ink {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 22px rgba(11, 10, 6, 0.22);
}

.btn.white {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(11, 10, 6, 0.14);
}

.btn.outline {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.btn.outline:hover { background: rgba(255, 255, 255, 0.22); }

.hero .btn.white {
  background: linear-gradient(165deg, #1c1912, #000000);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.hero .btn.outline {
  background: linear-gradient(100deg, #fff6dc 0%, #ffe8a3 55%, #ffdc85 100%);
  color: var(--ink);
}

.hero .btn.outline:hover { background: linear-gradient(100deg, #fffaec 0%, #ffedb3 55%, #ffe294 100%); }

.btn svg {
  width: 16px;
  height: 18px;
  fill: currentColor;
}

/* Hero mockup graphic: overlapping dose card + reminder badge */

.hero-art {
  position: absolute;
  right: max(-20px, calc((100% - 1180px) / 2 - 90px));
  top: 0;
  z-index: 1;
  width: min(560px, 44vw);
  transform: rotate(-2deg);
}

.hero-glow {
  position: absolute;
  right: -10%;
  top: -10%;
  z-index: 0;
  width: 150%;
  height: 150%;
  background: radial-gradient(ellipse 55% 50% at 58% 56%, var(--yellow-glow) 0%, rgba(255, 221, 102, 0.5) 32%, transparent 68%);
  filter: blur(40px);
  mix-blend-mode: lighten;
  opacity: 0.85;
  pointer-events: none;
}

@media (max-width: 980px) {
  .hero-art {
    position: relative;
    right: auto;
    top: auto;
    width: min(380px, 84vw);
    margin: 48px auto 0;
  }
  .hero-inner { text-align: left; }
}

/* Hero asset: tilted phone silhouette with a notification bursting off it */

.phone-burst {
  position: relative;
  width: 100%;
  height: 590px;
}

@media (max-width: 980px) {
  .phone-burst { height: 420px; }
}

.burst-rays {
  position: absolute;
  left: 54%;
  top: 2%;
  width: 320px;
  height: 320px;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0.8;
}

.phone {
  position: absolute;
  left: 46%;
  bottom: 0;
  width: 250px;
  height: 510px;
  transform: translateX(-50%) rotate(-5deg);
  border-radius: 42px;
  background: linear-gradient(165deg, #ffffff, #fbf5e6);
  border: 7px solid var(--ink);
  box-shadow: 0 50px 80px -24px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

@media (max-width: 980px) {
  .phone { width: 190px; height: 390px; border-width: 6px; }
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 92px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 12px;
  background: var(--ink);
}

.phone-screen {
  position: absolute;
  top: 54px;
  left: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ps-head {
  margin: 0 2px 2px;
  color: var(--grey40);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ps-progress {
  height: 7px;
  margin: 150px 2px 6px;
  border-radius: 4px;
  background: var(--grey10);
  overflow: hidden;
}

.ps-progress-fill {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: 4px;
  background: var(--yellow);
}

.ps-row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.ps-dot {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-dot.pale { background: var(--grey05); border: 1.5px solid var(--grey20); }

.ps-dot svg {
  width: 12px;
  height: 12px;
  stroke: var(--ink);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-bar {
  height: 12px;
  border-radius: 6px;
  background: var(--grey10);
}

.ps-bar.w1 { width: 68%; }
.ps-bar.w2 { width: 85%; }
.ps-bar.w3 { width: 58%; }

/* Flanking card assets: an iOS-style notification on the left, a home-screen widget on the right */

.ios-notif {
  position: absolute;
  left: 12%;
  top: 30%;
  z-index: 2;
  width: 280px;
  padding: 18px 20px 19px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 28px 54px -18px rgba(0, 0, 0, 0.45);
  transform: rotate(-5deg);
}

.notif-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
}

.notif-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  flex: none;
  border-radius: 7px;
  overflow: hidden;
  background: var(--yellow);
}

.notif-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.notif-app {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.notif-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey40);
}

.notif-title {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

.notif-sub {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--grey50);
}

.ios-widget {
  position: absolute;
  right: -2%;
  bottom: 28%;
  z-index: 2;
  width: 222px;
  padding: 19px;
  border-radius: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(150deg, #ffe066 0%, var(--mustard) 100%);
  box-shadow: 0 30px 56px -18px rgba(0, 0, 0, 0.45);
  transform: rotate(6deg);
}

.widget-text {
  display: flex;
  flex-direction: column;
}

.widget-label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(20, 18, 8, 0.55);
}

.widget-value {
  margin-top: 4px;
  font-size: 23px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.widget-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 16px -6px rgba(0, 0, 0, 0.3);
}

.widget-badge svg {
  width: 23px;
  height: 23px;
  stroke: var(--ink);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 980px) {
  .ios-notif { width: 220px; left: -2%; top: 26%; padding: 14px 16px 15px; border-radius: 18px; }
  .notif-title { font-size: 15px; }
  .notif-sub { font-size: 12.5px; }
  .ios-widget { width: 170px; right: -2%; bottom: 22%; padding: 14px; border-radius: 26px; }
  .widget-value { font-size: 18px; }
  .widget-badge { width: 38px; height: 38px; border-radius: 12px; }
  .widget-badge svg { width: 15px; height: 15px; }
}

/* ---------- Flat feature row (JetBack-style, below hero) ---------- */

.features-flat {
  position: relative;
  background: #fff;
  padding: 92px 0 60px;
}

.features-flat-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: min(calc(100% - 120px), 1040px);
  margin: 0 auto;
  text-align: left;
}

@media (max-width: 760px) {
  .features-flat { padding: 48px 0; }
  .features-flat-inner { width: calc(100% - 48px); grid-template-columns: 1fr; gap: 32px; }
}

.feature-col {
  padding-right: 36px;
}

.feature-col + .feature-col {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

@media (max-width: 760px) {
  .feature-col + .feature-col {
    padding-left: 0;
    border-left: none;
  }
}

.feature-col .ficon {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 15px;
}

.feature-col h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-col p {
  margin: 0;
  max-width: 320px;
  color: var(--muted-strong);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.55;
}

/* ---------- Dark testimonial panel ---------- */

.panel-dark {
  background: linear-gradient(160deg, var(--ink-warm-2) 0%, var(--ink-warm) 55%, #1a130b 100%);
  border-radius: 24px 120px 24px 24px;
  padding: 56px 0 88px;
  overflow: visible;
}

.panel-glow {
  position: absolute;
  right: -5%;
  top: 10%;
  z-index: 0;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse 60% 60% at 60% 40%, var(--yellow-glow) 0%, rgba(201, 138, 28, 0.55) 35%, transparent 70%);
  filter: blur(50px);
  mix-blend-mode: lighten;
  opacity: 0.8;
  pointer-events: none;
}

.panel-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: min(calc(100% - 80px), 1040px);
  margin: 0 auto;
}

@media (max-width: 860px) {
  .panel-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .panel-dark { padding: 44px 0 72px; border-radius: 24px 70px 24px 24px; }
}

.panel-dark h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.panel-dark p.lead {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.panel-quote {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-quote p {
  margin: 0 0 10px;
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.55;
}

.panel-quote span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13.5px;
  font-weight: 600;
}

/* Dark-panel asset: a blister pack with pills popping out past the panel edge */

.trio {
  position: relative;
  height: 320px;
  overflow: visible;
}

.blister {
  position: absolute;
  top: 130px;
  left: 50%;
  width: 460px;
  max-width: none;
  transform: translateX(-50%) rotate(-3deg);
  z-index: 4;
}

@media (max-width: 860px) {
  .blister {
    position: static;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    transform: none;
  }
}

.blister-foil {
  position: relative;
  border-radius: 28px;
  padding: 34px;
  background: linear-gradient(155deg, #e3e6e8 0%, #aab0b6 55%, #8d9399 100%);
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.35), 0 40px 70px -20px rgba(0, 0, 0, 0.5);
}

.blister-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bubble {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.22) 48%, rgba(255, 255, 255, 0.06) 75%);
  box-shadow: inset 0 3px 7px rgba(255, 255, 255, 0.7), inset 0 -8px 14px rgba(0, 0, 0, 0.18);
}

.bubble::after {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--yellow) 0%, var(--mustard) 100%);
  box-shadow: inset -3px -4px 6px rgba(0, 0, 0, 0.18), inset 2px 3px 4px rgba(255, 255, 255, 0.5);
}

.bubble.popped {
  background: rgba(0, 0, 0, 0.12);
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.3);
}

.bubble.popped::after { display: none; }

.bubble.popped::before {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.55);
}

.pill-fly {
  position: absolute;
  width: 66px;
  height: 30px;
  z-index: 2;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.4));
}

.pill-fly svg { width: 100%; height: 100%; display: block; }

.fly-1 { top: 2%; left: 58%; transform: rotate(-18deg); }
.fly-2 { top: 44%; left: 88%; width: 84px; height: 38px; transform: rotate(14deg); }
.fly-3 { top: 70%; left: 20%; width: 52px; height: 24px; transform: rotate(-32deg); opacity: 0.85; }

.sparkle {
  position: absolute;
  z-index: 2;
  color: var(--yellow);
  font-size: 20px;
  line-height: 1;
  opacity: 0.9;
}

.spark-1 { top: 10%; left: 80%; font-size: 26px; }
.spark-2 { top: 54%; left: 78%; font-size: 16px; }
.spark-3 { top: 30%; left: 50%; font-size: 14px; }

@media (max-width: 860px) {
  .blister-foil { padding: 22px; border-radius: 22px; }
  .blister-grid { gap: 10px; }
  .pill-fly { width: 48px; height: 22px; }
  .fly-2 { width: 60px; height: 28px; }
  .fly-3 { width: 40px; height: 18px; }
}

/* ---------- Plain alternating content rows ---------- */

.content-row {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 1180px);
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.content-row.reverse .cr-art { order: 2; }

@media (max-width: 860px) {
  .content-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }
  .content-row.reverse .cr-art { order: 0; }
}

.content-row h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.content-row p.lead {
  margin: 0 0 26px;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.6;
}

.content-row .panel-quote {
  border-top: 1px solid var(--line);
}

.content-row .panel-quote p { color: var(--ink); }
.content-row .panel-quote span { color: var(--muted); }

.widget-mock {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.widget-mock::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff2ad 0%, transparent 70%);
  filter: blur(30px);
  opacity: 0.7;
}

.widget {
  position: relative;
  z-index: 1;
  width: 300px;
  padding: 26px 24px;
  border-radius: 29px;
  background: linear-gradient(165deg, #ffffff, #fbf8f0);
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.14), 0 40px 60px -20px rgba(201, 138, 28, 0.35);
  transform: rotate(-3deg);
}

.widget-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.widget-app {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--grey50);
}

.widget-app img { width: 18px; height: 18px; border-radius: 5px; }

.widget-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--grey30);
}

.widget-ring {
  position: relative;
  width: 108px;
  height: 108px;
  margin: 0 auto 20px;
}

.widget-ring svg { width: 100%; height: 100%; }

.widget-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.widget-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wl-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--grey40);
}

.wl-dot {
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--grey20);
}

.wl-row.done {
  color: var(--ink);
}

.wl-row.done .wl-dot {
  background: var(--yellow);
  border-color: var(--yellow);
}

@media (max-width: 860px) {
  .widget-mock { min-height: 340px; }
  .widget { width: 250px; padding: 22px 20px; border-radius: 24px; }
}

/* ---------- FAQ (plain two-column, JetBack-style) ---------- */

.faq {
  position: relative;
  z-index: 8;
  width: min(calc(100% - 48px), 1000px);
  margin: 48px auto 0;
}

.faq h2 {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
}

@media (max-width: 760px) {
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
}

.faq-item h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.faq-item p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.6;
}

.faq-item a { color: var(--ink); text-decoration: underline; }

/* ---------- Full-bleed closing footer band ---------- */

.foot-band {
  position: relative;
  margin-top: 90px;
  padding: 44px 32px 22px;
  border-radius: 0;
  background: linear-gradient(170deg, var(--ink-warm-2) 0%, var(--ink-warm) 50%, #1a130b 100%);
  text-align: left;
  overflow: hidden;
}

.foot-band::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: -10%;
  width: 70%;
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 60% 60% at 50% 30%, var(--yellow-glow) 0%, rgba(201, 138, 28, 0.4) 35%, transparent 70%);
  filter: blur(60px);
  mix-blend-mode: lighten;
  opacity: 0.6;
  pointer-events: none;
}

.foot-band::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='180'%20height='110'%20viewBox='0%200%20180%20110'%3E%3Cg%20fill='none'%20stroke='white'%20stroke-opacity='0.07'%20stroke-width='3'%3E%3Crect%20x='8'%20y='18'%20width='50'%20height='22'%20rx='11'/%3E%3Crect%20x='104'%20y='58'%20width='44'%20height='19'%20rx='9.5'%20transform='rotate(18%20126%2067.5)'/%3E%3Crect%20x='46'%20y='74'%20width='36'%20height='16'%20rx='8'%20transform='rotate(-14%2064%2082)'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 110px;
}

.foot-band h2,
.foot-top,
.foot-band .footer-links,
.foot-band .footer-note {
  position: relative;
  z-index: 1;
}

.foot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.foot-band h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.foot-band .hero-ctas.foot-ctas {
  margin-top: 0;
  flex-wrap: nowrap;
}

.foot-band .hero-ctas.foot-ctas .btn {
  height: 38px;
  padding: 0 16px;
  font-size: 13px;
  white-space: nowrap;
}

.foot-band .hero-ctas.foot-ctas .btn svg {
  width: 13px;
  height: 15px;
}

.footer-note {
  width: min(100%, 1180px);
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  width: min(100%, 1180px);
  margin: 14px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.footer-links a { transition: color 160ms ease; }
.footer-links a:hover { color: #fff; }

@media (max-width: 640px) {
  .panel { margin-top: 40px; }
  .faq { margin-top: 64px; }
  .foot-band { margin-top: 56px; padding: 32px 20px 20px; }
  .foot-top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot-band .hero-ctas.foot-ctas { flex-wrap: wrap; }
}

/* ---------- Legal pages ---------- */

.legal {
  min-height: 100vh;
  padding: 0 20px;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 0 0;
}

.legal-back {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 160ms ease;
}

.legal-back:hover {
  color: var(--ink);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 0 96px;
}

.legal-content h1 {
  font-size: 40px;
  margin: 0 0 8px;
}

.legal-updated {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 48px;
}

.legal-content h2 {
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 44px 0 14px;
}

.legal-content h3 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 26px 0 10px;
}

.legal-content p {
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.7;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content li::marker {
  color: var(--muted);
}

.legal-content a {
  color: #8a6a0a;
  text-decoration: underline;
  text-decoration-color: rgba(138, 106, 10, 0.35);
  text-underline-offset: 2px;
}

.legal-content a:hover {
  text-decoration-color: rgba(138, 106, 10, 0.9);
}

.legal-content strong {
  color: var(--ink);
}

.legal-note {
  margin-top: 40px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--grey05);
}

.legal-note p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.support-content {
  text-align: center;
}

.support-content p {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.legal-content a.support-email-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 26px;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (max-width: 640px) {
  .legal-content h1 {
    font-size: 32px;
  }

  .legal-content {
    padding: 40px 0 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-cta, .footer-links a { transition: none; }
  .moments-tile { transition: none; animation: none; }
  .moments-stars svg { transition: none; }
  .review, .review.is-active, .review.is-leaving { filter: none; transform: none; }
}
