:root {
  --ink-900: #010202;
  --ink-800: #040a08;
  --graphite: #2f2f2f;
  --steel: #676969;
  --silver: #c9cdd2;
  --mist: #ebece9;
  --white: #ffffff;
  --accent-1: #7fb2c9;
  --accent-2: #6a9fbd;
  --accent-3: #3e79a3;
  --accent-4: #2e5f93;
  --accent-5: #1e3f7e;
  --accent-navy: #172c6b;
  --radius: 14px;
  --shadow-1: 0 10px 30px rgba(1, 2, 2, 0.12);
  --shadow-2: 0 18px 40px rgba(1, 2, 2, 0.18);
  --container: min(1180px, 92vw);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink-900);
  background:
    linear-gradient(145deg, rgba(201, 205, 210, 0.24), rgba(255, 255, 255, 0.95)),
    radial-gradient(circle at 85% 20%, rgba(106, 159, 189, 0.14), transparent 35%),
    radial-gradient(circle at 10% 80%, rgba(46, 95, 147, 0.1), transparent 28%),
    #f7f8f7;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(1, 2, 2, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 2, 2, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.25;
  z-index: -2;
}

img { max-width: 100%; display: block; }

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

.container { width: var(--container); margin-inline: auto; }

.section {
  position: relative;
  padding: 4.75rem 0;
  border-top: 1px solid rgba(4, 10, 8, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(235, 236, 233, 0.54));
}

.section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 70%, rgba(62, 121, 163, 0.08) 70% 100%),
    linear-gradient(290deg, transparent 0 72%, rgba(127, 178, 201, 0.08) 72% 100%);
  z-index: 0;
}

.section > .container { position: relative; z-index: 1; }

.section-head {
  margin-bottom: 2rem;
  display: grid;
  gap: 0.6rem;
}

.section-kicker {
  color: var(--accent-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.76rem;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4.1vw, 4rem); line-height: 1.06; }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.6rem); line-height: 1.12; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.2; }

p { margin: 0; color: #1d2221; }

.lead { font-size: clamp(1.04rem, 1.6vw, 1.28rem); max-width: 70ch; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(4, 10, 8, 0.12);
}

.nav-wrap {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  box-shadow: var(--shadow-1);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  border-color: rgba(4, 10, 8, 0.2);
  background: rgba(255, 255, 255, 0.75);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.76rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover,
.btn:focus-visible { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--ink-900), var(--accent-5) 58%, var(--accent-3));
  color: var(--white);
  box-shadow: var(--shadow-2);
}

.btn-secondary {
  border-color: rgba(4, 10, 8, 0.22);
  color: var(--ink-900);
  background: linear-gradient(135deg, rgba(235, 236, 233, 0.9), rgba(255, 255, 255, 0.95));
}

.hero {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid rgba(4, 10, 8, 0.18);
  background:
    radial-gradient(circle at 78% 24%, rgba(106, 159, 189, 0.24), transparent 38%),
    radial-gradient(circle at 14% 80%, rgba(46, 95, 147, 0.18), transparent 32%),
    linear-gradient(140deg, #fefefe, #ebece9);
}

.hero-grid {
  min-height: clamp(500px, 78vh, 760px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.2rem;
  padding: 4.2rem 0;
}

.hero-copy { display: grid; gap: 1.2rem; }

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(235, 236, 233, 0.92));
  border: 1px solid rgba(4, 10, 8, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  padding: 1.3rem;
  display: grid;
  gap: 1rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}

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

.card {
  grid-column: span 4;
  border-radius: var(--radius);
  border: 1px solid rgba(4, 10, 8, 0.12);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(235, 236, 233, 0.84));
  box-shadow: var(--shadow-1);
  padding: 1.2rem;
  display: grid;
  gap: 0.68rem;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-navy), var(--accent-3), var(--accent-1));
}

.card:hover { transform: translateY(-3px); transition: transform .25s ease; }

.card p { font-size: 0.99rem; }

.card-list {
  display: grid;
  gap: .8rem;
}

.card-list .card { grid-column: span 12; }

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

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
}

.step {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.97), rgba(235, 236, 233, 0.8));
  border: 1px solid rgba(4, 10, 8, 0.14);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  gap: .45rem;
}

.step strong {
  color: var(--accent-3);
  font-size: .8rem;
  text-transform: uppercase;
}

.accent-band {
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.15);
  background:
    linear-gradient(125deg, #0d1220, var(--accent-navy) 45%, var(--accent-3) 85%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.08) 1px, transparent 1px, transparent 42px);
  color: var(--white);
}

.accent-band .grid-cards .card {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  color: var(--white);
}

.accent-band .grid-cards .card p { color: #e8ecef; }

.cta-box {
  display: grid;
  gap: 1rem;
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid rgba(4, 10, 8, 0.18);
  background:
    linear-gradient(130deg, rgba(255,255,255,.95), rgba(235,236,233,.84));
}

.table-like {
  border: 1px solid rgba(4, 10, 8, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 0.9fr 2.1fr;
  border-top: 1px solid rgba(4, 10, 8, 0.12);
}

.table-row:first-child { border-top: 0; }

.table-row > div { padding: .9rem 1rem; }

.table-row > div:first-child {
  background: rgba(167, 169, 169, 0.16);
  font-weight: 700;
}

.faq {
  display: grid;
  gap: .8rem;
}

.faq details {
  border: 1px solid rgba(4, 10, 8, 0.15);
  border-radius: 12px;
  background: rgba(255,255,255,.88);
  padding: .8rem .9rem;
}

.faq summary { cursor: pointer; font-weight: 700; }

.site-footer {
  background: linear-gradient(160deg, #070a12, var(--accent-navy));
  color: #edf0f2;
  border-top: 1px solid rgba(255,255,255,.1);
}

.site-footer h3 { color: #ffffff; }

.site-footer p,
.site-footer li,
.site-footer a {
  color: #e5ebfa;
}

.footer-grid {
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 1.2rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}

.footer-note {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: .9rem 0 1.4rem;
  color: #e1e8fb;
  font-size: .92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.mobile-toggle {
  display: none;
  border: 1px solid rgba(4, 10, 8, 0.24);
  background: rgba(255, 255, 255, .9);
  border-radius: 8px;
  padding: .36rem .55rem;
  font-size: 1rem;
}

.float-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 65;
  display: none;
}

.page-hero {
  padding: 3.4rem 0;
  background:
    radial-gradient(circle at 86% 22%, rgba(106, 159, 189, 0.24), transparent 34%),
    radial-gradient(circle at 20% 75%, rgba(30, 63, 126, 0.12), transparent 30%),
    linear-gradient(160deg, #fefefe, #e8ece9);
  border-bottom: 1px solid rgba(4, 10, 8, 0.16);
}

.page-hero-grid {
  display: grid;
  gap: 1.1rem;
}

@media (max-width: 1040px) {
  .hero-grid,
  .cols-2,
  .footer-grid,
  .table-row,
  .process {
    grid-template-columns: 1fr;
  }

  .card { grid-column: span 6; }

  .grid-cards { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 780px) {
  .mobile-toggle { display: inline-flex; }

  .nav-list {
    position: absolute;
    top: calc(100% + 0.2rem);
    left: 0;
    right: 0;
    width: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(4, 10, 8, 0.18);
    border-radius: 0 0 12px 12px;
    padding: 0.8rem;
    box-shadow: var(--shadow-2);
  }

  .nav-list.open { display: flex; }

  .hero-grid { padding: 3.2rem 0; }
  .section { padding: 3.5rem 0; }
  .card { grid-column: span 6; }
  .float-cta { display: inline-flex; }
}

@media (max-width: 520px) {
  .grid-cards { grid-template-columns: 1fr; }
  .card { grid-column: span 1; }
  .brand span { display: none; }
}
