/* ============================================================
   Hearthcore — Main Stylesheet
   Extracted from index.html on 2026-06-29
   Sections: tokens → reset → layout → components → responsive
   ============================================================ */

/* ====== Design Tokens ====== */
:root {
  --ink-900:#0A0F1C;
  --ink-800:#111827;
  --ink-700:#1F2937;
  --ink-600:#374151;
  --ink-500:#6B7280;
  --ink-400:#9CA3AF;
  --ink-300:#D1D5DB;
  --ink-200:#E5E7EB;
  --ink-100:#F3F4F6;
  --ink-50:#F9FAFB;
  --paper:#FFFFFF;
  --orange:#EA580C;
  --orange-2:#C2410C;
  --orange-soft:#FFF7ED;
  --green:#15803D;
  --green-soft:#F0FDF4;
  --blue:#1E40AF;
  --blue-soft:#EFF6FF;
  --line: 1px solid #E5E7EB;
  --line-dark: 1px solid #1F2937;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 8px 24px rgba(15,23,42,0.08);
  --shadow-lg: 0 24px 48px rgba(15,23,42,0.12);
}

/* ====== Reset ====== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* visually-hidden helper for form labels (A11y) */
.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 (A11y + SEO) ====== */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  padding: 10px 16px; background: var(--ink-900); color: white;
  font-size: 14px; font-weight: 500; border-radius: 0 0 6px 0; z-index: 9999;
}
.skip-link:focus { left: 0; outline: 2px solid var(--orange); }

/* ====== Layout ====== */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.wrap-sm { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

/* ====== Top Bar + Header + Primary Nav — extracted to components/site-header.js ====== */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 8px; font-size: 14px; font-weight: 500; transition: all 0.15s; }
.btn-ghost { border: 1px solid var(--ink-300); color: var(--ink-900); }
.btn-ghost:hover { border-color: var(--ink-900); }
.btn-primary { background: var(--orange); color: white; }
.btn-primary:hover { background: var(--orange-2); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--ink-900); color: white; }
.btn-dark:hover { background: var(--ink-700); }
.btn-lg { padding: 14px 24px; font-size: 15px; }

/* ====== Hero ====== */
.hero { padding: 64px 0 80px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: 0; right: -200px; width: 800px; height: 800px;
  background: radial-gradient(circle, var(--orange-soft) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero-tag {
  display: inline-flex; gap: 8px; align-items: center;
  padding: 6px 12px; background: white; border: var(--line);
  border-radius: 99px; font-size: 12px; font-weight: 500;
  margin-bottom: 24px; font-family: 'JetBrains Mono', monospace;
  box-shadow: var(--shadow-sm);
}
.hero-tag::before { content: ''; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 4px rgba(234,88,12,0.2); }
.hero h1 {
  font-size: 60px; line-height: 1.05; letter-spacing: -0.035em;
  font-weight: 700; margin-bottom: 24px; color: var(--ink-900);
}
.hero h1 em { font-style: normal; color: var(--orange); position: relative; }
.hero h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px;
  background: var(--orange-soft); z-index: -1;
}
.hero-sub { font-size: 18px; line-height: 1.6; color: var(--ink-500); margin-bottom: 36px; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; margin-bottom: 40px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: var(--line); border-radius: var(--radius); overflow: hidden;
}
.stat { padding: 18px 16px; border-right: var(--line); background: white; }
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 26px; font-weight: 600; color: var(--ink-900);
  letter-spacing: -0.02em; line-height: 1;
}
.stat-num sup { color: var(--orange); font-size: 14px; font-weight: 500; }
.stat-lbl { font-size: 11px; color: var(--ink-500); margin-top: 6px; font-family: 'JetBrains Mono', monospace; }

/* Hero visual */
.hero-vis {
  position: relative; height: 520px;
}
.hero-card {
  position: absolute; background: white; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-main {
  inset: 0;
  background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-700) 100%);
  display: grid; place-items: center; border-radius: 18px;
  position: relative; overflow: hidden;
}
.hero-main::before {
  content: ''; position: absolute; inset: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
}
/* Simulated product */
.prod {
  width: 200px; height: 360px; background: linear-gradient(180deg, #F8FAFC 0%, #CBD5E1 100%);
  border-radius: 12px; position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.prod::before {
  content: ''; position: absolute; top: 36px; left: 50%; transform: translateX(-50%);
  width: 140px; height: 240px; background: var(--ink-900); border-radius: 8px;
}
.prod::after {
  content: ''; position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 4px; background: var(--orange); border-radius: 2px;
  box-shadow: 0 0 20px var(--orange);
}
.prod-screen {
  position: absolute; top: 64px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 60px; background: #1F2937;
  border-radius: 4px; display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace; color: var(--orange);
  font-size: 22px; font-weight: 600;
}
.prod-screen::after { content: '24°'; }

/* Floating cards */
.float-card {
  position: absolute; background: white; padding: 14px 16px;
  border-radius: 12px; box-shadow: var(--shadow-md);
  display: flex; gap: 12px; align-items: center;
  font-size: 13px; min-width: 200px;
}
.float-card .ic {
  width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center; font-family: 'JetBrains Mono', monospace;
  font-weight: 600; font-size: 13px;
}
.float-card strong { display: block; font-weight: 600; color: var(--ink-900); }
.float-card small { display: block; color: var(--ink-500); font-size: 11px; font-family: 'JetBrains Mono', monospace; margin-top: 2px; }

.fc-1 { top: 24px; left: -32px; }
.fc-1 .ic { background: var(--green-soft); color: var(--green); }
.fc-1 .ic::before { content: '✓'; font-size: 18px; }
.fc-2 { bottom: 60px; right: -28px; }
.fc-2 .ic { background: var(--orange-soft); color: var(--orange-2); }
.fc-2 .ic::before { content: '⚡'; font-size: 16px; }
.fc-3 { bottom: -16px; left: 60px; }
.fc-3 .ic { background: var(--blue-soft); color: var(--blue); }
.fc-3 .ic::before { content: 'CE'; font-weight: 700; font-size: 11px; }

/* ====== Trust strip ====== */
.trust-strip {
  padding: 32px 0; border-top: var(--line); border-bottom: var(--line);
  background: var(--ink-50);
}
.trust-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-lbl { font-size: 12px; font-family: 'JetBrains Mono', monospace; color: var(--ink-500); letter-spacing: 0.5px; }
.trust-logos { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.tlogo {
  display: flex; align-items: center; gap: 8px; color: var(--ink-500);
  font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 14px;
  opacity: 0.7;
}
.tlogo::before { content: ''; width: 28px; height: 28px; border: 1.5px solid currentColor; border-radius: 4px; }
.tlogo strong { font-family: 'Inter', sans-serif; font-weight: 700; }

/* ====== Section base ====== */
section { padding: 96px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 40px; }
.sec-head-l { max-width: 720px; }
.sec-eyebrow {
  display: inline-block; font-size: 12px; font-family: 'JetBrains Mono', monospace;
  color: var(--orange); font-weight: 500; letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.sec-eyebrow::before { content: '— '; }
.sec-title {
  font-size: 42px; line-height: 1.15; letter-spacing: -0.025em;
  font-weight: 700; margin-bottom: 14px;
}
.sec-sub { font-size: 16px; color: var(--ink-500); line-height: 1.6; max-width: 620px; }
.sec-link { font-size: 14px; font-weight: 500; color: var(--ink-900); display: inline-flex; gap: 6px; align-items: center; }
.sec-link::after { content: '→'; transition: transform 0.2s; }
.sec-link:hover::after { transform: translateX(4px); }

/* ====== Products ====== */
.products { background: var(--ink-50); }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod-card {
  background: white; border: var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all 0.2s; position: relative;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ink-300); }
.prod-img {
  height: 220px; background: var(--ink-100); position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.prod-img::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.04) 100%);
}
.pc-1 .prod-img { background: linear-gradient(135deg, #F1F5F9 0%, #CBD5E1 100%); }
.pc-2 .prod-img { background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%); }
.pc-3 .prod-img { background: linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 100%); }
.pc-4 .prod-img { background: linear-gradient(135deg, #F3F4F6 0%, #D1D5DB 100%); }

.prod-vis {
  width: 100px; height: 160px; background: white;
  border: 1px solid rgba(0,0,0,0.1); border-radius: 8px;
  position: relative; box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.pc-1 .prod-vis::before { content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 70px; height: 100px; background: var(--ink-900); border-radius: 4px; }
.pc-1 .prod-vis::after { content: ''; position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); width: 40px; height: 3px; background: var(--orange); }
.pc-2 .prod-vis::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 70px; height: 80px; background: var(--ink-900); border-radius: 50% 50% 4px 4px; }
.pc-2 .prod-vis::after { content: ''; position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; background: white; border: 2px solid var(--ink-900); border-radius: 50%; }
.pc-3 .prod-vis::before { content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 70px; height: 120px; background: var(--ink-900); border-radius: 4px; }
.pc-3 .prod-vis::after { content: ''; position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border: 2px solid var(--orange); border-radius: 50%; }
.pc-4 .prod-vis::before { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 60px; height: 80px; background: var(--ink-800); border-radius: 50%; }
.pc-4 .prod-vis::after { content: ''; position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); width: 40px; height: 8px; background: var(--ink-300); border-radius: 2px; }

.prod-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 8px; background: white; border-radius: 4px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 500;
  color: var(--ink-700); letter-spacing: 0.3px;
}
.prod-badge.hot { background: var(--orange); color: white; }
.prod-body { padding: 20px; }
.prod-cat { font-size: 11px; color: var(--ink-500); font-family: 'JetBrains Mono', monospace; margin-bottom: 6px; }
.prod-name { font-size: 16px; font-weight: 600; margin-bottom: 10px; line-height: 1.3; }
.prod-specs { display: flex; gap: 6px; flex-wrap: wrap; }
.spec-chip {
  font-size: 10.5px; padding: 3px 8px; background: var(--ink-50);
  border-radius: 4px; color: var(--ink-600); font-family: 'JetBrains Mono', monospace;
}
.prod-foot {
  margin-top: 16px; padding-top: 14px; border-top: var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
}
.prod-moq { color: var(--ink-500); }
.prod-moq strong { color: var(--ink-900); font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.prod-arrow { color: var(--orange); font-size: 16px; }

/* ====== Why us ====== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: var(--line); border-radius: var(--radius); overflow: hidden; background: white; }
.why-item { padding: 32px; border-right: var(--line); border-bottom: var(--line); }
.why-item:nth-child(4n) { border-right: none; }
.why-item:nth-last-child(-n+4) { border-bottom: none; }

/* === Merged About section: Factory + Why Us === */
.about-merged { background: var(--ink-900); color: white; padding: 80px 0; }
.about-merged .sec-head { margin-bottom: 56px; }
.about-merged .sec-eyebrow { color: var(--orange); }
.about-merged .sec-title { color: white; }
.about-merged .sec-sub { color: rgba(255,255,255,0.6); }
.about-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.about-top .fac-vis-grid,
.about-top .fac-vis-center,
.about-top .fac-vis-marker { /* reused styles */ }
.about-top .fac-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.about-top .fac-stat { padding: 24px; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; }
.about-top .fac-stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: white; line-height: 1; }
.about-top .fac-stat-num em { color: var(--orange); font-style: normal; font-size: 18px; margin-left: 2px; }
.about-top .fac-stat-lbl { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 8px; }

.about-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); overflow: hidden; }
.about-why .why-item { background: var(--ink-900); border-right: none; border-bottom: none; padding: 36px 28px; }
.about-why .why-item:nth-child(3n) { border-right: none; }
.about-why .why-num { color: var(--orange); }
.about-why .why-icon { color: rgba(255,255,255,0.4); border-color: rgba(255,255,255,0.1); }
.about-why .why-h { color: white; }
.about-why .why-p { color: rgba(255,255,255,0.6); }
@media (max-width: 960px) {
  .about-top { grid-template-columns: 1fr; gap: 40px; margin-bottom: 56px; }
  .about-why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .about-why { grid-template-columns: 1fr; }
}
.why-num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--orange); margin-bottom: 16px; font-weight: 500;
}
.why-icon {
  width: 48px; height: 48px; background: var(--ink-900); border-radius: 10px;
  display: grid; place-items: center; color: var(--orange);
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 18px;
  margin-bottom: 20px;
}
.why-h { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.why-p { font-size: 13.5px; color: var(--ink-500); line-height: 1.6; }

/* ====== Factory ====== */
.factory { background: var(--ink-900); color: white; }
.factory .sec-eyebrow { color: var(--orange); }
.factory .sec-title { color: white; }
.factory .sec-sub { color: rgba(255,255,255,0.6); }
.fac-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.fac-vis {
  height: 480px; border-radius: var(--radius); position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
  border: 1px solid rgba(255,255,255,0.08);
}
.fac-vis::before {
  content: ''; position: absolute; inset: 24px;
  background: linear-gradient(135deg, rgba(234,88,12,0.1) 0%, transparent 60%);
  border-radius: 8px;
}
.fac-vis-grid {
  position: absolute; inset: 24px;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.fac-vis-marker {
  position: absolute; padding: 10px 14px;
  background: rgba(255,255,255,0.95); color: var(--ink-900);
  border-radius: 8px; font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500;
  display: flex; gap: 8px; align-items: center;
  backdrop-filter: blur(8px);
}
.fac-vis-marker::before { content: ''; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 4px rgba(234,88,12,0.3); animation: pulse 2s infinite; }
.fvm-1 { top: 20%; left: 10%; }
.fvm-2 { top: 50%; right: 8%; }
.fvm-3 { bottom: 18%; left: 28%; }
.fac-vis-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: rgba(255,255,255,0.4); letter-spacing: 2px;
}

.fac-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.fac-stat { padding: 24px; border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; }
.fac-stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 36px; font-weight: 600; color: white; line-height: 1; letter-spacing: -0.02em;
}
.fac-stat-num em { color: var(--orange); font-style: normal; }
.fac-stat-lbl { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 8px; }

/* ====== OEM Process ====== */
.process { background: var(--ink-50); }
.proc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.proc-grid::before {
  content: ''; position: absolute; top: 32px; left: 8%; right: 8%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--ink-300) 0, var(--ink-300) 4px, transparent 4px, transparent 10px);
}
.proc-step { padding: 0 12px; position: relative; text-align: center; }
.proc-num {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: white; border: 1.5px solid var(--ink-900); border-radius: 50%;
  display: grid; place-items: center; position: relative; z-index: 1;
  font-family: 'JetBrains Mono', monospace; font-weight: 600; font-size: 18px; color: var(--ink-900);
}
.proc-h { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.proc-p { font-size: 12.5px; color: var(--ink-500); line-height: 1.5; }
.proc-d { font-size: 11px; color: var(--orange); font-family: 'JetBrains Mono', monospace; margin-top: 8px; }

/* ====== Applications ====== */
.app-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 480px; }
.app-card {
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden; transition: transform 0.2s;
}
.app-card:hover { transform: scale(1.01); }
.app-1 { grid-row: 1 / 3; background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-700) 100%); color: white; }
.app-2 { background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%); }
.app-3 { background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%); }
.app-4 { background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%); }
.app-5 { background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%); }

.app-icon { font-family: 'JetBrains Mono', monospace; font-size: 11px; opacity: 0.6; letter-spacing: 0.5px; }
.app-h { font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.app-1 .app-h { font-size: 28px; }
.app-p { font-size: 13px; line-height: 1.5; opacity: 0.75; margin-top: 8px; }
.app-1 .app-p { color: rgba(255,255,255,0.7); }
.app-link { font-size: 12px; font-weight: 500; display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; }
.app-link::after { content: '→'; }

/* ====== Testimonials ====== */
.testi { background: white; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testi-card { padding: 28px; background: var(--ink-50); border-radius: var(--radius); }
.testi-quote {
  font-size: 15px; line-height: 1.6; color: var(--ink-800); margin-bottom: 20px;
}
.testi-quote::before { content: '"'; display: block; font-size: 36px; line-height: 0; color: var(--orange); margin-bottom: 12px; font-family: Georgia, serif; }
.testi-meta { display: flex; gap: 12px; align-items: center; }
.testi-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--ink-700); color: white; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.testi-name { font-size: 13px; font-weight: 600; }
.testi-role { font-size: 12px; color: var(--ink-500); font-family: 'JetBrains Mono', monospace; }
.testi-stat { display: flex; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: var(--line); }
.testi-stat div { font-size: 11px; color: var(--ink-500); font-family: 'JetBrains Mono', monospace; }
.testi-stat strong { display: block; color: var(--ink-900); font-size: 18px; font-weight: 600; }

/* ====== FAQ (NEW) ====== */
.faq { background: var(--ink-50); }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 920px; margin: 0 auto; border: var(--line); border-radius: var(--radius); overflow: hidden; background: white; }
.faq-item { border-bottom: var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 28px; font-size: 16px; font-weight: 600; color: var(--ink-900);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--ink-50); }
.faq-item summary::after {
  content: '+'; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink-50); color: var(--ink-700);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 18px; font-weight: 500;
  transition: all 0.2s;
}
.faq-item[open] summary::after {
  content: '−'; background: var(--orange); color: white;
}
.faq-body { padding: 0 28px 24px; color: var(--ink-500); font-size: 14.5px; line-height: 1.7; }
.faq-body strong { color: var(--ink-900); font-weight: 600; }

/* ====== Blog / Insights — one-row layout (featured left + 5 list right) ====== */
.insights { background: white; }
.blog-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* ===== Featured article (left, big image) ===== */
.blog-feature {
  background: white; border: var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: all 0.2s; position: relative;
}
.blog-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ink-300); }
.blog-feature .blog-cover { height: 100%; min-height: 380px; flex: 1; }
.bf-1 .blog-cover { background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%); color: white; }
.blog-feature .blog-body { padding: 26px 28px 28px; }
.blog-feature .blog-title { font-size: 22px; line-height: 1.3; margin-bottom: 12px; }
.blog-feature .blog-excerpt { font-size: 14px; }
.blog-feature .blog-cover-ic { font-size: 15px; padding: 10px 16px; }
.bf-1 .blog-cover-ic::before { content: '📋 ERP 2024 · REGULATION'; }

/* ===== List side (right, 5 compact items) ===== */
.blog-list {
  display: flex; flex-direction: column;
  border: var(--line); border-radius: var(--radius);
  background: white; overflow: hidden;
}
.blog-list-item {
  display: flex; gap: 18px; padding: 20px 22px;
  text-decoration: none; color: inherit;
  border-bottom: var(--line); transition: background 0.15s;
  align-items: flex-start; flex: 1;
}
.blog-list-item:last-child { border-bottom: none; }
.blog-list-item:hover { background: var(--ink-50); }
.blog-list-item:hover .bl-title { color: var(--orange-2); }
.blog-list-item:hover .bl-num { color: var(--orange); border-color: var(--orange); }

/* Number badge */
.bl-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 600;
  color: var(--ink-400);
  border: 1px solid var(--ink-200);
  border-radius: 6px;
  padding: 4px 8px; min-width: 32px;
  text-align: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

/* Text side */
.bl-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.bl-meta {
  display: flex; gap: 10px; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  color: var(--ink-500); letter-spacing: 0.3px;
}
.bl-cat {
  padding: 2px 7px; background: var(--orange-soft); color: var(--orange-2);
  border-radius: 4px; font-weight: 500;
}
.bl-title {
  font-size: 14.5px; font-weight: 600; line-height: 1.4;
  color: var(--ink-900); transition: color 0.15s;
  letter-spacing: -0.005em;
}
.bl-foot {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--ink-400);
  margin-top: 2px;
}

/* ===== Shared bits (cover + body) kept compact ===== */
.blog-cover {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.blog-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.05) 100%);
}
.blog-cover-ic {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  padding: 8px 14px; border-radius: 6px;
  background: rgba(255,255,255,0.92); color: var(--ink-900);
  position: relative; z-index: 1;
}
.blog-body { display: flex; flex-direction: column; }
.blog-meta {
  display: flex; gap: 12px; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--ink-500); margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.blog-cat {
  padding: 3px 8px; background: var(--orange-soft); color: var(--orange-2);
  border-radius: 4px; font-weight: 500;
}
.blog-title {
  font-weight: 600; line-height: 1.35;
  letter-spacing: -0.01em; margin-bottom: 10px;
  color: var(--ink-900); transition: color 0.2s;
}
.blog-excerpt {
  font-size: 13.5px; color: var(--ink-500); line-height: 1.6;
  margin-bottom: 18px; flex: 1;
}
.blog-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: var(--line);
  font-size: 12px; font-family: 'JetBrains Mono', monospace;
}
.blog-author { color: var(--ink-700); font-weight: 500; }
.blog-arrow { color: var(--orange); font-size: 16px; transition: transform 0.2s; }
.blog-feature:hover .blog-title { color: var(--orange-2); }
.blog-feature:hover .blog-arrow { transform: translateX(4px); }

/* ====== CTA Banner & Footer — extracted to components/cta-banner.js & components/site-footer.js ====== */

/* ====== Responsive ====== */
@media (max-width: 1024px) {
  .hero-grid, .fac-grid, .cta-inner { grid-template-columns: 1fr; }
  .hero-vis { display: none; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item { border-right: var(--line); border-bottom: var(--line); }
  .why-item:nth-child(2n) { border-right: none; }
  .why-item:nth-child(4n) { border-right: var(--line); }
  .why-item:nth-child(2n) { border-right: none; }
  .why-item:nth-last-child(-n+4) { border-bottom: none; }
  .why-item:nth-last-child(-n+2) { border-bottom: none; }
  .proc-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .proc-grid::before { display: none; }
  .app-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .app-1 { grid-row: auto; grid-column: 1 / -1; }
  .testi-grid { grid-template-columns: 1fr; }
  .blog-row { grid-template-columns: 1fr; }
  .blog-feature .blog-cover { min-height: 280px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 44px; }
  .sec-title { font-size: 32px; }
  .cta-l h2 { font-size: 36px; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: 34px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: var(--line); border-bottom: var(--line); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(n+3) { border-bottom: none; }
  .prod-grid, .why-grid, .testi-grid, .foot-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .faq-item summary { padding: 18px 20px; font-size: 15px; }
  .faq-body { padding: 0 20px 20px; font-size: 14px; }
}