/* ABOUTME: Styles for the Kinetic Kansa landing variant — light base, bold orange, motion-forward. */
/* ABOUTME: Hand-written modern CSS using custom properties, grid, flex and clamp. */

/* ============ TOKENS ============ */
:root {
  --orange: #ff6500;        /* brand accent — decorative fills, marks, glows */
  --orange-600: #e85b00;
  --orange-700: #c44d00;    /* accessible orange-ink: AA on light, white passes AA on it */
  --orange-800: #a83f00;
  --soft: #fff1e8;

  --orange-display: #d65400;  /* large headline orange — clears 3:1 on light */

  /* drenched CTA surface — deep orange so white body text clears 4.5:1 */
  --orange-deep: #c44d00;
  --orange-deep2: #a83f00;

  --bg: #fafaf9;
  --bg-alt: #f4f3f1;
  --surface: #ffffff;

  --ink: #14161b;
  --ink-2: #4d505a;
  --ink-3: #6c6f78;

  --dark: #0f1217;

  --success: #10b981;
  --warning: #8a5e00;   /* darkened from #e5a000 for AA text contrast on light surfaces */
  --warning-bg: #fdf6e6;
  --error: #f31700;

  --line: #e7e4df;
  --line-strong: #d7d3cc;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;

  --shell: 1180px;
  --pad: clamp(20px, 5vw, 48px);

  --shadow-sm: 0 1px 2px rgba(20, 22, 27, 0.05);
  --shadow-md: 0 18px 40px -24px rgba(20, 22, 27, 0.28);
  --shadow-orange: 0 16px 34px -18px rgba(255, 101, 0, 0.55);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter Tight", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-inline: var(--pad); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--r-sm);
  font-weight: 600; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

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

/* ============ EYEBROW ============ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin-bottom: 16px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  padding: 13px 24px;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
  min-height: 46px;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 15px; min-height: 40px; }
.btn-lg { padding: 15px 30px; font-size: 17px; min-height: 52px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--orange-700); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-800); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0) scale(0.985); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(20,22,27,0.03); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0) scale(0.985); }

.btn-onorange { background: #fff; color: var(--orange-800); }
.btn-onorange:hover { background: #fff7f1; transform: translateY(-2px); }
.btn-onorange:active { transform: translateY(0) scale(0.985); }

.btn-onorange-ghost { background: rgba(15,18,23,0.18); color: #fff; border-color: rgba(255,255,255,0.85); }
.btn-onorange-ghost:hover { background: rgba(15,18,23,0.3); border-color: #fff; transform: translateY(-2px); }
.btn-onorange-ghost:active { transform: translateY(0) scale(0.985); }

.link-quiet { font-weight: 600; font-size: 15px; color: var(--ink-2); transition: color 0.2s var(--ease); }
.link-quiet:hover { color: var(--ink); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 249, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(250,250,249,0.92); }

.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 72px;
}

.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wordmark-mark {
  width: 16px; height: 16px; border-radius: 5px;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--soft);
  flex: none;
}

.primary-nav {
  display: flex; align-items: center; gap: 28px;
  margin-left: 20px;
}
.primary-nav a {
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  position: relative; transition: color 0.2s var(--ease);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--orange); transition: width 0.25s var(--ease);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; margin-left: auto;
  background: transparent; border: 1px solid var(--line-strong); border-radius: 10px;
  cursor: pointer; padding: 0;
}
.nav-toggle-bar { display: block; width: 20px; height: 2px; background: var(--ink); margin: 0 auto; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 16px var(--pad) 24px;
}
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav a { padding: 13px 0; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 18px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: calc(100dvh - 72px);
  display: flex; align-items: center;
  padding: clamp(28px, 5vh, 56px) 0 clamp(40px, 6vh, 72px);
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(255,101,0,0.16), transparent 70%),
    radial-gradient(40% 40% at 12% 85%, rgba(255,101,0,0.08), transparent 70%);
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.7rem, 6.2vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 22px;
}
.accent-word { display: block; color: var(--orange-display); }

.hero-subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--ink-2);
  max-width: 38ch;
  margin-bottom: 30px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.trust-row li {
  position: relative; padding-left: 22px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
}
.trust-row li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.16);
}

/* ============ PRODUCT PREVIEW ============ */
.hero-preview { position: relative; }
.assess-panel {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -40px rgba(20,22,27,0.32), 0 4px 14px -8px rgba(20,22,27,0.18);
  overflow: hidden;
}
.assess-panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-600));
}

.assess-head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.assess-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); flex: none; }
.assess-title { font-weight: 700; font-family: var(--font-display); font-size: 15px; }
.assess-chip {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  background: var(--soft); color: var(--orange-800);
  padding: 4px 9px; border-radius: 6px;
}
.assess-progress {
  margin-left: auto; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  color: var(--success); display: inline-flex; align-items: center; gap: 6px;
}
.assess-progress::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success);
  animation: pulse 1.8s var(--ease) infinite;
}

.assess-body { padding: 18px; display: grid; gap: 16px; }

.assess-req { display: grid; gap: 6px; }
.req-id { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--ink-3); }
.req-text { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.4; }

.assess-evidence { display: grid; gap: 8px; }
.evidence-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3);
}
.evidence-card {
  background: var(--bg-alt); border-radius: var(--r-md);
  padding: 12px 14px; display: grid; gap: 6px;
}
.evidence-file { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--ink); }
.evidence-loc { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }
.evidence-quote { font-size: 13.5px; color: var(--ink-2); font-style: italic; line-height: 1.45; }

.verdict-list { display: grid; gap: 8px; }
.verdict {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
}
.verdict-tag {
  font-size: 11.5px; font-weight: 700; font-family: var(--font-mono);
  padding: 4px 9px; border-radius: 999px; flex: none; min-width: 96px; text-align: center;
}
.verdict-text { font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.verdict-pass .verdict-tag { background: rgba(16,185,129,0.14); color: #08714d; }
.verdict-warn .verdict-tag { background: var(--warning-bg); color: var(--warning); }
.verdict-fail .verdict-tag { background: rgba(243,23,0,0.1); color: #c11200; }

.assess-foot {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-top: 1px solid var(--line); background: #fff;
}
.coverage-meter { flex: 1; height: 7px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.coverage-fill {
  display: block; height: 100%; width: 87%;
  background: linear-gradient(90deg, var(--orange), var(--orange-600));
  border-radius: 999px;
  transform-origin: left;
}
.coverage-label { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--ink-2); flex: none; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

/* ============ SECTION SCAFFOLD ============ */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-title { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.035em; }
.section-lede { margin-top: 18px; font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--ink-2); max-width: 60ch; }

/* ============ PILLARS ============ */
.pillars { background: var(--bg); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px 32px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pillar:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.pillar-mark {
  display: block; width: 30px; height: 30px; margin-bottom: 20px;
  border-radius: 9px;
  background: var(--soft);
  position: relative;
}
.pillar-mark::after {
  content: ""; position: absolute; inset: 9px;
  border-radius: 3px; background: var(--orange);
}
.pillar h3 { font-size: 1.32rem; margin-bottom: 12px; }
.pillar p { color: var(--ink-2); font-size: 15.5px; }

/* ============ HOW IT WORKS ============ */
.how { background: var(--bg-alt); }
.step-flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.step {
  position: relative; display: flex; gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem;
  color: var(--orange-700); line-height: 1; flex: none;
  -webkit-text-stroke: 0; letter-spacing: -0.04em;
}
.step-body h3 { font-size: 1.22rem; margin-bottom: 8px; }
.step-body p { color: var(--ink-2); font-size: 15px; }

/* ============ BENTO / PLATFORM ============ */
.platform { background: var(--bg); }
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}
.bento-tile {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 26px;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.bento-tile:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.bento-feature { grid-row: span 2; background: var(--dark); color: #fff; border-color: transparent; }
.bento-feature h3, .bento-feature p { color: #fff; }
.bento-feature p { color: rgba(255,255,255,0.74); }
.bento-feature .cap-tag { background: rgba(255,101,0,0.18); color: #ffb98a; }
.bento-wide { grid-column: span 2; }

.cap-tag {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--soft); color: var(--orange-800);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 16px;
}
.bento-tile h3 { font-size: 1.32rem; margin-bottom: 10px; }
.bento-tile p { color: var(--ink-2); font-size: 15px; }

.format-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.format-pill {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.16);
}
.chat-line { margin-top: auto; padding-top: 20px; }
.chat-bubble {
  display: inline-block;
  font-size: 14px; font-weight: 500; color: var(--ink);
  background: var(--soft); border: 1px solid #ffd9bf;
  padding: 11px 16px; border-radius: 14px 14px 14px 4px;
}

/* ============ IMPACT ============ */
.impact { background: var(--dark); color: #fff; }
.impact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.impact .section-title, .impact .section-lede { color: #fff; }
.impact .section-lede { color: rgba(255,255,255,0.72); }
.reason-list { margin-top: 32px; display: grid; gap: 0; }
.reason-list li {
  display: grid; grid-template-columns: 200px 1fr; gap: 16px;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.12);
}
.reason-list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.reason-list strong { font-weight: 600; color: #fff; }
.reason-list span { color: rgba(255,255,255,0.66); font-size: 15px; }

.stat-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 150px;
}
.stat-big { grid-column: span 2; background: var(--orange-deep); border-color: transparent; min-height: 160px; }
.stat-big .stat-label { color: #fff; }
.stat-value {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1;
  letter-spacing: -0.04em; color: #fff;
  display: inline-flex; align-items: baseline;
}
.stat-suffix { font-size: 0.55em; margin-left: 2px; }
.stat-label { margin-top: 12px; font-size: 14.5px; color: rgba(255,255,255,0.7); line-height: 1.4; }

/* ============ COVERAGE ============ */
.coverage { background: var(--bg-alt); }
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.coverage-group {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 24px;
}
.coverage-group h3 {
  font-size: 1.05rem; font-family: var(--font-body); font-weight: 700;
  letter-spacing: -0.01em; color: var(--ink); margin-bottom: 18px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.chip-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.std-chip {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  color: var(--ink-2);
  background: var(--bg-alt); border: 1px solid var(--line);
  padding: 7px 12px; border-radius: 8px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.std-chip:hover { border-color: var(--orange); color: var(--orange-800); background: var(--soft); }
.coverage-note {
  margin-top: 24px; font-family: var(--font-mono); font-size: 14px;
  color: var(--ink-3); text-align: center;
}

/* ============ SECURITY ============ */
.security { background: var(--bg); }
.security-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.security-aside { position: sticky; top: 100px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.sec-badge {
  font-size: 13px; font-weight: 600; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong);
  padding: 8px 14px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
}
.sec-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none;
}
.security-tagline {
  margin-top: 26px; font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; color: var(--ink); letter-spacing: -0.01em;
}
.security-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.security-points li { background: var(--surface); padding: 26px 24px; transition: background 0.25s var(--ease); }
.security-points li:hover { background: var(--soft); }
.security-points h3 { font-size: 1.1rem; margin-bottom: 8px; }
.security-points p { color: var(--ink-2); font-size: 14.5px; }

/* ============ DIFFERENTIATOR / TABLE ============ */
.diff { background: var(--dark); color: #fff; }
.diff .section-title, .diff .section-lede { color: #fff; }
.diff .section-lede { color: rgba(255,255,255,0.72); }
.diff .eyebrow { color: #ff9a5c; }
.compare { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid rgba(255,255,255,0.12); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td {
  text-align: left; padding: 18px 20px; vertical-align: top;
  font-size: 14.5px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.compare-table thead th {
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: 0.02em; color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.compare-table thead .col-kansa { color: #fff; }
.compare-table tbody th[scope="row"] {
  font-family: var(--font-body); font-weight: 600; color: rgba(255,255,255,0.92); width: 160px;
}
.compare-table td { color: rgba(255,255,255,0.66); }
.compare-table .col-kansa, .compare-table .cell-kansa { background: rgba(255,101,0,0.13); }
.compare-table .cell-kansa { color: #fff; font-weight: 500; }
.compare-table thead .col-kansa {
  position: relative;
}
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }

/* ============ INDUSTRIES ============ */
.industries { background: var(--bg-alt); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.industry {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.industry h3 { font-size: 1.18rem; margin-bottom: 10px; }
.industry p { color: var(--ink-2); font-size: 14.5px; flex: 1; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ind-tag {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  color: var(--orange-800); background: var(--soft);
  padding: 5px 10px; border-radius: 7px;
}

/* ============ CTA BAND ============ */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--orange-deep) 0%, var(--orange-deep2) 100%);
  color: #fff;
  padding: clamp(72px, 10vw, 130px) 0;
  text-align: center;
}
.cta-orbit {
  position: absolute; inset: -20% -10%; pointer-events: none;
  background:
    radial-gradient(40% 50% at 18% 25%, rgba(255,255,255,0.22), transparent 60%),
    radial-gradient(45% 55% at 85% 80%, rgba(255,255,255,0.16), transparent 60%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-title { font-size: clamp(2.1rem, 4.5vw, 3.4rem); color: #fff; letter-spacing: -0.035em; max-width: 16ch; margin: 0 auto; }
.cta-subtitle { margin: 20px auto 32px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #fff; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============ FOOTER ============ */
.site-footer { background: var(--dark); color: #fff; padding-top: clamp(56px, 7vw, 84px); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.wordmark-footer { color: #fff; margin-bottom: 18px; }
.footer-tagline { color: rgba(255,255,255,0.66); font-size: 15px; max-width: 34ch; margin-bottom: 16px; }
.footer-built {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  color: var(--orange); letter-spacing: 0.04em;
}
.footer-col h4 {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-col a { display: block; padding: 9px 0; min-height: 40px; font-size: 15px; color: rgba(255,255,255,0.78); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--orange); }
.footer-base {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 24px; padding-bottom: 32px;
  font-size: 14px; color: rgba(255,255,255,0.6);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 40px; color: rgba(255,255,255,0.6); transition: color 0.2s var(--ease); }
.footer-legal a:hover { color: #fff; }

/* ============ REVEAL ANIMATION ============ */
/* Hidden initial state applies ONLY when JS is active; without JS content stays visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js [data-reveal][data-delay] { transition-delay: var(--delay, 0ms); }

/* ============ MARQUEE ============ */
.strip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 28px 0;
  overflow: hidden;
}
.strip-label {
  text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-3);
  margin-bottom: 22px; padding-inline: var(--pad);
}
.marquee { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; gap: 14px; padding-left: 14px; animation: marquee 38s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.fw-token {
  flex: none;
  font-family: var(--font-mono); font-size: 14px; font-weight: 600;
  color: var(--ink); background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ HERO ENTRANCE (no-JS-safe, motion only) ============ */
@media (prefers-reduced-motion: no-preference) {
  .coverage-fill { animation: fill-grow 1.4s var(--ease) 0.4s both; }
  @keyframes fill-grow { from { width: 0; } to { width: 87%; } }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-preview { max-width: 460px; }
  .security-grid { grid-template-columns: 1fr; }
  .security-aside { position: static; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-feature { grid-row: span 1; grid-column: span 2; }
  .bento-wide { grid-column: span 2; }
}

@media (max-width: 880px) {
  .impact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .primary-nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { height: 64px; }
  .hero { min-height: auto; padding-top: 36px; padding-bottom: 56px; }
  .hero-title { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .hero-subtitle { max-width: none; }
  .pillar-grid { grid-template-columns: 1fr; }
  .step-flow { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-feature, .bento-wide { grid-column: span 1; }
  .stat-stack { grid-template-columns: 1fr 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .security-points { grid-template-columns: 1fr; }
  .reason-list li { grid-template-columns: 1fr; gap: 4px; }
  .industry-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 460px) {
  body { font-size: 16px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .stat-stack { grid-template-columns: 1fr; }
  .stat-big { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: opacity 0.3s ease; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .assess-progress::before { animation: none; }
  .coverage-fill { animation: none; }
  .btn:hover, .pillar:hover, .step:hover, .bento-tile:hover, .industry:hover { transform: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.15s !important; }
}
