/* ── TOKENS ── */
:root {
  --bg:       #06111A;
  --surface:  #0C1D2C;
  --border:   #163247;
  --teal:     #2BAE9E;
  --teal-dim: #1E8A7C;
  --blue:     #3A9DD6;
  --orange:   #E85D26;
  --text:     #E8EFF5;
  --muted:    #6E8FA8;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Inter', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── CANVAS ── */
#hero-canvas,
.industry-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.page-hero > *:not(.industry-canvas) {
  position: relative;
  z-index: 1;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5vw;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(6,17,26,0.88);
  backdrop-filter: blur(18px);
  border-color: var(--border);
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 56px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}
.nav-logo:hover img { opacity: 0.85; }
.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-cta {
  font-size: 0.85rem;
  color: #fff !important;
  background: var(--orange);
  padding: 0.6rem 1.3rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: #c94d1e; transform: translateY(-1px); }

/* ── INDUSTRIES DROPDOWN (desktop) ── */
.nav-has-dropdown { position: relative; list-style: none; }
.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  transition: color 0.2s;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger[aria-expanded="true"] { color: var(--text); }
.nav-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.nav-dropdown-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 6px;
  background: var(--surface);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.nav-has-dropdown.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 1rem;
  margin-bottom: 0.875rem;
}
.nav-dropdown-item {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.45rem 0.5rem;
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.01em;
}
.nav-dropdown-item:hover {
  background: rgba(43,174,158,0.08);
  color: var(--teal);
}
.nav-dropdown-all {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  padding: 0.6rem 0.5rem 0.2rem;
  border-top: 1px solid var(--border);
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.nav-dropdown-all:hover { color: var(--text); }

/* ── INDUSTRIES ACCORDION (mobile drawer) ── */
.drawer-has-sub { list-style: none; }
.drawer-sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.drawer-sub-link {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 1rem 0;
  flex: 1;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.drawer-sub-link:hover { color: var(--text); }
.drawer-sub-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 1rem 0 1rem 1rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color 0.2s;
  flex-shrink: 0;
}
.drawer-sub-toggle:hover { color: var(--text); }
.drawer-sub-toggle[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.drawer-sub-list {
  list-style: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  padding-left: 0.5rem;
}
.drawer-sub-list:not([hidden]) { max-height: 600px; }
.drawer-sub-list[hidden] { display: block !important; max-height: 0; }
.drawer-sub-list li a {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.15s;
}
.drawer-sub-list li a:hover { color: var(--teal); }
.drawer-sub-all {
  font-weight: 600;
  color: var(--teal) !important;
}

/* ── BUTTONS ── */
.btn-primary {
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover {
  background: #c94d1e;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232,93,38,0.3);
}
.btn-ghost {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 1rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--muted);
  transform: translateY(-2px);
}

/* ── HERO (home) ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 5vw 6rem;
  overflow: hidden;
}
.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.8rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: 14ch;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.5s forwards;
}
.hero-headline em {
  font-style: normal;
  color: var(--teal);
  position: relative;
  display: inline-block;
}
.hero-headline em::after {
  content: '';
  position: absolute;
  bottom: 0.05em;
  left: 0; right: 0;
  height: 0.06em;
  background: var(--teal);
  opacity: 0.35;
  border-radius: 4px;
}
.hero-sub {
  margin-top: 2rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.7s forwards;
}
.hero-actions {
  margin-top: 3rem;
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.9s forwards;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem; left: 5vw;
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s 1.4s forwards;
}
.scroll-line {
  width: 40px; height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--teal);
  animation: scanLine 2s 1.4s infinite;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 10rem 5vw 5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg) 60%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(43,174,158,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .hero-eyebrow {
  animation: none;
  opacity: 1;
  transform: none;
}
.page-hero .hero-headline {
  font-size: clamp(2.5rem, 6vw, 5rem);
  animation: none;
  opacity: 1;
  transform: none;
  max-width: 100%;
}
.page-hero .hero-sub {
  animation: none;
  opacity: 1;
  transform: none;
}

/* ── PLATFORM ── */
#platform {
  padding: 6rem 5vw;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.platform-inner { max-width: 1100px; margin: 0 auto; }
.platform-header { max-width: 640px; margin-bottom: 3.5rem; }
.platform-intro {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 1rem;
}
.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.platform-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}
.platform-card--live {
  border-color: rgba(43,174,158,0.25);
}
.platform-card--live::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}
.platform-card--live:hover { border-color: rgba(43,174,158,0.5); }
.platform-card--soon {
  opacity: 0.55;
}
.platform-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.platform-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}
.platform-badge--live {
  background: rgba(43,174,158,0.12);
  color: var(--teal);
  border: 1px solid rgba(43,174,158,0.3);
}
.platform-badge--soon {
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  border: 1px solid var(--border);
}
.platform-product-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.platform-card-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.platform-card-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.platform-caps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.25rem 0 0;
  padding: 0;
}
.platform-caps li {
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  letter-spacing: 0.01em;
}
.platform-explore {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s, transform 0.15s, text-shadow 0.15s;
  position: relative;
}
.platform-explore:hover { color: var(--text); }
.platform-explore:active { transform: scale(0.96); }
.platform-explore.clicked {
  animation: explore-pulse 1s ease forwards;
}
@keyframes explore-pulse {
  0%   { color: var(--teal); text-shadow: none; transform: scale(1); }
  20%  { color: #fff; text-shadow: 0 0 12px rgba(43,174,158,0.9), 0 0 24px rgba(43,174,158,0.5); transform: scale(1.06); }
  50%  { color: var(--teal); text-shadow: 0 0 8px rgba(43,174,158,0.5); transform: scale(1.03); }
  80%  { color: #fff; text-shadow: 0 0 8px rgba(43,174,158,0.7); transform: scale(1.04); }
  100% { color: var(--teal); text-shadow: none; transform: scale(1); }
}

@media (max-width: 700px) {
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card--soon { opacity: 0.45; }
}

/* ── PLATFORM PAGE ── */
.platform-page-intro {
  padding: 5rem 5vw;
  border-bottom: 1px solid var(--border);
}
.platform-page-intro-inner { max-width: 1100px; margin: 0 auto; }
.platform-page-intro-inner .section-title { margin: 1rem 0 2.5rem; }
.platform-page-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.platform-page-intro-grid p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 1rem;
}
.platform-page-products {
  padding: 5rem 5vw 6rem;
}
.platform-page-products-inner { max-width: 1100px; margin: 0 auto; }
.platform-page-products-inner .section-title { margin: 1rem 0 3rem; }
.platform-suite {
  margin-bottom: 4rem;
}
.platform-suite-header {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.platform-suite-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.platform-suite-desc {
  font-size: 0.82rem;
  color: var(--muted);
}
.platform-suite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.platform-who {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.platform-who-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.platform-who-list {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .platform-page-intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .platform-suite-grid { grid-template-columns: 1fr; }
  .platform-suite-header { flex-direction: column; gap: 0.4rem; }
}

/* ── MARQUEE ── */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  background: var(--surface);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.marquee-item {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  display: flex; align-items: center; gap: 1rem;
}
.marquee-item::before {
  content: '◆';
  font-size: 0.5rem;
  color: var(--teal);
}

/* ── SECTIONS COMMON ── */
section { padding: 8rem 5vw; }
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: block; width: 28px; height: 1px;
  background: var(--teal);
}
h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

/* ── SHIFT SECTION ── */
#shift {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.shift-left .big-stat {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--teal);
  display: block;
}
.shift-left .big-stat-label {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.shift-right p {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.shift-right p strong { color: var(--text); font-weight: 500; }
.shift-divider {
  width: 100%; height: 1px;
  background: var(--border);
  margin: 2rem 0;
}
.shift-right .proof-row { display: flex; gap: 2rem; }
.proof-item { flex: 1; }
.proof-item .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.proof-item .num span { color: var(--teal); }
.proof-item .label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* ── HOW IT WORKS ── */
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.how-header p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 38ch;
  line-height: 1.7;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
}
.step-card {
  background: var(--surface);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: default;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.step-card:hover { background: #0f2336; }
.step-card:hover::before { transform: scaleX(1); }
.step-num {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.step-icon {
  width: 48px; height: 48px;
  margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.step-icon svg { width: 100%; height: 100%; }
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.step-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}
.step-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.5rem;
}
.tag {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 2px;
  background: rgba(43,174,158,0.08);
  color: var(--teal);
  border: 1px solid rgba(43,174,158,0.15);
}

/* ── ARCHITECTURE ── */
.arch-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.arch-header p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.7;
}
.arch-diagram {
  display: grid;
  grid-template-columns: 1fr 2px 1fr 2px 1fr;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.arch-col { padding: 2.5rem; }
.arch-divider-v { background: var(--border); }
.arch-col-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 2rem;
}
.arch-col h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.arch-col p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.component-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--muted);
  margin: 0.25rem 0.15rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: default;
}
.component-chip:hover {
  border-color: var(--teal);
  color: var(--text);
  background: rgba(43,174,158,0.05);
}
.component-chip::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.component-chip.teal::before { background: var(--teal); }
.component-chip.muted::before { background: var(--muted); }

/* ── INDUSTRIES ── */
.industries-header {
  margin-bottom: 3rem;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
}
.industry-card {
  background: var(--bg);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.industry-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43,174,158,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.industry-card:hover { background: var(--surface); }
.industry-card:hover::after { opacity: 1; }
.industry-icon {
  width: 44px; height: 44px;
  margin-bottom: 1.5rem;
  display: block;
  transition: transform 0.3s;
}
.industry-icon svg { width: 44px; height: 44px; }
.industry-card:hover .industry-icon { transform: scale(1.1); }
.industry-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.industry-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── WHY OPENSME ── */
.why-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.why-intro {
  max-width: 50ch;
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 1.5rem 0 4rem;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.why-item {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  transition: border-color 0.3s;
}
.why-item:hover { border-color: var(--teal); }
.why-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.04em;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}
.why-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.why-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── CTA STRIP (shared) ── */
.cta-strip {
  text-align: center;
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(43,174,158,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-strip .section-label { justify-content: center; }
.cta-strip .section-label::before { display: none; }
.cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: 18ch;
  margin: 1rem auto 1.5rem;
}
.cta-strip p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 42ch;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 5vw 3rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 30ch;
}
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.footer-col ul a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.footer-bottom p a { color: var(--teal); text-decoration: none; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scanLine {
  0%   { left: -100%; }
  50%  { left: 100%; }
  100% { left: 100%; }
}

/* ── PERSPECTIVES LISTING ── */
.perspectives-intro {
  max-width: 52ch;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 1rem;
}
.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 3rem 0 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.filter-btn {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(43,174,158,0.06);
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.article-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.cat-pill {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  background: rgba(43,174,158,0.1);
  color: var(--teal);
  border: 1px solid rgba(43,174,158,0.2);
}
.cat-pill.blue {
  background: rgba(58,157,214,0.1);
  color: var(--blue);
  border-color: rgba(58,157,214,0.2);
}
.cat-pill.orange {
  background: rgba(232,93,38,0.1);
  color: var(--orange);
  border-color: rgba(232,93,38,0.2);
}
.article-card-meta .read-time {
  font-size: 0.75rem;
  color: var(--muted);
}
.article-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.article-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}
.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
}
.article-card-footer .arrow {
  color: var(--teal);
  font-size: 1rem;
  transition: transform 0.2s;
}
.article-card:hover .article-card-footer .arrow {
  transform: translateX(4px);
}
.featured-card {
  grid-column: span 3;
  flex-direction: row;
  align-items: stretch;
}
.featured-card .article-card-body {
  flex: 1;
  padding: 2.5rem;
  justify-content: center;
}
.featured-card .article-card-body h3 {
  font-size: 1.6rem;
  max-width: 28ch;
}
.featured-card .article-card-body p {
  max-width: 52ch;
}
.featured-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  display: block;
}
.featured-card-aside {
  width: 280px;
  flex-shrink: 0;
  background: var(--bg);
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.featured-card-aside svg {
  opacity: 0.12;
}

/* ── ARTICLE PAGE ── */
.article-hero {
  padding: 9rem 5vw 4rem;
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg) 70%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(43,174,158,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.article-date {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.article-read-time {
  font-size: 0.78rem;
  color: var(--muted);
}
.article-read-time::before {
  content: '·';
  margin-right: 0.5rem;
  color: var(--border);
}
.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 22ch;
  margin-bottom: 1.25rem;
}
.article-standfirst {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 56ch;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 5rem;
  padding: 5rem 5vw 6rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.article-body {
  min-width: 0;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 2.5rem 0 1rem;
  color: var(--text);
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}
.article-body h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 2rem 0 0.75rem;
}
.article-body p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.article-body p strong {
  color: var(--text);
  font-weight: 600;
}
.article-body em {
  color: var(--text);
  font-style: italic;
}
.article-body ul,
.article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--muted);
  line-height: 1.85;
}
.article-body li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.article-body blockquote {
  border-left: 3px solid var(--teal);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-size: 1.1rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
}
.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}
.article-sidebar {
  position: sticky;
  top: 7rem;
}
.sidebar-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.sidebar-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.sidebar-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.sidebar-toc {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sidebar-toc a {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.45;
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  transition: color 0.2s;
}
.sidebar-toc a::before {
  content: '—';
  font-size: 0.65rem;
  color: var(--border);
  flex-shrink: 0;
}
.sidebar-toc a:hover { color: var(--text); }
.related-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.related-links a {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s;
  display: block;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.related-links li:last-child a { border-bottom: none; padding-bottom: 0; }
.related-links a:hover { color: var(--teal); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.2s;
  padding: 5rem 5vw 0;
  display: flex;
}
.back-link:hover { color: var(--text); }

/* ── REVEAL ON SCROLL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  padding: 0 10px;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.nav-hamburger:hover { border-color: var(--muted); }
.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
/* open state — X */
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE NAV DRAWER ── */
.nav-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(6,17,26,0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.nav-drawer.open {
  opacity: 1;
  pointer-events: all;
}
.nav-drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 5rem 2rem 2.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.nav-drawer.open .nav-drawer-panel {
  transform: translateX(0);
}
.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-drawer-links li a {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-drawer-links li a:hover,
.nav-drawer-links li a.active { color: var(--text); }
.nav-drawer-cta {
  margin-top: 2rem;
  display: block;
  text-align: center;
  background: var(--orange);
  color: #fff !important;
  font-weight: 600;
  padding: 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.nav-drawer-cta:hover { background: #c94d1e; }
.nav-drawer-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 36px; height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 1.1rem;
  transition: border-color 0.2s, color 0.2s;
}
.nav-drawer-close:hover { border-color: var(--muted); color: var(--text); }

/* ── TABLET (≤ 1024px) ── */
@media (max-width: 1024px) {
  #shift { grid-template-columns: 1fr; gap: 3rem; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .arch-diagram { grid-template-columns: 1fr; }
  .arch-divider-v { display: none; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .featured-card { grid-column: span 2; flex-direction: column; }
  .featured-card-aside { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
}

/* ── MOBILE (≤ 768px) ── */
@media (max-width: 768px) {
  /* show hamburger, hide desktop links */
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { display: block; }
  nav { padding: 1rem 5vw; }

  /* sections */
  section { padding: 4rem 5vw; }
  .page-hero { padding: 7rem 5vw 3rem; }
  .back-link { padding: 4rem 5vw 0; }

  /* typography */
  .hero-headline { letter-spacing: -0.02em; }
  h2.section-title { font-size: clamp(1.8rem, 7vw, 3rem); }

  /* grids */
  .steps-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .how-header { flex-direction: column; align-items: flex-start; }
  .arch-header { flex-direction: column; align-items: flex-start; }
  .shift-right .proof-row { flex-direction: column; gap: 1.5rem; }
  .articles-grid { grid-template-columns: 1fr; }
  .featured-card { grid-column: span 1; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost { width: 100%; justify-content: center; }

  /* hero scroll hint — hide on small screens */
  .hero-scroll-hint { display: none; }

  /* footer */
  .footer-top { padding-bottom: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  /* article */
  .article-layout { padding: 3rem 5vw 4rem; }
  .article-title { font-size: clamp(1.6rem, 6vw, 2.5rem); }
}

/* ── SMALL MOBILE (≤ 480px) ── */
@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .nav-logo img { height: 44px; }
  section { padding: 3.5rem 5vw; }
  .page-hero { padding: 6rem 5vw 2.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .shift-left .big-stat { font-size: clamp(4rem, 22vw, 8rem); }
  .footer-col { padding: 0; }
}
