:root {
  color-scheme: light;
  --ink: #22231f;
  --muted: #62645d;
  --paper: #fbfaf7;
  --card: #ffffff;
  --line: #e8e3d9;
  --gold: #b8893b;
  --gold-dark: #79571e;
  --green: #28483d;
  --green-soft: #edf3ef;
  --warning: #fff6e6;
  --warning-line: #ead5a8;
  --shadow: 0 18px 55px rgba(45, 39, 26, .08);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
a { color: var(--gold-dark); text-underline-offset: 3px; }
a:hover { color: var(--green); }
a:focus-visible, summary:focus-visible { outline: 3px solid #d1a652; outline-offset: 4px; border-radius: 4px; }

.legal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(232, 227, 217, .9);
  background: rgba(251, 250, 247, .94);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #d5bb8a;
  border-radius: 50%;
  color: var(--gold-dark);
  font-family: Georgia, serif;
  font-size: 21px;
}
.brand-name { display: block; font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.brand-sub { display: block; margin-top: 1px; color: var(--muted); font-size: 9px; letter-spacing: .19em; }
.legal-nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 30px); font-size: 13px; }
.legal-nav a { color: var(--ink); text-decoration: none; }
.legal-nav a:hover, .legal-nav a[aria-current="page"] { color: var(--gold-dark); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 9vw, 112px) 24px 64px;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(197, 161, 94, .2), transparent 36%),
    linear-gradient(135deg, #f4efe5, #fbfaf7 64%);
}
.hero::after {
  position: absolute;
  top: -135px;
  right: max(-40px, calc((100vw - 1300px) / 2));
  width: 420px;
  height: 420px;
  border: 1px solid rgba(184, 137, 59, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(184, 137, 59, .035), 0 0 0 110px rgba(184, 137, 59, .025);
  content: "";
  pointer-events: none;
}
.hero-inner, .page-layout, .legal-footer-inner { position: relative; width: min(1180px, 100%); margin: 0 auto; }
.eyebrow { margin: 0 0 15px; color: var(--gold-dark); font-size: 11px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.hero h1 { max-width: 800px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 7vw, 76px); font-weight: 500; letter-spacing: -.045em; line-height: 1.04; }
.hero-copy { max-width: 720px; margin: 22px 0 0; color: #54564f; font-size: clamp(16px, 2vw, 19px); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 27px; color: var(--muted); font-size: 12px; }
.hero-meta span::before { display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--gold); content: ""; }

.page-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 54px; padding: 52px 24px 90px; }
.toc { position: sticky; top: 100px; align-self: start; padding: 20px 0; }
.toc-title { margin: 0 0 12px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.toc nav { display: grid; gap: 3px; }
.toc a { padding: 7px 10px; border-left: 2px solid transparent; color: #585a54; font-size: 12px; line-height: 1.35; text-decoration: none; }
.toc a:hover { border-left-color: var(--gold); color: var(--ink); }
.content { min-width: 0; }
.notice {
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid var(--warning-line);
  border-radius: 14px;
  background: var(--warning);
  color: #574620;
  font-size: 13px;
}
.notice strong { display: block; margin-bottom: 4px; color: #493711; }
.intro-card, .legal-section, .contact-card {
  margin: 0 0 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 8px 28px rgba(45, 39, 26, .035);
}
.intro-card { border-color: #dce6df; background: linear-gradient(135deg, #f2f6f2, #fff 72%); }
.intro-card h2, .legal-section h2, .contact-card h2 { margin: 0 0 13px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(23px, 3.3vw, 32px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; }
.legal-section h3 { margin: 24px 0 8px; font-size: 15px; }
.legal-section p, .intro-card p, .contact-card p { margin: 9px 0; color: #555750; font-size: 14px; }
.legal-section ul, .legal-section ol { margin: 10px 0 0; padding-left: 21px; color: #555750; font-size: 14px; }
.legal-section li + li { margin-top: 7px; }
.section-label { margin-bottom: 8px; color: var(--gold-dark); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.grid-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.mini-card { padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fdfcf9; }
.mini-card h3 { margin: 0 0 5px; font-size: 14px; }
.mini-card p { margin: 0; font-size: 12px; }
.detail-list { display: grid; grid-template-columns: minmax(130px, .7fr) 1.3fr; gap: 0; margin: 14px 0 0; border-top: 1px solid var(--line); }
.detail-list dt, .detail-list dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.detail-list dt { color: var(--muted); }
.detail-list dd { color: var(--ink); font-weight: 500; }
.table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; }
.data-table { width: 100%; min-width: 660px; border-collapse: collapse; background: #fff; font-size: 12px; }
.data-table caption { padding: 12px 14px; color: var(--muted); text-align: left; }
.data-table th, .data-table td { padding: 12px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { background: #f7f4ed; color: #4f5049; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.data-table td { color: #555750; }
.placeholder { color: #8a4b20; font-weight: 650; }
.callout { margin-top: 18px; padding: 16px 18px; border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; background: #f8f4eb; color: #5a5344; font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border: 1px solid var(--green); border-radius: 999px; background: var(--green); color: white; font-size: 12px; font-weight: 650; text-decoration: none; }
.button:hover { background: #1d382f; color: white; }
.button.secondary { border-color: var(--line); background: white; color: var(--ink); }
.button.secondary:hover { border-color: var(--gold); color: var(--gold-dark); }
.legal-section details { padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal-section details:last-child { border-bottom: 0; }
.legal-section summary { cursor: pointer; color: var(--ink); font-size: 14px; font-weight: 650; }
.legal-section details p { margin: 8px 0 2px; }
.contact-card { border-color: #dce6df; background: var(--green-soft); }
.contact-card .detail-list { border-color: #d8e3db; }
.contact-card .detail-list dt, .contact-card .detail-list dd { border-color: #d8e3db; }
.legal-footer { padding: 29px 24px; border-top: 1px solid var(--line); background: #f4f1eb; }
.legal-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: #53554f; }
.back-top { font-size: 12px; }
.disclaimer { color: #777970; font-size: 11px; }

@media (max-width: 800px) {
  .page-layout { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; }
  .toc { position: static; padding: 0; }
  .toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc a { border-left: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .legal-header { padding-right: 18px; padding-left: 18px; }
}
@media (max-width: 520px) {
  .brand-sub { display: none; }
  .legal-nav { gap: 11px; font-size: 11px; }
  .legal-header { min-height: 64px; gap: 10px; }
  .hero { padding-right: 20px; padding-left: 20px; }
  .page-layout { padding-right: 16px; padding-left: 16px; }
  .grid-cards { grid-template-columns: 1fr; }
  .detail-list { grid-template-columns: 1fr; }
  .detail-list dt { padding-bottom: 1px; border-bottom: 0; }
  .detail-list dd { padding-top: 1px; }
  .legal-footer { padding-right: 16px; padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
@media print {
  .legal-header, .toc, .actions, .back-top { display: none !important; }
  .hero { padding: 24px 0; background: white; }
  .page-layout { display: block; padding: 20px 0; }
  .intro-card, .legal-section, .contact-card { break-inside: avoid; box-shadow: none; }
  body { background: white; font-size: 11pt; }
}
