:root {
  --ink: #0b0b0c;
  --paper: #f3f0ea;
  --white: #fff;
  --orange: #f15d2a;
  --orange-dark: #c94217;
  --muted: #67625b;
  --line: rgba(11, 11, 12, .12);
  --font: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::selection { background: var(--orange); color: var(--white); }
a { color: inherit; }
:focus-visible { outline: 3px solid #dfff54; outline-offset: 4px; }

.legal-header {
  padding: 18px 0 74px;
  background:
    radial-gradient(circle at 50% 18%, rgba(241,93,42,.13), transparent 32%),
    var(--ink);
  color: var(--white);
}
.legal-shell { width: min(920px, calc(100% - 40px)); margin: 0 auto; }
.legal-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-mark { position: relative; display: block; width: 112px; height: 76px; overflow: hidden; }
.brand-mark img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 184px;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}
.back-link {
  color: #aaa49c;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.back-link:hover { color: var(--white); }
.legal-title { max-width: 760px; margin-top: 62px; }
.legal-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #ff7a4d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.legal-kicker::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
h1, h2 { letter-spacing: -.04em; line-height: 1.08; }
h1 { margin: 0 0 16px; font-size: clamp(44px, 7vw, 72px); }
.updated { margin: 0; color: #aaa49c; font-size: 13px; }

.legal-main { padding: 64px 0 92px; }
.legal-card {
  padding: clamp(28px, 6vw, 62px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(11,11,12,.07);
}
.legal-note {
  margin: 0 0 42px;
  padding: 18px 20px;
  border-left: 4px solid var(--orange);
  border-radius: 0 12px 12px 0;
  background: rgba(241,93,42,.08);
  color: #514b44;
  font-size: 13px;
}
.legal-section { padding: 30px 0; border-top: 1px solid var(--line); }
.legal-section:first-of-type { padding-top: 0; border-top: 0; }
.legal-section:last-child { padding-bottom: 0; }
h2 { margin: 0 0 13px; font-size: clamp(24px, 3.3vw, 34px); }
p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
p:last-child { margin-bottom: 0; }
ul { display: grid; gap: 9px; margin: 14px 0 0; padding-left: 20px; }
li { padding-left: 3px; color: var(--muted); font-size: 14px; }
.legal-card a { color: var(--orange-dark); font-weight: 700; text-underline-offset: 3px; }

.legal-footer { padding: 36px 0; background: #000; color: #77716b; font-size: 11px; }
.legal-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-footer a { color: #b0aaa2; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .legal-shell { width: min(100% - 30px, 920px); }
  .legal-header { padding: 12px 0 54px; }
  .brand-mark { width: 98px; height: 66px; }
  .brand-mark img { width: 160px; }
  .back-link { font-size: 10px; }
  .legal-title { margin-top: 42px; }
  .legal-main { padding: 42px 0 64px; }
  .legal-card { padding: 27px 21px; border-radius: 18px; }
  .legal-section { padding: 25px 0; }
  .legal-footer-inner { align-items: flex-start; flex-direction: column; }
}

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