:root {
  --bg: #111415;
  --bg-elevated: #171b1d;
  --panel: #1c2226;
  --panel-soft: rgba(255, 255, 255, 0.035);
  --text: #eef3f6;
  --muted: #9aa7b0;
  --line: rgba(110, 150, 190, 0.18);
  --accent: #0d5ca8;
  --accent-strong: #1574cf;
  --accent-soft: rgba(21, 116, 207, 0.18);
  --accent-dark: #0a3966;
  --max-width: 1180px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(21, 116, 207, 0.16), transparent 32%),
    linear-gradient(180deg, #0b0d0f 0%, var(--bg) 60%, #0e1113 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(135deg, rgba(21, 116, 207, 0.06) 25%, transparent 25%, transparent 50%, rgba(21, 116, 207, 0.06) 50%, rgba(21, 116, 207, 0.06) 75%, transparent 75%, transparent);
  background-size: 72px 72px, 72px 72px, 140px 140px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 85%);
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(17, 20, 23, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent-dark));
  color: #101417;
  font-family: "Teko", sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.eyebrow,
.subhead,
.section-tag,
.band-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow {
  font-size: 0.75rem;
  color: var(--muted);
}

.subhead {
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--text);
}

.topnav {
  display: flex;
  gap: 20px;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding: 54px 0 36px;
  align-items: end;
}

.hero-copy,
.hero-panel,
.credibility-band,
.service-card,
.portal-card,
.contact-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    var(--panel-soft);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 36px;
  border-radius: 32px;
}

.section-tag {
  font-size: 0.74rem;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.95;
  font-family: "Teko", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

h1 {
  margin-top: 16px;
  font-size: clamp(3.6rem, 8vw, 6.4rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
}

h3 {
  font-size: 2rem;
}

.hero-text,
.section-heading p,
.service-card p,
.credibility-band p,
.form-note,
label span,
input,
select,
textarea {
  font-size: 1rem;
  line-height: 1.65;
}

.hero-text {
  max-width: 56ch;
  margin: 20px 0 0;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  color: #eff6fb;
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.button-full {
  width: 100%;
}

.hero-panel {
  padding: 24px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(21, 116, 207, 0.28), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.03) 75%, transparent 75%, transparent),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.28));
  background-size: auto, 120px 120px, auto;
}

.panel-grid {
  position: relative;
  display: grid;
  gap: 16px;
}

.metric-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(17, 20, 23, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-value {
  display: block;
  font-family: "Teko", sans-serif;
  font-size: 2.4rem;
  color: var(--text);
}

.metric-label {
  display: block;
  color: var(--muted);
}

.credibility-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 24px 28px;
  border-radius: 28px;
}

.band-label {
  font-size: 0.72rem;
  color: var(--accent);
}

.services,
.portal-contact-wrap {
  margin-top: 34px;
}

.section-heading {
  max-width: 64ch;
  margin-bottom: 20px;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.section-heading p:last-child {
  margin-top: 10px;
  color: var(--muted);
}

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

.service-card {
  padding: 28px;
  border-radius: 26px;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.portal-contact-wrap {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 18px;
  align-items: start;
}

.portal-card,
.contact-card {
  padding: 24px;
  border-radius: 28px;
}

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

.full-width {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(7, 10, 12, 0.65);
  color: var(--text);
  font-family: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #718089;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(21, 116, 207, 0.24);
  border-color: rgba(21, 116, 207, 0.55);
}

.form-note {
  margin: 14px 2px 0;
  color: var(--muted);
}

.form-note.is-success {
  color: #8ec1ef;
}

@media (max-width: 960px) {
  .hero,
  .portal-contact-wrap,
  .service-grid,
  .credibility-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 14px;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-copy,
  .hero-panel,
  .credibility-band,
  .service-card,
  .portal-card,
  .contact-card {
    border-radius: 24px;
  }

  .hero-copy,
  .hero-panel,
  .portal-card,
  .contact-card,
  .service-card {
    padding: 22px;
  }

  h1 {
    font-size: clamp(3.1rem, 18vw, 4.8rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
