/* =========================================================
   Sleepmee — Personalised Lullabies
   Keeps Duna's calm structure (generous whitespace, painterly
   full-bleed bands, restrained sections) but softens the voice
   for young mothers: warm plum ink instead of cold navy, a soft
   wonky serif, blush-tinted rounded cards instead of hairlines.
   ========================================================= */

:root {
  --cream:      #FDF8F3;
  --blush:      #FBEEE8;   /* soft panel fill */
  --rose-panel: #F7E4DC;   /* stronger blush for highlight cells */
  --white:      #FFFFFF;

  --ink:        #3A2B3F;   /* warm deep plum — 12.5:1 on cream */
  --ink-muted:  #6B5A66;   /* 6.1:1 on cream */
  --rose:       #E9B7A7;
  --rose-deep:  #9E4E3E;   /* AA on cream, blush, white and rose-panel */
  --sage:       #A9B9A5;
  --lilac-panel: #F3EAF2;
  --plum-rose:  #8A4A63;   /* 5.5:1 on the lilac panel */
  --plum-night: #4A3550;
  --plum-deep:  #2E2338;
  --plum-surface: #5C4160; /* footer / dark-band zone on the page gradient */

  --line:       rgba(58, 43, 63, 0.12);
  --line-soft:  rgba(58, 43, 63, 0.07);

  /* Softer, rounder than the Duna original. */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --gutter: 20px;
  --maxw: 1200px;
  --maxw-narrow: 760px;
  --section-y: 72px;
}

@media (min-width: 700px) {
  :root { --gutter: 40px; --section-y: 112px; }
}

/* ---------- Reset / base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background-color: #241D36;
  background-image:
    radial-gradient(72% 50vh at 18% 0%, rgba(240, 186, 176, .65), transparent 70%),
    radial-gradient(66% 45vh at 84% 0%, rgba(247, 214, 196, .6), transparent 68%),
    radial-gradient(80% 55vh at 62% 5%, rgba(226, 197, 214, .4), transparent 72%),
    radial-gradient(90% 40vh at 30% 12%, rgba(240, 205, 200, .35), transparent 68%),
    linear-gradient(
      180deg,
      #F6DED6 0%,
      #FAE9DE 6%,
      #FDF8F3 18%,
      #F9F1EC 35%,
      #F0E4EA 48%,
      #DBC8D4 58%,
      #B899AE 68%,
      #7D5F7A 78%,
      #5C4160 86%,
      #453455 92%,
      #332A48 96%,
      #241D36 100%
    );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

/* Fraunces with the SOFT axis up and WONK on: rounded terminals and a
   slightly playful tilt on the wonky glyphs. */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: "opsz" 96, "SOFT" 80, "WONK" 1;
  line-height: 1.12;
  letter-spacing: -0.018em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.375rem, 8.4vw, 4rem); line-height: 1.06; }
h2 { font-size: clamp(1.875rem, 5.2vw, 2.625rem); }
h3 { font-size: 1.25rem; font-variation-settings: "opsz" 30, "SOFT" 90, "WONK" 1; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; }
ul { margin: 0; padding: 0; }
li { list-style: none; }

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .72); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.lede {
  font-size: 1.0625rem;
  color: var(--ink-muted);
  max-width: 46ch;
}

@media (min-width: 700px) {
  .lede { font-size: 1.1875rem; }
}

/* ---------- Chip label (soft blush pill) ---------- */

.chip {
  display: inline-block;
  margin: 0 0 1.15rem;
  padding: .4rem .95rem;
  border-radius: var(--r-pill);
  background: var(--rose-panel);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.35;
  color: var(--rose-deep);
}
.chip--onart {
  background: rgba(255, 255, 255, .8);
  color: var(--rose-deep);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---------- Focus & skip link ---------- */

:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 3px;
  border-radius: 6px;
}
.site-footer :focus-visible,
.site-header :focus-visible,
.hero :focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: .8rem 1.4rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: .9375rem;
  text-decoration: none;
  transition: transform .18s ease;
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 54px;
  padding: .9rem 1.6rem;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease,
              border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn__icon { width: 20px; height: 20px; flex: none; }

.btn--primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 8px 20px -10px rgba(58, 43, 63, .55);
}
.btn--primary:hover { background: #2C2030; box-shadow: 0 12px 26px -10px rgba(58, 43, 63, .6); }

.btn--secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--rose);
}
.btn--secondary:hover { border-color: var(--rose-deep); }

.btn--sm { min-height: 44px; padding: .55rem 1.2rem; font-size: .9375rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.75rem;
}
.cta-row .btn { flex: 1 1 100%; }
.cta-row--center { justify-content: center; }

@media (min-width: 560px) {
  .cta-row .btn { flex: 0 1 auto; }
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .45rem 1.2rem;
  border: 1.5px solid var(--rose);
  border-radius: var(--r-pill);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease;
}
.pill-link:hover { background: var(--blush); border-color: var(--rose-deep); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--plum-surface);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck {
  box-shadow: 0 4px 18px -12px rgba(0, 0, 0, .35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand__logo {
  display: block;
  height: 30px;
  width: auto;
  flex: none;
}

@media (min-width: 900px) {
  .brand__logo { height: 34px; }
}

.brand--footer .brand__logo { height: 34px; }

/* ---------- Official streaming badges ---------- */

.stream-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 10.5rem;
  aspect-ratio: 500 / 186;
  line-height: 0;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}
.stream-badge:hover { transform: translateY(-2px); }
.stream-badge:active { transform: translateY(0); }
.stream-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.cta-row--badges {
  align-items: center;
  gap: .75rem;
}
.cta-row--badges .stream-badge { flex: 0 1 auto; }

.cta-row--badges--hero .stream-badge {
  width: min(100%, 12.25rem);
}

@media (max-width: 559px) {
  .cta-row--badges:not(.cta-row--center) {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-row--badges .stream-badge {
    width: 100%;
    max-width: 17.5rem;
    margin-inline: auto;
  }
}

.stream-badge--stick {
  flex: 1 1 50%;
  width: auto;
  min-width: 0;
  max-width: none;
  aspect-ratio: 500 / 186;
  height: auto;
}

.site-nav ul { display: flex; gap: 1.15rem; }
.site-nav a {
  display: inline-block;
  padding: .5rem 0;
  font-size: .9375rem;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  transition: color .18s ease;
}
.site-nav a:hover { color: var(--white); }

.site-header__cta { display: none; }
.site-header .btn--primary {
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}
.site-header .btn--primary:hover { background: var(--cream); }

@media (min-width: 900px) {
  .site-header__inner { min-height: 74px; }
  .site-nav ul { gap: 1.9rem; }
  .site-header__cta { display: inline-flex; margin-left: 1.75rem; }
}

/* ---------- Hero: soft painterly band ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding-block: 60px 84px;
  text-align: center;
}


.hero__inner { position: relative; }

.hero__title { margin-inline: auto; max-width: 15ch; margin-bottom: .42em; }
.hero__title em {
  font-style: normal;
  color: var(--rose-deep);
  white-space: nowrap;
}

.hero__lede {
  margin-inline: auto;
  max-width: 44ch;
  font-size: 1.0625rem;
  color: var(--ink-muted);
}
.hero__micro {
  margin-top: 1.1rem;
  font-size: .875rem;
  color: var(--ink-muted);
}
.hero__micro a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(107, 90, 102, .35);
  text-underline-offset: .2em;
  transition: color .18s ease, text-decoration-color .18s ease;
}
.hero__micro a:hover {
  color: var(--rose-deep);
  text-decoration-color: currentColor;
}
.hero__micro em {
  font-style: italic;
  font-weight: 400;
}

@media (min-width: 700px) {
  .hero { padding-block: 92px 112px; }
  .hero__lede { font-size: 1.1875rem; }
}

/* Floating night-lights */
.nightlights { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.nightlights span {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--white);
  opacity: .5;
  animation: drift 17s ease-in-out infinite;
}
.nightlights span:nth-child(1) { left: 9%;  top: 24%; animation-delay: 0s; }
.nightlights span:nth-child(2) { left: 84%; top: 17%; width: 6px; height: 6px; background: var(--rose); animation-delay: -4s; }
.nightlights span:nth-child(3) { left: 74%; top: 63%; width: 7px; height: 7px; animation-delay: -8s; }
.nightlights span:nth-child(4) { left: 17%; top: 68%; width: 6px; height: 6px; background: var(--sage); animation-delay: -12s; }
.nightlights span:nth-child(5) { left: 47%; top: 9%;  width: 5px; height: 5px; background: var(--rose); animation-delay: -15s; }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0);     opacity: .3; }
  50%      { transform: translate3d(0, -20px, 0); opacity: .68; }
}

/* ---------- Hero album card ---------- */

.album {
  width: min(100%, 355px);
  margin: 3rem auto -1rem;
  padding: 13px;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: 0 3px 8px rgba(58, 43, 63, .05), 0 26px 50px -24px rgba(58, 43, 63, .3);
  text-align: left;
  transform: rotate(-1.6deg);
  transition: transform .45s cubic-bezier(.22, .8, .3, 1);
}
.album:hover { transform: rotate(0deg); }

.album__art {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
}
.album__cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.album__meta { padding: 1.05rem .6rem .55rem; }
.album__title {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 500;
  font-variation-settings: "opsz" 30, "SOFT" 90, "WONK" 1;
  letter-spacing: -0.015em;
  margin-bottom: .2rem;
}
.name-swap {
  display: inline-block;
  color: var(--rose-deep);
  transition: opacity .5s ease;
}
.name-swap.is-fading { opacity: 0; }

.album__sub {
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

@media (min-width: 700px) {
  .album { margin-top: 3.75rem; }
}

/* ---------- Why sleepmee feature cards ---------- */

.why-sleepmee__title {
  width: 100%;
  margin: 0 0 2.5rem;
  text-align: center;
}

.colrow--six .colrow__item {
  position: relative;
  padding-right: 4.75rem;
}

.colrow__feature-icon {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 48px;
  height: 48px;
  object-fit: contain;
  pointer-events: none;
}

@media (min-width: 780px) {
  .colrow--six { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .colrow--six .colrow__item { padding: 2.1rem 5rem 2.25rem 1.9rem; }
  .colrow__feature-icon {
    top: 1.35rem;
    right: 1.35rem;
    width: 56px;
    height: 56px;
  }
}
@media (min-width: 960px) {
  .colrow--six { grid-template-columns: repeat(3, 1fr); }
}

.colrow--six .colrow__item:nth-child(3n+2) { background: var(--blush); border-color: var(--rose-panel); }
.colrow--six .colrow__item:nth-child(3n) { background: var(--lilac-panel); border-color: #EBDFEA; }

/* ---------- Section head ---------- */

.section__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.section__head h2 { max-width: 20ch; margin-bottom: 0; }

@media (min-width: 860px) {
  .section__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2.5rem;
  }
  .section__head > div { flex: 1 1 auto; }
}

/* ---------- Soft panels ---------- */

.panel {
  background: var(--blush);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.panel--flush { padding: 0; }

.panel--media {
  aspect-ratio: 4 / 3;
  color: var(--rose-deep);
  background:
    radial-gradient(70% 70% at 26% 22%, rgba(240, 186, 176, .75), transparent 66%),
    radial-gradient(65% 65% at 82% 84%, rgba(213, 197, 216, .6), transparent 68%),
    linear-gradient(150deg, #FAE6DC, #F3E2E6);
}
.panel--media img { width: 100%; height: 100%; object-fit: cover; }
.panel--wide { aspect-ratio: 3 / 2; }

/* ---------- Empathy ---------- */

.empathy { display: grid; gap: 2.5rem; }
.empathy__copy h2 { max-width: 18ch; }

@media (min-width: 860px) {
  .empathy { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
}

/* ---------- Feature cards ---------- */

.colrow { display: grid; gap: 1rem; }
.colrow__item {
  padding: 1.9rem 1.65rem 2rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1.5px solid var(--blush);
}
.colrow__item:nth-child(2) { background: var(--blush); border-color: var(--rose-panel); }
.colrow__item:nth-child(3) { background: var(--lilac-panel); border-color: #EBDFEA; }

.colrow__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--rose-panel);
  color: var(--rose-deep);
  margin-bottom: 1.25rem;
}
.colrow__item:nth-child(2) .colrow__icon { background: var(--white); }
.colrow__item:nth-child(3) .colrow__icon { background: var(--white); color: var(--plum-rose); }
.colrow__icon svg { width: 25px; height: 25px; }

.colrow__item h3 { margin-bottom: .45rem; }
.colrow__item p { color: var(--ink-muted); font-size: .96875rem; }

@media (min-width: 780px) {
  .colrow { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .colrow__item { padding: 2.1rem 1.9rem 2.25rem; }
}

/* ---------- Name search ---------- */

/* ---------- Listen / name search ---------- */

.listen__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: .5rem;
}

.listen__head h2 {
  max-width: 22ch;
  margin-bottom: 0;
}

.namesearch { width: 100%; }
.namesearch__field { position: relative; display: flex; align-items: center; }
.namesearch__field svg {
  position: absolute;
  left: 17px;
  width: 18px; height: 18px;
  color: var(--rose-deep);
  pointer-events: none;
}
.namesearch input {
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem .8rem 3rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--rose);
  border-radius: var(--r-pill);
  appearance: none;
}
.namesearch input::placeholder { color: #7E6B79; }
.namesearch input:focus-visible { border-color: var(--rose-deep); outline-offset: 2px; }

.namesearch__status {
  margin: 0 0 1.25rem;
  min-height: 1.4em;
  font-size: .9375rem;
  color: var(--ink-muted);
}

/* ---------- Album cards ---------- */

.albums { display: grid; gap: 1.25rem; }

.album-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 12px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1.5px solid var(--blush);
  transition: transform .22s ease, border-color .22s ease;
}
.album-card:hover { transform: translateY(-3px); border-color: var(--rose); }

.album-card__art {
  flex: none;
  width: 92px;
  border-radius: var(--r-md);
  overflow: hidden;
  display: block;
  background: var(--plum-deep);
  position: relative;
}
.album-card__art svg,
.album-card__art img { width: 100%; height: auto; display: block; }
.album-card__art img { aspect-ratio: 1; object-fit: cover; }

.album-card--soon .album-card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(253, 248, 243, .42);
  z-index: 1;
  pointer-events: none;
}

.album-card__ribbon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-38deg);
  width: 158%;
  padding: .48rem 0;
  background: linear-gradient(
    180deg,
    #c46856 0%,
    var(--rose-deep) 42%,
    #874636 100%
  );
  color: var(--white);
  font-family: var(--font-body);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
  box-shadow:
    0 3px 14px rgba(58, 43, 63, .32),
    inset 0 1px 0 rgba(255, 255, 255, .22);
  z-index: 2;
  pointer-events: none;
}

.album-card--soon {
  opacity: .94;
}
.album-card--soon:hover {
  transform: none;
  border-color: var(--blush);
}

.album-card__body { min-width: 0; }
.album-card__title { font-size: 1.0625rem; margin-bottom: .15rem; }
.album-card__sub {
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: .6rem;
}

.album-card__links { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.album-card__links a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  padding: .35rem .9rem;
  border: 1.5px solid var(--blush);
  border-radius: var(--r-pill);
  font-size: .8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease;
}
.album-card__links a:hover { background: var(--blush); border-color: var(--rose); }
.album-card__links svg { width: 15px; height: 15px; flex: none; }
.album-card__links a:first-child svg { color: #147A38; }

.album-card[hidden] { display: none; }

@media (min-width: 620px) {
  .albums { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .albums { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .album-card { flex-direction: column; align-items: stretch; gap: .9rem; padding: 14px; }
  .album-card__art { width: 100%; border-radius: 22px; }
  .album-card__body { padding: 0 .35rem .35rem; }
  .album-card__title { font-size: 1.125rem; }
  .album-card__ribbon { font-size: .75rem; padding: .55rem 0; }
}

.albums__note {
  margin-top: 2.25rem;
  padding: 1.1rem 1.4rem;
  border-radius: var(--r-md);
  background: var(--blush);
  font-size: .9375rem;
  color: var(--ink-muted);
}

/* ---------- FAQ ---------- */

.faq-grid { display: grid; gap: 2rem; }

.faq__head {
  text-align: center;
  margin-bottom: .5rem;
}
.faq__head h2 {
  max-width: none;
  margin-inline: auto;
}

.faq { display: grid; gap: .75rem; }
.faq__item {
  border-radius: var(--r-md);
  background: var(--white);
  border: 1.5px solid var(--blush);
  transition: border-color .2s ease;
}
.faq__item[open] { border-color: var(--rose); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 1.05rem 1.3rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  font-variation-settings: "opsz" 24, "SOFT" 90, "WONK" 1;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--rose-deep);
  border-bottom: 2px solid var(--rose-deep);
  border-radius: 0 0 3px 0;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.faq__answer { padding: 0 1.3rem 1.3rem; }
.faq__answer p { color: var(--ink-muted); font-size: .96875rem; max-width: 60ch; }

@media (min-width: 860px) {
  .faq__item summary { font-size: 1.125rem; padding: 1.25rem 1.6rem; }
  .faq__answer { padding: 0 1.6rem 1.5rem; }
  .faq__answer p { font-size: 1rem; max-width: none; }
}

/* ---------- Final CTA ---------- */

.final-cta .why-sleepmee__title { color: var(--white); }

.final-cta__lede {
  margin-inline: auto;
  max-width: 42ch;
  text-align: center;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 1.75rem;
}
.final-cta__micro {
  margin-top: 1.25rem;
  text-align: center;
  font-size: .9375rem;
  color: rgba(255, 255, 255, .85);
}

@media (min-width: 700px) {
  .final-cta__lede { font-size: 1.1875rem; }
}

/* ---------- Footer: painterly nightscape ---------- */

.site-footer {
  position: relative;
  color: var(--white);
  padding-block: 3.5rem 2rem;
}

.site-footer__grid { display: grid; gap: 2.25rem; }

.brand--footer { margin-right: 0; margin-bottom: 1rem; color: var(--white); }

.site-footer__founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}
.site-footer__photo {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
}
.site-footer__founder-copy p {
  font-size: .9375rem;
  color: rgba(255, 255, 255, .8);
  max-width: 44ch;
}
.site-footer__brand strong { font-weight: 500; color: var(--white); }
.site-footer__contact a { color: var(--white); }

@media (min-width: 700px) {
  .site-footer__founder {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
  }
  .site-footer__founder-copy p { max-width: none; }
}

.site-footer__col h2 {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .68);
  margin-bottom: .9rem;
}
.site-footer__col ul { display: grid; gap: .1rem; }
.site-footer__col a {
  display: inline-block;
  padding: .4rem 0;
  font-size: .9375rem;
  color: rgba(255, 255, 255, .92);
  text-decoration: none;
}
.site-footer__col a:hover { color: var(--white); text-decoration: underline; }

.site-footer__legal {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.site-footer__legal p {
  font-size: .8125rem;
  color: rgba(255, 255, 255, .78);
  margin-bottom: .3rem;
}
.site-footer__legal a { color: rgba(255, 255, 255, .92); }

@media (min-width: 780px) {
  .site-footer { padding-block: 5rem 2.5rem; }
  .site-footer__grid { grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 3rem; }
  .site-footer__legal { display: flex; justify-content: space-between; gap: 2rem; }
}

/* ---------- Long-form pages (privacy, terms) ---------- */

.prose h1 { font-size: clamp(2.25rem, 7vw, 3rem); margin-bottom: .3em; }
.prose h2 {
  font-size: clamp(1.25rem, 4vw, 1.625rem);
  margin-top: 2.75rem;
  margin-bottom: .6em;
}
.prose p { color: var(--ink-muted); max-width: 66ch; }
.prose .lede { margin-bottom: 2rem; font-size: 1rem; color: var(--ink-muted); }
.prose a { color: var(--ink); text-decoration-color: var(--rose); text-underline-offset: 3px; }

/* ---------- Sticky mobile CTA ---------- */

.stickybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  padding: .625rem var(--gutter) calc(.625rem + env(safe-area-inset-bottom));
  background: rgba(253, 248, 243, .94);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-top: 1px solid var(--line-soft);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .32s cubic-bezier(.22, .8, .3, 1), visibility .32s;
}
.stickybar.is-visible { transform: translateY(0); visibility: visible; }

.stickybar__inner {
  display: flex;
  gap: .5rem;
  max-width: 520px;
  margin-inline: auto;
}
.btn--stick { flex: 1 1 50%; min-height: 50px; padding-inline: .75rem; font-size: .9375rem; }

@media (min-width: 900px) { .stickybar { display: none; } }
@media (max-width: 899px) { body.has-stickybar { padding-bottom: 76px; } }

/* ---------- Scroll reveal ---------- */
/* Opt-in via .js on <html> so content stays visible if JS never runs. */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .3, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .album-card:hover, .stream-badge:hover { transform: none; }
  .album { transform: none; }
  .stickybar { transition: none; }
}
