:root {
  color-scheme: light;
  --theme-color: #fdfbf6;
  --paper: #fdfbf6;
  --white: #fffefa;
  --ink: #1d2b24;
  --forest: #183e2f;
  --forest-deep: #0f2c21;
  --muted: #5b6a61;
  --line: #d9d2c4;
  --line-strong: #b9b09f;
  --sage: #e4ece5;
  --sage-deep: #cbdccf;
  --apricot: #f3d8bd;
  --clay: #b84d35;
  --clay-soft: #f7e4dc;
  --about-eyebrow: #8f3a24;
  --gold: #e0b354;
  --focus: #8a3b00;
  --focus-on-dark: #e0b354;
  --on-primary: #fffefa;
  --on-dark: #f7f8f4;
  --on-dark-muted: #c9d8ce;
  --hero-copy: #4e6056;
  --nav-ink: #3f5147;
  --header-bg: rgba(253, 251, 246, .97);
  --placeholder: #64746c;
  --search-shadow: rgba(24, 62, 47, .6);
  --feature-line: rgba(255, 255, 255, .35);
  --feature-ornament: rgba(255, 255, 255, .16);
  --feature-book-bg: #fffef9;
  --feature-book-ink: #2b4838;
  --feature-book-line: #e5dfd3;
  --shortlist-hover-line: #a8b6a8;
  --tiles-bg: #f0ece2;
  --pick-thumb-bg: #faf9f4;
  --pick-thumb-line: #e8e2d7;
  --about-border: #e5c6a8;
  --about-copy: #4e4033;
  --footer-line: rgba(255, 255, 255, .18);
  --footer-link: #e4ece8;
  --card-shadow: rgba(29, 43, 36, .03);
  --card-hover-shadow: rgba(24, 62, 47, .5);
  --font-body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Bitter", Georgia, serif;
  --font-brand: "Anek Telugu", "Noto Sans Telugu", sans-serif;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(29, 43, 36, .05), 0 20px 50px -42px rgba(29, 43, 36, .38);
}

[data-theme="chai"] {
  --theme-color: #fff7ef;
  --paper: #fff7ef;
  --white: #fffcf7;
  --ink: #261711;
  --forest: #4a291b;
  --forest-deep: #261711;
  --muted: #6b5143;
  --line: #e2cabb;
  --line-strong: #c4a38e;
  --sage: #f5d4bc;
  --sage-deep: #ebc6ab;
  --apricot: #f5d4bc;
  --clay: #a63a18;
  --clay-soft: #f7e2d7;
  --about-eyebrow: #913214;
  --gold: #e4a334;
  --focus: #8a3b00;
  --focus-on-dark: #f4c46b;
  --on-primary: #fff7ef;
  --on-dark: #fff7ef;
  --on-dark-muted: #e7d1c0;
  --hero-copy: #553e31;
  --nav-ink: #51392b;
  --header-bg: rgba(255, 247, 239, .97);
  --placeholder: #776053;
  --search-shadow: rgba(74, 41, 27, .45);
  --feature-line: rgba(255, 247, 239, .35);
  --feature-ornament: rgba(255, 247, 239, .16);
  --feature-book-bg: #fffcf7;
  --feature-book-ink: #3e291d;
  --feature-book-line: #e8d6c6;
  --shortlist-hover-line: #b98f77;
  --tiles-bg: #f2dcc9;
  --pick-thumb-bg: #fbf3e9;
  --pick-thumb-line: #ebd9c9;
  --about-border: #dabfa9;
  --about-copy: #4a382c;
  --footer-line: rgba(255, 247, 239, .2);
  --footer-link: #f1e2d6;
  --card-shadow: rgba(38, 23, 17, .04);
  --card-hover-shadow: rgba(38, 23, 17, .42);
  --shadow: 0 1px 0 rgba(38, 23, 17, .06), 0 20px 50px -42px rgba(38, 23, 17, .46);
}

[data-theme="garden"] {
  --theme-color: #f6f3e8;
  --paper: #f6f3e8;
  --white: #fffdf8;
  --ink: #1e2d21;
  --forest: #244532;
  --forest-deep: #132b1e;
  --muted: #596859;
  --line: #d8dccb;
  --line-strong: #b4bea9;
  --sage: #e1eadb;
  --sage-deep: #c9d8c2;
  --apricot: #f2e0c6;
  --clay: #a54b2d;
  --clay-soft: #f3e3d9;
  --about-eyebrow: #8a3b22;
  --gold: #e8be53;
  --focus: #7a3c00;
  --focus-on-dark: #e8be53;
  --on-primary: #fffdf8;
  --on-dark: #f8faf4;
  --on-dark-muted: #d1dccd;
  --hero-copy: #425343;
  --nav-ink: #405042;
  --header-bg: rgba(246, 243, 232, .97);
  --placeholder: #657364;
  --search-shadow: rgba(36, 69, 50, .4);
  --feature-line: rgba(255, 253, 248, .35);
  --feature-ornament: rgba(255, 253, 248, .16);
  --feature-book-bg: #fffdf8;
  --feature-book-ink: #2c4232;
  --feature-book-line: #e3decf;
  --shortlist-hover-line: #a8b69e;
  --tiles-bg: #eeede1;
  --pick-thumb-bg: #fbfaf4;
  --pick-thumb-line: #e5e1d4;
  --about-border: #dccbab;
  --about-copy: #4a4034;
  --footer-line: rgba(255, 255, 255, .18);
  --footer-link: #e9f0e6;
  --card-shadow: rgba(30, 45, 33, .03);
  --card-hover-shadow: rgba(30, 45, 33, .4);
  --shadow: 0 1px 0 rgba(30, 45, 33, .05), 0 20px 50px -42px rgba(30, 45, 33, .38);
}

[data-theme="dusk"] {
  --theme-color: #f8f3f0;
  --paper: #f8f3f0;
  --white: #fffcfa;
  --ink: #1f2a35;
  --forest: #2f4858;
  --forest-deep: #1c2c36;
  --muted: #58666d;
  --line: #d7dddd;
  --line-strong: #b3c1c2;
  --sage: #e5eced;
  --sage-deep: #cbd9dc;
  --apricot: #f2dde1;
  --clay: #9c3d53;
  --clay-soft: #f5e5e8;
  --about-eyebrow: #87344a;
  --gold: #edc27a;
  --focus: #7d2e41;
  --focus-on-dark: #edc27a;
  --on-primary: #fffcfa;
  --on-dark: #fbf8f6;
  --on-dark-muted: #d6e1e4;
  --hero-copy: #475a62;
  --nav-ink: #40545c;
  --header-bg: rgba(248, 243, 240, .97);
  --placeholder: #66777d;
  --search-shadow: rgba(47, 72, 88, .4);
  --feature-line: rgba(255, 252, 250, .35);
  --feature-ornament: rgba(255, 252, 250, .16);
  --feature-book-bg: #fffcfa;
  --feature-book-ink: #344a55;
  --feature-book-line: #e2dad7;
  --shortlist-hover-line: #a7b4b4;
  --tiles-bg: #ede8e7;
  --pick-thumb-bg: #fbf8f6;
  --pick-thumb-line: #e6ddda;
  --about-border: #dcc5c9;
  --about-copy: #4c3a40;
  --footer-line: rgba(255, 255, 255, .18);
  --footer-link: #eff2f3;
  --card-shadow: rgba(31, 42, 53, .03);
  --card-hover-shadow: rgba(31, 42, 53, .4);
  --shadow: 0 1px 0 rgba(31, 42, 53, .05), 0 20px 50px -42px rgba(31, 42, 53, .38);
}

[data-theme="noir"] {
  color-scheme: dark;
  --theme-color: #14100c;
  --paper: #14100c;
  --white: #1e1712;
  --ink: #f6ecdf;
  --forest: #dfad68;
  --forest-deep: #f1d6a3;
  --muted: #b9a58e;
  --line: #3b2e23;
  --line-strong: #5f4935;
  --sage: #2a2018;
  --sage-deep: #36281c;
  --apricot: #2b2018;
  --clay: #d97a51;
  --clay-soft: #3a2318;
  --about-eyebrow: #eda57c;
  --gold: #e8bf7b;
  --focus: #f2ca85;
  --focus-on-dark: #f2ca85;
  --on-primary: #1a110a;
  --on-dark: #f8efe2;
  --on-dark-muted: #d5c3ae;
  --hero-copy: #d8c8b4;
  --nav-ink: #d8c7b3;
  --header-bg: rgba(20, 16, 12, .95);
  --placeholder: #9e8b75;
  --search-shadow: rgba(0, 0, 0, .8);
  --feature-line: rgba(255, 244, 228, .34);
  --feature-ornament: rgba(255, 244, 228, .14);
  --feature-book-bg: #f0e4d2;
  --feature-book-ink: #3a2718;
  --feature-book-line: #dcc7ad;
  --shortlist-hover-line: #8a6a4b;
  --tiles-bg: #2a2118;
  --pick-thumb-bg: #f0e4d2;
  --pick-thumb-line: #d8c3a8;
  --about-border: #513a28;
  --about-copy: #decab4;
  --footer-line: rgba(255, 244, 228, .16);
  --footer-link: #e2d2be;
  --card-shadow: rgba(0, 0, 0, .25);
  --card-hover-shadow: rgba(0, 0, 0, .75);
  --shadow: 0 1px 0 rgba(255, 255, 255, .02), 0 20px 50px -42px rgba(0, 0, 0, .9);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.utility :focus-visible, .feature-shortlist :focus-visible, .footer :focus-visible { outline-color: var(--focus-on-dark); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 0 0 8px 8px;
  background: var(--forest); color: var(--on-primary); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 0; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  margin: 0 0 12px; color: var(--clay); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
h2 {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 3.9vw, 48px); line-height: 1.08; letter-spacing: -.035em;
}
.section-head { margin-bottom: 30px; }
.section-head p:not(.eyebrow) { max-width: 590px; margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.text-link {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px;
  color: var(--forest); font-weight: 700; text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.text-link svg { transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* Top strip and navigation */
.utility { background: var(--forest); color: var(--on-dark); font-size: 13px; line-height: 1.45; }
.utility-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 42px; padding: 8px 0;
}
.utility p { margin: 0; }
.utility a { color: var(--on-dark); text-underline-offset: 3px; }
.utility-updated { color: var(--on-dark-muted); white-space: nowrap; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--header-bg);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(14px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  min-height: 82px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  color: var(--forest); font-family: var(--font-brand); font-size: 25px;
  font-weight: 700; letter-spacing: -.025em; line-height: 1; text-decoration: none;
}
.brand svg { width: 30px; height: 30px; color: var(--forest); }
.brand .chai { color: var(--clay); }
.site-nav { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px;
  border-radius: 7px; color: var(--nav-ink); font-size: 15px; font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover { color: var(--forest); background: var(--sage); }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.search-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 17px; border: 1.5px solid var(--forest);
  border-radius: 999px; background: transparent; color: var(--forest);
  font-weight: 700; cursor: pointer;
}
.search-button:hover { background: var(--forest); color: var(--on-primary); }
.search-button svg { width: 18px; height: 18px; }
.mobile-search {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1.5px solid var(--forest);
  border-radius: 50%; background: transparent; color: var(--forest); cursor: pointer;
}

/* Theme picker */
.theme-picker { position: relative; flex: none; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink); font-size: 13px; font-weight: 700;
  cursor: pointer;
}
.theme-toggle:hover, .theme-toggle[aria-expanded="true"] { border-color: var(--forest); color: var(--forest); }
.theme-dots { display: inline-flex; gap: 2px; flex: none; }
.theme-dots i {
  display: block; width: 9px; height: 9px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
}
.theme-dots i:nth-child(1) { background: var(--forest); }
.theme-dots i:nth-child(2) { background: var(--clay); }
.theme-dots i:nth-child(3) { background: var(--gold); }
.theme-dots i:nth-child(4) { background: var(--sage); }
.theme-palette-icon { display: none; width: 19px; height: 19px; }
.theme-chevron { width: 13px; height: 13px; transition: transform .18s ease; }
.theme-toggle[aria-expanded="true"] .theme-chevron { transform: rotate(180deg); }
.theme-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 80;
  width: min(286px, calc(100vw - 28px)); max-height: calc(100vh - 96px);
  overflow-y: auto; padding: 11px; border: 1px solid var(--line);
  border-radius: 16px; background: var(--white); color: var(--ink);
  box-shadow: 0 24px 64px -30px rgba(0, 0, 0, .45);
}
.theme-menu-title {
  margin: 2px 4px 9px; color: var(--muted); font-size: 11px; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase;
}
.theme-options { display: grid; gap: 4px; }
.theme-option {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) 18px; align-items: center;
  gap: 10px; width: 100%; min-height: 52px; padding: 7px 9px; border: 1px solid transparent;
  border-radius: 10px; background: transparent; text-align: left; cursor: pointer;
}
.theme-option:hover { background: var(--sage); }
.theme-option[aria-pressed="true"] { border-color: var(--forest); background: var(--sage); }
.theme-swatches {
  display: grid; grid-template-columns: repeat(2, 11px); grid-template-rows: repeat(2, 11px);
  gap: 2px; padding: 3px; border-radius: 7px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.theme-swatches i { display: block; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.theme-option[data-set-theme="classic"] .theme-swatches i:nth-child(1) { background: #183e2f; }
.theme-option[data-set-theme="classic"] .theme-swatches i:nth-child(2) { background: #e4ece5; }
.theme-option[data-set-theme="classic"] .theme-swatches i:nth-child(3) { background: #b84d35; }
.theme-option[data-set-theme="classic"] .theme-swatches i:nth-child(4) { background: #e0b354; }
.theme-option[data-set-theme="chai"] .theme-swatches i:nth-child(1) { background: #261711; }
.theme-option[data-set-theme="chai"] .theme-swatches i:nth-child(2) { background: #f5d4bc; }
.theme-option[data-set-theme="chai"] .theme-swatches i:nth-child(3) { background: #a63a18; }
.theme-option[data-set-theme="chai"] .theme-swatches i:nth-child(4) { background: #e4a334; }
.theme-option[data-set-theme="garden"] .theme-swatches i:nth-child(1) { background: #244532; }
.theme-option[data-set-theme="garden"] .theme-swatches i:nth-child(2) { background: #dde8d5; }
.theme-option[data-set-theme="garden"] .theme-swatches i:nth-child(3) { background: #a54b2d; }
.theme-option[data-set-theme="garden"] .theme-swatches i:nth-child(4) { background: #e8be53; }
.theme-option[data-set-theme="dusk"] .theme-swatches i:nth-child(1) { background: #2f4858; }
.theme-option[data-set-theme="dusk"] .theme-swatches i:nth-child(2) { background: #dce4e6; }
.theme-option[data-set-theme="dusk"] .theme-swatches i:nth-child(3) { background: #9c3d53; }
.theme-option[data-set-theme="dusk"] .theme-swatches i:nth-child(4) { background: #edc27a; }
.theme-option[data-set-theme="noir"] .theme-swatches i:nth-child(1) { background: #14100c; }
.theme-option[data-set-theme="noir"] .theme-swatches i:nth-child(2) { background: #dfad68; }
.theme-option[data-set-theme="noir"] .theme-swatches i:nth-child(3) { background: #d97a51; }
.theme-option[data-set-theme="noir"] .theme-swatches i:nth-child(4) { background: #f6ecdf; }
.theme-option-text { min-width: 0; }
.theme-option-text strong { display: block; font-size: 13.5px; line-height: 1.25; }
.theme-option-text small { display: block; margin-top: 1px; color: var(--muted); font-size: 11.5px; line-height: 1.3; }
.theme-check { width: 16px; height: 16px; color: var(--forest); opacity: 0; }
.theme-option[aria-pressed="true"] .theme-check { opacity: 1; }
.theme-note { margin: 8px 5px 2px; color: var(--muted); font-size: 11px; line-height: 1.4; }

/* Hero */
.hero { padding: 62px 0 56px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  gap: clamp(40px, 7vw, 92px); align-items: center;
}
.hero h1 {
  max-width: 680px; margin: 0; color: var(--forest);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(46px, 6.4vw, 82px); line-height: .99; letter-spacing: -.055em;
}
.hero h1 em { color: var(--clay); font-style: normal; }
.hero-lede {
  max-width: 570px; margin: 22px 0 27px; color: var(--hero-copy);
  font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55;
}
.search-form { max-width: 580px; }
.search-box {
  display: flex; align-items: center; gap: 8px; padding: 6px;
  border-radius: 12px; border: 1.5px solid var(--forest); background: var(--white);
  box-shadow: 0 16px 35px -30px var(--search-shadow);
}
.search-box > svg { width: 21px; height: 21px; color: var(--muted); margin-left: 10px; flex: none; }
.search-box:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.search-box input {
  width: 100%; min-width: 0; min-height: 48px; padding: 0 2px;
  border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 17px;
}
.search-box input::placeholder { color: var(--placeholder); opacity: 1; }
.search-submit {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 48px; padding: 0 20px; border: 0; border-radius: 8px;
  background: var(--forest); color: var(--on-primary); font-weight: 700; cursor: pointer;
}
.search-submit:hover { background: var(--forest-deep); }
.popular-needs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 15px 0 0; color: var(--muted); font-size: 14px;
}
.popular-needs > span { font-weight: 600; }
.need-chip {
  min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong);
  border-radius: 999px; background: transparent; color: var(--nav-ink);
  font-size: 14px; cursor: pointer;
}
.need-chip:hover { border-color: var(--forest); background: var(--sage); color: var(--forest); }

.feature-shortlist {
  position: relative; overflow: hidden; min-height: 460px;
  padding: clamp(24px, 3.2vw, 34px); border-radius: 20px;
  background: var(--forest); color: var(--on-dark); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.feature-shortlist::after {
  content: ""; position: absolute; width: 270px; height: 270px;
  right: -145px; top: 85px; border: 1px solid var(--feature-ornament); border-radius: 50%;
  box-shadow: 0 0 0 36px var(--feature-ornament), 0 0 0 72px var(--feature-ornament);
  pointer-events: none;
}
.feature-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.feature-meta { margin: 0; color: var(--on-dark-muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.feature-number { font-family: var(--font-display); font-size: 14px; color: var(--gold); letter-spacing: .03em; }
.feature-shortlist h2 {
  position: relative; margin: 20px 0 8px; color: var(--on-dark);
  font-size: clamp(34px, 4vw, 47px); letter-spacing: -.04em;
}
.feature-desc { position: relative; margin: 0 0 22px; max-width: 390px; color: var(--on-dark-muted); font-size: 15px; line-height: 1.55; }
.feature-books {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: auto 0 21px;
}
.feature-book {
  padding: 10px 10px 0; border-radius: 9px 9px 4px 4px; background: var(--feature-book-bg);
  box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .55);
  transform: rotate(-1deg);
}
.feature-book:nth-child(2) { transform: rotate(1.2deg); }
.feature-book img { width: 100%; height: 180px; object-fit: contain; mix-blend-mode: multiply; }
.feature-book span {
  display: block; padding: 9px 2px 10px; color: var(--feature-book-ink); font-size: 11.5px;
  font-weight: 600; line-height: 1.32; border-top: 1px solid var(--feature-book-line);
}
.feature-link {
  position: relative; display: inline-flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 50px; padding: 0 16px; border: 1px solid var(--feature-line);
  border-radius: 8px; color: var(--on-dark); font-size: 14px; font-weight: 700;
  text-decoration: none; align-self: flex-start; min-width: 215px;
}
.feature-link:hover { background: rgba(255, 255, 255, .1); border-color: var(--on-dark); }
.feature-link span { font-size: 19px; font-weight: 400; }

/* Shortlist directory */
.directory { padding: 54px 0 58px; border-top: 1px solid var(--line); }
.directory-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 28px;
  margin-bottom: 24px;
}
.directory-head p:not(.eyebrow) { max-width: 470px; margin: 0 0 4px; color: var(--muted); font-size: 16px; }
.shortlist-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.shortlist-card {
  display: flex; flex-direction: column; min-width: 0; padding: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  color: var(--ink); text-align: left; cursor: pointer;
  box-shadow: 0 1px 0 var(--card-shadow);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.shortlist-card:hover { transform: translateY(-3px); border-color: var(--shortlist-hover-line); box-shadow: 0 16px 30px -27px var(--card-hover-shadow); }
.shortlist-card[aria-pressed="true"] { border-color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.shortlist-images {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 11px;
  background: var(--tiles-bg); min-height: 128px;
}
.shortlist-images img {
  width: 100%; height: 106px; object-fit: contain; align-self: center;
  padding: 5px; border-radius: 6px; background: var(--white); mix-blend-mode: multiply;
}
.shortlist-copy { display: flex; flex-direction: column; flex: 1; padding: 15px 15px 16px; }
.shortlist-label {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: 0 0 8px; color: var(--clay); font-size: 11.5px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
}
.shortlist-label span:last-child { color: var(--muted); letter-spacing: 0; font-weight: 500; text-transform: none; font-size: 12px; }
.shortlist-card-title {
  display: block; margin: 0 0 7px; font-family: var(--font-display); font-size: 23px;
  font-weight: 600; line-height: 1.13; letter-spacing: -.025em;
}
.shortlist-card-desc { display: block; margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.47; }
.shortlist-action {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line);
  color: var(--forest); font-size: 13px; font-weight: 700;
}
.shortlist-action span { font-size: 18px; font-weight: 400; transition: transform .18s ease; }
.shortlist-card:hover .shortlist-action span { transform: translateX(3px); }

/* Filtered picks */
.picks { padding: 52px 0 62px; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.picks-head {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: end;
  margin-bottom: 22px;
}
.picks-head p:not(.eyebrow) { max-width: 470px; margin: 12px 0 0; color: var(--muted); font-size: 16px; }
.picks-meta {
  display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap;
  gap: 10px 16px; min-height: 44px;
}
.picks-count { color: var(--muted); font-size: 14px; }
.picks-count strong { color: var(--ink); font-weight: 600; }
.reset-picks {
  display: none; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent;
  color: var(--forest); font-size: 13px; font-weight: 600; cursor: pointer;
}
.reset-picks.is-visible { display: inline-flex; }
.picks-list { border-top: 1px solid var(--line-strong); }
.pick-row {
  display: grid; grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 22px; align-items: center; padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.pick-thumb {
  position: relative; display: block; width: 108px; height: 108px;
  padding: 5px; border: 0; border-radius: 12px; background: #fff;
  box-shadow: 0 0 0 1px rgba(20, 16, 12, .07), 0 14px 26px -22px rgba(20, 16, 12, .6);
  cursor: zoom-in; appearance: none; -webkit-appearance: none;
  transition: transform .3s ease, box-shadow .3s ease;
}
.pick-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(20, 16, 12, .08), 0 20px 30px -22px rgba(20, 16, 12, .65);
}
.pick-thumb.is-tilting { transition: box-shadow .3s ease; }
.pick-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.pick-thumb::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  background: radial-gradient(70px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 191, 123, .32), transparent 72%);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.pick-thumb:hover::before, .pick-thumb:focus-visible::before { opacity: 1; }
.pick-thumb-hint {
  position: absolute; right: 6px; bottom: 6px; z-index: 2;
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(20, 16, 12, .86); color: #fff;
  opacity: 0; transform: translateY(3px);
  transition: opacity .2s ease, transform .2s ease;
}
.pick-thumb-hint svg { width: 14px; height: 14px; }
.pick-thumb:hover .pick-thumb-hint, .pick-thumb:focus-visible .pick-thumb-hint { opacity: 1; transform: none; }
@media (hover: none) {
  .pick-thumb::before { display: none; }
  .pick-thumb-hint { opacity: .94; transform: none; }
}
.pick-kicker {
  display: flex; align-items: center; flex-wrap: wrap; gap: 7px;
  margin: 0 0 5px; color: var(--muted); font-size: 12px; font-weight: 600;
}
.pick-kicker .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
.pick-title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: -.012em; }
.pick-why { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.pick-more {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px; margin-top: 5px; padding: 0;
  border: 0; background: none; color: var(--forest);
  font: inherit; font-size: 12.5px; font-weight: 700; letter-spacing: .01em;
  cursor: pointer;
}
.pick-more svg { width: 14px; height: 14px; flex: none; transition: transform .18s ease; }
.pick-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.pick-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.pick-details { grid-column: 1 / -1; margin: 2px 0 0; }
.pick-details-inner {
  display: grid; gap: 14px;
  padding: 17px 19px; border-left: 3px solid var(--forest); border-radius: 0 10px 10px 0;
  background: var(--white);
}
.pick-details-lede { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.6; }
.pick-facts { display: grid; gap: 11px; margin: 0; }
.pick-fact { display: grid; gap: 2px; }
.pick-fact dt {
  color: var(--muted); font-size: 10.5px; font-weight: 800;
  letter-spacing: .09em; line-height: 1.4; text-transform: uppercase;
}
.pick-fact dd { margin: 0; color: var(--ink); font-size: 13.5px; line-height: 1.5; }
@media (min-width: 661px) {
  .pick-details-inner { grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); gap: 22px 30px; align-items: start; }
}
.pick-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 150px; }
.pick-price { color: var(--ink); font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.amazon-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 0 13px; border: 1.5px solid var(--forest);
  border-radius: 7px; color: var(--forest); text-decoration: none;
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.amazon-link:hover { background: var(--forest); color: var(--on-primary); }
.amazon-link svg { width: 13px; height: 13px; }
.no-picks {
  display: none; padding: 30px 22px; text-align: center;
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.no-picks.is-visible { display: block; }
.no-picks h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 25px; }
.no-picks p { margin: 0 0 16px; color: var(--muted); }
.no-picks button {
  min-height: 44px; padding: 0 17px; border: 1.5px solid var(--forest);
  border-radius: 7px; background: transparent; color: var(--forest); font-weight: 700; cursor: pointer;
}
.picks-note { margin: 16px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.picks-note a { color: var(--forest); }

/* Product preview */
html.preview-open { overflow: hidden; }
.pick-preview {
  width: min(960px, calc(100vw - 40px));
  max-width: none; max-height: none;
  margin: auto; padding: 0; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 18px;
  background: var(--white); color: var(--ink);
  box-shadow: 0 40px 100px -32px rgba(0, 0, 0, .65);
  animation: preview-in .22s ease both;
}
.pick-preview::backdrop { background: rgba(10, 8, 6, .68); backdrop-filter: blur(3px); }
@keyframes preview-in {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }
}
.preview-shell {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  height: min(82dvh, 660px);
}
.preview-stage {
  display: flex; align-items: center; justify-content: center;
  min-height: 0; padding: 30px; overflow: hidden;
  background: #fff; border-right: 1px solid var(--line);
}
.preview-stage img { width: 100%; height: 100%; object-fit: contain; }
.preview-close {
  position: absolute; z-index: 3; top: 12px; right: 12px;
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%;
  background: rgba(18, 14, 10, .86); color: #fff; cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .55);
}
.preview-close svg { width: 18px; height: 18px; }
.preview-close:hover { background: #14100c; }
.preview-close:focus-visible { outline-color: var(--gold); }
.preview-body {
  display: flex; flex-direction: column; min-height: 0;
  padding: 34px 32px 26px; overflow-y: auto; overscroll-behavior: contain;
}
.preview-kicker {
  margin: 0 0 10px; color: var(--clay); font-size: 11.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
.preview-title {
  margin: 0; font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px);
  font-weight: 600; line-height: 1.14; letter-spacing: -.02em;
}
.preview-why { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.preview-buy {
  display: grid; gap: 12px; margin: 24px 0 0; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.preview-price {
  display: block; color: var(--ink); font-family: var(--font-display); font-size: 30px;
  font-weight: 600; line-height: 1; letter-spacing: -.02em;
}
.preview-price small {
  display: block; margin-top: 6px; color: var(--muted); font-family: var(--font-body);
  font-size: 11.5px; font-weight: 500; letter-spacing: 0;
}
.preview-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 16px; border: 1.5px solid var(--forest);
  border-radius: 8px; background: var(--forest); color: var(--on-primary);
  text-decoration: none; font-size: 14px; font-weight: 700;
}
.preview-link:hover { background: var(--forest-deep); border-color: var(--forest-deep); }
.preview-link svg { width: 14px; height: 14px; }
.preview-note { margin: 10px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.preview-social {
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--line);
}
.preview-social-label {
  margin: 0 0 10px; color: var(--muted); font-size: 10.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-link {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--white); color: var(--ink); text-decoration: none;
  transition: border-color .18s ease, background .18s ease;
}
.social-link:hover { border-color: var(--forest); background: var(--sage); }
.social-link svg { flex: none; width: 18px; height: 18px; color: var(--clay); }
.social-link span { display: flex; flex-direction: column; line-height: 1.2; }
.social-link small { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .02em; }
.social-link strong { color: var(--ink); font-size: 12.5px; font-weight: 700; }

/* How it works */
.how { padding: 60px 0 58px; }
.how-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(36px, 7vw, 96px); align-items: start; }
.how-copy p:not(.eyebrow) { max-width: 400px; margin: 17px 0 0; color: var(--muted); }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 4px; }
.rule { padding: 5px 25px 5px 0; }
.rule + .rule { border-left: 1px solid var(--line); padding-left: 25px; }
.rule-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 31px; height: 31px; border-radius: 50%; background: var(--sage);
  color: var(--forest); font-family: var(--font-display); font-size: 14px; font-weight: 600;
}
.rule h3 { margin: 15px 0 7px; font-size: 16px; line-height: 1.35; }
.rule p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* About */
.about { padding: 0 0 62px; }
.about-inner {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center;
  padding: 32px 36px; border-radius: 18px; background: var(--apricot);
  border: 1px solid var(--about-border);
}
.about .eyebrow { color: var(--about-eyebrow); }
.about-inner h2 { font-size: clamp(28px, 3.3vw, 40px); max-width: 430px; }
.about-copy p { margin: 0 0 15px; max-width: 610px; color: var(--about-copy); font-size: 15.5px; }
.about-copy p:last-of-type { margin-bottom: 0; }
.about-sign { margin-top: 16px; color: var(--forest); font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.about-more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  color: var(--forest); font-size: 14px; font-weight: 700; text-decoration: none;
}
.about-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.about-more span { font-size: 18px; font-weight: 400; }
.about-follow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--about-border);
}
.about-follow-label {
  flex-basis: 100%; margin: 0; color: var(--about-eyebrow);
  font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.about-follow .social-link { background: var(--white); }
.about-follow .social-link:hover { background: var(--sage); }

/* Footer */
.footer { background: var(--forest); color: var(--on-dark); padding: 44px 0 30px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.footer .brand { color: var(--on-dark); }
.footer .brand svg { color: var(--on-dark); }
.footer .brand .chai { color: var(--gold); }
.footer-brand p { max-width: 390px; margin: 14px 0 0; color: var(--on-dark-muted); font-size: 14px; }
.footer-brand p a { color: var(--on-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footer-brand p a:hover { color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 5px 22px; justify-content: flex-end; max-width: 470px; }
.footer-links a {
  display: inline-flex; align-items: center; min-height: 38px;
  color: var(--footer-link); font-size: 14px; font-weight: 600; text-decoration: none;
}
.footer-links a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 28px;
  margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--footer-line);
  color: var(--on-dark-muted); font-size: 12.5px; line-height: 1.55;
}
.footer-bottom p { margin: 0; max-width: 730px; }
.footer-bottom .credit { white-space: nowrap; }

@media (max-width: 1080px) {
  .shortlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shortlist-images img { height: 145px; }
  .site-nav a { padding: 0 10px; }
}
@media (max-width: 980px) {
  .site-nav { display: none; }
  .search-button { display: none; }
  .mobile-search { display: inline-flex; }
  .header-inner { min-height: 70px; gap: 16px; }
  .hero { padding: 42px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-shortlist { max-width: 650px; min-height: auto; }
  .feature-books { margin-top: 12px; }
  .feature-book img { height: 210px; }
  .directory-head { display: block; }
  .directory-head p:not(.eyebrow) { margin-top: 12px; }
  .picks-head, .how-grid, .about-inner { grid-template-columns: 1fr; }
  .picks-meta { justify-content: flex-start; }
  .rules { margin-top: 8px; }
  .about-inner { gap: 20px; }
}
@media (max-width: 760px) {
  .pick-preview { width: calc(100vw - 16px); border-radius: 14px; }
  .preview-shell {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 36dvh) minmax(0, 1fr);
    height: min(92dvh, 780px);
  }
  .preview-stage { padding: 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .preview-body { padding: 20px 20px 22px; }
  .preview-title { font-size: 25px; }
  .preview-close { top: 10px; right: 10px; width: 40px; height: 40px; }
  .preview-buy { margin-top: 16px; padding-top: 16px; }
  .preview-price { font-size: 26px; }
  .preview-social { padding-top: 18px; }
}
@media (max-width: 660px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 28px, 1180px); }
  .utility-inner { display: block; padding: 8px 0; }
  .utility p { font-size: 12px; }
  .utility-updated { display: none; }
  .brand { font-size: 23px; }
  .brand svg { width: 28px; height: 28px; }
  .header-actions { gap: 7px; }
  .theme-toggle { width: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
  .theme-toggle .theme-dots, .theme-toggle .theme-toggle-label, .theme-toggle .theme-chevron { display: none; }
  .theme-palette-icon { display: block; }
  .theme-menu { top: calc(100% + 8px); }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-lede { margin: 18px 0 22px; font-size: 17px; }
  .search-box > svg { display: none; }
  .search-box input { padding-left: 11px; font-size: 16px; min-height: 46px; }
  .search-submit { width: 48px; padding: 0; }
  .search-submit span { display: none; }
  .popular-needs { gap: 7px; }
  .popular-needs > span { width: 100%; }
  .feature-shortlist { padding: 22px; border-radius: 16px; }
  .feature-shortlist h2 { margin-top: 16px; }
  .feature-desc { margin-bottom: 18px; }
  .feature-book img { height: 168px; }
  .feature-book span { font-size: 10.5px; }
  .feature-link { width: 100%; min-width: 0; }
  .directory { padding: 38px 0 42px; }
  .shortlist-grid { grid-template-columns: 1fr; gap: 10px; }
  .shortlist-card { display: grid; grid-template-columns: 118px minmax(0, 1fr); }
  .shortlist-images { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr 1fr; gap: 4px; padding: 7px; min-height: 0; }
  .shortlist-images img { height: 53px; }
  .shortlist-images img:nth-child(3) { display: none; }
  .shortlist-copy { padding: 13px 13px 13px; }
  .shortlist-card-title { font-size: 20px; }
  .shortlist-card-desc { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .shortlist-action { margin-top: 10px; padding-top: 9px; }
  .picks { padding: 38px 0 44px; }
  .pick-row { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
  .pick-thumb { width: 88px; height: 88px; padding: 4px; border-radius: 10px; }
  .pick-thumb-hint { right: 5px; bottom: 5px; width: 24px; height: 24px; }
  .pick-thumb-hint svg { width: 13px; height: 13px; }
  .pick-buy {
    grid-column: 2 / -1; flex-direction: row; align-items: center; flex-wrap: wrap;
    justify-content: space-between; min-width: 0; gap: 8px 10px; margin-top: 1px;
  }
  .pick-price { font-size: 20px; }
  .pick-more { min-height: 44px; }
  .amazon-link { min-height: 44px; padding: 0 14px; }
  .rules { grid-template-columns: 1fr; }
  .rule { padding: 16px 0; border-top: 1px solid var(--line); }
  .rule + .rule { border-left: 0; padding-left: 0; }
  .rule:first-child { border-top: 0; }
  .how { padding: 42px 0 40px; }
  .about { padding-bottom: 44px; }
  .about-inner { padding: 24px 22px; }
  .footer-top { display: block; }
  .footer-links { justify-content: flex-start; margin-top: 20px; gap: 2px 18px; }
  .footer-bottom { display: block; margin-top: 22px; }
  .footer-bottom .credit { margin-top: 12px; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Noir theme surfaces */
[data-theme="noir"] .utility { background: #0c0906; }
[data-theme="noir"] .hero {
  background:
    radial-gradient(80% 95% at 82% 18%, rgba(232, 191, 123, .1), transparent 58%),
    linear-gradient(180deg, #211811 0%, #14100c 100%);
  border-bottom: 1px solid var(--line);
}
[data-theme="noir"] .hero h1 { color: var(--ink); }
[data-theme="noir"] .hero h1 em { color: var(--gold); }
[data-theme="noir"] .feature-shortlist {
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(232, 191, 123, .14), transparent 52%),
    linear-gradient(150deg, #6d3420 0%, #492316 100%);
  border: 1px solid #8a4c31;
}
[data-theme="noir"] .shortlist-images img {
  background: var(--pick-thumb-bg);
  mix-blend-mode: normal;
}
[data-theme="noir"] .shortlist-card[data-filter="kitchen"] .shortlist-images { background: #3b2417; }
[data-theme="noir"] .shortlist-card[data-filter="home"] .shortlist-images { background: #20313a; }
[data-theme="noir"] .shortlist-card[data-filter="family"] .shortlist-images { background: #34222b; }
[data-theme="noir"] .theme-dots i:nth-child(4) { background: var(--ink); }
[data-theme="noir"] .footer { background: #0e0a07; }

/* Legal, disclosure and utility pages */
.legal-hero {
  padding: 54px 0 34px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(70% 120% at 88% 0%, rgba(232, 191, 123, .08), transparent 60%),
    var(--paper);
}
.legal-hero h1 {
  max-width: 820px; margin: 0; color: var(--forest);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -.045em;
}
.legal-lede { max-width: 680px; margin: 18px 0 0; color: var(--hero-copy); font-size: 18px; line-height: 1.55; }
.legal-meta { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.legal-layout {
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(36px, 6vw, 72px);
  padding: 46px 0 70px;
}
.legal-aside { align-self: start; position: sticky; top: 108px; }
.legal-aside-card {
  padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white);
}
.legal-aside-card p { margin: 0 0 10px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.legal-aside-card nav { display: grid; gap: 2px; }
.legal-aside-card a {
  display: block; padding: 7px 0; color: var(--nav-ink); font-size: 14px;
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.legal-aside-card a:last-child { border-bottom: 0; }
.legal-aside-card a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.legal-back {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  color: var(--forest); font-size: 14px; font-weight: 700; text-underline-offset: 3px;
}
.legal-body { max-width: 760px; }
.legal-body h2 {
  margin: 38px 0 10px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(24px, 2.8vw, 32px); line-height: 1.15; letter-spacing: -.025em;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin: 24px 0 8px; font-size: 18px; line-height: 1.35; }
.legal-body p, .legal-body li { color: var(--hero-copy); }
.legal-body p { margin: 0 0 15px; }
.legal-body ul, .legal-body ol { margin: 0 0 17px; padding-left: 22px; }
.legal-body li { margin: 0 0 8px; }
.legal-body li::marker { color: var(--clay); }
.legal-body a { color: var(--forest); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.legal-body strong { color: var(--ink); }
.contact-card {
  display: flex; flex-direction: column; gap: 5px; margin: 4px 0 22px;
  padding: 20px 22px; border: 1px solid var(--line-strong); border-radius: 12px;
  background: var(--white);
}
.contact-card p { margin: 0; color: var(--muted); font-size: 13.5px; }
.contact-card a {
  color: var(--forest); font-family: var(--font-display); font-size: clamp(24px, 4vw, 34px);
  font-weight: 600; letter-spacing: -.02em; text-decoration: none; overflow-wrap: anywhere;
}
.contact-card a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-social {
  display: flex; flex-wrap: wrap; gap: 9px; margin: 12px 0 4px; padding: 0; list-style: none;
}
.contact-social a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; color: var(--forest);
  font-size: 14px; font-weight: 700; text-decoration: none;
}
.contact-social a:hover { background: var(--sage); border-color: var(--forest); }
.legal-note {
  margin: 22px 0 26px; padding: 18px 20px; border-left: 3px solid var(--clay);
  border-radius: 0 10px 10px 0; background: var(--clay-soft);
}
.legal-note p { margin: 0; }
.legal-note p + p { margin-top: 9px; }
.legal-body .legal-small { color: var(--muted); font-size: 13.5px; }
.legal-footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal-footer-links a { color: var(--forest); font-size: 14px; font-weight: 700; }

/* 404 */
.error-page { padding: 76px 0 90px; }
.error-page .wrap { max-width: 760px; }
.error-code {
  margin: 0 0 12px; color: var(--clay); font-family: var(--font-display);
  font-size: 15px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.error-page h1 { margin: 0; color: var(--forest); font-family: var(--font-display); font-size: clamp(42px, 7vw, 76px); line-height: 1; letter-spacing: -.05em; }
.error-page p { max-width: 540px; margin: 20px 0 26px; color: var(--hero-copy); font-size: 18px; }
.error-links { display: flex; flex-wrap: wrap; gap: 10px; }
.error-links a {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 17px;
  border: 1.5px solid var(--forest); border-radius: 8px; color: var(--forest);
  font-size: 14px; font-weight: 700; text-decoration: none;
}
.error-links a:first-child { background: var(--forest); color: var(--on-primary); }
.error-links a:hover { background: var(--forest); color: var(--on-primary); }

@media (max-width: 980px) {
  .legal-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 34px; }
  .legal-aside { position: static; }
  .legal-aside-card nav { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}
@media (max-width: 660px) {
  .legal-hero { padding: 38px 0 26px; }
  .legal-lede { font-size: 16.5px; }
  .legal-layout { padding-bottom: 48px; }
  .legal-body h2 { margin-top: 30px; }
  .legal-aside-card nav { grid-template-columns: 1fr; }
  .error-page { padding: 52px 0 64px; }
  .error-page p { font-size: 16.5px; }
}

section[id], .legal-body h2 { scroll-margin-top: 96px; }
.legal-body code {
  padding: 2px 6px; border-radius: 5px; background: var(--sage); color: var(--ink);
  font-size: .88em; overflow-wrap: anywhere;
}
