/* ==========================================================
   Hartwig IT Consulting — Apple-style design system
   ========================================================== */

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", Helvetica, Arial, sans-serif;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --text-dark: #1d1d1f;
  --text-grey: #6e6e73;
  --text-light: #f5f5f7;
  --bg-light: #ffffff;
  --bg-grey: #f5f5f7;
  --bg-dark: #1f1235;
  --bg-dark-soft: #2a1a4a;
  --radius-card: 28px;
  --nav-h: 48px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(35, 21, 62, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: background 0.3s var(--ease);
}
.nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
}
.nav-logo {
  color: #f5f5f7;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; opacity: 0.85; }
.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
}
.nav-links > li > a,
.nav-links > li > .nav-drop-toggle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  letter-spacing: -0.01em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links .nav-drop-toggle:hover { color: #fff; text-decoration: none; }

/* ---------- Dropdown (Leistungen) ---------- */
.nav-drop { position: relative; }
.nav-drop-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-drop-toggle .chev {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.25s var(--ease);
}
.nav-drop.open .nav-drop-toggle .chev { transform: rotate(-135deg) translate(-1px, -1px); }
.nav-drop-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 480px;
  background: rgba(28, 16, 50, 0.98);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  box-shadow: 0 24px 50px rgba(0,0,0,0.5);
}
.nav-drop.open .nav-drop-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Keep the mega-menu from overflowing the right viewport edge */
@media (min-width: 834px) and (max-width: 1120px) {
  .nav-drop-menu { left: 0; transform: translateX(-30%) translateY(-8px); }
  .nav-drop.open .nav-drop-menu { transform: translateX(-30%) translateY(0); }
}
.nav-drop-menu::before {
  content: "";
  position: absolute;
  top: -18px; left: 0; right: 0;
  height: 18px;
}
.nav-drop-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.18s;
}
.nav-drop-item:hover { background: rgba(255,255,255,0.08); text-decoration: none; }
.nav-drop-ic {
  width: 34px; height: 34px;
  border-radius: 9px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-drop-item h5 { font-size: 14px; font-weight: 600; color: #f5f5f7; letter-spacing: -0.01em; }
.nav-drop-item p { font-size: 12px; color: #a99fc4; line-height: 1.4; margin-top: 2px; }
.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 5px 14px;
  border-radius: 980px;
  font-size: 12px;
}
.nav-cta:hover { background: var(--blue-hover); }
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: #f5f5f7;
  transition: all 0.3s var(--ease);
}
.nav-burger span:nth-child(1) { top: 15px; }
.nav-burger span:nth-child(2) { top: 23px; }
.nav-open .nav-burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-open .nav-burger span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 833px) {
  .nav-burger { display: block; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(35, 21, 62, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px 40px 40px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease);
  }
  .nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-links > li > a { display: block; padding: 16px 0; font-size: 17px; }
  .nav-cta { border-radius: 12px; text-align: center; margin-top: 16px; }

  /* Dropdown flattens into the mobile list */
  .nav-drop { width: 100%; }
  .nav-drop-toggle { display: none; }
  .nav-drop-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    min-width: 0;
    display: block;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }
  .nav-drop-menu::before { display: none; }
  .nav-drop-item { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-drop-item:last-child { border-bottom: none; }
  .nav-drop-item:hover { background: none; }
  .nav-drop-ic { display: none; }
  .nav-drop-item p { display: none; }
  .nav-drop-item h5 { font-size: 16px; font-weight: 400; color: rgba(255,255,255,0.8); }
}

/* ---------- Typography ---------- */
.headline-xl {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.headline-lg {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.07;
}
.headline-md {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.subhead {
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--text-grey);
}
.eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--blue);
  margin-bottom: 12px;
}
.on-dark .subhead { color: #a1a1a6; }
.on-dark .eyebrow { color: #2997ff; }

/* Gradient text accents */
.grad-security {
  background: linear-gradient(90deg, #41d1ff, #0071e3, #7b5cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-ai {
  background: linear-gradient(90deg, #ff375f, #ff9f0a, #ffd60a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-green {
  background: linear-gradient(90deg, #30d158, #63e6be, #40c8e0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-ciso {
  background: linear-gradient(90deg, #bf5af2, #7b5cff, #2997ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-human {
  background: linear-gradient(90deg, #22c1b6, #2aa5d8, #7b5cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-resilience {
  background: linear-gradient(90deg, #30d158, #2aa5d8, #7b5cff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad-cloud {
  background: linear-gradient(90deg, #0082fb, #46b6ff, #8ad2ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding: 12px 26px;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); transform: scale(1.02); }
.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}
.btn-secondary:hover { background: var(--blue); color: #fff; }
.on-dark .btn-secondary { color: #2997ff; border-color: #2997ff; }
.on-dark .btn-secondary:hover { background: #2997ff; color: #000; }
.btn-lg { font-size: 19px; padding: 16px 34px; }
.btn-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.link-arrow { font-size: 19px; font-weight: 400; }
.link-arrow::after { content: " ›"; }

/* ---------- Sections ---------- */
.section {
  padding: 120px 22px;
  position: relative;
}
.section-inner {
  max-width: 1024px;
  margin: 0 auto;
}
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-grey { background: var(--bg-grey); }
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 64px;
}
.section-header .subhead { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 22px 60px;
  background: #170b2c;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.hero .hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 115%, rgba(0, 113, 227, 0.45), transparent 65%),
    radial-gradient(ellipse 50% 40% at 18% 105%, rgba(123, 92, 255, 0.35), transparent 70%),
    radial-gradient(ellipse 50% 40% at 82% 105%, rgba(191, 90, 242, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(23, 11, 44, 0.93), rgba(23, 11, 44, 0.82)),
    url('../assets/hero.jpg') center / cover no-repeat;
}
.hero .hero-grid {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 80%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 80%, black 30%, transparent 75%);
  animation: gridDrift 24s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 0 64px, 64px 0; }
}
.hero > * { position: relative; z-index: 1; }
.hero .subhead {
  max-width: 680px;
  margin-top: 24px;
  color: #cfc9dd;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #a1a1a6;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 980px;
  padding: 7px 16px;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.04);
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #30d158;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(48,209,88,0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(48,209,88,0); }
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: #6e6e73;
  font-size: 24px;
  animation: bob 2.2s ease-in-out infinite;
  z-index: 1;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Service tiles overview ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 733px) { .tile-grid { grid-template-columns: 1fr; } }
.tile {
  background: var(--bg-grey);
  border-radius: var(--radius-card);
  padding: 44px 40px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.tile:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 48px rgba(0,0,0,0.10);
  text-decoration: none;
}
.tile-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.tile h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.tile p { font-size: 16px; color: var(--text-grey); line-height: 1.5; }
.tile .link-arrow { font-size: 16px; margin-top: auto; }

/* Wide tile (full-width service — der Faktor Mensch) */
.tile-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}
.tile-wide .tile-icon { margin-bottom: 0; }
.tile-wide .tile-body { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 733px) {
  .tile-wide { flex-direction: column; align-items: flex-start; }
}

/* ---------- Featured tile (CISO) ---------- */
.tile-featured {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, #2a1a4a, #1f1235 55%, #35205e);
  color: #f5f5f7;
}
.tile-featured p { color: #bdb4d6; }
.tile-featured h3 { font-size: 30px; }
.tile-chip {
  display: inline-block;
  width: fit-content;
  font-size: 12px;
  font-weight: 600;
  color: #bf8ff5;
  background: rgba(191, 90, 242, 0.16);
  border-radius: 980px;
  padding: 5px 14px;
}

/* ---------- Package cards (CISO as a Service) ---------- */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}
@media (max-width: 833px) { .pkg-grid { grid-template-columns: 1fr; } }
.pkg {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 38px 30px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.pkg:hover { transform: translateY(-5px); }
.pkg.popular {
  border-color: rgba(41, 151, 255, 0.7);
  box-shadow: 0 24px 56px rgba(41, 151, 255, 0.16);
}
.pkg-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 980px;
  white-space: nowrap;
}
.pkg h4 { font-size: 22px; font-weight: 700; color: #f5f5f7; letter-spacing: -0.01em; }
.pkg-scope { font-size: 14px; color: #2997ff; font-weight: 600; margin-top: 6px; }
.pkg-desc { font-size: 14px; color: #a1a1a6; line-height: 1.5; margin-top: 14px; }
.pkg ul {
  list-style: none;
  margin: 20px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pkg li {
  font-size: 14px;
  color: #d9d3ea;
  line-height: 1.45;
  padding-left: 24px;
  position: relative;
}
.pkg li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #30d158;
  font-weight: 700;
}
.pkg .btn { margin-top: auto; text-align: center; }

/* ---------- Feature split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 833px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}
.split-copy .eyebrow { margin-bottom: 10px; }
.split-copy h2 { margin-bottom: 20px; }
.split-copy .subhead { font-size: 19px; margin-bottom: 24px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-grey);
}
.on-dark .feature-list li { color: #a1a1a6; }
.feature-list li strong { color: var(--text-dark); font-weight: 600; }
.on-dark .feature-list li strong { color: #f5f5f7; }
.feature-list .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ---------- Visual cards (SVG stages) ---------- */
.visual-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}
.visual-card svg { width: 100%; height: auto; }
.visual-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  margin-top: 64px;
}
@media (max-width: 733px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
.stat-num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff, #86868b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 15px; color: #86868b; margin-top: 8px; line-height: 1.4; }

/* ---------- Risk scenario cards (CEO section) ---------- */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 733px) { .risk-grid { grid-template-columns: 1fr; } }
.risk-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.risk-card .tile-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 4px; }
.risk-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; }
.risk-card .risk-scenario {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.55;
  font-style: italic;
  border-left: 3px solid #d2d2d7;
  padding-left: 14px;
}
.risk-card .risk-point { font-size: 14px; color: var(--text-grey); line-height: 1.55; }
.risk-card .risk-point strong { color: var(--text-dark); }

/* Light stats variant (on grey/white sections) */
.stats-light .stat-num {
  background: linear-gradient(180deg, #1d1d1f, #6e6e73);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats-light .stat-label { color: var(--text-grey); }
.stats-source {
  text-align: center;
  font-size: 12px;
  color: #a1a1a6;
  margin-top: 28px;
}
.stats-source a { color: #a1a1a6; text-decoration: underline; }

/* ---------- Radar cards (invisible attack surface) ---------- */
.radar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}
@media (max-width: 900px) { .radar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .radar-grid { grid-template-columns: 1fr; } }
.radar-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.radar-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.09); }
.radar-card .tile-icon { width: 44px; height: 44px; border-radius: 11px; margin-bottom: 2px; }
.radar-card h3 { font-size: 17px; font-weight: 700; color: #f5f5f7; letter-spacing: -0.01em; }
.radar-fact {
  font-size: 13px;
  font-weight: 600;
  color: #ffd60a;
  line-height: 1.45;
}
.radar-card p { font-size: 13.5px; color: #a99fc4; line-height: 1.55; }

/* ---------- Sovereignty callout ---------- */
.sov-callout {
  margin-top: 64px;
  background: linear-gradient(120deg, #1f1235, #2a1a4a);
  border-radius: var(--radius-card);
  padding: 48px 44px;
  color: #f5f5f7;
}
@media (max-width: 600px) { .sov-callout { padding: 32px 24px; } }
.sov-callout h3 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 680px;
}
.sov-callout > p { font-size: 16px; color: #bdb4d6; line-height: 1.55; margin-top: 14px; max-width: 720px; }
.sov-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 733px) { .sov-facts { grid-template-columns: 1fr; } }
.sov-fact {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
}
.sov-fact strong { display: block; font-size: 15px; color: #f5f5f7; margin-bottom: 6px; }
.sov-fact span { font-size: 13px; color: #a99fc4; line-height: 1.5; }

/* ---------- End-to-end chain ---------- */
.chain-title { text-align: center; margin: 96px 0 0; }
.chain {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 44px;
  counter-reset: chain;
}
@media (max-width: 900px) { .chain { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .chain { grid-template-columns: 1fr; } }
.chain-step {
  background: var(--bg-grey);
  border-radius: 18px;
  padding: 26px 20px;
  position: relative;
}
.chain-step::before {
  counter-increment: chain;
  content: "0" counter(chain);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  display: block;
  margin-bottom: 10px;
}
.chain-step::after {
  content: "›";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #d2d2d7;
  z-index: 1;
}
.chain-step:last-child::after { content: "↻"; right: 10px; top: 24px; transform: none; color: var(--blue); }
@media (max-width: 900px) { .chain-step::after { display: none; } .chain-step:last-child::after { display: block; } }
.chain-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; color: var(--text-dark); }
.chain-step p { font-size: 13px; color: var(--text-grey); line-height: 1.5; }
.chain-step .chain-svc { display: block; font-size: 12px; font-weight: 600; color: var(--blue); margin-top: 10px; }

/* ---------- VFA security base band ---------- */
.vfa-base {
  margin-top: 16px;
  background: linear-gradient(120deg, #1f1235, #35205e);
  color: #f5f5f7;
  border-radius: 18px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  line-height: 1.45;
}
.vfa-base .lock {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #bf5af2, #5e5ce6);
  display: flex; align-items: center; justify-content: center;
}
.vfa-base strong { color: #d7b8f5; }
.vfa-base .vfa-base-tags { color: #a99fc4; }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
  counter-reset: step;
}
@media (max-width: 833px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: #fff;
  border-radius: 20px;
  padding: 32px 26px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  display: block;
  margin-bottom: 14px;
}
.step h4 { font-size: 19px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.step p { font-size: 14px; color: var(--text-grey); line-height: 1.5; }

/* ---------- Quote / trust ---------- */
.quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.quote cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-size: 16px;
  color: var(--text-grey);
}

.badges-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.badge-pill {
  font-size: 14px;
  font-weight: 500;
  color: #a1a1a6;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 980px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  margin-top: 56px;
}
@media (max-width: 833px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-channels { display: flex; flex-direction: column; gap: 16px; }
.channel {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 20px 22px;
  color: inherit;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}
.channel:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(4px);
  text-decoration: none;
}
.channel-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.channel h4 { font-size: 16px; font-weight: 600; color: #f5f5f7; }
.channel p { font-size: 14px; color: #86868b; margin-top: 2px; }

.form-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
  padding: 40px;
}
@media (max-width: 500px) { .form-card { padding: 28px 22px; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #a1a1a6;
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  color: #f5f5f7;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field select option { color: #1d1d1f; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.25);
}
.field input.invalid, .field textarea.invalid {
  border-color: #ff453a;
  box-shadow: 0 0 0 4px rgba(255, 69, 58, 0.18);
}
.field-error { font-size: 12px; color: #ff6961; margin-top: 6px; display: none; }
.field.show-error .field-error { display: block; }
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: #86868b;
  line-height: 1.5;
  margin: 8px 0 24px;
}
.consent input {
  width: 18px; height: 18px;
  margin-top: 1px;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.visible { display: block; }
.form-success h3 { font-size: 24px; font-weight: 600; color: #f5f5f7; margin: 20px 0 10px; }
.form-success p { color: #a1a1a6; font-size: 16px; }

/* ---------- CTA banner ---------- */
.cta-banner { text-align: center; }
.cta-banner .subhead { max-width: 640px; margin: 20px auto 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-grey);
  padding: 40px 22px 48px;
  font-size: 12px;
  color: var(--text-grey);
}
.footer-inner { max-width: 1024px; margin: 0 auto; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #d2d2d7;
}
@media (max-width: 733px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
.footer-cols h5 { font-size: 12px; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; }
.footer-cols ul { list-style: none; }
.footer-cols li { margin-bottom: 9px; }
.footer-cols a { color: var(--text-grey); }
.footer-cols a:hover { color: var(--text-dark); text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
}
.footer-bottom a { color: var(--text-grey); margin-left: 18px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-grid, .hero-badge .dot, .hero-scroll { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   Login page
   ========================================================== */
.login-body {
  background: var(--bg-grey);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.login-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 22px 60px;
}
.login-card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  padding: 48px 44px;
  width: 100%;
  max-width: 440px;
  text-align: center;
}
@media (max-width: 500px) { .login-card { padding: 36px 26px; } }
.login-card h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 18px 0 6px; }
.login-card > p { font-size: 15px; color: var(--text-grey); margin-bottom: 30px; }
.login-card .field { text-align: left; }
.login-card .field label { color: var(--text-grey); }
.login-card .field input {
  background: var(--bg-grey);
  border-color: #d2d2d7;
  color: var(--text-dark);
}
.login-card .field input:focus { border-color: var(--blue); }
.login-card .btn { width: 100%; margin-top: 6px; }
.login-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #86868b;
  font-size: 13px;
  margin: 22px 0;
}
.login-divider::before, .login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d2d2d7;
}
.sso-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #d2d2d7;
  background: #fff;
  color: var(--text-dark);
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.2s;
}
.sso-btn:hover { background: var(--bg-grey); }
.login-meta { font-size: 13px; color: var(--text-grey); margin-top: 22px; }
.login-alert {
  display: none;
  font-size: 13px;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
  text-align: left;
}
.login-alert.error { display: block; background: rgba(255,69,58,0.1); color: #d70015; }
.login-alert.success { display: block; background: rgba(48,209,88,0.12); color: #1d7a35; }
.mfa-hint {
  font-size: 12px;
  color: #86868b;
  background: var(--bg-grey);
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 18px;
  line-height: 1.5;
}
