:root {
  --ink: #102b3f;
  --ink-2: #173f51;
  --paper: #f8f4e8;
  --white: #fffdf7;
  --teal: #1e786d;
  --teal-soft: #d8ebe4;
  --coral: #ff7657;
  --line: rgba(16, 43, 63, .15);
  --muted: #60727d;
  --shadow: 0 24px 70px rgba(16, 43, 63, .12);
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(255, 118, 87, .55); outline-offset: 3px; }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 850;
  letter-spacing: -.06em;
  box-shadow: inset -4px -4px 0 rgba(255,255,255,.08);
}
.brand-word { font: 500 1.45rem/1 Georgia, "Times New Roman", serif; letter-spacing: -.03em; }
.back-link { color: var(--teal); font-size: .9rem; font-weight: 800; text-decoration: none; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.legal-hero { position: relative; overflow: hidden; padding: 70px 0 76px; background: var(--ink); color: white; }
.legal-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -145px;
  top: -230px;
  border: 74px solid rgba(255,255,255,.045);
  border-radius: 50%;
  pointer-events: none;
}
.eyebrow { margin: 0 0 16px; color: #91dbc6; font-size: .76rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.legal-hero h1 { max-width: 820px; margin: 0 0 22px; font: 500 clamp(3rem, 7vw, 5.3rem)/.98 Georgia, "Times New Roman", serif; letter-spacing: -.055em; }
.legal-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,.72); font-size: 1.05rem; line-height: 1.72; }
.effective { display: inline-flex; margin-top: 26px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.8); font-size: .82rem; font-weight: 750; }

.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 54px; align-items: start; padding: 64px 0 92px; }
.legal-nav { position: sticky; top: 24px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,247,.9); box-shadow: 0 12px 34px rgba(16,43,63,.06); }
.legal-nav strong { display: block; margin-bottom: 13px; font: 500 1.15rem Georgia, serif; }
.legal-nav a { display: block; padding: 8px 0; color: var(--muted); font-size: .86rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.legal-nav a:hover { color: var(--teal); }

.legal-copy { min-width: 0; }
.summary-card { margin-bottom: 28px; padding: 28px 30px; border-left: 5px solid var(--coral); border-radius: 0 18px 18px 0; background: var(--white); box-shadow: var(--shadow); }
.summary-card strong { display: block; margin-bottom: 8px; font: 500 1.4rem Georgia, serif; }
.summary-card p { margin: 0; }
.legal-copy section { padding: 34px 0; border-bottom: 1px solid var(--line); }
.legal-copy section:first-of-type { padding-top: 12px; }
.legal-copy h2 { margin: 0 0 16px; font: 500 clamp(1.85rem, 4vw, 2.5rem)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.legal-copy h3 { margin: 24px 0 10px; font-size: 1.05rem; }
.legal-copy p, .legal-copy li { color: #455d69; font-size: 1rem; line-height: 1.78; }
.legal-copy p { margin: 0 0 15px; }
.legal-copy ul, .legal-copy ol { margin: 12px 0 0; padding-left: 22px; }
.legal-copy li + li { margin-top: 8px; }
.legal-copy a { color: var(--teal); font-weight: 750; text-underline-offset: 3px; }
.notice { margin-top: 20px; padding: 20px; border: 1px solid rgba(30,120,109,.24); border-radius: 14px; background: var(--teal-soft); color: var(--ink); }
.notice p { color: var(--ink); }
.caps { font-size: .94rem !important; font-weight: 750; letter-spacing: .012em; }

.legal-footer { padding: 34px 0 48px; border-top: 1px solid var(--line); background: rgba(255,253,247,.55); }
.legal-footer-row { display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); font-size: .88rem; font-weight: 700; text-underline-offset: 3px; }
.legal-footer small { display: block; margin-top: 20px; color: var(--muted); line-height: 1.6; }

@media (max-width: 820px) {
  .legal-layout { grid-template-columns: 1fr; gap: 26px; padding-top: 36px; }
  .legal-nav { position: static; }
  .legal-nav div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
}

@media (max-width: 600px) {
  .shell { width: min(100% - 28px, 1160px); }
  .site-header { min-height: 70px; }
  .back-link { font-size: .82rem; }
  .legal-hero { padding: 52px 0 58px; }
  .legal-hero h1 { font-size: clamp(2.75rem, 15vw, 4rem); }
  .legal-nav div { grid-template-columns: 1fr; }
  .summary-card { padding: 24px; }
  .legal-copy section { padding: 29px 0; }
  .legal-footer-row { align-items: flex-start; flex-direction: column; }
}
