@font-face {
  font-family: Poppins;
  src: url("./assets/fonts/Poppins-Regular-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url("./assets/fonts/Poppins-Medium-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url("./assets/fonts/Poppins-SemiBold-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url("./assets/fonts/Poppins-Bold-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --yellow: #ffd71d;
  --ink: #333;
  --muted: #666;
  --page: #f6f6f6;
  --line: #e9e9e9;
  --dark: #2f2f2f;
  font-family: Poppins, Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.04);
  color: var(--ink);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}

a {
  color: inherit;
}

h1,
h2,
p {
  margin-top: 0;
}

.legal-page {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 72px 56px 96px;
}

.eyebrow {
  margin-bottom: 12px;
  color: #b58c00;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-page > h1 {
  margin-bottom: 20px;
  font-size: 52px;
  font-weight: 600;
  line-height: 1.15;
}

.lead {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.legal-page section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.legal-page section:first-of-type {
  margin-top: 40px;
}

.legal-page section h2 {
  margin-bottom: 16px;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.3;
}

.legal-page section p {
  margin-bottom: 14px;
  color: var(--muted);
}

.legal-document-card {
  padding: 32px !important;
  border: 0 !important;
  border-radius: 24px;
  background: var(--page);
}

.legal-document-card h2 {
  font-size: 30px !important;
}

.legal-meta {
  color: var(--ink) !important;
  font-weight: 500;
}

.legal-content {
  display: grid;
  gap: 12px;
}

.legal-content h2,
.legal-content p {
  margin-bottom: 0 !important;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 24px;
  color: var(--muted);
}

.legal-list strong {
  color: var(--ink);
  font-weight: 500;
}

.legal-page section a:not(.button) {
  color: #9b7800;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.legal-actions {
  display: flex;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-width: 190px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 24px;
  background: var(--dark);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

@media (max-width: 720px) {
  body {
    max-width: none;
    box-shadow: none;
    font-size: 12px;
    line-height: 1.65;
  }

  .legal-page {
    width: 100%;
    padding: 32px 16px 56px;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 9px;
  }

  .legal-page > h1 {
    margin-bottom: 14px;
    font-size: 28px;
    line-height: 1.2;
  }

  .lead {
    font-size: 12px;
  }

  .legal-page section {
    padding: 24px 0;
  }

  .legal-page section:first-of-type {
    margin-top: 28px;
  }

  .legal-page section h2 {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.3;
  }

  .legal-document-card {
    padding: 20px !important;
    border-radius: 12px;
  }

  .legal-document-card h2 {
    font-size: 20px !important;
  }

  .legal-list {
    gap: 8px;
    padding-left: 20px;
  }

  .legal-actions,
  .button {
    width: 100%;
  }

  .button {
    height: 42px;
    border-radius: 21px;
    font-size: 11px;
  }
}
