:root {
    --ink: #173042;
    --ink-soft: #355165;
    --teal: #2d7772;
    --teal-dark: #205c59;
    --teal-pale: #dceceb;
    --amber: #c88b3a;
    --amber-pale: #f4e6cf;
    --red: #a6544d;
    --red-pale: #f3dfdc;
    --cream: #f5f2ea;
    --cream-deep: #ebe6db;
    --white: #fffdf8;
    --blue-pale: #e8eff0;
    --line: #ced9d8;
    --muted: #687b84;
    --shadow: 0 20px 55px rgba(23, 48, 66, 0.11);
    --shadow-small: 0 8px 24px rgba(23, 48, 66, 0.09);
    --radius: 18px;
    --radius-small: 11px;
    --shell: 1200px;
    --font-body: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: "Aptos Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button, input, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .55em; font-family: var(--font-display); line-height: 1.1; letter-spacing: -.035em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1.1em; }
ul, ol { margin-top: 0; }
::selection { background: var(--amber-pale); color: var(--ink); }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.narrow-shell { width: min(820px, 100%); }
.article-shell { width: min(780px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 9999; left: 16px; top: -100px; background: var(--ink); color: white; padding: 10px 16px; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }

.eyebrow { margin: 0 0 12px; color: var(--teal-dark); font-weight: 800; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-large { font-size: .82rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 21px;
    border: 2px solid var(--teal);
    border-radius: 999px;
    background: var(--teal);
    color: white;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--teal-dark); border-color: var(--teal-dark); color: white; }
.button:focus-visible, .text-link:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.button-small { min-height: 43px; padding: 10px 16px; font-size: .9rem; }
.button-full { width: 100%; }
.button-ghost { background: transparent; color: var(--ink); border-color: rgba(23,48,66,.3); }
.button-ghost:hover { background: var(--ink); border-color: var(--ink); color: white; }
.button-ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.button-ghost-dark:hover { background: var(--ink); color: white; }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 800; text-decoration: none; }
.text-link span { transition: transform .16s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link-light { color: white; }
.text-link-light:hover { color: var(--amber-pale); }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,253,248,.94); border-bottom: 1px solid rgba(206,217,216,.75); backdrop-filter: blur(14px); }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.brand strong { display: block; font: 800 1.05rem/1 var(--font-display); letter-spacing: -.03em; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: .67rem; line-height: 1; }
.brand-mark { position: relative; display: inline-grid; place-items: center; width: 43px; height: 43px; border: 2px solid var(--ink); border-radius: 50% 50% 45% 55%; transform: rotate(-7deg); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 7px; height: 7px; border: 2px solid var(--ink); border-radius: 50%; top: -7px; background: var(--cream); }
.brand-mark::before { left: 6px; }
.brand-mark::after { right: 6px; }
.brand-mark-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 15px 0 0 var(--teal); transform: translateX(-7px); }
.brand-mark-line { position: absolute; bottom: 9px; width: 14px; height: 6px; border-bottom: 2px solid var(--ink); border-radius: 50%; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 19px; }
.site-nav a { position: relative; color: var(--ink-soft); font-size: .86rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--teal); transition: right .18s ease; }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.header-cta { margin-left: 4px; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 44px; border: 0; border-radius: 10px; background: var(--blue-pale); }
.menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); }

.hero { position: relative; overflow: hidden; padding: 92px 0 85px; background: var(--cream); }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -250px; top: -330px; border: 1px solid rgba(45,119,114,.2); border-radius: 50%; box-shadow: 0 0 0 70px rgba(45,119,114,.035), 0 0 0 140px rgba(45,119,114,.025); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(45px, 7vw, 95px); align-items: center; }
.hero-copy h1 { max-width: 780px; }
.hero-lede { max-width: 690px; color: var(--ink-soft); font-size: clamp(1.13rem, 2vw, 1.35rem); line-height: 1.55; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 25px; color: var(--muted); font-size: .8rem; font-weight: 700; }
.hero-trust span::before { content: "✓"; margin-right: 6px; color: var(--teal); }

.home-diagram { position: relative; min-height: 510px; }
.diagram-sky { position: absolute; inset: 0 0 auto auto; width: 100%; height: 210px; }
.diagram-sky span { position: absolute; border-radius: 50%; border: 1px solid rgba(45,119,114,.25); }
.diagram-sky span:nth-child(1) { width: 120px; height: 120px; right: 20px; top: 0; }
.diagram-sky span:nth-child(2) { width: 50px; height: 50px; right: 145px; top: 70px; background: var(--amber-pale); border: 0; }
.diagram-sky span:nth-child(3) { width: 12px; height: 12px; right: 75px; top: 100px; background: var(--teal); border: 0; }
.house { position: absolute; left: 20px; right: 15px; top: 92px; height: 330px; display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 1fr 1fr; border: 4px solid var(--ink); border-top: 0; background: var(--white); box-shadow: var(--shadow); }
.roof { position: absolute; left: -17px; right: -17px; top: -82px; height: 83px; background: var(--ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.roof::after { content: ""; position: absolute; left: 25px; right: 25px; top: 14px; bottom: 0; background: var(--amber); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.room { position: relative; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); overflow: hidden; }
.room:nth-of-type(odd) { border-right: 0; }
.room:nth-last-of-type(-n+2) { border-bottom: 0; }
.room-living { background: #eef1e9; }
.room-bedroom { background: #e5eeee; }
.room-kitchen { background: #f2e8d8; }
.room-hall { background: #ece8e0; }
.person { position: absolute; width: 44px; height: 72px; left: 50px; bottom: 18px; border-radius: 24px 24px 9px 9px; background: var(--teal); }
.person::before { content: ""; position: absolute; width: 29px; height: 29px; left: 7px; top: -22px; border-radius: 50%; background: #d7a17e; }
.person-seated::after { content: ""; position: absolute; width: 68px; height: 39px; left: -13px; bottom: -3px; border-radius: 8px; background: var(--ink); z-index: -1; }
.device { position: absolute; display: block; }
.device-speaker { width: 35px; height: 48px; right: 33px; bottom: 23px; border-radius: 8px; background: var(--ink); }
.device-speaker::before { content: ""; position: absolute; width: 21px; height: 21px; left: 7px; top: 8px; border-radius: 50%; background: var(--teal-pale); }
.device-sensor { width: 17px; height: 17px; right: 12px; top: 18px; border: 3px solid var(--teal); border-radius: 50%; }
.bed { position: absolute; left: 17px; right: 27px; bottom: 20px; height: 42px; border-radius: 8px 8px 4px 4px; background: var(--ink); }
.bed::before { content: ""; position: absolute; left: 7px; top: -19px; width: 50px; height: 26px; border-radius: 10px 10px 2px 2px; background: var(--white); border: 2px solid var(--ink); }
.device-pills { width: 54px; height: 23px; left: 30px; bottom: 30px; border: 3px solid var(--ink); border-radius: 50%; background: var(--amber); }
.device-pills::before { content: ""; position: absolute; left: 11px; right: 11px; top: -7px; height: 8px; border: 3px solid var(--ink); background: var(--white); }
.cupboard { position: absolute; right: 20px; bottom: 0; width: 75px; height: 77px; background: var(--teal-pale); border: 3px solid var(--ink); }
.cupboard::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px solid var(--ink); }
.door { position: absolute; width: 57px; height: 110px; left: 50%; bottom: 0; transform: translateX(-50%); border: 4px solid var(--ink); border-bottom: 0; background: #d9b98e; }
.door::after { content: ""; position: absolute; right: 7px; top: 52%; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.device-alarm { width: 22px; height: 30px; right: 18px; top: 22px; border: 3px solid var(--ink); border-radius: 10px; background: var(--red-pale); }
.device-alarm::after { content: ""; position: absolute; width: 7px; height: 7px; left: 5px; top: 7px; border-radius: 50%; background: var(--red); }
.signal { position: absolute; width: 25px; height: 25px; border: 3px solid var(--teal); border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(-45deg); }
.signal-a { right: 26px; bottom: 65px; }
.signal-b { right: 19px; top: 12px; width: 30px; height: 30px; }
.diagram-note { position: absolute; z-index: 4; min-width: 155px; padding: 12px 15px; border: 2px solid var(--ink); border-radius: 10px; background: var(--white); box-shadow: var(--shadow-small); }
.diagram-note strong, .diagram-note span { display: block; }
.diagram-note strong { font-size: .84rem; }
.diagram-note span { color: var(--muted); font-size: .72rem; }
.note-one { left: -25px; top: 32px; transform: rotate(-2deg); }
.note-two { right: -25px; bottom: 35px; transform: rotate(2deg); }
.diagram-caption { position: absolute; left: 25px; right: 25px; bottom: -5px; text-align: center; color: var(--muted); font-size: .78rem; font-weight: 700; }

.section { padding: 92px 0; }
.section-pale { background: var(--cream); }
.section-heading { margin-bottom: 42px; }
.section-heading > p { max-width: 580px; color: var(--ink-soft); }
.split-heading { display: flex; justify-content: space-between; gap: 35px; align-items: end; }
.split-heading > * { margin-bottom: 0; }
.centre-heading { max-width: 830px; margin-inline: auto; text-align: center; }
.centre-heading > p:last-child { margin-inline: auto; color: var(--ink-soft); }

.section-problems { padding-bottom: 105px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problem-grid-large { grid-template-columns: repeat(3, 1fr); }
.problem-card { position: relative; min-height: 195px; padding: 25px 25px 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.problem-card:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: var(--shadow-small); color: var(--ink); }
.problem-card strong, .problem-card > span { display: block; }
.problem-card strong { margin: 16px 0 7px; font: 800 1.12rem/1.25 var(--font-display); }
.problem-card > span:not(.problem-icon):not(.card-arrow) { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.problem-icon { width: 38px; height: 38px; display: grid !important; place-items: center; border-radius: 10px; background: var(--teal-pale); color: var(--teal-dark); font-weight: 800; }
.card-arrow { position: absolute; right: 22px; bottom: 16px; color: var(--teal) !important; font-size: 1.3rem !important; transition: transform .18s ease; }
.problem-card:hover .card-arrow { transform: translateX(4px); }

.finder-preview { background: var(--ink); color: white; }
.finder-preview-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 80px; align-items: center; }
.finder-preview .eyebrow { color: #91cbc7; }
.finder-preview p { color: #d5e0e5; }
.tick-list { padding: 0; list-style: none; }
.tick-list li { position: relative; margin: 10px 0; padding-left: 30px; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.finder-preview .tick-list li::before { color: #91cbc7; }
.finder-sample { padding: 31px; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: rgba(255,255,255,.07); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.sample-progress { height: 7px; border-radius: 99px; background: rgba(255,255,255,.13); overflow: hidden; }
.sample-progress span { display: block; height: 100%; border-radius: inherit; background: var(--amber); }
.sample-step { margin: 13px 0 20px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.finder-sample h3 { font-size: 1.45rem; }
.sample-option { display: block; margin: 9px 0; padding: 12px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; color: #d8e2e6; font-size: .9rem; }
.sample-option.selected { border-color: #91cbc7; background: rgba(145,203,199,.13); color: white; }
.sample-result { margin-top: 25px; padding: 18px; border-radius: 12px; background: var(--white); color: var(--ink); }
.sample-result strong, .sample-result small { display: block; }
.sample-result strong { margin: 10px 0 4px; }
.sample-result small { color: var(--muted); }

.reality-section { background: var(--white); }
.reality-scale { margin-top: 55px; }
.scale-track { position: relative; height: 8px; margin: 0 7%; border-radius: 99px; background: linear-gradient(90deg, var(--teal) 0 55%, var(--amber) 73%, var(--cream-deep) 100%); }
.scale-items { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: -18px; text-align: center; }
.scale-items > div { display: flex; flex-direction: column; align-items: center; }
.scale-dot { display: block; width: 28px; height: 28px; margin-bottom: 18px; border: 5px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 2px var(--ink); background: var(--cream-deep); }
.scale-dot.active { background: var(--teal); }
.scale-dot.partial { background: var(--amber); }
.scale-items strong { font-size: .9rem; }
.scale-items small { color: var(--muted); font-size: .72rem; }
.reality-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.reality-cards article { padding: 26px; border-top: 3px solid var(--teal); background: var(--cream); }
.reality-cards article > span { color: var(--amber); font: 800 .75rem/1 var(--font-display); }
.reality-cards h3 { margin-top: 18px; font-size: 1.13rem; }
.reality-cards p { margin: 0; color: var(--ink-soft); font-size: .86rem; }

.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.entry-card { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 0 rgba(23,48,66,.03); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.entry-card:hover { transform: translateY(-4px); border-color: #a9c1bf; box-shadow: var(--shadow-small); }
.entry-card-top { display: flex; flex-wrap: wrap; gap: 7px; justify-content: space-between; align-items: center; }
.status, .evidence-chip { display: inline-flex; align-items: center; min-height: 27px; padding: 5px 9px; border-radius: 999px; font-size: .66rem; font-weight: 800; line-height: 1.2; }
.status-available { background: #ddefe6; color: #225e48; }
.status-limited { background: var(--amber-pale); color: #72501e; }
.status-overseas { background: var(--red-pale); color: #733c37; }
.status-research { background: #e7e2f2; color: #5b477e; }
.evidence-chip { background: var(--blue-pale); color: var(--ink); }
.entry-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 27px 0 18px; border: 2px solid var(--ink); border-radius: 15px 15px 11px 17px; background: var(--amber-pale); color: var(--ink); font: 800 1.25rem/1 var(--font-display); transform: rotate(-3deg); }
.entry-card .eyebrow { margin-bottom: 6px; font-size: .66rem; }
.entry-card h3 { margin-bottom: 3px; font-size: 1.28rem; }
.entry-card h3 a { color: var(--ink); text-decoration: none; }
.entry-card .maker { margin-bottom: 15px; color: var(--muted); font-size: .75rem; }
.entry-card > p:not(.eyebrow):not(.maker):not(.limitation) { color: var(--ink-soft); font-size: .88rem; }
.mini-specs { margin: 4px 0 18px; }
.mini-specs div { display: grid; grid-template-columns: 74px 1fr; gap: 8px; padding: 8px 0; border-top: 1px solid #e1e7e6; font-size: .76rem; }
.mini-specs dt { color: var(--muted); font-weight: 700; }
.mini-specs dd { margin: 0; color: var(--ink); font-weight: 600; }
.limitation { margin-top: auto; padding: 13px; border-left: 3px solid var(--amber); background: #fbf6eb; color: var(--ink-soft); font-size: .78rem; line-height: 1.45; }
.entry-card .text-link { margin-top: 4px; font-size: .82rem; }
.section-cta { margin-top: 34px; text-align: center; }

.evidence-section { background: var(--teal-dark); color: white; }
.evidence-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.evidence-section .eyebrow { color: #a9d7d4; }
.evidence-section p { color: #d7e9e7; }
.grade-list { display: grid; gap: 12px; }
.grade-list > div { display: grid; grid-template-columns: 54px 1fr; gap: 15px; align-items: center; padding: 14px 16px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: rgba(255,255,255,.06); }
.grade { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 11px; color: var(--ink); font: 800 1rem/1 var(--font-display); }
.grade-a { background: #b9e4d0; }
.grade-b { background: #dce8ad; }
.grade-c { background: #f1d89c; }
.grade-d { background: #eab7b0; }
.grade-list p { margin: 0; }
.grade-list strong, .grade-list small { display: block; }
.grade-list strong { color: white; }
.grade-list small { color: #c8dddb; line-height: 1.35; }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-grid-large { grid-template-columns: repeat(2, 1fr); }
.guide-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.guide-card::after { content: ""; position: absolute; left: 28px; right: 70%; bottom: 0; height: 3px; background: var(--teal); transition: right .2s ease; }
.guide-card:hover::after { right: 28px; }
.guide-card h2 { font-size: 1.55rem; }
.guide-card h3 { font-size: 1.35rem; }
.guide-card h2 a, .guide-card h3 a { color: var(--ink); text-decoration: none; }
.guide-card > p:not(.eyebrow) { color: var(--ink-soft); font-size: .9rem; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 20px; color: var(--muted); font-size: .72rem; }
.guide-meta span:first-child::before { content: "◷"; margin-right: 5px; color: var(--teal); }

.privacy-banner { background: var(--blue-pale); }
.privacy-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: center; }
.privacy-art { position: relative; min-height: 290px; border-radius: 50%; background: rgba(255,255,255,.5); }
.eye { position: absolute; width: 100px; height: 57px; border: 4px solid var(--ink); border-radius: 100% 0 100% 0; transform: rotate(45deg); }
.eye::after { content: ""; position: absolute; width: 22px; height: 22px; left: 35px; top: 14px; border-radius: 50%; background: var(--teal); }
.eye-one { left: 45px; top: 95px; }
.eye-two { right: 38px; top: 55px; transform: rotate(25deg) scale(.72); opacity: .4; }
.privacy-shield { position: absolute; width: 105px; height: 125px; left: 50%; top: 50%; transform: translate(-50%,-50%); background: var(--amber); clip-path: polygon(50% 0, 100% 18%, 92% 72%, 50% 100%, 8% 72%, 0 18%); border: 0; }
.privacy-shield::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink); font-size: 2.5rem; font-weight: 800; }
.privacy-grid p:not(.eyebrow) { color: var(--ink-soft); }
.newsletter-section { background: var(--cream); padding-top: 45px; }
.newsletter-box { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 42px; border: 2px solid var(--ink); border-radius: 22px; background: var(--white); box-shadow: 12px 12px 0 var(--amber-pale); }
.newsletter-box > div { max-width: 780px; }
.newsletter-box h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.newsletter-box p:not(.eyebrow) { margin-bottom: 0; color: var(--ink-soft); }

.page-hero { padding: 90px 0 78px; background: var(--cream); text-align: center; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.page-hero p:not(.eyebrow) { max-width: 780px; margin-inline: auto; color: var(--ink-soft); font-size: 1.15rem; }
.page-hero .button-row { justify-content: center; margin-top: 28px; }
.page-hero .button-ghost { border-color: var(--ink); }
.page-hero-directory { background: linear-gradient(135deg, var(--cream) 0%, var(--blue-pale) 100%); }
.error-page { min-height: 60vh; display: grid; align-items: center; }

.directory-section { padding-top: 55px; }
.directory-controls { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--blue-pale); }
.directory-controls label { display: block; }
.directory-controls label > span { display: block; margin: 0 0 6px 3px; color: var(--ink-soft); font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.directory-controls input, .directory-controls select { width: 100%; min-height: 50px; padding: 10px 12px; border: 1px solid #b8c9c8; border-radius: 10px; background: white; color: var(--ink); }
.directory-summary { margin: 24px 0 16px; color: var(--muted); font-size: .85rem; }
.directory-summary strong { color: var(--ink); }
.directory-grid { align-items: stretch; }
.empty-state { max-width: 650px; margin: 55px auto 0; padding: 35px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.empty-state p { color: var(--muted); }

.entry-hero { padding: 78px 0 64px; background: var(--cream); }
.entry-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.entry-hero h1 { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.entry-subtitle { max-width: 720px; color: var(--ink-soft); font-size: 1.25rem; }
.maker-large { color: var(--muted); font-size: .88rem; }
.entry-hero .entry-card-top { justify-content: flex-start; margin-bottom: 25px; }
.reality-panel { padding: 29px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: 10px 10px 0 var(--amber-pale); }
.reality-panel > p:not(.eyebrow) { color: var(--ink-soft); }
.reality-warning { padding: 15px; border-left: 4px solid var(--amber); background: #fbf6eb; }
.reality-warning strong, .reality-warning span { display: block; }
.reality-warning strong { margin-bottom: 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.reality-warning span { font-size: .88rem; }
.entry-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 65px; align-items: start; }
.content-block { padding: 0 0 45px; margin-bottom: 45px; border-bottom: 1px solid var(--line); }
.content-block h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
.content-block > p { color: var(--ink-soft); }
.capability-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0 28px; }
.capability-list span { padding: 8px 12px; border: 1px solid #a9c4c1; border-radius: 999px; background: var(--teal-pale); color: var(--teal-dark); font-size: .78rem; font-weight: 800; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; margin: 25px 0; }
.spec-grid div { padding: 16px 0; border-top: 1px solid var(--line); }
.spec-grid dt { margin-bottom: 5px; color: var(--muted); font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.spec-grid dd { margin: 0; font-weight: 600; }
.spec-grid-small { max-width: 680px; }
.failure-block { padding: 30px; border: 0; background: var(--red-pale); }
.failure-list { display: grid; gap: 9px; padding: 0; list-style: none; }
.failure-list li { position: relative; padding-left: 30px; }
.failure-list li::before { content: "!"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: white; font-size: .72rem; font-weight: 800; }
.source-note { padding: 15px; background: var(--blue-pale); font-size: .82rem; }
.sticky-card { position: sticky; top: 112px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.compact-steps { padding-left: 22px; }
.compact-steps li { margin: 10px 0; }
.small-print { margin: 13px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.45; }

.finder-page { min-height: 650px; }
.finder-app { max-width: 950px; }
.finder-start { display: grid; grid-template-columns: 1.2fr .8fr; gap: 65px; align-items: center; padding: 45px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.finder-start-copy p:not(.eyebrow) { color: var(--ink-soft); }
.finder-start-art { position: relative; min-height: 260px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 10px; }
.finder-start-art span { display: grid; place-items: center; width: 90px; height: 90px; border: 3px solid var(--ink); border-radius: 22px; background: var(--teal-pale); font: 800 2rem/1 var(--font-display); transform: rotate(-5deg); }
.finder-start-art span:nth-child(2) { width: 55px; height: 55px; border: 0; background: transparent; transform: none; }
.finder-start-art span:nth-child(3) { background: var(--amber-pale); transform: rotate(4deg); }
.finder-questions { padding: 35px 45px 40px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.finder-progress-wrap { display: flex; align-items: center; gap: 18px; margin-bottom: 35px; }
.finder-progress { flex: 1; height: 9px; border-radius: 99px; background: var(--blue-pale); overflow: hidden; }
.finder-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--teal); transition: width .25s ease; }
.finder-progress-wrap p { margin: 0; color: var(--muted); font-size: .75rem; font-weight: 800; }
.finder-question h2 { max-width: 720px; margin-bottom: 10px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.finder-question > p { color: var(--ink-soft); }
.answer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.answer-option { position: relative; padding: 18px 19px 18px 55px; border: 2px solid var(--line); border-radius: 13px; background: white; color: var(--ink); text-align: left; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.answer-option::before { content: ""; position: absolute; left: 19px; top: 20px; width: 20px; height: 20px; border: 2px solid #93aaa9; border-radius: 50%; background: white; }
.answer-option:hover { transform: translateY(-2px); border-color: var(--teal); }
.answer-option.selected { border-color: var(--teal); background: var(--teal-pale); }
.answer-option.selected::before { border: 6px solid var(--teal); }
.answer-option strong, .answer-option small { display: block; }
.answer-option small { margin-top: 4px; color: var(--muted); line-height: 1.35; }
.finder-nav { display: flex; justify-content: space-between; margin-top: 36px; }
.finder-nav button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.finder-result-heading { max-width: 760px; margin-bottom: 35px; }
.finder-result-heading > p:last-child { color: var(--ink-soft); }
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.result-card { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-small); }
.result-card:nth-child(2) { border-top: 5px solid var(--teal); }
.result-card:nth-child(3) { border-top: 5px solid var(--amber); }
.result-level { color: var(--teal-dark); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.result-card h3 { margin-top: 10px; }
.result-card > p { color: var(--ink-soft); font-size: .86rem; }
.result-meta { margin: 8px 0 18px; }
.result-meta span { display: block; padding: 8px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.result-meta strong { color: var(--ink); }
.result-warning { margin-top: auto; padding: 12px; border-left: 3px solid var(--amber); background: #fbf6eb; font-size: .73rem; line-height: 1.4; }
.result-card .text-link { margin-top: 15px; font-size: .8rem; }
.finder-cannot { margin-top: 34px; padding: 28px; border-radius: var(--radius); background: var(--ink); color: white; }
.finder-cannot h2 { font-size: 1.5rem; }
.finder-cannot p { margin-bottom: 0; color: #d5e0e5; }
.result-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.notice { padding: 18px; border: 1px solid var(--amber); background: var(--amber-pale); }

.article-hero { padding: 85px 0 72px; background: var(--cream); }
.article-hero .article-shell { width: min(900px, calc(100% - 40px)); }
.article-hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); }
.article-deck { max-width: 820px; color: var(--ink-soft); font-size: 1.22rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 70px; justify-content: center; align-items: start; padding-top: 75px; padding-bottom: 90px; }
.contents-card ol { padding-left: 20px; margin-bottom: 0; }
.contents-card li { margin: 10px 0; font-size: .8rem; line-height: 1.35; }
.contents-card a { color: var(--ink-soft); text-decoration: none; }
.contents-card a:hover { color: var(--teal-dark); text-decoration: underline; }
.article-content { min-width: 0; }
.article-content section { margin: 0 0 55px; }
.article-content h2 { margin-top: 0; font-size: clamp(1.75rem, 3.5vw, 2.55rem); }
.article-content p, .article-content li { color: var(--ink-soft); }
.article-content ul { padding-left: 25px; }
.article-content li { margin: 10px 0; }
.article-callout { margin-bottom: 52px; padding: 25px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--blue-pale); box-shadow: 8px 8px 0 var(--amber-pale); }
.article-callout strong { display: block; margin-bottom: 6px; font-family: var(--font-display); }
.article-callout p { margin: 0; }
.article-steps { padding: 0; list-style: none; counter-reset: article-step; }
.article-steps li { position: relative; min-height: 44px; padding: 8px 0 13px 56px; border-bottom: 1px solid var(--line); counter-increment: article-step; }
.article-steps li::before { content: counter(article-step); position: absolute; left: 0; top: 4px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-pale); color: var(--teal-dark); font-weight: 800; }
.professional-note { padding: 28px; border-left: 5px solid var(--red); background: var(--red-pale); }
.professional-note h2 { font-size: 1.5rem; }
.professional-note p { margin-bottom: 0; }
.standalone-copy { width: min(800px, calc(100% - 40px)); }
.standalone-copy h2 { margin-top: 45px; font-size: 2rem; }
.standalone-copy > h2:first-child { margin-top: 0; }
.standalone-copy p { color: var(--ink-soft); }
.change-log { margin-top: 25px; }
.change-log div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.change-log dt { font-weight: 800; }
.change-log dd { margin: 0; color: var(--ink-soft); }

.methodology-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 70px; justify-content: center; align-items: start; }
.methodology-content section { padding-bottom: 45px; border-bottom: 1px solid var(--line); }
.method-grade-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 25px; }
.method-grade-grid > div { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--cream); }
.method-grade-grid h3 { margin: 16px 0 7px; font-size: 1.05rem; }
.method-grade-grid p { margin: 0; font-size: .82rem; }

.site-footer { padding: 70px 0 25px; background: #102635; color: #dbe5e9; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 65px; }
.brand-footer { color: white; }
.brand-footer .brand-mark { border-color: white; }
.brand-footer .brand-mark::before, .brand-footer .brand-mark::after { border-color: white; background: #102635; }
.brand-footer .brand-mark-line { border-color: white; }
.brand-footer small { color: #9fb2bc; }
.footer-grid > div:first-child > p { max-width: 520px; margin-top: 22px; color: #aebfc7; }
.footer-grid h2 { margin-bottom: 18px; color: white; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid > div:not(:first-child) a { display: block; margin: 10px 0; color: #c6d5dc; font-size: .84rem; text-decoration: none; }
.footer-grid a:hover { color: white; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 35px; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #91a8b2; font-size: .7rem; }
.footer-bottom p { margin: 0; max-width: 760px; }

@media (max-width: 1080px) {
    .site-nav { gap: 12px; }
    .site-nav a { font-size: .78rem; }
    .header-cta { display: none; }
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .home-diagram { transform: scale(.9); transform-origin: center; }
    .entry-grid { grid-template-columns: repeat(2, 1fr); }
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
    .directory-controls { grid-template-columns: 1fr 1fr; }
    .reality-cards { grid-template-columns: repeat(2, 1fr); }
    .guide-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 850px) {
    body { font-size: 17px; }
    .shell { width: min(calc(100% - 28px), var(--shell)); }
    .header-inner { min-height: 72px; }
    .brand small { display: none; }
    .menu-toggle { display: block; }
    .site-nav { display: none; position: absolute; left: 14px; right: 14px; top: 78px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
    .site-nav.open { display: grid; }
    .site-nav a { padding: 10px; font-size: .95rem; }
    .site-nav a::after { display: none; }
    .hero { padding: 70px 0; }
    .hero-grid, .finder-preview-grid, .evidence-grid, .privacy-grid, .entry-hero-grid, .entry-layout, .finder-start, .article-layout, .methodology-layout { grid-template-columns: 1fr; }
    .home-diagram { width: min(560px, 100%); margin: 20px auto 0; transform: none; }
    .finder-preview-grid, .evidence-grid, .privacy-grid { gap: 45px; }
    .entry-layout, .methodology-layout { gap: 30px; }
    .sticky-card { position: static; }
    .entry-sidebar { order: -1; }
    .article-aside { display: none; }
    .article-layout { padding-top: 55px; }
    .scale-items strong { font-size: .72rem; }
    .scale-items small { display: none; }
    .result-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .newsletter-box { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
    h1 { font-size: 2.6rem; }
    .section { padding: 65px 0; }
    .brand-mark { width: 38px; height: 38px; }
    .brand strong { font-size: .96rem; }
    .hero { padding-top: 55px; }
    .button-row { align-items: stretch; flex-direction: column; }
    .button-row .button { width: 100%; }
    .home-diagram { min-height: 405px; }
    .house { left: 4px; right: 4px; top: 85px; height: 265px; }
    .note-one { left: -3px; top: 15px; }
    .note-two { right: -3px; bottom: 5px; }
    .diagram-note { min-width: 125px; padding: 9px 11px; }
    .diagram-caption { display: none; }
    .problem-grid, .entry-grid, .guide-grid, .guide-grid-large, .reality-cards, .method-grade-grid, .answer-grid, .spec-grid { grid-template-columns: 1fr; }
    .split-heading { display: block; }
    .split-heading > p, .split-heading > a { margin-top: 18px; }
    .finder-preview-grid { gap: 35px; }
    .finder-sample { padding: 22px; }
    .reality-scale { overflow-x: auto; padding-bottom: 15px; }
    .scale-track, .scale-items { min-width: 640px; }
    .directory-controls { grid-template-columns: 1fr; }
    .entry-hero { padding-top: 55px; }
    .entry-detail-section { padding-top: 55px; }
    .finder-start, .finder-questions { padding: 26px 20px; }
    .finder-start-art { min-height: 150px; justify-items: center; }
    .finder-start-art span { width: 65px; height: 65px; font-size: 1.5rem; }
    .finder-start-art span:nth-child(2) { width: 35px; height: 35px; }
    .finder-nav, .result-actions { align-items: stretch; flex-direction: column-reverse; }
    .finder-nav .button, .result-actions .button { width: 100%; }
    .newsletter-box { padding: 28px 22px; box-shadow: 7px 7px 0 var(--amber-pale); }
    .privacy-art { min-height: 220px; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-grid > div:first-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
    .change-log div { grid-template-columns: 1fr; gap: 4px; }
}

@media print {
    .site-header, .site-footer, .finder-page-hero, .result-actions, .finder-start, .finder-questions { display: none !important; }
    body { background: white; color: black; font-size: 12pt; }
    .finder-results { display: block !important; }
    .result-grid { grid-template-columns: 1fr; }
    .result-card { box-shadow: none; break-inside: avoid; }
    .finder-cannot { color: black; background: #eee; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Research library */
.research-layout { max-width: 980px; }
.research-intro { max-width: 780px; margin-bottom: 45px; }
.research-intro p:not(.eyebrow), .research-card p, .research-note p { color: var(--ink-soft); }
.research-list { display: grid; gap: 16px; }
.research-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.research-card h2 { max-width: 800px; margin: 11px 0; font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
.research-card h2 a { color: var(--ink); text-decoration: none; }
.research-card h2 a:hover { color: var(--teal-dark); text-decoration: underline; }
.research-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px 15px; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.research-note { margin-top: 40px; padding: 28px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--blue-pale); box-shadow: 8px 8px 0 var(--amber-pale); }
.research-note h2 { font-size: 1.55rem; }
.research-note p { margin-bottom: 0; }
