:root {
  --paper: #f8f5f0;
  --paper-raised: #fffdf9;
  --linen: #eee7dd;
  --ink: #171411;
  --muted: #746d65;
  --moment: #ad4337;
  --moment-dark: #87352c;
  --line: #ddd4c8;
  --shadow: rgba(51, 35, 24, 0.08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(173, 67, 55, 0.055), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 16rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--moment);
  outline-offset: 4px;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(221, 212, 200, 0.88);
  background: rgba(248, 245, 240, 0.9);
  box-shadow: 0 16px 40px rgba(45, 31, 20, 0.035);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-symbol {
  position: relative;
  width: 43px;
  height: 35px;
  flex: 0 0 auto;
}

.brand-symbol span {
  position: absolute;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
}

.brand-symbol span:first-child {
  left: 0;
  top: 8px;
  width: 27px;
  height: 25px;
}

.brand-symbol span:last-child {
  right: 0;
  top: 0;
  width: 30px;
  height: 35px;
}

.brand-symbol::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--moment);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.025em;
}

.brand-tagline,
.nav-links,
.updated,
.eyebrow,
.footer-kicker {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.brand-tagline {
  color: var(--muted);
  font-size: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--muted);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--line);
  background: var(--paper-raised);
  color: var(--moment-dark);
}

.legal {
  width: min(820px, calc(100% - 48px));
  margin-inline: auto;
  padding: 88px 0 120px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--moment);
  font-size: 11px;
  font-weight: 700;
}

.legal h1,
.hub h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 66px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.updated {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.lede {
  max-width: 690px;
  margin: 36px 0 0;
  color: #4f4943;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.8vw, 25px);
  line-height: 1.55;
}

.summary-note {
  margin: 42px 0 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.72);
  padding: 22px 24px;
  box-shadow: 0 18px 44px var(--shadow);
  color: #4e4842;
  font-size: 14px;
}

.summary-note strong {
  color: var(--ink);
}

.legal section {
  scroll-margin-top: 105px;
}

.legal h2 {
  margin: 58px 0 0;
  padding-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.legal p,
.legal ul {
  color: #5d5650;
  font-size: 15px;
}

.legal p {
  margin: 16px 0 0;
}

.legal ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 23px;
}

.legal li::marker {
  color: var(--moment);
}

.legal strong {
  color: var(--ink);
}

.legal a,
.site-footer a {
  color: var(--moment-dark);
  text-decoration: underline;
  text-decoration-color: rgba(173, 67, 55, 0.35);
  text-underline-offset: 3px;
}

.legal a:hover,
.site-footer a:hover {
  text-decoration-color: currentColor;
}

.site-footer {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: rgba(238, 231, 221, 0.35);
}

.footer-inner {
  padding: 48px 0 28px;
}

.footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
}

.footer-copy {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
  font-size: 13px;
}

.footer-ghost {
  margin: 52px 0 -0.26em;
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(80px, 18vw, 210px);
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-align: center;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(116, 109, 101, 0.18);
  user-select: none;
}

.hub {
  min-height: calc(100vh - 77px);
  padding: 88px 0 110px;
}

.hub-intro {
  max-width: 730px;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 54px;
}

.hub-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper-raised);
  padding: 30px;
  box-shadow: 0 22px 60px var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hub-card:hover {
  transform: translateY(-3px);
  border-color: rgba(173, 67, 55, 0.45);
  box-shadow: 0 28px 70px rgba(51, 35, 24, 0.11);
}

.hub-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 500;
}

.hub-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hub-card .card-link {
  color: var(--moment-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 680px) {
  .wrap,
  .legal {
    width: min(100% - 32px, 820px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-symbol {
    transform: scale(0.86);
    transform-origin: left center;
    margin-right: -5px;
  }

  .brand-name {
    font-size: 23px;
  }

  .brand-tagline {
    display: none;
  }

  .nav-links {
    gap: 2px;
    font-size: 9px;
  }

  .nav-links a {
    padding: 8px 9px;
  }

  .legal,
  .hub {
    padding-top: 60px;
    padding-bottom: 86px;
  }

  .lede {
    margin-top: 28px;
  }

  .summary-note {
    margin-top: 34px;
    padding: 19px;
  }

  .legal h2 {
    margin-top: 46px;
    font-size: 25px;
  }

  .hub-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .hub-card {
    min-height: 220px;
  }

  .footer-row {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-ghost {
    font-size: 25vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
