@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Mono:wght@300;400&display=swap");

:root {
  --navy: #0a1628;
  --navy-deep: #07101f;
  --navy-mid: #0d2244;
  --silver: #a8b4c4;
  --silver-light: #d8dee7;
  --paper: #f5f2ec;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --line: rgba(201, 168, 76, 0.18);
  --soft-line: rgba(245, 242, 236, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--paper);
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}
.wrap { width: min(calc(100% - 48px), 1080px); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(calc(100% - 48px), 1180px);
  min-height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 58px; height: 58px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy b {
  color: var(--paper);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.brand-copy small {
  margin-top: 7px;
  color: var(--silver);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a, .mobile-nav a {
  color: var(--silver);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--gold-light); }
.desktop-nav .nav-button {
  padding: 9px 16px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
}
.mobile-nav { display: none; position: relative; }
.mobile-nav summary {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(245, 242, 236, .24);
  cursor: pointer;
  list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { width: 20px; height: 1px; background: var(--paper); }
.mobile-nav nav {
  position: absolute;
  top: 54px;
  right: 0;
  width: min(270px, calc(100vw - 30px));
  display: grid;
  padding: 9px;
  background: rgba(7, 16, 31, .99);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .35);
}
.mobile-nav nav a { padding: 13px; border-bottom: 1px solid var(--soft-line); }
.mobile-nav nav a:last-child { border-bottom: 0; }

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 76px;
  background:
    radial-gradient(circle at 82% 8%, rgba(168, 180, 196, .13), transparent 31%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-bottom: 1px solid var(--line);
}
.legal-hero::after {
  content: "KTMB";
  position: absolute;
  right: -25px;
  bottom: -76px;
  color: rgba(245, 242, 236, .025);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(160px, 25vw, 330px);
  font-weight: 600;
  letter-spacing: .05em;
  line-height: .8;
  pointer-events: none;
}
.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: var(--gold-light);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.legal-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(56px, 8vw, 92px);
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: .95;
}
.legal-hero h1 em { color: var(--silver-light); font-weight: 300; }
.hero-summary {
  position: relative;
  z-index: 1;
  max-width: 710px;
  margin: 28px 0 0;
  color: var(--silver-light);
  font-size: 20px;
  line-height: 1.65;
}
.updated {
  position: relative;
  z-index: 1;
  margin: 28px 0 0;
  color: var(--silver);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 78px;
  align-items: start;
  padding-block: 82px 104px;
}
.legal-index {
  position: sticky;
  top: 110px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}
.legal-index b {
  display: block;
  margin-bottom: 15px;
  color: var(--gold-light);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.legal-index a {
  display: block;
  padding: 9px 0;
  color: var(--silver);
  border-bottom: 1px solid rgba(245, 242, 236, .07);
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
}
.legal-index a:last-child { border-bottom: 0; }
.legal-index a:hover { color: var(--paper); }
.legal-content { min-width: 0; }
.legal-content section { scroll-margin-top: 115px; padding: 0 0 52px; }
.legal-content section + section { padding-top: 52px; border-top: 1px solid var(--soft-line); }
.legal-content h2 {
  margin: 0 0 20px;
  color: var(--paper);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.05;
}
.legal-content h3 {
  margin: 28px 0 10px;
  color: var(--silver-light);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .05em;
}
.legal-content p { margin: 0 0 18px; color: var(--silver-light); }
.legal-content ul { margin: 18px 0 0; padding: 0; list-style: none; }
.legal-content li {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 26px;
  color: var(--silver-light);
  border-top: 1px solid rgba(245, 242, 236, .07);
}
.legal-content li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.legal-content strong { color: var(--paper); font-weight: 600; }
.legal-content a {
  color: var(--paper);
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}
.highlight {
  margin: 28px 0 0;
  padding: 24px 26px;
  background: rgba(168, 180, 196, .08);
  border: 1px solid rgba(168, 180, 196, .24);
  border-left: 3px solid var(--gold);
}
.highlight p:last-child { margin-bottom: 0; }
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 24px;
  background: var(--line);
  border: 1px solid var(--line);
}
.contact-panel div { padding: 22px; background: rgba(255, 255, 255, .03); }
.contact-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.contact-panel a { font-size: 19px; }

.footer { padding: 60px 0 22px; background: var(--navy-deep); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .85fr; gap: 64px; }
.footer-brand { color: var(--paper); font-size: 19px; font-weight: 600; letter-spacing: .2em; }
.footer p { margin: 10px 0 0; color: var(--silver); font-size: 15px; line-height: 1.6; }
.footer b {
  color: var(--gold);
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer a { color: var(--silver-light); text-decoration: none; }
.footer a:hover { color: var(--gold-light); }
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 44px;
  padding-top: 18px;
  color: #6f7d90;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 11px;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.legal-links a { color: #8390a2; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .legal-layout { grid-template-columns: 1fr; gap: 44px; }
  .legal-index { position: static; columns: 2; }
  .legal-index b { column-span: all; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  .wrap, .header-inner { width: min(calc(100% - 30px), 1080px); }
  .header-inner { min-height: 76px; }
  .brand-logo { width: 52px; height: 52px; }
  .brand-copy small { display: none; }
  .legal-hero { padding: 72px 0 56px; }
  .legal-hero h1 { font-size: 52px; }
  .hero-summary { font-size: 18px; }
  .legal-layout { padding-block: 54px 76px; }
  .legal-index { columns: 1; }
  .legal-content section { padding-bottom: 40px; }
  .legal-content section + section { padding-top: 40px; }
  .contact-panel, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 28px; }
  .footer-legal { flex-direction: column; gap: 12px; }
}

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