:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #0a1020;
  --muted: #556070;
  --paper: #f6f4ef;
  --blue: #0066cc;
  --line: rgba(7, 17, 31, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

.hero,
.content,
.site-footer {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin-inline: auto;
}

.site-header-shell {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 10, 12, 0.94);
  backdrop-filter: blur(16px);
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: calc(100% - 32px);
  max-width: 1220px;
  min-height: 76px;
  margin: 0 auto;
  color: #ffffff;
  background: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-weight: 900;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.brand span {
  display: grid;
  line-height: 1;
}

.brand small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.desktop-nav a,
.nav-group > a {
  display: block;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 800;
}

.desktop-nav a:hover,
.nav-group:hover > a,
.nav-group:focus-within > a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav-group {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 260px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 16, 32, 0.98);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown::before {
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
  content: '';
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown a {
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
}

.nav-dropdown a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.nav-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 900;
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  min-height: 42px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 11px 14px;
  color: #ffffff;
  font-weight: 900;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary::after {
  float: right;
  content: '+';
}

.mobile-nav[open] summary::after {
  content: '-';
}

.mobile-nav nav {
  display: grid;
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  right: 0;
  width: min(280px, calc(100vw - 32px));
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.26);
  background: rgba(10, 16, 32, 0.98);
}

.mobile-nav a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 11px 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 850;
}

.button,
.legal-links a,
.footer-button {
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: end;
  padding: clamp(62px, 9vw, 128px) 0 clamp(54px, 8vw, 96px);
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  margin-top: 16px;
  max-width: 920px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero p {
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.8vw, 1.34rem);
  line-height: 1.75;
}

.hero-panel {
  border-left: 4px solid var(--blue);
  padding: 0 0 0 24px;
}

.hero-panel strong {
  display: block;
  font-size: 1.4rem;
}

.hero-panel p {
  margin-top: 12px;
  font-size: 1rem;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 6vw, 76px);
  padding-bottom: 86px;
}

.sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.sidebar p {
  color: var(--muted);
  line-height: 1.7;
}

.button {
  display: inline-flex;
  margin-top: 24px;
  padding: 14px 18px;
  color: #ffffff;
  background: var(--ink);
  text-decoration: none;
}

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

.section h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.04;
}

.section p,
.section li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.82;
}

.section p {
  margin-top: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  background: var(--line);
  border: 1px solid var(--line);
}

.grid article {
  min-height: 180px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.74);
}

.grid h3 {
  font-size: 1.14rem;
}

.grid p {
  margin-top: 10px;
  font-size: 0.96rem;
}

ul {
  margin: 18px 0 0;
  padding-left: 22px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 6vw, 82px);
  margin-bottom: 28px;
  padding: clamp(44px, 7vw, 78px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.footer-logo {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 8px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #ffffff;
  font-weight: 900;
}

.footer-brand span {
  display: grid;
  gap: 2px;
  font-size: 1.38rem;
  line-height: 0.95;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  font-weight: 800;
}

.footer-brand-panel {
  display: grid;
  align-content: start;
  gap: 20px;
}

.site-footer p {
  max-width: 560px;
  line-height: 1.7;
}

.footer-button {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  color: var(--ink);
  background: #ffffff;
  text-decoration: none;
}

.footer-link-panel {
  display: grid;
  align-content: start;
  gap: 24px;
}

.footer-link-heading strong,
.footer-link-heading span {
  display: block;
}

.footer-link-heading strong {
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  line-height: 1.04;
}

.footer-link-heading span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 700;
}

.legal-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-links a {
  min-height: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 13px 0 10px;
  color: #ffffff;
  text-decoration: none;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.86rem;
}

@media (max-width: 860px) {
  .hero,
  .content,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    width: calc(100% - 32px);
    max-width: 1220px;
    min-height: 72px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand span {
    min-width: 0;
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.64rem;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
    justify-self: end;
  }

  .nav-cta {
    display: none;
  }

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

  .sidebar {
    position: static;
  }

  .legal-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero {
    gap: 28px;
    padding: 54px 0 44px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.35rem);
    line-height: 1.06;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  h2,
  h3,
  p,
  li {
    overflow-wrap: anywhere;
  }

  .hero p {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-panel {
    padding-left: 18px;
  }

  .hero-panel strong {
    font-size: 1.22rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .button {
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }
}
