:root {
  --navy: #07192e;
  --navy-2: #0d2342;
  --blue: #1f57e7;
  --blue-soft: #6eb3ff;
  --teal: #0f8a73;
  --amber: #a36d10;
  --red: #a43535;
  --bg: #f3f6fb;
  --panel: #ffffff;
  --panel-soft: #f7fafe;
  --border: rgba(10, 30, 56, 0.11);
  --text: #13253b;
  --muted: #607088;
  --shadow: 0 22px 60px rgba(5, 18, 38, 0.12);
  --sans: "Manrope", sans-serif;
  --mono: "JetBrains Mono", monospace;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(110, 179, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #06192e 0, #0b2140 520px, var(--bg) 520px, var(--bg) 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 25, 46, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-weight: 800;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), #2c80f8);
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.74);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.site-nav .nav-cta {
  color: white;
  background: linear-gradient(135deg, var(--blue), #2d7af7);
}

.hero {
  padding: 70px 0 46px;
  color: white;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.58);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--blue-soft);
  border-radius: 999px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 30px;
  margin-top: 22px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -24px -20px -28px -20px;
  z-index: -1;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(7, 25, 46, 0.24), rgba(7, 25, 46, 0.62));
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.97;
  letter-spacing: -0.05em;
}

.hero-copy h1 span {
  color: var(--blue-soft);
}

.hero-copy p {
  margin: 0 0 24px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.8);
  max-width: 760px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition: 0.2s ease;
}

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

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), #2b7ef8);
  box-shadow: 0 16px 34px rgba(31, 87, 231, 0.24);
}

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

.hero-card {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(18, 51, 94, 0.95), rgba(9, 28, 53, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  box-shadow: 0 26px 66px rgba(5, 18, 38, 0.26);
}

.hero-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
}

.hero-card li {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.stat {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
  color: white;
}

.stat span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.page-body {
  padding: 24px 0 56px;
}

.section {
  margin-top: 28px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  max-width: 640px;
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 22px;
}

.sidebar,
.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.sidebar {
  padding: 18px;
  align-self: start;
  position: sticky;
  top: 96px;
}

.sidebar-title {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--navy);
}

.sidebar-copy {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.side-tab {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  margin-top: 8px;
  cursor: pointer;
}

.side-tab:hover,
.side-tab.active {
  background: #eef5ff;
  border-color: rgba(31, 87, 231, 0.18);
}

.side-tab strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--navy);
}

.side-tab span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.card {
  padding: 28px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 28px;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.75;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 14px;
}

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

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

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(11, 31, 58, 0.16);
  background: white;
  color: var(--text);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(31, 87, 231, 0.55);
  box-shadow: 0 0 0 4px rgba(31, 87, 231, 0.12);
}

.helper {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf4ff;
  border: 1px solid rgba(31, 87, 231, 0.14);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.notice {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: #edf4ff;
  border: 1px solid rgba(31, 87, 231, 0.12);
}

.notice h4 {
  margin: 0 0 6px;
  color: var(--navy);
}

.notice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.result {
  display: none;
  margin-top: 18px;
  padding: 20px;
  border-radius: 22px;
  background: #edf4ff;
  border: 1px solid rgba(31, 87, 231, 0.12);
}

.result.show {
  display: block;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: var(--panel-soft);
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 4px;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(31, 87, 231, 0.1);
}

.timeline-item h4 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 16px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.queue-grid {
  display: grid;
  gap: 14px;
}

.queue-card {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border: 1px solid var(--border);
}

.queue-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.queue-card h4 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
}

.queue-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.badge-blue {
  color: var(--blue);
  background: #edf4ff;
}

.badge-green {
  color: var(--teal);
  background: #e8f7f2;
}

.badge-amber {
  color: var(--amber);
  background: #fff6e6;
}

.badge-red {
  color: var(--red);
  background: #fff0f0;
}

.metric-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.metric-pill {
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--panel-soft);
  border: 1px solid rgba(11, 31, 58, 0.08);
  font-size: 12px;
  color: var(--muted);
}

.stack {
  display: grid;
  gap: 14px;
}

.mini-card {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid rgba(11, 31, 58, 0.08);
}

.mini-card h4 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--navy);
}

.mini-card p,
.mini-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.mini-card ul {
  margin: 0;
  padding-left: 18px;
}

.cta-band {
  margin-top: 28px;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, #081b30 0%, #12305c 55%, #0f836f 100%);
  color: white;
  box-shadow: 0 26px 66px rgba(7, 20, 39, 0.22);
}

.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
}

.cta-band p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
  max-width: 780px;
}

.footer {
  padding: 32px 0 46px;
  color: var(--muted);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.muted-link {
  color: var(--navy);
  font-weight: 700;
}

@media (max-width: 1080px) {
  .hero-grid,
  .portal-grid,
  .grid-3,
  .stats {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1220px);
  }

  .site-header .container,
  .footer .container,
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero-copy::before {
    inset: -16px -12px -18px -12px;
  }

  .hero {
    padding-top: 54px;
  }

  .card,
  .hero-card,
  .cta-band,
  .sidebar {
    padding: 22px;
  }
}
