@font-face {
  font-family: "Satoshi";
  src: url("./assets/Satoshi-Regular.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("./assets/Satoshi-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "PP Mori";
  src: url("./assets/PPMori-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ocean: #142b3a;
  --deep-ocean: #0c1a24;
  --lime: #c6f456;
  --cream: #f5f3e5;
  --canvas: #f3f4f6;
  --muted: #66717c;
  --border: rgba(20, 43, 58, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ocean);
  font-family: "Satoshi", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.legal-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1040px) / 2));
  background: var(--deep-ocean);
  color: var(--cream);
}
.legal-brand { width: 82px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(245,243,229,.76);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.back-link:hover { color: var(--lime); }

.legal-shell {
  width: min(1040px, calc(100% - 40px));
  margin: 48px auto 72px;
}
.legal-hero {
  padding: 46px 50px;
  border-radius: 30px;
  background: var(--ocean);
  color: var(--cream);
}
.eyebrow {
  margin: 0;
  color: var(--lime);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}
h1, h2 { font-family: "PP Mori", "Satoshi", sans-serif; }
h1 { margin: 14px 0 12px; font-size: clamp(38px, 5vw, 62px); line-height: 1; letter-spacing: -.035em; }
.legal-meta { margin: 0; color: rgba(245,243,229,.64); font-size: 13px; }

.legal-content {
  margin-top: 20px;
  padding: 44px 50px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: #fff;
}
.legal-content section { padding: 8px 0 26px; border-bottom: 1px solid var(--border); }
.legal-content section:last-child { border-bottom: 0; padding-bottom: 0; }
.legal-content h2 { margin: 18px 0 12px; font-size: 24px; letter-spacing: -.02em; }
.legal-content h3 { margin: 20px 0 8px; font-size: 17px; }
.legal-content p, .legal-content li { color: #4c5964; font-size: 15px; line-height: 1.72; }
.legal-content p { margin: 0 0 12px; }
.legal-content ul { margin: 8px 0 14px; padding-left: 22px; }
.legal-content li + li { margin-top: 7px; }
.legal-content a { color: #315e1d; font-weight: 700; }
.contact-card { margin-top: 18px; padding: 20px; border-radius: 18px; background: #eef8d8; }
.contact-card p:last-child { margin-bottom: 0; }

.legal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px max(24px, calc((100vw - 1040px) / 2));
  background: var(--deep-ocean);
  color: rgba(245,243,229,.58);
  font-size: 12px;
}
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.legal-footer a { color: var(--cream); text-decoration: none; }
.legal-footer a:hover { color: var(--lime); }

@media (max-width: 680px) {
  .legal-header { min-height: 68px; }
  .legal-shell { width: min(100% - 24px, 1040px); margin-top: 18px; }
  .legal-hero, .legal-content { padding: 30px 24px; border-radius: 24px; }
  .legal-content h2 { font-size: 21px; }
  .legal-content p, .legal-content li { font-size: 14px; }
  .legal-footer { align-items: flex-start; flex-direction: column; }
}

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