:root {
  --magenta: #ec0f8c;
  --cyan: #00aeef;
  --lime: #d6df21;
  --dark: #0f172a;
  --slate: #475569;
  --muted: #f8fafc;
  --soft: #f8fafc;
  --white: #ffffff;
  --line: rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.brand img {
  display: block;
  width: 158px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.35vw, 22px);
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a,
.nav-menu-trigger {
  white-space: nowrap;
}

nav a,
.header-cta,
.button,
.path-grid a,
.footer-cta {
  text-decoration: none;
}

nav > a,
.nav-menu-trigger,
.header-cta,
.button.primary {
  transition: color 0.18s ease, background-color 0.18s ease, filter 0.18s ease;
}

nav > a:hover,
nav > a:focus-visible,
nav > a[aria-current="page"],
.nav-menu-trigger:hover,
.nav-menu-trigger:focus-visible {
  color: var(--magenta);
}

.nav-menu {
  position: relative;
}

.nav-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -18px;
  right: -18px;
  height: 18px;
}

.nav-menu-trigger {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 30;
  display: grid;
  gap: 4px;
  min-width: 260px;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-menu:hover .nav-dropdown,
.nav-menu:focus-within .nav-dropdown,
.nav-menu.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  color: #334155;
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  color: var(--magenta);
  background: var(--soft);
}

.header-cta {
  display: inline-flex;
  padding: 13px 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--magenta);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-cta:hover,
.header-cta:focus-visible,
.button.primary:hover,
.button.primary:focus-visible {
  filter: brightness(0.94);
}

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

.eyebrow {
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--magenta);
}

.hero {
  position: relative;
  min-height: auto;
  padding: 176px max(20px, calc((100vw - 1180px) / 2)) 106px;
  color: var(--white);
  background: var(--dark);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(236, 15, 140, 0.25), transparent 34%),
    linear-gradient(35deg, rgba(0, 174, 239, 0.18), transparent 48%),
    var(--dark);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(120deg, transparent 0 43%, rgba(255, 255, 255, 0.11) 43.2% 43.8%, transparent 44% 100%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 46px 46px, 46px 46px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.68fr);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
  max-width: 1180px;
  margin-inline: auto;
}

.hero-content {
  max-width: 780px;
}

.legal-hero-layout {
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.62fr);
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(40px, 4.2vw, 62px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(19px, 1.55vw, 22px);
  line-height: 1.48;
  font-weight: 650;
}

.hero-subcopy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button.primary {
  color: var(--white);
  background: var(--magenta);
  box-shadow: 0 20px 60px rgba(236, 15, 140, 0.28);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.route-card {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(236, 15, 140, 0.16), rgba(0, 174, 239, 0.1)),
    rgba(255, 255, 255, 0.07);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.card-kicker {
  margin: 0 0 4px;
  color: var(--magenta);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.route-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.route-line span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--dark);
  background: var(--lime);
  font-size: 13px;
  font-weight: 900;
}

.route-line strong {
  color: var(--white);
  font-size: 18px;
  text-transform: uppercase;
}

.route-line p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 750;
}

.legal-summary .route-line {
  align-items: center;
}

.legal-summary .route-line strong {
  font-size: 16px;
  line-height: 1.15;
}

.legal-summary .route-line p {
  grid-column: 2;
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: clamp(86px, 10vw, 126px) max(20px, calc((100vw - 1180px) / 2));
}

.section-white {
  background: var(--white);
}

.section-soft {
  background: #f8fafc;
}

.section-grid-soft {
  background:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(236, 15, 140, 0.05), rgba(0, 174, 239, 0.04)),
    var(--white);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 18px;
  color: var(--dark);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading p:not(.eyebrow) {
  color: var(--slate);
  font-size: 19px;
  line-height: 1.6;
  font-weight: 700;
}

.legal-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
  max-width: 1180px;
  margin-inline: auto;
}

.toc {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.toc .eyebrow {
  margin-bottom: 12px;
  font-size: 11px;
}

.toc a {
  padding: 10px 12px;
  border-radius: 6px;
  color: #334155;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
}

.toc a:hover,
.toc a:focus-visible {
  color: var(--magenta);
  background: #f8fafc;
}

.legal-content {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.legal-block {
  scroll-margin-top: 116px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.legal-block h2 {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--dark);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-block h3 {
  margin: 34px 0 12px;
  color: var(--dark);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-block p,
.legal-block li {
  color: var(--slate);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 650;
}

.legal-block p {
  margin-bottom: 18px;
}

.legal-block ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 22px;
}

.legal-block li::marker {
  color: var(--magenta);
}

.notice-box,
.contact-card {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(236, 15, 140, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(236, 15, 140, 0.06), rgba(0, 174, 239, 0.05));
}

.notice-box {
  color: var(--slate);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
}

.notice-box strong,
.contact-card h3 {
  color: var(--dark);
}

.contact-card h3 {
  margin-top: 0;
}

.contact-card a {
  color: var(--magenta);
  font-weight: 900;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.path-grid article,
.next-grid article,
.faq-grid article,
.fit-grid article {
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.path-grid article {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 28px;
}

.path-grid span,
.next-grid span {
  color: var(--magenta);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.path-grid h3,
.next-grid h3,
.faq-grid h3 {
  margin: 18px 0 14px;
  color: var(--dark);
  font-size: 22px;
  line-height: 1.08;
  font-weight: 900;
  text-transform: uppercase;
}

.path-grid p,
.next-grid p,
.faq-grid p {
  color: var(--slate);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
}

.path-grid strong {
  display: block;
  margin-top: auto;
  color: var(--dark);
  font-size: 17px;
  line-height: 1.35;
}

.path-grid a {
  display: inline-flex;
  justify-content: center;
  margin-top: 22px;
  padding: 13px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--magenta);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.9fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.1);
}

label {
  display: grid;
  gap: 8px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

label.wide,
.contact-form button,
.contact-form small {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 14px;
  color: var(--dark);
  background: var(--white);
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  text-transform: none;
  letter-spacing: 0;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(0, 174, 239, 0.22);
  border-color: var(--cyan);
}

.contact-form button {
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--magenta);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form small {
  color: var(--slate);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.next-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.next-grid article,
.faq-grid article {
  padding: 28px;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-grid h3 {
  color: var(--magenta);
}

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

.fit-grid article {
  padding: clamp(28px, 4vw, 42px);
}

.fit-grid h2 {
  margin-bottom: 18px;
  color: var(--dark);
  font-size: clamp(28px, 2.5vw, 38px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fit-grid .not-fit {
  background: var(--dark);
}

.fit-grid .not-fit h2,
.fit-grid .not-fit li {
  color: var(--white);
}

.fit-grid ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.fit-grid li {
  position: relative;
  padding-left: 24px;
  color: var(--slate);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 750;
}

.fit-grid li::before {
  content: "";
  position: absolute;
  top: 0.66em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.site-footer {
  padding: 58px max(20px, calc((100vw - 1180px) / 2)) 28px;
  color: rgba(255, 255, 255, 0.74);
  background: #090f1f;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
}

.footer-brand img {
  width: 168px;
  max-width: 100%;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.site-footer h3 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.14em;
}

.site-footer a {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--magenta);
}

.site-footer p {
  max-width: 340px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 650;
}

.site-footer .footer-cta {
  display: inline-flex;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--magenta);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer .footer-cta:hover,
.site-footer .footer-cta:focus-visible {
  color: var(--white);
  filter: brightness(0.94);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1120px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 980px) {
  .hero-layout,
  .form-layout,
  .fit-grid,
  .legal-shell {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .path-grid,
  .next-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .brand img {
    width: 142px;
  }

  nav {
    gap: 12px;
    font-size: 11px;
  }

  .header-cta {
    width: 100%;
    justify-content: center;
  }

  .nav-menu:hover .nav-dropdown,
  .nav-menu:focus-within .nav-dropdown,
  .nav-menu.is-open .nav-dropdown {
    left: 0;
    transform: none;
  }

  .hero {
    padding: 74px 18px 58px;
  }

  .hero h1,
  .section-heading h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .legal-block h2 {
    font-size: clamp(28px, 8vw, 38px);
  }

  .fit-grid h2 {
    font-size: clamp(27px, 8vw, 36px);
  }

  .section {
    padding: 72px 18px;
  }

  .path-grid,
  .next-grid,
  .faq-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .path-grid article {
    min-height: auto;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}
