:root {
  --blue: #2f6bff;
  --blue-hover: #1d5af0;
  --ink: #12141a;
  --body: #3c4452;
  --muted: #6b7280;
  --line: #e6e8ee;
  --soft: #f5f7fb;
  --hero: #0b1733;
  --footer: #070b14;
  --header-h: 4.5rem;
  --font: Inter, "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: #fff;
  color: var(--body);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, ul { margin: 0; }
ul { padding: 0; }
a { color: inherit; }

::selection { background: #d9e4ff; color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

h1, h2, h3 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 1rem;
  z-index: 80;
  padding: 0.7rem 1rem;
  border-radius: 0 0 0.6rem 0.6rem;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1140px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  color: inherit;
  text-decoration: none;
}

.brand__mark {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: var(--blue);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__text strong {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand__text small {
  margin-top: 0.2rem;
  color: #8b93a1;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}

.site-nav__link {
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex: none;
  margin-left: auto;
}

.header-actions__quiet {
  color: #1f2937;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.header-actions__quiet:hover { color: var(--blue); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
}

.nav-toggle__bars {
  width: 1rem;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero {
  background:
    radial-gradient(42rem 18rem at 18% 0%, rgba(47, 107, 255, 0.22), transparent 62%),
    linear-gradient(180deg, #0c1b3a 0%, #0b1733 100%);
  color: #fff;
  padding: 4.25rem 0 4.6rem;
}

.hero h1 {
  max-width: 11em;
  color: #fff;
  font-size: clamp(2.4rem, 4.4vw, 3.35rem);
  line-height: 1.08;
}

.crumbs {
  margin-bottom: 1.15rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden="true"] { margin-inline: 0.35rem; }

.kicker {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.hero .lede {
  max-width: 38rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.02rem;
  line-height: 1.65;
}

.hero__meta {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.hero__meta span { margin-inline: 0.4rem; }

.section { padding: 4.25rem 0; }

.section--tight { padding-top: 0; }

.copy { max-width: 44rem; }

.copy h2,
.doc h2,
.section__head h2 {
  margin-top: 2.6rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 2vw, 1.7rem);
}

.copy > h2:first-child,
.section__head h2 { margin-top: 0; }

.copy p + p,
.doc p + p { margin-top: 1rem; }

.section__head {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.section__head p { margin-top: 0.55rem; }

.copy a:not(.btn),
.doc a:not(.btn),
.page a:not(.btn) {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.copy a:not(.btn):hover,
.doc a:not(.btn):hover,
.page a:not(.btn):hover { text-decoration: underline; }

.doc,
.page { padding: 3.6rem 0 5rem; }

.doc { max-width: 44rem; }

.doc__head,
.page__head { margin-bottom: 1.75rem; }

.doc__head + h2 { margin-top: 0; }

.doc h1,
.page h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.doc__sub,
.page__sub {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.bullets {
  margin-top: 0.35rem;
  padding-left: 1.15rem;
}

.bullets li {
  margin: 0.7rem 0;
  padding-left: 0.2rem;
}

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

.doc .reach p + p { margin-top: 0.35rem; }

.doc .btn,
.copy .btn { margin-top: 1.4rem; }

.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.tile {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.15rem 1.15rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.tile:hover { border-color: #b9c9ff; }
.tile:hover h3 { color: var(--blue); }

.tile__step {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tile h3 {
  margin-top: 0.55rem;
  font-size: 1.05rem;
}

.tile p {
  margin-top: 0.4rem;
  color: #5c6573;
  font-size: 0.94rem;
  line-height: 1.55;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 2.5rem;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 1.15rem;
  list-style: none;
}

.contact-list span {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.contact-list a,
.contact-list p {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-list a {
  color: var(--blue);
  text-decoration: none;
}

.contact-list a:hover { text-decoration: underline; }

.note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form .btn { justify-self: start; }

.form {
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fff;
}

.form label {
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #d9dee7;
  border-radius: 0.65rem;
  background: #fff;
  color: var(--ink);
}

.form textarea { min-height: 9rem; resize: vertical; }

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--blue);
  outline: 2px solid rgba(47, 107, 255, 0.2);
  outline-offset: 1px;
}

.hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-note {
  min-height: 1.25rem;
  color: var(--blue);
  font-weight: 600;
}

.stack { display: grid; gap: 2.2rem; }

.stack h2 { margin-top: 0; margin-bottom: 0.7rem; }

.site-footer {
  padding: 3.4rem 0 1.4rem;
  background: var(--footer);
  color: #9aa3b2;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 2rem 2.5rem;
}

.site-footer .brand__text strong { color: #fff; }

.site-footer__brand p {
  max-width: 18rem;
  margin-top: 1rem;
  color: #9aa3b2;
  font-size: 0.92rem;
  line-height: 1.65;
}

.site-footer__reach a {
  color: #d7deea;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer__reach a:hover { color: #fff; }

.site-footer h2 {
  margin-bottom: 0.9rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
}

.site-footer ul {
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.site-footer li a {
  color: #c5cdd8;
  font-size: 0.92rem;
  font-weight: 400;
  text-decoration: none;
}

.site-footer li a:hover { color: #fff; }

.site-footer__base {
  margin-top: 2.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7f8aa0;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .tiles,
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 840px) {
  .header-actions__quiet { display: none; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    margin: 0;
    padding: 0.25rem max(1.5rem, calc((100% - 1140px) / 2)) 0.85rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(16, 24, 40, 0.06);
  }

  .site-nav.is-open { display: block; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__link {
    display: block;
    padding: 0.8rem 0;
    border-top: 1px solid var(--line);
  }

}

@media (max-width: 640px) {
  .container { width: min(1140px, calc(100% - 2rem)); }
  .tiles,
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero { padding: 3.2rem 0 3.4rem; }
  .section { padding: 3.2rem 0; }
}
