/* Core theme and reset */
:root {
  --bg: #060708;
  --bg-soft: #11151a;
  --surface: #171c24;
  --surface-2: #1f2631;
  --text: #f2f5f8;
  --muted: #b5bfcc;
  --line: #313949;
  --brand: #d6001c;
  --brand-soft: #ff445d;
  --accent: #00a3ad;
  --success: #1bc47d;
  --warning: #ffb200;
  --max: 1240px;
  --radius: 16px;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(214, 0, 28, 0.2), transparent 38%),
    radial-gradient(circle at 85% 90%, rgba(0, 163, 173, 0.2), transparent 44%),
    linear-gradient(160deg, #050607 0%, #090b0f 60%, #10141a 100%);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.container {
  width: min(100% - 2.2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  padding: 0.7rem 1rem;
  background: #fff;
  color: #000;
  z-index: 1000;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(6, 8, 10, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand strong {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  font-size: 0.94rem;
  color: var(--muted);
  transition: all 0.25s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a.active {
  color: #fff;
  background: linear-gradient(130deg, rgba(214, 0, 28, 0.35), rgba(0, 163, 173, 0.35));
}

.cta-link {
  padding: 0.55rem 1rem;
  border: 1px solid var(--brand);
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.cta-link:hover {
  background: var(--brand);
}

/* Hero */
.hero {
  position: relative;
  min-height: 74vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.07);
  animation: heroZoom 12s ease forwards;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(95deg, rgba(6, 7, 8, 0.94) 32%, rgba(6, 7, 8, 0.55) 58%, rgba(6, 7, 8, 0.78) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 70%, rgba(9, 11, 15, 0.94) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 0;
}

.eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: #dbe6f2;
}

h1,
h2,
h3 {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.02em;
  margin: 0 0 0.9rem;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  text-transform: uppercase;
  margin-top: 0.9rem;
}

.hero p {
  max-width: 56ch;
  color: #d0dae6;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 0.24s ease, filter 0.24s ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.button-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand), #ff324d);
}

.button-secondary {
  color: #f5faff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.stat-card {
  background: rgba(10, 13, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-lg);
}

.stat-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 1fr 1fr;
}

.stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.8rem;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  font-family: "Barlow Condensed", sans-serif;
}

/* Sections */
.section {
  padding: 4.4rem 0;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  max-width: 55ch;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow: hidden;
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover::after {
  transform: scaleX(1);
}

.card h3 {
  margin-top: 0.6rem;
  font-size: 1.45rem;
}

.card p,
.card li {
  color: var(--muted);
}

.icon-wrap {
  width: 42px;
  height: 42px;
}

.feature-image {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.timeline {
  border-left: 2px solid rgba(255, 255, 255, 0.16);
  margin-left: 0.7rem;
  padding-left: 1.2rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.3rem;
}

.timeline-item::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand-soft);
  position: absolute;
  left: -1.87rem;
  top: 0.35rem;
}

.timeline-item time {
  color: #fbd2d8;
  font-size: 0.88rem;
}

.split-box {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
}

.list-clean {
  margin: 0;
  padding-left: 1.1rem;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.kpi {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.kpi strong {
  display: block;
  font-size: 2rem;
  font-family: "Barlow Condensed", sans-serif;
}

.notice {
  border-left: 4px solid var(--accent);
  padding: 0.9rem 1rem;
  background: rgba(0, 163, 173, 0.11);
  border-radius: 8px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: #d7dfeb;
}

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

.process-step {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1rem;
}

.process-step strong {
  display: inline-block;
  color: #ffd7dd;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1rem;
}

.faq-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  overflow: hidden;
}

.mini-table th,
.mini-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.mini-table th {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.mini-table td {
  color: #c8d2de;
}

.banner-strip {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(130deg, rgba(214, 0, 28, 0.2), rgba(0, 163, 173, 0.2));
}

.quote {
  border-left: 4px solid #ff445d;
  padding: 0.8rem 1rem;
  margin: 0;
  color: #e2e8f2;
  background: rgba(255, 255, 255, 0.03);
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 13, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
  padding: 2rem 0;
}

.footer-grid h3 {
  margin-bottom: 0.6rem;
}

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

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0 1.4rem;
  color: #a8b4c4;
  font-size: 0.89rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Policy pages */
.policy-wrapper {
  padding: 2.6rem 0 4rem;
}

.policy-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 280px 1fr;
}

.policy-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.9rem;
}

.policy-toc a {
  display: block;
  color: #b8c2cf;
  padding: 0.25rem 0;
  font-size: 0.92rem;
}

.policy-content section {
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.policy-content h2 {
  margin-bottom: 0.5rem;
}

.policy-content p,
.policy-content li {
  color: #ccd4de;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroZoom {
  from {
    transform: scale(1.12);
  }

  to {
    transform: scale(1.02);
  }
}

@media (max-width: 1020px) {
  .hero-grid,
  .split-box,
  .footer-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .policy-toc {
    position: static;
    max-height: none;
  }
}

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

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: rgba(8, 10, 13, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    transition: 0.25s ease;
    pointer-events: none;
  }

  .main-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    display: grid;
    gap: 0.4rem;
    padding: 1rem;
  }

  .header-cta {
    display: none;
  }

  .kpi-row,
  .grid-3,
  .grid-2,
  .stat-grid,
  .process-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.3rem 0;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }
}
