/*
Theme Name: Gentrac Norma
Theme URI: https://gentraclabs.com
Description: Official website theme for Gentrac Labs — Smartphone Medical AI Diagnostics. Norma platform and diagnostic pipeline.
Version: 1.0
Author: Gentrac Labs
Author URI: https://gentraclabs.com
License: Apache License 2.0
Text Domain: gentrac-norma
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --white:        #FFFFFF;
  --off-white:    #F9FAFB;
  --light-gray:   #F3F4F6;
  --border:       #E5E7EB;
  --text-muted:   #9CA3AF;
  --text-secondary: #6B7280;
  --text-body:    #374151;
  --text-dark:    #0F172A;
  --brand-blue:   #2563EB;
  --brand-blue-dark: #1D4ED8;
  --brand-blue-light: #EFF6FF;
  --black:        #111827;
  --dark:         #0F172A;
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.07);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
  --radius:       8px;
  --radius-sm:    4px;
  --transition:   0.2s ease;
  --font-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-height:   72px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: var(--font-sans);
  font-size: 1rem;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.15;
  font-weight: 700;
}
h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.3;
}
h1 { font-size: clamp(2.4rem, 4.5vw, 3.75rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4 { font-size: 1.05rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.container--narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px;
}
.section {
  padding: 96px 0;
}
.section--gray {
  background: var(--off-white);
}
.section--light-gray {
  background: var(--light-gray);
}
.section--dark {
  background: var(--dark);
  color: var(--white);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}
.section--dark p {
  color: rgba(255,255,255,0.72);
}
.section--dark .text-secondary {
  color: rgba(255,255,255,0.55);
}

/* Section label (blue pill tag) */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
  flex-shrink: 0;
}
.section--dark .section-label {
  color: rgba(255,255,255,0.6);
}
.section--dark .section-label::before {
  background: rgba(255,255,255,0.6);
}

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.text-blue  { color: var(--brand-blue); }
.text-muted { color: var(--text-muted); font-size: 0.9rem; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--black);
  color: var(--white);
  border: 1.5px solid var(--black);
}
.btn-primary:hover {
  background: #1a2332;
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--text-dark);
}
.btn-blue {
  background: var(--brand-blue);
  color: var(--white);
  border: 1.5px solid var(--brand-blue);
}
.btn-blue:hover {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
}
.btn-blue-outline {
  background: transparent;
  color: var(--brand-blue);
  border: 1.5px solid var(--brand-blue);
}
.btn-blue-outline:hover {
  background: var(--brand-blue);
  color: var(--white);
}
.btn .arrow {
  font-style: normal;
  font-size: 1rem;
  transition: transform 0.2s;
  line-height: 1;
}
.btn:hover .arrow { transform: translate(2px, -2px); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: #d1d5db;
}
.card--dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
.card--dark:hover {
  background: rgba(255,255,255,0.1);
  box-shadow: none;
}
.card-number {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.card-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-style: normal;
}
.card-body {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo img,
.nav-logo svg {
  width: 40px;
  height: 40px;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-name {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
}
.nav-logo-sub {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-blue);
}
.nav-links a.current-menu-item {
  color: var(--brand-blue);
}
.nav-cta {
  flex-shrink: 0;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.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);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 99;
  padding: 32px 28px;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--brand-blue); }
.mobile-nav .btn { margin-top: 24px; width: 100%; justify-content: center; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 96px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  opacity: 0.035;
  pointer-events: none;
  user-select: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.hero-content { max-width: 600px; }
.hero h1 {
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.hero h1 em {
  color: var(--brand-blue);
  font-style: italic;
}
.hero-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-stat-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 380px;
}
.hero-stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
.hero-stat-card .stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-card .stat-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.3;
}
.hero-stat-card.highlight {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}
.hero-stat-card.highlight .stat-number,
.hero-stat-card.highlight .stat-label {
  color: var(--white);
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem-header {
  max-width: 640px;
  margin-bottom: 56px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.problem-card-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.problem-card h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.problem-card p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}
.regulator-strip {
  border-top: 1px solid var(--border);
  padding-top: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.regulator-strip .strip-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 8px;
}
.reg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--light-gray);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-body);
}
.reg-badge::before {
  content: '✓';
  color: var(--brand-blue);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ============================================================
   FOUNDING STORY
   ============================================================ */
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.story-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.story-stat {
  padding: 28px;
  border-bottom: 1px solid var(--border);
}
.story-stat:last-child { border-bottom: none; }
.story-stat .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 4px;
}
.story-stat .number.blue { color: var(--brand-blue); }
.story-stat .label {
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.story-content h2 { margin-bottom: 24px; }
.story-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.story-pull-quote {
  margin-top: 36px;
  padding: 24px 28px;
  border-left: 3px solid var(--brand-blue);
  background: var(--brand-blue-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.story-pull-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 500;
  margin: 0;
}

/* ============================================================
   INSIGHT SECTION
   ============================================================ */
.insight-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.insight-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}
.insight-panel {
  padding: 40px 36px;
}
.insight-panel:first-child {
  border-right: 1px solid var(--border);
  background: var(--white);
}
.insight-panel:last-child {
  background: var(--off-white);
}
.insight-panel-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.insight-panel h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.insight-panel p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.insight-callout {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 32px 36px;
  text-align: center;
}
.insight-callout p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 500;
  max-width: 680px;
  margin: 0 auto;
}
.insight-callout .highlight { color: var(--brand-blue); }

/* ============================================================
   NORMA PLATFORM
   ============================================================ */
.platform-header {
  max-width: 640px;
  margin-bottom: 56px;
}
.platform-layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}
.platform-layer {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  position: relative;
}
.platform-layer:last-child { border-right: none; }
.platform-layer-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 8px;
}
.platform-layer-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.platform-layer h4 {
  font-size: 1rem;
  margin-bottom: 12px;
}
.platform-layer p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.platform-layer.moat {
  background: var(--off-white);
}
.poc-panel {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.poc-panel .poc-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  grid-column: 1 / -1;
}
.poc-stat {
  text-align: center;
}
.poc-stat .poc-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.poc-stat .poc-number span {
  color: var(--brand-blue);
}
.poc-stat .poc-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.poc-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.12);
  align-self: center;
}
.poc-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  font-style: italic;
}

/* ============================================================
   TRACTION STRIP
   ============================================================ */
.traction-section {
  background: var(--brand-blue-light);
  border-top: 1px solid rgba(37,99,235,0.15);
  border-bottom: 1px solid rgba(37,99,235,0.15);
  padding: 56px 0;
}
.traction-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 40px;
}
.traction-item {
  padding: 0 32px;
  border-right: 1px solid rgba(37,99,235,0.2);
  text-align: center;
}
.traction-item:last-child { border-right: none; }
.traction-item:first-child { padding-left: 0; }
.traction-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 4px;
}
.traction-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.traction-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.35;
}
.traction-why-now {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(37,99,235,0.15);
}
.traction-why-now .label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 14px;
}
.why-now-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.why-tag {
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-body);
}

/* ============================================================
   DIAGNOSTIC PIPELINE
   ============================================================ */
.pipeline-header {
  max-width: 640px;
  margin-bottom: 48px;
}
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #d1d5db;
}
.product-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.product-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.product-modality {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.modality-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}
.eye-based .modality-dot { background: #7C3AED; }
.mucosal .modality-dot { background: #059669; }
.skin-based .modality-dot { background: #D97706; }
.product-status {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.status-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}
.status-poc {
  background: #ECFDF5;
  color: #065F46;
}
.status-poc::before { background: #10B981; }
.status-preclinical {
  background: #FFF7ED;
  color: #92400E;
}
.status-preclinical::before { background: #F59E0B; }
.status-dev {
  background: var(--light-gray);
  color: var(--text-secondary);
}
.status-dev::before { background: var(--text-muted); }
.pipeline-note {
  padding: 20px 24px;
  background: var(--off-white);
  border-radius: var(--radius);
  border-left: 3px solid var(--brand-blue);
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-header {
  max-width: 560px;
  margin-bottom: 56px;
}
.team-grid {
  display: grid;
  gap: 16px;
  /* grid-template-columns set by JS based on member count */
  grid-template-columns: repeat(4, 1fr);
}
.team-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: background var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.team-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
.team-card:hover .team-name {
  color: var(--brand-blue);
}
.team-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.team-card img.team-photo {
  display: block;
}
.team-role {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}
.team-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 12px;
  transition: color var(--transition);
}
.team-bio {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin: 0 0 14px;
}
.team-credential {
  margin-top: auto;
  padding: 6px 10px;
  background: rgba(37,99,235,0.2);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: #93C5FD;
  font-weight: 500;
}
.team-li-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  width: fit-content;
  letter-spacing: 0.04em;
}

/* ============================================================
   TEAM PROFILE OVERLAY
   ============================================================ */
.team-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.team-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.team-profile {
  background: #0F172A;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  max-height: 88vh;
  overflow-y: auto;
  transform: translateY(14px);
  transition: transform 0.25s ease;
}
.team-overlay.open .team-profile {
  transform: translateY(0);
}
.team-profile-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  line-height: 1;
}
.team-profile-close:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.team-profile-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  padding-right: 40px;
}
.team-profile-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  overflow: hidden;
}
.team-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-profile-role {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}
.team-profile-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--brand-blue);
  font-weight: 700;
  line-height: 1.2;
}
.team-profile-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 0 0 20px;
}
.team-profile-bio {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 20px;
}
.team-profile-cred {
  display: inline-block;
  padding: 6px 10px;
  background: rgba(37,99,235,0.2);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: #93C5FD;
  font-weight: 500;
  margin-bottom: 16px;
}
.team-profile-li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  transition: all var(--transition);
}
.team-profile-li:hover {
  border-color: #0A66C2;
  color: #93C5FD;
  background: rgba(10,102,194,0.15);
}

/* ============================================================
   GTM PANEL
   ============================================================ */
.gtm-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.gtm-content h2 { margin-bottom: 20px; }
.gtm-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}
.gtm-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: gap var(--transition);
}
.gtm-link:hover { gap: 12px; }
.gtm-link .arrow { font-size: 0.9rem; }
.gtm-slider {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gtm-record-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.gtm-record-stat {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-blue);
  white-space: nowrap;
}
.gtm-record-desc strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.gtm-record-desc span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.gtm-record-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 4px;
}

/* ============================================================
   INSIGHTS / BLOG
   ============================================================ */
.insights-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}
.insights-header .view-all {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-blue);
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--brand-blue);
  transition: opacity var(--transition);
}
.insights-header .view-all:hover { opacity: 0.7; }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.insight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.insight-card:hover { box-shadow: var(--shadow-md); }
.insight-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--light-gray);
}
.insight-card-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--border);
}
.insight-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.insight-card-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 8px;
}
.insight-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 10px;
}
.insight-card-excerpt {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}
.insight-card-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0;
}
.insights-empty {
  text-align: center;
  padding: 64px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}
.insights-empty p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================================
   BLOG / INSIGHTS PAGE (archive, single)
   ============================================================ */
.page-hero {
  padding-top: calc(var(--nav-height) + 72px);
  padding-bottom: 72px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  margin-bottom: 12px;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 72px 0;
}
.single-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 28px;
}
.single-post-header {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 48px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.single-post-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.single-post-meta .cat {
  color: var(--brand-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
}
.post-content {
  padding-top: 48px;
  padding-bottom: 72px;
}
.post-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}
.post-content h2 {
  font-size: 1.7rem;
  margin: 2.5rem 0 1rem;
}
.post-content h3 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
}
.post-content ul, .post-content ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 1.5rem;
}
.post-content ul li, .post-content ol li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  color: var(--text-body);
}
.post-content blockquote {
  border-left: 3px solid var(--brand-blue);
  padding-left: 24px;
  margin: 2rem 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-dark);
}
.post-content img {
  border-radius: var(--radius);
  margin: 2rem 0;
}
.post-content a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   CONTACT MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.6);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  background: var(--white);
  border-radius: 12px;
  padding: 44px 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.25s ease;
  box-shadow: var(--shadow-lg);
}
.modal-overlay.open .modal {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: background var(--transition);
}
.modal-close:hover { background: var(--border); }
.modal h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.modal .modal-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  appearance: auto;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 8px;
  transition: background var(--transition);
}
.form-submit:hover { background: #1a2332; }
.form-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 12px;
}
.form-success {
  text-align: center;
  padding: 32px 0;
  display: none;
}
.form-success .check {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.form-success h4 { margin-bottom: 8px; }
.form-success p { color: var(--text-secondary); font-size: 0.88rem; margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 36px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .nav-logo-name,
.footer-brand .nav-logo-sub {
  color: var(--white);
}
.footer-brand .nav-logo-sub { color: var(--brand-blue); }
.footer-brand p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}
.footer-col h5 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}
.footer-bottom a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   GENERIC PAGE TEMPLATE
   ============================================================ */
.generic-page-content {
  padding: 72px 0;
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .hero { padding-bottom: 72px; }
  .platform-layers { grid-template-columns: 1fr; }
  .platform-layer { border-right: none; border-bottom: 1px solid var(--border); }
  .platform-layer:last-child { border-bottom: none; }
  .pipeline-grid { grid-template-columns: repeat(3, 1fr); }
  .traction-grid { grid-template-columns: repeat(2, 1fr); }
  .traction-item { padding: 20px; border-right: none; border-bottom: 1px solid rgba(37,99,235,0.2); }
  .traction-item:nth-child(2n) { border-right: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer-brand { grid-column: 1 / -1; }
  .gtm-inner { grid-template-columns: 1fr; gap: 48px; }
  .poc-panel { grid-template-columns: 1fr 1fr; }
  .poc-divider { display: none; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 40px; }
}


/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container, .container--narrow { padding: 0 20px; }

  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }

  /* Hero */
  .hero { padding-top: calc(var(--nav-height) + 48px); padding-bottom: 56px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }

  /* Generic grids / misc that don't get swipers */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .modal { padding: 32px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .insights-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .regulator-strip { gap: 8px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }

  /* POC panel — vertical stack */
  .poc-panel { grid-template-columns: 1fr; text-align: center; }
  .poc-note, .poc-label { grid-column: 1; }

  /* ============================================================
     MOBILE SWIPERS — horizontal scroll-snap carousels
     Cards peek ~82-88% width so the next card is visible,
     signalling swipeability. No JS library needed.
     ============================================================ */

  /* Common swiper base */
  .problem-grid,
  .insight-comparison,
  .platform-layers,
  .traction-grid,
  .pipeline-grid,
  .team-grid,
  .insights-grid,
  .post-grid,
  .story-stats {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .problem-grid::-webkit-scrollbar,
  .insight-comparison::-webkit-scrollbar,
  .platform-layers::-webkit-scrollbar,
  .traction-grid::-webkit-scrollbar,
  .pipeline-grid::-webkit-scrollbar,
  .team-grid::-webkit-scrollbar,
  .insights-grid::-webkit-scrollbar,
  .post-grid::-webkit-scrollbar,
  .story-stats::-webkit-scrollbar { display: none; }

  /* Problem cards (6 cards) */
  .problem-grid { gap: 14px; padding-bottom: 20px; margin-bottom: 32px; }
  .problem-card { flex: 0 0 82%; scroll-snap-align: start; min-width: 0; }

  /* Founding story — text on top, stats as horizontal swiper below */
  .story-inner { grid-template-columns: 1fr; gap: 0; }
  .story-content { order: -1; margin-bottom: 36px; }
  .story-stats { flex-direction: row; gap: 0; padding-bottom: 20px; }
  .story-stat {
    flex: 0 0 74%;
    scroll-snap-align: start;
    border-bottom: none;
    border-right: 1px solid var(--border);
    padding: 24px;
    flex-shrink: 0;
  }
  .story-stat:last-child { border-right: none; }

  /* Insight comparison panels (2 panels) */
  .insight-comparison {
    gap: 14px;
    padding-bottom: 20px;
    border: none;
    border-radius: 0;
    overflow-x: auto;
    overflow-y: visible;
  }
  .insight-panel,
  .insight-panel:first-child,
  .insight-panel:last-child {
    flex: 0 0 88%;
    scroll-snap-align: start;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius);
    min-width: 0;
  }

  /* Platform layers (3 layers) — override 1024px stacked grid */
  .platform-layers {
    gap: 14px;
    padding-bottom: 20px;
    border: none;
    border-radius: 0;
    overflow-x: auto;
  }
  .platform-layer {
    flex: 0 0 85%;
    scroll-snap-align: start;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius);
    min-width: 0;
  }

  /* Traction (4 items) */
  .traction-grid { gap: 0; padding-bottom: 20px; margin-bottom: 0; }
  .traction-item {
    flex: 0 0 76%;
    scroll-snap-align: start;
    padding: 20px 24px;
    border-right: 1px solid rgba(37,99,235,0.2);
    border-bottom: none;
    text-align: center;
    flex-shrink: 0;
  }
  .traction-item:first-child { padding-left: 24px; }
  .traction-item:last-child { border-right: none; }

  /* Pipeline cards (5 cards) */
  .pipeline-grid { gap: 14px; padding-bottom: 20px; }
  .product-card { flex: 0 0 80%; scroll-snap-align: start; min-width: 0; }

  /* Team cards */
  .team-grid {
    gap: 14px !important;
    padding-bottom: 20px;
    grid-template-columns: unset !important;
  }
  .team-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
    grid-column: unset !important;
    min-width: 0;
  }

  /* Insight / post cards */
  .insights-grid { gap: 14px; padding-bottom: 20px; }
  .post-grid { gap: 14px; padding: 48px 0 20px; }
  .insight-card { flex: 0 0 84%; scroll-snap-align: start; min-width: 0; }

  /* ============================================================
     NEWSLETTER — improved mobile layout
     ============================================================ */
  .newsletter-section { padding: 52px 0; }
  .newsletter-inner { display: flex !important; flex-direction: column !important; gap: 32px; }
  .newsletter-content, .newsletter-form-wrap { width: 100%; }
  .newsletter-content h2 { font-size: 1.6rem; margin-bottom: 12px; }
  .newsletter-content p { font-size: 0.92rem; }
  .newsletter-input-row { flex-direction: column; }
  .newsletter-input-row input[type="email"] {
    border-right: 1.5px solid rgba(255,255,255,0.15);
    border-bottom: none;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    padding: 14px 16px;
  }
  .newsletter-submit {
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    padding: 14px 24px;
    width: 100%;
    text-align: center;
  }
  .newsletter-form-wrap { width: 100%; }
}

/* ============================================================
   SWIPER DOT INDICATORS (mobile only)
   ============================================================ */
.swiper-dots { display: none; }

@media (max-width: 768px) {
  .swiper-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 10px;
    margin-bottom: 4px;
  }
  .swiper-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
  }
  .swiper-dot.active {
    background: var(--brand-blue);
    transform: scale(1.35);
  }
}

/* ============================================================
   SINGLE POST — SMALLER H1
   ============================================================ */
.single-post-header h1 {
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  line-height: 1.2;
}

/* ============================================================
   INSIGHT CARD ACTIONS (like / comment / share)
   ============================================================ */
.insight-card-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.card-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: none;
  border: none;
  padding: 4px 0;
  cursor: pointer;
  transition: color 0.15s ease;
  letter-spacing: 0.02em;
  font-family: var(--font-sans);
}
.card-like-btn:hover { color: #E11D48; }
.card-like-btn.liked { color: #E11D48; }
.card-like-btn .like-icon { font-size: 0.9rem; transition: transform 0.15s ease; }
.card-like-btn.liked .like-icon { transform: scale(1.2); }
.card-comment-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 4px 0;
  transition: color 0.15s ease;
  letter-spacing: 0.02em;
}
.card-comment-btn:hover { color: var(--brand-blue); }
.card-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-blue);
  background: none;
  border: none;
  padding: 4px 0;
  cursor: pointer;
  margin-left: auto;
  transition: color 0.15s ease;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}
.card-share-btn:hover { color: var(--brand-blue-dark); }
.share-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--dark);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 24px;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 500;
  white-space: nowrap;
}
.share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.newsletter-content .section-label {
  color: rgba(255,255,255,0.45);
}
.newsletter-content h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.newsletter-content p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}
.newsletter-input-row {
  display: flex;
  margin-bottom: 10px;
}
.newsletter-input-row input[type="email"] {
  flex: 1;
  padding: 13px 16px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
  font-family: var(--font-sans);
}
.newsletter-input-row input[type="email"]::placeholder {
  color: rgba(255,255,255,0.3);
}
.newsletter-input-row input[type="email"]:focus {
  outline: none;
  border-color: var(--brand-blue);
}
.newsletter-submit {
  padding: 13px 24px;
  background: var(--brand-blue);
  color: var(--white);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: var(--font-sans);
  white-space: nowrap;
}
.newsletter-submit:hover { background: var(--brand-blue-dark); }
.newsletter-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.newsletter-note {
  font-size: 0.71rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}
.newsletter-error {
  font-size: 0.78rem;
  color: #FCA5A5;
  margin-top: 8px;
}
.newsletter-success {
  font-size: 0.9rem;
  color: #6EE7B7;
  font-weight: 600;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
