@font-face {
  font-family: "WorkSansRegular";
  src: url("fonts/worksans-regular-webfont.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "WorkSansRegular";
  src: url("fonts/worksans-semibold-webfont.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "WorkSansRegular";
  src: url("fonts/worksans-bold-webfont.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #1e4e8c;
  --brand-deep: #0b2748;
  --brand-mid: #2b86d1;
  --brand-pale: #eaf2fb;
  --accent: #f2ad3d;
  --ink: #101820;
  --ink-soft: #374554;
  --muted: #68788a;
  --line: #d4e1ef;
  --paper: #f4f7fa;
  --surface: #ffffff;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink-soft);
  background: var(--paper);
  font-family: "WorkSansRegular", "Work Sans", sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(43, 134, 209, 0.3);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(212, 225, 239, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 2rem));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--brand-deep);
  font-weight: 700;
  line-height: 1.05;
}

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

.brand small {
  display: block;
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-actions a:hover {
  color: var(--brand);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand);
  font-weight: 700;
  line-height: 1.2;
}

.button:hover {
  background: var(--brand-mid);
  border-color: var(--brand-mid);
}

.legal-main,
.price-main {
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  flex: 1;
  padding: 4.5rem 0 5.5rem;
}

.price-main {
  width: min(1120px, calc(100% - 2rem));
}

.legal-kicker {
  margin: 0 0 0.75rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.15;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.2rem;
  font-size: 4.4rem;
}

.legal-main h1 {
  font-size: 3.6rem;
}

h2 {
  margin: 3rem 0 0.9rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
  font-size: 2rem;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.18rem;
}

p,
ul {
  margin-top: 0;
}

ul {
  padding-left: 1.35rem;
}

li + li {
  margin-top: 0.5rem;
}

.legal-intro,
.price-lead {
  max-width: 790px;
  color: var(--muted);
  font-size: 1.12rem;
}

.legal-main a,
.price-main a:not(.button) {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.identity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 2.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.identity-list div {
  padding: 1.2rem 1.1rem 1.2rem 0;
}

.identity-list div:nth-child(even) {
  padding-left: 1.4rem;
  border-left: 1px solid var(--line);
}

.identity-list strong,
.identity-list span {
  display: block;
}

.identity-list span {
  margin-top: 0.25rem;
  color: var(--muted);
}

.price-hero {
  padding: 1rem 0 4rem;
  border-bottom: 1px solid var(--line);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 3rem 0 4rem;
}

.price-card {
  min-width: 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.price-card .number {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--accent);
  font-size: 1.9rem;
  font-weight: 700;
}

.price-card h2 {
  margin: 0 0 0.7rem;
  padding: 0;
  border: 0;
  font-size: 1.35rem;
}

.price-card p {
  color: var(--muted);
}

.price-factors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3rem;
  row-gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.price-factors li {
  position: relative;
  margin: 0;
  padding: 1rem 0 1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}

.price-factors li::before {
  content: "";
  position: absolute;
  top: 1.65rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-mid);
}

.cta-band {
  margin-top: 4rem;
  padding: 3rem 0 0;
  border-top: 5px solid var(--accent);
}

.cta-band h2 {
  margin-bottom: 1rem;
  padding: 0;
  border: 0;
}

.footer {
  padding: 2.25rem 0;
  color: #c8d6e8;
  background: #050f1d;
}

.footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.footer a:hover {
  color: #fff;
}

@media (max-width: 780px) {
  .nav {
    min-height: 66px;
  }

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

  .legal-main,
  .price-main {
    padding: 3.2rem 0 4rem;
  }

  h1 {
    font-size: 3rem;
  }

  .legal-main h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .identity-list,
  .price-grid,
  .price-factors {
    grid-template-columns: 1fr;
  }

  .identity-list div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .identity-list div + div {
    border-top: 1px solid var(--line);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 460px) {
  .brand small {
    display: none;
  }

  .nav-actions .button {
    padding-inline: 0.7rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  h1,
  .legal-main h1 {
    font-size: 2.25rem;
  }
}
