/* home.css: PeptideUp home page (shared by /, /es/, and /de/).
   Nordic Alabaster & Midnight Slate with jewel Raspberry primary.
   Strict 3-size body scale below the hero: --text-heading, --text-body, --text-sm. */

:root {
  --hero-wash-top: #EDEFF7;
  --hero-wash-rose: rgba(181, 45, 93, 0.085);
  --hero-wash-mist: rgba(120, 148, 206, 0.12);
  --plinth-cool: #EDF1F7;
  --plinth-rose: #F9EEF3;
  --shadow: 0 32px 72px -24px rgba(20, 27, 45, 0.24);
  --glow: rgba(181, 45, 93, 0.13);

  --deep: #121827;
  --deep2: #1B1829;
  --band-ink: #F5F7FC;
  --band-ink2: #C2CCDC;
  --band-accent: #F69AC0;
  --band-line: rgba(245, 247, 252, 0.13);
  --never-bg: rgba(246, 154, 192, 0.15);

  --phone-bezel: #101521;
  --phone-rim: rgba(130, 145, 175, 0.42);
  --phone-hi: rgba(255, 255, 255, 0.09);
  --screen: #FFFFFF;
  --toast-shadow: rgba(10, 14, 24, 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --hero-wash-top: #141A2A;
    --hero-wash-rose: rgba(212, 66, 116, 0.16);
    --hero-wash-mist: rgba(88, 120, 196, 0.14);
    --plinth-cool: #141B29;
    --plinth-rose: #211624;
    --shadow: 0 32px 80px -20px rgba(0, 0, 0, 0.72);
    --glow: rgba(246, 154, 192, 0.14);

    --deep: #090D16;
    --deep2: #161425;
    --band-ink: #F5F7FC;
    --band-ink2: #C2CCDC;
    --band-accent: #F69AC0;
    --band-line: rgba(245, 247, 252, 0.12);
    --never-bg: rgba(246, 154, 192, 0.15);

    --phone-bezel: #0B0F18;
    --phone-rim: rgba(154, 170, 200, 0.34);
    --phone-hi: rgba(255, 255, 255, 0.07);
    --screen: #0D111A;
    --toast-shadow: rgba(0, 0, 0, 0.65);
  }
}

:root[data-theme="dark"] {
  --hero-wash-top: #141A2A;
  --hero-wash-rose: rgba(212, 66, 116, 0.16);
  --hero-wash-mist: rgba(88, 120, 196, 0.14);
  --plinth-cool: #141B29;
  --plinth-rose: #211624;
  --shadow: 0 32px 80px -20px rgba(0, 0, 0, 0.72);
  --glow: rgba(246, 154, 192, 0.14);

  --deep: #090D16;
  --deep2: #161425;
  --band-ink: #F5F7FC;
  --band-ink2: #C2CCDC;
  --band-accent: #F69AC0;
  --band-line: rgba(245, 247, 252, 0.12);
  --never-bg: rgba(246, 154, 192, 0.15);

  --phone-bezel: #0B0F18;
  --phone-rim: rgba(154, 170, 200, 0.34);
  --phone-hi: rgba(255, 255, 255, 0.07);
  --screen: #0D111A;
  --toast-shadow: rgba(0, 0, 0, 0.65);
}

/* Home layout primitives */
.home main {
  max-width: none;
  padding: 0;
}

.home p,
.home li {
  max-width: none;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Borderless top nav bleeding over the hero at y = 0, separating cleanly on scroll */
body.home nav.top {
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.home nav.top.is-scrolled {
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  backdrop-filter: saturate(1.5) blur(18px);
}

@supports (animation-timeline: scroll()) {
  @keyframes nav-frost {
    from {
      background-color: transparent;
      border-bottom-color: transparent;
    }
    to {
      background-color: color-mix(in srgb, var(--canvas) 90%, transparent);
      border-bottom-color: var(--line);
    }
  }

  body.home nav.top {
    -webkit-backdrop-filter: saturate(1.4) blur(16px);
    backdrop-filter: saturate(1.4) blur(16px);
    animation: nav-frost linear both;
    animation-timeline: scroll(root block);
    animation-range: 12px 72px;
  }
}

/* Strict 3-size body scale below hero */
.home h2 {
  font-family: var(--font-display);
  font-size: var(--text-heading);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  text-wrap: balance;
}

.home h3 {
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.012em;
  margin: 0;
}

.sub {
  font-size: var(--text-body);
  line-height: 1.62;
  color: var(--ink2);
  max-width: 58ch;
  margin: 0;
}

section.block {
  padding: clamp(68px, 8.5vw, 116px) 0;
}

.center {
  text-align: center;
}

.center .sub {
  margin: 0 auto;
}

/* Primary action button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-body);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.btn.primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 10px 26px -10px var(--pshadow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn.primary:hover {
  background: var(--primary-hover);
  color: var(--on-primary);
  box-shadow: 0 14px 32px -10px var(--pshadow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn.primary:active {
  transform: translateY(1px) scale(0.99);
}

@media (prefers-reduced-motion: no-preference) {
  .btn.primary:hover {
    transform: translateY(-2px);
  }
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0;
}

/* ==========================================================================
   HERO: Bleeds cleanly to y = 0 behind borderless header.
   Centered monumental display H1 + razor-sharp copy + wide interactive stage.
   ========================================================================== */
.hero3 {
  position: relative;
  overflow: clip;
  margin-top: calc(var(--nav-h) * -1);
  padding: calc(var(--nav-h) + clamp(22px, 3vw, 38px)) 0 clamp(48px, 5.5vw, 72px);
  text-align: center;
  background:
    radial-gradient(680px 420px at 14% 12%, var(--hero-wash-mist), transparent 70%),
    radial-gradient(620px 380px at 86% 16%, var(--hero-wash-rose), transparent 72%),
    radial-gradient(960px 480px at 50% 82%, var(--glow), transparent 72%),
    linear-gradient(180deg, var(--hero-wash-top) 0%, var(--canvas) 78%);
}

.hero3 .wrap {
  position: relative;
  z-index: 1;
}

.hero3 h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.6vw, 4.75rem);
  font-weight: 800;
  line-height: 0.99;
  letter-spacing: -0.04em;
  margin: 0 auto 14px;
  max-width: 15.5ch;
  text-wrap: balance;
}

.hero3 .sub {
  margin: 0 auto;
  max-width: 52ch;
}

.hero3 .ctas {
  justify-content: center;
}

.trustline {
  margin: 14px auto 0;
  max-width: 60ch;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink2);
  text-align: center;
}

/* Wide interactive stage: Pengu + Site Rotation Compass Workbench + Real iPhone */
.hstage {
  display: grid;
  grid-template-columns: minmax(210px, 0.9fr) minmax(0, 430px) minmax(240px, 0.95fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: center;
  margin: clamp(28px, 3.5vw, 40px) auto 0;
  max-width: 1060px;
  text-align: left;
}

/* Left: Pengu companion */
.buddy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.bubble {
  position: relative;
  margin: 0;
  max-width: 248px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px 22px 6px 22px;
  padding: 13px 17px;
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.42;
  color: var(--ink);
  box-shadow: 0 16px 36px -18px var(--pop-shadow);
}

.dpengu {
  width: 196px;
  height: auto;
  margin-right: 6px;
  filter: drop-shadow(0 20px 24px var(--soft-shadow));
  transition: transform 240ms var(--ease-out);
}

/* Center: Live Site Rotation Compass Workbench */
.demo {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 20px 22px;
  box-shadow: 0 32px 72px -32px var(--pop-shadow);
  max-width: 440px;
  width: 100%;
  justify-self: center;
}

.dtry {
  margin: 0 0 12px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink2);
}

.demohead {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.demohead b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.demohead > div > span {
  display: block;
  margin-top: 2px;
  font-size: var(--text-sm);
  color: var(--ink2);
  font-variant-numeric: tabular-nums;
}

.demohead #dstreak {
  display: inline;
  font-weight: 700;
  color: var(--ink);
}

.compass {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.compass button {
  font: inherit;
  text-align: left;
  min-height: 92px;
  border-radius: 18px;
  border: 1.5px solid var(--line);
  background: var(--surface-subtle);
  color: var(--ink);
  padding: 11px 13px;
  cursor: pointer;
  transition: border-color 180ms var(--ease-out), background-color 180ms var(--ease-out), transform 160ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.compass button:hover {
  border-color: var(--line-strong);
}

.compass button:active {
  transform: scale(0.98);
}

.compass button em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--card);
  color: var(--ink2);
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: 5px;
}

.compass button b {
  display: block;
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.25;
}

.compass button span {
  display: block;
  font-size: var(--text-sm);
  color: var(--ink2);
  margin-top: 4px;
  line-height: 1.3;
}

.compass button.rec {
  border-color: var(--primary);
  background: var(--frostbg);
  box-shadow: 0 0 0 1px var(--primary);
}

.compass button.rec em {
  background: var(--primary);
  color: var(--on-primary);
}

.compass button.rec span {
  color: var(--frost);
  font-weight: 700;
}

.navel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1.5px dashed var(--line-strong);
  background: var(--card);
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  font-style: normal;
  color: var(--ink2);
  pointer-events: none;
  box-shadow: 0 4px 12px var(--soft-shadow);
}

.dcaption {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink2);
  margin: 12px 0 16px;
}

.dlog {
  width: 100%;
  border-radius: 16px;
}

.dlog:disabled {
  opacity: 0.65;
  cursor: default;
}

.toast {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--deep);
  color: var(--band-ink);
  border-radius: 16px;
  padding: 12px 16px;
  font-size: var(--text-sm);
  font-weight: 600;
  overflow: hidden;
  box-shadow: 0 20px 44px -14px var(--toast-shadow);
}

.toast[hidden]{display:none}

.toast span {
  flex: 1;
  text-align: left;
}

.toast button {
  font: inherit;
  font-weight: 700;
  color: var(--band-accent);
  background: none;
  border: 0;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  padding: 0 8px;
}

.toast i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  background: var(--band-accent);
  width: 100%;
}

/* Right: Precision iPhone frame (402 x 874 concentric corners) */
.phone {
  aspect-ratio: 402 / 874;
  border-radius: 14.86% / 6.84%;
  padding: 1.6%;
  background: var(--phone-bezel);
  box-shadow: var(--shadow), 0 0 0 1px var(--phone-rim), inset 0 0 0 1px var(--phone-hi);
}

.phone img,
.phone picture {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 13.7% / 6.19%;
  object-fit: cover;
  background: var(--screen);
}

.hphone {
  width: min(252px, 100%);
  justify-self: start;
}

/* Supported medicines note below stage */
.meds {
  text-align: center;
  margin-top: clamp(36px, 4.5vw, 52px);
}

.meds p {
  margin: 0 auto;
  max-width: 68ch;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--ink2);
  text-wrap: balance;
}

/* Keep the demo's Log dose action in the first desktop viewport. */
@media (min-width: 981px) {
  .hero3 {
    padding-top: calc(var(--nav-h) + 18px);
  }
  .hstage {
    margin-top: 18px;
  }
  .hstage .demo {
    align-self: start;
  }
}

@media (max-width: 980px) {
  .hstage {
    grid-template-columns: minmax(0, 440px);
    justify-content: center;
    gap: 20px;
  }
  .buddy {
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 14px;
  }
  .bubble {
    border-radius: 20px 20px 20px 6px;
    max-width: 260px;
  }
  .dpengu {
    width: 96px;
    margin: 0;
  }
  .hphone {
    display: none;
  }
}

/* ==========================================================================
   MANIFESTO: Quiet editorial breathing band
   ========================================================================== */
.manifesto {
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.manifesto p {
  margin: 0 auto;
  max-width: 28ch;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-heading);
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

/* ==========================================================================
   STEPS: Connected 3-step editorial rail (no heavy card cages)
   ========================================================================== */
#features {
  padding-top: clamp(68px, 8.5vw, 112px) !important;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  text-align: left;
  border-top: 1px solid var(--line);
}

.steps li {
  position: relative;
  padding: 32px 28px 8px 0;
  counter-increment: step;
}

.steps li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--frostbg);
  color: var(--frost);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}

.steps h3 {
  margin-bottom: 10px;
}

.steps p {
  margin: 0;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink2);
}

/* ==========================================================================
   FEATURE SHOWCASES: Alternating studio plinths + editorial checklists
   ========================================================================== */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5.5vw, 84px);
  align-items: center;
  padding: clamp(48px, 6.5vw, 80px) 0;
  border-top: 1px solid var(--line);
}

.feature:first-child {
  border-top: 0;
}

.feature.flip .copy {
  order: 2;
}

.feature .copy {
  max-width: 50ch;
}

.feature .shot {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: clamp(32px, 4.5vw, 52px) 24px;
  border-radius: 36px;
  background: var(--plinth-cool);
  border: 1px solid var(--line);
}

.feature.flip .shot {
  background: var(--plinth-rose);
}

.feature .phone {
  width: min(286px, 74vw);
  position: relative;
  z-index: 1;
}

.feature ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: var(--text-body);
  line-height: 1.55;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.feature li:first-child {
  border-top: 0;
}

.feature li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--frostbg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239B234E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .feature li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBD0E2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  }
}

:root[data-theme="dark"] .feature li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBD0E2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

.feature .note {
  margin: 20px 0 0;
  padding: 0;
  background: none;
  border-radius: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--pos);
}

/* ==========================================================================
   BENTO: Hairline-ruled Swiss architectural grid (adapts to en/es 4-col and de 3-col)
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 44px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  text-align: left;
}

.bento:not(:has(.wide)) {
  grid-template-columns: repeat(3, 1fr);
}

.bento .tile {
  background: var(--card);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bento .tile.wide {
  grid-column: span 2;
  background: color-mix(in srgb, var(--surface-subtle) 45%, var(--card));
}

.bento .ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--frostbg);
  color: var(--frost);
  margin-bottom: 10px;
}

.bento .ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bento .ico img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.bento .ico:has(img) {
  background: none;
}

.bento h3 a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.bento h3 a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.bento p {
  margin: 0;
  color: var(--ink2);
  font-size: var(--text-body);
  line-height: 1.55;
}

/* Locale explore links on es/ and de/ */
.locale-explore {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  padding-block: 12px 44px;
}

.locale-explore a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--text-body);
  font-weight: 600;
}

/* Home internal-link hub above the footer: guides, tools, comparisons, languages */
.explore-hub {
  padding-block: 56px 64px;
  border-top: 1px solid var(--line);
}

.home .explore-hub h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  text-align: center;
}

.explore-hub .hub-sub {
  margin: 0 auto;
  max-width: 620px;
  color: var(--ink2);
  font-size: var(--text-body);
  text-align: center;
}

.explore-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 14px;
  margin-top: 28px;
  text-align: start;
}

.explore-hub-grid > div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 20px 10px;
  min-width: 0;
}

.home .explore-hub-grid h3 {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink2);
}

.explore-hub-grid a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: var(--text-body);
  font-weight: 600;
  text-decoration: none;
}

.explore-hub-grid a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.explore-hub-grid .hub-langs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
}

/* ==========================================================================
   PENGU'S CLOSET & MOODS: Calm porcelain studio gallery (zero childish rainbow tiles)
   ========================================================================== */
.closet {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.closet li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

@media (prefers-reduced-motion: no-preference) {
  .closet li:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: 0 14px 28px -18px var(--pop-shadow);
  }
}

.closet img {
  width: 108px;
  height: 108px;
  object-fit: contain;
  margin-bottom: 6px;
}

.closet b {
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.closet span {
  font-size: var(--text-sm);
  color: var(--ink2);
  line-height: 1.4;
}

.closet .free {
  font-weight: 700;
  color: var(--pos);
}

.closetnote {
  margin: 22px auto 0;
  font-size: var(--text-sm);
  color: var(--ink2);
  max-width: 58ch;
}

/* Moods: Full 7-column showcase on desktop, smooth snap row on smaller viewports */
.moods {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 40px 0 0;
  list-style: none;
}

.moods li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px 12px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.moods img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  margin: 0 auto 10px;
}

.moods b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--ink);
}

.moods span {
  display: block;
  font-size: var(--text-sm);
  color: var(--ink2);
  line-height: 1.4;
  margin-top: 4px;
}

@media (max-width: 1060px) {
  .closet {
    grid-template-columns: repeat(4, 1fr);
  }
  .moods {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 2px 12px;
    -webkit-overflow-scrolling: touch;
  }
  .moods li {
    flex: 0 0 164px;
    scroll-snap-align: start;
  }
}

/* ==========================================================================
   PRIVACY BAND: Deep Nordic midnight navy-plum covenant
   ========================================================================== */
.dark {
  background:
    radial-gradient(640px 360px at 85% 15%, rgba(246, 154, 192, 0.12), transparent 70%),
    linear-gradient(165deg, var(--deep) 0%, var(--deep2) 100%);
  color: var(--band-ink);
}

.dark h2,
.dark h3 {
  color: var(--band-ink);
}

.dark .sub,
.dark p {
  color: var(--band-ink2);
}

.privacy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--band-line);
}

.privacy div {
  padding: 32px 28px 12px 0;
}

.privacy div + div {
  padding-left: 28px;
  border-left: 1px solid var(--band-line);
}

.privacy h3 {
  margin-bottom: 10px;
}

.privacy p {
  margin: 0;
  font-size: var(--text-body);
  line-height: 1.6;
}

.never {
  margin: 48px 0 0;
  padding: 36px 0 0;
  border-top: 1px solid var(--band-line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 36px;
  list-style: none;
}

.never li {
  position: relative;
  padding-left: 34px;
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--band-ink);
  line-height: 1.5;
}

.never li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--never-bg);
  color: var(--band-accent);
}

/* ==========================================================================
   PRICING: Clear, transparent, zero hidden traps
   ========================================================================== */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 44px auto 0;
  align-items: stretch;
}

.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.plan.pro {
  border: 2px solid var(--primary);
  box-shadow: 0 28px 60px -34px var(--pshadow);
}

/* Final pass: on the two-column layout the shorter Pro list left a blank
   lower half. Pengu (the real calm sprite) sits there instead. */
@media (min-width: 901px) {
  .plan.pro::after {
    content: "";
    flex: 1 1 auto;
    min-height: 132px;
    margin-top: 20px;
    background: url(/assets/img/pengu-calm.webp) right bottom / 132px 132px no-repeat;
  }
}

.plan .trialnote {
  margin: 0 0 10px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent);
}

.plan .price {
  font-family: var(--font-display);
  font-size: var(--text-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  margin: 12px 0 0;
  color: var(--ink);
}

.plan .price small {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--ink2);
  letter-spacing: 0;
}

.plan .per {
  color: var(--ink2);
  font-size: var(--text-sm);
  margin: 6px 0 22px;
  font-variant-numeric: tabular-nums;
}

.plan p:not(.price):not(.per):not(.trialnote) {
  color: var(--ink2);
  font-size: var(--text-body);
  line-height: 1.62;
  margin: 14px 0 0;
}

.plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan li {
  position: relative;
  padding: 9px 0 9px 28px;
  border-top: 1px solid var(--line);
  font-size: var(--text-body);
  line-height: 1.5;
  color: var(--ink);
}

.plan li:first-child {
  border-top: 0;
}

.plan li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 9px;
  color: var(--pos);
  font-weight: 800;
}

.fine {
  font-size: var(--text-sm);
  color: var(--ink2);
  margin: 22px auto 0;
  max-width: 62ch;
}

/* ==========================================================================
   FAQ: Quiet hairline-divided editorial accordion
   ========================================================================== */
#faq {
  padding-top: 0 !important;
}

.faq {
  max-width: 760px;
  margin: 40px auto 0;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  min-height: 60px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-body);
  color: var(--ink);
  padding: 18px 36px 18px 0;
  position: relative;
  transition: color 160ms var(--ease-out);
}

.faq summary:hover {
  color: var(--accent);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  transition: transform 200ms var(--ease-out);
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  margin: 0 0 22px;
  color: var(--ink2);
  font-size: var(--text-body);
  line-height: 1.65;
  max-width: 64ch;
}

/* ==========================================================================
   CLOSING CTA
   ========================================================================== */
.closing {
  text-align: center;
  background: radial-gradient(760px 380px at 50% 0%, var(--glow), transparent 72%);
  border-top: 1px solid var(--line);
}

.closing img {
  width: 184px;
  height: auto;
  margin: 0 auto 14px;
  display: block;
  filter: drop-shadow(0 18px 24px var(--soft-shadow));
}

.closing .sub {
  margin: 0 auto;
}

.closing .ctas {
  justify-content: center;
}

/* ==========================================================================
   SCROLL REVEAL & STICKY MOBILE CTA
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out);
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}

.stickycta {
  display: none;
}

@media (max-width: 700px) {
  .stickycta {
    display: block;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 50;
    transform: translateY(150%);
    transition: transform 240ms var(--ease-out);
  }
  .stickycta.on {
    transform: none;
  }
  .stickycta .btn {
    width: 100%;
  }
  body.home {
    padding-bottom: 84px;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 900px) {
  .steps,
  .privacy,
  .plans {
    grid-template-columns: 1fr;
  }

  .steps li,
  .privacy div {
    padding: 24px 0;
  }

  .steps li + li {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .privacy div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--band-line);
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature.flip .copy {
    order: 0;
  }

  .feature .copy {
    max-width: none;
  }

  .bento,
  .bento:not(:has(.wide)) {
    grid-template-columns: 1fr 1fr;
  }

  .bento .tile.wide {
    grid-column: span 2;
  }

  .never {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  section.block {
    padding: 52px 0;
  }

  #features {
    padding-top: 52px !important;
  }

  .manifesto {
    padding: 44px 0;
  }

  .feature {
    padding: 36px 0;
    gap: 22px;
  }

  .feature .shot {
    padding: 24px 16px;
    border-radius: 26px;
  }

  .feature .phone {
    width: min(226px, 64vw);
  }

  .bento,
  .bento:not(:has(.wide)) {
    grid-template-columns: 1fr;
  }

  .bento .tile {
    padding: 20px 18px;
  }

  .bento .tile.wide {
    grid-column: auto;
  }

  .closet {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .closet li {
    padding: 12px 8px 14px;
    border-radius: 16px;
  }

  .closet img {
    width: 74px;
    height: 74px;
  }

  .closet b {
    font-size: var(--text-sm);
  }

  .demo {
    padding: 18px;
    border-radius: 24px;
  }

  .compass button {
    padding: 11px;
    min-height: 92px;
  }

  .compass button:nth-child(even) {
    text-align: right;
  }

  .navel {
    width: 52px;
    height: 52px;
  }

  .plan {
    padding: 24px 20px;
  }
}
