/* ============================================================
   Daybub · official website
   Warm editorial + iOS-style material system
   ============================================================ */

:root {
  color-scheme: light;
  --bg: #f5f0e8;
  --bg-deep: #ece3d8;
  --paper: #fffdfa;
  --paper-deep: #f8f3ec;
  --ink: #241f26;
  --ink-soft: #463f38;
  --muted: #635a52;
  --muted-soft: #786e64;
  --line: #e1d5c5;
  --line-soft: #ecdfcf;
  --plum: #75507c;
  --plum-deep: #563b5e;
  --plum-ink: #432f4a;
  --rose: #f2c7d5;
  --lavender: #cbbbea;
  --peach: #fbe4cf;
  --mint: #dcedc1;
  --sky: #d7e8f7;
  --shadow-soft: 0 4px 14px rgba(87, 63, 49, .07);
  --shadow: 0 12px 30px rgba(87, 63, 49, .10);
  --shadow-lifted: 0 22px 55px rgba(67, 47, 74, .16);
  --shadow-phone: 0 28px 60px rgba(50, 34, 55, .22);
  --radius-xs: 12px;
  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --radius-xl: 38px;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Helvetica Neue", "Segoe UI", "Microsoft YaHei", sans-serif;
  --font-display: "New York", "Songti SC", "Noto Serif SC", Georgia, serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: .005em;
  background-color: var(--bg);
  background-image:
    radial-gradient(110% 55% at 50% -5%, rgba(255, 255, 255, .90) 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(60% 38% at 92% 8%, rgba(203, 187, 234, .30) 0%, rgba(203, 187, 234, 0) 68%),
    radial-gradient(58% 35% at 4% 20%, rgba(242, 199, 213, .30) 0%, rgba(242, 199, 213, 0) 66%),
    linear-gradient(180deg, #f8f3ed 0%, #f1e9e0 58%, #eee5d9 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--plum-deep); }

a:hover { text-decoration-thickness: 2px; }

img { max-width: 100%; }

:focus-visible {
  outline: 3px solid rgba(117, 80, 124, .72);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

/* ---------- Shell and header ---------- */

.site-shell {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 18px 0 64px;
}

body.legal .site-shell {
  width: min(100% - 32px, 920px);
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 26px;
  background: rgba(255, 252, 248, .78);
  box-shadow: 0 10px 30px rgba(70, 50, 50, .08);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  overflow: clip;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(117, 80, 124, .16);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 850;
}

.brand-sub {
  display: block;
  margin-top: 1px;
  font-size: 10.5px;
  line-height: 1.2;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 730;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(117, 80, 124, .10);
  color: var(--plum-deep);
}

.language-switch {
  border: 1px solid rgba(86, 59, 94, .16);
  background: rgba(255, 255, 255, .88);
  color: var(--plum-deep);
}

.nav-cta {
  margin-left: 4px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--plum), var(--plum-ink));
  box-shadow: 0 7px 16px rgba(86, 59, 94, .22);
}

/* ---------- Shared typography and legal-page primitives ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -.018em;
  text-wrap: balance;
}

h1 {
  margin: 15px 0 0;
  font-size: clamp(35px, 5.2vw, 62px);
  line-height: 1.05;
}

h2 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.18;
}

h3 {
  margin: 25px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

p { margin: 10px 0 0; color: var(--muted); }

p strong, li strong { color: var(--ink); }

ul, ol { margin: 11px 0 0; padding-left: 23px; color: var(--muted); }
li { margin: 7px 0; }
li::marker { color: var(--plum); font-weight: 800; }

.eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  margin: 0;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(117, 80, 124, .09);
  color: var(--plum-deep);
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.h1-en,
.h2-en {
  margin: 8px 0 0;
  color: var(--plum);
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.lede {
  max-width: 700px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.75;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-head .section-lede {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
}

/* Legal / support page hero and content shell */

.hero {
  position: relative;
  overflow: hidden;
  margin: 26px 0 24px;
  padding: clamp(34px, 6vw, 58px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, .86);
  background:
    radial-gradient(70% 85% at 90% 5%, rgba(203, 187, 234, .20) 0%, rgba(203, 187, 234, 0) 64%),
    radial-gradient(56% 72% at 5% 100%, rgba(242, 199, 213, .22) 0%, rgba(242, 199, 213, 0) 62%),
    rgba(255, 253, 250, .94);
  box-shadow: var(--shadow);
}

.main-card {
  padding: clamp(26px, 5vw, 42px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, .86);
  background: rgba(255, 253, 250, .95);
  box-shadow: var(--shadow);
}

section {
  scroll-margin-top: 116px;
  padding-top: 6px;
}

section + section {
  margin-top: clamp(27px, 5vw, 42px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  margin-right: 9px;
  border-radius: 11px;
  background: rgba(117, 80, 124, .10);
  color: var(--plum-deep);
  font-size: 13px;
  font-weight: 850;
  vertical-align: -6px;
}

.small-en {
  display: block;
  margin-top: 5px;
  color: var(--muted-soft);
  font-size: 12.5px;
  line-height: 1.55;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 730;
}

.meta-pill strong { color: var(--ink); }

.status-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 0;
}

.status-item {
  padding: 18px 17px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: linear-gradient(150deg, #fffdfb, #f8f3ec);
  box-shadow: var(--shadow-soft);
}

.status-item b {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.status-item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.58;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 13px;
  margin: 22px 0 0;
}

.action-card {
  display: block;
  padding: 19px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: linear-gradient(155deg, #fffdfb, #f8f3ec);
  box-shadow: var(--shadow-soft);
}

.action-card b { display: block; color: var(--ink); font-size: 15.5px; }
.action-card span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.6; }

.toc {
  margin: 0 0 22px;
  padding: 22px clamp(18px, 4vw, 27px);
  border-radius: 26px;
  border: 1px dashed #d3c2a9;
  background: rgba(255, 253, 250, .84);
  box-shadow: var(--shadow-soft);
}

.toc h2 { margin: 0 0 12px; font-size: 18px; }
.toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 32px;
  color: var(--muted);
  font-size: 14px;
}
.toc li { margin: 6px 0; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.callout {
  margin: 21px 0 0;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #f8f4ed;
}

.callout.warning { border-color: rgba(226, 190, 104, .80); background: #fff6df; }
.callout.privacy { border-color: rgba(203, 187, 234, .68); background: #f8f5fd; }
.callout.care { border-color: rgba(220, 237, 193, .90); background: #f8fbec; }
.callout b { display: block; margin-bottom: 3px; font-family: var(--font-display); color: var(--ink); font-size: 16px; }

.data-table {
  width: 100%;
  margin: 18px 0 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-deep);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.data-table caption {
  caption-side: top;
  padding: 0 0 9px;
  color: var(--muted-soft);
  font-size: 12.5px;
  text-align: left;
}

.data-table th, .data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  font-size: 13.5px;
  line-height: 1.58;
}

.data-table th {
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #f3ebdf;
}

.data-table tr:last-child td { border-bottom: 0; }
.data-table td:first-child { color: var(--ink); font-weight: 750; }

.faq {
  margin: 21px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-deep);
  overflow: hidden;
}

.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 15px 17px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--plum-deep); font-family: var(--font-display); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq-body { padding: 0 17px 17px; color: var(--muted); font-size: 14px; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  padding: 21px 23px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .72);
  background: rgba(255, 253, 250, .76);
  box-shadow: var(--shadow-soft);
  color: var(--muted);
  font-size: 12.5px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: var(--muted); font-weight: 720; text-decoration: none; }
.footer-links a:hover { color: var(--plum-deep); }

/* ---------- Homepage hero ---------- */

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 62px);
  margin: 28px 0 20px;
  padding: clamp(34px, 5vw, 60px);
  border-radius: 44px;
  border: 1px solid rgba(255, 255, 255, .88);
  background: linear-gradient(145deg, rgba(255, 253, 250, .99), rgba(248, 243, 236, .96));
  box-shadow: var(--shadow);
}

.home-hero .hero-copy { position: relative; z-index: 2; max-width: 860px; margin-top: clamp(24px, 3.4vw, 40px); }
.home-hero .lede { max-width: 720px; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 28px 0 0;
}

.primary-cta,
.secondary-cta {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 18px;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.primary-cta {
  color: #fff;
  background: var(--plum-deep);
  box-shadow: 0 10px 24px rgba(86, 59, 94, .20);
}

.primary-cta::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  background: #fff;
  clip-path: path("M13.7 1.7c-.4-.4-1-.1-1 .4v2.9c-4.5.3-7.8 3.2-9.4 7.9-.7 2.2-.9 4.3-.7 6 .1 1 1.5 1.2 1.9.3 1-2.3 2.7-4.3 5.3-5.2.9-.3 1.9-.5 2.9-.6v3c0 .5.6.8 1 .4l8.1-7.2c.3-.3.3-.7 0-.9Z");
}

.primary-cta small {
  display: block;
  font-size: 9px;
  line-height: 1.1;
  letter-spacing: .05em;
  opacity: .84;
}

.primary-cta b {
  display: block;
  margin-top: 1px;
  font-size: 17px;
  line-height: 1.15;
}

.secondary-cta {
  color: var(--plum-deep);
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(86, 59, 94, .18);
  font-weight: 760;
}

.primary-cta:hover,
.secondary-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lifted);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.metric {
  min-height: 72px;
  padding: 13px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .55);
  box-shadow: var(--shadow-soft);
}

.metric strong {
  display: block;
  color: var(--plum-deep);
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.15;
}

.metric span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.35;
}

.hero-stage {
  position: relative;
  z-index: 1;
}

.banner-stage {
  order: -1;
  display: block;
  padding: clamp(7px, .9vw, 11px);
  border: 1px solid rgba(224, 213, 199, .82);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(67, 47, 74, .14);
  transition: transform .18s ease, box-shadow .18s ease;
}

.banner-stage img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3584 / 1184;
  border-radius: 22px;
  background: #f9f9fb;
  object-fit: cover;
}

.banner-stage:hover,
.banner-stage:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(67, 47, 74, .18);
}

/* ---------- Homepage sections ---------- */

.home-main { display: grid; gap: 20px; }

.home-section {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, .84);
  background: rgba(255, 253, 250, .92);
  box-shadow: var(--shadow);
}

.home-section > * { position: relative; z-index: 1; }

.feature-layout {
  display: grid;
  grid-template-columns: minmax(250px, .60fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.feature-visual,
.side-visual {
  margin: 0;
  padding: 9px;
  border-radius: 44px;
  background: linear-gradient(150deg, #f8f7f9, #dcd7e2);
  box-shadow: var(--shadow-phone);
}

.feature-visual img,
.side-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
  background: #fff;
}

.feature-visual { width: min(100%, 275px); justify-self: center; }
.side-visual { width: min(100%, 302px); justify-self: center; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.feature-card {
  display: flex;
  gap: 13px;
  min-height: 130px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(155deg, #fffdfb, #f8f3ec);
  box-shadow: var(--shadow-soft);
}

.feature-card b { display: block; color: var(--ink); font-size: 15.5px; line-height: 1.35; }
.feature-card span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.58; }

.icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(117, 80, 124, .10);
  color: var(--plum-deep);
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon.feeding { background: rgba(242, 199, 213, .38); color: #7b3d54; }
.icon.sleep { background: rgba(215, 232, 247, .70); color: #315a78; }
.icon.health { background: rgba(220, 237, 193, .70); color: #41622d; }
.icon.calendar { background: rgba(251, 228, 207, .80); color: #7a4d25; }
.icon.inline { width: 35px; height: 35px; border-radius: 12px; }

.family-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .68fr);
  gap: clamp(25px, 5vw, 52px);
  align-items: center;
}

.family-section .section-copy p { max-width: 620px; font-size: 16.5px; line-height: 1.75; }

.check-list { margin-top: 20px; padding: 0; list-style: none; }
.check-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 33px;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .38em;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--plum), var(--plum-ink)) border-box;
  box-shadow: 0 4px 9px rgba(86, 59, 94, .18);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: .70em;
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.insight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .55fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
}

.insight-layout .status-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.reminder-section {
  display: grid;
  grid-template-columns: minmax(250px, .58fr) minmax(0, 1fr);
  gap: clamp(25px, 5vw, 52px);
  align-items: center;
  background:
    radial-gradient(70% 80% at 90% 10%, rgba(203, 187, 234, .22), rgba(203, 187, 234, 0) 68%),
    linear-gradient(145deg, #fffdfb, #f7f2ea);
}

.reminder-section .section-copy p { max-width: 620px; font-size: 16.5px; }

.icon-list { margin-top: 20px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.icon-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .68);
  color: var(--ink-soft);
  font-size: 13.5px;
}

.privacy-section {
  color: #fff;
  border-color: rgba(255, 255, 255, .12);
  background:
    radial-gradient(75% 90% at 88% 8%, rgba(117, 80, 124, .32), rgba(117, 80, 124, 0) 68%),
    linear-gradient(140deg, #322538, #241a29 64%, #1d1622);
}

.privacy-section h2,
.privacy-section .section-eyebrow { color: #f6dce7; }
.privacy-section .section-eyebrow { background: rgba(255, 255, 255, .10); }

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.privacy-card {
  display: flex;
  gap: 12px;
  padding: 19px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .075);
}

.privacy-card b { display: block; color: #fff; font-size: 15.5px; }
.privacy-card span { display: block; margin-top: 5px; color: rgba(255, 255, 255, .80); font-size: 13px; line-height: 1.6; }

.privacy-section .icon { background: rgba(255, 255, 255, .12); color: #f6dce7; }
.privacy-note {
  max-width: 850px;
  margin-top: 17px;
  color: rgba(255, 255, 255, .72) !important;
  font-size: 12.5px !important;
  line-height: 1.65;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 4px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 23px;
  border-radius: 26px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(155deg, #fffdfb, #f8f3ec);
  box-shadow: var(--shadow-soft);
}

.plan-tag {
  position: absolute;
  right: 17px;
  top: 17px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.pricing-card b { display: block; font-family: var(--font-display); color: var(--ink); font-size: 18px; }
.pricing-card strong { display: block; margin: 8px 0 7px; color: var(--plum-deep); font-size: 16px; line-height: 1.35; }
.pricing-card span { display: block; color: var(--muted); font-size: 13px; line-height: 1.62; }

.pricing-card ul {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  margin: 7px 0;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 13px;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--plum);
}

.pricing-card.highlighted {
  color: #fff;
  border-color: rgba(86, 59, 94, .24);
  background: linear-gradient(150deg, #76527e, #543a5c);
  box-shadow: 0 16px 34px rgba(67, 47, 74, .22);
}

.pricing-card.highlighted b,
.pricing-card.highlighted strong { color: #fff; }
.pricing-card.highlighted span,
.pricing-card.highlighted li { color: rgba(255, 255, 255, .86); }
.pricing-card.highlighted li::before { background: #f6dce7; }

.pricing-note {
  margin: 14px 0 0;
  color: var(--muted-soft) !important;
  font-size: 12.5px !important;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, .16);
  background:
    radial-gradient(75% 100% at 88% 10%, rgba(242, 199, 213, .22), rgba(242, 199, 213, 0) 68%),
    linear-gradient(130deg, #70506f, #4c3552);
  color: #fff;
  box-shadow: var(--shadow-lifted);
}

.final-cta h2 { color: #fff; max-width: 620px; }
.final-cta p { max-width: 620px; margin-top: 8px; color: rgba(255, 255, 255, .84) !important; }
.final-cta .primary-cta { flex: 0 0 auto; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .home-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .hero-stage { height: auto; }
  .feature-layout { grid-template-columns: minmax(0, 1fr); }
  .feature-visual { width: min(100%, 255px); }
}

@media (max-width: 980px) {
  .home-hero,
  .family-section,
  .insight-layout,
  .reminder-section {
    grid-template-columns: 1fr;
  }
  .family-section .side-visual,
  .reminder-section .side-visual,
  .insight-layout .side-visual { width: min(100%, 290px); margin: 0 auto; }
  .hero-stage { height: auto; min-height: 0; margin-top: 0; }
  .banner-stage img { aspect-ratio: 16 / 10; object-position: 26% center; }
  .privacy-grid,
  .pricing-grid { grid-template-columns: 1fr; }
  .final-cta { align-items: flex-start; flex-direction: column; }
  .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  body { background-attachment: scroll; }
  .site-shell { width: min(100% - 24px, 1180px); padding-top: 12px; }
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    border-radius: 24px;
  }
  .site-nav {
    width: 100%;
    margin: 4px 0 0;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: thin;
  }
  .site-nav a { padding: 9px 10px; }
  .language-switch { margin-left: 0; }
  .nav-cta { margin-left: 0; }

  .home-hero {
    min-height: 0;
    margin-top: 16px;
    padding: 28px 20px;
    border-radius: 32px;
  }
  .hero-stage {
    height: auto;
    min-height: 0;
    margin-top: 0;
  }
  .banner-stage img { aspect-ratio: 16 / 10; object-position: 26% center; }
  .feature-grid,
  .insight-layout .status-card,
  .icon-list { grid-template-columns: 1fr; }
  .home-section,
  .final-cta { border-radius: 30px; padding: 26px 20px 30px; }
  .toc ol { columns: 1; }
  .data-table { display: block; overflow-x: auto; border-radius: 16px; }
  .data-table thead, .data-table tbody { display: table; width: 34rem; }
  .data-table caption { display: block; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-row { align-items: stretch; flex-direction: column; }
  .primary-cta,
  .secondary-cta { width: 100%; }
  .final-cta .primary-cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  body { background: #fff; }
  .skip-link, .site-nav, .action-grid, .site-footer, .hero-stage, .feature-visual,
  .side-visual, .final-cta { display: none !important; }
  .site-shell, .main-card, .hero, .toc, .home-section { width: 100%; padding: 0; border: 0; box-shadow: none; background: #fff; }
  section + section { break-before: auto; }
  a { color: inherit; }
}
