/* ── Design tokens ─────────────────────────────────────── */
:root {
  color-scheme: light;

  --bg: #f6f4f7;
  --bg-soft: #fbfafc;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --surface-strong: #121214;
  --surface-alt: #f0edf3;
  --border: rgba(28, 28, 30, 0.08);
  --border-strong: rgba(28, 28, 30, 0.14);

  --text: #17171a;
  --text-secondary: #5c5c65;
  --text-muted: #8f8f99;

  --accent: #dc4444;
  --accent-soft: rgba(220, 68, 68, 0.12);
  --success: #34c759;

  --shadow-soft: 0 20px 48px rgba(18, 18, 20, 0.08);
  --shadow-strong: 0 30px 90px rgba(13, 13, 15, 0.12);

  --radius-card: 28px;
  --radius-pill: 999px;

  --content-width: calc(100vw - 2rem);
  --section-padding: 3rem 0;
}

@media (min-width: 640px) {
  :root {
    --content-width: calc(100vw - 2.5rem);
  }
}

@media (min-width: 1024px) {
  :root {
    --content-width: min(1180px, calc(100vw - 3rem));
  }
}

/* ── Reset & base ─────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Heebo", "Noto Sans Hebrew", sans-serif;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  direction: rtl;
  text-align: start;
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 96, 96, 0.18), transparent 28%),
    radial-gradient(circle at 0% 25%, rgba(220, 68, 68, 0.08), transparent 22%),
    linear-gradient(180deg, #fcfbfd 0%, var(--bg) 35%, #efebf2 100%);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

ul {
  margin: 0;
  padding-right: 1.125rem;
}

/* ── Skip link (a11y) ─────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  right: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--surface-strong);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 1rem;
}

/* ── Site shell ───────────────────────────────────────── */
.site-shell {
  width: var(--content-width);
  margin: 0.5rem auto 1rem;
  padding: 0.625rem 0.5rem 1.5rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.32);
  box-shadow: var(--shadow-strong);
  overflow: clip;
}

@media (min-width: 640px) {
  .site-shell {
    margin: 1rem auto;
    padding: 0.875rem 0.875rem 2rem;
    border-radius: 2rem;
  }
}

@media (min-width: 1024px) {
  .site-shell {
    margin: 1.25rem auto;
    padding: 0.875rem 0.875rem 2.5rem;
    border-radius: 2.375rem;
  }
}

.landing-page .site-shell {
  width: 100%;
  margin: 0;
  padding: 0 0 3.5rem;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0.5rem;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  margin-bottom: 1.25rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 16px 38px rgba(16, 16, 18, 0.08);
}

@media (min-width: 1024px) {
  .site-header {
    top: 0.875rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 1.625rem;
  }
}

.landing-page .site-header {
  width: var(--content-width);
  margin-inline: auto;
  margin-top: 0.75rem;
}

@media (min-width: 1024px) {
  .landing-page .site-header {
    margin-top: 1.125rem;
  }
}

/* ── Brand ────────────────────────────────────────────── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 0.875rem;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: 0 16px 34px rgba(220, 68, 68, 0.18);
}

@media (min-width: 640px) {
  .brand-mark {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1.125rem;
  }
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  gap: 0.125rem;
}

.brand-name {
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 800;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Navigation ───────────────────────────────────────── */
.site-nav {
  display: none;
  gap: 1rem;
}

.site-nav a,
.header-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.header-link--filled {
  min-height: 2.75rem;
  padding: 0 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--surface-strong);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 12px 26px rgba(18, 18, 20, 0.16);
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
    justify-content: center;
  }

  .header-actions {
    display: inline-flex;
  }

  .nav-toggle {
    display: none !important;
  }
}

/* ── Hamburger toggle ─────────────────────────────────── */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.3125rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile menu open state ───────────────────────────── */
.site-header.is-open {
  flex-wrap: wrap;
}

.site-header.is-open .site-nav,
.site-header.is-open .header-actions {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .site-header.is-open .site-nav,
  .site-header.is-open .header-actions {
    width: auto;
    padding-top: 0;
    border-top: 0;
  }
}

/* ── Sections ─────────────────────────────────────────── */
.section {
  width: 100%;
  padding: 0.875rem 0.625rem;
}

.landing-page .section {
  padding: var(--section-padding);
}

.landing-page .hero-grid,
.landing-page .section-heading,
.landing-page .section-note,
.landing-page .value-grid,
.landing-page .screen-block,
.landing-page .steps-grid,
.landing-page .utility-grid,
.landing-page .cta-card,
.landing-page .footer {
  width: var(--content-width);
  margin-inline: auto;
}

/* ── Eyebrow label ────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 1.625rem;
  height: 2px;
  border-radius: var(--radius-pill);
  background: currentColor;
}

/* ── Hero ─────────────────────────────────────────────── */
.hero-section {
  display: grid;
  gap: 1.625rem;
}

.landing-page .hero-section {
  min-height: auto;
  display: flex;
  align-items: center;
  padding-top: 1.25rem;
  padding-bottom: 2.75rem;
}

@media (min-width: 1024px) {
  .landing-page .hero-section {
    min-height: calc(100svh - 120px);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.landing-page .hero-section > .hero-grid {
  width: var(--content-width);
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
    gap: 1.75rem;
  }

  .landing-page .hero-section > .hero-grid {
    max-width: 1040px;
    grid-template-columns: minmax(0, 460px) minmax(0, 500px);
    justify-content: center;
    column-gap: clamp(2.25rem, 5vw, 4.5rem);
  }
}

/* ── Hero copy ────────────────────────────────────────── */
.hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
  justify-self: stretch;
  gap: 1.125rem;
  max-width: 100%;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-copy {
    justify-items: start;
    text-align: start;
    max-width: 500px;
  }
}

.hero-product {
  display: grid;
  justify-items: center;
  gap: 1.125rem;
}

@media (min-width: 1024px) {
  .hero-product {
    justify-items: start;
  }
}

.hero-product__icon {
  width: 4.5rem;
  height: 4.5rem;
  flex: 0 0 auto;
  border-radius: 1.375rem;
  box-shadow: 0 22px 48px rgba(220, 68, 68, 0.2);
}

@media (min-width: 640px) {
  .hero-product__icon {
    width: 6rem;
    height: 6rem;
    border-radius: 1.75rem;
  }
}

.hero-product__copy {
  display: grid;
  gap: 0.875rem;
  justify-items: center;
}

@media (min-width: 1024px) {
  .hero-product__copy {
    justify-items: start;
  }
}

.hero-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  font-size: clamp(3.6rem, 8vw, 6.1rem);
  font-weight: 900;
  line-height: 0.92;
  padding-top: 0.04em;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, #f06060 0%, #dc4444 48%, #ff8c66 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-wordmark__icon {
  width: 0.72em;
  height: 0.72em;
  border-radius: 0.18em;
  box-shadow: 0 12px 32px rgba(220, 68, 68, 0.22);
  flex-shrink: 0;
}

.hero-tagline {
  max-width: 24ch;
  font-size: clamp(1rem, 1.28vw, 1.26rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.hero-product__copy > span:last-child {
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero-copy h1 {
  margin: 0;
  max-width: none;
  text-align: start;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

@media (min-width: 1024px) {
  .hero-copy h1 {
    max-width: 11ch;
  }
}

/* ── Shared text styles ───────────────────────────────── */
.hero-lead,
.hero-copy p,
.section-heading p,
.screen-copy p,
.value-card p,
.step-card p,
.utility-card p,
.cta-copy p {
  margin: 0;
  text-align: start;
  color: var(--text-secondary);
  line-height: 1.75;
}

.hero-lead {
  max-width: 48ch;
  font-size: 0.98rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-lead {
    text-align: start;
  }
}

/* ── Hero highlights ──────────────────────────────────── */
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 340px;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .hero-highlights {
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .hero-highlights {
    justify-content: flex-start;
  }
}

.hero-highlights span {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(23, 23, 26, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 700;
}

/* ── Store badges ─────────────────────────────────────── */
.store-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

@media (min-width: 480px) {
  .store-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
}

@media (min-width: 1024px) {
  .store-badges {
    justify-content: flex-start;
  }
}

.store-badge {
  min-height: 3.5rem;
  padding: 0.625rem 1.125rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid #1b1b1d;
  background: #111114;
  color: #fff;
  transition: opacity 0.2s ease;
}

.store-badge:hover {
  opacity: 0.85;
}

@media (min-width: 480px) {
  .store-badge {
    min-width: 11rem;
    min-height: 4rem;
    padding: 0.75rem 1.125rem;
    border-radius: 1.25rem;
  }
}

.store-badge--light {
  border-color: #d7d2da;
  background: #fff;
  color: #101012;
}

.store-badge__icon {
  width: 1.625rem;
  height: 1.625rem;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .store-badge__icon {
    width: 1.875rem;
    height: 1.875rem;
  }
}

.store-badge__text {
  display: grid;
  gap: 0;
}

.store-badge__overline {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.72;
  line-height: 1.3;
}

@media (min-width: 480px) {
  .store-badge__overline {
    font-size: 0.68rem;
  }
}

.store-badge__title {
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 800;
}

@media (min-width: 480px) {
  .store-badge__title {
    font-size: 1.2rem;
  }
}

/* ── Hero visual ──────────────────────────────────────── */
.hero-visual {
  position: relative;
  min-height: 480px;
  overflow: visible;
  border-radius: 0 0 2rem 2rem;
}

@media (min-width: 640px) {
  .hero-visual {
    min-height: 520px;
  }
}

@media (min-width: 1024px) {
  .hero-visual {
    min-height: min(62vh, 560px);
    overflow: visible;
    border-radius: 0;
  }
}

/* ── Hero phones (absolute within hero-visual) ───────── */
.hero-phone.hero-phone {
  position: absolute;
}

.hero-phone--front {
  z-index: 2;
  top: 0;
  left: 50%;
  transform: translateX(-75%);
}

.hero-phone--front.device-mock {
  width: min(220px, 55%);
}

.hero-phone--back {
  z-index: 1;
  top: 2rem;
  left: 50%;
  transform: translateX(-10%) rotate(6deg);
}

.hero-phone--back.device-mock {
  width: min(190px, 48%);
}

@media (min-width: 640px) {
  .hero-phone--front.device-mock {
    width: min(260px, 48%);
  }

  .hero-phone--front {
    transform: translateX(-70%);
  }

  .hero-phone--back.device-mock {
    width: min(230px, 42%);
  }

  .hero-phone--back {
    top: 3rem;
    transform: translateX(-5%) rotate(6deg);
  }
}

@media (min-width: 1024px) {
  .hero-phone--front.device-mock {
    width: clamp(250px, 24vw, 300px);
  }

  .hero-phone--front {
    transform: translateX(calc(-58% - 100px));
    top: 0.5rem;
  }

  .hero-phone--back.device-mock {
    width: clamp(200px, 19vw, 248px);
  }

  .hero-phone--back {
    transform: translateX(calc(18% - 100px)) rotate(6deg);
    top: 2rem;
  }
}

/* ── Cards & panels shared shadow ─────────────────────── */
.section-panel,
.screen-block,
.utility-card,
.cta-card,
.legal-card {
  box-shadow: var(--shadow-soft);
}

/* ── Device mocks (frame + screenshot) ───────────────── */
.device-mock {
  position: relative;
  width: min(280px, 100%);
  filter: drop-shadow(0 22px 40px rgba(17, 17, 20, 0.14));
}

@media (min-width: 640px) {
  .device-mock {
    width: min(320px, 100%);
  }
}

.device-mock--iphone {
  aspect-ratio: 703 / 1411;
}

.device-mock__frame {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.device-mock__screen {
  position: absolute;
  z-index: 1;
  top: 3.05%;
  left: 6.61%;
  width: 86.78%;
  height: 93.9%;
  object-fit: cover;
  border-radius: 10.5% / 5%;
}

/* ── Shared section headings ──────────────────────────── */
.trust-item strong,
.screen-copy h2,
.value-card h3,
.step-card h3,
.utility-card h3,
.cta-copy h2 {
  text-align: start;
}

.section-panel,
.screen-block,
.cta-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.72);
}

@media (min-width: 640px) {
  .section-panel,
  .screen-block,
  .cta-card {
    border-radius: 2.125rem;
  }
}

.section-panel {
  padding: 1.5rem 1.25rem;
}

@media (min-width: 640px) {
  .section-panel {
    padding: 1.75rem;
  }
}

.landing-page .section-panel {
  padding: 3rem 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08));
  box-shadow: none;
}

@media (min-width: 1024px) {
  .landing-page .section-panel {
    padding: 5.25rem 0;
  }
}

.landing-page .screen-section {
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  .landing-page .screen-section {
    padding: 5.5rem 0;
  }
}

.landing-page .cta-section {
  padding: 3rem 0 2.5rem;
}

@media (min-width: 1024px) {
  .landing-page .cta-section {
    padding: 6rem 0 4rem;
  }
}

/* ── Section heading ──────────────────────────────────── */
.section-heading {
  display: grid;
  justify-items: start;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.section-note {
  margin: 1rem 0 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
  text-align: start;
}

.section-heading h2 {
  margin: 0;
  max-width: none;
  text-align: start;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

@media (min-width: 640px) {
  .section-heading h2 {
    max-width: 19ch;
  }
}

.section-heading--compact h2 {
  max-width: none;
}

/* ── Grids: value, steps, utility ─────────────────────── */
.value-grid,
.steps-grid,
.utility-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .value-grid,
  .steps-grid,
  .utility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .utility-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ── Cards: value, step, utility ──────────────────────── */
.value-card,
.step-card,
.utility-card {
  padding: 1.25rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.76);
}

@media (min-width: 640px) {
  .value-card,
  .step-card,
  .utility-card {
    padding: 1.375rem;
  }
}

.value-card--accent {
  background: linear-gradient(180deg, rgba(220, 68, 68, 0.1), rgba(255, 255, 255, 0.88));
}

.value-card__number {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  margin-inline-start: auto;
  border-radius: 1rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.utility-card {
  background: rgba(255, 255, 255, 0.78);
}

/* ── Screen showcase section ──────────────────────────── */
.screen-section {
  display: grid;
  gap: 1.375rem;
}

.screen-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 1.25rem;
}

@media (min-width: 768px) {
  .screen-block {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    padding: 2rem;
  }
}

.screen-block--dark {
  border-color: #27272b;
  background: linear-gradient(180deg, #161619, #111114);
}

.screen-block--dark .screen-copy h2,
.screen-block--dark .screen-copy p,
.screen-block--dark .screen-points li {
  color: #fff;
}

.screen-block--dark .screen-copy p,
.screen-block--dark .screen-points li {
  color: rgba(255, 255, 255, 0.72);
}

.screen-copy {
  display: grid;
  justify-items: start;
  gap: 0.875rem;
}

.screen-copy h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.screen-points {
  margin: 0;
  padding-right: 1.125rem;
  display: grid;
  gap: 0.5rem;
  color: var(--text-secondary);
}

/* ── Screen art ───────────────────────────────────────── */
.screen-art {
  justify-self: center;
  width: min(280px, 100%);
  display: grid;
  place-items: center;
}

@media (min-width: 640px) {
  .screen-art {
    width: min(320px, 100%);
  }
}

.screen-art .device-mock {
  width: 100%;
}


/* ── Step card index ──────────────────────────────────── */
.step-card__index {
  display: inline-flex;
  width: 2.375rem;
  height: 2.375rem;
  align-items: center;
  justify-content: center;
  margin-inline-start: auto;
  border-radius: 0.875rem;
  background: var(--surface-alt);
  color: var(--accent);
  font-weight: 800;
}

/* ── CTA section ──────────────────────────────────────── */
.cta-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 1.25rem;
  border-color: #27272b;
  background: linear-gradient(180deg, #141417, #0f0f12);
}

@media (min-width: 768px) {
  .cta-card {
    grid-template-columns: minmax(0, 1.1fr) auto;
    gap: 1.5rem;
    padding: 1.875rem;
  }
}

.cta-copy {
  display: grid;
  justify-items: start;
  gap: 0.875rem;
}

.cta-copy h2,
.cta-copy p {
  color: #fff;
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.cta-actions {
  display: grid;
  gap: 0.75rem;
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  display: grid;
  gap: 1rem;
  padding-top: 0.625rem;
}

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

@media (min-width: 640px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
}

.footer-links a,
.footer p {
  color: var(--text-secondary);
  text-align: start;
}

.footer p {
  margin: 0;
  line-height: 1.7;
}

/* ── Legal pages ──────────────────────────────────────── */
.legal-main {
  display: grid;
  gap: 1.375rem;
}

.legal-hero {
  display: grid;
  justify-items: start;
  gap: 0.875rem;
  padding: 1rem 0.75rem 0.5rem;
}

@media (min-width: 640px) {
  .legal-hero {
    padding: 1rem 1.125rem 0.5rem;
  }
}

.legal-hero h1 {
  margin: 0;
  text-align: start;
  font-size: clamp(1.75rem, 4.5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.legal-hero p,
.legal-card p,
.legal-card li {
  text-align: start;
  color: var(--text-secondary);
  line-height: 1.75;
}

.legal-grid,
.support-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.legal-card {
  padding: 1.25rem;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.72);
}

@media (min-width: 640px) {
  .legal-card {
    padding: 1.5rem;
  }
}

.legal-card h2 {
  margin: 0 0 0.75rem;
  text-align: start;
}

.legal-card ul {
  margin: 0;
  padding-right: 1.125rem;
}

.legal-card li + li {
  margin-top: 0.5rem;
}

.legal-card a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-list {
  display: grid;
  gap: 0.625rem;
}

.back-link {
  color: var(--text-secondary);
  font-weight: 700;
}

/* ── Pill links (legal header actions) ────────────────── */
.pill-link {
  min-height: 2.75rem;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
}

.pill-link--light {
  background: var(--surface-alt);
  color: var(--text);
}

/* ── Reveal animations ────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(1.125rem);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
