/* ==========================================================================
   naptick — shared stylesheet
   A consumer sleep-hardware site template.
   Typeface: Geist  ·  Aesthetic: warm, cozy, pastel (Hatch-leaning)
   ========================================================================== */

/* ---------- 1. Design tokens ---------------------------------------------- */
:root {
  /* Surfaces */
  --paper:      #FBF7EF;   /* warm ivory base                */
  --paper-2:    #F3EADB;   /* deeper cream                   */
  --cream:      #FFFCF6;   /* near-white card surface        */

  /* Ink */
  --ink:        #000000;   /* pure black — primary text & UI (was navy #20294A) */
  --ink-soft:   #545C78;   /* muted navy — body copy         */
  --ink-faint:  #8C92A6;   /* captions / meta                */

  /* Accent */
  --clay:       #C2643F;   /* terracotta — eyebrows, emphasis*/
  --clay-deep:  #A9512F;

  /* Pastels */
  --blush:      #F1CDBC;
  --blush-2:    #F6DACB;
  --butter:     #F2DCA4;
  --butter-2:   #F7E7BE;
  --sage:       #C7D3C0;
  --sage-2:     #D8E0D2;
  --lilac:      #CCC9EC;
  --lilac-2:    #DEDCF2;
  --sky:        #BFD4DD;
  --sky-2:      #D5E3E8;
  --rose:       #E8C4C7;

  /* Effects */
  --shadow-sm:  0 4px 16px -8px rgba(32,41,74,.30);
  --shadow:     0 22px 50px -26px rgba(32,41,74,.40);
  --shadow-lg:  0 40px 80px -30px rgba(32,41,74,.45);

  /* Geometry */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;
  --r-img: 8px;
  --maxw: 1240px;

  /* Type */
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- 2. Reset ------------------------------------------------------ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- 3. Typography ------------------------------------------------- */
h1,h2,h3,h4 { font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }

.display {
  font-size: clamp(2.7rem, 6.2vw, 5rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.02;
}
.h2 {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  letter-spacing: -.035em;
  line-height: 1.06;
}
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -.02em; }

/* .accent / .accent-i: heading emphasis hooks, kept visually neutral */
.accent { color: inherit; }
.accent-i { color: inherit; font-style: normal; }

.eyebrow {
  font-family: var(--mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--clay);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.6;
}
p { color: var(--ink-soft); }
.muted { color: var(--ink-faint); }

/* ---------- 4. Layout ---------------------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(44px, 6vw, 88px) 0; }
.section-sm { padding: clamp(28px, 3.5vw, 52px) 0; }
.center { text-align: center; }
.stack > * + * { margin-top: 1.1rem; }
.measure { max-width: 620px; }
.measure-sm { max-width: 480px; }
.center .measure, .center .measure-sm { margin-left: auto; margin-right: auto; }

/* section background tints */
.bg-paper   { background: var(--paper); }
.bg-cream   { background: var(--cream); }
.bg-paper2  { background: var(--paper-2); }
.bg-sage    { background: linear-gradient(180deg,#DCE4D6,#CDD9C5); }
.bg-blush   { background: linear-gradient(180deg,#F8E2D6,#F3D0BF); }
.bg-lilac   { background: linear-gradient(180deg,#E3E1F5,#D2CFEF); }
.bg-sky     { background: linear-gradient(180deg,#DCE8EC,#C8DAE1); }
.bg-ink     { background: var(--ink); color: var(--cream); }
.bg-ink h1,.bg-ink h2,.bg-ink h3 { color: var(--cream); }
.bg-ink p,.bg-ink .lede { color: #BFC4D6; }
.bg-pine    { background: #005342; color: var(--cream); } /* Tranquil Pine, Pantone 7729 C */
.bg-pine h1,.bg-pine h2,.bg-pine h3 { color: var(--cream); }
.bg-pine p,.bg-pine .lede { color: #C9DBD4; }

/* ---------- 5. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .92rem 1.7rem;
  border-radius: 999px;
  font-size: .98rem; font-weight: 500;
  letter-spacing: -.01em;
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--ink); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #2C3760; }

.btn-clay { background: var(--clay); color: #FFF6F0; box-shadow: var(--shadow-sm); }
.btn-clay:hover { background: var(--clay-deep); }

.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(32,41,74,.28); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); background: rgba(32,41,74,.04); }

.btn-light { background: var(--cream); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: #FFF; }

.btn-ghost-light { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-ghost-light:hover { box-shadow: inset 0 0 0 1.5px var(--cream); background: rgba(255,255,255,.08); }

.btn-lg { padding: 1.08rem 2.1rem; font-size: 1.04rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* text link with arrow */
.tlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 500; color: var(--ink);
  border-bottom: 1.5px solid rgba(32,41,74,.25);
  padding-bottom: 2px;
  transition: gap .18s ease, border-color .2s ease;
}
.tlink:hover { gap: .7rem; border-color: var(--ink); }
.tlink .arw { transition: transform .18s ease; }
.tlink:hover .arw { transform: translateX(2px); }
.tlink.clay { color: var(--clay); border-color: rgba(194,100,63,.35); }
.tlink.clay:hover { border-color: var(--clay); }

/* ---------- 6. Announcement bar ----------------------------------------- */
.topbar {
  background: #000;
  color: var(--cream);
  font-size: .82rem;
  letter-spacing: .01em;
  text-align: center;
  padding: 9px 16px;
  position: relative;
}
.topbar a { text-decoration: underline; text-underline-offset: 3px; }
.topbar .rot { display: inline-block; }

/* ---------- 7. Navbar ---------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,247,239,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.nav.scrolled { border-color: rgba(32,41,74,.10); box-shadow: 0 8px 30px -22px rgba(32,41,74,.5); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  font-size: 1.5rem; font-weight: 700; letter-spacing: -.05em;
  color: var(--ink); display: flex; align-items: center; gap: .42rem;
}
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--clay); display: inline-block; }
.brand img { height: 26px; width: auto; display: block; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px;
  font-size: .96rem; font-weight: 450; color: var(--ink);
  transition: background .18s ease;
}
.nav-links a:hover { background: rgba(32,41,74,.07); }
.nav-links a.active { background: rgba(32,41,74,.09); font-weight: 500; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center; color: var(--ink);
  transition: background .18s ease;
}
.icon-btn:hover { background: rgba(32,41,74,.07); }
.cart-dot {
  position: relative;
}
.cart-dot::after {
  content: "2"; position: absolute; top: 2px; right: 2px;
  background: var(--clay); color: #fff;
  font-size: .62rem; font-weight: 600;
  width: 15px; height: 15px; border-radius: 50%;
  display: grid; place-items: center;
}
.nav-toggle { display: none; }

/* Header CTA — Sunset Ember (Pantone 1585 C) */
.nav .btn-primary { background: #FF7640; color: #FFF; }
.nav .btn-primary:hover { background: #E5612A; }

/* Hero CTA — Sunset Ember (Pantone 1585 C) */
.hero .btn-light { background: #FF7640; color: #FFF; }
.hero .btn-light:hover { background: #E5612A; }

/* mobile drawer */
.drawer {
  display: none;
  position: fixed; inset: 0; z-index: 80;
  background: var(--paper);
  padding: 22px 28px;
  flex-direction: column;
}
.drawer.open { display: flex; }
.drawer-top { display: flex; align-items: center; }
.drawer-links { margin-top: 30px; display: flex; flex-direction: column; gap: 4px; }
.drawer-links a {
  font-size: 1.7rem; font-weight: 600; letter-spacing: -.03em;
  padding: 12px 0; border-bottom: 1px solid rgba(32,41,74,.1);
  color: var(--ink);
}
.drawer .btn { margin-top: 26px; }

/* ---------- 8. Hero ------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden;
  background: #005342; /* Tranquil Pine, Pantone 7729 C */
}
.hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(60px,7vw,96px) 28px clamp(60px,7vw,96px);
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 40px; align-items: center;
  min-height: 540px;
}
.hero-copy { position: relative; z-index: 3; }
.hero h1 { color: #FFF7EE; text-shadow: 0 2px 30px rgba(0,40,30,.42); }
.hero .lede { color: #FCEFDF; max-width: 460px; text-shadow: 0 1px 20px rgba(0,40,30,.55); }
.hero .eyebrow { color: #F7CFAC; text-shadow: 0 1px 14px rgba(0,40,30,.5); }
.hero .eyebrow::before { background: #F7CFAC; }
.hero-stats {
  display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap;
}
.hero-stat .n { font-size: 1.5rem; font-weight: 600; color: #FFF7EE; letter-spacing: -.03em; text-shadow: 0 1px 16px rgba(0,40,30,.45); }
.hero-stat .l { font-size: .82rem; color: #F5E5D1; text-shadow: 0 1px 14px rgba(0,40,30,.55); }
.hero-art { position: relative; z-index: 2; display: grid; place-items: center; }

/* twinkling stars layer */
.stars { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.star { position: absolute; background: #FFF; border-radius: 50%; opacity: .0; animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%,100%{opacity:.15;} 50%{opacity:.9;} }

/* curved cream divider sitting under hero */
.hero-foot { position: relative; height: 0; }

/* ---------- 9. Marquee / trust strip ------------------------------------ */
.trust {
  background: #000;
  color: var(--cream);
  padding: 20px 0;
}
.trust-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 26px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: #C9CDDC; }
.trust-item strong { color: var(--cream); font-weight: 600; }
.stars-row { color: #F2C14E; letter-spacing: 2px; }

/* ---------- 10. Bento grid ---------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.card {
  border-radius: var(--r-lg);
  padding: 34px;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 320px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .card-body { position: relative; z-index: 2; }
.card .card-art { position: relative; z-index: 1; }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .98rem; }
.card .tlink { margin-top: auto; padding-top: 18px; }
.card.tall { min-height: 480px; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }

.card-art-fill { position: absolute; inset: 0; z-index: 0; }
.card.has-fill .card-body { margin-top: auto; }

/* ---------- 11. Generic feature row (alternating) ----------------------- */
.feat {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px,5vw,72px); align-items: center;
}
.feat.flip .feat-media { order: 2; }
.feat-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid; place-items: center;
  padding: 38px;
  min-height: 380px;
}
.feat-list { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.feat-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; color: var(--ink-soft); }
.feat-list .tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--clay); color: #fff;
  display: grid; place-items: center; font-size: .7rem; margin-top: 2px;
}

/* ---------- 12. Steps --------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.step {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 32px 28px;
  position: relative;
}
.step-ico {
  width: 70px; height: 70px; border-radius: 20px;
  display: grid; place-items: center; margin-bottom: 20px;
}
.step-n {
  font-family: var(--mono); font-size: .76rem; color: var(--clay);
  letter-spacing: .15em;
}
.step h3 { margin: 6px 0 8px; }
.step p { font-size: .96rem; }

/* connecting timeline dots */
.steps.tline .step::after {
  content: ""; position: absolute; top: 64px; right: -10px;
  width: 20px; height: 1.5px; background: rgba(32,41,74,.2);
}
.steps.tline .step:last-child::after { display: none; }

/* ---------- 13. Hotspot product callouts -------------------------------- */
.showcase {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(36px,5vw,70px);
  overflow: hidden;
}
.showcase-stage { position: relative; display: grid; place-items: center; }
.hotspot {
  position: absolute;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 4px 16px rgba(32,41,74,.3);
  display: grid; place-items: center;
  color: var(--ink); font-weight: 700; font-size: .9rem;
}
.hotspot::before {
  content: ""; position: absolute; inset: -8px;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6);
  animation: ping 2.6s ease-out infinite;
}
@keyframes ping { 0%{transform:scale(.7);opacity:.9;} 100%{transform:scale(1.5);opacity:0;} }
.spec-callouts { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px 30px; margin-top: 34px; }
.callout { display: flex; gap: 12px; }
.callout .cn {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600;
  display: grid; place-items: center;
}
.callout h4 { font-size: 1rem; font-weight: 600; }
.callout p { font-size: .9rem; margin-top: 2px; }

/* ---------- 14. Testimonials ------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.quote {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 30px;
  display: flex; flex-direction: column; gap: 14px;
}
.quote .stars-row { font-size: .9rem; }
.quote blockquote { font-size: 1.05rem; color: var(--ink); letter-spacing: -.01em; line-height: 1.5; }
.quote .who { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600; color: var(--ink); font-size: .9rem;
}
.quote .who .nm { font-size: .9rem; font-weight: 600; color: var(--ink); }
.quote .who .mt { font-size: .78rem; color: var(--ink-faint); }

/* ---------- 15. Stats band --------------------------------------------- */
.statband { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.statbox { text-align: center; }
.statbox .big {
  font-size: clamp(2.4rem,4vw,3.4rem); font-weight: 600;
  letter-spacing: -.04em; line-height: 1;
}
.statbox .cap { font-size: .9rem; margin-top: 8px; }

/* ---------- 16. Membership / CTA ribbon -------------------------------- */
.ribbon {
  border-radius: var(--r-xl);
  padding: clamp(40px,6vw,80px);
  position: relative; overflow: hidden;
}

/* ---------- 17. Newsletter --------------------------------------------- */
.news-form {
  display: flex; gap: 10px; max-width: 460px; margin-top: 22px;
  flex-wrap: wrap;
}
.news-form input {
  flex: 1; min-width: 200px;
  font-family: inherit; font-size: 1rem;
  padding: .92rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid rgba(32,41,74,.2);
  background: var(--cream); color: var(--ink);
}
.news-form input:focus { outline: none; border-color: var(--ink); }
.center .news-form { margin-left: auto; margin-right: auto; }

/* ---------- 18. Accordion ---------------------------------------------- */
.acc { max-width: 760px; margin: 0 auto; }
.acc-item { border-bottom: 1px solid rgba(32,41,74,.14); }
.acc-q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px;
  font-size: 1.12rem; font-weight: 500; color: var(--ink);
  letter-spacing: -.015em;
}
.acc-sign {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(32,41,74,.07);
  display: grid; place-items: center; font-size: 1.1rem;
  transition: background .2s ease, transform .25s ease;
}
.acc-item.open .acc-sign { background: var(--clay); color: #fff; transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.acc-a p { padding: 0 4px 26px; font-size: 1rem; }

/* ---------- 19. Specs table -------------------------------------------- */
.specs { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 56px; }
.spec-row {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 16px 2px;
  border-bottom: 1px solid rgba(32,41,74,.12);
}
.spec-row .k { font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; color: var(--ink-faint); text-transform: uppercase; }
.spec-row .v { font-size: .96rem; font-weight: 500; color: var(--ink); text-align: right; }

/* ---------- 20. Product purchase block --------------------------------- */
.buybox { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px,4vw,60px); align-items: center; }
.buy-media {
  border-radius: var(--r-xl); padding: 40px;
  display: grid; place-items: center; min-height: 460px;
}
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 6px; }
.price { font-size: 2.4rem; font-weight: 600; letter-spacing: -.04em; }
.price-was { font-size: 1.15rem; color: var(--ink-faint); text-decoration: line-through; }
.price-save {
  font-size: .78rem; font-weight: 600; color: var(--clay);
  background: rgba(194,100,63,.12); padding: 4px 10px; border-radius: 999px;
}
.swatches { display: flex; gap: 10px; margin: 18px 0 6px; }
.swatch {
  width: 40px; height: 40px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(32,41,74,.15);
  position: relative; transition: transform .15s ease;
}
.swatch { cursor: pointer; transition: transform .15s ease, outline-color .15s ease; }
.swatch[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 3px; transform: scale(1.06); }
.buy-perks { margin-top: 22px; display: flex; flex-direction: column; gap: 9px; }
.buy-perks li { display: flex; gap: 9px; font-size: .92rem; color: var(--ink-soft); align-items: center; }
.buy-perks svg { flex: none; }

/* ---------- 21. Pill tag ----------------------------------------------- */
.tag {
  display: inline-block;
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.tag-clay { background: var(--clay); color: #FFF6F0; }
.tag-ink { background: var(--ink); color: var(--cream); }
.tag-soft { background: rgba(32,41,74,.08); color: var(--ink); }

/* ---------- 22. Comparison --------------------------------------------- */
.compare { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.cmp-card {
  background: var(--cream); border-radius: var(--r-lg);
  padding: 34px; position: relative; min-width: 0;
}
.cmp-card.feature { box-shadow: inset 0 0 0 2px var(--ink); }
.cmp-card .btn { white-space: normal; }
.cmp-head { display: flex; justify-content: space-between; align-items: flex-start; }
.cmp-card .cprice { font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; margin: 14px 0 4px; }
.cmp-list { margin-top: 18px; display: flex; flex-direction: column; gap: 11px; }
.cmp-list li { display: flex; gap: 10px; font-size: .94rem; color: var(--ink-soft); }
.cmp-list .yes { color: var(--clay); font-weight: 700; flex: none; }
.cmp-list .no { color: var(--ink-faint); flex: none; }

/* ---------- 23. Team cards --------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.member {
  background: var(--cream); border-radius: var(--r-md);
  padding: 24px; text-align: center;
}
.member .face {
  width: 96px; height: 96px; border-radius: 50%;
  margin: 0 auto 16px; display: grid; place-items: center;
  font-size: 2rem; font-weight: 600; color: var(--ink);
}
.member .nm { font-weight: 600; font-size: 1.04rem; }
.member .role { font-size: .84rem; color: var(--clay); font-family: var(--mono); letter-spacing: .04em; margin-top: 2px; }
.member p { font-size: .88rem; margin-top: 10px; }

/* explicit grid column counts — collapse responsively via the breakpoints below */
.cols-4 { grid-template-columns: repeat(4,1fr); }
.cols-3 { grid-template-columns: repeat(3,1fr); }
.cols-2 { grid-template-columns: repeat(2,1fr); }

/* ---------- 24. Timeline ----------------------------------------------- */
.tl { max-width: 720px; margin: 0 auto; }
.tl-row {
  display: grid; grid-template-columns: 110px 1fr; gap: 26px;
  padding: 26px 0; border-bottom: 1px solid rgba(32,41,74,.12);
}
.tl-row:last-child { border-bottom: none; }
.tl-year { font-size: 1.5rem; font-weight: 600; color: var(--clay); letter-spacing: -.03em; }
.tl-row h3 { margin-bottom: 5px; }
.tl-row p { font-size: .96rem; }

/* ---------- 25. Values ------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.value {
  border-radius: var(--r-md); padding: 30px;
}
.value .vico {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(255,255,255,.6);
}
.value h3 { font-size: 1.22rem; margin-bottom: 6px; }
.value p { font-size: .95rem; }

/* ---------- 26. Footer ------------------------------------------------- */
.footer { background: #FFFFFF; color: var(--ink); padding: 70px 0 32px; border-top: 1px solid rgba(32,41,74,.08); }
.footer a { color: var(--ink-soft); transition: color .15s ease; }
.footer a:hover { color: var(--ink); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 30px; }
.foot-brand .brand { color: var(--ink); margin-bottom: 14px; }
.foot-brand p { color: var(--ink-soft); font-size: .92rem; max-width: 260px; }
.foot-col h4 {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; font-weight: 500;
}
.foot-col ul { display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: .93rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(32,41,74,.06);
}
.socials a:hover { background: rgba(32,41,74,.12); }
.appbadges { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.appbadge {
  display: flex; align-items: center; gap: 9px;
  background: rgba(32,41,74,.04);
  border: 1px solid rgba(32,41,74,.12);
  border-radius: 12px; padding: 9px 14px;
}
.appbadge .ab-sm { font-size: .62rem; color: var(--ink-faint); line-height: 1; }
.appbadge .ab-lg { font-size: .92rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.foot-bottom {
  margin-top: 50px; padding-top: 24px;
  border-top: 1px solid rgba(32,41,74,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem; color: var(--ink-faint);
}
.foot-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- 27. Page header (sub-pages) -------------------------------- */
.pagehead { padding: clamp(40px,5vw,72px) 0 clamp(24px,3.5vw,44px); }

/* ---------- 28. Reveal animation --------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
.js .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .star, .hotspot::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 28b. Expandable reviews (home page) ------------------------ */
.reviews-expand {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .55s cubic-bezier(.2,.7,.2,1), opacity .35s ease, margin-top .4s ease;
  margin-top: 0;
}
.reviews-expand.open {
  opacity: 1;
  margin-top: 44px;
}
button.tlink {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(32,41,74,.25);
  padding: 0 0 2px;
  font: inherit;
  cursor: pointer;
}
button.tlink.clay { border-bottom-color: rgba(194,100,63,.35); }
.reviews-toggle .arw { transition: transform .25s ease; display: inline-block; }
.reviews-toggle[aria-expanded="true"] .arw { transform: rotate(90deg); }

/* ---------- 29. Misc ---------------------------------------------------- */
.float-soft { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-12px);} }
.divider-line { height: 1px; background: rgba(32,41,74,.12); }

/* ---------- 30. Responsive --------------------------------------------- */
@media (max-width: 1080px) {
  .foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: span 3; }
}
@media (max-width: 960px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav .btn-primary { display: none; }
  .hero { background: #005342; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 26px; padding-top: 44px; padding-bottom: 48px; min-height: 0; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .eyebrow { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-art { order: -1; }
  .hero-photo { max-width: 380px; margin: 0 auto; }
  .feat { grid-template-columns: 1fr; }
  .feat.flip .feat-media { order: 0; }
  .buybox { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2,1fr); }
  .span-2,.span-3,.span-4,.span-6 { grid-column: span 2; }
  .steps,.quotes,.values { grid-template-columns: 1fr; }
  .steps.tline .step::after { display: none; }
  .statband { grid-template-columns: repeat(2,1fr); }
  .team { grid-template-columns: repeat(2,1fr); }
  .compare { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .spec-callouts { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 12px 20px; }
  .nav-right { gap: 10px; }
  .nav-right .cart-dot { display: none; }
  .bento { grid-template-columns: 1fr; }
  .span-2,.span-3,.span-4,.span-6 { grid-column: span 1; }
  .statband { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr; }
  .card { padding: 28px; min-height: 280px; }
  .cmp-card { padding: 26px; }
  .cols-4 { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .cols-4 .card { min-height: 0 !important; padding: 24px 16px; }
  .tl-row { grid-template-columns: 1fr; gap: 6px; }
  .trust-inner { justify-content: center; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
  .hero-stat .n { font-size: 1.3rem; }
}

/* ---------- 31. Video --------------------------------------------------- */
.vid-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.vid-card {
  position: relative;
  border-radius: var(--r-img);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #15161E;
  box-shadow: var(--shadow);
}
.vid-card video,
.vid-stage video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* name label on testimonial videos */
.vid-cap {
  position: absolute; left: 0; right: 0; top: 0;
  padding: 16px 18px; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,15,26,.74) 0%, rgba(14,15,26,0) 100%);
}
.vid-cap .vid-name { display: block; color: #FFF; font-weight: 600; font-size: 1rem; letter-spacing: -.01em; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.vid-cap .vid-role { color: rgba(255,255,255,.82); font-size: .8rem; text-shadow: 0 1px 8px rgba(0,0,0,.5); }

/* unmute control */
.vid-mute {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(14,15,26,.6); color: #FFF;
  display: grid; place-items: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  cursor: pointer; transition: background .2s ease, transform .15s ease;
}
.vid-mute:hover { background: rgba(14,15,26,.85); transform: scale(1.06); }

/* horizontal explainer player */
.vid-stage {
  position: relative;
  border-radius: var(--r-img);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #15161E;
  box-shadow: var(--shadow-lg);
  max-width: 940px; margin: 0 auto;
}
.vid-stage .vid-mute { width: 44px; height: 44px; right: 16px; bottom: 16px; }

@media (max-width: 860px) {
  .vid-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}

/* ---------- 32. Photography -------------------------------------------- */
/* hero photo */
.hero-photo {
  width: 100%; max-width: 480px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-img);
  box-shadow: var(--shadow-lg);
}

/* photo bento cards */
.pcard {
  position: relative;
  border-radius: var(--r-img);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.pcard-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,14,24,.95) 0%, rgba(13,14,24,.82) 26%,
              rgba(13,14,24,.34) 52%, rgba(13,14,24,0) 80%);
}
.pcard-text {
  position: relative; z-index: 2;
  margin-top: auto; padding: 30px;
}
.pcard-text h3 { color: #FFF; margin: 12px 0 6px; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.pcard-text p { color: rgba(255,255,255,.9); font-size: .98rem; max-width: 430px; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.pcard-text .tlink { color: #FFF; border-color: rgba(255,255,255,.5); margin-top: 14px; }
.pcard-text .tlink:hover { border-color: #FFF; }

/* photo feature media (product + science rows) */
.feat-media { border-radius: var(--r-img); }
.feat-media.photo { padding: 0; display: block; }
.feat-media.photo img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }

/* photo buy-box */
.buy-media { border-radius: var(--r-img); }
.buy-media.photo { padding: 0; display: block; overflow: hidden; }
.buy-media.photo img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; }

/* pagehead photo (about / sub-pages) */
.pagehead-photo {
  width: 100%; border-radius: var(--r-img);
  aspect-ratio: 5 / 6; object-fit: cover;
  box-shadow: var(--shadow);
}

/* showcase photo */
.showcase-img-wrap { position: relative; width: 100%; max-width: 440px; margin: 0 auto; }
.showcase-photo {
  width: 100%;
  border-radius: var(--r-img);
  box-shadow: var(--shadow);
  display: block;
}

/* ---------- 33. Motion & polish ---------------------------------------- */
/* marquee trust strip */
.trust { overflow: hidden; }
.marquee {
  display: flex;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee-track {
  display: flex; flex-shrink: 0; align-items: center;
  animation: marquee 44s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 9px;
  padding: 0 26px; white-space: nowrap;
  font-size: .9rem; color: #C9CDDC;
}
.marquee-item strong { color: var(--cream); font-weight: 600; }
.marquee-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--clay); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* image hover-zoom */
.pcard img, .feat-media.photo img, .buy-media.photo img {
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}
.pcard:hover img,
.feat-media.photo:hover img,
.buy-media.photo:hover img { transform: scale(1.05); }

/* video card hover lift */
.vid-card { transition: transform .25s ease, box-shadow .25s ease; }
.vid-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* hero floating detail chips */
.hero-art { position: relative; }
.hero-chip {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,252,246,.95);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 13px; padding: 10px 14px;
  box-shadow: 0 16px 40px -14px rgba(16,18,38,.55);
}
.hero-chip .tx { display: flex; flex-direction: column; line-height: 1.25; }
.hero-chip .tx b { font-weight: 600; font-size: .86rem; color: var(--ink); }
.hero-chip .tx span { font-size: .73rem; color: var(--ink-faint); }
.hero-chip .badge {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--clay); color: #FFF6F0;
  display: grid; place-items: center; font-weight: 700; font-size: .84rem;
}
.hero-chip .dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: #5FA877; margin: 0 3px;
  animation: pulse-dot 2.6s ease-out infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(95,168,119,.5); }
  70%,100% { box-shadow: 0 0 0 11px rgba(95,168,119,0); }
}
.hero-chip-1 { top: 13%; left: -28px; animation: floaty 5.5s ease-in-out infinite; }
.hero-chip-2 { bottom: 15%; right: -28px; animation: floaty 6.6s ease-in-out infinite .8s; }
.hero-chip-3 { top: 13%; right: -28px; animation: floaty 6.1s ease-in-out infinite .4s; }
.hero-chip-4 { bottom: 15%; left: -28px; animation: floaty 5.9s ease-in-out infinite 1.2s; }

/* hero entrance */
.hero-copy > *, .hero-art { animation: heroIn .85s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(1) { animation-delay: .06s; }
.hero-copy > *:nth-child(2) { animation-delay: .14s; }
.hero-copy > *:nth-child(3) { animation-delay: .22s; }
.hero-copy > *:nth-child(4) { animation-delay: .30s; }
.hero-art { animation-delay: .16s; animation-duration: 1.05s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (max-width: 720px) {
  .hero-chip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-copy > *, .hero-art, .hero-chip { animation: none; }
  .pcard img, .feat-media.photo img, .buy-media.photo img, .gphoto img { transition: none; }
}

/* ---------- 34. Photo gallery ------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.gphoto {
  border-radius: var(--r-img);
  overflow: hidden;
  background: #15161E;
  box-shadow: var(--shadow-sm);
}
.gphoto img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.gphoto:hover img { transform: scale(1.05); }
/* three portrait photos, three-up */
.gphoto:nth-child(1),
.gphoto:nth-child(2),
.gphoto:nth-child(3) { grid-column: span 2; aspect-ratio: 4 / 5; }
.gphoto:nth-child(2) img { object-position: 50% 40%; }
.gphoto:nth-child(3) img { object-position: 50% 46%; }
/* wide landscape photo, full-width banner */
.gphoto:nth-child(4) { grid-column: span 6; aspect-ratio: 16 / 7; }
.gphoto:nth-child(4) img { object-position: 50% 86%; }
@media (max-width: 620px) {
  .gallery { grid-template-columns: 1fr; }
  .gphoto:nth-child(1),
  .gphoto:nth-child(2),
  .gphoto:nth-child(3) { grid-column: span 1; }
  .gphoto:nth-child(4) { grid-column: span 1; aspect-ratio: 4 / 3; }
}

/* ---------- 35. PDP buy-box gallery ------------------------------------ */
.buy-gallery { display: flex; flex-direction: column; gap: 14px; }
.bg-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-img);
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}
.bg-stage img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: opacity .2s ease;
}
.bg-stage img.swapping { opacity: 0; }
.bg-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,252,246,.94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--ink); cursor: pointer;
  border: 1px solid rgba(32,41,74,.10);
  box-shadow: 0 8px 22px -10px rgba(16,18,38,.5);
  transition: transform .18s ease, background .18s ease;
}
.bg-arrow:hover { background: #FFF; transform: translateY(-50%) scale(1.08); }
.bg-arrow:active { transform: translateY(-50%) scale(.96); }
.bg-prev { left: 14px; }
.bg-next { right: 14px; }
.bg-thumbs {
  display: flex; gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 2px;
}
.bg-thumb {
  flex: 0 0 auto;
  width: 78px; height: 78px;
  border-radius: 9px;
  overflow: hidden;
  background: #FFF;
  border: 1.5px solid rgba(32,41,74,.12);
  cursor: pointer; padding: 0;
  scroll-snap-align: start;
  transition: border-color .18s ease, transform .18s ease;
}
.bg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bg-thumb:hover { transform: translateY(-2px); }
.bg-thumb.is-active { border-color: var(--clay); border-width: 2px; }
@media (max-width: 560px) {
  .bg-thumb { width: 64px; height: 64px; }
  .bg-arrow { width: 34px; height: 34px; }
  .bg-prev { left: 10px; } .bg-next { right: 10px; }
}

/* ---------- 36. App showcase ------------------------------------------- */
.appstage {
  display: flex; justify-content: center; align-items: flex-end;
  gap: clamp(16px, 3.2vw, 44px);
}
.appcol { display: flex; flex-direction: column; align-items: center; }
.appcol.raised { transform: translateY(-28px); }
.appcap { text-align: center; margin-top: 24px; max-width: 232px; }
.appcol.raised .appcap { margin-top: 52px; }
.appcap h4 { font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.appcap p { font-size: .88rem; color: var(--ink-soft); margin-top: 6px; line-height: 1.5; }

/* phone frame */
.phone {
  width: 234px; flex: none;
  aspect-ratio: 234 / 486;
  background: #14172A;
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 36px 66px -28px rgba(16,18,38,.62), 0 2px 6px rgba(16,18,38,.18);
  position: relative;
}
/* iPhone screenshot mockup (already includes frame + dynamic island) */
.phone-img {
  width: 234px; height: auto;
  flex: none; display: block;
  filter: drop-shadow(0 28px 50px rgba(16,18,38,.42));
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 29px;
  overflow: hidden;
  position: relative;
}
.phone-island {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 19px; border-radius: 11px;
  background: #14172A; z-index: 8;
}
.appscreen {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  padding: 38px 17px 18px;
}
.app-time { font-size: .72rem; font-weight: 600; }
.app-kicker {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .14em;
  text-transform: uppercase;
}

/* screen A — room score (night) */
.scr-room { background: linear-gradient(168deg,#2C355C,#20294A 56%,#1A2140); color: #EDEFF6; }
.scr-room .app-time { color: rgba(237,239,246,.6); }
.room-ring { position: relative; width: 138px; height: 138px; margin: 12px auto 2px; }
.room-ring svg { width: 100%; height: 100%; }
.room-score {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.room-score .rs-n { font-size: 2.5rem; font-weight: 700; line-height: 1; }
.room-score .rs-l {
  font-size: .54rem; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(237,239,246,.55); margin-top: 5px;
}
.room-verdict {
  text-align: center; font-size: .76rem; color: rgba(237,239,246,.78);
  margin: 8px auto 0; max-width: 168px; line-height: 1.45;
}
.room-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: auto; }
.room-metric { background: rgba(255,255,255,.07); border-radius: 11px; padding: 8px 10px; }
.room-metric .rm-k {
  font-size: .54rem; letter-spacing: .07em; text-transform: uppercase;
  color: rgba(237,239,246,.5);
}
.room-metric .rm-v { font-size: .9rem; font-weight: 600; margin-top: 2px; }

/* screen B — Nap chat */
.scr-nap { background: var(--cream); color: var(--ink); }
.nap-head {
  display: flex; align-items: center; gap: 9px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(32,41,74,.08);
}
.nap-ava {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #F2C9AE, #C2643F);
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .82rem;
}
.nap-head .nh-n { font-weight: 600; font-size: .92rem; display: block; }
.nap-head .nh-s { font-size: .66rem; color: var(--ink-faint); }
.nap-chat { display: flex; flex-direction: column; gap: 9px; padding: 13px 0; flex: 1; }
.bubble {
  font-size: .75rem; line-height: 1.5; padding: 9px 12px;
  border-radius: 14px; max-width: 84%;
}
.bubble.nap { background: #EFE9F6; border-bottom-left-radius: 5px; align-self: flex-start; }
.bubble.you { background: var(--ink); color: #F2EFE6; border-bottom-right-radius: 5px; align-self: flex-end; }
.nap-input {
  display: flex; align-items: center; gap: 8px; margin-top: auto;
  background: #fff; border: 1px solid rgba(32,41,74,.12);
  border-radius: 20px; padding: 7px 7px 7px 14px;
}
.nap-input span.ph { font-size: .72rem; color: var(--ink-faint); flex: 1; }
.nap-send {
  width: 27px; height: 27px; border-radius: 50%; background: var(--clay);
  display: grid; place-items: center; flex: none;
}

/* screen C — soundscape player */
.scr-sound { background: linear-gradient(172deg,#F7E7BE,#F1CDBC 58%,#E8C4C7); color: var(--ink); }
.snd-art {
  width: 100%; aspect-ratio: 1 / 1; border-radius: 16px; margin-top: 8px;
  background: radial-gradient(120% 120% at 72% 18%, #3C4678, #20294A 70%);
  display: grid; place-items: center;
}
.snd-art .sa-moon {
  width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #FBEFD7, #E7B879);
  box-shadow: 0 0 32px 6px rgba(231,184,121,.35);
}
.snd-title { font-size: 1.02rem; font-weight: 700; margin-top: 14px; }
.snd-sub { font-size: .71rem; color: var(--ink-soft); margin-top: 3px; }
.snd-wave { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin-top: 15px; }
.snd-wave i { flex: 1; background: rgba(32,41,74,.34); border-radius: 2px; }
.snd-ctrl {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  margin-top: auto; padding-top: 14px;
}
.snd-play {
  width: 46px; height: 46px; border-radius: 50%; background: var(--ink);
  display: grid; place-items: center; flex: none;
}
@media (max-width: 960px) {
  .appstage {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 30px 2px 8px;
    gap: 20px;
    margin: 0 -4px;
  }
  .appcol { scroll-snap-align: center; flex: none; }
  .appcol.raised { transform: none; }
  .appcol.raised .appcap { margin-top: 24px; }
}
@media (max-width: 480px) {
  .phone { width: 212px; }
}

/* App-showcase CTA — Sunset Ember (matches header + hero CTA) */
.appstage + .center .btn-primary { background: #FF7640; color: #FFF; }
.appstage + .center .btn-primary:hover { background: #E5612A; }

/* Reusable Sunset Ember CTA — add `btn-ember` alongside any base button class */
.btn-ember { background: #FF7640; color: #FFF; }
.btn-ember:hover { background: #E5612A; }

/* ---------- 38. Manifesto essay ---------------------------------------- */
.manifesto-essay { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; }
.manifesto-essay > p { margin-top: 1.2em; }
.manifesto-essay > p:first-child { margin-top: 0; }
.manifesto-essay strong { color: var(--ink); font-weight: 600; }
.manifesto-essay .me-num {
  display: block;
  font-family: var(--mono); font-size: .82rem; letter-spacing: .14em;
  color: var(--clay); margin-top: 3.2em;
}
.manifesto-essay h3.me-h {
  color: var(--ink); font-size: clamp(1.35rem, 2.1vw, 1.78rem);
  letter-spacing: -.02em; margin-top: .25em; margin-bottom: .5em;
  font-weight: 600; line-height: 1.18;
}
.manifesto-essay .me-layers {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  margin: 1.4em 0 .6em;
}
.manifesto-essay .me-layer {
  background: var(--cream);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 22px 24px;
}
.manifesto-essay .me-layer-tag {
  font-family: var(--mono); font-size: .72rem;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--clay); margin-bottom: 4px;
}
.manifesto-essay .me-layer h4 {
  color: var(--ink); font-size: 1.12rem; margin-bottom: 8px; font-weight: 600;
}
.manifesto-essay .me-layer p { margin: 0; }
.manifesto-essay blockquote.me-quote {
  margin: 2.4em 0 1.4em;
  padding: 1.6em 1.6em 1.4em;
  background: var(--paper-2);
  border-left: 4px solid var(--clay);
  border-radius: 0 18px 18px 0;
  font-size: 1.14rem; font-style: italic;
  color: var(--ink); line-height: 1.45;
}
.manifesto-essay blockquote.me-quote .me-who {
  display: block; margin-top: 1em;
  font-family: var(--mono); font-style: normal; font-size: .8rem;
  color: var(--ink-faint); letter-spacing: .04em;
}
/* Manifesto on a dark / black section — readable overrides + green accents */
.bg-ink .manifesto-essay { color: #C9DBD4; }
.bg-ink .manifesto-essay > p { color: #C9DBD4; }
.bg-ink .manifesto-essay h3.me-h { color: #1F8D5A; }
.bg-ink .manifesto-essay strong { color: var(--cream); }
.bg-ink .manifesto-essay .me-display .accent-i { color: #1F8D5A; }
.bg-ink .display { color: var(--cream); }
/* Layer cards stay light — explicit dark text so the section color doesn't bleed in */
.bg-ink .manifesto-essay .me-layer p { color: var(--ink-soft); }
.bg-ink .manifesto-essay .me-layer h4 { color: var(--ink); }
/* Pull quote — green left border ties it into the new accent system */
.bg-ink .manifesto-essay blockquote.me-quote { border-left-color: #1F8D5A; }

/* ---------- 37. Legal / policy pages ----------------------------------- */
.policy-content { color: var(--ink-soft); font-size: .98rem; line-height: 1.7; }
.policy-content > p { margin-top: 1.1em; }
.policy-content > p:first-child { margin-top: 0; }
.policy-content h2 {
  color: var(--ink); font-size: clamp(1.18rem, 1.9vw, 1.5rem);
  letter-spacing: -.015em; margin-top: 2.4em; margin-bottom: .5em;
}
.policy-content ul {
  list-style: disc; padding-left: 1.4em; margin-top: .6em;
}
.policy-content ul li { margin-top: .55em; color: var(--ink-soft); }
.policy-content ul li::marker { color: var(--ink-faint); }
.policy-content strong { color: var(--ink); font-weight: 600; }
.policy-content a { color: var(--clay); text-decoration: underline; text-underline-offset: 2px; }
.policy-content a:hover { color: var(--ink); }

/* ---------- 40. Product Hunt badge row --------------------------------- */
.ph-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.ph-badges a { display: inline-flex; line-height: 0; }
.ph-badges img { display: block; max-width: 100%; height: auto; }

/* ---------- 39. Explainer video custom controls ------------------------ */
.vs-controls {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(14,15,26,.78) 0%, rgba(14,15,26,0) 100%);
  pointer-events: none;
}
.vs-controls > * { pointer-events: auto; }
.vs-play,
.vs-controls .vid-mute {
  position: static;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.16); color: #FFF;
  display: grid; place-items: center; flex: none;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .15s ease;
}
.vs-play:hover,
.vs-controls .vid-mute:hover {
  background: rgba(255,255,255,.28);
  transform: none;
}
.vs-progress {
  flex: 1; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,.22);
  position: relative; cursor: pointer;
  min-width: 60px;
}
.vs-progress:focus-visible {
  outline: 2px solid var(--clay); outline-offset: 3px;
}
.vs-progress-fill {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 0%;
  background: var(--clay);
  border-radius: 999px;
  pointer-events: none;
  transition: width .08s linear;
}
.vs-time {
  color: rgba(255,255,255,.92);
  font-family: var(--mono);
  font-size: .74rem; letter-spacing: .03em;
  flex: none; min-width: 92px; text-align: right;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .vs-controls { padding: 10px 12px; gap: 8px; }
  .vs-time { display: none; }
}
