/* ============================================================
   Femininity — marketing site styles (v2, light only)
   Palette transcribed from the app's Compose theme:
   composeApp/src/commonMain/kotlin/presentation/theme/Colors.kt
   Display face: Fraunces (OFL). Body/UI: Nunito (from the app).
   All fonts self-hosted — the site makes no external requests.
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../assets/fonts/nunito_regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../assets/fonts/nunito_medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../assets/fonts/nunito_semi_bold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../assets/fonts/nunito_bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Committed palette — soft, warm, feminine (light only) */
  --ground: #fff7fb;          /* blush white */
  --cream: #fdf3ee;           /* warm cream for alternating sections */
  --surface: #ffffff;
  --text: #3a2230;            /* deep plum */
  --text-soft: #8a6f7b;       /* muted mauve */
  --accent: #ff4081;          /* softPink — brand primary */
  --accent-2: #c2185b;        /* DeepRose */

  /* App phase / accent colors */
  --champagne: #fce4ec;
  --soft-rose: #f8bbd9;
  --lavender-glow: #ede7f6;
  --soft-purple: #be91db;
  --soft-blue: #64b5f6;
  --teal: #66b2b2;
  --gold: #ffca28;
  --follicular: #ffcc80;

  /* Radii — generous, soft */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  /* Rose-tinted soft shadows */
  --shadow-soft: 0 30px 70px -30px rgba(194, 24, 91, 0.30);
  --shadow-card: 0 18px 48px -24px rgba(148, 60, 96, 0.28);
  --shadow-device: 0 40px 80px -30px rgba(90, 30, 55, 0.45);

  --maxw: 1140px;
  --gutter: clamp(1.25rem, 5vw, 3rem);

  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ground);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section {
  padding-block: clamp(3.5rem, 9vw, 7rem);
  position: relative;
}

.section-cream {
  background: var(--cream);
}

.section-head {
  max-width: 46rem;
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  margin-top: 1rem;
}

.section-head .em {
  font-style: italic;
  color: var(--accent-2);
}

.section-head p {
  margin-top: 1.1rem;
  font-size: 1.12rem;
  color: var(--text-soft);
}

/* ---------- Buttons & badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 14px 30px -12px rgba(255, 64, 129, 0.75);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -12px rgba(255, 64, 129, 0.85);
}

.btn-ghost {
  color: var(--accent-2);
  border-color: rgba(255, 64, 129, 0.4);
  background: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* Store badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 1.3rem;
  border-radius: 16px;
  background: var(--text);
  color: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow-card);
}

.store-badge:hover {
  transform: translateY(-2px);
}

.store-badge svg,
.store-badge .store-ico {
  width: 26px;
  height: 26px;
  flex: none;
}

.store-badge .badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.store-badge .badge-text small {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  opacity: 0.85;
  text-transform: uppercase;
}

.store-badge .badge-text strong {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 247, 251, 0.82);
  border-bottom: 1px solid rgba(255, 64, 129, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 0.98rem;
}

.nav-links a {
  color: var(--text-soft);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--accent-2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* Language switcher */
.lang-switch {
  position: relative;
}

.lang-switch details > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 64, 129, 0.35);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-2);
}

.lang-switch details > summary::-webkit-details-marker {
  display: none;
}

.lang-switch details > summary::after {
  content: "▾";
  font-size: 0.8em;
  opacity: 0.7;
}

.lang-switch ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 64, 129, 0.14);
  min-width: 160px;
  z-index: 60;
}

.lang-switch li a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.lang-switch li a:hover {
  background: var(--champagne);
  color: var(--accent-2);
}

.lang-switch li a[aria-current="true"] {
  color: var(--accent-2);
  background: var(--champagne);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

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

/* ---------- Decorative blobs ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Device frame (wraps real screenshots) ---------- */
.device {
  position: relative;
  width: 244px;
  max-width: 68vw;
  aspect-ratio: 1170 / 2532;
  background: #241019;
  border-radius: 42px;
  padding: 9px;
  box-shadow: var(--shadow-device);
}

.device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
  background: #fff;
}

.device.tilt {
  transform: rotate(-3deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

.hero .blob-1 {
  width: 460px;
  height: 460px;
  background: var(--soft-rose);
  top: -120px;
  right: -80px;
}

.hero .blob-2 {
  width: 380px;
  height: 380px;
  background: var(--lavender-glow);
  bottom: -140px;
  left: -120px;
  opacity: 0.7;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  font-weight: 400;
  margin-top: 1.2rem;
}

.hero-copy h1 .accent {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(120deg, var(--accent) 0%, var(--soft-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy .lead {
  margin-top: 1.4rem;
  font-size: 1.22rem;
  color: var(--text-soft);
  max-width: 34rem;
}

.hero-actions {
  margin-top: 2rem;
}

.trust-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  list-style: none;
  padding: 0;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-row li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.trust-row li:nth-child(2)::before { background: var(--soft-purple); }
.trust-row li:nth-child(3)::before { background: var(--teal); }
.trust-row li:nth-child(4)::before { background: var(--gold); }

/* Hero visual — real screenshot inside a soft halo ring */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
}

.hero-devices {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s ease-in-out infinite;
}

.hero-devices .device {
  width: clamp(112px, 15vw, 166px);
  box-shadow: var(--shadow-device);
}

.hero-devices .device.mid {
  width: clamp(132px, 18vw, 196px);
  z-index: 2;
}

.hero-devices .device.left {
  transform: rotate(-9deg) translateY(14px);
  margin-right: -24px;
  z-index: 1;
}

.hero-devices .device.right {
  transform: rotate(9deg) translateY(14px);
  margin-left: -24px;
  z-index: 1;
}

/* ---------- Feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.feature-row + .feature-row {
  border-top: 1px solid rgba(255, 64, 129, 0.1);
}

.feature-row.reverse .feature-visual {
  order: -1;
}

.feature-copy h3 {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  font-weight: 500;
  margin-top: 0.9rem;
}

.feature-copy p {
  margin-top: 0.9rem;
  color: var(--text-soft);
  font-size: 1.1rem;
}

.feature-list {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.feature-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 600;
}

.feature-list li::before {
  content: "✓";
  color: var(--accent-2);
  font-weight: 800;
  flex: none;
}

/* Visual side — soft pastel stage behind the device */
.feature-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.feature-stage {
  position: absolute;
  inset: 10% 6%;
  border-radius: var(--r-xl);
  z-index: 0;
}

.fv-rose .feature-stage { background: linear-gradient(155deg, var(--champagne), var(--soft-rose)); }
.fv-lav .feature-stage { background: linear-gradient(155deg, var(--lavender-glow), #d9c9ee); }
.fv-teal .feature-stage { background: linear-gradient(155deg, #dff1f1, #bfe3e3); }
.fv-gold .feature-stage { background: linear-gradient(155deg, #fff6de, #ffe6a6); }

.feature-visual .device,
.feature-visual .mock {
  position: relative;
  z-index: 1;
}

/* ---------- CSS mockups (only where no screenshot exists) ---------- */
.mock {
  width: 100%;
  max-width: 330px;
}

.chat {
  display: grid;
  gap: 0.7rem;
}

.bubble {
  padding: 0.78rem 1rem;
  border-radius: 18px;
  font-size: 0.95rem;
  font-weight: 600;
  max-width: 88%;
  box-shadow: var(--shadow-card);
}

.bubble.user {
  justify-self: end;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-bottom-right-radius: 5px;
}

.bubble.bot {
  justify-self: start;
  background: #fff;
  border-bottom-left-radius: 5px;
}

/* Illustration art (square, not a device screenshot) */
.feature-art {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
}

/* ---------- Languages strip ---------- */
.lang-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 4rem);
}

.lang-devices {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.lang-devices .device { width: 190px; }
.lang-devices .device:first-child { margin-top: 1.6rem; }

.lang-chips {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.lang-chips li {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-card);
}

/* ---------- Lifecycle ---------- */
.lifecycle {
  background: linear-gradient(140deg, #3a2230, #5c2740);
  color: #fff;
}

.lifecycle .section-head h2 { color: #fff; }
.lifecycle .section-head .em { color: var(--soft-rose); }
.lifecycle .section-head p { color: rgba(255, 255, 255, 0.78); }

.phases {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.phase-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.3rem;
  position: relative;
  overflow: hidden;
}

.phase-card .num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.phase-card h3 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 500;
  margin-top: 0.6rem;
}

.phase-card p {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

.phase-card .swatch {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.phase-card.p1 .swatch { background: var(--accent); }
.phase-card.p2 .swatch { background: var(--follicular); }
.phase-card.p3 .swatch { background: var(--soft-purple); }
.phase-card.p4 .swatch { background: var(--teal); }

/* ---------- Privacy ---------- */
.privacy-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.privacy-badge {
  aspect-ratio: 1;
  max-width: 320px;
  margin-inline: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff, var(--champagne));
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}

.privacy-badge .lock {
  width: 42%;
  aspect-ratio: 1;
  border-radius: 28%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2.6rem;
}

.privacy-illustration {
  max-width: 360px;
  margin-inline: auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: radial-gradient(circle at 50% 30%, #fff, var(--champagne));
}

.privacy-illustration img {
  width: 100%;
  height: auto;
}

.privacy-points {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.privacy-points li {
  display: flex;
  gap: 0.8rem;
}

.privacy-points strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
}

.privacy-points span.txt {
  color: var(--text-soft);
}

.privacy-points .ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--champagne);
  display: grid;
  place-items: center;
  color: var(--accent-2);
  font-size: 1.2rem;
}

/* ---------- Final CTA ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  text-align: center;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 7vw, 4.5rem) var(--gutter);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 400;
}

.cta-band h2 .em { font-style: italic; }

.cta-band p {
  margin: 1rem auto 2rem;
  max-width: 34rem;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.92);
}

.cta-band .store-badges {
  justify-content: center;
}

/* QR codes */
.qr-row {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.qr {
  margin: 0;
  background: #fff;
  border-radius: var(--r-md);
  padding: 0.85rem 0.85rem 0.6rem;
  box-shadow: var(--shadow-card);
  width: 150px;
}

.qr img {
  width: 128px;
  height: 128px;
  margin-inline: auto;
}

.qr figcaption {
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text);
  text-align: center;
}

.cta-band .store-badge {
  background: #fff;
  color: var(--text);
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: clamp(2.5rem, 6vw, 4rem) 2rem;
  color: var(--text-soft);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 64, 129, 0.15);
}

.footer-brand {
  max-width: 22rem;
}

.footer-brand .brand {
  margin-bottom: 0.8rem;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-cols h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
  margin: 0 0 0.8rem;
}

.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-weight: 600;
}

.footer-cols a:hover {
  color: var(--accent-2);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
}

/* ---------- Legal pages ---------- */
.legal-hero {
  padding-block: clamp(2.5rem, 6vw, 4rem) 1rem;
}

.legal-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  margin-top: 1rem;
}

.draft-banner {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  background: #fff6da;
  border: 1.5px solid var(--gold);
  color: #7a5b00;
  font-weight: 700;
  display: flex;
  gap: 0.7rem;
}

.legal-note {
  margin-top: 1.4rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--champagne);
  border-left: 4px solid var(--accent);
  color: var(--text-soft);
  font-size: 0.95rem;
}

.legal-summary {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.legal-summary h2 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 500;
}

.legal-summary ul {
  margin: 0;
  padding-left: 1.1rem;
}

.legal-summary li {
  margin-top: 0.45rem;
  color: var(--text-soft);
}

.legal-toc {
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  border-radius: var(--r-md);
  background: var(--cream);
}

.legal-toc h2 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.legal-toc ol {
  margin: 0;
  columns: 2;
  gap: 2rem;
  padding-left: 1.2rem;
  color: var(--text-soft);
  font-weight: 600;
}

.legal-toc a:hover {
  color: var(--accent-2);
}

.legal-body h2 {
  scroll-margin-top: 90px;
}

@media (max-width: 520px) {
  .legal-toc ol {
    columns: 1;
  }
}

.legal-body {
  max-width: 46rem;
  padding-bottom: 4rem;
}

.legal-body h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 2.5rem;
}

.legal-body p,
.legal-body li {
  color: var(--text-soft);
  margin-top: 0.8rem;
}

.legal-body ul {
  padding-left: 1.2rem;
}

.legal-meta {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid,
  .feature-row,
  .privacy-wrap,
  .lang-wrap {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-visual {
    order: 0;
  }

  .hero-visual {
    min-height: 430px;
  }

  .phases {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links,
  .nav > .btn,
  .nav > .lang-switch {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow-card);
    border-bottom: 1px solid rgba(255, 64, 129, 0.12);
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .nav.open .nav-links a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 64, 129, 0.1);
  }

  .nav.open .btn {
    display: inline-flex;
    margin-top: 1rem;
  }

  .nav.open .lang-switch {
    display: block;
    margin-top: 1rem;
  }

  .nav.open .lang-switch ul {
    position: static;
    box-shadow: none;
    border: 0;
    padding-left: 0;
  }
}

@media (max-width: 520px) {
  .phases {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
  }
}

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] .lang-switch ul {
  right: auto;
  left: 0;
}

[dir="rtl"] .privacy-points .ico,
[dir="rtl"] .feature-list li::before {
  /* logical flow already handled by dir; keep icons leading */
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
