:root {
  --navy-950: #07172e;
  --navy-900: #0b1f3a;
  --navy-800: #173253;
  --ink: #121a26;
  --muted: #59616d;
  --cream: #fbf8f1;
  --paper: #fffdf9;
  --sand: #efe7d9;
  --line: #ded8ce;
  --gold: #d99b12;
  --gold-dark: #a96e00;
  --warm: #bd7c34;
  --warm-pale: #e8c58e;
  --cool: #aabbd1;
  --cool-deep: #59789c;
  --font-display: Georgia, "Times New Roman", serif;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --radius-sm: 0.35rem;
  --radius-md: 0.75rem;
  --shadow: 0 18px 45px rgba(28, 27, 23, 0.08);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--gold-dark);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5.35rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  letter-spacing: -0.03em;
}

.shell {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--navy-950);
  color: white;
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(11, 31, 58, 0.1);
  background: rgba(251, 248, 241, 0.97);
}

.header-inner {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

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

.brand:hover {
  color: inherit;
}

.brand-mark {
  position: relative;
  width: 2.2rem;
  height: 2.7rem;
  flex: 0 0 auto;
  border: 2px solid var(--gold);
  border-radius: 52% 52% 44% 44%;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  background: var(--gold);
  transform: translateX(-50%);
}

.brand-mark::before {
  bottom: -0.42rem;
  width: 1.1rem;
  height: 2px;
  box-shadow: 0 0.3rem 0 var(--gold);
}

.brand-mark::after {
  top: 0.75rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
}

.brand-mark span {
  position: absolute;
  top: -0.35rem;
  left: 50%;
  width: 1px;
  height: 0.35rem;
  background: var(--gold);
}

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

.brand-copy strong {
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.brand-copy small {
  margin-top: 0.25rem;
  color: var(--gold-dark);
  font-size: 0.68rem;
  letter-spacing: 0.025em;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.4vw, 2.25rem);
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  color: var(--navy-950);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.72rem;
  left: 0;
  height: 2px;
  background: var(--gold);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

.header-cta {
  background: var(--navy-900);
  color: white;
}

.header-cta:hover,
.button-primary:hover {
  color: white;
  background: var(--navy-800);
}

.eyebrow {
  margin-bottom: var(--space-4);
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  min-height: 42rem;
  padding-block: var(--space-8);
  gap: clamp(3rem, 7vw, 7rem);
}

.hero-copy h1 {
  max-width: 11ch;
  margin-bottom: var(--space-5);
}

.lede,
.answer-first {
  color: #2e3540;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.7;
}

.hero-copy .lede {
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.button-primary {
  min-height: 3.5rem;
  padding-inline: 1.5rem;
  background: var(--gold);
  color: var(--navy-950);
}

.text-link {
  color: var(--navy-900);
  font-weight: 700;
}

.quiet-promise {
  margin: var(--space-5) 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.quiet-promise span {
  margin-right: var(--space-2);
  color: var(--gold-dark);
}

.temperature-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.preview-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-heading strong {
  color: var(--navy-900);
}

.preview-scenes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 25rem;
}

.preview-scene {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-6);
}

.preview-scene::before {
  content: "";
  position: absolute;
  inset: 14% 17% 25%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom-width: 5rem;
  box-shadow: 0 1.2rem 0 -0.7rem rgba(18, 26, 38, 0.2);
}

.preview-scene::after {
  content: "";
  position: absolute;
  top: 28%;
  left: 50%;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(255, 250, 224, 0.62);
  box-shadow: 0 0 0 1.2rem rgba(255, 250, 224, 0.11), 0 0 2.6rem 1.4rem rgba(255, 244, 194, 0.3);
  transform: translateX(-50%);
}

.preview-warm {
  background: var(--warm);
}

.preview-cool {
  border-left: 2px solid rgba(255, 255, 255, 0.9);
  background: var(--cool-deep);
}

.preview-scene span {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(7, 23, 46, 0.88);
  color: white;
  font-size: 1.15rem;
  font-weight: 800;
}

.preview-scene small {
  font-size: 0.68rem;
  font-weight: 500;
}

.temperature-preview > p {
  margin: 0;
  padding: 1rem 1.25rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.room-strip {
  padding-bottom: var(--space-8);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.7fr);
  align-items: end;
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.section-heading > p {
  color: var(--muted);
}

.compact-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.room-links {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.room-link {
  display: grid;
  min-width: 0;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--line);
  text-decoration: none;
}

.room-link:last-child {
  border-right: 0;
}

.room-link:hover {
  background: var(--paper);
}

.room-icon {
  width: 2.2rem;
  height: 1.45rem;
  margin-bottom: 1.1rem;
  border: 2px solid var(--navy-900);
  border-radius: 0.55rem 0.55rem 0.2rem 0.2rem;
  box-shadow: inset 0 -0.35rem 0 rgba(217, 155, 18, 0.3);
}

.room-link strong {
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
}

.room-link span,
.room-link small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.room-link small {
  color: var(--gold-dark);
}

.section {
  padding-block: var(--space-8);
}

.section-tint {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.table-wrap {
  overflow-x: auto;
  border-top: 3px solid var(--navy-900);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  text-align: left;
}

th,
td {
  padding: 1.15rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tbody th {
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 1.08rem;
}

td:last-child {
  white-space: nowrap;
}

td a {
  color: var(--navy-900);
  font-size: 0.86rem;
  font-weight: 700;
}

.comparison-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.comparison-links > a {
  display: grid;
  gap: var(--space-5);
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background: var(--cream);
  text-decoration: none;
}

.comparison-links > a:hover {
  background: var(--paper);
}

.comparison-number {
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.comparison-number i {
  color: var(--gold-dark);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.comparison-links strong {
  color: var(--gold-dark);
  font-size: 0.85rem;
}

.learn-section {
  background: var(--navy-950);
  color: #eef2f8;
}

.learn-grid,
.trust-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.learn-section h2,
.trust-section h2 {
  color: white;
}

.learn-section p {
  color: #cbd3df;
}

.term-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.term-list div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: var(--space-5);
  padding-block: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.term-list strong {
  color: var(--warm-pale);
}

.faq-list {
  border-top: 3px solid var(--navy-900);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 1.25rem 3rem 1.25rem 0;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-list p {
  max-width: 55rem;
  color: var(--muted);
}

.trust-section {
  background: var(--gold-dark);
  color: white;
}

.trust-section .eyebrow {
  color: #ffdfa1;
}

.trust-section p {
  color: #fff7e8;
}

.privacy-note {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: var(--space-7);
  padding-block: var(--space-7);
}

.privacy-note h2 {
  margin: 0;
  font-size: 1.5rem;
}

.privacy-note p {
  margin: 0;
  color: var(--muted);
}

.content-page {
  padding-top: var(--space-6);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.78rem;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.55rem;
  color: var(--line);
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.55fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: var(--space-8);
}

.article-heading h1 {
  max-width: 13ch;
  margin-bottom: var(--space-6);
  font-size: clamp(2.75rem, 6vw, 5rem);
}

.answer-first {
  max-width: 48rem;
  margin-bottom: 0;
}

.range-panel {
  padding: var(--space-5);
  border-top: 3px solid var(--gold);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.range-panel > p:first-child {
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.range-panel > p:last-child {
  margin: var(--space-4) 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.range-values {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.7rem;
}

.range-values div {
  display: grid;
}

.range-values strong {
  color: var(--navy-950);
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.range-values span {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.35;
}

.range-values i {
  color: var(--gold-dark);
  font-size: 0.68rem;
  font-style: normal;
  text-transform: uppercase;
}

.article-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.34fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: var(--space-8);
  border-top: 1px solid var(--line);
}

.article-section {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: var(--space-5);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--line);
}

.article-section:first-child {
  padding-top: 0;
}

.section-number {
  padding-top: 0.5rem;
  color: var(--gold-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.article-section h2 {
  margin-bottom: var(--space-4);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.article-section p {
  color: #3d444e;
  font-size: 1.03rem;
}

.article-aside > div {
  position: sticky;
  top: 1.5rem;
  padding: var(--space-5);
  border-left: 3px solid var(--gold);
  background: var(--paper);
}

.article-aside h2 {
  font-size: 1.6rem;
}

.article-aside nav {
  display: grid;
}

.article-aside nav a {
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--line);
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.accuracy-note {
  margin-top: var(--space-6);
  color: var(--muted);
  font-size: 0.76rem;
}

.accuracy-note strong {
  display: block;
  color: var(--navy-900);
}

.site-footer {
  padding-top: var(--space-7);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--navy-950);
  color: #cbd3df;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: var(--space-7);
  padding-bottom: var(--space-7);
}

.site-footer .brand-copy strong {
  color: white;
}

.footer-brand p {
  margin: var(--space-4) 0 0 3rem;
  color: #cbd3df;
  font-family: var(--font-display);
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.site-footer nav h2 {
  margin-bottom: var(--space-3);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer nav a {
  color: #cbd3df;
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-bottom {
  padding-block: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.72rem;
}

@media (max-width: 980px) {
  .primary-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .home-hero {
    grid-template-columns: 1fr;
    padding-top: var(--space-7);
  }

  .hero-copy h1 {
    max-width: 13ch;
  }

  .temperature-preview {
    max-width: 46rem;
  }

  .room-links {
    grid-template-columns: repeat(4, 1fr);
  }

  .room-link:nth-child(4) {
    border-right: 0;
  }

  .room-link:nth-child(n + 5) {
    border-top: 1px solid var(--line);
  }

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

  .range-panel {
    max-width: 32rem;
  }

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

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

@media (max-width: 720px) {
  :root {
    --space-8: 3.5rem;
  }

  .shell {
    width: min(100% - 2rem, 1180px);
  }

  .header-inner {
    min-height: 4.75rem;
  }

  .header-cta {
    display: none;
  }

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

  .home-hero {
    min-height: 0;
    gap: var(--space-7);
  }

  .preview-scenes {
    min-height: 19rem;
  }

  .section-heading,
  .learn-grid,
  .trust-grid,
  .privacy-note,
  .article-body {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

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

  .room-link:nth-child(2n) {
    border-right: 0;
  }

  .room-link:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .comparison-links {
    grid-template-columns: 1fr;
  }

  .term-list div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .article-hero {
    padding-block: var(--space-7);
  }

  .article-aside > div {
    position: static;
  }

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

@media (max-width: 460px) {
  .brand-mark {
    width: 1.8rem;
    height: 2.2rem;
  }

  .brand-copy small {
    display: none;
  }

  .preview-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .preview-scenes {
    grid-template-columns: 1fr;
  }

  .preview-scene {
    min-height: 14rem;
  }

  .preview-cool {
    border-top: 2px solid white;
    border-left: 0;
  }

  .room-links,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .room-link {
    border-right: 0;
  }

  .footer-brand {
    grid-column: auto;
  }
}

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