:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #5f6b7a;
  --line: #e7eaf0;
  --surface: #ffffff;
  --soft: #fff7f5;
  --accent: #e34a3f;
  --accent-dark: #bd322b;
  --success: #167c5a;
  --shadow: 0 22px 60px rgba(23, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(227, 74, 63, 0.1), transparent 32rem),
    #f7f8fb;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--accent-dark);
  text-underline-offset: 3px;
}

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

a:focus-visible {
  outline: 3px solid rgba(227, 74, 63, 0.35);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(231, 234, 240, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  color: #465264;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-dark);
}

.legal-shell {
  width: min(920px, calc(100% - 40px));
  margin: 64px auto 72px;
}

.legal-hero {
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(227, 74, 63, 0.1);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.effective-date {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.legal-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.summary {
  padding: 30px 34px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.summary h2 {
  margin-top: 0;
}

.summary p:last-child {
  margin-bottom: 0;
}

.legal-content {
  padding: 12px 34px 36px;
}

.legal-content section {
  padding: 27px 0 25px;
  border-bottom: 1px solid var(--line);
}

.legal-content section:last-child {
  padding-bottom: 4px;
  border-bottom: 0;
}

h2 {
  margin: 0 0 9px;
  font-size: 1.3rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

h3 {
  margin: 20px 0 6px;
  font-size: 1.02rem;
}

p {
  margin: 0 0 12px;
}

ul {
  margin: 10px 0 0;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 7px;
}

.callout {
  margin: 18px 0 6px;
  padding: 18px 20px;
  border-left: 4px solid var(--success);
  border-radius: 12px;
  background: #f1faf6;
}

.callout strong {
  color: #0d6244;
}

.contact-card {
  display: inline-flex;
  margin-top: 8px;
  padding: 11px 16px;
  border: 1px solid #ffd2cd;
  border-radius: 12px;
  background: var(--soft);
  font-weight: 750;
  text-decoration: none;
}

.site-footer {
  padding: 30px 20px 44px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}

.site-footer a {
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 680px) {
  .site-header__inner {
    width: min(100% - 28px, 1120px);
    min-height: 68px;
  }

  .site-nav {
    gap: 13px;
    font-size: 0.82rem;
  }

  .site-nav a:first-child {
    display: none;
  }

  .legal-shell {
    width: min(100% - 28px, 920px);
    margin-top: 42px;
  }

  .summary,
  .legal-content {
    padding-right: 22px;
    padding-left: 22px;
  }

  .legal-card {
    border-radius: 18px;
  }
}
