/* ===========================================================
   HSECai — page components
   Part A: ported verbatim from the current homepage <style> (no redesign)
   Part B: new shared components for the multi-page build (same language)
   theme.css defines tokens/nav/footer/buttons and loads first.
   =========================================================== */

/* ============================================================
   PART A — ported marketing components (unchanged)
   ============================================================ */
.section { padding: 65px 0; }
.section-alt { background: var(--grey-50); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes pulse { 0%,100% { opacity:0.5; } 50% { opacity:1; } }

.animate { opacity:0; transform:translateY(30px); transition: all 0.7s cubic-bezier(0.22,1,0.36,1); }
.animate.visible { opacity:1; transform:translateY(0); }
.animate-delay-1 { transition-delay:0.1s; }
.animate-delay-2 { transition-delay:0.2s; }
.animate-delay-3 { transition-delay:0.3s; }
.animate-delay-4 { transition-delay:0.4s; }
.animate-delay-5 { transition-delay:0.5s; }
@media (prefers-reduced-motion: reduce) {
  .animate { opacity:1; transform:none; transition:none; }
}

/* HERO */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, var(--white) 0%, var(--grey-50) 100%);
  position: relative;
}
.hero-content { max-width:720px; }
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background: var(--orange-light); border:1px solid var(--orange-subtle);
  padding:7px 18px; border-radius:100px; font-size:13px; font-weight:600;
  color: var(--orange); margin-bottom:28px;
  animation: fadeIn 0.8s ease forwards;
}
.hero-badge .dot { width:6px; height:6px; background:var(--orange); border-radius:50%; animation:pulse 2s infinite; }
.hero h1 {
  font-family: 'Merriweather', serif;
  font-size: clamp(36px, 5vw, 54px); font-weight:700;
  line-height:1.2; margin-bottom:24px; color: var(--grey-900);
}
.hero h1 .highlight { color: var(--orange); }
.hero p {
  font-size:18px; color: var(--text-secondary); max-width:560px;
  margin-bottom:40px; line-height:1.8;
}
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; }
.hero-stats {
  display:flex; gap:48px; margin-top:64px; padding-top:32px;
  border-top:1px solid var(--border);
}
.hero-stat .number { font-family:'Merriweather',serif; font-size:32px; font-weight:700; color:var(--orange); }
.hero-stat .label { font-size:13px; color:var(--text-light); margin-top:2px; font-weight:500; }

/* PROOF BAR */
.proof-bar { padding:48px 0; border-bottom:1px solid var(--border-light); }
.proof-bar .container { text-align:center; }
.proof-bar p { font-size:12px; text-transform:uppercase; letter-spacing:2px; color:var(--text-light); margin-bottom:20px; font-weight:600; }
.proof-analyst { margin-bottom:36px; padding-bottom:32px; border-bottom:1px solid var(--border-light); }
.proof-analyst .wordmark { font-size:20px; font-weight:800; letter-spacing:-0.5px; color:var(--grey-900); text-decoration:none; border-bottom:none; }
.proof-analyst .wordmark:hover { color:var(--orange); }
.proof-analyst .blurb { font-size:14px; color:var(--text-secondary); margin-top:8px; font-weight:500; }
.proof-industries { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }
.proof-industries span {
  font-size:13px; color:var(--grey-600); font-weight:500;
  padding:6px 18px; border:1px solid var(--border); border-radius:100px;
  background: var(--white);
}

/* SECTION HEADERS */
.section-label {
  font-size:12px; text-transform:uppercase; letter-spacing:2.5px;
  color:var(--orange); font-weight:700; margin-bottom:12px;
}
.section-title {
  font-family:'Merriweather',serif;
  font-size: clamp(28px, 3.5vw, 40px); font-weight:700;
  color:var(--grey-900); line-height:1.3; margin-bottom:16px;
}
.section-desc { font-size:17px; color:var(--text-secondary); line-height:1.8; margin-bottom:28px; }
.text-orange { color: var(--orange); }
.center-head { text-align:center; max-width:680px; margin:0 auto; }

/* PROBLEM SECTION */
.problem-grid { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; }
.house-analogy {
  background: var(--orange-light); border:1px solid var(--orange-subtle);
  border-radius:12px; padding:36px; position:relative;
}
.house-analogy .quote-mark {
  font-family:'Merriweather',serif; font-size:72px; color:var(--orange);
  opacity:0.2; line-height:1; position:absolute; top:12px; left:20px;
}
.house-analogy p { font-size:16px; font-style:italic; color:var(--grey-700); line-height:1.8; position:relative; z-index:1; padding-top:16px; }
.pain-points { list-style:none; display:flex; flex-direction:column; gap:14px; }
.pain-points li { display:flex; align-items:flex-start; gap:12px; font-size:15px; color:var(--text-secondary); }
.pain-points li .icon {
  width:22px; height:22px; min-width:22px; border-radius:50%;
  background:var(--orange-light); color:var(--orange);
  display:flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:700; margin-top:3px;
}

/* PILLARS */
.pillars-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-top:52px; }
.pillar-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:10px; padding:36px; transition: all 0.3s;
  position:relative; overflow:hidden;
}
.pillar-card:hover { border-color:var(--orange-subtle); box-shadow:0 4px 20px rgba(0,0,0,0.06); transform:translateY(-2px); }
.pillar-card::before {
  content:''; position:absolute; top:0; left:0; right:0;
  height:3px; background:var(--orange); opacity:0; transition:opacity 0.3s;
}
.pillar-card:hover::before { opacity:1; }
.pillar-number {
  font-family:'Merriweather',serif; font-size:40px; font-weight:700;
  color:var(--orange); opacity:0.1; position:absolute; top:12px; right:20px;
}
.pillar-card h3 { font-size:18px; font-weight:700; color:var(--grey-900); margin-bottom:12px; }
.pillar-card p { font-size:14px; color:var(--text-muted); line-height:1.7; }

/* MODULES */
.modules-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:52px; }
.module-card {
  background:var(--white); border:1px solid var(--border);
  border-radius:10px; padding:28px; transition: all 0.3s;
}
.module-card:hover { border-color:var(--orange); box-shadow:0 2px 12px rgba(232,83,14,0.08); }
a.module-card { text-decoration:none; color:inherit; display:block; }
a.module-card:hover { transform:translateY(-2px); }
.module-icon {
  width:44px; height:44px; border-radius:8px;
  background:var(--orange-light); color:var(--orange);
  display:flex; align-items:center; justify-content:center;
  font-size:20px; margin-bottom:16px;
}
.module-card h3 { font-size:16px; font-weight:700; color:var(--grey-900); margin-bottom:8px; }
.module-card p { font-size:13px; color:var(--text-muted); line-height:1.7; }
.module-card .more { margin-top:12px; font-size:13px; font-weight:700; color:var(--orange); }

/* COMPARISON TABLE */
.comparison-table {
  margin-top:52px; border-radius:10px; overflow:hidden;
  border:1px solid var(--border); background:var(--white);
}
.comparison-table table { width:100%; border-collapse:collapse; }
.comparison-table th {
  padding:16px 24px; text-align:left; font-size:13px;
  text-transform:uppercase; letter-spacing:0.8px; font-weight:700;
}
.comparison-table th:first-child { background:var(--grey-100); color:var(--grey-600); }
.comparison-table th:nth-child(2) { background:var(--grey-100); color:var(--grey-500); }
.comparison-table th:nth-child(3) { background:var(--orange); color:var(--white); }
.comparison-table td { padding:14px 24px; font-size:14px; border-bottom:1px solid var(--border-light); }
.comparison-table td:first-child { color:var(--grey-800); font-weight:600; background:var(--grey-50); width:22%; }
.comparison-table td:nth-child(2) { color:var(--text-light); }
.comparison-table td:nth-child(3) { color:var(--grey-800); background:var(--orange-light); }
.comparison-table tr:last-child td { border-bottom:none; }

.analyst-quote { margin-top:52px; max-width:760px; margin-left:auto; margin-right:auto; text-align:center; padding:36px 32px; background:var(--orange-light); border:1px solid var(--orange-subtle); border-radius:10px; }
.analyst-quote blockquote { margin:0; font-size:22px; line-height:1.5; font-weight:600; color:var(--grey-900); }
.analyst-quote .attrib { margin-top:18px; font-size:14px; color:var(--text-secondary); font-weight:500; }
.analyst-quote .attrib a { color:var(--orange); font-weight:700; text-decoration:none; }
.analyst-quote .attrib a:hover { text-decoration:underline; }

/* FOUNDER */
.founder-grid { display:grid; grid-template-columns:1fr 1.5fr; gap:72px; align-items:center; }
.founder-card {
  background:var(--grey-50); border:1px solid var(--border);
  border-radius:14px; padding:44px; text-align:center;
}
.founder-avatar {
  width:88px; height:88px; border-radius:50%;
  background:var(--orange); display:flex; align-items:center;
  justify-content:center; margin:0 auto 20px;
  font-family:'Merriweather',serif; font-size:30px; font-weight:700; color:var(--white);
}
.founder-card h3 { font-size:22px; font-weight:700; color:var(--grey-900); margin-bottom:4px; }
.founder-card .title { font-size:13px; color:var(--orange); font-weight:600; margin-bottom:20px; }
.founder-stats { display:flex; justify-content:center; gap:28px; }
.founder-stat { text-align:center; }
.founder-stat .val { font-family:'Merriweather',serif; font-size:24px; font-weight:700; color:var(--orange); }
.founder-stat .lbl { font-size:11px; color:var(--text-light); margin-top:2px; font-weight:500; text-transform:uppercase; letter-spacing:0.5px; }
.founder-content blockquote {
  font-size:19px; font-style:italic; color:var(--grey-700);
  line-height:1.8; margin-bottom:24px;
  padding-left:20px; border-left:3px solid var(--orange);
}

/* CTA */
.cta-section {
  padding:100px 0; text-align:center;
  background: linear-gradient(180deg, var(--white) 0%, var(--orange-light) 100%);
}
.cta-section h2 {
  font-family:'Merriweather',serif;
  font-size: clamp(30px, 4vw, 44px); font-weight:700;
  color:var(--grey-900); margin-bottom:16px;
}
.cta-section p { font-size:17px; color:var(--text-secondary); max-width:520px; margin:0 auto 40px; }
.cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.cta-contact { margin-top:32px; font-size:14px; color:var(--text-light); }
.cta-contact a { color:var(--orange); text-decoration:none; font-weight:600; }
.cta-contact a:hover { text-decoration:underline; }

/* DEMO VIDEOS */
.demo-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; margin-top:52px; }
.demo-card { background:var(--white); border:1px solid var(--border); border-radius:12px; overflow:hidden; }
.demo-card video { width:100%; display:block; background:var(--grey-900); aspect-ratio:1908 / 958; }
.demo-card .demo-cap { padding:16px 20px 18px; }
.demo-card .demo-cap h3 { font-size:16px; margin-bottom:4px; }
.demo-card .demo-cap p { font-size:14px; color:var(--text-secondary); line-height:1.55; }
.demo-darkmode { display:flex; align-items:center; gap:0; margin-top:28px; background:var(--grey-900); border-radius:12px; overflow:hidden; }
.demo-darkmode img { width:55%; display:block; }
.demo-darkmode .dm-text { padding:32px 40px; }
.demo-darkmode .dm-text .section-label { color:var(--orange); }
.demo-darkmode .dm-text h3 { font-size:22px; color:var(--white); margin:6px 0 10px; }
.demo-darkmode .dm-text p { font-size:15px; color:var(--grey-300); line-height:1.6; }

/* PRICING */
.pricing-card { max-width:900px; margin:0 auto; display:grid; grid-template-columns:1.05fr 1fr; background:var(--white); border:1px solid var(--border); border-radius:16px; box-shadow:0 10px 40px rgba(45,45,45,0.07); overflow:hidden; }
.pricing-controls { padding:38px 40px; }
.pricing-ctl-label { display:block; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:1.5px; color:var(--text-light); margin-bottom:12px; }
.seat-input-row { display:flex; align-items:baseline; gap:10px; margin-bottom:22px; }
#seat-input { width:130px; font-family:'Merriweather',serif; font-size:36px; font-weight:700; color:var(--grey-900); border:none; border-bottom:2px solid var(--orange); background:transparent; padding:2px; outline:none; }
.seat-unit { font-size:15px; color:var(--text-light); font-weight:600; }
#seat-slider { width:100%; accent-color:var(--orange); height:6px; cursor:pointer; margin-bottom:18px; }
.seat-presets { display:flex; gap:8px; margin-bottom:14px; }
.seat-presets button { flex:1; padding:9px 0; font-family:inherit; font-size:13px; font-weight:600; color:var(--text-secondary); background:var(--grey-50); border:1px solid var(--border); border-radius:6px; cursor:pointer; transition:all .2s; }
.seat-presets button:hover { border-color:var(--orange); color:var(--orange); }
.seat-presets button.active { background:var(--orange); color:var(--white); border-color:var(--orange); }
.min-note { font-size:12px; color:var(--text-light); }
.pricing-readout { padding:38px 40px; background:var(--grey-50); border-left:1px solid var(--border-light); display:flex; flex-direction:column; }
.price-headline { font-family:'Merriweather',serif; font-weight:700; color:var(--grey-900); line-height:1; }
.price-headline .price-cur { font-size:26px; vertical-align:8px; margin-right:2px; }
.price-headline #price-month { font-size:50px; }
.price-headline .price-per { font-family:'Source Sans 3',sans-serif; font-size:17px; color:var(--text-light); font-weight:600; }
.price-headline .price-ccy { font-family:'Source Sans 3',sans-serif; font-size:15px; color:var(--text-light); font-weight:700; margin:0 5px 0 3px; }
.price-secondary { display:flex; gap:30px; margin:22px 0 26px; }
.price-secondary strong { display:block; font-size:21px; color:var(--grey-900); }
.price-secondary span { font-size:12px; color:var(--text-light); text-transform:uppercase; letter-spacing:.5px; }
.pricing-cta { align-self:flex-start; }
.ast { color:var(--orange); font-weight:700; font-size:0.55em; vertical-align:super; margin-left:1px; }
.price-terms { margin-top:12px; font-size:12px; color:var(--text-light); }
.price-foot { margin-top:6px; font-size:11.5px; color:var(--text-light); line-height:1.5; max-width:300px; }
.price-foot sup { color:var(--orange); font-weight:700; }
.pricing-notes { max-width:900px; margin:26px auto 0; display:grid; gap:9px; }
.pricing-notes .pn { font-size:14px; color:var(--text-secondary); display:flex; gap:9px; align-items:flex-start; line-height:1.5; }
.pricing-notes .pn-i { color:var(--orange); font-weight:800; flex-shrink:0; }
.pricing-notes .pn a { color:var(--orange); text-decoration:none; font-weight:600; }
.pricing-notes .pn.pn-muted { color:var(--text-light); font-size:12.5px; margin-top:4px; }

/* FAQ */
.faq-list { max-width:820px; margin:0 auto; }
.faq-item { border:1px solid var(--border); border-radius:10px; margin-bottom:12px; background:var(--white); overflow:hidden; }
.faq-item summary { list-style:none; cursor:pointer; padding:20px 24px; font-weight:600; font-size:16px; color:var(--grey-900); display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:'+'; color:var(--orange); font-size:24px; font-weight:400; line-height:1; flex-shrink:0; }
.faq-item[open] summary::after { content:'\2212'; }
.faq-item p { padding:0 24px 20px; color:var(--text-secondary); font-size:15px; line-height:1.7; margin:0; }
.faq-item p a { color:var(--orange); text-decoration:none; font-weight:600; }

/* Custom demo form (moved off inline handlers) */
.form-field { margin-bottom:14px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
.form-field label { display:block; font-size:13px; font-weight:600; color:var(--text); margin-bottom:5px; }
.form-field input { width:100%; padding:10px 12px; border:1px solid var(--border); border-radius:6px; font-size:14px; font-family:inherit; outline:none; transition:border 0.2s; }
.form-field input:focus { border-color:var(--orange); }
.form-submit { width:100%; padding:14px; background:var(--orange); color:#fff; border:none; border-radius:8px; font-size:16px; font-weight:600; cursor:pointer; font-family:inherit; transition:background 0.2s; }
.form-submit:hover { background:var(--orange-hover); }

/* RESPONSIVE (Part A) */
@media (max-width: 968px) {
  .section { padding:46px 0; }
  .problem-grid, .founder-grid { grid-template-columns:1fr; gap:36px; }
  .pillars-grid { grid-template-columns:1fr; }
  .modules-grid { grid-template-columns:1fr; }
  .hero-stats { gap:28px; flex-wrap:wrap; }
  .hero { padding:120px 0 72px; }
  .comparison-table { overflow-x:auto; }
  .comparison-table table { min-width:580px; }
}
@media (max-width:768px) {
  .demo-grid { grid-template-columns:1fr; }
  .demo-darkmode { flex-direction:column; }
  .demo-darkmode img { width:100%; }
  .pricing-card { grid-template-columns:1fr; }
  .pricing-readout { border-left:none; border-top:1px solid var(--border-light); }
  .form-row { grid-template-columns:1fr; }
}

/* ============================================================
   PART B — new shared components for interior pages
   (built from the same tokens; matches the homepage language)
   ============================================================ */
.subpage { padding-top: 68px; }        /* clear the fixed nav */

/* Breadcrumb */
.breadcrumb { font-size:13px; color:var(--text-light); padding:22px 0 2px; }
.breadcrumb a { color:var(--text-light); text-decoration:none; }
.breadcrumb a:hover { color:var(--orange); }
.breadcrumb .sep { margin:0 8px; color:var(--grey-300); }
.breadcrumb [aria-current] { color:var(--grey-700); font-weight:600; }

/* Interior page hero */
.page-hero { padding:30px 0 8px; }
.page-hero h1 { font-family:'Merriweather',serif; font-size:clamp(30px,4vw,46px); font-weight:700; line-height:1.18; color:var(--grey-900); margin-bottom:16px; }
.page-hero .lead { font-size:19px; color:var(--text-secondary); max-width:600px; line-height:1.7; margin-bottom:26px; }
.hero-split { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }

/* Screenshot placeholder frame (doubles as the shot list) */
.shot { border-radius:12px; overflow:hidden; border:1px solid var(--border); background:var(--white); box-shadow:0 12px 40px rgba(45,45,45,0.08); }
.shot .shot-bar { display:flex; align-items:center; gap:6px; padding:11px 14px; background:var(--grey-100); border-bottom:1px solid var(--border-light); }
.shot .shot-bar i { width:10px; height:10px; border-radius:50%; background:var(--grey-300); display:block; }
.shot .shot-body {
  aspect-ratio:16/10; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:28px; color:var(--text-light);
  background:repeating-linear-gradient(45deg,var(--grey-50),var(--grey-50) 12px,var(--white) 12px,var(--white) 24px);
}
.shot .shot-body .cam { font-size:32px; opacity:0.55; margin-bottom:12px; }
.shot .shot-body .lbl { font-size:13.5px; font-weight:600; color:var(--grey-600); max-width:360px; line-height:1.55; }
.shot .shot-body .id { display:inline-block; margin-top:12px; font-size:11px; font-weight:700; letter-spacing:.6px; text-transform:uppercase; color:var(--orange); background:var(--orange-light); border:1px solid var(--orange-subtle); padding:3px 9px; border-radius:100px; }
.shot.shot-sm .shot-body { aspect-ratio:16/9; }

/* Feature grid */
.feature-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin-top:8px; }
.feature-card { background:var(--white); border:1px solid var(--border); border-radius:12px; padding:26px; transition:all .3s; position:relative; }
.feature-card:hover { border-color:var(--orange-subtle); box-shadow:0 4px 20px rgba(0,0,0,.05); transform:translateY(-2px); }
.feature-card .fi { width:42px; height:42px; border-radius:9px; background:var(--orange-light); display:flex; align-items:center; justify-content:center; font-size:20px; margin-bottom:14px; }
.feature-card h3 { font-size:17px; font-weight:700; color:var(--grey-900); margin-bottom:7px; }
.feature-card p { font-size:14px; color:var(--text-muted); line-height:1.65; }

/* "Built on the platform" strip */
.baseline-strip { margin-top:20px; border:1px solid var(--orange-subtle); background:var(--orange-light); border-radius:12px; padding:20px 26px; display:flex; align-items:center; gap:18px; flex-wrap:wrap; justify-content:space-between; }
.baseline-strip .bl-txt { font-size:14px; color:var(--grey-700); }
.baseline-strip .bl-txt strong { color:var(--grey-900); }
.baseline-strip .bl-items { display:flex; gap:10px; flex-wrap:wrap; }
.baseline-strip .bl-items span { font-size:13px; font-weight:600; color:var(--orange); background:var(--white); border:1px solid var(--orange-subtle); border-radius:100px; padding:6px 14px; }
.baseline-strip a { color:var(--orange); font-weight:700; text-decoration:none; white-space:nowrap; }
.baseline-strip a:hover { text-decoration:underline; }

/* Baseline capability grid (/platform overview) */
.cap-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:12px; }
.cap-card { background:var(--white); border:1px solid var(--border); border-radius:12px; padding:28px; }
.cap-card .ci { font-size:26px; margin-bottom:12px; }
.cap-card h3 { font-size:17px; font-weight:700; color:var(--grey-900); margin-bottom:7px; }
.cap-card p { font-size:14px; color:var(--text-muted); line-height:1.65; }

/* Related links */
.related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:8px; }
.related-card { display:block; background:var(--white); border:1px solid var(--border); border-radius:10px; padding:20px 22px; text-decoration:none; transition:all .3s; }
.related-card:hover { border-color:var(--orange); box-shadow:0 2px 12px rgba(232,83,14,.08); transform:translateY(-2px); }
.related-card .rc-k { font-size:11px; text-transform:uppercase; letter-spacing:1px; color:var(--text-light); font-weight:700; }
.related-card .rc-t { font-size:16px; color:var(--grey-900); font-weight:700; margin-top:4px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.related-card .rc-t .rc-a { color:var(--orange); }

/* Highlights list (industry pages) */
.checklist { list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:12px 24px; margin:6px 0 8px; }
.checklist li { display:flex; align-items:flex-start; gap:10px; font-size:15px; color:var(--text-secondary); }
.checklist li::before { content:'✓'; color:var(--orange); font-weight:800; margin-top:1px; }

/* Prose (faq intro / about / security) */
.prose { max-width:760px; }
.prose h2 { font-family:'Merriweather',serif; font-size:24px; font-weight:700; color:var(--grey-900); margin:32px 0 12px; }
.prose h3 { font-size:17px; font-weight:700; color:var(--grey-900); margin:22px 0 8px; }
.prose p { color:var(--text-secondary); margin-bottom:14px; }
.prose ul { margin:0 0 16px 22px; }
.prose li { margin-bottom:8px; color:var(--text-secondary); }

/* Draft flag */
.draft-pill { display:inline-block; font-size:11px; font-weight:700; color:#9a6a00; background:#fff6e0; border:1px solid #ffe1a6; border-radius:100px; padding:2px 9px; letter-spacing:.3px; vertical-align:middle; margin-left:8px; }

@media (max-width: 968px) {
  .hero-split { grid-template-columns:1fr; gap:28px; }
  .cap-grid, .related-grid { grid-template-columns:1fr; }
}
@media (max-width: 768px) {
  .feature-grid { grid-template-columns:1fr; }
  .checklist { grid-template-columns:1fr; }
}

/* Footer columns (multi-page) — reuses theme.css footer shell */
.footer-top { display:grid; grid-template-columns:1.3fr 2.7fr; gap:48px; align-items:start; }
.footer-brand .footer-tagline { font-size:13.5px; color:var(--text-light); margin-top:14px; max-width:280px; line-height:1.6; }
.footer-brand .footer-contact { margin-top:14px; font-size:13px; }
.footer-brand .footer-contact a { color:var(--text-secondary); text-decoration:none; font-weight:600; }
.footer-brand .footer-contact a:hover { color:var(--orange); }
.footer-cols { display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
.footer-col-title { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--grey-700); margin-bottom:14px; }
.footer-col a { display:block; color:var(--text-light); text-decoration:none; font-size:13.5px; font-weight:500; margin-bottom:9px; transition:color .3s; }
.footer-col a:hover { color:var(--orange); }
@media (max-width:968px){ .footer-top { grid-template-columns:1fr; gap:32px; } .footer-cols { grid-template-columns:1fr 1fr; } }

/* ===========================================================
   NAV DROPDOWN / MEGA MENU (Platform, Industries)
   Scoped to #nav to override the ported theme link rules.
   =========================================================== */
#nav .nav-links { list-style:none; gap:4px; }
#nav .nav-item { position:relative; display:flex; align-items:center; }
#nav .nav-top-row { display:inline-flex; align-items:center; }
#nav .nav-top { padding:8px 14px; border-radius:7px; transition:background .2s, color .2s; }
#nav .nav-top:hover { background:var(--grey-50); }
#nav .nav-top-row .nav-top { padding-right:4px; }
#nav .submenu-toggle {
  background:none; border:none; cursor:pointer; padding:8px 12px 8px 2px;
  color:var(--grey-500); display:inline-flex; align-items:center; line-height:1;
}
#nav .submenu-toggle .caret { font-size:11px; transition:transform .25s ease, color .2s; }
#nav .has-menu:hover .caret,
#nav .has-menu:focus-within .caret,
#nav .has-menu.open .caret { transform:rotate(180deg); color:var(--orange); }

#nav .nav-mega {
  position:absolute; top:calc(100% + 12px); left:0;
  width:540px; max-width:calc(100vw - 48px);
  background:var(--white); border:1px solid var(--border); border-radius:16px;
  box-shadow:0 20px 60px rgba(45,45,45,.16); padding:16px; z-index:1200;
  opacity:0; visibility:hidden; pointer-events:none;
  transform:translateY(8px); transition:opacity .22s ease, transform .22s ease;
}
#nav .nav-mega::before { content:''; position:absolute; top:-14px; left:0; right:0; height:14px; } /* hover bridge */
#nav .has-menu:hover > .nav-mega,
#nav .has-menu:focus-within > .nav-mega {
  opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0);
}
#nav .nav-mega-grid { display:grid; grid-template-columns:1fr 1fr; gap:2px; }
#nav a.nav-mega-item {
  display:flex; gap:12px; align-items:flex-start; padding:11px 12px;
  border-radius:10px; text-decoration:none; white-space:normal;
  transition:background .16s ease;
}
#nav a.nav-mega-item:hover { background:var(--orange-light); }
#nav .nmi-ic {
  width:36px; height:36px; flex:none; border-radius:9px; background:var(--grey-50);
  display:flex; align-items:center; justify-content:center; font-size:18px; transition:background .16s ease;
}
#nav a.nav-mega-item:hover .nmi-ic { background:var(--white); }
#nav .nmi-tx { display:flex; flex-direction:column; min-width:0; }
#nav .nmi-tx strong { font-size:14px; font-weight:600; color:var(--grey-900); line-height:1.25; }
#nav .nmi-tx em { font-style:normal; font-weight:400; font-size:12px; color:var(--text-light); margin-top:2px; line-height:1.3; }
#nav a.nav-mega-all { display:inline-block; margin:10px 4px 2px; font-size:13px; font-weight:700; color:var(--orange); text-decoration:none; white-space:nowrap; }
#nav a.nav-mega-all:hover { text-decoration:underline; }

/* Mobile: dropdowns become inline tap-to-expand accordions inside the hamburger menu */
@media (max-width:968px) {
  #nav .nav-item { display:block; width:100%; }
  #nav .nav-top-row { display:flex; justify-content:space-between; align-items:center; width:100%; }
  #nav .submenu-toggle { padding:10px; }
  #nav .submenu-toggle .caret { font-size:13px; }
  #nav .nav-mega {
    position:static; width:auto; max-width:none; opacity:1; visibility:visible; pointer-events:auto;
    transform:none; box-shadow:none; border:none; border-radius:0; padding:2px 0 10px 8px;
    display:none; transition:none;
  }
  #nav .has-menu.open > .nav-mega { display:block; }
  #nav .nav-mega-grid { grid-template-columns:1fr; gap:0; }
  #nav a.nav-mega-item { padding:9px 8px; }
  #nav .nav-mega::before { display:none; }
}

/* Condensed platform teaser (homepage) */
.platform-teaser { list-style:none; display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:10px; }
.platform-teaser a { display:block; padding:16px; border:1px solid var(--border); border-radius:10px; background:var(--white); text-decoration:none; transition:all .2s; height:100%; }
.platform-teaser a:hover { border-color:var(--orange); box-shadow:0 2px 12px rgba(232,83,14,.08); transform:translateY(-2px); }
.platform-teaser strong { display:block; font-size:15px; font-weight:600; color:var(--grey-900); }
.platform-teaser span { display:block; font-size:12.5px; color:var(--text-light); margin-top:3px; line-height:1.35; }
@media (max-width:968px){ .platform-teaser { grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .platform-teaser { grid-template-columns:1fr; } }

/* Answer-first lead (module pages) */
.lead-answer { max-width:820px; margin:0 auto; font-family:'Merriweather',serif; font-size:clamp(19px,2.4vw,23px); line-height:1.55; color:var(--grey-800); text-align:center; }

/* Glossary */
.glossary-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:8px; }
.gloss-item { background:var(--white); border:1px solid var(--border); border-radius:12px; padding:22px 24px; }
.gloss-term { font-size:17px; font-weight:700; color:var(--grey-900); }
.gloss-abbr { color:var(--orange); font-weight:600; font-size:14px; }
.gloss-cat { font-size:11px; text-transform:uppercase; letter-spacing:.6px; color:var(--text-light); font-weight:700; margin:3px 0 10px; }
.gloss-def { font-size:14.5px; color:var(--text-secondary); line-height:1.6; margin:0; }
@media (max-width:768px){ .glossary-grid { grid-template-columns:1fr; } }

/* Industry recognition (analyst) */
.recog-featured { max-width:820px; margin:8px auto 0; background:var(--white); border:1px solid var(--orange-subtle); border-left:4px solid var(--orange); border-radius:12px; padding:32px 36px; box-shadow:0 8px 30px rgba(45,45,45,.05); }
.recog-src { font-size:14px; font-weight:800; letter-spacing:.2px; color:var(--grey-900); margin-bottom:14px; }
.recog-featured blockquote { font-family:'Merriweather',serif; font-size:clamp(18px,2.2vw,22px); line-height:1.5; color:var(--grey-900); margin:0 0 16px; font-weight:700; }
.recog-attrib { font-size:14px; color:var(--text-secondary); line-height:1.6; }
.recog-attrib a { color:var(--orange); font-weight:600; text-decoration:none; }
.recog-attrib a:hover { text-decoration:underline; }
.recog-more { max-width:820px; margin:18px auto 0; display:flex; flex-wrap:wrap; gap:6px 18px; align-items:baseline; font-size:13px; color:var(--text-light); }
.recog-more span { font-weight:700; text-transform:uppercase; letter-spacing:.5px; font-size:11px; }
.recog-more a { color:var(--grey-700); text-decoration:none; font-weight:500; }
.recog-more a:hover { color:var(--orange); }

/* ============ MODULE VIGNETTES (IP-safe, dummy data) ============ */
.vg-frame { border:1px solid var(--border); border-radius:14px; overflow:hidden; box-shadow:0 16px 44px rgba(45,45,45,.10); background:#fff; }
.vg-bar { display:flex; gap:6px; padding:10px 14px; background:var(--grey-100); border-bottom:1px solid var(--border-light); }
.vg-bar i { width:10px; height:10px; border-radius:50%; background:var(--grey-300); display:block; }
.vg-body { padding:18px; background:linear-gradient(160deg,#fff,var(--orange-light) 170%); }
.vg-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.vg-head b { font-size:14px; color:var(--grey-900); }
.vg-pill { font-size:10px; font-weight:700; color:var(--orange); background:#fff; border:1px solid var(--orange-subtle); border-radius:100px; padding:3px 10px; }
.vg-tiles { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin-bottom:13px; }
.vg-tile { background:#fff; border:1px solid var(--border); border-radius:9px; padding:12px; }
.vg-tile .n { font-family:'Merriweather',serif; font-size:22px; font-weight:700; color:var(--grey-900); line-height:1; }
.vg-tile .n.o { color:var(--orange); }
.vg-tile .l { font-size:10px; color:var(--text-light); margin-top:4px; text-transform:uppercase; letter-spacing:.3px; }
.vg-pan { display:grid; grid-template-columns:1.1fr 1fr; gap:10px; }
.vg-card { background:#fff; border:1px solid var(--border); border-radius:9px; padding:12px; }
.vg-card .ct { font-size:11px; font-weight:700; color:var(--grey-600); margin-bottom:9px; }
.vg-row { display:flex; justify-content:space-between; font-size:11.5px; padding:5px 0; border-bottom:1px solid var(--border-light); }
.vg-row:last-child { border:none; }
.vg-row .du { color:var(--text-light); }
.vg-dot { width:7px; height:7px; border-radius:50%; display:inline-block; margin-right:7px; background:var(--orange); }
.vg-dot.g { background:#12a150; } .vg-dot.a { background:#e0a400; }
.vg-bars { display:flex; align-items:flex-end; gap:7px; height:66px; }
.vg-bars .b { flex:1; background:var(--orange-subtle); border-radius:3px 3px 0 0; }
.vg-bars .b.o { background:var(--orange); }
.vg-stack { display:flex; align-items:flex-end; gap:12px; height:96px; padding-top:4px; }
.vg-col { flex:1; display:flex; flex-direction:column; justify-content:flex-end; border-radius:4px 4px 0 0; overflow:hidden; }
.vg-seg { width:100%; }
.vg-seg.s1 { background:var(--orange); } .vg-seg.s2 { background:#f2874e; } .vg-seg.s3 { background:var(--orange-subtle); }
.vg-legend { display:flex; gap:14px; margin-top:10px; font-size:10.5px; color:var(--text-light); }
.vg-legend i { width:9px; height:9px; border-radius:2px; display:inline-block; margin-right:5px; vertical-align:middle; }
.vg-fw { display:grid; grid-template-columns:repeat(2,1fr); gap:9px; }
.vg-fw .f { background:#fff; border:1px solid var(--border); border-radius:9px; padding:11px 13px; }
.vg-fw .f b { font-size:13px; color:var(--grey-900); }
.vg-fw .f .prog { height:6px; background:var(--grey-100); border-radius:100px; margin:8px 0 5px; overflow:hidden; }
.vg-fw .f .prog i { display:block; height:100%; background:var(--orange); border-radius:100px; }
.vg-fw .f span { font-size:10px; color:var(--text-light); }
.vg-cal { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.vg-cal .d { aspect-ratio:1; border-radius:5px; background:var(--grey-50); border:1px solid var(--border-light); font-size:9px; color:var(--text-light); display:flex; align-items:center; justify-content:center; }
.vg-cal .d.on { background:var(--orange-light); border-color:var(--orange-subtle); color:var(--orange); font-weight:700; }
.vg-cal .d.hi { background:var(--orange); color:#fff; border-color:var(--orange); font-weight:700; }
/* diagrams (B) */
.vg-diagram { padding:24px 22px 18px; background:linear-gradient(160deg,#fff,var(--orange-light) 180%); }
.vg-cap { text-align:center; font-size:11px; color:var(--text-light); margin-top:14px; text-transform:uppercase; letter-spacing:.5px; }
.vg-flow { display:flex; align-items:flex-start; }
.vg-step { flex:1; text-align:center; position:relative; }
.vg-step .node { width:40px; height:40px; border-radius:50%; margin:0 auto 9px; display:flex; align-items:center; justify-content:center; background:var(--orange-light); border:1.5px solid var(--orange-subtle); color:var(--orange); font-weight:700; font-size:15px; position:relative; z-index:1; }
.vg-step.active .node { background:var(--orange); color:#fff; border-color:var(--orange); }
.vg-step .lbl { font-size:10.5px; color:var(--grey-700); font-weight:600; line-height:1.25; position:relative; z-index:1; }
.vg-step::before { content:''; position:absolute; top:20px; left:-50%; width:100%; height:2px; background:var(--orange-subtle); z-index:0; }
.vg-step:first-child::before { display:none; }
.vg-chips { display:flex; flex-wrap:wrap; gap:7px; justify-content:center; margin-top:18px; }
.vg-chips span { font-size:11px; font-weight:600; color:var(--grey-700); background:#fff; border:1px solid var(--border); border-radius:100px; padding:5px 12px; }
.vg-barrier { display:flex; align-items:center; justify-content:center; gap:12px; padding:10px 0 4px; }
.vg-endcap { text-align:center; width:70px; }
.vg-endcap .ic { width:44px; height:44px; border-radius:11px; display:flex; align-items:center; justify-content:center; margin:0 auto 7px; font-size:20px; }
.vg-endcap.hz .ic { background:var(--orange); color:#fff; }
.vg-endcap.ok .ic { background:#e8f6ee; color:#12a150; border:1px solid #bfe6cd; }
.vg-endcap .t { font-size:10px; font-weight:700; color:var(--grey-600); text-transform:uppercase; letter-spacing:.4px; }
.vg-plates { display:flex; align-items:center; gap:11px; }
.vg-plate { width:14px; height:92px; border-radius:6px; background:var(--orange-subtle); position:relative; }
.vg-plate .eff { position:absolute; top:-15px; left:50%; transform:translateX(-50%); width:8px; height:8px; border-radius:50%; }
.vg-plate .eff.g { background:#12a150; } .vg-plate .eff.a { background:#e0a400; }
.vg-plate .hole { position:absolute; left:3px; width:8px; height:8px; border-radius:50%; background:#fff; }

/* Industry hero — branded gradient (interim; swap for photo later) */
.industry-hero { position:relative; overflow:hidden; padding:70px 0 74px; margin-top:6px; color:#fff;
  background:linear-gradient(115deg,#2D2D2D 0%,#7a2f0c 62%,var(--orange) 132%); }
.industry-hero::after { content:''; position:absolute; inset:0; background-image:radial-gradient(circle at 1px 1px,rgba(255,255,255,.10) 1px,transparent 0); background-size:22px 22px; opacity:.5; }
.industry-hero .container { position:relative; z-index:1; }
.industry-hero .section-label { color:#fff; opacity:.82; }
.industry-hero h1 { font-family:'Merriweather',serif; font-size:clamp(30px,4vw,46px); font-weight:700; line-height:1.14; margin-bottom:14px; max-width:700px; color:#fff; }
.industry-hero .lead { font-size:19px; color:rgba(255,255,255,.9); max-width:560px; margin-bottom:26px; line-height:1.6; }
.industry-hero .btn-primary { background:#fff; color:var(--orange); }
.industry-hero .btn-primary:hover { background:var(--grey-50); box-shadow:0 4px 16px rgba(0,0,0,.18); }
.industry-hero .btn-secondary { background:transparent; color:#fff; border-color:rgba(255,255,255,.45); }
.industry-hero .btn-secondary:hover { background:rgba(255,255,255,.12); border-color:#fff; }

/* About — company facts + leadership */
.fact-strip { display:flex; flex-wrap:wrap; gap:26px 56px; justify-content:center; margin:8px auto 0; max-width:840px; padding:28px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.fact { text-align:center; }
.fact .fv { font-family:'Merriweather',serif; font-size:20px; font-weight:700; color:var(--orange); }
.fact .fl { font-size:13px; color:var(--text-light); margin-top:3px; }
.leader { max-width:720px; margin:0 auto; display:flex; gap:20px; align-items:flex-start; background:var(--grey-50); border:1px solid var(--border); border-radius:14px; padding:26px 28px; }
.leader .av { width:56px; height:56px; border-radius:50%; background:var(--orange); color:#fff; display:flex; align-items:center; justify-content:center; font-family:'Merriweather',serif; font-weight:700; font-size:20px; flex:none; }
.leader h3 { font-size:16px; margin-bottom:2px; color:var(--grey-900); }
.leader .role { font-size:13px; color:var(--orange); font-weight:600; margin-bottom:9px; }
.leader p { font-size:14px; color:var(--text-secondary); line-height:1.65; margin:0; }
@media (max-width:600px){ .leader { flex-direction:column; } }

/* a11y: skip link, visible focus, button boundary contrast */
.skip-link { position:absolute; left:-9999px; top:0; z-index:3000; background:var(--orange); color:#fff; padding:10px 16px; border-radius:0 0 8px 0; font-weight:600; text-decoration:none; }
.skip-link:focus { left:0; }
#seat-input:focus-visible, .form-field input:focus-visible { outline:2px solid var(--orange); outline-offset:2px; }
.btn-secondary { border-color:#8f8f8f; }
