/* Sleep Fairy Consultant: site styles (Night Sky Pop) */

:root {
  --indigo: #29245E;
  --indigo-2: #343070;
  --pink: #E9A3BF;
  --mint: #B8ACEB;
  --yellow: #B8ACEB;
  --lilac: #B8ACEB;
  --peach: #E9A3BF;
  --cloud: #5C5598;
  --blush: #FBF6F8;
  --lavender: #F2EFF9;
  --white: #FFFFFF;
  --text: #4A4570;
  --muted: #676288;
  --on-night: #DAD6F0;
  --on-night-2: #BAB5DC;
  --pink-ink: #9E3D66;
  --mint-ink: #5A4FA8;
  --photo: #D9CBBE;

  --font-display: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Trebuchet MS", sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --shadow: 0 6px 18px rgba(41, 36, 94, 0.07);
}

@media (min-width: 900px) {
  :root { --gutter: 48px; }
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  background: var(--blush);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--indigo);
  margin: 0;
  line-height: 1.1;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.95rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
p { margin: 0; }

a { color: var(--indigo); }
a:hover { color: var(--pink-ink); }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}
.sec:not(.sec--night) :focus-visible { outline-color: var(--indigo); }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--yellow); color: var(--indigo);
  padding: 10px 16px; border-radius: 999px; font-weight: 800; z-index: 100;
}
.skip:focus { left: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-size: 16px; font-weight: 800;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-yellow { background: var(--yellow); color: var(--indigo); }
.btn-yellow:hover { color: var(--indigo); }
.btn-night { background: var(--indigo); color: var(--white); }
.btn-night:hover { color: var(--white); }
.btn-line { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn-line-mint { border-color: var(--mint); color: var(--mint); background: transparent; }
.btn-line-mint:hover { color: var(--mint); }
.btn-block { width: 100%; }

/* ---------- Top area (header + hero on indigo) ---------- */
.top {
  background: var(--indigo);
  color: var(--on-night);
  position: relative;
  overflow: hidden;
}
.top .deco { position: absolute; pointer-events: none; }
@media (max-width: 699px) { .top .deco { display: none; } }

.site-header { position: relative; z-index: 20; background: var(--indigo); padding-top: env(safe-area-inset-top, 0px); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 18px; padding-bottom: 18px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 999px; background: var(--pink);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-mark svg { width: 22px; height: 22px; fill: var(--indigo); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--white); }
.logo-sub { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; color: var(--mint); margin-top: 4px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand { gap: 12px; }
.brand-img { width: 78px; height: auto; flex-shrink: 0; border-radius: 14px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28); }
.brand-name { font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 31px; line-height: 1.02; max-width: 6.6em; }
.brand:hover .brand-name { color: var(--lilac); }
@media (min-width: 700px) {
  .brand { gap: 18px; }
  .brand-img { width: 104px; border-radius: 16px; }
  .brand-name { font-size: 44px; max-width: 6.6em; }
}
@media (min-width: 1200px) {
  .brand { gap: 20px; }
  .brand-img { width: 124px; border-radius: 18px; }
  .brand-name { font-size: clamp(48px, 4.2vw, 60px); }
}
@media (max-width: 699px) { .header-actions .icon-link { display: none; } }
@media (max-width: 379px) { .brand-img { width: 66px; } .brand-name { font-size: 27px; } }
.main-nav .nav-social { display: none; list-style: none; margin: 0; padding: 0; }
.main-nav.is-open .nav-social { display: flex; gap: 10px; margin-bottom: 16px; }
.nav-social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--white); font-weight: 800; text-decoration: none; padding: 0 6px; }
.nav-social svg { width: 22px; height: 22px; }
.main-nav.is-open .nav-social { flex-direction: row; gap: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 12px; }
.main-nav.is-open .nav-social a:not(.btn) { display: inline-flex; white-space: nowrap; align-items: center; gap: 8px; font-size: 16px; padding: 6px 2px; }
@media (min-width: 700px) { .main-nav.is-open .nav-social { display: none; } }
.site-footer .brand-img { width: 56px; }
.site-footer .brand-name { font-size: 26px; max-width: none; }

.main-nav { display: none; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.main-nav a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 700; }
.main-nav a:not(.btn):hover { color: var(--yellow); }
.main-nav a[aria-current="page"] { color: var(--yellow); box-shadow: inset 0 -3px 0 var(--yellow); padding-bottom: 4px; }

.header-actions { display: flex; align-items: center; gap: 2px; }
.icon-link, .menu-toggle {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  color: var(--white); background: transparent; border: none; cursor: pointer; border-radius: 999px;
}
.icon-link:hover { color: var(--yellow); }
.icon-link svg, .menu-toggle svg { width: 22px; height: 22px; }

/* mobile menu panel */
.main-nav.is-open {
  display: block; position: absolute; top: calc(50% + 30px); right: var(--gutter); left: auto;
  width: min(260px, calc(100vw - 2 * var(--gutter)));
  background: var(--indigo-2); border-radius: var(--radius-md); padding: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}
.main-nav.is-open ul { flex-direction: column; gap: 4px; margin-bottom: 16px; }
.main-nav.is-open a:not(.btn) { display: block; padding: 10px 6px; font-size: 18px; }
.main-nav.is-open .btn { width: 100%; }

@media (min-width: 1200px) {
  .main-nav, .main-nav.is-open {
    display: flex; align-items: center; gap: 28px; position: static; width: auto;
    background: none; box-shadow: none; padding: 0;
  }
  .main-nav.is-open ul { flex-direction: row; gap: 26px; margin: 0; }
  .main-nav ul { gap: 26px; }
  .main-nav, .main-nav.is-open { gap: 24px; }
  .main-nav.is-open a:not(.btn) { display: inline; padding: 0; font-size: inherit; }
  .main-nav.is-open .btn { width: auto; }
  .menu-toggle { display: none; }
  .main-nav .nav-home { display: none; }
  .header-inner { gap: 24px; justify-content: flex-start; }
  .header-actions { order: 2; margin-left: auto; }
  .main-nav { order: 3; }
}

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 1; padding-top: 12px; padding-bottom: 40px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; }
.hero h1 { color: var(--white); }
.hero p.lead { font-size: 19px; max-width: 34em; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 800; padding: 8px 14px; border-radius: 999px;
}
.chip svg { width: 14px; height: 14px; }
.chip-mint { background: var(--mint); color: #29245E; }
.chip-soft-pink { background: rgba(233, 163, 191, 0.18); color: #F5D2E0; }
.chip-soft-mint { background: rgba(184, 172, 235, 0.2); color: #DCD6F6; }
.chip-soft-yellow { background: rgba(233, 163, 191, 0.18); color: #F5D2E0; }
.chip-yellow { background: var(--yellow); color: var(--indigo); }
.chip-pink { background: var(--pink); color: var(--indigo); }
.chip-mintsolid { background: var(--mint); color: var(--indigo); }

.squiggle { position: relative; display: inline-block; color: var(--pink); }
.squiggle svg {
  position: absolute; left: 0; bottom: -0.12em; width: 100%; height: 0.22em;
  overflow: visible;
}
.squiggle path { fill: none; stroke: var(--mint); stroke-width: 6; stroke-linecap: round; }

.hero-photo { position: relative; justify-self: center; width: min(58vw, 320px); aspect-ratio: 1; }
.hero-photo .sticker { width: clamp(76px, 7.5vw, 100px); font-size: clamp(13px, 1.1vw, 15px); }
.hero-photo img { border-width: clamp(6px, 0.9vw, 9px); }
.hero-photo .orbit { position: absolute; inset: -7%; width: 114%; height: 114%; }
.hero-photo img, .photo-ring img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 999px;
  border: clamp(8px, 1.2vw, 12px) solid var(--pink); background: var(--photo);
}
.sticker {
  position: absolute; left: -2%; bottom: 2%;
  width: clamp(96px, 11vw, 140px); aspect-ratio: 1; border-radius: 999px;
  background: var(--mint); color: #29245E;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(15px, 1.5vw, 20px); line-height: 1.1;
  transform: rotate(-12deg); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}
.sticker:hover { color: #29245E; transform: rotate(-8deg) scale(1.04); }

@media (min-width: 700px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (min-width: 960px) {
  .hero { padding-top: 48px; padding-bottom: 96px; }
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; }
  .hero-photo { width: 100%; max-width: 320px; }
}

/* Page hero (inner pages) */
.page-hero { position: relative; z-index: 1; padding-top: 20px; padding-bottom: 44px; }
.page-hero .inner { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.page-hero h1 { color: var(--white); }
.page-hero p { font-size: 19px; }
@media (min-width: 960px) {
  .page-hero { padding-top: 56px; padding-bottom: 96px; }
  .page-hero .inner { align-items: center; text-align: center; margin: 0 auto; }
}

/* ---------- Waves ---------- */
.wave { display: block; line-height: 0; background: var(--from); }
.wave svg { display: block; width: 100%; height: 40px; }
.wave path { fill: var(--to); }
@media (min-width: 900px) { .wave svg { height: 70px; } }

/* ---------- Sections ---------- */
.sec { padding-top: 40px; padding-bottom: 64px; }
.sec--blush { background: var(--blush); }
.sec--lav { background: var(--lavender); }
.sec--night { background: var(--indigo); color: var(--on-night); position: relative; overflow: hidden; }
.sec--night h2, .sec--night h3 { color: var(--white); }
@media (min-width: 900px) { .sec { padding-top: 56px; padding-bottom: 104px; } }

.sec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; max-width: 720px; }
.sec-head--center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.kicker { font-size: 15px; font-weight: 800; color: var(--pink-ink); }
.sec--night .kicker { color: var(--mint); }
.sec-head p { font-size: 18px; }

.prose { max-width: 40em; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { margin-top: 20px; }
.prose h3 { margin-top: 12px; }
.prose ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Intro / about ---------- */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; } }
.photo-ring { position: relative; width: min(80vw, 440px); aspect-ratio: 1; justify-self: center; }
.photo-ring .orbit { position: absolute; inset: -8%; width: 116%; height: 116%; }
.stack { display: flex; flex-direction: column; gap: 18px; }

/* ---------- Question links ---------- */
.q-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .q-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.q-link {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--white); border-radius: var(--radius-md); padding: 18px 18px 18px 22px;
  text-decoration: none; color: var(--indigo); font-weight: 800; font-size: 17px; line-height: 1.4;
  box-shadow: var(--shadow);
}
.q-link:hover { color: var(--indigo); }
.q-dot {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}
.q-dot svg { width: 18px; height: 18px; stroke: var(--indigo); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bg-pink { background: var(--pink); }
.bg-mint { background: var(--lilac); }
.bg-yellow { background: var(--pink); }
.bg-lilac { background: var(--lilac); }
.bg-peach { background: var(--pink); }
.head-split { display: grid; gap: 24px; }
@media (min-width: 960px) { .head-split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; } }

/* ---------- TikTok strip ---------- */
.tt-grid { display: grid; gap: 28px; align-items: center; }
.tt-videos { display: flex; gap: 14px; overflow-x: auto; padding: 8px 4px 12px; scroll-snap-type: x mandatory; }
.tt-tile {
  flex: 0 0 150px; aspect-ratio: 9 / 16; border-radius: var(--radius-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--indigo); font-weight: 800; font-size: 14px; text-decoration: none; scroll-snap-align: start;
}
.tt-tile:hover { color: var(--indigo); }
.tt-play { width: 54px; height: 54px; border-radius: 999px; background: var(--indigo); display: flex; align-items: center; justify-content: center; }
.tt-play svg { width: 22px; height: 22px; fill: var(--white); }
.ig-tile { aspect-ratio: 4 / 5; flex-basis: 190px; }
.tt-play.ig-icon svg { fill: none; stroke: var(--white); }
@media (min-width: 960px) {
  .tt-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
  .tt-videos { overflow: visible; }
  .tt-tile { flex: 1 1 0; }
  .tt-tile:nth-child(odd) { transform: rotate(-2deg); }
  .tt-tile:nth-child(even) { transform: rotate(1.5deg); }
}
.link-mint { color: var(--mint); font-weight: 800; }
.link-mint:hover { color: var(--yellow); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1000px) { .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step {
  background: var(--white); border-radius: var(--radius-lg); padding: 26px;
  display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow);
}
.step-num {
  width: 54px; height: 54px; border-radius: 999px; color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 26px; font-weight: 600;
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 16px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.quote { background: var(--white); border-radius: var(--radius-lg); padding: 28px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.quote-mark { font-family: var(--font-display); font-size: 64px; line-height: 0.5; height: 30px; }
.quote blockquote { flex-grow: 1; margin: 0; font-size: 18px; font-weight: 600; color: var(--indigo); line-height: 1.55; }
.quote figcaption { font-size: 15px; font-weight: 800; color: var(--muted); }
.c-pink { color: var(--pink); } .c-mint { color: var(--lilac); } .c-yellow { color: var(--pink); }

/* ---------- Packages ---------- */
.pk-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.currency { display: flex; align-items: center; gap: 12px; }
.currency-label { font-weight: 800; color: var(--indigo); font-size: 15px; }
.toggle { display: inline-flex; gap: 4px; padding: 4px; background: var(--white); border-radius: 999px; box-shadow: var(--shadow); }
.toggle button {
  min-height: 44px; padding: 0 18px; border: none; border-radius: 999px; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; font-weight: 800; background: transparent; color: var(--indigo);
}
.toggle button[aria-pressed="true"] { background: var(--indigo); color: var(--white); }

.pk-grid { display: grid; gap: 26px; }
@media (min-width: 700px) { .pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pk-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; } }
.pk {
  position: relative; background: var(--white); border: 2px solid var(--accent);
  border-radius: 28px; padding: 28px 20px 20px; display: flex; flex-direction: column; gap: 16px;
}
.pk--popular { background: #F4F1FC; border: 3px solid var(--yellow); box-shadow: 0 14px 34px rgba(41, 36, 94, 0.14); }
@media (min-width: 1100px) { .pk--popular { transform: translateY(-8px); } }
.pk-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%) rotate(3deg); white-space: nowrap;
  background: var(--indigo); color: var(--yellow); font-size: 13px; font-weight: 800;
  padding: 6px 14px; border-radius: 999px;
}
.pk-icon { width: 52px; height: 52px; border-radius: 999px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.pk-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--indigo); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pk-title { display: flex; flex-direction: column; gap: 4px; }
.pk-title h3 { font-size: 25px; }
.pk-sub { font-size: 14px; color: var(--muted); font-weight: 700; line-height: 1.4; }
.pk-price { display: flex; flex-direction: column; gap: 2px; }
.pk-amount { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--indigo); line-height: 1.1; }
.pk-note { font-size: 13px; color: var(--muted); font-weight: 700; }
.pk-best { background: #FBF1F5; border-radius: var(--radius-sm); padding: 12px; font-size: 14px; line-height: 1.45; color: var(--indigo); }
.pk-best strong { font-weight: 800; }
.pk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; flex-grow: 1; }
.pk-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.pk-list svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; fill: none; stroke: var(--mint-ink); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.pk .btn { width: 100%; min-height: 50px; padding: 0 16px; font-size: 15px; }
@media (min-width: 1100px) { .pk-sub { min-height: 40px; } .pk-best { min-height: 80px; } }

.addon {
  margin-top: 28px; background: var(--indigo); color: var(--on-night); border-radius: var(--radius-lg);
  padding: 24px; display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: center;
}
.addon h3 { color: var(--white); }
.addon-moon { width: 60px; height: 60px; border-radius: 999px; background: var(--yellow); display: flex; align-items: center; justify-content: center; }
.addon-moon svg { width: 30px; height: 30px; fill: var(--indigo); }
.addon-body { display: flex; flex-direction: column; gap: 4px; }
.addon-kicker { font-size: 14px; font-weight: 800; color: var(--mint); }
.addon-price { font-family: var(--font-display); font-size: 36px; font-weight: 600; color: var(--yellow); grid-column: 1 / -1; }
@media (min-width: 760px) {
  .addon { grid-template-columns: auto 1fr auto; padding: 28px 40px; }
  .addon-price { grid-column: auto; }
}
.secure { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 20px; font-size: 15px; color: var(--muted); font-weight: 700; text-align: center; }
.secure svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; }

/* Compare table */
.compare-wrap { position: relative; overflow-x: auto; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 12px; text-align: center; border-top: 1px solid #F0ECFA; }
.compare thead th { border-top: none; padding-top: 22px; }
.compare th[scope="row"] { text-align: left; color: var(--indigo); font-weight: 800; padding-left: 24px; }
.compare .col-head { display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--indigo); }
.compare .col-head .pk-icon { width: 42px; height: 42px; }
.compare .col-head .pk-icon svg { width: 21px; height: 21px; }
.tick { width: 32px; height: 32px; border-radius: 999px; background: var(--mint); display: inline-flex; align-items: center; justify-content: center; }
.tick svg { width: 17px; height: 17px; fill: none; stroke: var(--indigo); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.dash { display: inline-block; width: 16px; height: 3px; border-radius: 3px; background: #CFC8E6; }
.compare .price-row td, .compare .price-row th { background: #F4F1FC; }
.compare .val { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--indigo); }
.swipe-hint { font-size: 14px; font-weight: 700; color: var(--muted); margin: -12px 0 14px; }
@media (min-width: 760px) { .swipe-hint { display: none; } }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq-group + .faq-group { margin-top: 36px; }
.faq-group h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 16px; }
details.faq { background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow); }
details.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 18px 18px 22px; font-weight: 800; font-size: 17px; color: var(--indigo); line-height: 1.4;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .q-dot svg { transition: transform 0.2s ease; }
details.faq[open] summary .q-dot svg { transform: rotate(45deg); }
details.faq .answer { padding: 0 22px 22px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Forms ---------- */
.card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 800; color: var(--indigo); font-size: 15px; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--indigo);
  border: 2px solid #E3DDF7; border-radius: var(--radius-sm); padding: 12px 16px; background: var(--white);
  min-height: 50px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 3px rgba(41, 36, 94, 0.15); }
.form-row { display: grid; gap: 16px; }
@media (min-width: 700px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-note { font-size: 14px; color: var(--muted); }
.hidden-field { display: none; }

.contact-grid { display: grid; gap: 24px; align-items: start; }
.contact-grid > * { min-width: 0; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; } }
.side-stack { display: flex; flex-direction: column; gap: 20px; }
.social-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.social-list a { overflow-wrap: anywhere; display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; font-weight: 800; color: var(--indigo); }
.social-dot { width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.social-dot svg { width: 20px; height: 20px; fill: none; stroke: var(--indigo); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Pink promo box */
.promo {
  background: var(--pink); border-radius: 36px; padding: 32px 26px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px; color: var(--indigo);
}
.promo .promo-moon { position: absolute; right: -24px; top: -30px; width: 150px; height: 150px; opacity: 0.3; fill: var(--white); }
.promo > * { position: relative; }
.promo-form { display: flex; flex-direction: column; gap: 10px; }
.promo-form label { font-weight: 800; }
.promo-form input { min-height: 54px; border-radius: 999px; border: none; padding: 0 22px; font-family: var(--font-body); font-size: 16px; color: var(--indigo); }
@media (min-width: 900px) {
  .promo { padding: 56px 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
  .promo--cta { display: flex; flex-direction: row; justify-content: space-between; align-items: center; }
  .promo-inline { display: flex; gap: 10px; }
  .promo-inline input { flex-grow: 1; }
}
.promo-inline { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 900px) { .promo-inline { flex-direction: row; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo); color: var(--on-night); padding-top: 24px; padding-bottom: 48px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; } }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-title { font-size: 14px; font-weight: 800; color: var(--yellow); margin-bottom: 8px; }
.site-footer .social-list a { color: var(--white); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--on-night); }
.footer-links a:hover, .footer-legal a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid #433E7E; margin-top: 40px; padding-top: 24px;
  display: flex; flex-direction: column; gap: 16px; font-size: 14px; color: var(--on-night-2);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a { color: var(--on-night-2); }
@media (min-width: 900px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: flex-start; } .footer-bottom p { max-width: 40em; } }

/* ---------- Sleep tips ---------- */
.tip-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .tip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.tip-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow);
  color: var(--text); text-decoration: none; transition: transform 0.2s ease;
}
.tip-card:hover { transform: translateY(-3px); color: var(--text); }
.tip-card h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); color: var(--indigo); }
.tip-card-foot { margin-top: auto; font-size: 14px; color: var(--muted); }
.tips-strip { margin-top: 48px; display: grid; gap: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; font-weight: 700; margin-bottom: 20px; color: var(--muted); }
.article { font-size: 18px; }
.article h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.article-meta { font-size: 15px; color: var(--muted); }
.article-faq { margin-top: 48px; }
.author-box { display: flex; flex-direction: column; gap: 20px; margin-top: 48px; max-width: 860px; }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
@media (min-width: 700px) { .author-box { flex-direction: row; align-items: flex-start; } }
.author-name { font-weight: 800; color: var(--pink-ink); }
.small { font-size: 14px; color: var(--muted); }
.related { margin-top: 48px; display: grid; gap: 20px; max-width: 860px; }
.related h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.review-banner { background: #FFF3D6; color: #7A5A00; border-radius: var(--radius-sm); padding: 12px 18px; margin-bottom: 24px; }

/* ---------- Questionnaire ---------- */
.questionnaire { max-width: 860px; margin: 0 auto; gap: 24px; }
.q-section { border: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.q-section legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--indigo); }
.q-section legend + * { clear: both; }
.field .label { font-weight: 800; color: var(--indigo); font-size: 15px; }
.hint { display: block; font-weight: 600; font-size: 14px; color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.choices label, .consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 16px; color: var(--text); }
.field .choices input, .consent input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--indigo); }

/* ---------- Sleep diary ---------- */
.linklike { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: var(--indigo); text-decoration: underline; cursor: pointer; }
.day-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.day-jump a { background: var(--lavender); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 14px; text-decoration: none; }
.d-head { font-size: 1.15rem; margin-top: 6px; }
.d-table { display: flex; flex-direction: column; gap: 10px; }
.d-row { display: grid; gap: 8px; background: var(--blush); border-radius: var(--radius-sm); padding: 12px; }
.d-row label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.d-row input:not([type="checkbox"]) { font-family: var(--font-body); font-size: 16px; color: var(--indigo); border: 2px solid #E3DDF7; border-radius: 12px; padding: 8px 10px; background: var(--white); min-height: 44px; width: 100%; }
.d-row .d-check { flex-direction: row; align-items: center; gap: 8px; font-size: 15px; color: var(--text); }
.d-check input { width: 20px; height: 20px; accent-color: var(--indigo); }
.d-name { font-weight: 800; color: var(--indigo); }
.d-labels { display: none; }
.diary-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
@media (min-width: 900px) {
  .d-row { grid-template-columns: 90px 1fr 1.6fr 1fr 1fr; align-items: center; background: none; padding: 0; border-radius: 0; }
  .d-row label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .d-row .d-check > span { position: static; width: auto; height: auto; clip: auto; }
  .d-labels { display: grid; font-size: 13px; font-weight: 800; color: var(--muted); }
}
@media print {
  .site-header, .site-footer, .top, .wave, .diary-send, .diary-intro, .diary-day .step-num, .skip { display: none !important; }
  ::placeholder { color: transparent !important; }
  .is-empty, .is-empty::-webkit-datetime-edit { color: transparent !important; }
  body, .sec--blush { background: #fff !important; }
  .sec { padding: 0 !important; }
  .card { box-shadow: none !important; border: 1px solid #ccc; padding: 14px !important; }
  .diary-day { break-inside: avoid; page-break-inside: avoid; }
  .d-row { grid-template-columns: 70px 1fr 1.6fr 1fr 1fr !important; padding: 0 !important; background: none !important; align-items: center; }
  .d-row label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .d-row .d-check > span { position: static; width: auto; height: auto; clip: auto; }
  .d-labels { display: grid !important; font-size: 11px; }
  .d-row input:not([type="checkbox"]), .field input, .field textarea { min-height: 30px !important; padding: 4px 6px !important; border: 1px solid #999 !important; border-radius: 4px !important; }
  input[type="time"]::-webkit-calendar-picker-indicator, input[type="date"]::-webkit-calendar-picker-indicator { display: none; }
}

/* Placeholder marker: remove once real content is in */
.todo { background: #FFF3D6; color: #7A5A00; border-radius: 6px; padding: 0 4px; }
