:root {
  --ink: #17202a;
  --muted: #536171;
  --line: #d8e0e7;
  --paper: #f7f9fb;
  --white: #ffffff;
  --blue: #1c5f8f;
  --green: #2f765b;
  --gold: #a46f21;
  --shadow: 0 20px 50px rgba(20, 32, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(216, 224, 231, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

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

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  padding: 8px 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: #edf3f7;
  outline: 0;
}

.hero {
  position: relative;
  min-height: min(720px, 88vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #111a22;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 24, 32, 0.84) 0%, rgba(15, 24, 32, 0.68) 43%, rgba(15, 24, 32, 0.22) 100%),
    linear-gradient(0deg, rgba(15, 24, 32, 0.28), rgba(15, 24, 32, 0.1));
}

.hero-content {
  position: relative;
  width: min(780px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  color: var(--white);
}

.eyebrow,
.section-kicker,
.portal-domain {
  margin: 0 0 12px;
  color: #9ec2d8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.23rem;
  line-height: 1.25;
}

.lead {
  max-width: 650px;
  color: #e5edf2;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  text-decoration: none;
  font-weight: 650;
}

.button.primary {
  border-color: #f2f7fa;
  background: #f2f7fa;
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.11);
}

.section {
  padding: clamp(56px, 9vw, 104px) clamp(18px, 4vw, 56px);
}

.intro,
.roadmap {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.profile-facts {
  border-left: 4px solid var(--blue);
  padding: 4px 0 4px 22px;
}

.profile-facts dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.profile-facts dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-facts dd {
  margin: 4px 0 0;
}

.portals {
  max-width: 1280px;
  margin: 0 auto;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.portal-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.portal-card:nth-child(2) {
  border-top: 4px solid var(--green);
}

.portal-card:nth-child(3) {
  border-top: 4px solid var(--gold);
}

.portal-card:nth-child(4) {
  border-top: 4px solid var(--blue);
}

.portal-card p:not(.portal-domain) {
  color: var(--muted);
}

.portal-card a {
  margin-top: auto;
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.roadmap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.roadmap > * {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 28px auto 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.steps li::marker {
  color: var(--blue);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: #dfe7ec;
}

.site-footer a {
  color: #d4ecff;
}

.footer-note {
  max-width: 420px;
  color: #b7c4cf;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .intro-grid,
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 70px;
  }
}

@media (max-width: 520px) {
  .brand {
    align-items: flex-start;
  }

  .brand small {
    max-width: 210px;
  }

  .hero {
    min-height: 690px;
  }

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