:root {
  --ink: #071426;
  --ink-soft: #40516b;
  --paper: #f6f8fb;
  --surface: #ffffff;
  --line: #dbe3ee;
  --blue: #175de5;
  --blue-dark: #0d42ad;
  --mint: #c7f6df;
  --orange: #ff5d20;
  --max-width: 1180px;
  --radius: 24px;
  --shadow: 0 22px 60px rgba(7, 20, 38, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 227, 238, 0.9);
  background: rgba(246, 248, 251, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 13px;
  font-size: 18px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  letter-spacing: -0.01em;
}

.brand small {
  color: var(--ink-soft);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--blue);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -240px;
  right: -120px;
  border-radius: 50%;
  background: rgba(23, 93, 229, 0.11);
  filter: blur(3px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  align-items: center;
  gap: 76px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 790px;
  margin-bottom: 26px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 21px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 16px 30px rgba(23, 93, 229, 0.2);
}

.primary:hover,
.primary:focus-visible {
  background: var(--blue-dark);
}

.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.hero-panel {
  padding: 30px;
  border: 1px solid rgba(219, 227, 238, 0.9);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel-label {
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.focus-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.focus-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.focus-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.focus-list li:last-child {
  padding-bottom: 0;
}

.focus-list li > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  background: #eaf1ff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 850;
}

.focus-list strong {
  display: block;
  margin-bottom: 4px;
}

.focus-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.section {
  padding: 100px 0;
}

.surface {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 90px;
}

.section-copy {
  color: var(--ink-soft);
  font-size: 19px;
}

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

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 18px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  min-height: 270px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}

.card-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 44px;
  color: var(--blue-dark);
  background: var(--mint);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 850;
}

.card p {
  color: var(--ink-soft);
}

.principle-list {
  display: grid;
  gap: 0;
}

.principle-list > div {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.principle-list > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.principle-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.principle-list p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-section {
  padding: 42px 0 100px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
  padding: 56px;
  color: #fff;
  background: var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  max-width: 680px;
  margin-bottom: 18px;
}

.contact-panel p {
  max-width: 660px;
  margin-bottom: 0;
  color: #b9c7da;
}

.eyebrow.light {
  color: #8eb5ff;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.light-button {
  color: var(--ink);
  background: #fff;
}

.text-link {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.legal-section {
  padding: 86px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.legal-section.alternate {
  background: var(--paper);
}

.legal-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 90px;
}

.legal-grid h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.legal-copy {
  color: var(--ink-soft);
}

.effective-date {
  margin-top: 28px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer {
  padding: 48px 0;
  color: #dce6f5;
  background: #030b16;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 36px;
}

.footer-inner p {
  margin: 5px 0 0;
  color: #8fa0b8;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: #dce6f5;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid #80a9ff;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .section-heading,
  .contact-panel,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .split,
  .legal-grid {
    gap: 48px;
  }

  .section-heading {
    gap: 10px;
  }

  .contact-panel {
    padding: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 70px;
  }

  nav {
    display: none;
  }

  .hero {
    padding: 76px 0 72px;
  }

  h1 {
    font-size: clamp(43px, 14vw, 64px);
  }

  .section {
    padding: 76px 0;
  }

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

  .contact-section {
    padding-bottom: 76px;
  }

  .contact-panel {
    padding: 32px 24px;
  }

  .legal-section {
    padding: 70px 0;
  }

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

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

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


/* Dedicated legal pages */
.legal-page-hero {
  padding: 92px 0 70px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 85% 0%, rgba(23, 93, 229, 0.12), transparent 34%), var(--paper);
}
.legal-page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 56px;
}
.legal-page-hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 76px);
}
.legal-page-intro {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 21px);
}
.legal-meta {
  min-width: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.legal-meta span, .legal-meta strong { display: block; }
.legal-meta span {
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.legal-content { padding: 82px 0 110px; background: var(--surface); }
.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  align-items: start;
  justify-content: space-between;
  gap: 80px;
}
.legal-sidebar {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}
.legal-sidebar strong { margin-bottom: 8px; }
.legal-sidebar a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.legal-sidebar a:hover, .legal-sidebar a:focus-visible { color: var(--blue); }
.legal-document section {
  padding: 0 0 34px;
  margin: 0 0 34px;
  border-bottom: 1px solid var(--line);
}
.legal-document section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}
.legal-document h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.025em;
}
.legal-document p, .legal-document li {
  color: var(--ink-soft);
  font-size: 17px;
}
.legal-document ul { padding-left: 24px; }
.legal-document li + li { margin-top: 8px; }
.legal-document a { color: var(--blue-dark); font-weight: 700; }
@media (max-width: 900px) {
  .legal-page-hero-inner, .legal-layout { grid-template-columns: 1fr; }
  .legal-meta { min-width: 0; }
  .legal-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .legal-page-hero { padding: 68px 0 54px; }
  .legal-content { padding: 62px 0 80px; }
  .legal-sidebar { grid-template-columns: 1fr; }
  .legal-document p, .legal-document li { font-size: 16px; }
}
