@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #383a31;
  --muted: #625b50;
  --accent-text: #355649;
  --action: #9f3c22;
  --action-hover: #83301b;
  --paper: #f7f1eb;
  --footer: #e9dccd;
  --white: #fff;
  --line: #dccdbf;
  --mist: #f0e6db;
  --body: Manrope, Arial, sans-serif;
  --width: 1250px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1.25rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
h1, h2, h3 { color: inherit; font-weight: 800; }
h1, h2 { text-wrap: balance; letter-spacing: -.044em; line-height: 1.06; }
h2 { font-size: clamp(1.85rem, 3.4vw, 3rem); }
h3 { font-size: 1.45rem; line-height: 1.25; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; height: auto; background: #e4ded1; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 4px; }
main:focus { outline: none; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 10; top: .75rem; left: .75rem; background: var(--white); padding: .75rem 1rem; }
.wrap { width: min(var(--width), calc(100% - 6rem)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.brand { display: inline-flex; align-items: center; gap: .26em; text-decoration: none; white-space: nowrap; font-size: 1.85rem; font-weight: 800; line-height: 1.1; letter-spacing: -.052em; }
.brand-mark { flex: none; width: 1.1em; height: 1.1em; background: transparent; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.3rem, 3.3vw, 3.1rem); }
.desktop-nav a, .mobile-nav nav a { font-size: 1rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { text-decoration: underline; }
.mobile-nav { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: .65rem 1rem; border: 1px solid transparent; border-radius: .28rem; font-size: .91rem; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.button:active { transform: translateY(1px); }
.button-dark { color: #fff; background: var(--action); }
.button-dark:hover { background: var(--action-hover); }
.button-outline { color: var(--ink); background: var(--white); border-color: #a58a76; }
.button-outline:hover, .button-outline[aria-pressed=true] { background: var(--mist); }

.page-home { --reference-unit: min(.0672495vw, 1px); --masthead-height: calc(81 * var(--reference-unit)); }
.page-home .header-inner, .hero-grid, .room-section { width: min(1367px, calc(100% - 120 * var(--reference-unit))); }
.page-home .site-header { border: 0; }
.page-home .site-header::after { content: ""; position: absolute; bottom: 0; left: max(calc(52 * var(--reference-unit)), calc((100% - 1383px) / 2)); width: calc(822 * var(--reference-unit)); border-bottom: 1px solid #ccb9a7; }
.page-home .header-inner { min-height: var(--masthead-height); gap: calc(58 * var(--reference-unit)); padding-bottom: calc(10 * var(--reference-unit)); }
.page-home .brand { font-size: calc(30 * var(--reference-unit)); }
.page-home .desktop-nav { gap: calc(50 * var(--reference-unit)); }
.page-home .desktop-nav a { font-size: max(.875rem, calc(18 * var(--reference-unit))); }

.home-hero { position: relative; min-height: calc(720 * var(--reference-unit)); }
.hero-copy { position: relative; z-index: 1; padding: calc(134 * var(--reference-unit)) 0 0 calc(3 * var(--reference-unit)); width: max-content; }
.hero-copy h1 { font-size: calc(108 * var(--reference-unit)); line-height: .94; letter-spacing: -.061em; text-wrap: initial; }
.hero-copy h1 span { display: block; }
.hero-copy h1 span:first-child { letter-spacing: -.066em; }
.hero-copy h1 span:nth-child(2) { letter-spacing: -.049em; }
.hero-copy h1 span:last-child { color: var(--accent-text); letter-spacing: -.078em; }
.hero-copy p { margin-top: calc(21 * var(--reference-unit)); font-size: calc(26.5 * var(--reference-unit)); line-height: 1.42; }
.hero-copy .button { margin-top: calc(47 * var(--reference-unit)); min-width: calc(316 * var(--reference-unit)); min-height: max(46px, calc(62 * var(--reference-unit))); padding-inline: calc(34 * var(--reference-unit)); font-size: calc(25 * var(--reference-unit)); border-radius: calc(8 * var(--reference-unit)); }
.hero-illustration { position: absolute; top: calc(-1 * var(--masthead-height)); right: max(0px, calc((100% - 1487px) / 2)); width: calc(1069 * var(--reference-unit)); pointer-events: none; }
.hero-illustration img { width: 100%; background: transparent; }

.room-section { position: relative; padding-top: calc(21 * var(--reference-unit)); padding-bottom: calc(38 * var(--reference-unit)); }
.room-section h2 { font-size: calc(45 * var(--reference-unit)); margin: 0 0 calc(33 * var(--reference-unit)) calc(3 * var(--reference-unit)); text-wrap: initial; }
.room-links { display: grid; grid-template-columns: 332fr 363fr 340fr 332fr; list-style: none; padding: 0; }
.room-links li + li { border-left: 1px solid #d4c3b2; padding-left: calc(29 * var(--reference-unit)); }
.room-links a { display: flex; align-items: center; gap: calc(19 * var(--reference-unit)); min-height: 44px; width: fit-content; font-size: calc(25 * var(--reference-unit)); font-weight: 800; letter-spacing: -.035em; line-height: 1.2; text-decoration: none; }
.room-links a:hover span { text-decoration: underline; }
.room-links img { flex: none; width: auto; height: calc(117 * var(--reference-unit)); border-radius: calc(5 * var(--reference-unit)); }

.home-section { padding-block: clamp(2.1rem, 5vw, 4.3rem); }
.section-heading { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin-bottom: 1.3rem; }
.section-heading h2 { font-size: clamp(2rem, 3.8vw, 3.6rem); }
.quiet-link { font-size: .91rem; color: var(--accent-text); font-weight: 650; white-space: nowrap; padding-block: .35rem; }
.symptoms, .home-tools { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.symptoms a, .home-tools a { display: grid; min-height: 69px; grid-template-columns: 52px minmax(0,1fr); align-items: center; gap: .7rem; padding: .55rem .65rem; text-decoration: none; font-size: .97rem; font-weight: 690; line-height: 1.28; height: 100%; background: #ffffffb0; border: 1px solid var(--line); border-radius: .38rem; transition: background-color .18s ease; }
.symptoms a:hover, .home-tools a:hover { background: #fff; text-decoration: underline; }
.symptoms img, .home-tools img { width: 52px; aspect-ratio: 1; object-fit: cover; border-radius: .18rem; }
.tool-band { border-block: 1px solid var(--line); background: var(--mist); }
.tool-band .home-section { padding-block: 2.5rem 2.9rem; }
.home-tools a { grid-template-columns: 45px minmax(0,1fr); }
.home-tools img { width: 45px; }
.topic-list { border-top: 1px solid var(--line); }
.topic-list article { display: grid; grid-template-columns: 116px minmax(0, 1fr) minmax(0, .65fr); align-items: center; gap: 1.4rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.topic-list img { width: 116px; height: 86px; object-fit: cover; border-radius: .25rem; }
.topic-list h3 { font-size: 1.65rem; }
.topic-list h3 a:not(:hover) { text-decoration: none; }
.topic-list p { color: var(--muted); max-width: 69ch; margin-top: .35rem; }
.topic-list ul { list-style: none; border-left: 1px solid var(--line); padding-left: 1.2rem; display: grid; gap: .45rem; font-size: .92rem; }

.page-band { background: var(--mist); border-bottom: 1px solid var(--line); }
.crumbs { padding-block: 1rem .4rem; color: var(--muted); font-size: .84rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: baseline; list-style: none; padding: 0; gap: .12rem .55rem; }
.crumbs li { display: inline-flex; gap: .55rem; align-items: baseline; }
.crumbs li + li::before { content: "›"; color: var(--muted); }
.page-lead { display: grid; grid-template-columns: minmax(0,1fr) minmax(200px, 29%); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: 1.1rem 2.5rem; }
.page-lead h1 { font-size: clamp(2.65rem, 5.2vw, 5.2rem); text-wrap: initial; }
.page-lead h1, .prose h2 { hyphens: auto; overflow-wrap: anywhere; }
.page-lead p { margin-top: 1rem; font-size: clamp(1.03rem, 1.45vw, 1.24rem); line-height: 1.55; max-width: 67ch; color: var(--muted); }
.page-lead .button { margin-top: 1.1rem; }
.lead-image { width: 100%; height: clamp(175px, 19vw, 248px); object-fit: cover; border-radius: .3rem; border: 1px solid var(--line); }

.reading-layout { display: grid; grid-template-columns: minmax(0, 49rem) minmax(170px, 1fr); gap: clamp(2rem, 7vw, 7rem); padding-block: 2.5rem 4.5rem; align-items: start; }
.prose { min-width: 0; font-size: 1.035rem; }
.prose > * + * { margin-top: 1.7rem; }
.prose > section + section { margin-top: 2.2rem; }
.prose p { max-width: 69ch; }
.prose h2 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); margin-bottom: .7rem; }
.prose p + p { margin-top: .8rem; }
.rail { position: sticky; top: 1.5rem; font-size: .94rem; border-top: 1px solid #bda18a; }
.rail h2 { font: 700 .93rem/1.3 var(--body); letter-spacing: 0; margin: .95rem 0 .6rem; }
.rail ul { list-style: none; margin: 0; padding: 0; }
.rail li { border-bottom: 1px solid var(--line); }
.rail li a { display: block; padding-block: .55rem; text-decoration: none; }
.rail li a:hover { text-decoration: underline; }
.rail-category { display: inline-block; margin-top: 1rem; font-weight: 650; }
.editorial-image { display: grid; width: min(100%, 440px); margin-inline: 0; }
.editorial-image img { width: 100%; height: clamp(190px, 35vw, 280px); object-fit: cover; object-position: center; border-radius: .28rem; }
.inset { border-left: 3px solid #b28b70; background: var(--mist); padding: .85rem 1.05rem; }
.editorial-links { list-style: none; padding: 0; }
.editorial-links li { border-bottom: 1px solid var(--line); }
.editorial-links li a { display: block; padding-block: .5rem; font-weight: 580; }
.sources { border-block: 1px solid var(--line); padding-block: .7rem; font-size: .94rem; }
.sources summary { cursor: pointer; font-weight: 650; padding-block: .2rem; }
.sources ul { padding-left: 1.4rem; margin-block: .5rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: .25rem; }
p + .table-scroll { margin-top: 1rem; }
table { border-collapse: collapse; width: 100%; min-width: 500px; font-size: .94rem; background: #fff; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: .65rem .8rem; }
thead th { background: var(--action); color: #fff; }
tbody tr + tr { border-top: 1px solid var(--line); }
tbody th { width: 26%; }

.hub-body { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: clamp(1.65rem, 5vw, 6rem); row-gap: 2rem; padding-block: 2.5rem 4rem; }
.hub-body h2 { margin-bottom: .75rem; }
.hub-body > figure { grid-column: 1 / -1; }
.tools-body { padding-block: 2.2rem 4rem; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.05rem; }
.tool-item { display: grid; grid-template-columns: 100px minmax(0,1fr); align-items: center; gap: 1rem; background: white; border: 1px solid var(--line); border-radius: .3rem; padding: .8rem; }
.tool-item img { width: 100px; border-radius: .16rem; }
.tool-item h2 { font-size: clamp(1.3rem, 2.35vw, 2.05rem); }
.tool-item p { color: var(--muted); font-size: .95rem; margin-top: .5rem; }
.tools-body > figure { grid-column: 1/-1; }
.trust-content { max-width: 50rem; padding-block: 2.5rem 4.2rem; overflow-wrap: anywhere; }

.safety { background: #f6eadb; border-left: 3px solid #a27546; padding: .9rem 1rem; }
.tool-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.field label { font-size: .9rem; line-height: 1.35; font-weight: 710; }
.optional { color: var(--muted); font-weight: 475; }
.field input, .field select { width: 100%; min-height: 48px; border: 1px solid #a58a76; border-radius: .25rem; background: #fff; color: var(--ink); padding: .54rem .65rem; font-size: 1rem; }
.field input::placeholder { color: var(--muted); opacity: 1; }
.form-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.result { border: 1px solid #bda18a; border-radius: .3rem; background: var(--mist); padding: clamp(1rem, 3vw, 1.55rem); }
.result:focus { outline: 2px solid var(--action); outline-offset: 3px; }
.result-card { padding-block: .85rem; border-top: 1px solid #bda18a; }
.result-card:first-of-type { margin-top: .8rem; }
.result-card:last-of-type { margin-bottom: .6rem; }
.result-card h3 { margin-bottom: .38rem; font-size: 1.5rem; }
.result-card p + p { margin-top: .35rem; }
.result-links { padding-left: 1.35rem; margin-top: .7rem; }
.result-links li + li { margin-top: .32rem; }
.metrics { display: flex; flex-wrap: wrap; gap: .65rem; margin: .75rem 0 1rem; }
.metrics strong { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 720; border: 1px solid #bda18a; padding: .32rem .7rem; border-radius: .24rem; background: #fff; }

.site-footer { background: var(--footer); border-top: 1px solid #d4c1ae; }
.foot-layout { display: grid; grid-template-columns: 1.15fr 1fr 1fr .8fr; gap: 1.5rem; padding-block: 2.6rem 2.15rem; }
.foot-brand p { color: var(--muted); margin-top: .7rem; max-width: 24ch; font-size: .94rem; }
.foot-layout nav h2 { font: 800 .92rem/1.3 var(--body); letter-spacing: 0; text-wrap: initial; margin-bottom: .58rem; color: var(--accent-text); }
.foot-layout ul { list-style: none; padding: 0; font-size: .91rem; }
.foot-layout li a { display: inline-block; padding-block: .21rem; text-decoration: none; }
.foot-layout li a:hover { text-decoration: underline; }
.foot-bottom { display: flex; align-items: center; justify-content: flex-end; border-top: 1px solid #cab29c; color: var(--muted); padding-block: .9rem; font-size: .83rem; }
.consent-banner { position: fixed; z-index: 5; bottom: .75rem; right: .75rem; width: min(360px, calc(100% - 1.5rem)); background: #fff; border: 1px solid #a58a76; border-radius: .32rem; padding: .85rem; box-shadow: 0 8px 35px #51391d30; font-size: .91rem; }
.consent-banner > div { display: flex; gap: .5rem; margin-top: .6rem; }
.consent-banner button { flex: 1; }

@media (max-width: 1110px) {
  .wrap { width: calc(100% - 3rem); }
  .desktop-nav { gap: .75rem; }
  .brand { font-size: 1.35rem; }
}
@media (max-width: 900px) {
  .symptoms, .home-tools { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .reading-layout { gap: 2rem; }
}
@media (max-width: 760px) {
  .desktop-nav { display: none; }
  .header-inner, .page-home .header-inner { min-height: 64px; justify-content: space-between; gap: 1rem; }
  .mobile-nav { display: block; }
  .mobile-nav summary { min-height: 44px; display: flex; align-items: center; gap: .55rem; cursor: pointer; color: var(--ink); font-size: .9rem; font-weight: 690; padding: .4rem .55rem; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { font-size: 1.2rem; font-weight: 400; }
  .mobile-nav[open] summary span { transform: rotate(45deg); }
  .mobile-nav nav { display: grid; position: absolute; z-index: 3; inset: 100% 0 auto; background: var(--paper); padding: .5rem 1.5rem 1rem; border-block: 1px solid var(--line); box-shadow: 0 10px 18px #51391d20; }
  .mobile-nav nav > a:not(.button) { display: flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); }
  .mobile-nav nav > .button { margin-top: .6rem; width: fit-content; }
  .page-home .header-inner, .hero-grid, .room-section { width: calc(100% - 2rem); }
  .page-home .header-inner { padding-bottom: 0; }
  .page-home .brand { font-size: 1.35rem; }
  .page-home .site-header::after { inset-inline: 1rem; width: auto; }
  .home-hero { min-height: 0; }
  .hero-grid { display: flex; flex-direction: column; align-items: start; padding-top: 1.65rem; }
  .hero-copy { width: 100%; padding: 0; }
  .hero-copy h1 { font-size: clamp(3rem, 12vw, 5.4rem); }
  .hero-copy p { margin-top: .9rem; font-size: 1rem; max-width: 36ch; }
  .hero-copy .button { margin-top: 1.1rem; min-width: 0; padding-inline: 1rem; font-size: .95rem; border-radius: .3rem; }
  .hero-illustration { position: static; align-self: center; width: min(100%, 510px); margin: .45rem 0 -.65rem; }
  .room-section { padding-block: .8rem 1.6rem; }
  .room-section h2 { font-size: clamp(1.65rem, 5vw, 2.15rem); margin: 0 0 .75rem; }
  .room-links { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem .75rem; }
  .room-links li + li { border: 0; padding: 0; }
  .room-links a { font-size: .9rem; gap: .55rem; }
  .room-links img { width: clamp(55px, 13vw, 92px); height: clamp(44px, 11vw, 72px); object-fit: cover; border-radius: .25rem; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2rem); }
  .section-heading { margin-bottom: .8rem; }
  .section-heading h2 { text-wrap: initial; }
  .symptoms, .home-tools { gap: .45rem; }
  .symptoms a, .home-tools a { grid-template-columns: 38px minmax(0, 1fr); min-height: 56px; padding: .38rem; gap: .45rem; font-size: .83rem; }
  .symptoms img, .home-tools img { width: 38px; }
  .topic-list article { grid-template-columns: 61px minmax(0,1fr); gap: .7rem; align-items: start; }
  .topic-list img { width: 61px; height: 61px; }
  .topic-list h3 { font-size: 1.39rem; }
  .topic-list p { font-size: .9rem; }
  .topic-list ul { grid-column: 2; border-left: 0; padding-left: 0; gap: .22rem; font-size: .85rem; }
  .page-lead { grid-template-columns: minmax(0,1fr); gap: 1rem; padding-block: .75rem 1.35rem; }
  .page-lead h1 { font-size: clamp(2rem, 9vw, 3.45rem); }
  .page-lead p { margin-top: .65rem; }
  .lead-image { height: clamp(130px, 40vw, 208px); object-position: center; }
  .reading-layout { grid-template-columns: minmax(0,1fr); padding-block: 1.5rem 2.8rem; }
  .rail { position: static; }
  .prose { font-size: 1rem; }
  .prose > * + * { margin-top: 1.35rem; }
  .hub-body, .tools-body { grid-template-columns: minmax(0,1fr); padding-block: 1.5rem 2.8rem; }
  .tool-item { grid-template-columns: 70px minmax(0,1fr); }
  .tool-item img { width: 70px; }
  .trust-content { padding-block: 1.6rem 3rem; }
  .fields { grid-template-columns: minmax(0,1fr); }
  .foot-layout { grid-template-columns: 1fr 1fr; gap: 1rem .8rem; padding-block: 1.8rem; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand p { max-width: 36ch; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
