:root {
  --ink: #27334f;
  --ink-soft: #5c6273;
  --purple: #6e568a;
  --purple-deep: #4f3d69;
  --teal: #67a8aa;
  --teal-deep: #3f7f82;
  --teal-soft: #e4f2f1;
  --pink-soft: #faece7;
  --sand: #dcc995;
  --sand-soft: #f7f1df;
  --paper: #fffdfa;
  --paper-strong: #ffffff;
  --line: #e5e2e0;
  --shadow: 0 20px 52px rgba(51, 42, 68, 0.10);
  --shadow-soft: 0 12px 32px rgba(51, 42, 68, 0.07);
  --radius: 26px;
  --radius-sm: 18px;
  --shell: 1180px;
  --header-height: 86px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

::selection {
  background: #d9eceb;
  color: var(--ink);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.content-shell,
.nav-shell,
.hero-panel-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 253, 250, 0.94);
  border-bottom: 1px solid rgba(39, 51, 79, 0.06);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 26px rgba(51, 42, 68, 0.07);
  background: rgba(255, 253, 250, 0.98);
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand-mark img {
  width: clamp(210px, 24vw, 300px);
  height: 56px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
}

.site-nav a {
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 680;
  color: var(--ink);
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta).active {
  color: var(--purple);
}

.nav-cta {
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--purple);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(110, 86, 138, 0.18);
}

.nav-cta:hover {
  background: var(--purple-deep);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 9px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  background:
    radial-gradient(circle at 10% 92%, rgba(103, 168, 170, 0.16), transparent 30%),
    linear-gradient(180deg, #fffdfa 0%, #f7f1ee 100%);
  padding-bottom: 68px;
}

.hero-art {
  width: 100%;
  overflow: hidden;
  background: #f7eee6;
}

.hero-art img {
  width: 100%;
  aspect-ratio: 2048 / 663;
  object-fit: cover;
  object-position: center;
}

.hero-panel-shell {
  position: relative;
  z-index: 2;
  margin-top: -58px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid rgba(39, 51, 79, 0.08);
  border-radius: 30px;
  background: rgba(255, 253, 250, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-deep);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.firmness-copy h2,
.safety-card h2,
.retailer-copy h2,
.faq-heading h2 {
  margin: 0;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 5.2vw, 4.8rem);
  line-height: 1.0;
}

.hero-copy > p:last-child {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.6vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 780;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 10px 24px rgba(110, 86, 138, 0.18);
}

.button-primary:hover {
  background: var(--purple-deep);
}

.button-secondary {
  border-color: rgba(39, 51, 79, 0.15);
  background: white;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: rgba(110, 86, 138, 0.35);
  color: var(--purple-deep);
}

.button-dark {
  margin-top: 14px;
  width: fit-content;
  background: var(--ink);
}

.button-dark:hover {
  background: var(--purple-deep);
}

.shop-note {
  margin-top: 3px;
  color: #767887;
  font-size: 0.77rem;
  text-align: center;
}

.trust-strip {
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 128px;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 9px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal-deep);
}

.trust-item span:last-child {
  display: grid;
  gap: 2px;
}

.trust-item strong {
  font-size: 0.91rem;
  line-height: 1.25;
}

.trust-item small {
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.35;
}

.section {
  padding: 108px 0;
}

.about-section {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.76fr);
  gap: clamp(55px, 8vw, 110px);
  align-items: center;
}

.about-copy h2,
.section-heading h2,
.firmness-copy h2,
.safety-card h2,
.retailer-copy h2,
.faq-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.55rem);
  line-height: 1.06;
}

.about-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.firmness-copy p:not(.eyebrow),
.faq-heading p:not(.eyebrow) {
  color: var(--ink-soft);
}

.lead {
  margin-top: 26px;
  font-size: 1.13rem;
  line-height: 1.72;
}

.about-image-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.about-image-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  z-index: 2;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(110, 86, 138, 0.15);
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}

.about-image-card img {
  width: 100%;
  aspect-ratio: 1 / 0.9;
  object-fit: cover;
}

.about-image-card figcaption {
  padding: 18px 22px 22px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--purple-deep);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.why-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(103, 168, 170, 0.20), transparent 28%),
    radial-gradient(circle at 10% 92%, rgba(220, 201, 149, 0.15), transparent 24%),
    #293550;
  color: white;
}

.why-section::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 50%;
}

.why-section .section-heading {
  position: relative;
  z-index: 1;
  max-width: 790px;
}

.why-section .eyebrow {
  color: #a7dddc;
}

.why-section .section-heading p:not(.eyebrow) {
  color: rgba(255,255,255,0.76);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 48px;
}

.section-heading > p:last-child {
  margin: 20px 0 0;
  max-width: 720px;
}

.reason-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.reason-card {
  min-height: 310px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}

.reason-number {
  display: inline-block;
  margin-bottom: 50px;
  color: #a7dddc;
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.reason-card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.reason-card p {
  margin: 0;
  color: rgba(255,255,255,0.73);
  font-size: 0.94rem;
}

.firmness-section {
  background:
    radial-gradient(circle at 14% 15%, rgba(250, 236, 231, 0.9), transparent 32%),
    radial-gradient(circle at 85% 80%, rgba(228, 242, 241, 0.9), transparent 35%),
    #fffdfa;
}

.firmness-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1.12fr);
  gap: clamp(50px, 8vw, 105px);
  align-items: start;
}

.firmness-copy {
  position: sticky;
  top: calc(var(--header-height) + 38px);
}

.firmness-cards {
  display: grid;
  gap: 16px;
}

.firmness-card {
  position: relative;
  overflow: hidden;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-soft);
}

.firmness-card::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -50px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  opacity: 0.5;
}

.softness-soft::after {
  background: #e4f2f1;
}

.softness-medium::after {
  background: #f7e7ee;
}

.softness-firm::after {
  background: #ece5f4;
}

.firmness-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  color: var(--purple-deep);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.firmness-dots {
  display: inline-flex;
  gap: 6px;
}

.firmness-dots i {
  display: block;
  width: 9px;
  height: 9px;
  border: 1px solid var(--purple);
  border-radius: 50%;
  background: transparent;
}

.softness-soft .firmness-dots i:nth-child(1),
.softness-medium .firmness-dots i:nth-child(-n+2),
.softness-firm .firmness-dots i {
  background: var(--purple);
}

.firmness-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 7px;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.firmness-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 540px;
  color: var(--ink-soft);
}

.firmness-note {
  margin: 5px 4px 0;
  color: #747785;
  font-size: 0.83rem;
}

.styles-section {
  background: #f8f4f1;
  border-top: 1px solid var(--line);
}

.section-heading-centred {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading-centred > p:last-child {
  margin-left: auto;
  margin-right: auto;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.style-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  box-shadow: 0 8px 24px rgba(51, 42, 68, 0.04);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.style-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 86, 138, 0.22);
  box-shadow: 0 18px 38px rgba(51, 42, 68, 0.09);
}

.style-image {
  overflow: hidden;
  aspect-ratio: 1;
  background: white;
}

.style-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 220ms ease;
}

.style-card:hover .style-image img {
  transform: scale(1.025);
}

.style-copy {
  display: grid;
  gap: 2px;
  padding: 17px 18px 19px;
  border-top: 1px solid #f0edeb;
}

.style-copy strong {
  font-size: 0.96rem;
}

.style-copy span {
  color: var(--purple);
  font-size: 0.79rem;
  font-weight: 750;
}

.styles-cta {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
}

.styles-cta img {
  width: 130px;
  height: 100px;
  object-fit: contain;
  border-radius: 15px;
  background: white;
}

.styles-cta h3 {
  margin: 0;
  max-width: 680px;
  font-size: 1.27rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.styles-cta .eyebrow {
  margin-bottom: 6px;
}

.safety-section {
  padding-top: 72px;
  padding-bottom: 72px;
  background: var(--paper);
}

.safety-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 26px;
  align-items: start;
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid #ead9d1;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 93% 18%, rgba(255,255,255,0.85), transparent 24%),
    var(--pink-soft);
}

.safety-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  color: var(--purple);
}

.safety-card h2 {
  max-width: 760px;
}

.safety-card p:last-child {
  max-width: 900px;
  margin: 20px 0 0;
  color: var(--ink-soft);
}

.retailer-section {
  background:
    radial-gradient(circle at 86% 16%, rgba(103, 168, 170, 0.2), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(220, 201, 149, 0.15), transparent 25%),
    #4f3d69;
  color: white;
}

.retailer-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
}

.retailer-logo-wrap {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 26px;
  background: white;
  box-shadow: 0 18px 42px rgba(22, 15, 31, 0.18);
}

.retailer-logo-wrap img {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 1;
  object-fit: contain;
}

.retailer-copy .eyebrow {
  color: #b9e5e3;
}

.retailer-copy p:not(.eyebrow) {
  max-width: 740px;
  color: rgba(255,255,255,0.78);
}

.retailer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
}

.button-light {
  background: white;
  color: var(--purple-deep);
}

.button-light:hover {
  background: #f7f3fa;
}

.retailer-link {
  color: white;
  font-weight: 750;
  text-underline-offset: 4px;
}

.faq-section {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.08fr);
  gap: clamp(50px, 8vw, 105px);
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: calc(var(--header-height) + 38px);
}

.faq-heading p:last-child {
  margin-top: 22px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 6px 20px rgba(51,42,68,0.035);
}

.faq-item summary {
  position: relative;
  padding: 21px 54px 21px 22px;
  cursor: pointer;
  list-style: none;
  font-weight: 760;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 21px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 1.1rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item div {
  padding: 0 22px 20px;
  color: var(--ink-soft);
}

.faq-item p {
  margin: 0;
}

.faq-item a {
  color: var(--purple-deep);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f4f1ee;
}

.footer-main {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 34px;
  align-items: center;
  min-height: 190px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.footer-brand img {
  width: 130px;
  height: 120px;
  object-fit: contain;
}

.footer-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-copy p:first-child {
  color: var(--ink);
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 7px;
  text-align: right;
}

.footer-links a {
  color: var(--purple-deep);
  font-size: 0.88rem;
  font-weight: 720;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  min-height: 62px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: #7a7b83;
  font-size: 0.76rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-shopbar {
  display: none;
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 15px;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  .brand-mark img {
    width: 220px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .trust-item:first-child,
  .trust-item:nth-child(3) {
    padding-left: 20px;
  }

  .trust-item:nth-child(2),
  .trust-item:last-child {
    padding-right: 20px;
  }

  .style-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 74px;
  }

  .site-header {
    height: var(--header-height);
  }

  .brand-mark img {
    width: 210px;
    height: 48px;
  }

  .menu-toggle {
    display: block;
  }

  body.nav-open .menu-toggle span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .menu-toggle span:nth-child(3) {
    opacity: 0;
  }

  body.nav-open .menu-toggle span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(51,42,68,0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 8px;
    font-size: 0.95rem;
  }

  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    max-width: 560px;
  }

  .about-grid,
  .firmness-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .about-image-card {
    max-width: 680px;
  }

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

  .reason-card {
    min-height: auto;
  }

  .reason-number {
    margin-bottom: 26px;
  }

  .firmness-copy,
  .faq-heading {
    position: static;
  }

  .style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .styles-cta {
    grid-template-columns: 110px 1fr;
  }

  .styles-cta .button {
    grid-column: 1 / -1;
  }

  .retailer-card {
    grid-template-columns: 220px 1fr;
    gap: 36px;
  }

  .retailer-logo-wrap {
    min-height: 220px;
    padding: 24px;
  }

  .footer-main {
    grid-template-columns: 120px 1fr;
  }

  .footer-links {
    grid-column: 2;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
    padding-bottom: 68px;
  }

  .content-shell,
  .nav-shell,
  .hero-panel-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    padding-bottom: 54px;
  }

  .hero-art {
    height: 280px;
    position: relative;
  }

  .hero-art img {
    position: absolute;
    left: 50%;
    top: 0;
    width: 870px;
    max-width: none;
    height: 280px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    transform: translateX(-50%);
  }

  .hero-panel-shell {
    margin-top: -34px;
  }

  .hero-panel {
    gap: 26px;
    padding: 26px 22px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12.5vw, 3.75rem);
  }

  .hero-copy > p:last-child {
    margin-top: 18px;
  }

  .button {
    width: 100%;
  }

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

  .trust-item,
  .trust-item:first-child,
  .trust-item:nth-child(2),
  .trust-item:nth-child(3),
  .trust-item:last-child {
    min-height: 0;
    padding: 18px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .about-copy h2,
  .section-heading h2,
  .firmness-copy h2,
  .safety-card h2,
  .retailer-copy h2,
  .faq-heading h2 {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .about-grid {
    gap: 38px;
  }

  .about-image-card figcaption {
    padding: 15px 17px 18px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .firmness-layout {
    gap: 36px;
  }

  .firmness-card {
    padding: 23px 22px;
  }

  .button-dark {
    width: 100%;
  }

  .style-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .style-copy {
    padding: 13px 13px 15px;
  }

  .style-copy strong {
    font-size: 0.86rem;
  }

  .style-copy span {
    font-size: 0.72rem;
  }

  .styles-cta {
    grid-template-columns: 82px 1fr;
    gap: 18px;
    padding: 18px;
  }

  .styles-cta img {
    width: 82px;
    height: 78px;
  }

  .styles-cta h3 {
    font-size: 1.05rem;
  }

  .safety-section {
    padding: 54px 0;
  }

  .safety-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 25px 22px;
  }

  .safety-icon {
    width: 58px;
    height: 58px;
    border-radius: 17px;
    padding: 13px;
  }

  .retailer-card {
    grid-template-columns: 1fr;
  }

  .retailer-logo-wrap {
    max-width: 250px;
    min-height: 0;
    padding: 24px;
  }

  .retailer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .retailer-link {
    text-align: center;
  }

  .faq-item summary {
    padding: 18px 50px 18px 18px;
  }

  .faq-item div {
    padding: 0 18px 18px;
  }

  .footer-main {
    grid-template-columns: 90px 1fr;
    gap: 20px;
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .footer-brand img {
    width: 84px;
    height: 84px;
  }

  .footer-links {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    min-height: 90px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .mobile-shopbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    display: block;
    padding: 9px 12px max(9px, env(safe-area-inset-bottom));
    background: rgba(255, 253, 250, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }

  .mobile-shopbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--purple);
    color: white;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
  }
}

@media (max-width: 390px) {
  .brand-mark img {
    width: 184px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
