/* ============================================================
   GLOBAL COMPANY DATA — DESIGN SYSTEM
   Color palette, typography, layout, components
   ============================================================ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

/* ── Tokens ── */
:root {
  --navy:        #07111F;
  --navy-mid:    #0D1F35;
  --navy-light:  #132845;
  --blue:        #1F6FEB;
  --blue-dark:   #155EC7;
  --blue-light:  #EBF3FF;
  --slate:       #334155;
  --slate-light: #64748B;
  --bg:          #F8FAFC;
  --white:       #FFFFFF;
  --green:       #16A34A;
  --border:      #E2E8F0;
  --border-dark: #CBD5E1;

  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;

  --max-w: 1220px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(7,17,31,.07), 0 1px 2px rgba(7,17,31,.05);
  --shadow:    0 4px 16px rgba(7,17,31,.09), 0 1px 4px rgba(7,17,31,.06);
  --shadow-lg: 0 12px 40px rgba(7,17,31,.13), 0 4px 12px rgba(7,17,31,.07);
  --transition: 160ms ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}
button { cursor: pointer; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section--lg { padding: 100px 0; }
.section--sm { padding: 56px 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy-mid { background: var(--navy-mid); color: var(--white); }
.section--bg { background: var(--bg); }
.section--border-top { border-top: 1px solid var(--border); }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy-mid h1,
.section--navy-mid h2,
.section--navy-mid h3 { color: var(--white); }

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
.subheadline {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--slate-light);
  line-height: 1.7;
  max-width: 680px;
  font-weight: 400;
}
.section--navy .subheadline,
.section--navy-mid .subheadline { color: rgba(255,255,255,.65); }
.label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
}
.section--navy .label,
.section--navy-mid .label { color: #6AABFF; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 1.5px solid var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); text-decoration: none; color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border-dark);
}
.btn-outline:hover { border-color: var(--navy); text-decoration: none; color: var(--navy); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline-white:hover { border-color: rgba(255,255,255,.75); text-decoration: none; color: var(--white); }
.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: .875rem; }

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.header-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 0;
}
.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo img { height: 34px; width: auto; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 40px;
  flex: 1;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--slate);
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.nav-link:hover { color: var(--navy); background: var(--bg); text-decoration: none; }
.nav-link svg { width: 14px; height: 14px; flex-shrink: 0; opacity: .6; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  z-index: 200;
}
.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu { display: block; }
.dropdown-link {
  display: block;
  padding: 8px 12px;
  font-size: .875rem;
  color: var(--slate);
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
}
.dropdown-link:hover { background: var(--bg); color: var(--navy); text-decoration: none; }
.dropdown-link .dd-badge {
  font-size: .7rem;
  font-weight: 600;
  background: var(--blue-light);
  color: var(--blue);
  padding: 1px 6px;
  border-radius: 20px;
  margin-left: 6px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .8rem;
  font-weight: 500;
}
.lang-switcher a { color: var(--slate-light); text-decoration: none; padding: 2px 4px; }
.lang-switcher a:hover { color: var(--navy); }
.lang-switcher a.active { color: var(--navy); font-weight: 700; }
.lang-sep { color: var(--border-dark); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: var(--transition); border-radius: 2px; }

/* ── Hero ── */
.hero {
  background: var(--navy);
  padding: 88px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(31,111,235,.12) 0%, transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.025) 39px, rgba(255,255,255,.025) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.025) 39px, rgba(255,255,255,.025) 40px);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 strong { color: #6AABFF; font-weight: 700; }
.hero .subheadline { margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.hero-microcopy { font-size: .8rem; color: rgba(255,255,255,.45); }

/* ── Proof bar ── */
.proof-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 24px 0;
}
.proof-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}
.proof-item svg { color: #6AABFF; flex-shrink: 0; width: 18px; height: 18px; }
.proof-item strong { color: var(--white); }

/* ── Section headers ── */
.section-header { margin-bottom: 48px; }
.section-header .label { margin-bottom: 10px; }
.section-header h2 { margin-bottom: 14px; }
.section-header .subheadline { }

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow); border-color: var(--border-dark); }
.card--navy {
  background: var(--navy-light);
  border-color: rgba(255,255,255,.08);
}
.card--navy h3, .card--navy h4 { color: var(--white); }
.card--navy p { color: rgba(255,255,255,.65); }
.card-icon {
  width: 40px; height: 40px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.card-icon svg { color: var(--blue); width: 20px; height: 20px; }
.card--navy .card-icon { background: rgba(31,111,235,.2); }
.card--navy .card-icon svg { color: #6AABFF; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .9rem; color: var(--slate-light); line-height: 1.6; }
.card--navy p { color: rgba(255,255,255,.6); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 16px;
  text-decoration: none;
}
.card-link:hover { text-decoration: underline; }
.card--navy .card-link { color: #6AABFF; }

/* ── Coverage cards ── */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.coverage-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--slate);
  transition: var(--transition);
  font-size: .9rem;
  font-weight: 500;
  background: var(--white);
}
.coverage-card:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); text-decoration: none; }
.coverage-flag { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }

/* ── Data table ── */
.data-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}
.data-table th {
  background: var(--bg);
  padding: 12px 16px;
  text-align: left;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--slate-light);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--slate);
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg); }
.data-table .mono { font-family: var(--font-mono); font-size: .8125rem; color: var(--navy); }
.table-disclaimer { font-size: .8rem; color: var(--slate-light); margin-top: 12px; }

/* ── How it works ── */
.steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  left: 19px; top: 20px; bottom: 20px;
  width: 1px;
  background: var(--border);
}
.step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-body h4 { color: var(--navy); margin-bottom: 4px; font-size: 1rem; }
.step-body p { font-size: .9rem; color: var(--slate-light); }

/* ── Forms ── */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .01em;
}
.form-label span { color: var(--blue); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  color: var(--navy);
  background: var(--white);
  transition: var(--transition);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,111,235,.1); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-submit { margin-top: 8px; }

/* ── CTA section ── */
.cta-section {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(31,111,235,.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: 14px; position: relative; }
.cta-section p { color: rgba(255,255,255,.6); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo-lockup { margin-bottom: 16px; }
.footer-brand img { height: 30px; width: auto; mix-blend-mode: screen; }
.footer-brand p { font-size: .875rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.55); text-decoration: none; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .8rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .8rem; color: rgba(255,255,255,.4); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,.75); }
.footer-lang { display: flex; gap: 8px; }
.footer-lang a { font-size: .8rem; color: rgba(255,255,255,.4); text-decoration: none; }
.footer-lang a:hover { color: rgba(255,255,255,.75); }

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: .8125rem;
  color: var(--slate-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--slate-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb-sep { opacity: .4; }

/* ── Badge / tag ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
}
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-green { background: #F0FDF4; color: var(--green); }
.badge-navy { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.badge-coming { background: #FFF7ED; color: #C2410C; }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── Checklist ── */
.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--slate);
}
.checklist li::before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%231F6FEB' opacity='.12'/%3E%3Cpath d='M6 10l3 3 5-5' stroke='%231F6FEB' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}
.section--navy .checklist li { color: rgba(255,255,255,.75); }

/* ── Two-col layout ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col--reverse .col-visual { order: -1; }

/* ── Visual mockup ── */
.data-preview {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.data-preview-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.data-preview-header .dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.dot-red { background: #FC6058; }
.dot-yellow { background: #FEC02F; }
.dot-green { background: #2BC43F; }
.data-preview-filename { font-family: var(--font-mono); font-size: .75rem; color: var(--slate-light); margin-left: 8px; }

/* ── Utility ── */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.w-full { width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .two-col { gap: 40px; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section--lg { padding: 72px 0; }
  h1 { font-size: 1.85rem; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 1.6rem; }
  .header-nav { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .lang-switcher { display: none; }
  .card-grid--3 { grid-template-columns: 1fr; }
  .card-grid--2 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .quote-layout { grid-template-columns: 1fr !important; gap: 32px !important; }
  .two-col--reverse .col-visual { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .quote-layout { grid-template-columns: 1fr !important; }
  .form-card { padding: 20px 16px; }
  .proof-bar-inner { gap: 12px; }
  .proof-item { flex: 1 1 45%; }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .lang-switcher { display: none; }
  .coverage-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* ── Mobile nav open state ── */
.site-header.nav-open .header-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px;
  gap: 4px;
  box-shadow: var(--shadow);
  z-index: 99;
  align-items: flex-start;
}
.site-header.nav-open .dropdown-menu {
  display: block;
  position: static;
  box-shadow: none;
  border: none;
  padding: 4px 0 4px 12px;
  background: none;
}

/* Accessibility: respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
