:root {
  --navy-950: #071827;
  --navy-900: #0b2238;
  --navy-800: #123554;
  --navy-700: #1c4a6d;
  --sky-500: #4fa3c9;
  --sky-300: #94cde3;
  --cream: #f8f5ee;
  --sand: #e9dfcf;
  --gold: #cfab67;
  --gold-light: #ead2a0;
  --white: #ffffff;
  --ink: #102438;
  --muted: #627486;
  --line: rgba(16, 42, 67, 0.13);
  --shadow: 0 24px 70px rgba(7, 24, 39, 0.14);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 8px;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 82px;
  padding: 0 clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  color: var(--navy-950);
  background: rgba(248, 245, 238, 0.9);
  border-bottom: 1px solid rgba(16, 42, 67, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--navy-950);
  border-radius: 15px;
  box-shadow: 0 12px 26px rgba(7, 24, 39, 0.19);
}

.brand-mark svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong,
.footer-brand strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.36rem;
  letter-spacing: -0.035em;
}

.brand-copy strong span,
.footer-brand strong span {
  color: var(--gold);
}

.brand-copy small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

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

.nav a {
  position: relative;
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 12px 18px;
  color: var(--white) !important;
  background: var(--navy-900);
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(7, 24, 39, 0.17);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--navy-700);
  transform: translateY(-2px);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  padding: clamp(70px, 9vw, 125px) clamp(20px, 6vw, 92px) clamp(78px, 9vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(430px, 0.97fr);
  align-items: center;
  gap: clamp(45px, 7vw, 105px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 74% 16%, rgba(79, 163, 201, 0.23), transparent 31%),
    radial-gradient(circle at 11% 100%, rgba(207, 171, 103, 0.15), transparent 32%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800) 58%, #1a4968 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -17%;
  bottom: -44%;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 85px rgba(255, 255, 255, 0.025),
    0 0 0 170px rgba(255, 255, 255, 0.018);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero-glow-one {
  top: 10%;
  left: 47%;
  width: 190px;
  height: 190px;
  background: rgba(234, 210, 160, 0.1);
}

.hero-glow-two {
  right: 12%;
  bottom: 10%;
  width: 240px;
  height: 240px;
  background: rgba(79, 163, 201, 0.11);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--gold);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.hero .eyebrow,
.adjustable-section .eyebrow,
.consultation-section .eyebrow {
  color: var(--gold-light);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

h1 {
  max-width: 790px;
  font-size: clamp(3.3rem, 6.2vw, 6.7rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2.45rem, 4.7vw, 5rem);
  font-weight: 700;
}

h3 {
  margin: 0;
  line-height: 1.2;
}

.hero-intro {
  max-width: 670px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.85;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  min-height: 54px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 16px 35px rgba(7, 24, 39, 0.29);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 42px rgba(7, 24, 39, 0.36);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.23);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.trust-row {
  margin-top: 43px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
}

.trust-row span {
  position: relative;
  padding-left: 18px;
}

.trust-row span::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(207, 171, 103, 0.12);
}

.trust-row b {
  color: var(--white);
}

.hero-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(520px, 90%);
  height: min(520px, 90%);
  background: radial-gradient(circle, rgba(148, 205, 227, 0.14), transparent 69%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.moon {
  position: absolute;
  top: 8%;
  right: 13%;
  width: 92px;
  height: 92px;
  background: linear-gradient(145deg, #fff8df, var(--gold-light));
  border-radius: 50%;
  box-shadow: 0 0 54px rgba(234, 210, 160, 0.35);
}

.moon::after {
  content: "";
  position: absolute;
  top: -7px;
  left: -18px;
  width: 92px;
  height: 92px;
  background: var(--navy-800);
  border-radius: 50%;
}

.stars i {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(234, 210, 160, 0.75);
}

.stars i:nth-child(1) { top: 15%; left: 17%; }
.stars i:nth-child(2) { top: 30%; right: 7%; width: 3px; height: 3px; }
.stars i:nth-child(3) { top: 7%; left: 47%; width: 4px; height: 4px; }
.stars i:nth-child(4) { top: 39%; left: 8%; width: 3px; height: 3px; }

.bed-scene {
  position: relative;
  width: min(520px, 92%);
  height: 310px;
  transform: translateY(36px);
}

.headboard {
  position: absolute;
  top: 16px;
  left: 0;
  width: 41px;
  height: 242px;
  background: linear-gradient(180deg, #d2b77e, #947141);
  border-radius: 18px 18px 8px 8px;
  box-shadow: inset -8px 0 15px rgba(71, 48, 23, 0.18);
}

.pillow {
  position: absolute;
  top: 82px;
  z-index: 5;
  width: 145px;
  height: 70px;
  background: linear-gradient(145deg, #fffdf8, #ddd4c8);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 42% 46% 38% 44%;
  box-shadow: inset 0 -9px 16px rgba(16, 42, 67, 0.08);
}

.pillow-one { left: 49px; transform: rotate(-3deg); }
.pillow-two { left: 158px; transform: rotate(2deg); }

.mattress-layer {
  position: absolute;
  left: 24px;
  width: calc(100% - 34px);
  border-radius: 14px 22px 22px 14px;
  transform: skewY(-1deg);
}

.layer-top {
  top: 136px;
  z-index: 4;
  height: 61px;
  background: linear-gradient(180deg, #f9f6ef, #d9e4e6);
  box-shadow: inset 0 -12px 18px rgba(16, 42, 67, 0.11), 0 12px 26px rgba(7, 24, 39, 0.25);
}

.layer-middle {
  top: 186px;
  z-index: 3;
  height: 55px;
  background: linear-gradient(180deg, #85b8ca, #4e8199);
}

.layer-base {
  top: 229px;
  z-index: 2;
  height: 42px;
  background: linear-gradient(180deg, #193d58, #0c2438);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bed-leg {
  position: absolute;
  top: 266px;
  width: 14px;
  height: 32px;
  background: #a48650;
  border-radius: 0 0 5px 5px;
}

.leg-left { left: 60px; }
.leg-right { right: 38px; }

.floating-card {
  position: absolute;
  z-index: 8;
  min-width: 205px;
  padding: 14px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(7, 24, 39, 0.24);
  backdrop-filter: blur(12px);
}

.card-pressure {
  top: 42%;
  left: -4%;
}

.card-support {
  right: -2%;
  bottom: 8%;
}

.metric-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--navy-800);
  background: var(--sand);
  border-radius: 12px;
  font-size: 1.35rem;
  font-weight: 700;
}

.floating-card div {
  display: grid;
}

.floating-card small {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.floating-card strong {
  margin-top: 3px;
  font-size: 0.85rem;
}

.intro-strip {
  position: relative;
  z-index: 4;
  width: min(var(--max-width), calc(100% - 40px));
  margin: -38px auto 0;
  padding: 30px clamp(22px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  background: var(--white);
  border: 1px solid rgba(16, 42, 67, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.intro-strip article {
  display: flex;
  gap: 18px;
}

.intro-strip article + article {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.intro-strip article > span {
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.intro-strip strong {
  display: block;
  color: var(--navy-900);
  font-size: 0.89rem;
}

.intro-strip p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.6;
}

.section {
  padding: clamp(88px, 10vw, 145px) clamp(20px, 6vw, 92px);
}

.section-heading {
  width: min(var(--max-width), 100%);
  margin: 0 auto clamp(42px, 6vw, 72px);
}

.section-heading h2 {
  color: var(--navy-950);
}

.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.85;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.6fr);
  align-items: end;
  gap: clamp(35px, 8vw, 120px);
}

.split-heading > p {
  margin: 0 0 5px;
}

.centered-heading {
  max-width: 880px;
  text-align: center;
}

.centered-heading > p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px auto 0;
}

.match-section {
  background:
    radial-gradient(circle at 92% 12%, rgba(79, 163, 201, 0.09), transparent 27%),
    var(--cream);
}

.matcher {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 24px;
}

.position-tabs {
  padding: 12px;
  display: grid;
  gap: 8px;
  align-content: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(7, 24, 39, 0.08);
}

.position-tab {
  min-height: 67px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy-900);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.position-tab:hover,
.position-tab:focus-visible {
  background: rgba(79, 163, 201, 0.08);
  transform: translateX(3px);
}

.position-tab.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  box-shadow: 0 15px 30px rgba(7, 24, 39, 0.2);
}

.position-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(207, 171, 103, 0.13);
  border-radius: 11px;
  font-size: 1.1rem;
}

.position-tab.active .position-icon {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.1);
}

.match-result {
  min-height: 405px;
  padding: clamp(34px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(148, 205, 227, 0.18), transparent 30%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.result-label {
  margin: 0 0 15px;
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.match-result h3 {
  max-width: 650px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  letter-spacing: -0.035em;
}

.match-result-copy > p:last-child {
  max-width: 730px;
  margin: 19px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
}

.priority-grid {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.priority-grid article {
  min-height: 102px;
  padding: 17px;
  display: grid;
  align-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.priority-grid small {
  color: var(--gold-light);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.priority-grid strong {
  font-size: 0.86rem;
}

.text-link {
  width: fit-content;
  margin-top: 29px;
  color: var(--white);
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 5px;
  color: var(--gold-light);
  transition: transform 0.2s ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(5px);
}

.system-section {
  background: var(--white);
}

.system-grid {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.system-grid article {
  position: relative;
  min-height: 310px;
  padding: 31px 27px;
  overflow: hidden;
  background: linear-gradient(160deg, #fbfaf7, #f1ece3);
  border: 1px solid rgba(16, 42, 67, 0.09);
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.system-grid article:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(7, 24, 39, 0.1);
}

.card-number {
  position: absolute;
  top: 23px;
  right: 24px;
  color: rgba(16, 42, 67, 0.18);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--navy-950);
  border-radius: 17px;
  font-size: 1.55rem;
}

.system-grid h3 {
  margin-top: 33px;
  color: var(--navy-950);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
}

.system-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.8;
}

.adjustable-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
  color: var(--white);
  background:
    radial-gradient(circle at 12% 35%, rgba(79, 163, 201, 0.18), transparent 30%),
    linear-gradient(135deg, var(--navy-950), #0d2b43 62%, #163d58);
}

.adjustable-visual {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
}

.adjustable-visual::before {
  content: "";
  position: absolute;
  width: 510px;
  max-width: 92%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.018),
    0 0 0 140px rgba(255, 255, 255, 0.012);
}

.base-stage {
  position: relative;
  z-index: 2;
  width: min(500px, 94%);
  height: 330px;
}

.adjustable-mattress {
  position: absolute;
  top: 68px;
  left: 18px;
  width: calc(100% - 36px);
  height: 150px;
}

.adjustable-head,
.adjustable-center,
.adjustable-foot {
  position: absolute;
  top: 0;
  height: 92px;
  background: linear-gradient(180deg, #f8f5ee, #c9d9de);
  border-top: 7px solid #ffffff;
  box-shadow: inset 0 -12px 18px rgba(16, 42, 67, 0.1);
}

.adjustable-head {
  left: 0;
  width: 36%;
  border-radius: 18px 2px 5px 18px;
  transform: rotate(-18deg) translateY(-24px);
  transform-origin: right bottom;
}

.adjustable-center {
  left: 34%;
  width: 33%;
  border-radius: 3px;
}

.adjustable-foot {
  right: 0;
  width: 35%;
  border-radius: 3px 18px 18px 3px;
  transform: rotate(13deg) translateY(-13px);
  transform-origin: left bottom;
}

.base-frame {
  position: absolute;
  top: 174px;
  left: 31px;
  width: calc(100% - 62px);
  height: 55px;
  background: linear-gradient(180deg, #203f54, #071827);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  box-shadow: 0 23px 40px rgba(0, 0, 0, 0.33);
}

.base-frame::before,
.base-frame::after {
  content: "";
  position: absolute;
  top: 54px;
  width: 12px;
  height: 55px;
  background: #b08d51;
  border-radius: 0 0 4px 4px;
}

.base-frame::before { left: 28px; }
.base-frame::after { right: 28px; }

.base-shadow {
  position: absolute;
  right: 6%;
  bottom: 28px;
  left: 6%;
  height: 31px;
  background: rgba(0, 0, 0, 0.33);
  border-radius: 50%;
  filter: blur(14px);
}

.angle-line {
  position: absolute;
  z-index: 5;
  color: var(--gold-light);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.angle-line::before {
  content: "";
  position: absolute;
  height: 1px;
  background: var(--gold);
}

.angle-head {
  top: 23%;
  left: 4%;
}

.angle-head::before {
  top: 24px;
  left: 4px;
  width: 92px;
  transform: rotate(18deg);
  transform-origin: left center;
}

.angle-foot {
  right: 0;
  bottom: 25%;
}

.angle-foot::before {
  right: 8px;
  bottom: 25px;
  width: 83px;
  transform: rotate(-15deg);
  transform-origin: right center;
}

.adjustable-copy h2 {
  max-width: 690px;
  color: var(--white);
}

.section-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.85;
}

.benefit-list {
  margin-top: 38px;
  display: grid;
  gap: 8px;
}

.benefit-list article {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.benefit-list article:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.benefit-list article > span {
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.benefit-list h3 {
  font-size: 1rem;
}

.benefit-list p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  line-height: 1.7;
}

.concerns-section {
  background:
    radial-gradient(circle at 0 50%, rgba(207, 171, 103, 0.09), transparent 23%),
    var(--cream);
}

.concern-grid {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.concern-grid article {
  min-height: 265px;
  padding: 29px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 17px 40px rgba(7, 24, 39, 0.055);
}

.concern-grid article > span {
  display: inline-flex;
  padding: 7px 11px;
  color: var(--navy-800);
  background: rgba(79, 163, 201, 0.1);
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.concern-grid h3 {
  margin-top: 24px;
  color: var(--navy-950);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.48rem;
}

.concern-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.8;
}

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

.about-card {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  padding: clamp(35px, 6vw, 78px);
  display: grid;
  grid-template-columns: 290px 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 95px);
  background:
    radial-gradient(circle at 8% 20%, rgba(207, 171, 103, 0.12), transparent 30%),
    linear-gradient(145deg, #f5efe4, #fbfaf7);
  border: 1px solid rgba(16, 42, 67, 0.09);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-badge {
  width: 260px;
  max-width: 100%;
  aspect-ratio: 1;
  padding: 30px;
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--white);
  background:
    radial-gradient(circle at 55% 20%, rgba(148, 205, 227, 0.23), transparent 35%),
    linear-gradient(145deg, var(--navy-950), var(--navy-700));
  border: 9px solid var(--white);
  border-radius: 50%;
  outline: 1px solid rgba(16, 42, 67, 0.12);
  box-shadow: 0 24px 55px rgba(7, 24, 39, 0.21);
  text-align: center;
}

.about-badge span {
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.about-badge strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.1rem;
  line-height: 1;
}

.about-badge small {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about-copy h2 {
  max-width: 760px;
  color: var(--navy-950);
}

.about-copy > p:not(.eyebrow) {
  max-width: 780px;
  margin: 21px 0 0;
  color: var(--muted);
}

.about-stats {
  margin-top: 35px;
  padding-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  border-top: 1px solid var(--line);
}

.about-stats div {
  display: grid;
  gap: 5px;
}

.about-stats strong {
  color: var(--navy-900);
  font-size: 0.86rem;
}

.about-stats span {
  color: var(--muted);
  font-size: 0.7rem;
}

.faq-section {
  background: #f2ece2;
}

.faq-list {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(7, 24, 39, 0.05);
}

.faq-list summary {
  min-height: 74px;
  padding: 20px 42px 20px 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--navy-950);
  font-weight: 700;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  margin-left: auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--navy-950);
  border-radius: 50%;
  font-size: 1.1rem;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

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

.faq-list details p {
  margin: 0;
  padding: 0 42px 24px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.consultation-section {
  padding: clamp(70px, 9vw, 115px) clamp(20px, 7vw, 105px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 20%, rgba(234, 210, 160, 0.17), transparent 26%),
    linear-gradient(135deg, #173d59, var(--navy-950));
}

.consultation-copy h2 {
  max-width: 820px;
  color: var(--white);
}

.consultation-copy > p:not(.eyebrow) {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.consultation-actions {
  min-width: 285px;
  display: grid;
  gap: 14px;
}

.button-light {
  color: var(--navy-950);
  background: var(--gold-light);
  box-shadow: 0 17px 35px rgba(0, 0, 0, 0.2);
}

.store-number {
  padding: 16px 20px;
  display: grid;
  gap: 3px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  text-align: center;
  text-decoration: none;
}

.store-number span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.store-number strong {
  font-size: 1rem;
}

footer {
  padding: 62px clamp(20px, 6vw, 92px) 30px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 32px 70px;
  color: rgba(255, 255, 255, 0.66);
  background: #05131f;
}

.footer-brand p {
  max-width: 470px;
  margin: 12px 0 0;
  font-size: 0.8rem;
}

.footer-brand strong {
  color: var(--white);
  font-size: 1.55rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 25px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-light);
}

.disclaimer {
  grid-column: 1 / -1;
  max-width: 940px;
  margin: 18px 0 0;
  padding-top: 25px;
  color: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  line-height: 1.75;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.65rem;
}

:focus-visible {
  outline: 3px solid rgba(207, 171, 103, 0.65);
  outline-offset: 3px;
}

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

  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
  }

  .hero-visual {
    min-height: 470px;
  }

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

  .adjustable-section {
    grid-template-columns: 1fr;
  }

  .adjustable-visual {
    min-height: 500px;
  }

  .adjustable-copy {
    width: min(820px, 100%);
    margin: 0 auto;
  }

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

  .about-card {
    grid-template-columns: 230px 1fr;
  }

  .about-badge {
    width: 220px;
  }
}

@media (max-width: 850px) {
  .site-header {
    min-height: 74px;
  }

  .menu-toggle {
    display: grid;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    top: 74px;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 35px 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    color: var(--white);
    background: rgba(7, 24, 39, 0.98);
    transform: translateX(105%);
    transition: transform 0.25s ease;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav a,
  .nav a:not(.nav-cta) {
    min-height: 61px;
    display: flex;
    align-items: center;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  .nav-cta {
    margin-top: 20px;
    justify-content: center;
    background: var(--gold);
    border: 0 !important;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(650px, 100%);
    margin: 0 auto;
  }

  .intro-strip {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .intro-strip article + article {
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

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

  .position-tab {
    min-height: 62px;
  }

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

  .about-badge {
    margin: 0 auto;
  }

  .consultation-section {
    grid-template-columns: 1fr;
  }

  .consultation-actions {
    min-width: 0;
    width: min(440px, 100%);
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .brand-copy small {
    display: none;
  }

  .brand-mark {
    width: 43px;
    height: 43px;
  }

  .brand-copy strong {
    font-size: 1.17rem;
  }

  .hero {
    padding-top: 68px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2.25rem, 10vw, 3.4rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .bed-scene {
    transform: scale(0.78) translateY(58px);
  }

  .moon {
    width: 68px;
    height: 68px;
  }

  .moon::after {
    width: 68px;
    height: 68px;
  }

  .floating-card {
    min-width: 0;
    padding: 11px;
  }

  .floating-card small {
    display: none;
  }

  .floating-card strong {
    font-size: 0.7rem;
  }

  .metric-icon {
    width: 34px;
    height: 34px;
  }

  .card-pressure {
    top: 40%;
    left: 0;
  }

  .card-support {
    right: 0;
    bottom: 2%;
  }

  .intro-strip {
    width: calc(100% - 28px);
    margin-top: -20px;
  }

  .section {
    padding-right: 15px;
    padding-left: 15px;
  }

  .position-tabs {
    grid-template-columns: 1fr;
  }

  .match-result {
    padding: 30px 22px;
  }

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

  .priority-grid article {
    min-height: 84px;
  }

  .system-grid,
  .concern-grid {
    grid-template-columns: 1fr;
  }

  .system-grid article,
  .concern-grid article {
    min-height: 0;
  }

  .adjustable-visual {
    min-height: 400px;
  }

  .base-stage {
    transform: scale(0.77);
  }

  .angle-line {
    display: none;
  }

  .about-card {
    padding: 30px 20px;
    border-radius: 25px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .faq-list details {
    padding: 0 17px;
  }

  .faq-list summary {
    padding-right: 0;
    gap: 14px;
  }

  .faq-list details p {
    padding-right: 0;
  }

  .consultation-section {
    padding-right: 17px;
    padding-left: 17px;
  }

  footer {
    padding-right: 19px;
    padding-left: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
