:root {
  color-scheme: dark;
  --surface: #171512;
  --panel: #201c18;
  --line: #39312a;
  --ink: #f5eddf;
  --muted: #bfb2a6;
  --peach: #f0bc92;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: Baskerville, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
svg {
  display: block;
  width: 1.2em;
  height: 1.2em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
:focus-visible { outline: 2px solid var(--peach); outline-offset: 4px; }
.shell { width: min(1192px, calc(100% - 96px)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: .07em;
}
.brand-icon {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid #523c30;
  border-radius: 50%;
  place-items: center;
  background: #29201a;
  color: var(--peach);
}
nav { display: flex; gap: clamp(16px, 3.1vw, 38px); font-size: 13px; color: var(--muted); }
nav a, .footer a { transition: color .16s ease; }
nav a:hover, .footer a:hover { color: var(--peach); }

.hero {
  display: grid;
  grid-template-columns: minmax(300px, .83fr) minmax(0, 1.17fr);
  align-items: center;
  gap: clamp(32px, 5.2vw, 76px);
  padding-block: 54px 54px;
}
h1 {
  margin: 0 0 10px;
  font: 400 clamp(78px, 8.8vw, 126px)/.98 var(--serif);
  letter-spacing: -.064em;
  white-space: nowrap;
}
.summary { font-size: clamp(20px, 2vw, 25px); font-weight: 570; letter-spacing: .075em; }
.description { margin-top: 8px; color: var(--muted); font-size: 15px; }
.world-classification {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.world-classification li {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #d5c9e4;
  background: #292330;
  font-size: 12px;
}
.world-classification .space-tag {
  border-color: #4a5545;
  color: #c2d5b9;
  background: #262f25;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  gap: 7px;
  margin: 20px 0 25px;
}
.tags li {
  border: 1px solid #624736;
  background: #2a221b;
  color: #e8ba99;
  border-radius: 100px;
  padding: 2px 12px;
  font-size: 12px;
  letter-spacing: .025em;
}
.tags .platform-tag {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}
.sleep-kit-badge {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  width: fit-content;
  margin-bottom: 13px;
  padding: 4px 9px;
  border: 1px solid #52614f;
  border-radius: 6px;
  background: #2b352b;
  color: #e1eddb;
  font-size: 12px;
}
.sleep-kit-badge span { color: #bccdb7; font-size: 11px; }
.stats {
  display: grid;
  grid-template-columns: .67fr 1.1fr 1fr;
  border-block: 1px solid var(--line);
  max-width: 440px;
  padding-block: 13px;
}
.stats > div + div { border-left: 1px solid var(--line); padding-left: 18px; }
.stats dt, .dates dt { color: var(--muted); font-size: 12px; }
.stats dd {
  margin-top: 2px;
  font-size: clamp(15px, 1.45vw, 21px);
  font-weight: 600;
  line-height: 1.36;
  font-variant-numeric: tabular-nums;
}
.stats dd span { color: var(--muted); font-size: .72em; }
.stats .snapshot-date {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.dates {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-top: 12px;
}
.dates > div { display: flex; align-items: baseline; gap: 7px; }
.dates dd { color: #e2d4c5; font-size: 12px; font-variant-numeric: tabular-nums; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 17px;
  min-height: 47px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  font: 600 14px/1.25 var(--sans);
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease;
}
.button.primary { background: var(--peach); color: #271912; }
.button.primary:hover { background: #ffd1ad; }
.button.secondary { background: transparent; border-color: #514438; min-width: 111px; }
.button.secondary:hover { background: #2d241d; border-color: #7b5a42; }
.button svg { width: 17px; height: 17px; }
.copy-fallback {
  width: 100%;
  margin-top: 9px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--panel);
  font: 11px/1.5 ui-monospace, SFMono-Regular, monospace;
}

.cover {
  position: relative;
  isolation: isolate;
  border: 1px solid #514035;
  border-radius: 14px;
  overflow: hidden;
  background: #302219;
}
.cover img {
  display: block;
  width: 100%;
  height: auto;
}
.cover figcaption {
  position: absolute;
  bottom: 13px;
  right: 13px;
  padding: 4px 9px;
  border-radius: 5px;
  background: #1b1512e8;
  color: #efdfce;
  font-size: 11px;
  letter-spacing: .055em;
}

.facilities { padding: 26px 0 38px; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
h2 { font-size: 21px; font-weight: 630; letter-spacing: .05em; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feature {
  padding: 20px 21px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--panel);
}
.feature-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  place-items: center;
}
.feature-icon svg { width: 23px; height: 23px; }
.clay { color: #f1b198; background: #432c26; }
.gold { color: #f0c582; background: #3d3121; }
.sage { color: #b8c5ad; background: #30372d; }
.plum { color: #dfb6cc; background: #3c2b35; }
.neutral { color: #d7bca4; background: #322922; }
.feature h3 { margin-top: 13px; }
h3 { font-size: 16px; font-weight: 650; }
.feature p, .extra-list p { color: var(--muted); font-size: 14px; }
.feature p { margin-top: 6px; }

.extras { padding-bottom: 44px; }
.extra-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  list-style: none;
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 0;
}
.extra-list > li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
}
.extra-list .feature-icon { width: 36px; height: 36px; flex-shrink: 0; border-radius: 8px; }
.extra-list .feature-icon svg { width: 20px; height: 20px; }
.extra-list h3 { font-size: 14px; }
.extra-list p { font-size: 13px; }
.extra-list > .video-feature {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 11px;
  align-items: flex-start;
  margin-top: 15px;
  padding: 18px;
  background: var(--panel);
}
.video-feature p { margin-top: 4px; }
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-block: 19px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.footer a { display: inline-flex; align-items: center; gap: 5px; }

@media (max-width: 880px) {
  .shell { width: calc(100% - 48px); }
  .hero { gap: 28px; padding-block: 40px; }
  .stats > div + div { padding-left: 12px; }
  .feature { padding-inline: 16px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; gap: 27px; padding-block: 33px 30px; }
  .header-inner { min-height: 58px; }
  .actions { margin-top: 18px; }
  h1 { font-size: clamp(76px, 16vw, 116px); }
  .stats dd { font-size: 18px; }
  .feature-grid { grid-template-columns: 1fr; gap: 9px; }
  .feature { padding: 16px; }
  .feature h3 { margin-top: 10px; }
  .extra-list { grid-template-columns: 1fr; }
}
@media (max-width: 375px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { gap: 12px; }
  .brand { white-space: nowrap; }
  nav { gap: 12px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
