/* ============================================
   GENION — Shared Stylesheet
   Design standard: Automotive OEM page
   Version: Production 1.0
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; color: #1a1a1a; background: #fff; line-height: 1.5; }

/* ---- COLOURS ---- */
:root {
  --teal: #00b8c8;
  --teal-muted: #00a0ae;
  --teal-faint-bg: #f0fafb;
  --teal-faint-border: #c8edf1;
  --near-black: #0e0e0e;
  --dark-card: #151515;
  --headline: #111111;
  --body-dark: #1a1a1a;
  --body-grey: #666666;
  --mid-grey: #777777;
  --light-grey: #888888;
  --muted-grey: #aaaaaa;
  --pale-grey: #bbbbbb;
  --border-light: #e8e8e8;
  --border-faint: #e4e4e4;
  --bg-off-white: #fafafa;
  --bg-white: #ffffff;
}

/* ---- NAVIGATION ---- */
nav {
  background: #fff;
  padding: 18px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo-text { font-size: 21px; font-weight: 500; color: var(--body-dark); letter-spacing: -0.5px; text-decoration: none; }
.logo-dot { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 14px; color: var(--mid-grey); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--body-dark); }
.nav-links a.active { color: var(--body-dark); font-weight: 500; }
.nav-cta { background: var(--teal); color: #fff !important; padding: 9px 20px; border-radius: 6px; font-weight: 500; }
.nav-cta:hover { opacity: 0.9; }

/* ---- BUTTONS ---- */
.btn-primary { background: var(--teal); color: #fff; border: none; padding: 14px 32px; border-radius: 6px; font-size: 15px; font-weight: 500; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-ghost { background: #fff; color: #555; border: 1px solid var(--border-light); padding: 14px 32px; border-radius: 6px; font-size: 15px; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-primary:hover { opacity: 0.9; }
.btn-ghost:hover { border-color: #bbb; }

/* ---- SECTION LABEL (eyebrow) ---- */
.section-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--teal-muted); font-weight: 500; margin-bottom: 16px; }

/* ---- EYEBROW PILL ---- */
.eyebrow { display: inline-block; background: var(--teal-faint-bg); color: var(--teal-muted); font-size: 11px; font-weight: 500; padding: 4px 12px; border-radius: 20px; margin-bottom: 36px; letter-spacing: 0.6px; text-transform: uppercase; border: 1px solid var(--teal-faint-border); }

/* ---- HERO ---- */
.hero { background: #fff; padding: 120px 56px 110px; text-align: center; border-bottom: 1px solid var(--border-light); }
.hero h1 { font-size: 54px; font-weight: 500; color: var(--headline); line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 28px; max-width: 760px; margin-left: auto; margin-right: auto; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-wordmark-genion { font-size: 64px; font-weight: 500; color: var(--headline); letter-spacing: -2.5px; line-height: 1; display: block; }
.hero-wordmark-ts { font-size: 64px; font-weight: 500; color: var(--teal); letter-spacing: -2.5px; line-height: 1.1; display: block; }
.hero-divider { width: 36px; height: 2px; background: var(--teal); margin: 32px auto; opacity: 0.6; }
.hero-sub { font-size: 19px; color: var(--body-grey); max-width: 560px; margin: 0 auto 52px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-tags { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 52px; flex-wrap: wrap; }
.hero-tag { font-size: 12px; color: var(--mid-grey); padding: 5px 14px; border: 1px solid var(--border-faint); border-radius: 20px; background: var(--bg-off-white); }

/* ---- HERO PILLAR STRIP ---- */
.hero-pillars { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 64px; border-top: 1px solid var(--border-light); padding-top: 40px; flex-wrap: wrap; }
.hero-pillar { padding: 0 36px; text-align: center; }
.hero-pillar + .hero-pillar { border-left: 1px solid var(--border-light); }
.hero-pillar-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--teal-muted); font-weight: 500; margin-bottom: 6px; }
.hero-pillar-text { font-size: 14px; color: #555; font-weight: 500; }

/* ---- HERO STAT STRIP ---- */
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 64px; border-top: 1px solid var(--border-light); padding-top: 40px; flex-wrap: wrap; }
.hero-stat { padding: 0 40px; text-align: center; }
.hero-stat + .hero-stat { border-left: 1px solid var(--border-light); }
.hero-stat-num { font-size: 32px; font-weight: 500; color: var(--headline); letter-spacing: -1px; margin-bottom: 6px; }
.hero-stat-num span { color: var(--teal); }
.hero-stat-label { font-size: 12px; color: var(--muted-grey); line-height: 1.5; max-width: 140px; margin: 0 auto; }

/* ---- SECTION BASE ---- */
.section-white { background: #fff; padding: 100px 56px; border-bottom: 1px solid var(--border-light); }
.section-offwhite { background: var(--bg-off-white); padding: 100px 56px; border-bottom: 1px solid var(--border-light); }
.section-dark { background: var(--near-black); padding: 100px 56px; border-bottom: 1px solid #222; }
.section-inner { max-width: 920px; margin: 0 auto; }
.section-inner-sm { max-width: 780px; margin: 0 auto; }

/* ---- SECTION HEADINGS ---- */
.section-h2 { font-size: 36px; font-weight: 500; color: var(--headline); letter-spacing: -0.75px; line-height: 1.18; margin-bottom: 14px; }
.section-h2 em { color: var(--teal); font-style: normal; }
.section-h2-dark { font-size: 36px; font-weight: 500; color: #fff; letter-spacing: -0.75px; line-height: 1.18; margin-bottom: 14px; }
.section-h2-dark em { color: var(--teal); font-style: normal; }
.section-h3 { font-size: 34px; font-weight: 500; color: var(--headline); letter-spacing: -0.75px; line-height: 1.2; margin-bottom: 14px; }
.section-h3 em { color: var(--teal); font-style: normal; }
.section-body { font-size: 16px; color: var(--light-grey); line-height: 1.7; max-width: 620px; margin-bottom: 52px; }
.section-body-dark { font-size: 16px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 620px; margin-bottom: 52px; }

/* ---- TEAL TOP BORDER CARDS ---- */
.card { background: #fff; border: 1px solid var(--border-light); border-top: 2px solid var(--teal); border-radius: 10px; padding: 32px 28px; }
.card h3 { font-size: 16px; font-weight: 500; color: var(--headline); margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--light-grey); line-height: 1.65; }
.card-num { font-size: 11px; color: var(--teal-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.card-icon { width: 34px; height: 34px; border-radius: 8px; background: rgba(0,184,200,0.08); display: flex; align-items: center; justify-content: center; font-size: 16px; margin-bottom: 16px; border: 1px solid rgba(0,184,200,0.15); }
.card h4 { font-size: 15px; font-weight: 500; color: var(--headline); margin-bottom: 8px; }

/* ---- DARK CARDS ---- */
.card-dark { background: var(--dark-card); border: 1px solid rgba(255,255,255,0.06); border-top: 2px solid var(--teal); border-radius: 10px; padding: 28px 24px; }
.card-dark h3 { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 8px; }
.card-dark p { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.65; }
.card-dark-tag { font-size: 11px; color: var(--teal); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; margin-bottom: 12px; }

/* ---- PILLAR GRID (dark, gap style) ---- */
.pillar-grid { display: grid; gap: 1px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; overflow: hidden; }
.pillar-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pillar-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pillar { background: var(--dark-card); padding: 32px 28px; }
.pillar-num { font-size: 11px; color: var(--teal); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.pillar h3 { font-size: 16px; font-weight: 500; color: #fff; margin-bottom: 10px; }
.pillar p { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.65; }

/* ---- STAT ROWS (dark) ---- */
.stat-stack { display: flex; flex-direction: column; gap: 1px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; overflow: hidden; }
.stat-row { background: var(--dark-card); padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; }
.stat-num { font-size: 32px; font-weight: 500; color: #fff; letter-spacing: -1px; }
.stat-num span { color: var(--teal); }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.35); text-align: right; max-width: 200px; line-height: 1.5; }
.stat-insight { background: rgba(0,184,200,0.06); border: 1px solid rgba(0,184,200,0.15); border-radius: 10px; padding: 24px 28px; margin-top: 1px; }
.stat-insight p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.65; }
.stat-insight em { color: var(--teal); font-style: normal; font-weight: 500; }

/* ---- STAT ROWS (light) ---- */
.stat-stack-light { display: flex; flex-direction: column; gap: 1px; background: var(--border-light); border: 1px solid var(--border-light); border-radius: 10px; overflow: hidden; }
.stat-row-light { background: #fff; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; }
.stat-num-light { font-size: 28px; font-weight: 500; color: var(--headline); letter-spacing: -0.75px; }
.stat-num-light span { color: var(--teal); }
.stat-label-light { font-size: 13px; color: var(--muted-grey); text-align: right; max-width: 220px; line-height: 1.5; }
.stat-insight-light { background: var(--teal-faint-bg); border: 1px solid var(--teal-faint-border); padding: 20px 24px; }
.stat-insight-light p { font-size: 14px; color: #555; line-height: 1.65; }
.stat-insight-light em { color: var(--teal-muted); font-style: normal; font-weight: 500; }

/* ---- LEFT BORDER CARDS ---- */
.card-left { background: var(--bg-off-white); border: 1px solid var(--border-light); border-left: 3px solid var(--teal); border-radius: 10px; padding: 24px; }
.card-left-tag { font-size: 11px; color: var(--teal-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; margin-bottom: 8px; }
.card-left h4 { font-size: 15px; font-weight: 500; color: var(--headline); margin-bottom: 6px; }
.card-left p { font-size: 13px; color: #999; line-height: 1.55; }

/* ---- INSIGHT BOX (teal tint, dark) ---- */
.insight-box { background: rgba(0,184,200,0.06); border: 1px solid rgba(0,184,200,0.15); border-radius: 10px; padding: 24px 28px; }
.insight-box p { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.65; }
.insight-box em { color: var(--teal); font-style: normal; font-weight: 500; }
.insight-box h4 { font-size: 16px; font-weight: 500; color: #fff; margin-bottom: 10px; }

/* ---- NOTE BOX (teal tint, light) ---- */
.note-box { background: var(--teal-faint-bg); border: 1px solid var(--teal-faint-border); border-radius: 10px; padding: 20px 24px; display: flex; align-items: flex-start; gap: 12px; }
.note-box p { font-size: 13px; color: #555; line-height: 1.65; }
.note-box strong { color: var(--headline); font-weight: 500; }

/* ---- LISTS ---- */
.bullet-list { list-style: none; }
.bullet-list li { font-size: 15px; color: #555; padding: 12px 0; border-bottom: 1px solid #f2f2f2; padding-left: 18px; position: relative; line-height: 1.5; }
.bullet-list li:last-child { border-bottom: none; }
.bullet-list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.bullet-list-sm li { font-size: 14px; color: var(--light-grey); padding: 5px 0; }
.bullet-list-sm li::before { top: 14px; width: 5px; height: 5px; opacity: 0.7; }

/* ---- GRIDS ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-2-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.grid-2-center { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* ---- HOW STEPS ---- */
.how-steps { display: flex; flex-direction: column; gap: 1px; background: var(--border-light); border: 1px solid var(--border-light); border-radius: 10px; overflow: hidden; }
.how-step { background: #fff; padding: 22px 24px; display: flex; align-items: flex-start; gap: 14px; }
.how-step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--near-black); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; flex-shrink: 0; margin-top: 1px; }
.how-step-title { font-size: 14px; font-weight: 500; color: var(--headline); margin-bottom: 3px; }
.how-step-body { font-size: 13px; color: var(--muted-grey); line-height: 1.5; }

/* ---- FRAMEWORK STEPS ---- */
.framework-steps { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; }
.fw-step { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fw-step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--near-black); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; }
.fw-step-label { font-size: 13px; color: #555; }
.fw-arrow { color: var(--teal); font-size: 16px; margin-bottom: 24px; padding: 0 6px; opacity: 0.6; }

/* ---- SPLIT CARD (before/after) ---- */
.split-card-before { padding: 32px; border-radius: 10px; background: var(--bg-off-white); border: 1px solid var(--border-light); }
.split-card-after { padding: 32px; border-radius: 10px; background: var(--teal-faint-bg); border: 1px solid var(--teal-faint-border); }
.split-card-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; margin-bottom: 18px; }
.split-card-before .split-card-label { color: #bbb; }
.split-card-after .split-card-label { color: var(--teal-muted); }
.split-card-before h3, .split-card-after h3 { font-size: 18px; font-weight: 500; color: var(--headline); margin-bottom: 12px; letter-spacing: -0.25px; line-height: 1.3; }
.split-card-before p, .split-card-after p { font-size: 14px; color: var(--light-grey); line-height: 1.7; }
.split-card-after p { color: #555; }

/* ---- JOURNEY VISUAL ---- */
.journey-card { background: #fff; border: 1px solid var(--border-light); border-radius: 10px; padding: 32px; }
.journey-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--teal-muted); font-weight: 500; margin-bottom: 20px; }
.journey-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid #f5f5f5; }
.journey-row:first-of-type { padding-top: 0; }
.journey-row:last-child { border-bottom: none; padding-bottom: 0; }
.journey-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(0,184,200,0.08); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; border: 1px solid rgba(0,184,200,0.12); }
.journey-title { font-size: 14px; font-weight: 500; color: var(--headline); margin-bottom: 2px; }
.journey-sub { font-size: 13px; color: var(--muted-grey); line-height: 1.4; }

/* ---- TRUST SCORE (dark section) ---- */
.ts-header { margin-bottom: 48px; max-width: 620px; }
.ts-header h2 { font-size: 34px; font-weight: 500; color: #fff; letter-spacing: -0.75px; margin-bottom: 12px; line-height: 1.2; }
.ts-header p { font-size: 16px; color: rgba(255,255,255,0.45); line-height: 1.7; }

/* ---- CLOSING CTA ---- */
.final-cta { background: #fff; padding: 100px 56px; text-align: center; border-top: 1px solid var(--border-light); }
.final-cta-inner { max-width: 520px; margin: 0 auto; }
.final-cta h2 { font-size: 34px; font-weight: 500; color: var(--headline); letter-spacing: -0.75px; margin-bottom: 14px; line-height: 1.2; }
.final-cta p { font-size: 16px; color: var(--light-grey); margin-bottom: 36px; line-height: 1.7; }
.final-cta-btn { background: var(--teal); color: #fff; border: none; padding: 14px 36px; border-radius: 6px; font-size: 15px; font-weight: 500; cursor: pointer; text-decoration: none; display: inline-block; }
.final-cta-note { font-size: 13px; color: var(--pale-grey); margin-top: 14px; }

/* ---- FOOTER ---- */
footer { background: var(--near-black); padding: 52px 56px 36px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; max-width: 920px; margin: 0 auto 40px; }
.footer-logo-text { font-size: 22px; font-weight: 500; color: #fff; letter-spacing: -0.5px; margin-bottom: 10px; text-decoration: none; display: block; }
.footer-logo-dot { color: var(--teal); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.6; max-width: 200px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.35); font-weight: 500; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 920px; margin: 0 auto; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-domain { font-size: 12px; color: rgba(255,255,255,0.2); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links { gap: 16px; }
  .hero { padding: 70px 20px; }
  .hero h1 { font-size: 36px; }
  .hero-wordmark-genion, .hero-wordmark-ts { font-size: 44px; }
  .hero-sub { font-size: 16px; }
  .hero-pillars, .hero-stats { gap: 20px; }
  .hero-pillar + .hero-pillar, .hero-stat + .hero-stat { border-left: none; border-top: 1px solid var(--border-light); padding-top: 20px; }
  .section-white, .section-offwhite, .section-dark { padding: 60px 20px; }
  .grid-3, .grid-2, .grid-2-wide, .grid-2-center { grid-template-columns: 1fr; gap: 20px; }
  .pillar-grid-3, .pillar-grid-2 { grid-template-columns: 1fr; }
  .framework-steps { gap: 8px; }
  .final-cta { padding: 70px 20px; }
  footer { padding: 40px 20px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ============================================
   GLOBAL HEADER & HAMBURGER MENU
   ============================================ */

/* ---- HEADER ---- */
.site-header {
  background: #fff;
  padding: 18px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 200;
}

/* ---- HAMBURGER BUTTON ---- */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 201;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--body-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- DROPDOWN MENU — contained, not full width ---- */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1.5px solid var(--teal);
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 199;
  min-width: 160px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-dropdown.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--headline);
  text-decoration: none;
  padding: 12px 18px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  color: var(--teal);
  background: var(--bg-off-white);
}

/* ---- OVERLAY — light, just closes menu on outside click ---- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 198;
  opacity: 0;
  pointer-events: none;
}
.nav-overlay.open {
  pointer-events: all;
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .site-header { padding: 16px 20px; }
  .nav-dropdown {
    right: 0;
    min-width: 160px;
  }
}
