/* ==========================================================================
   MadeSocial marketing site. Structure follows the MadeReady marketing site
   (C:\dev\madeready-demo-store\marketing-site); tokens are MadeSocial's own
   (BRAND.md). One stylesheet, no build step.

   Contrast (checked 2026-11-19):
     white on Berry #D23C77 ........ 4.51  (buttons, bold 16px+ only)
     white on Berry Ink #B32D63 .... 6.05  (button hover)
     Berry Ink on Warm White ....... 5.96  (links, eyebrows)
     Berry Ink on Blush ............ 5.22
     Plum on Blush / Warm White .... 12.45 / 14.21
     Muted #6B5A73 on Blush ........ 5.44
     Marigold on Plum .............. 8.22  (accent text on dark only)
   ========================================================================== */

:root {
  --plum: #3A1E47;
  --plum-2: #4A2A5A;
  --berry: #D23C77;
  --berry-ink: #B32D63;
  --orchid: #9C5DB9;
  --orchid-ink: #7E4699;
  --blush: #FBEAF1;
  --blush-2: #F6DCE8;
  --marigold: #FFB627;
  --white: #FFFDFB;
  --muted: #6B5A73;
  --line: #EBD5E0;
  --line-strong: #DDBCCD;
  --on-dark-muted: #E9C8F0;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(58, 30, 71, .06);
  --shadow: 0 1px 2px rgba(58, 30, 71, .05), 0 12px 32px rgba(58, 30, 71, .10);
  --shadow-lg: 0 2px 4px rgba(58, 30, 71, .05), 0 24px 60px rgba(58, 30, 71, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--plum);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--berry-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 {
  font-family: var(--font-head);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* Each sentence rides as one unit, so it never breaks mid-thought (from MadeReady). */
.s { display: inline; }
@media (min-width: 720px) { .s { display: inline-block; } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--plum); color: #fff; padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 520px) { .wrap { padding: 0 16px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 16px/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--berry); color: #fff; box-shadow: 0 6px 18px rgba(210, 60, 119, .28); }
.btn-primary:hover { background: var(--berry-ink); color: #fff; box-shadow: 0 10px 24px rgba(179, 45, 99, .32); }
.btn-outline { background: transparent; color: var(--plum); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--plum); color: var(--plum); }
.btn-light { background: #fff; color: var(--plum); }
.btn-light:hover { background: var(--blush); color: var(--plum); }

/* ---------- Eyebrows and section heads ---------- */
.eyebrow {
  display: inline-block;
  font: 600 13px/1.4 var(--font-body);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--berry-ink);
  margin-bottom: 14px;
}
.section { padding: 112px 0; }
@media (max-width: 720px) { .section { padding: 72px 0; } }
.section--blush { background: var(--blush); }
.section--plum { background: var(--plum); color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 18px; }
.section-head p { color: var(--muted); font-size: 19px; }
.section--plum .eyebrow { color: var(--marigold); }
.section--plum .section-head p { color: var(--on-dark-muted); }

/* ---------- Announcement bar ---------- */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 16px;
  background: var(--plum); color: #fff;
  font-size: 14px; text-decoration: none; text-align: center;
}
.announce:hover { text-decoration: none; }
.announce__badge {
  background: var(--marigold); color: var(--plum);
  font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 10px; border-radius: 999px;
}
.announce__cta { color: var(--on-dark-muted); font-weight: 600; }
.announce:hover .announce__cta { color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 251, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.nav[data-state="scrolled"] { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { max-width: var(--wrap); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 32px; }
.nav__home { display: inline-flex; align-items: center; line-height: 0; border-radius: 8px; }
.nav__home img { height: 50px; width: auto; margin: -4px 0 -4px -10px; }
.nav__menu { display: contents; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--plum); font-weight: 500; font-size: 15px; text-decoration: none; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--berry-ink); }
.nav__cta { min-height: 42px; padding: 9px 20px; font-size: 15px; }
.nav__toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 0; background: transparent; border-radius: 10px; cursor: pointer; color: var(--plum);
}
.nav__bars, .nav__bars::before, .nav__bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  margin: 0 auto; position: relative; transition: transform .2s var(--ease), opacity .2s;
}
.nav__bars::before, .nav__bars::after { content: ""; position: absolute; left: 0; }
.nav__bars::before { top: -7px; }
.nav__bars::after { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav__inner { padding: 12px 16px; }
  .nav__home img { height: 34px; }
  .nav__toggle { display: inline-block; }
  .nav__menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px 16px 20px; flex-direction: column; gap: 8px;
  }
  .nav__menu[data-open="true"] { display: flex; }
  .nav__links { flex-direction: column; gap: 0; margin: 0; }
  .nav__links a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 104px;
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(156, 93, 185, .16), transparent 60%),
    radial-gradient(700px 480px at 5% 90%, rgba(210, 60, 119, .10), transparent 60%),
    var(--white);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__heading { font-size: clamp(42px, 6.4vw, 76px); margin-bottom: 24px; }
.hero__heading em { font-style: italic; color: var(--berry-ink); font-variation-settings: "SOFT" 100, "WONK" 1; }
.hero__lede { font-size: 20px; color: var(--plum-2); max-width: 34em; margin-bottom: 32px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero__reassure { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 15px; }
.hero__reassure li { display: inline-flex; align-items: center; gap: 8px; }
.hero__reassure li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23B32D63' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
@media (max-width: 960px) {
  .hero { padding: 48px 0 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- The draft card (hero art) ---------- */
.stage { position: relative; max-width: 460px; margin: 0 auto; width: 100%; }
.stage__label {
  text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px;
}
.post {
  position: relative; z-index: 2;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden;
}
.post__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.post__avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: conic-gradient(from 200deg, var(--marigold), var(--berry), var(--orchid), var(--marigold));
  padding: 2px;
}
.post__avatar span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--plum); color: #fff; font: 600 12px/1 var(--font-body); }
.post__who { font-weight: 600; font-size: 14px; line-height: 1.2; }
.post__where { color: var(--muted); font-size: 12px; }
.post__status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--plum);
  background: var(--blush); padding: 4px 10px; border-radius: 999px;
}
.post__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--marigold); }
.post__img { aspect-ratio: 4 / 5; background: var(--blush-2); }
.post__img svg { width: 100%; height: 100%; }
.post__body { padding: 16px 18px 6px; font-size: 14.5px; line-height: 1.55; }
.post__body p { margin-bottom: .7em; }
.fact {
  background: linear-gradient(transparent 62%, rgba(255, 182, 39, .45) 62%);
  border-radius: 2px; position: relative;
}
.post__tags { color: var(--orchid-ink); }
.post__actions { display: flex; gap: 8px; padding: 12px 18px 18px; }
.chip-btn {
  flex: 1; min-height: 38px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: #fff; color: var(--plum); font: 600 13px/1 var(--font-body);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.chip-btn--yes { background: var(--berry); border-color: var(--berry); color: #fff; }

.float-card {
  position: absolute; z-index: 3;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: 10px 14px; font-size: 13px; line-height: 1.35;
  display: flex; align-items: center; gap: 10px;
}
.float-card strong { display: block; font-size: 13px; }
.float-card span { color: var(--muted); }
.float-card__dot { width: 30px; height: 30px; border-radius: 10px; flex: none; display: grid; place-items: center; }
.float-card--facts { left: -44px; top: 46%; }
.float-card--facts .float-card__dot { background: rgba(255, 182, 39, .25); }
.float-card--pin { right: -36px; top: 14%; }
.float-card--pin .float-card__dot { background: var(--blush); }
.float-card--sched { right: -28px; top: 52%; }
.float-card--sched .float-card__dot { background: rgba(156, 93, 185, .16); }
@media (max-width: 1100px) { .float-card--facts { left: -16px; } .float-card--pin, .float-card--sched { right: -12px; } }
@media (max-width: 520px) {
  .float-card { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin: 10px 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .float-card { animation: bob 6s var(--ease) infinite; }
  .float-card--pin { animation-delay: -2s; }
  .float-card--sched { animation-delay: -4s; }
  @keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
}

/* ---------- Per-platform tabs ---------- */
.tabs { max-width: 980px; margin: 0 auto; }
.tabs__list {
  display: flex; gap: 6px; padding: 6px; margin: 0 auto 32px; width: fit-content; max-width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.tabs__tab {
  border: 0; background: transparent; color: var(--plum);
  font: 600 15px/1 var(--font-body); padding: 12px 20px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.tabs__tab:hover { background: var(--blush); }
.tabs__tab[aria-selected="true"] { background: var(--plum); color: #fff; }
.tabs__panel {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 32px;
}
.tabs__panel[hidden] { display: none; }
.tabs__art { border-radius: var(--radius); overflow: hidden; background: var(--blush-2); }
.tabs__art svg { width: 100%; height: auto; }
.tabs__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px; background: var(--blush); color: var(--plum);
}
.tag--gold { background: rgba(255, 182, 39, .25); }
.tabs__field { margin-bottom: 18px; }
.tabs__field:last-child { margin-bottom: 0; }
.tabs__field h3 {
  font: 600 12px/1.4 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.tabs__field p { font-size: 16px; }
.tabs__why { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line-strong); color: var(--muted); font-size: 15px; }
@media (max-width: 760px) {
  .tabs__panel { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
  .tabs__art { max-width: 280px; }
}

/* ---------- How it works ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.step__num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px;
  background: var(--plum); color: #fff; font: 600 18px/1 var(--font-head);
}
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split feature (control) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(32px, 4.2vw, 46px); margin-bottom: 20px; }
.split__text p { font-size: 18px; color: var(--plum-2); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 16px; }
.checks li::before {
  content: ""; width: 26px; height: 26px; border-radius: 8px; margin-top: 1px;
  background: var(--plum) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23FFB627' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.checks strong { display: block; }
.checks span { color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.queue {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 20px;
}
.queue__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.queue__title { font: 600 18px/1.2 var(--font-head); }
.queue__count { font-size: 13px; color: var(--muted); }
.queue__item {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center;
  padding: 12px; border-radius: 14px; border: 1px solid var(--line); margin-top: 10px;
}
.queue__thumb { width: 52px; height: 52px; border-radius: 10px; overflow: hidden; }
.queue__thumb svg { width: 100%; height: 100%; }
.queue__text { min-width: 0; }
.queue__text strong { display: block; font-size: 15px; }
.queue__text span { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue__state { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.queue__state--ok { background: rgba(255, 182, 39, .25); color: var(--plum); }
.queue__state--wait { background: var(--blush); color: var(--plum); }
.queue__state--pin { background: rgba(156, 93, 185, .14); color: var(--plum); }
@media (max-width: 420px) { .queue__item { grid-template-columns: 44px 1fr; } .queue__state { grid-column: 2; justify-self: start; } .queue__thumb { width: 44px; height: 44px; } }

/* ---------- Reach grid ---------- */
.grid4 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blush); margin-bottom: 18px; color: var(--berry-ink); }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }
@media (max-width: 720px) { .grid4 { grid-template-columns: 1fr; } }

/* ---------- Family ---------- */
.family { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.family__app {
  border-radius: var(--radius); padding: 28px; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
}
.family__app--us { background: rgba(255, 255, 255, .12); border-color: rgba(255, 182, 39, .55); }
.family__name { font: 600 24px/1.2 var(--font-head); margin-bottom: 4px; }
.family__job { color: var(--marigold); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.family__app p { color: var(--on-dark-muted); font-size: 16px; }
.family__note {
  margin: 40px auto 0; max-width: 760px; text-align: center;
  padding: 20px 24px; border-radius: var(--radius); background: rgba(255, 182, 39, .12); border: 1px solid rgba(255, 182, 39, .4);
  color: #fff; font-size: 17px;
}
.family__note strong { color: var(--marigold); }
.section--plum a { color: #fff; }
@media (max-width: 860px) { .family { grid-template-columns: 1fr; } }

/* ---------- Story ---------- */
.story { max-width: 720px; margin: 0 auto; text-align: center; }
.story h2 { font-size: clamp(32px, 4.2vw, 46px); margin-bottom: 22px; }
.story p { font-size: 19px; color: var(--plum-2); }

/* ---------- Next ---------- */
.next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.next .card { position: relative; }
.next .tag { position: absolute; top: 24px; right: 24px; }
@media (max-width: 860px) { .next { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow); border-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font: 600 18px/1.4 var(--font-body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--berry-ink); border-bottom: 2px solid var(--berry-ink);
  transform: rotate(45deg); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details > p { padding: 0 24px 22px; margin: 0; color: var(--plum-2); }

/* ---------- Closing CTA + early access form ---------- */
.close {
  background:
    radial-gradient(700px 400px at 15% 0%, rgba(210, 60, 119, .35), transparent 60%),
    radial-gradient(700px 420px at 100% 100%, rgba(156, 93, 185, .45), transparent 60%),
    var(--plum);
  color: #fff;
}
.close__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.close h2 { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 18px; }
.close__lede { color: var(--on-dark-muted); font-size: 19px; }
.close .eyebrow { color: var(--marigold); }
@media (max-width: 900px) { .close__inner { grid-template-columns: 1fr; gap: 36px; } }

.form {
  background: #fff; color: var(--plum); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg);
}
.form h3 { font-size: 24px; margin-bottom: 6px; }
.form__sub { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; padding: 0; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input[type="email"], .field input[type="text"] {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--white);
  font: 400 16px/1.3 var(--font-body); color: var(--plum);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus { outline: none; border-color: var(--orchid); box-shadow: 0 0 0 4px rgba(156, 93, 185, .2); }
.field input[aria-invalid="true"] { border-color: var(--berry-ink); }
fieldset.field { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); font-size: 15px; font-weight: 500; cursor: pointer; user-select: none;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.pill input:checked + span { background: var(--plum); border-color: var(--plum); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--marigold); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; margin-bottom: 18px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--plum); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form__fine { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form__status { margin-top: 14px; font-size: 15px; font-weight: 500; min-height: 1.5em; }
.form__status[data-tone="error"] { color: var(--berry-ink); }
.form__done { text-align: center; padding: 24px 8px; }
.form__done-mark {
  width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 182, 39, .25);
}
.form__done h3 { margin-bottom: 8px; }
.form__done p { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--blush); border-top: 1px solid var(--line); padding: 64px 0 56px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.footer__home img { height: 56px; width: auto; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.footer__nav a { color: var(--plum); text-decoration: none; font-weight: 500; font-size: 15px; }
.footer__nav a:hover { color: var(--berry-ink); text-decoration: underline; }
.footer__note { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.7; margin: 8px 0 0; color: var(--muted); }
.footer__note-brand { display: block; font-style: italic; text-transform: none; letter-spacing: .02em; font-size: 14px; color: var(--berry-ink); }
.footer__legal { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Pricing page ---------- */
.page-hero { padding: 72px 0 40px; text-align: center; background: radial-gradient(800px 400px at 50% 0%, rgba(156, 93, 185, .14), transparent 70%), var(--white); }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 64px); margin-bottom: 16px; }
.page-hero p { color: var(--muted); font-size: 20px; max-width: 36em; margin: 0 auto; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 920px; margin: 0 auto; }
.plan {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.plan--pro { border: 2px solid var(--plum); box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: -14px; left: 32px; background: var(--marigold); color: var(--plum); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan h2 { font-size: 28px; margin-bottom: 6px; }
.plan__for { color: var(--muted); margin-bottom: 22px; }
.plan__price { font: 600 52px/1 var(--font-head); font-variation-settings: "SOFT" 100; margin-bottom: 6px; }
.plan__price small { font: 500 17px/1 var(--font-body); color: var(--muted); }
.plan__alt { color: var(--muted); font-size: 15px; margin-bottom: 24px; min-height: 1.5em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; }
.plan li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23B32D63' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat;
}
.plan .btn { margin-top: auto; }
.family-price {
  max-width: 920px; margin: 32px auto 0; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
  background: var(--plum); color: #fff; border-radius: var(--radius-lg); padding: 28px 32px;
}
.family-price__mark { font: 600 40px/1 var(--font-head); color: var(--marigold); }
.family-price h2 { font-size: 24px; margin-bottom: 6px; }
.family-price p { color: var(--on-dark-muted); }
.included { max-width: 920px; margin: 56px auto 0; }
.included h2 { font-size: 30px; text-align: center; margin-bottom: 24px; }
@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
  .family-price { grid-template-columns: 1fr; text-align: left; }
}

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--plum); color: #fff; text-align: center; padding: 64px 0 52px; }
.legal-hero h1 { font-size: clamp(34px, 4.8vw, 48px); margin-bottom: 10px; }
.legal-hero p { color: var(--on-dark-muted); margin: 0; font-size: 15px; }
.legal { max-width: 740px; margin: 0 auto; padding: 56px 24px 88px; }
.legal__intro { font-size: 19px; color: var(--plum-2); margin-bottom: 40px; }
.legal section { margin-bottom: 40px; }
.legal h2 { font-size: 26px; margin-bottom: 14px; display: flex; align-items: baseline; gap: 12px; }
.legal h2 .num { flex: none; font: 600 13px/26px var(--font-body); width: 26px; height: 26px; border-radius: 8px; background: var(--plum); color: #fff; text-align: center; }
.legal h3 { font-size: 19px; margin: 22px 0 8px; }
.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--berry-ink); }
.callout { background: var(--blush); border-left: 3px solid var(--berry); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 16px 0; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow-sm); }
.contact-card .label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.contact-card .name { font: 600 20px/1.3 var(--font-head); margin-bottom: 4px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { font-weight: 600; background: var(--blush); }
@media (max-width: 560px) { .legal-table, .legal-table tbody, .legal-table tr, .legal-table td, .legal-table th { display: block; } .legal-table thead { display: none; } .legal-table td:first-child { font-weight: 600; padding-bottom: 0; border: 0; } }

/* ---------- 404 ---------- */
.lost { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.lost h1 { font-size: clamp(40px, 6vw, 64px); margin: 16px 0; }
.lost p { color: var(--muted); font-size: 19px; margin-bottom: 28px; }

/* ---------- Reveal on scroll (JS adds .is-in; no-JS shows everything) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
