/* Spouseport website: landing page and legal pages.
   Colors match the iOS app (ios/Shared/Design/Theme.swift). No external resources. */

/* ---------- Fonts (Plus Jakarta Sans, SIL Open Font License 1.1, see fonts/OFL.txt) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-600.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-800.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0E1A3D;
  --text2: #3B4566;
  --muted: #5D6584;
  --dim: #8F95AD;
  --primary: #5B63E8;
  --primary-ink: #4F57D9;
  --lilac: #EFEFFE;
  --red: #E2475A;
  --red-ink: #B8293D;
  --flag-red: #C24056;
  --salmon: #F7A58F;
  --peach: #FDE7DF;
  --peach-ink: #A1452F;
  --seg-bg: #FDEDE7;
  --mint: #EBF8E4;
  --mint-accent: #84C96F;
  --mint-ink: #3E7A2C;
  --sky: #E3F5FC;
  --sky-accent: #5DBDE6;
  --sky-ink: #1F6E8F;
  --cream: #FFF4DF;
  --cream-ink: #8A5A0E;
  --pink: #FDECF6;
  --pink-ink: #9A2F6E;
  --border: #EEF0F6;
  --outline: #E6E8F0;
  --soft: #F7F7FF;
  --warm: #FFF9F6;
  --bg: #FFFFFF;

  --font: "Plus Jakarta Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: 16px;
  --radius: 24px;
  --radius-lg: 32px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow-card: 0 1px 2px rgba(14, 26, 61, .04), 0 8px 24px -12px rgba(14, 26, 61, .14);
  --shadow-primary: 0 10px 22px -10px rgba(91, 99, 232, .75);
  --header-h: 64px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 1.35rem + 2.3vw, 3rem); letter-spacing: -0.035em; }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; }
a { color: var(--primary-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: #DCDEFC; color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1280px) { :root { --gutter: 40px; } }

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .7rem 1.25rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--small { min-height: 40px; padding: .5rem 1rem; font-size: .92rem; }
.btn--lg { min-height: 58px; padding: .9rem 1.6rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn--primary:hover { background: var(--primary-ink); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 10px 22px -12px rgba(14, 26, 61, .6); }
.btn--ink:hover { background: #1B2A57; color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--outline); box-shadow: 0 1px 2px rgba(14, 26, 61, .05); }
.btn--ghost:hover { border-color: #C9CCF8; color: var(--ink); background: var(--soft); }

/* App Store button: our own design (not Apple's badge artwork). */
.app-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 58px;
  padding: .55rem 1.5rem .55rem 1.1rem;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 26px -14px rgba(14, 26, 61, .7);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.app-btn__icon { width: 1.7rem; height: 1.7rem; stroke-width: 1.6; }
.app-btn__text { display: flex; flex-direction: column; line-height: 1.12; text-align: left; }
.app-btn__top { font-size: .74rem; font-weight: 600; letter-spacing: .01em; opacity: .78; }
.app-btn__main { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.02em; }
.app-btn__soon { display: none; }
/* Coming soon (no link yet): calm, clearly not clickable, still on brand. */
.app-btn:not([href]) { cursor: default; }
.app-btn:not([href]) .app-btn__soon {
  display: block;
  position: absolute;
  top: -5px;
  right: -5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--salmon);
  box-shadow: 0 0 0 3px #fff;
}
.app-btn[href]:hover { transform: translateY(-1px); background: #1B2A57; color: #fff; box-shadow: 0 16px 30px -14px rgba(14, 26, 61, .75); }
.app-btn--light:not([href]) .app-btn__soon { box-shadow: 0 0 0 3px var(--peach); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-weight: 700;
  color: var(--primary-ink);
  text-decoration: none;
}
.text-link .icon { width: 1.05em; height: 1.05em; transition: transform .2s var(--ease); }
.text-link:hover { color: var(--ink); text-decoration: underline; }
.text-link:hover .icon { transform: translateX(3px); }
.text-link--light { color: #fff; }
.text-link--light:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__icon { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(14, 26, 61, .08), 0 4px 10px -4px rgba(14, 26, 61, .35); }
.brand__name { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.brand + .header-actions { margin-left: auto; } /* legal pages: no nav between them */
.header-login {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
}
.header-login:hover { background: var(--soft); color: var(--ink); }
.header-signup { display: none; }
@media (min-width: 640px) { .header-signup { display: inline-flex; } }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -6px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--soft); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* Nav without JS on small screens: a wrapped row of links under the bar. */
.site-nav { order: 3; width: 100%; padding-bottom: 10px; }
.site-nav__list { display: flex; flex-wrap: wrap; gap: 2px 4px; list-style: none; }
.site-nav__list a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  color: var(--text2);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
}
.site-nav__list a:not(.btn):hover { background: var(--soft); color: var(--ink); }
.site-nav__cta { display: none; }

/* With JS on small screens: a menu panel behind the toggle. */
.js .site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: auto;
  padding: 8px var(--gutter) 20px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 40px -24px rgba(14, 26, 61, .3);
}
.js.nav-open .site-nav { display: block; }
.js .site-nav__list { flex-direction: column; gap: 2px; }
.js .site-nav__list a:not(.btn) { display: flex; min-height: 48px; font-size: 1.05rem; color: var(--ink); }
.js .site-nav__cta { display: block; margin-top: 10px; }

@media (min-width: 960px) {
  .site-nav, .js .site-nav {
    display: block;
    order: 0;
    position: static;
    width: auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav__list, .js .site-nav__list { flex-direction: row; gap: 2px; }
  .js .site-nav__list a:not(.btn) { display: inline-flex; min-height: 40px; font-size: .95rem; color: var(--text2); }
  .site-nav__cta, .js .site-nav__cta { display: none; }
  .header-signup { display: inline-flex; }
  .nav-toggle { display: none; }
  .brand { margin-right: 0; }
  .site-nav { margin-left: auto; margin-right: 8px; }
}
@media (max-width: 380px) {
  .brand__name { font-size: 1.1rem; }
  .header-login { padding: 0 8px; }
}

/* ---------- Shared bits ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section--warm { background: linear-gradient(180deg, var(--warm), #fff); }
.section--soft { background: var(--soft); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 + .lead { margin-top: 16px; }

.overline {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--peach-ink);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.overline .icon { width: 1.35em; height: 1.35em; stroke-width: 2; }
.overline--sky { color: var(--sky-ink); }
.overline--mint { color: var(--mint-ink); }
.overline--lilac { color: var(--primary-ink); }
.overline--cream { color: var(--cream-ink); }
.overline--salmon { color: var(--salmon); }
.lead { color: var(--text2); font-size: clamp(1.06rem, 1rem + .35vw, 1.22rem); line-height: 1.6; }
.fineprint { color: var(--muted); font-size: .88rem; line-height: 1.55; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--lilac);
  color: var(--primary-ink);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--outline);
  color: var(--text2);
  font-size: .86rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(14, 26, 61, .04);
}
.pill .icon { color: var(--red); fill: var(--red); stroke: var(--red); width: 1.05em; height: 1.05em; }

.tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  flex: none;
}
.tile .icon { width: 24px; height: 24px; }
.tile--lg { width: 60px; height: 60px; border-radius: 20px; }
.tile--lg .icon { width: 28px; height: 28px; }
.tile--sky { background: var(--sky); color: var(--sky-ink); }
.tile--pink { background: var(--pink); color: var(--pink-ink); }
.tile--peach { background: var(--peach); color: var(--peach-ink); }
.tile--dark { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }

.ticks { list-style: none; display: grid; gap: 12px; margin: 22px 0; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text2); }
.ticks .icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  padding: 4px;
  border-radius: 50%;
  background: var(--lilac);
  color: var(--primary-ink);
  stroke-width: 2.6;
}
.ticks--mint .icon { background: var(--mint); color: var(--mint-ink); }
.ticks--primary .icon { background: var(--primary); color: #fff; }

/* Phone frame around real screenshots (1206 x 2622 px screens). */
.phone {
  position: relative;
  padding: 2.6%;
  border-radius: 15.5% / 7.15%;
  background: linear-gradient(145deg, #2A355C, #0B1226 45%, #1A2447);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .14),
    0 2px 4px rgba(14, 26, 61, .12),
    0 30px 60px -24px rgba(14, 26, 61, .45);
}
.phone img {
  width: 100%;
  border-radius: 13.4% / 6.2%;
  background: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(32px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(253, 231, 223, .9), transparent 70%),
    radial-gradient(50% 45% at 0% 100%, rgba(239, 239, 254, .9), transparent 70%),
    linear-gradient(180deg, #FFFBF9, #fff 60%);
}
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__title {
  font-size: clamp(2.35rem, 1.45rem + 4.3vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero__accent { color: var(--flag-red); }
/* Plus Jakarta Sans ExtraBold sets commas wide; pull them in a little in headings. */
.tuck { margin-left: -0.1em; }
.hero__lead { margin-top: 20px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 559px) {
  .cta-row > .app-btn, .cta-row > .btn { flex: 1 1 100%; justify-content: center; }
}
.cta-row--center { justify-content: center; }
.hero__signup, .final__signup { margin-top: 18px; color: var(--muted); }
.hero__disclaimer {
  display: flex;
  gap: 10px;
  max-width: 36em;
  margin-top: 30px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.5;
}
.hero__disclaimer .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--dim); }

.hero__art {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  aspect-ratio: 1 / 1.3;
}
.hero__glow {
  position: absolute;
  inset: 8% -4% 4% 0;
  border-radius: 40% 46% 42% 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(91, 99, 232, .22), transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(247, 165, 143, .45), transparent 62%);
  filter: blur(8px);
}
.hero__art .phone { position: absolute; }
.phone--front { left: 2%; top: 0; width: 56%; z-index: 2; }
.phone--back { right: 0; top: 11%; width: 49%; z-index: 1; }

.trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 44px;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--border);
  color: var(--text2);
  font-weight: 600;
  font-size: .92rem;
}
.trust .icon { color: var(--primary-ink); width: 1.1em; height: 1.1em; }
@media (max-width: 559px) {
  .trust { justify-content: center; gap: 8px 6px; margin-top: 36px; }
  .trust li { padding: 8px 12px; font-size: .84rem; gap: 6px; }
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
  .hero__art { max-width: 500px; margin-right: 0; }
  .trust { justify-content: center; gap: 12px; margin-top: 64px; }
  .trust li { padding: 11px 18px; }
}

/* ---------- Features ---------- */
.feature {
  display: grid;
  gap: 32px;
  align-items: center;
  padding-block: clamp(24px, 4vw, 48px);
}
.feature + .feature { border-top: 1px solid var(--border); }
.feature__copy { max-width: 640px; }
.feature h3 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.2rem); letter-spacing: -0.035em; margin-bottom: 14px; }
.feature__copy > p:not(.overline):not(.fineprint) { color: var(--text2); font-size: 1.05rem; }
.feature__art {
  position: relative;
  display: flex;
  justify-content: center;
  height: clamp(360px, 108vw, 520px);
  padding-top: 40px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.feature__art::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .7), transparent);
}
.feature__art .phone { position: relative; width: min(64%, 280px); height: max-content; }
.feature__art--sky { background: linear-gradient(160deg, var(--sky), #F2FAFD); }
.feature__art--mint { background: linear-gradient(160deg, var(--mint), #F6FCF3); }
.feature__art--lilac { background: linear-gradient(160deg, var(--lilac), #F8F8FF); }
.feature__art--cream { background: linear-gradient(160deg, var(--cream), #FFFAF0); }

.feature__art--duo .phone { position: absolute; width: min(56%, 250px); }
.phone--duo-back { right: 7%; top: 64px; }
.phone--duo-front { left: 7%; top: 32px; z-index: 1; }

@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
  .feature--flip .feature__copy { order: 2; }
  .feature__art { height: 560px; padding-top: 56px; }
  .feature__art .phone { width: 290px; }
  .feature__art--duo .phone { width: 250px; }
}

.cards {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: clamp(32px, 5vw, 56px);
}
.card {
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--muted); }
@media (max-width: 759px) {
  .card { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 22px 20px; }
  .card .tile { grid-row: span 2; }
  .card h3 { margin: 2px 0 6px; }
}
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- How it works ---------- */
.steps { list-style: none; display: grid; gap: 16px; }
.step {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--salmon);
  color: #5E2617;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 8px 16px -8px rgba(226, 110, 84, .8);
}
.step:nth-child(2) .step__num { background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.step:nth-child(3) .step__num { background: var(--ink); color: #fff; box-shadow: 0 8px 16px -8px rgba(14, 26, 61, .6); }
.step h3 { margin: 18px 0 8px; font-size: 1.3rem; }
.step p { color: var(--muted); }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* ---------- Privacy ---------- */
.privacy {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: radial-gradient(80% 80% at 0% 0%, #1B2A5C, var(--ink) 60%);
  color: #fff;
}
.privacy__stripes {
  position: absolute;
  top: 0;
  right: 0;
  width: min(42%, 420px);
  height: 100%;
  background: repeating-linear-gradient(180deg, rgba(194, 64, 86, .28) 0 10px, transparent 10px 20px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
  opacity: .8;
}
.privacy__head { position: relative; }
.privacy h2, .privacy h3 { color: #fff; }
.privacy .lead { color: rgba(255, 255, 255, .78); }
.privacy__grid { position: relative; list-style: none; display: grid; gap: 14px; }
.privacy__grid li {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.privacy__grid h3 { margin: 16px 0 8px; }
.privacy__grid p { color: rgba(255, 255, 255, .76); }
@media (max-width: 759px) {
  .privacy__grid li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 20px 18px; }
  .privacy__grid .tile { grid-row: span 2; }
  .privacy__grid h3 { margin: 2px 0 6px; }
  .privacy__stripes { width: 34%; opacity: .55; }
}
.privacy__more { position: relative; margin-top: 28px; }
.privacy :focus-visible { outline-color: var(--salmon); }
@media (min-width: 760px) { .privacy__grid { grid-template-columns: 1fr 1fr; gap: 16px; } }

/* ---------- Plans ---------- */
.plans { display: grid; gap: 20px; max-width: 980px; margin-inline: auto; align-items: start; }
.plan {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-card);
}
.plan__name { font-size: 1.9rem; letter-spacing: -0.035em; }
.plan__sub { margin-top: 6px; color: var(--muted); }
.plan .ticks { margin-bottom: 0; }
.plan--premium {
  background: linear-gradient(180deg, #F5F5FF, #fff 55%);
  border: 2px solid var(--primary);
  box-shadow: 0 24px 48px -28px rgba(91, 99, 232, .55);
}
.plan__badge {
  position: absolute;
  top: 0;
  left: 26px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--cream-ink);
  font-size: .8rem;
  font-weight: 800;
  box-shadow: 0 0 0 4px var(--soft);
}
.plan__note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--outline);
  color: var(--primary-ink);
  font-size: .9rem;
  font-weight: 700;
}
.plans__notes { display: grid; gap: 10px; max-width: 980px; margin: 24px auto 0; }
.plans__notes p {
  display: flex;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}
.plans__notes .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--dim); }
.plans .plan--premium { margin-top: 12px; }
@media (min-width: 820px) {
  .plans { grid-template-columns: 1fr 1fr; gap: 24px; }
  .plans .plan--premium { margin-top: 0; }
  .plan { padding: 40px 36px; }
  .plan__badge { left: 36px; }
  .plans__notes { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq__list { border-top: 1px solid var(--outline); }
.faq details { border-bottom: 1px solid var(--outline); }
.faq summary {
  position: relative;
  display: block;
  padding: 22px 52px 22px 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-ink);
  transition: transform .25s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--primary-ink); }
.faq summary:focus-visible { outline-offset: 4px; }
.faq__body { padding: 0 0 24px; color: var(--text2); max-width: 46em; }
@media (min-width: 900px) {
  .faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 56px; max-width: 1200px; }
  .faq .section-head { margin-bottom: 0; }
}

/* ---------- Support ---------- */
.support {
  display: grid;
  gap: 18px;
  justify-items: start;
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-card);
}
.support h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 8px; }
.support p { color: var(--muted); max-width: 36em; }
.support .btn { max-width: 100%; overflow-wrap: anywhere; }
@media (min-width: 820px) {
  .support { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
}

/* ---------- Final CTA ---------- */
.final {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 80px) 20px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 70% at 50% 0%, #fff, transparent 70%),
    linear-gradient(180deg, var(--peach), #FFF4EF);
  text-align: center;
}
.final__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  border-radius: 22px;
  box-shadow: 0 18px 36px -16px rgba(14, 26, 61, .55), 0 0 0 1px rgba(14, 26, 61, .06);
}
.final h2 { margin-bottom: 12px; }
.final .lead { max-width: 30em; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 48px 40px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer .brand__icon { width: 32px; height: 32px; border-radius: 9px; }
.site-footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; margin-left: -10px; }
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--text2);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border-radius: 10px;
}
.site-footer__links a:hover { color: var(--ink); background: var(--soft); }
.site-footer__bottom { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.site-footer__disclaimer { max-width: 52em; color: var(--muted); font-size: .86rem; }
.site-footer__copy { margin-top: 10px; color: var(--muted); font-size: .86rem; }
@media (min-width: 760px) { .site-footer__links { margin-left: 0; } }

/* ---------- Legal pages (terms.html, privacy.html) ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) var(--gutter) clamp(56px, 8vw, 96px);
}
.legal h1 { font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem); letter-spacing: -0.04em; margin-bottom: 10px; }
.legal h2 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--text2); }
.legal ul { padding-left: 1.3em; display: grid; gap: 8px; margin-bottom: 1em; }
.legal strong { color: var(--ink); }
.legal a { overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.legal .muted { color: var(--muted); }
.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--seg-bg);
  border-left: 4px solid var(--flag-red);
  color: var(--text2);
}
.legal-back { color: var(--text2); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__art .phone { animation: rise .9s var(--ease) both; }
  .hero__art .phone--back { animation-delay: .12s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-toggle, .hero__art, .feature__art, .final { display: none; }
  .privacy { background: none; color: var(--ink); }
  .privacy h2, .privacy h3, .privacy p { color: var(--ink); }
}
