/* FRØST - cooling pillow product page */

:root {
  --linen: #F1EFE9;
  --linen-2: #E7E4DC;
  --paper: #FBFAF7;
  --ink: #16191C;
  --ink-soft: #43494E;
  --muted: #767D82;
  --line: #D8D4CA;
  --glacier: #2E6F8E;
  --glacier-deep: #234F66;
  --glacier-tint: #DCE7EC;
  --frost-grad: linear-gradient(180deg, #EAF1F3 0%, #DCE7EC 100%);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -28px rgba(22, 38, 48, .45);
  --shadow-soft: 0 10px 30px -20px rgba(22, 38, 48, .4);
  --wrap: 1180px;
  --serif: "Fraunces", Georgia, serif;
  --grotesk: "Schibsted Grotesk", system-ui, sans-serif;
  --mono: "Space Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--grotesk);
  background: var(--linen);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: -.02em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.eyebrow {
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--glacier-deep); font-weight: 600; margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 5vw, 46px); line-height: 1.08;
  letter-spacing: -.015em; max-width: 16ch;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--ink); color: var(--paper);
  font-family: var(--grotesk); font-weight: 600; font-size: 16px;
  padding: 15px 26px; border-radius: 100px; border: 0; cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  box-shadow: var(--shadow-soft);
}
.btn:hover { transform: translateY(-2px); background: var(--glacier-deep); }
.btn-lg { padding: 17px 32px; font-size: 17px; }
.btn-sm { padding: 11px 18px; font-size: 14px; box-shadow: none; }
.btn-block { width: 100%; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--glacier-deep); }

/* Announcement bar */
.announce {
  background: var(--glacier-deep); color: #EAF1F3; font-size: 13px;
  letter-spacing: .04em; overflow: hidden; white-space: nowrap;
}
.announce-track {
  display: inline-flex; gap: 18px; align-items: center;
  padding: 8px 0; animation: marquee 22s linear infinite;
}
.announce .dot { opacity: .5; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 239, 233, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-color: var(--line); background: rgba(241, 239, 233, .94); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand {
  font-family: var(--serif); font-weight: 600; font-size: 24px;
  letter-spacing: .02em;
}
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 15px; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--glacier-deep); }

/* Hero */
.hero { position: relative; }
.hero-media { position: relative; height: clamp(440px, 78vh, 760px); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,30,36,.55) 0%, rgba(20,30,36,.18) 48%, rgba(20,30,36,0) 75%);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-body { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-card { max-width: 560px; color: var(--paper); }
.hero-card h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 6.4vw, 70px); line-height: 1.02; letter-spacing: -.02em;
  margin: 14px 0 18px;
}
.hero-card h1 em { font-style: italic; color: #D7E6ED; }
.rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stars { color: #E9C46A; letter-spacing: 2px; font-size: 16px; }
.rating-text { font-size: 14px; opacity: .92; }
.lede { font-size: clamp(16px, 2vw, 19px); max-width: 44ch; opacity: .94; }
.hero-card .btn { margin-top: 26px; }
.hero-assure {
  list-style: none; display: flex; flex-wrap: wrap; gap: 18px;
  margin-top: 20px; font-size: 14px; opacity: .9;
}
.hero-assure li { position: relative; padding-left: 20px; }
.hero-assure li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px;
  border-radius: 50%; background: #6FB0CB;
}

/* Trust strip */
.trust { background: var(--paper); border-block: 1px solid var(--line); }
.trust-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; padding-block: 30px; text-align: center;
}
.trust-item strong {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 3vw, 34px); color: var(--glacier-deep); letter-spacing: -.01em;
}
.trust-item span { font-size: 13.5px; color: var(--muted); }

/* Section rhythm */
section.benefits, section.compare, section.reviews, section.faq { padding-block: clamp(64px, 9vw, 110px); }
.benefits { background: var(--linen); }

.benefit-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  margin-top: 44px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.benefit { background: var(--paper); padding: 34px 30px; }
.bicon {
  display: inline-flex; width: 46px; height: 46px; border-radius: 12px;
  align-items: center; justify-content: center;
  background: var(--glacier-tint); color: var(--glacier-deep); margin-bottom: 18px;
}
.bicon svg { width: 24px; height: 24px; }
.benefit h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin-bottom: 8px; letter-spacing: -.01em; }
.benefit p { font-size: 15.5px; color: var(--ink-soft); }

/* How it works */
.how { background: var(--frost-grad); padding-block: clamp(64px, 9vw, 110px); }
.how-inner { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.how-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.how-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.how-chip {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(251,250,247,.94); color: var(--ink); padding: 9px 15px;
  border-radius: 100px; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-soft);
}
.how-chip .mono { color: var(--glacier-deep); }
.steps { list-style: none; margin: 34px 0 30px; display: flex; flex-direction: column; gap: 26px; }
.steps li { display: flex; gap: 18px; }
.step-no { font-size: 18px; color: var(--glacier-deep); font-weight: 700; padding-top: 2px; }
.steps h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin-bottom: 4px; }
.steps p { font-size: 15.5px; color: var(--ink-soft); max-width: 46ch; }

/* Comparison */
.compare { background: var(--paper); }
.ctable {
  margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; max-width: 820px;
}
.ctable-head, .ctable-row {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr; align-items: center;
}
.ctable-head {
  background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: 15px;
}
.ctable-head > div { padding: 16px 20px; text-align: center; }
.ctable-head .cfeature { text-align: left; }
.ctable-head .cfrost { font-family: var(--serif); font-size: 19px; color: #D7E6ED; }
.ctable-row { border-top: 1px solid var(--line); font-size: 15.5px; }
.ctable-row:nth-child(even) { background: var(--linen); }
.ctable-row > div { padding: 15px 20px; text-align: center; }
.ctable-row .cfeature { text-align: left; color: var(--ink-soft); }
.yes { color: var(--glacier-deep); font-weight: 700; font-size: 18px; }
.no { color: #B9B3A6; }
.maybe { color: #C9A24B; }

/* Reviews */
.reviews { background: var(--linen); }
.reviews-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.review {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.review blockquote {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: 18.5px; line-height: 1.45; color: var(--ink);
}
.review figcaption { margin-top: auto; font-size: 14px; }
.review figcaption strong { display: block; }
.review figcaption span { color: var(--muted); }

/* Buy / offer */
.buy { background: var(--frost-grad); padding-block: clamp(56px, 8vw, 100px); }
.buy-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 64px); align-items: center; }
.buy-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.buy-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.buy-note { color: var(--ink-soft); margin-top: 6px; }
.plans { border: 0; display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.plan {
  position: relative; display: block; cursor: pointer;
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; transition: border-color .2s, box-shadow .2s;
}
.plan input { position: absolute; opacity: 0; }
.plan-body { display: block; }
.plan-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan-name { font-weight: 600; font-size: 16.5px; }
.plan-price { font-size: 18px; font-weight: 700; }
.plan-price s { color: var(--muted); font-weight: 400; font-size: 14px; }
.plan-sub { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.plan:has(input:checked) { border-color: var(--glacier-deep); box-shadow: 0 0 0 3px var(--glacier-tint); }
.plan-flag {
  position: absolute; top: -11px; left: 18px;
  background: var(--glacier-deep); color: #fff; font-size: 11.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; padding: 4px 11px; border-radius: 100px;
}
.plan-flag-quiet { background: var(--ink-soft); }

.addon {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 15px 18px; margin-top: 14px;
}
.addon input { margin-top: 4px; accent-color: var(--glacier-deep); width: 17px; height: 17px; }
.addon-row { display: flex; justify-content: space-between; gap: 10px; }
.addon-name { font-weight: 600; font-size: 15.5px; }
.addon-sub { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

.buy-copy .btn-block { margin-top: 20px; }
.buy-assure { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 13.5px; color: var(--ink-soft); }
.buy-assure li { position: relative; padding-left: 18px; }
.buy-assure li::before { content: "✓"; position: absolute; left: 0; color: var(--glacier-deep); font-weight: 700; }

/* FAQ */
.faq { background: var(--paper); }
.faq-inner { max-width: 800px; }
.faq-list { margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.chev { position: relative; width: 16px; height: 16px; flex: none; }
.chev::before, .chev::after {
  content: ""; position: absolute; top: 7px; width: 11px; height: 1.6px; background: var(--glacier-deep);
  transition: transform .25s ease;
}
.chev::before { left: 0; transform: rotate(45deg); }
.chev::after { right: 0; transform: rotate(-45deg); }
.faq details[open] .chev::before { transform: rotate(-45deg); }
.faq details[open] .chev::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 24px; color: var(--ink-soft); font-size: 16px; max-width: 64ch; }

/* Final CTA */
.final { background: var(--ink); color: var(--paper); padding-block: clamp(70px, 10vw, 120px); }
.final-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.final h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 5vw, 52px); letter-spacing: -.02em; line-height: 1.08; }
.final p { color: #B9C4CB; }
.final .btn { margin-top: 8px; }
.final-fine { font-size: 13px; color: #8C979D; letter-spacing: .04em; }

/* Footer */
.foot { background: var(--linen); border-top: 1px solid var(--line); padding-top: 56px; }
.foot-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; padding-bottom: 40px; }
.foot-brand .brand { font-size: 26px; }
.foot-brand p { color: var(--muted); margin-top: 8px; max-width: 28ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.foot-cols h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); margin-bottom: 12px; }
.foot-cols a { display: block; font-size: 15px; color: var(--ink-soft); padding: 4px 0; transition: color .2s; }
.foot-cols a:hover { color: var(--glacier-deep); }
.foot-base {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); padding-block: 22px; font-size: 13px; color: var(--muted);
}

/* Sticky mobile buy bar */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(251,250,247,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); padding: 12px 18px;
  transform: translateY(120%); transition: transform .35s ease;
}
.stickybar.show { transform: translateY(0); }
.sticky-info { display: flex; flex-direction: column; line-height: 1.25; }
.sticky-name { font-weight: 600; font-size: 14.5px; }
.sticky-price { font-size: 13px; color: var(--glacier-deep); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .how-inner, .buy-inner { grid-template-columns: 1fr; }
  .how-media, .buy-media { max-width: 520px; }
  .review-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .foot-inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero-media { height: auto; min-height: 0; }
  .hero-media img { height: 72vh; }
  .hero-media::after { background: linear-gradient(180deg, rgba(20,30,36,.15) 0%, rgba(20,30,36,.55) 100%); }
  .hero-body { position: absolute; align-items: flex-end; padding-bottom: 34px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { padding: 28px 24px; }
  .ctable-head, .ctable-row { grid-template-columns: 1.5fr .8fr .8fr; }
  .ctable-head > div, .ctable-row > div { padding: 13px 12px; font-size: 14px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .stickybar { display: flex; }
  .final { padding-bottom: 96px; }
}
