:root {
  --navy-950: #06162f;
  --navy-900: #081f42;
  --navy-800: #0c2d5b;
  --navy-700: #123b73;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --slate-900: #111827;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --white: #ffffff;
  --bg: #f8fafc;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 24px 70px rgba(8, 31, 66, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--slate-900);
  background: var(--bg);
  line-height: 1.6;
}

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

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

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

.narrow {
  width: min(900px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 22, 47, 0.92);
  backdrop-filter: blur(16px);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

nav a:hover {
  color: var(--white);
}

.section {
  padding: 96px 0;
}

.hero {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.26), transparent 35%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 380px;
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(-3deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #93c5fd;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

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

h1 {
  font-size: clamp(2.5rem, 6vw, 5.15rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.lead {
  font-size: 1.22rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  margin-bottom: 34px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: var(--navy-950);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.16);
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.contact .btn-secondary {
  color: var(--navy-900);
  border-color: rgba(8, 31, 66, 0.22);
}

.trust-row {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
}

.trust-row span {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
}

.hero-card {
  position: relative;
  width: min(420px, 100%);
  margin-left: auto;
}

.hero-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.profile-card {
  position: absolute;
  left: -28px;
  right: 28px;
  bottom: 28px;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-950);
  box-shadow: var(--shadow);
}

.profile-card strong,
.profile-card span {
  display: block;
}

.profile-card strong {
  font-size: 1.05rem;
}

.profile-card span {
  color: var(--slate-500);
  font-weight: 700;
  font-size: 0.9rem;
}

.intro {
  padding: 68px 0;
  background: var(--white);
}

.intro p {
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.045em;
  color: var(--navy-900);
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading p {
  color: var(--slate-500);
  font-size: 1.08rem;
}

.cards {
  display: grid;
  gap: 22px;
}

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

.card,
.timeline-item,
.facts div {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(8, 31, 66, 0.05);
}

.card p,
.timeline-item p,
.split p {
  color: var(--slate-700);
}

.split-section {
  background: var(--navy-950);
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 72px;
  align-items: start;
}

.split p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
}

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

.facts div {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}

.facts strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.045em;
}

.facts span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

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

.timeline-item {
  position: relative;
  padding-left: 34px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 5px;
  border-radius: 999px;
  background: var(--navy-800);
}

.timeline-item span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--navy-700);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.tools-section {
  background: var(--white);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-cloud span {
  color: var(--navy-900);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}

.contact {
  background:
    linear-gradient(rgba(6, 22, 47, 0.88), rgba(6, 22, 47, 0.88)),
    radial-gradient(circle at 20% 20%, rgba(96, 165, 250, 0.5), transparent 32%),
    var(--navy-950);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  background: var(--white);
  color: var(--navy-950);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 64px);
  box-shadow: var(--shadow);
}

.contact-card p {
  color: var(--slate-700);
}

.contact-card .eyebrow {
  color: var(--navy-700);
}

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  padding: 28px 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-grid p {
  margin: 0;
}

@media (max-width: 920px) {
  nav {
    display: none;
  }

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

  .hero-card {
    margin: 0;
  }

  .profile-card {
    left: 18px;
    right: 18px;
  }

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

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 24px;
  }

  .cards-3,
  .facts {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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


/* Legal pages */
.legal-hero {
  padding: 104px 0 72px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 10%, rgba(59, 130, 246, 0.24), transparent 36%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.legal-hero h1 {
  margin-bottom: 0;
}

.legal-section {
  background: var(--white);
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin-top: 42px;
  margin-bottom: 14px;
  color: var(--navy-950);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--slate-700);
  margin-bottom: 18px;
}

.legal-content a {
  color: var(--navy-700);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  margin-top: 42px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
}

.legal-note p {
  margin: 0;
  color: var(--navy-900);
  font-weight: 700;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: underline;
  text-underline-offset: 3px;
}
