:root {
  color-scheme: light;
  --font-display: "Bahnschrift SemiCondensed", "Aptos Display", "Arial Narrow", sans-serif;
  --font-body: "Aptos", "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --ink: #102936;
  --muted: #536977;
  --paper: #eef3f6;
  --surface: #ffffff;
  --line: rgba(22, 59, 83, .16);
  --line-strong: rgba(22, 59, 83, .30);
  --deep: #163b53;
  --deep-2: #0b2638;
  --accent: #6fbb4a;
  --rust: #2f6f93;
  --rust-text: #245a78;
  --shadow: 0 24px 64px rgba(22, 59, 83, .11);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(47, 111, 147, .11), transparent 25rem),
    var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 4px;
}

::selection {
  color: #10231d;
  background: var(--accent);
}

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  padding: 10px 15px;
  border-radius: 7px;
  color: #10231d;
  background: var(--accent);
  font-weight: 800;
  transform: translateY(-170%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  color: #fff;
  background: rgba(11, 38, 56, .96);
  backdrop-filter: blur(16px) saturate(135%);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand-logo {
  width: 62px;
  height: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  position: relative;
  padding: 12px 0;
  color: rgba(255, 255, 255, .72);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.legal-hero {
  position: relative;
  padding: clamp(64px, 9vw, 112px) 0 44px;
  overflow: hidden;
}

.legal-hero::after {
  position: absolute;
  top: 36px;
  right: max(24px, calc((100vw - 1080px) / 2));
  z-index: -1;
  color: rgba(22, 59, 83, .065);
  font-family: var(--font-display);
  font-size: clamp(130px, 20vw, 260px);
  font-weight: 900;
  letter-spacing: -.1em;
  line-height: .8;
  content: "34";
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 17px;
  color: var(--rust-text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.kicker::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.035em;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  font-size: clamp(54px, 8vw, 92px);
  line-height: .92;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.legal-layout {
  padding: 22px 0 100px;
}

.legal-card {
  display: grid;
  gap: 0;
  max-width: 880px;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(rgba(20, 36, 31, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 36, 31, .028) 1px, transparent 1px),
    var(--surface);
  background-size: 38px 38px;
  box-shadow: var(--shadow);
}

.legal-card section {
  display: grid;
  gap: 11px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.legal-card section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

h2 {
  color: var(--ink);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.08;
}

p,
li {
  color: var(--muted);
}

p,
ul {
  margin: 0;
}

ul {
  padding-left: 22px;
}

strong {
  color: var(--ink);
}

.legal-card a {
  color: var(--deep);
  text-decoration: underline;
  text-decoration-color: rgba(23, 60, 51, .35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-card a:hover {
  color: var(--rust-text);
  text-decoration-color: currentColor;
}

.note {
  margin-bottom: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(143, 98, 19, .18);
  border-left: 5px solid var(--accent);
  border-radius: 10px;
  color: var(--ink);
  background: #fbf3d9;
  font-size: 14px;
}

footer {
  color: rgba(255, 255, 255, .64);
  background: var(--deep-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, .75fr));
  gap: 42px;
  padding-top: 62px;
  padding-bottom: 66px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-col strong {
  margin-bottom: 6px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-col span,
.footer-col a {
  font-size: 13px;
}

.footer-col a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}

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

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 30px, 1080px);
  }

  .nav {
    min-height: 70px;
  }

  .brand-logo {
    width: 54px;
  }

  .nav-links {
    gap: 13px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .legal-hero {
    padding-top: 64px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .nav-links a:first-child {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
