/* ================================================================
   PublicRisk.ai — Design System (Light Theme)
   Font: Inter Variable (self-hosted)
   ================================================================ */

@font-face {
  font-family: 'Inter';
  src: url('fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  /* Background */
  --bg: #ffffff;
  --bg-raised: #f8fafc;

  /* Brand / Accent */
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-soft: #eff4ff;
  --accent-grad: linear-gradient(100deg, #2563eb 0%, #4f46e5 100%);

  /* Text */
  --text-1: #0f172a;
  --text-2: #475569;
  --text-3: #64748b;
  --text-4: #94a3b8;

  /* Structural */
  --line: #e8edf3;
  --line-strong: #d3dce6;

  /* Status */
  --green: #059669;

  /* Shape */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 12px 32px -8px rgba(15, 23, 42, 0.12);

  /* Layout */
  --max-w: 1400px;
  --px: 3rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-optical-sizing: auto;
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--blue-soft); color: var(--blue-hover); }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */

.display {
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.06;
  text-wrap: balance;
}

.display-xl { font-size: clamp(2.75rem, 5.5vw, 4.75rem); }
.display-lg { font-size: clamp(2.25rem, 4.5vw, 3.25rem); }
.display-md { font-size: clamp(1.5rem, 2.5vw, 2rem); }

.label {
  font-size: 0.7rem;
  font-weight: 650;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Pill badge (hero eyebrow) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 550;
  color: var(--blue-hover);
  background: var(--blue-soft);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  letter-spacing: 0.02em;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ================================================================
   NAV
   ================================================================ */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 var(--px);
  gap: 2.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text-1);
  transition: opacity 0.2s;
}

.nav-brand:hover { opacity: 0.7; }

.nav-logo {
  flex-shrink: 0;
  color: var(--blue);
}

.nav-links {
  display: flex;
  list-style: none;
  height: 100%;
  gap: 0.25rem;
}

.nav-links li { height: 100%; }

.nav-links a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 1rem;
  color: var(--text-3);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.25s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-1);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--blue);
  border-radius: 2px 2px 0 0;
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-cta {
  background: var(--blue);
  color: #ffffff;
  padding: 0.5rem 1.15rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.3);
  transition: background 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: var(--blue-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-right: -0.5rem;
  color: var(--text-1);
}

.nav-toggle svg { display: block; }
.nav-toggle .icon-close { display: none; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem var(--px) 1.25rem;
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  font-size: 1rem;
  font-weight: 550;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active { color: var(--blue); }

body.menu-open .mobile-menu { display: block; }
body.menu-open .nav-toggle .icon-open { display: none; }
body.menu-open .nav-toggle .icon-close { display: block; }

/* ================================================================
   LAYOUT CONTAINERS
   ================================================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
}

.section {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}

.divider {
  height: 1px;
  background: var(--line);
  max-width: calc(var(--max-w) - 2 * var(--px));
  margin: 0 auto;
}

/* ================================================================
   BUTTONS
   ================================================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue);
  color: #ffffff;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 550;
  padding: 0.8rem 0.5rem;
  transition: color 0.25s, gap 0.2s;
}

.btn-ghost:hover { color: var(--blue); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg);
  color: var(--text-1);
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(15, 23, 42, 0.15);
}

/* ================================================================
   HERO (HOME)
   ================================================================ */

.hero-wrapper {
  background: var(--bg-raised);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* subtle grid texture */
.hero-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 750px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.20) 0%, rgba(79, 70, 229, 0.10) 30%, rgba(37, 99, 235, 0.04) 55%, transparent 75%);
  pointer-events: none;
}

.hero {
  padding-top: 7rem;
  padding-bottom: 5rem;
  width: 100%;
  position: relative;
}

.hero-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.hero-label { margin-bottom: 2rem; }

.hero-rule {
  width: 28px;
  height: 1.5px;
  background: var(--line-strong);
  flex-shrink: 0;
  margin-top: 0.55rem;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.7;
  font-weight: 400;
  max-width: 520px;
  margin: 1.5rem auto 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-4);
  transition: color 0.2s;
}

.scroll-hint:hover { color: var(--blue); }

@media (prefers-reduced-motion: no-preference) {
  .scroll-hint { animation: scroll-bounce 2s ease-in-out infinite; }

  @keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(6px); opacity: 0.5; }
  }

  /* scroll-reveal */
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal.in-view {
    opacity: 1;
    transform: none;
  }
}

/* ================================================================
   CAPABILITIES
   ================================================================ */

.cap-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: end;
}

.cap-intro {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  align-self: end;
}

.cap-intro p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.cap-card {
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}

.cap-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.cap-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 10px;
  margin-bottom: 1.4rem;
}

.cap-name {
  font-size: 1.1rem;
  font-weight: 650;
  margin-bottom: 0.7rem;
  letter-spacing: -0.015em;
  color: var(--text-1);
}

.cap-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
}

.cap-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 550;
  color: var(--blue-hover);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  align-self: flex-start;
}

/* ================================================================
   DATA SOURCES / INTEGRATIONS
   ================================================================ */

.integrations {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6.5rem var(--px);
}

.integrations-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 3rem;
}

.integrations-header p {
  font-size: 0.95rem;
  color: var(--text-2);
  max-width: 400px;
  line-height: 1.7;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.integration-item {
  padding: 1.5rem 1.25rem;
  background: var(--bg-raised);
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color 0.25s, background 0.25s;
}

.integration-item:hover {
  background: var(--bg);
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}

.integration-name {
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
  color: var(--text-1);
}

.integration-desc {
  font-size: 0.68rem;
  color: var(--text-3);
  letter-spacing: 0.01em;
}

/* ================================================================
   WHY / COMPARISON
   ================================================================ */

.why-header { margin-bottom: 4rem; }

.why-subtitle {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-top: 2.25rem;
}

.why-subtitle p {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 540px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.why-item {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--line);
}

.why-item:first-child { border-top: 1px solid var(--line); }

.why-item h3 {
  font-size: 1.05rem;
  font-weight: 620;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  color: var(--text-1);
}

.why-item p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.65;
}

.why-comparison {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem 2.25rem 1rem;
  align-self: center;
}

.comp-label {
  font-size: 0.65rem;
  font-weight: 550;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.comp-head {
  display: grid;
  grid-template-columns: 1fr 115px 100px;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.comp-head span {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.comp-head .us { color: var(--blue); }
.comp-head .them { color: var(--text-4); }

.comp-row {
  display: grid;
  grid-template-columns: 1fr 115px 100px;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-2);
  align-items: center;
}

.comp-row:last-child { border-bottom: none; }

.comp-check { text-align: center; font-size: 0.85rem; }
.comp-yes { color: var(--green); font-weight: 600; }
.comp-no { color: var(--text-4); opacity: 0.35; }

/* ================================================================
   TRUST / SECURITY BAND
   ================================================================ */

.trust-band {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.75rem 3rem;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.trust-band h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.trust-band > div:first-child p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.65;
}

.trust-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 2rem;
  list-style: none;
}

.trust-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
}

.trust-points svg {
  flex-shrink: 0;
  color: var(--green);
  margin-top: 0.15rem;
}

/* ================================================================
   EDITIONS
   ================================================================ */

.editions-header { margin-bottom: 4rem; }

.editions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.edition-card {
  padding: 3rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, border-color 0.25s;
}

.edition-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-hover);
}

.edition-card.featured {
  border-color: rgba(37, 99, 235, 0.35);
  background: linear-gradient(180deg, var(--blue-soft) 0%, var(--bg) 30%);
}

.edition-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.edition-card.featured .edition-label { color: var(--blue); }

.edition-name {
  font-size: 1.5rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  color: var(--text-1);
}

.edition-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.edition-btn {
  display: inline-flex;
  margin-bottom: 2.75rem;
}

.module-list {
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.module-list li {
  font-size: 0.85rem;
  color: var(--text-2);
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.module-list li::before {
  content: '';
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-color: var(--blue);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ================================================================
   CTA
   ================================================================ */

.cta-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px) 6.5rem;
}

.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 55%, #4f46e5 100%);
  color: #ffffff;
  padding: 5rem 3rem;
  border-radius: 24px;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, black 20%, transparent 80%);
  pointer-events: none;
}

.cta-section > * { position: relative; }

.cta-section .label {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
}

.cta-section h2 {
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.cta-body {
  display: flex;
  justify-content: center;
  margin-bottom: 2.25rem;
}

.cta-body p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  max-width: 480px;
}

.cta-section .hero-actions { justify-content: center; }

.cta-section .btn-primary {
  background: #ffffff;
  color: var(--blue-hover);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover { background: #eef2ff; }

.cta-section .btn-ghost { color: rgba(255, 255, 255, 0.75); }
.cta-section .btn-ghost:hover { color: #ffffff; }

/* ================================================================
   FOOTER
   ================================================================ */

footer {
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding: 4rem var(--px);
}

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
  color: var(--text-1);
}

.footer-brand p {
  color: var(--text-3);
  font-size: 0.85rem;
  max-width: 320px;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 650;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.15rem;
}

.footer-col a {
  display: block;
  color: var(--text-3);
  font-size: 0.85rem;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text-1); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem var(--px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
  color: var(--text-4);
  letter-spacing: 0.03em;
}

/* ================================================================
   PAGE HEADER (About / Contact)
   ================================================================ */

.page-header {
  padding-top: 10rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -15%;
  transform: translateY(-50%);
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.10) 0%, rgba(79, 70, 229, 0.05) 40%, transparent 70%);
  pointer-events: none;
}

.page-header .label { margin-bottom: 1.75rem; }

.page-header h1 { margin-bottom: 1.75rem; }

.page-header .subtitle {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 620px;
}

/* ================================================================
   ABOUT PAGE
   ================================================================ */

.mission-block {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 4rem;
  margin-bottom: 5rem;
  background: var(--bg-raised);
}

.mission-block .label { margin-bottom: 1.75rem; }

.mission-block p {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 680px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.value-card {
  padding: 2.5rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, border-color 0.25s;
}

.value-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-hover);
}

.value-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 10px;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 650;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  color: var(--text-1);
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.65;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 5rem;
}

.approach-block .label { margin-bottom: 1.75rem; }

.approach-block h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--text-1);
}

.approach-block p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.72;
  margin-bottom: 1rem;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.contact-card {
  padding: 3rem 2.5rem;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, border-color 0.25s;
}

.contact-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-hover);
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  font-size: 1.25rem;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 12px;
}

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 650;
  margin-bottom: 0.75rem;
  color: var(--text-1);
}

.contact-card p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.contact-card .link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  transition: color 0.2s;
}

.contact-card .link:hover { color: var(--blue-hover); }

/* Calendly scheduling (click-to-load) */
.schedule-header { margin-bottom: 2.5rem; }

.schedule-header h2 { margin-bottom: 0.75rem; }

.schedule-subtitle {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 500px;
}

.calendly-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-raised);
  border: 1px solid var(--line);
}

.calendly-placeholder {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  gap: 1.25rem;
}

.calendly-placeholder .cal-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 14px;
}

.calendly-placeholder h3 {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.calendly-placeholder p {
  font-size: 0.85rem;
  color: var(--text-3);
  max-width: 420px;
  line-height: 1.6;
}

.calendly-notice {
  font-size: 0.72rem !important;
  color: var(--text-4) !important;
}

.calendly-wrap .calendly-inline-widget { margin: 0; }

/* ================================================================
   LEGAL / PRIVACY PAGE
   ================================================================ */

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

.legal-block { margin-bottom: 4rem; }

.legal-block:last-child { margin-bottom: 0; }

.legal-block h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-1);
}

.legal-block h3 {
  font-size: 1rem;
  font-weight: 620;
  margin-bottom: 0.5rem;
  margin-top: 1.75rem;
  letter-spacing: -0.01em;
  color: var(--text-1);
}

.legal-block h3:first-of-type { margin-top: 0; }

.legal-block p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.72;
}

.legal-block a { color: var(--blue); }

/* ================================================================
   404 PAGE
   ================================================================ */

.error-page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 1.25rem;
}

.error-page .code {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--blue);
  letter-spacing: 0.15em;
}

.error-page p {
  color: var(--text-2);
  max-width: 400px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1024px) {
  :root { --px: 2rem; }
}

@media (max-width: 900px) {
  :root { --px: 1.5rem; }

  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .cap-header { grid-template-columns: 1fr; gap: 2rem; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }

  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-comparison { padding: 1.5rem 1.5rem 0.5rem; }

  .trust-band { grid-template-columns: 1fr; gap: 2rem; padding: 2.25rem; }

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

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  .integrations-header { flex-direction: column; align-items: flex-start; }

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

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

  .approach-grid { grid-template-columns: 1fr; gap: 3rem; }

  .mission-block { padding: 2.5rem; }

  .cta-section { padding: 4rem 2rem; }
}

@media (max-width: 600px) {
  :root { --px: 1.25rem; }

  .display-xl { font-size: 2.6rem; }
  .display-lg { font-size: 1.85rem; }
  .cap-grid { grid-template-columns: 1fr; }

  .hero { padding-top: 6rem; }
  .hero-center { padding-bottom: 0; }
  .hero-text { font-size: 0.95rem; margin-top: 1.25rem; max-width: 340px; }
  .hero-actions { margin-top: 2rem; }
  .hero-glow { width: 600px; height: 400px; bottom: -10%; }

  .page-header { padding-top: 8rem; }
  .section { padding-top: 5rem; padding-bottom: 5rem; }

  .edition-card { padding: 2rem; }

  .trust-points { grid-template-columns: 1fr; }

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

  .cta-wrap { padding-bottom: 5rem; }
  .cta-section { padding: 3.5rem 1.5rem; border-radius: 20px; }

  .footer-bottom { flex-direction: column; gap: 0.35rem; }
}
