:root {
  --bg: #f5f6fa;
  --panel: #ffffff;
  --ink: #1a1c2e;
  --muted: #6b6d80;
  --line: #e8e9ed;
  --sidebar: #252836;
  --sidebar-ink: #c4c6d0;
  --accent: #4bb46e;
  --accent-2: #3b82f6;
  --accent-3: #8b5cf6;
  --shadow: 0 12px 36px rgba(0,0,0,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: #3a3c4e;
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 272px 1fr;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
  background: var(--sidebar);
  color: var(--sidebar-ink);
  padding: 20px 0 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-decoration: none;
  color: #fff;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.brand span { font-weight: 600; font-size: .95rem; }
.nav-group { padding: 12px 0 0; }
.nav-label {
  padding: 6px 20px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .68rem;
  color: rgba(255,255,255,.3);
  font-weight: 600;
}
.nav-link,
.nav-section {
  display: block;
  text-decoration: none;
  padding: 7px 20px;
  color: #b0b2be;
  border-left: 3px solid transparent;
}
.nav-section {
  font-size: .86rem;
  font-weight: 600;
  color: #e0e1e9;
}
.nav-link:hover,
.nav-section:hover,
.nav-link.active,
.nav-section.active {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-left-color: var(--accent);
}
.nav-link {
  font-size: .8rem;
  padding-left: 50px;
}
.nav-footer {
  margin-top: 14px;
  padding: 12px 20px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.nav-footer a {
  display: block;
  text-decoration: none;
  color: #8e90a0;
  font-size: .8rem;
  padding: 4px 0;
}
.main { min-width: 0; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
}
.topbar h1 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--ink);
}
.topbar .date {
  color: var(--muted);
  font-size: .82rem;
}
.page {
  padding: 32px;
}
.hero {
  background: linear-gradient(135deg, rgba(75,180,110,.12), rgba(59,130,246,.08));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .73rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.hero h2,
.hero h3,
.hero h1 {
  margin: 0 0 12px;
  line-height: 1.15;
  color: var(--ink);
}
.hero h1 { font-size: clamp(2rem, 3.8vw, 3.6rem); }
.hero p { margin: 0; max-width: 74ch; color: #505264; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  background: rgba(75,180,110,.1);
  color: var(--accent);
  margin-bottom: 10px;
}
.card h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--ink); line-height: 1.25; }
.card p { margin: 0 0 16px; color: #5d6074; font-size: .92rem; }
.card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 16px;
}
.button.secondary {
  background: #edf2ff;
  color: #35559f;
}
.listing {
  display: grid;
  gap: 18px;
}
.article-row {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.article-row h3 { margin: 0 0 8px; font-size: 1.25rem; color: var(--ink); }
.article-row p { margin: 0 0 14px; color: #55586c; }
.article {
  max-width: 920px;
  margin: 0 auto;
}
.copy-guard,
.copy-guard * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.article-header {
  background: #fbfbfd;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.article-header h1 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  color: #12131d;
}
.article-header .deck {
  font-size: 1.05rem;
  color: #505264;
  margin-bottom: 18px;
}
.byline {
  font-size: .9rem;
  color: var(--muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.byline a { color: var(--accent-2); font-weight: 600; text-decoration: none; }
.cover {
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.cover img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.cover figcaption {
  padding: 10px 14px;
  font-size: .82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.article-body,
.article-notes {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.article-body p,
.article-body li,
.article-notes p,
.article-notes li {
  font-size: 1.02rem;
  color: #2f3140;
}
.article-body h1,
.article-body h2,
.article-body h3,
.article-notes h2,
.article-notes h3 {
  color: var(--ink);
  line-height: 1.2;
}
.article-body blockquote {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: #f7faf8;
  color: #24333d;
}
.article-notes { margin-top: 18px; }
.notes-list { display: grid; gap: 14px; }
.note-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fafbff;
}
.note-item strong { display: block; margin-bottom: 6px; color: var(--ink); }
.meta-strip {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 18px 0 0;
  font-size: .82rem;
  color: var(--muted);
}
.section-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.footer-bar {
  padding: 28px 32px 40px;
  color: var(--muted);
  font-size: .85rem;
}
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
  .topbar { position: static; }
  .page { padding: 20px; }
  .article-header, .article-body, .article-notes { padding: 20px; }
}
.card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: contain;
  object-position: center;
  border-bottom: 1px solid var(--line);
  background: #eef0f5;
}
.card-body .button {
  margin-top: auto;
  align-self: flex-start;
}
.book-cover img {
  max-height: none;
  object-fit: contain;
  background: #f3f4f8;
}
.chapter-list {
  margin: 0;
  padding-left: 1.25rem;
}
.chapter-list li + li {
  margin-top: .35rem;
}
.chapter-list a {
  color: var(--accent-2);
  text-decoration: none;
}
.chapter {
  padding-top: .5rem;
}
.chapter + .chapter {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.reading-resume {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
  padding: 18px 20px;
  background: #f6fbf7;
  border: 1px solid #d6ebdd;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.reading-resume[hidden] {
  display: none;
}
.reading-resume-copy {
  min-width: 0;
}
.reading-resume-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}
.reading-resume-copy span {
  color: #4f5d56;
  font-size: .94rem;
}
.reading-resume-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.reading-tools {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.reading-tools-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.reading-tool-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
  cursor: pointer;
}
.reading-tool-btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}
.reading-tool-btn[hidden] {
  display: none;
}
.reading-tools-status {
  max-width: 240px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(37,40,54,.92);
  color: #fff;
  font-size: .78rem;
  box-shadow: 0 10px 26px rgba(0,0,0,.14);
}
@media (max-width: 980px) {
  .reading-resume {
    flex-direction: column;
    align-items: flex-start;
  }
  .reading-tools {
    right: 14px;
    bottom: 14px;
    left: 14px;
    align-items: stretch;
  }
  .reading-tools-row {
    justify-content: stretch;
  }
  .reading-tool-btn {
    flex: 1 1 auto;
    text-align: center;
  }
  .reading-tools-status {
    max-width: none;
    text-align: center;
  }
}
.section-block {
  margin-top: 2rem;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 1rem;
}
.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
}

.hero-home p {
  font-size: 1.02rem;
}
.home-meta {
  margin-top: 16px;
}
.home-explainer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.explain-card,
.pillar {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.explain-card h2,
.pillar h2,
.home-section-header h2 {
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.15;
}
.explain-card p,
.pillar p,
.home-section-header p {
  margin: 0;
  color: #56596c;
}
.explain-list {
  margin: 0;
  padding-left: 18px;
  color: #56596c;
}
.explain-list li + li {
  margin-top: 10px;
}
.home-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.home-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.home-section-header > p {
  max-width: 56ch;
}
@media (max-width: 980px) {
  .home-explainer,
  .home-pillars,
  .home-section-header {
    grid-template-columns: 1fr;
    display: grid;
  }
}

.legal-hero {
  background: #fbfaf7;
  border: 1px solid #d7d0c2;
  border-top: 6px solid #1f2430;
  box-shadow: 0 10px 28px rgba(17, 24, 39, .06);
}
.legal-hero .kicker,
.legal-header .kicker,
.legal-card .mini-kicker {
  color: #776245;
}
.legal-hero h1,
.legal-card h2,
.legal-header h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}
.legal-hero p,
.legal-card p,
.legal-card li,
.legal-header p {
  color: #4f4a42;
}
.legal-grid,
.legal-columns {
  gap: 24px;
}
.legal-card {
  background: #fffdfa;
  border: 1px solid #ddd6c8;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .05);
}
.mini-kicker {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.legal-header {
  align-items: center;
  padding: 0 2px;
}
.legal-cards-grid .card {
  background: #fffdfa;
  border-color: #ddd6c8;
  box-shadow: 0 8px 24px rgba(17, 24, 39, .05);
}
.legal-cards-grid .card h3 {
  font-family: Georgia, "Times New Roman", serif;
}
.legal-cards-grid .button,
.legal-hero .button {
  background: #1f2430;
}
.legal-cards-grid .button.secondary,
.legal-hero .button.secondary {
  background: #efe9dd;
  color: #5a4630;
}
.home-page {
  max-width: 1280px;
  margin: 0 auto;
}
.luxury-home {
  background: transparent;
}
.hero-rule {
  width: 100%;
  height: 1px;
  background: #d8d0c2;
  margin: 8px 0 16px;
}
.luxury-hero {
  background: #fbf8f2;
  border: 1px solid #d9cfbe;
  border-top: 4px solid #1f2430;
  box-shadow: none;
  padding: 30px 32px 26px;
}
.luxury-hero h1 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  color: #201d1a;
  max-width: 14ch;
}
.hero-subhead {
  font-size: .8rem;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #615548;
  margin-bottom: 14px;
}
.luxury-hero p {
  max-width: 60ch;
  color: #4f473d;
  font-size: .98rem;
}
.luxury-hero .button {
  background: #1f2430;
  border-radius: 999px;
  padding: 9px 15px;
  font-size: .88rem;
}
.luxury-hero .button.secondary {
  background: transparent;
  border: 1px solid #cdbfa9;
  color: #5f4d39;
}
.luxury-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.intro-block {
  background: #fcfaf6;
  border: 1px solid #ddd2c2;
  border-radius: 14px;
  padding: 18px 18px 16px;
}
.intro-block p {
  margin: 0;
  color: #534c42;
  font-size: .94rem;
}
.luxury-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.luxury-column {
  background: #fffdfa;
  border: 1px solid #ddd2c2;
  border-radius: 14px;
  padding: 18px 20px;
}
.luxury-column h2,
.luxury-entry h3 {
  font-family: Georgia, "Times New Roman", serif;
}
.luxury-column h2 {
  margin: 6px 0 8px;
  font-size: 1.5rem;
  line-height: 1.1;
  color: #201d1a;
}
.luxury-column p,
.luxury-column li {
  color: #534c42;
  font-size: .95rem;
}
.luxury-header {
  align-items: start;
  margin-bottom: 14px;
  padding: 2px 2px 0;
}
.luxury-header h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.08;
  margin: 8px 0 0;
  color: #201d1a;
}
.luxury-header p {
  max-width: 46ch;
  color: #5a5147;
  font-size: .94rem;
}
.luxury-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.luxury-entry {
  padding: 20px 22px 22px;
  border: 1px solid #ddd2c2;
  border-radius: 14px;
  background: #fffdfa;
}
.luxury-entry.featured {
  grid-column: span 2;
}
.luxury-entry.featured h3 {
  font-size: 1.55rem;
}
.luxury-entry-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.luxury-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #8b7658;
  margin-bottom: 8px;
}
.luxury-entry h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.14;
}
.luxury-entry h3 a {
  color: #201d1a;
  text-decoration: none;
}
.luxury-stats {
  display: grid;
  gap: 4px;
  justify-items: end;
  color: #6f6559;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.luxury-description,
.luxury-latest {
  margin: 12px 0 0;
  color: #534c42;
  font-size: .94rem;
}
.luxury-latest span {
  display: inline-block;
  margin-right: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8b7658;
}
.luxury-link {
  margin: 16px 0 0;
}
.luxury-link a {
  color: #201d1a;
  text-decoration: none;
  font-weight: 700;
}
.luxury-link a:hover,
.luxury-entry h3 a:hover {
  text-decoration: underline;
}
@media (max-width: 980px) {
  .luxury-intro,
  .luxury-columns,
  .luxury-index {
    grid-template-columns: 1fr;
  }
  .luxury-entry.featured {
    grid-column: auto;
  }
  .luxury-entry-top {
    flex-direction: column;
  }
  .luxury-stats {
    justify-items: start;
  }
  .luxury-hero {
    padding: 24px 22px 22px;
  }
  .luxury-hero h1 {
    max-width: none;
    font-size: clamp(1.8rem, 7.2vw, 2.45rem);
  }
}
