:root {
  --navy-950: #080c22;
  --navy-900: #0a0e27;
  --navy-800: #141b3f;
  --gold-500: #cda45e;
  --gold-300: #f2d9a0;
  --paper: #f8f3e7;
  --paper-strong: #fffdf8;
  --ink: #17203e;
  --ink-soft: #4b5267;
  --rule: #d8c8a8;
  --focus: #ffe08a;
  --content: 780px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--navy-950);
  color-scheme: dark;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 50% -20%, rgba(205, 164, 94, 0.16), transparent 38rem),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--navy-950);
  background: var(--focus);
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid rgba(205, 164, 94, 0.34);
  background: rgba(8, 12, 34, 0.86);
}

.header-inner {
  width: min(1040px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--gold-300);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 18px;
  font-size: 14px;
}

.legal-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #f7edda;
  text-decoration-color: rgba(242, 217, 160, 0.55);
  text-underline-offset: 4px;
}

.legal-nav a[aria-current="page"] {
  color: var(--gold-300);
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.legal-page {
  width: min(var(--content), calc(100% - 32px));
  margin: 40px auto 64px;
  padding: clamp(28px, 6vw, 56px);
  color: var(--ink);
  background: var(--paper-strong);
  border-top: 5px solid var(--gold-500);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.eyebrow {
  margin: 0 0 8px;
  color: #8a6527;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  text-wrap: balance;
}

h1 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 7vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.lede {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.58;
}

.updated {
  margin: 18px 0 0;
  color: #73798a;
  font-size: 14px;
}

.legal-section {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.legal-section h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.2;
}

.legal-section p,
.legal-section ul,
.legal-section ol {
  margin-top: 0;
  margin-bottom: 16px;
}

.legal-section ul,
.legal-section ol {
  padding-left: 24px;
}

.legal-section li + li {
  margin-top: 9px;
}

.legal-section a,
.contact-link {
  color: #724d11;
  font-weight: 700;
  text-underline-offset: 3px;
}

.notice {
  margin: 28px 0 0;
  padding: 18px 20px;
  background: var(--paper);
  border-left: 4px solid var(--gold-500);
}

.notice p:last-child {
  margin-bottom: 0;
}

.legal-section .contact-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 12px 18px;
  color: #fff;
  background: #7c3232;
  border: 2px solid var(--gold-500);
  font-weight: 800;
  text-decoration: none;
}

.contact-action:hover {
  background: #692a2a;
}

.site-footer {
  padding: 32px 16px 40px;
  color: #d9dbe5;
  background: var(--navy-950);
  border-top: 1px solid rgba(205, 164, 94, 0.34);
  text-align: center;
}

.footer-inner {
  width: min(860px, 100%);
  margin: 0 auto;
}

.seller-name {
  margin: 0;
  color: var(--gold-300);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

.seller-details,
.disclaimer {
  margin: 10px auto 0;
  font-size: 13px;
  line-height: 1.65;
}

.footer-links {
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 13px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--gold-300);
  text-underline-offset: 4px;
}

.disclaimer {
  max-width: 700px;
  color: #aeb2c2;
}

@media (max-width: 760px) {
  .header-inner {
    padding: 18px 0 14px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .legal-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 12px;
  }

  .legal-nav a {
    justify-content: flex-start;
  }

  .legal-page {
    margin-top: 16px;
    margin-bottom: 32px;
    padding: 28px 22px 34px;
  }

  .lede {
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 16px;
    white-space: normal;
  }

  .legal-page {
    width: min(100% - 20px, var(--content));
    padding-inline: 18px;
  }

  .legal-section .contact-action {
    width: 100%;
  }
}

@media print {
  body {
    color: #111;
    background: #fff;
  }

  .site-header,
  .site-footer,
  .skip-link {
    display: none;
  }

  .legal-page {
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
  }
}
