/* ===========================================================================
   Fleurette — marketing site styles
   "Petal" light theme, faithful to docs/design/DESIGN-SYSTEM.md
   Self-hosted OFL fonts. No third-party CSS. Mobile-first, reduce-motion safe.
   ======================================================================== */

/* ---------- Fonts (self-hosted woff2) ---------------------------------- */
@font-face {
  font-family: "Parisienne";
  src: url("../fonts/Parisienne-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/Quicksand-VF.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/JetBrainsMono-VF.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------------------------------------------- */
:root {
  /* surfaces — Peony ("Bright pink", white background) */
  --app-bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #fff9fb;
  --surface-sunken: #fbf3f6;
  --titlebar: #fce7ee;
  --hairline: #f3dce5;

  /* rose / primary */
  --rose-script: #d64584;
  --rose: #f074a8;
  --rose-light: #f7a0c6;
  --rose-blush: #fbd3e3;
  --rose-tint: #fde6ef;
  --rose-ink: #b02766;
  --rose-ink-soft: #9e597e;

  /* text / neutral */
  --ink: #4f3a45;
  --ink-muted: #80707a;
  --ink-soft: #9a8791;
  --ink-faint: #bba3ae;

  /* accents */
  --lilac: #c58fe0;
  --lilac-ink: #7a4fb0;
  --lilac-tint: #f1e6fb;
  --mint: #ccead7;
  --mint-ink: #338758;
  --gold: #e8c77e;
  --gold-ink: #a8772e;
  --gold-tint: #fbf1c7;
  --peach: #f6c29a;
  --coral: #f08e83;
  --frost: #79add9;
  --frost-tint: #e4f0fb;

  /* gradients */
  --grad-primary: linear-gradient(135deg, #f7a0c6, #f074a8);
  --grad-premium: linear-gradient(135deg, #fbf1c7, #fce2cf);
  --grad-bg: radial-gradient(1200px 600px at 82% -12%, #fde6ef 0%, rgba(253, 230, 239, 0) 60%),
    radial-gradient(900px 520px at 0% 8%, #f1e6fb 0%, rgba(241, 230, 251, 0) 55%);

  /* shadows (soft, pink-tinted, never gray) */
  --shadow-card: 0 12px 28px -18px rgba(240, 116, 168, 0.45);
  --shadow-elevated: 0 18px 44px -20px rgba(240, 116, 168, 0.5);
  --shadow-btn: 0 12px 26px -10px rgba(214, 69, 132, 0.6);

  /* radius */
  --r-btn: 14px;
  --r-card: 22px;
  --r-pill: 999px;

  /* type */
  --font-display: "Parisienne", "Snell Roundhand", cursive;
  --font-ui: "Quicksand", ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* layout */
  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* ---------- Reset / base ----------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 500;
  color: var(--ink);
  background-color: var(--app-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}
/* ensure the hidden attribute always wins over component display rules */
[hidden] {
  display: none !important;
}
a {
  color: var(--rose-ink);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.4em;
  color: var(--ink);
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 2px;
  border-radius: 6px;
}

/* skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--surface);
  color: var(--rose-ink);
  padding: 10px 16px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-card);
  z-index: 200;
}
.skip-link:focus {
  left: 12px;
}

/* ---------- Layout helpers --------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section {
  padding-block: clamp(56px, 9vw, 104px);
}
.eyebrow {
  font-size: clamp(0.72rem, 1.4vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-script);
  margin: 0 0 0.8em;
}
.display {
  font-family: var(--font-display);
  color: var(--rose-script);
  font-weight: 400;
  line-height: 1.05;
}
.section-head {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
h2.section-title {
  font-size: clamp(1.7rem, 4.2vw, 2.7rem);
}
h2.section-title .script {
  font-family: var(--font-display);
  color: var(--rose-script);
  font-weight: 400;
  font-size: 1.18em;
}
.lede {
  font-size: clamp(1rem, 2.1vw, 1.18rem);
  color: var(--ink-muted);
}

/* ---------- Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85em 1.5em;
  border-radius: var(--r-btn);
  border: 0;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.34, 0.12, 0.3, 1), box-shadow 0.18s ease;
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  box-shadow: 0 16px 32px -10px rgba(224, 102, 153, 0.78);
}
.btn-secondary {
  background: var(--rose-tint);
  color: var(--rose-ink);
}
.btn-secondary:hover {
  background: var(--rose-blush);
}
.btn-ghost {
  background: transparent;
  color: var(--rose-ink);
  border: 1.5px solid var(--rose-blush);
}

/* App Store badge link */
.badge-link {
  display: inline-block;
  line-height: 0;
  border-radius: 12px;
  transition: transform 0.18s ease;
}
.badge-link:hover {
  transform: translateY(-1px);
}
.badge-link img {
  height: 52px;
  width: auto;
}

/* ---------- Header / nav ----------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(1.4) blur(12px);
  background: rgba(255, 247, 250, 0.72);
  border-bottom: 1px solid var(--hairline);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--rose-script);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 2px; /* room for Parisienne left swash */
}
.wordmark:hover {
  text-decoration: none;
}
.wordmark svg {
  width: 26px;
  height: 26px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: var(--r-pill);
}
.nav-links a:hover {
  color: var(--rose-ink);
  background: var(--rose-tint);
  text-decoration: none;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  background: var(--rose-tint);
  border: 0;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  color: var(--rose-ink);
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(255, 247, 250, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hairline);
    padding: 12px var(--gutter) 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a {
    padding: 12px 14px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-cta .btn,
  .nav-cta .badge-link {
    display: none;
  }
}

/* ---------- Hero -------------------------------------------------------- */
.hero {
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(48px, 8vw, 96px);
  position: relative;
  overflow: hidden;
  background-image: var(--grad-bg);
  background-repeat: no-repeat;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero h1 {
  font-size: clamp(2.3rem, 6.4vw, 4.1rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.3em;
}
.hero h1 .script {
  font-family: var(--font-display);
  color: var(--rose-script);
  font-weight: 400;
  font-size: 1.12em;
  display: inline-block;
}
.hero .lede {
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
  max-width: 30ch;
  margin-bottom: 1.6em;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.trust-line {
  margin-top: 1.4em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--ink-muted);
  font-weight: 600;
}
.trust-line .dot {
  color: var(--rose-light);
}

/* hero app-window mock (holds typing demo / screenshot) */
.window-card {
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--hairline);
  overflow: hidden;
  position: relative;
}
.window-titlebar {
  background: var(--titlebar);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--hairline);
}
.tl-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.tl-dot.r {
  background: #f6a9a0;
}
.tl-dot.y {
  background: #f4cf86;
}
.tl-dot.g {
  background: #a9d8b4;
}
.window-title {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 600;
  transform: translateX(-12px);
}
.typing-demo {
  padding: clamp(20px, 3vw, 34px);
  background: radial-gradient(120% 120% at 50% 0%, #fffdfe 0%, #fdf4f8 100%);
}
.demo-metrics {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.metric-pill {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-muted);
  box-shadow: var(--shadow-card);
}
.metric-pill b {
  color: var(--rose-script);
  font-size: 0.95rem;
}
.demo-prose {
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.7vw, 1.18rem);
  line-height: 2;
  letter-spacing: 0.2px;
  color: var(--ink-faint);
}
.demo-prose .typed {
  color: var(--ink);
}
.demo-prose .active {
  background: var(--rose-blush);
  color: var(--rose-ink);
  border-radius: 5px;
  box-shadow: 0 0 0 2px var(--rose);
  padding: 1px 1px;
}
.demo-foot {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.finger-hint {
  background: var(--gold-tint);
  color: var(--gold-ink);
  border-radius: var(--r-pill);
  padding: 5px 13px;
  font-size: 0.78rem;
  font-weight: 700;
}
.demo-progress {
  flex: 1;
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--rose-blush);
  overflow: hidden;
}
.demo-progress > span {
  display: block;
  height: 100%;
  width: 54%;
  border-radius: var(--r-pill);
  background: var(--grad-primary);
}

/* floating petals */
.petal {
  position: absolute;
  width: 26px;
  height: 26px;
  opacity: 0.55;
  pointer-events: none;
  animation: drift 9s ease-in-out infinite;
}
.petal.p2 {
  animation-delay: 1.6s;
  animation-duration: 11s;
}
.petal.p3 {
  animation-delay: 3.1s;
  animation-duration: 13s;
}
@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(14deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .petal {
    animation: none;
  }
}

/* ---------- Genre chips ------------------------------------------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

/* ---------- Feature rows ------------------------------------------------ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.feature + .feature {
  margin-top: clamp(56px, 8vw, 96px);
}
.feature.reverse .feature-media {
  order: -1;
}
.feature h3 {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
}
.feature .lede {
  margin-bottom: 1.2em;
}
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.feature-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-weight: 500;
  color: var(--ink);
}
.feature-list .tick {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--mint-ink);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.feature-list .tick svg {
  width: 13px;
  height: 13px;
}
.feature-media .window-card {
  box-shadow: var(--shadow-elevated);
}
/* screenshot placeholder slot */
.shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--surface-sunken);
  display: grid;
  place-items: center;
  color: var(--ink-faint);
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- How it works ------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 28px);
}
.step {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.step .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--rose-light);
  line-height: 1;
  margin-bottom: 10px;
}
.step h3 {
  font-size: 1.15rem;
}
.step p {
  color: var(--ink-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Pricing ----------------------------------------------------- */
.pricing-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 760px;
  margin-inline: auto;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-card);
  position: relative;
}
.plan.best {
  border: 2px solid var(--rose);
  box-shadow: var(--shadow-elevated);
}
.plan .tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-btn);
  white-space: nowrap;
}
.plan h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.price {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  color: var(--rose-script);
  line-height: 1;
  margin: 8px 0 2px;
}
.price small {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.price-sub {
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.pricing-note {
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-top: 22px;
}
.included {
  max-width: 760px;
  margin: 28px auto 0;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.included li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}
.included .tick {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--mint-ink);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.included .tick svg {
  width: 12px;
  height: 12px;
}

/* ---------- Newsletter -------------------------------------------------- */
.newsletter {
  position: relative;
}
.newsletter-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-elevated);
  padding: clamp(30px, 5vw, 56px);
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  background-image: var(--grad-bg);
}
.newsletter-card h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}
.newsletter-card h2 .script {
  font-family: var(--font-display);
  color: var(--rose-script);
  font-weight: 400;
  font-size: 1.18em;
}
.nl-form {
  display: flex;
  gap: 12px;
  margin: 24px auto 0;
  max-width: 480px;
  flex-wrap: wrap;
  justify-content: center;
}
.nl-form input[type="email"] {
  flex: 1 1 240px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85em 1.2em;
  border-radius: var(--r-btn);
  border: 1.5px solid var(--rose-blush);
  background: var(--surface);
  color: var(--ink);
}
.nl-form input[type="email"]::placeholder {
  color: var(--ink-faint);
}
.nl-form input[type="email"]:focus-visible {
  border-color: var(--rose);
  outline: none;
  box-shadow: 0 0 0 3px var(--rose-tint);
}
.nl-form .btn {
  flex: 0 0 auto;
}
.nl-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.nl-msg {
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 1.2em;
}
.nl-msg.ok {
  color: var(--mint-ink);
}
.nl-msg.err {
  color: var(--coral);
}
.nl-fineprint {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.nl-success {
  text-align: center;
  padding: 6px 0 2px;
  animation: bloomIn 0.5s cubic-bezier(0.34, 0.12, 0.3, 1) both;
}
.nl-success:focus {
  outline: none;
}
.nl-success-flower {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 4px;
}
.nl-success h3 {
  font-family: var(--font-display);
  color: var(--rose-script);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  margin: 0 0 6px;
}
.nl-success p {
  color: var(--ink-muted);
  max-width: 44ch;
  margin: 0 auto;
}
@keyframes bloomIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nl-success {
    animation: none;
  }
}

/* ---------- FAQ --------------------------------------------------------- */
.faq {
  max-width: 760px;
  margin-inline: auto;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 4px 22px;
  margin-bottom: 14px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--ink);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--rose);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: 0 0 16px;
  color: var(--ink-muted);
}

/* ---------- Footer ------------------------------------------------------ */
.site-footer {
  background: var(--surface-alt);
  border-top: 1px solid var(--hairline);
  padding-block: clamp(48px, 7vw, 72px) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
}
.footer-brand .wordmark {
  font-size: 2.2rem;
}
.footer-brand p {
  color: var(--ink-muted);
  max-width: 30ch;
  margin-top: 8px;
  font-size: 0.95rem;
}
.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 6px 0 14px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-col a {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.footer-col a:hover {
  color: var(--rose-ink);
}
.footer-bottom {
  margin-top: clamp(32px, 5vw, 48px);
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* ---------- Legal / content pages -------------------------------------- */
.page-hero {
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(20px, 3vw, 32px);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
.page-hero h1 .script {
  font-family: var(--font-display);
  color: var(--rose-script);
  font-weight: 400;
}
.legal {
  max-width: 760px;
  margin-inline: auto;
  padding-bottom: clamp(56px, 9vw, 96px);
}
.legal .updated {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 32px;
}
.legal h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  color: var(--rose-ink);
}
.legal h3 {
  font-size: 1.05rem;
  margin-top: 26px;
}
.legal p,
.legal li {
  color: var(--ink);
  font-weight: 500;
}
.legal ul {
  padding-left: 22px;
}
.legal li {
  margin-bottom: 8px;
}
.legal a {
  color: var(--rose-ink);
  text-decoration: underline;
}

/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 920px) {
  .hero-grid,
  .feature {
    grid-template-columns: 1fr;
  }
  .feature.reverse .feature-media {
    order: 0;
  }
  .hero .lede {
    max-width: 46ch;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .pricing-wrap,
  .included {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
