@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("img/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("img/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --white: #fff;
  --paper: #f4f7fb;
  --ink: #08090b;
  --muted: #5f6772;
  --line: #dfe4eb;
  --blue: #2c6cff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #39d6e8; outline-offset: 4px; }

.legal-header {
  width: min(calc(100% - 32px), 1180px);
  min-height: 72px;
  margin: 18px auto 0;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(8, 9, 11, 0.08);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(16, 26, 45, 0.08);
}
.legal-brand img { width: 210px; height: auto; }
.back-link {
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.legal-main {
  width: min(calc(100% - 32px), 940px);
  margin: 70px auto 80px;
  padding: clamp(34px, 6vw, 74px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 32px;
}
.legal-kicker { color: var(--blue); font-size: 14px; font-weight: 700; }
h1 {
  max-width: 11ch;
  margin-top: 14px;
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.065em;
}
.updated { margin-top: 24px; color: #858d98; font-size: 13px; }
.legal-intro { max-width: 700px; margin-top: 34px; color: #333943; font-size: 18px; }
.legal-sections { margin-top: 56px; }
.legal-section {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 30px;
  border-top: 1px solid var(--line);
}
.legal-section h2 { font-size: 16px; font-weight: 700; }
.legal-section p,
.legal-section li { color: var(--muted); font-size: 15px; }
.legal-section ul { padding-left: 20px; }
.legal-section a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.legal-footer {
  padding: 0 16px 36px;
  color: #78818d;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 700px) {
  .legal-header { min-height: 60px; margin-top: 10px; padding: 8px 8px 8px 14px; gap: 12px; }
  .legal-brand img { width: clamp(142px, 43vw, 174px); }
  .back-link { min-height: 42px; padding: 0 15px; font-size: 12px; }
  .legal-main { margin-top: 34px; padding: 34px 24px; border-radius: 24px; }
  h1 { font-size: clamp(2.6rem, 14vw, 4.4rem); }
  .legal-intro { font-size: 16px; }
  .legal-sections { margin-top: 44px; }
  .legal-section { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 360px) {
  .legal-header { width: calc(100% - 16px); }
  .legal-brand img { width: 132px; }
  .back-link { padding: 0 12px; }
  .legal-main { width: calc(100% - 20px); padding: 30px 20px; }
}
