@font-face {
  font-family: "Monoglyphic";
  src: url("assets/fonts/Monoglyphic-VF.otf") format("opentype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "JUST Sans";
  src: url("assets/fonts/JUST-Sans-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "JUST Sans";
  src: url("assets/fonts/JUST-Sans-ExBold.otf") format("opentype");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

@font-face {
  font-family: "Gelato Typewriter";
  src: url("assets/fonts/GelatoTypewriter-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --green: #1e2815;
  --red: #5e2411;
  --blue: #203e4d;
  --orange: #e9972b;
  --ink: #141718;
  --muted: #4c5051;
  --paper: #ffffff;
  --soft: #f4f4f1;
  --line: rgba(20, 23, 24, 0.16);
  color-scheme: light;
  font-family: "JUST Sans", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red);
}

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

.site-header,
.site-footer {
  width: min(100% - 40px, 980px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  margin-top: 18px;
  border: 1px solid rgba(20, 23, 24, 0.04);
  border-radius: 999px;
  background: var(--soft);
  padding: 0 20px;
  box-shadow: 0 8px 30px rgba(20, 23, 24, 0.06);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.wordmark img {
  display: block;
  width: 104px;
  height: auto;
}

.back-link {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.policy {
  width: min(100% - 40px, 780px);
  margin: 0 auto;
  padding: 88px 0 110px;
}

.policy-header {
  padding-bottom: 52px;
  border-bottom: 5px solid var(--green);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-family: "Gelato Typewriter", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.018em;
}

h1 {
  margin: 0;
  font-family: "Monoglyphic", Georgia, sans-serif;
  font-size: clamp(3rem, 9vw, 5.8rem);
  font-weight: 760;
}

.effective-date {
  margin: 24px 0 0;
  font-family: "Gelato Typewriter", monospace;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.summary {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.6;
}

.contents {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 42px 0 56px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.contents strong {
  flex-basis: 100%;
  margin-bottom: 4px;
  font-family: "Gelato Typewriter", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contents a {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

section {
  margin-top: 72px;
  scroll-margin-top: 24px;
}

h2 {
  margin: 0 0 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: "Monoglyphic", Georgia, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 720;
}

h3 {
  margin: 42px 0 16px;
  font-size: 1.35rem;
  font-weight: 800;
}

p,
ul {
  margin: 0 0 22px;
}

ul {
  padding-left: 1.4rem;
}

li {
  margin-bottom: 10px;
  padding-left: 0.25rem;
}

code {
  border-radius: 3px;
  background: var(--soft);
  padding: 0.08em 0.3em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
}

.contact {
  margin-top: 88px;
  padding: 34px;
  border: 0;
  border-radius: 18px;
  background: var(--green);
  color: #ffffff;
}

.contact h2 {
  color: var(--orange);
  padding-top: 0;
  border-top: 0;
}

.contact a:hover {
  color: var(--orange);
}

address {
  margin-bottom: 20px;
  font-style: normal;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header,
  .site-footer,
  .policy {
    width: min(100% - 28px, 780px);
  }

  .site-header {
    min-height: 72px;
  }

  .back-link {
    max-width: 150px;
    text-align: right;
  }

  .policy {
    padding: 58px 0 80px;
  }

  .policy-header {
    padding-bottom: 38px;
  }

  .contents {
    display: grid;
    gap: 9px;
    margin-bottom: 44px;
  }

  section {
    margin-top: 56px;
  }

  .contact {
    padding: 24px;
  }

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

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