/* =====================================================================
   Eldtek shared page system (product pages + new homepage sections)
   Built from the homepage's own tokens so everything reads as one site:
   font Plus Jakarta Sans, headings 800 / -0.025em, body 15px / 1.8 muted,
   eyebrow labels 11px caps green, cards 12px radius with 1px borders,
   buttons 13px / 600 with 8px radius, side padding 72px (24px on mobile).
   ===================================================================== */

:root {
  --page-x: 72px;
  --page-max: 1400px;
  --bar-h: 52px;
  --radius: 12px;
  --space-section: 72px;
}
@media (max-width: 960px) { :root { --page-x: 24px; --space-section: 56px; } }

button, input, select, textarea, summary, table { font-family: inherit; }
html { scroll-padding-top: calc(var(--nav-h) + var(--bar-h) + 16px); }

.container { max-width: calc(var(--page-max) + var(--page-x) * 2); margin: 0 auto; padding-left: var(--page-x); padding-right: var(--page-x); }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 2000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px;
  font-size: 13px; text-decoration: none;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons (extend the homepage .btn-primary / .btn-ghost) ---------- */
.btn-primary, .btn-ghost { display: inline-flex; align-items: center; gap: 8px; line-height: 1.2; }
.btn-ghost { background: #fff; }
.btn-sm { padding: 9px 18px; font-size: 12.5px; }
.text-link { font-size: 13px; font-weight: 700; color: var(--green); text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Product family bar (sits under the main nav on product pages) ---------- */
.page-main { padding-top: var(--nav-h); }
.family-bar { position: sticky; top: var(--nav-h); z-index: 900; background: #fff; border-bottom: 1px solid var(--border); }
.family-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--bar-h); }
.family-bar ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; height: 100%; }
.family-bar ul::-webkit-scrollbar { display: none; }
.family-bar ul { margin-left: -14px; }
.family-bar li { display: flex; }
.family-bar a {
  display: flex; align-items: center; padding: 0 14px; font-size: 13px; font-weight: 500;
  color: var(--muted); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent;
  transition: color .2s, background .2s;
}
.family-bar a:hover { color: var(--navy); background: var(--surface); }
.family-bar a[aria-current="page"] { color: var(--navy); font-weight: 700; border-bottom-color: var(--green); }
.family-bar a.fb-cta { flex-shrink: 0; height: auto; padding: 9px 18px; color: #fff; background: var(--blue-btn); border-bottom: 0; border-radius: 8px; font-size: 12.5px; font-weight: 600; }
.family-bar a.fb-cta:hover { background: #162d6e; color: #fff; }

/* ---------- Hero ---------- */
.p-hero { background: var(--bg2); border-bottom: 1px solid var(--border); }
.crumbs { padding-top: 24px; font-size: 12px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }

.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 32px; padding-bottom: 72px; }
.p-hero h1 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; color: var(--navy); margin: 0 0 20px; }
.p-hero h1 em { font-style: normal; color: var(--green); }
.p-lead { font-size: 16px; line-height: 1.75; color: var(--muted); max-width: 620px; margin: 0; }
.p-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: 32px 0 0; max-width: 620px; }
.p-stats .about-stat { padding: 20px 20px; background: #fff; }
.p-stats .about-stat .num { font-size: 26px; }
.p-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.p-meta { margin: 20px 0 0; font-size: 12px; color: var(--muted); }
.p-hero figure { margin: 0; }
.p-hero figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--border); }
figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); }

/* ---------- Two-column body: article + sticky sidebar ---------- */
.p-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: start; padding-top: var(--space-section); padding-bottom: var(--space-section); }

.p-main, .p-sidebar { min-width: 0; }
.p-main > section { margin: 0 0 var(--space-section); scroll-margin-top: calc(var(--nav-h) + var(--bar-h) + 16px); }
.p-main > section:last-child { margin-bottom: 0; }
.p-main .section-label { margin-bottom: 12px; }
.p-main h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; color: var(--navy); margin: 0 0 16px; }
.p-main h3 { font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--navy); margin: 32px 0 8px; }
.p-main p { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0 0 18px; }
.p-main ul { margin: 0 0 18px 20px; padding: 0; }
.p-main li { font-size: 15px; line-height: 1.8; color: var(--muted); margin-bottom: 8px; }
.p-main li::marker { color: var(--green); }
.p-main strong { color: var(--navy); font-weight: 700; }
.p-main a:not(.btn-primary):not(.btn-ghost) { color: var(--blue-btn); text-underline-offset: 3px; }
.p-main figure { margin: 28px 0 0; }
.p-main figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--border); }

/* Spec tables */
.table-wrap { overflow-x: auto; margin: 24px 0 18px; border: 1px solid var(--border); border-radius: var(--radius); }
table.spec { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14px; }
table.spec th, table.spec td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.6; }
table.spec thead th { background: var(--bg2); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
table.spec tbody th { color: var(--navy); font-weight: 700; }
table.spec td { color: var(--muted); }
table.spec tbody tr:last-child th, table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec caption { caption-side: bottom; text-align: left; padding: 12px 20px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); }

/* Inline call to action between sections */
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 0 0 var(--space-section); padding: 24px 28px; background: var(--bg2); border: 1px solid var(--border); border-left: 3px solid var(--green); border-radius: var(--radius); }
.inline-cta strong { display: block; font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.inline-cta span { display: block; font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 520px; }

/* FAQ (used on product pages and the homepage) */
.faq-list details { border: 1px solid var(--border); border-radius: var(--radius); margin: 0 0 12px; background: #fff; }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 22px; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--navy); display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; font-weight: 400; line-height: 1; color: var(--green); flex-shrink: 0; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details > div { padding: 0 22px 4px; }
.faq-list details p { margin: 0 0 14px; font-size: 15px; line-height: 1.8; color: var(--muted); }

/* ---------- Sidebar ---------- */
.p-sidebar { position: sticky; top: calc(var(--nav-h) + var(--bar-h) + 24px); display: flex; flex-direction: column; gap: 16px; max-height: calc(100vh - var(--nav-h) - var(--bar-h) - 40px); overflow: auto; scrollbar-width: none; }
.p-sidebar::-webkit-scrollbar { display: none; }
.side-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 22px 14px; background: #fff; }
.side-title { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted2); margin: 0 0 6px; }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--border); transition: color .2s; }
.side-card li:last-child a { border-bottom: 0; }
.side-card li a:hover { color: var(--navy); }
.side-card li a[aria-current] { color: var(--green); font-weight: 700; }
.side-card li a .arr { color: var(--green); }
.side-card--cta { background: var(--navy); border-color: var(--navy); padding: 24px; }
.side-card--cta .side-title { color: rgba(255,255,255,.55); }
.side-card--cta p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.82); margin: 0 0 18px; }
.side-card--cta .btn-primary { background: #fff; color: var(--navy); width: 100%; justify-content: center; }
.side-card--cta .btn-primary:hover { background: #e8eef8; }
.side-card--cta a.mail { display: block; margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.82); text-align: center; text-decoration: none; }

/* ---------- Link cards (related solutions, homepage tiles) ---------- */
.more-solutions { border-top: 1px solid var(--border); padding-top: var(--space-section); padding-bottom: var(--space-section); }
.more-solutions .section-label { margin-bottom: 12px; }
.more-solutions h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; color: var(--navy); margin: 0 0 32px; }

.tile-grid { grid-template-columns: repeat(5, 1fr); }
.tile-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.tile-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.wrap-max { max-width: var(--page-max); margin: 0 auto; }
.tile-grid .focus-card { display: flex; flex-direction: column; padding: 32px 24px 28px; text-decoration: none; color: inherit; }
.tile-grid .focus-icon { width: 36px; height: 36px; margin-bottom: 20px; }
.tile-grid .focus-card h3 { font-size: 18px; }
.tile-grid .focus-card p { flex: 1; }
.tile-grid .focus-tag { align-self: flex-start; }
.tile-grid .tile-link { margin-top: 20px; font-size: 13px; font-weight: 700; color: var(--green); }
.tile-grid .focus-card:nth-child(even) .tile-link { color: var(--navy2); }
.tile-grid .focus-card:hover .tile-link { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Final CTA band ---------- */
.cta-wrap { padding-bottom: var(--space-section); }
.cta-band { padding: 40px 44px; border-radius: 16px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; color: #fff; }
.cta-band p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.82); max-width: 560px; margin: 0; }
.cta-band p a { color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--navy); }
.cta-band .btn-primary:hover { background: #e8eef8; }

/* ---------- Homepage additions ---------- */
.home-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: end; margin-bottom: 48px; }
.home-head .section-title { max-width: 560px; }
.home-head p { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0; }
.home-head p strong { color: var(--navy); }
.home-table .table-wrap { margin-top: 0; }
.link-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.faq-cols { columns: 2; column-gap: 24px; }
.faq-cols details { break-inside: avoid; }
.sb-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; }
.sb-links a { font-size: 13px; font-weight: 700; color: var(--green); text-decoration: none; }
.sb-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.slide-cta { flex-wrap: wrap; }
.btn-hero.btn-hero--ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--border); }
.btn-hero.btn-hero--ghost:hover { border-color: var(--navy2); background: #fff; box-shadow: none; }
.sol-text-block .sol-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sol-text-block .sol-actions .sol-more-btn--ghost { background: transparent !important; color: #fff !important; border: 1.5px solid rgba(255,255,255,.7); }
.sol-text-block .sol-actions .sol-more-btn--ghost:hover { background: rgba(255,255,255,.14) !important; }

/* ---------- Footer (sitemap style, shared by every page) ---------- */
footer.site-footer { display: block; padding: 0; background: var(--bg2); border-top: 1px solid var(--border); }
.sf-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.sf-brand strong { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; color: var(--navy); margin-bottom: 12px; }
.sf-brand p { font-size: 13px; line-height: 1.8; color: var(--muted); margin: 0 0 6px; max-width: 360px; }
.sf-brand a { color: var(--navy); text-underline-offset: 3px; }
.sf-col h2 { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted2); margin: 0 0 14px; }
.sf-col a { display: block; padding: 6px 0; font-size: 14px; font-weight: 500; color: var(--navy); text-decoration: none; }
.sf-col a:hover { color: var(--green); }
.sf-bottom { border-top: 1px solid var(--border); }
.sf-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; padding-bottom: 20px; font-size: 12px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .tile-grid { grid-template-columns: repeat(6, 1fr); }
  .tile-grid .focus-card { grid-column: span 2; }
  .tile-grid .focus-card:nth-child(4), .tile-grid .focus-card:nth-child(5) { grid-column: span 3; }
  .tile-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .tile-grid.cols-4 .focus-card, .tile-grid.cols-4 .focus-card:nth-child(4) { grid-column: span 1; }
}
@media (max-width: 1100px) {
  .p-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; }
}
@media (max-width: 960px) {
  .p-hero-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; }
  .p-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .p-sidebar { position: static; max-height: none; overflow: visible; }
  .side-card--toc { display: none; }
  .family-bar .fb-cta { display: none; }
  .home-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .tile-grid, .tile-grid.cols-3, .tile-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .tile-grid .focus-card, .tile-grid .focus-card:nth-child(4), .tile-grid .focus-card:nth-child(5) { grid-column: span 1; }
  .tile-grid .focus-card:nth-child(odd):last-child { grid-column: 1 / -1; }
  .faq-cols { columns: 1; }
  .sf-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 48px; }
  .sf-brand { grid-column: 1 / -1; }
  .cta-band { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .p-stats { grid-template-columns: repeat(3, 1fr); }
  .p-stats .about-stat { padding: 14px 12px; }
  .p-stats .about-stat .num { font-size: 19px; }
  .p-stats .about-stat .label { font-size: 11px; }
  .tile-grid, .tile-grid.cols-3, .tile-grid.cols-4 { grid-template-columns: 1fr; }
  .tile-grid .focus-card:nth-child(odd):last-child { grid-column: auto; }
  .inline-cta { padding: 20px; }
}

/* ---- glossary ---- */
.glossary-wrap { padding-top: 8px; padding-bottom: 56px; }
dl.glossary { margin: 0; border-top: 1px solid var(--border, #e5e7eb); }
.gl-item { padding: 22px 0; border-bottom: 1px solid var(--border, #e5e7eb); display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 8px 40px; scroll-margin-top: calc(var(--nav-h) + var(--bar-h) + 16px); }
.gl-item dt { font-weight: 800; letter-spacing: -0.01em; color: var(--navy); font-size: 15px; }
.gl-item dd { margin: 0; font-size: 15px; line-height: 1.8; color: var(--muted, #5b6472); }
.gl-item dd a { white-space: nowrap; font-weight: 600; margin-left: 4px; }
.p-main ol { padding-left: 22px; margin: 0 0 20px; font-size: 15px; line-height: 1.8; color: var(--muted, #5b6472); }
.p-main ol li { margin-bottom: 10px; }
@media (max-width: 760px) { .gl-item { grid-template-columns: 1fr; gap: 4px; } }

/* ---- accessibility fixes ---- */
.sf-col h2 { color: #5b6b80; }
.sf-col a { padding: 8px 0; min-height: 24px; }
.sb-links a, .link-row a { min-height: 24px; }
.slider-dot { position: relative; }
.slider-dot::after { content: ""; position: absolute; inset: -9px; }

/* ---- founder block (homepage About) ---- */
.founder { margin-top: 56px; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg2); max-width: 860px; }
.founder h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.025em; color: var(--navy); margin: 6px 0 4px; }
.founder-role { font-size: 13px; font-weight: 600; color: var(--green); margin: 0 0 16px; }
.founder p { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0 0 16px; }
.founder-creds { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--border); display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.founder-creds strong { color: var(--navy); display: inline-block; min-width: 72px; }
@media (max-width: 560px) { .founder { padding: 24px 20px; } }

/* ---- about page, contact page, homepage about ---- */
.home-about-lead { font-size: 17px; line-height: 1.75; color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.home-about-founder { font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 760px; margin: 28px 0 0; }
.home-about-founder strong { color: var(--navy); }
.about-page { padding-top: 56px; padding-bottom: 24px; }
.ap-block { margin-bottom: 56px; max-width: 860px; }
.ap-block h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.025em; color: var(--navy); margin: 0 0 14px; }
.ap-block > p { font-size: 15px; line-height: 1.8; color: var(--muted); margin: 0 0 24px; max-width: 640px; }
.ap-block .founder { margin-top: 0; }
.p-stats--wide { max-width: none; margin-top: 8px; }
.p-stats--wide .label { font-size: 13px; line-height: 1.5; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding-top: 56px; padding-bottom: 72px; align-items: start; }
.cf { display: grid; gap: 20px; }
.cf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cf-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cf-row[hidden], #resumeNote[hidden] { display: none; }
.cf-field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--navy); margin-bottom: 8px; }
.cf-field input, .cf-field select, .cf-field textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; color: var(--navy); background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.cf .btn-primary { justify-self: start; cursor: pointer; border: 0; }
.cf-help { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 0; }
.ci { display: grid; gap: 24px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg2); position: sticky; top: calc(var(--nav-h) + 24px); }
.ci-label { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.ci p { margin: 0 0 4px; font-size: 15px; line-height: 1.7; color: var(--navy); }
.ci .ci-sub { font-size: 13px; color: var(--muted); }
.ci a { color: var(--navy); }
@media (max-width: 960px) { .contact-page { grid-template-columns: minmax(0, 1fr); gap: 32px; } .ci { position: static; } }
@media (max-width: 640px) { .cf-row, .cf-row--3 { grid-template-columns: minmax(0, 1fr); } }
.crumbs + .section-label { margin-top: 20px; }
.p-hero > .container { padding-bottom: 40px; }
.p-hero > .container .p-lead { margin-bottom: 0; }
.tile-grid.cols-3 > :last-child:nth-child(3n+2) { grid-column: span 2; }
.cf-help a { color: var(--navy); }
@media (max-width: 960px) { .tile-grid.cols-3 > :last-child:nth-child(3n+2) { grid-column: auto; } }
#about .about-stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }
@media (max-width: 560px) { #about .about-stat-row { grid-template-columns: minmax(0, 1fr); } }
#about .section-title { margin-bottom: 16px; }

/* ---- case studies ---- */
.ex-badge { font-size: 14px; line-height: 1.7; color: var(--muted); background: var(--bg2); border: 1px solid var(--border); border-left: 3px solid var(--green); border-radius: 8px; padding: 14px 18px; margin: 0 0 32px; max-width: 760px; }
.ex-badge strong { color: var(--navy); }
.example-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding-top: 48px; padding-bottom: 72px; align-items: start; }
.ex-main { min-width: 0; }
.ex-sec { margin-bottom: 40px; }
.ex-sec h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.025em; color: var(--navy); margin: 0 0 14px; }
.ex-sec p, .ex-sec li { font-size: 15px; line-height: 1.8; color: var(--muted); }
.ex-sec ul { padding-left: 20px; margin: 0 0 16px; }
.ex-sec li { margin-bottom: 8px; }
.ex-sec strong { color: var(--navy); }
.ex-sec a { color: var(--green); font-weight: 600; }
.ex-side { position: sticky; top: calc(var(--nav-h) + 24px); }
.ex-more { list-style: none; margin: 0 0 16px; padding: 0; }
.ex-more li { border-top: 1px solid var(--border); }
.ex-more a { display: block; padding: 12px 0; font-size: 14px; line-height: 1.5; color: var(--navy); text-decoration: none; }
.ex-more a span { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-top: 4px; font-weight: 700; }
@media (max-width: 960px) { .example-page { grid-template-columns: minmax(0, 1fr); gap: 32px; } .ex-side { position: static; } }
.side-card .ex-more a { display: block; } .side-card .ex-more a span { display: block; margin-left: 0; }

/* =================== MOBILE POLISH (390 px and below) =================== */
@media (max-width: 760px) {
  /* hero: the product links sit in the tiles right below, so drop the extra hero buttons that collide with the slider controls */
  .btn-hero.btn-hero--ghost { display: none; }
  /* panel copy: justified text opens wide gaps on narrow screens */
  .sol-text-block .sol-panel-text { text-align: left; }
  /* footer: left aligned, two columns */
  footer.site-footer, footer.site-footer * { text-align: left; }
  .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 40px; padding-bottom: 32px; }
  .sf-brand { grid-column: 1 / -1; }
  .sf-col h2 { white-space: nowrap; }
  .sf-bottom .container { display: flex; flex-direction: column; gap: 4px; }
  /* tap targets */
  .crumbs li { display: flex; align-items: center; }
  .crumbs a { display: inline-block; padding: 8px 0; }
  .crumbs { padding-top: 12px; }
  .focus-tag { font-size: 11px; }
  /* family bar: scroll hint and room for the buttons */
  .family-bar ul { padding-right: 32px; }
  .family-bar .container { position: relative; }
  .family-bar .container::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 40px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff 85%); pointer-events: none; }
  .fb-cta { display: none; }
}

@media (max-width: 640px) {
  /* tables become stacked cards: one card per row, labels from the column headings */
  .table-wrap { border: 0; overflow: visible; margin: 20px 0 14px; }
  table.spec { min-width: 0; display: flex; flex-direction: column; }
  table.spec tbody { order: 1; }
  table.spec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.spec tbody { display: grid; gap: 12px; }
  table.spec tr { display: block; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; }
  table.spec tbody th { display: block; padding: 12px 16px; background: var(--bg2); border-bottom: 1px solid var(--border); font-size: 15px; color: var(--navy); }
  table.spec td { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
  table.spec td:last-child { border-bottom: 0; }
  table.spec td::before { content: attr(data-label); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
  table.spec tbody tr:last-child th, table.spec tbody tr:last-child td { border-bottom: 1px solid var(--border); }
  table.spec tbody tr:last-child td:last-child { border-bottom: 0; }
  table.spec caption { display: block; order: 2; border: 0; padding: 10px 2px 0; }
  /* stat tiles: one per row */
  .p-stats--wide, #about .about-stat-row { grid-template-columns: minmax(0, 1fr); }
  .p-stats--wide .about-stat, #about .about-stat-row .about-stat { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 16px; }
  .p-stats--wide .about-stat .num, #about .about-stat-row .about-stat .num { margin: 0; }
  /* founder credentials */
  .founder-creds li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; }
  .founder-creds strong { min-width: 0; }
  .ci { padding: 22px 20px; }
  .cta-band { padding: 28px 22px; }
  .cta-actions .btn-primary, .cta-actions .btn-ghost { flex: 1 1 140px; text-align: center; }
  .inline-cta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .inline-cta .btn-primary { width: 100%; text-align: center; }
}

@media (max-width: 640px) {
  table.spec tbody th[data-sub]::after { content: " · " attr(data-sub); font-weight: 600; color: var(--muted); }
  table.spec td.td-tech { display: none; }
}
@media (max-width: 760px) {
  .slide-desc { color: #1e2f4d; font-weight: 500; }
  .feat-label { color: #1e2f4d; }
}

.gl-item dd a { color: var(--green); text-decoration: none; }
.gl-item dd a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  table.spec.kv td { display: block; }
  table.spec.kv td::before { display: none; }
  .gl-item dd a { display: block; margin: 6px 0 0; }
}

/* ---------- Industry use grid ---------- */
.use-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0 8px; }
.use-group { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px 8px; background: #fff; min-width: 0; }
.use-group:last-child:nth-child(odd) { grid-column: 1 / -1; }
.use-group h3 { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.use-group dl { margin: 0; }
.use-group dt { font-size: 15px; font-weight: 700; color: var(--navy); margin: 14px 0 2px; }
.use-group dd { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.use-group dd:last-child { border-bottom: 0; padding-bottom: 2px; margin-bottom: 12px; }
@media (max-width: 760px) { .use-grid { grid-template-columns: minmax(0, 1fr); } .use-group { padding: 18px 18px 6px; } }

/* ---------- About: founder + board (no stat tiles) ---------- */
.ab-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; max-width: 920px; margin: 8px 0 8px; }
.ab-col { border-top: 2px solid var(--green); padding-top: 18px; min-width: 0; }
.ab-k, .bl-k { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.ab-col h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); margin: 8px 0 10px; }
.ab-col p { font-size: 15px; line-height: 1.75; color: var(--muted); margin: 0; }
#about .link-row { margin-top: 32px; }
.board-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 28px; }
.board-list > div { border-top: 2px solid var(--green); padding-top: 14px; min-width: 0; }
.board-list p { font-size: 15px; line-height: 1.7; color: var(--navy); margin: 8px 0 0; max-width: none; }
.ap-vision h2 { font-size: 40px; line-height: 1.12; }
.ap-vision > p { font-size: 18px; max-width: 640px; }
.ap-block#board h2 { max-width: 640px; }
@media (max-width: 760px) {
  .ab-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .board-list { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .ap-vision h2 { font-size: 30px; }
  .ap-vision > p { font-size: 16px; }
}
#about .section-title { max-width: 900px; text-wrap: balance; }

/* careers */
.role-list{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:12px}
.role{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:18px 20px;border:1px solid #e2e6ed;border-radius:10px;background:#fff}
.role h3{margin:0 0 4px;font-size:18px;color:#0a1f44}
.role p{margin:0;font-size:14px;color:#5b6577}
.role-open{font-size:12px;font-weight:700;color:#0a7a4b;background:#e6f6ee;padding:4px 10px;border-radius:999px}
@media(max-width:640px){.role{grid-template-columns:minmax(0,1fr) auto}.role .btn-primary{grid-column:1/-1;justify-self:start}}
.careers-page .cta-band{margin-top:32px}
.careers-page{padding-top:40px}
.careers-page .role-list{margin:16px 0 0!important;padding:0!important}
.careers-page .role a.btn-primary,.careers-page .role a.btn-primary:hover{color:#fff!important;text-decoration:none}
.careers-page .ex-sec p{margin:0 0 14px}

/* hero: keep slide content clear of the industries strip on short screens */
@media (min-width: 769px) {
  #home { height: clamp(720px, calc(100vh - 80px), 900px); max-height: none; min-height: 0; }
  .slide { padding-bottom: 96px; }
}
@media (min-width: 769px) and (max-height: 780px) {
  .slide-badges { display: none; }
}

/* ======================= MOBILE (home) ======================= */
@media (max-width: 768px) {
  /* hero: photo on top, text below, nothing hidden behind the industries strip */
  #home { height: auto !important; min-height: 0 !important; max-height: none !important; margin-top: 64px; }
  #home .slides-wrapper { position: relative !important; inset: auto !important; min-height: 640px; }
  #home .slide { position: absolute !important; inset: 0 !important; height: 100% !important; padding: 0 !important; display: block !important; background: #fff; }
  #home .slide-bg { position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: auto !important; height: 250px !important; transform: none !important; background-position: 62% center !important; }
  #home .slide-bg::after { display: none !important; }
  #home .slide-overlay { display: none !important; }
  #home .slide-content { position: relative !important; width: 100% !important; max-width: none !important; padding: 270px 20px 0 !important; }
  #home .slide-tag { margin-bottom: 8px !important; }
  #home .slide-title { font-size: 26px !important; line-height: 1.15 !important; margin-bottom: 10px !important; }
  #home .slide-sub, #home .slide-desc { font-size: 14px !important; line-height: 1.6 !important; margin-bottom: 16px !important; color: #3a4556 !important; }
  #home .slide-badges, #home .slide-features { display: none !important; }
  #home .slide-cta { display: flex !important; flex-wrap: wrap; gap: 10px; opacity: 1 !important; transform: none !important; }
  #home .btn-hero { font-size: 13px !important; padding: 12px 18px !important; }
  #home .slide-industry-bar { position: absolute !important; left: 0; right: 0; bottom: 0; padding: 10px 0 12px 20px !important; display: block !important; gap: 0; }
  #home .bar-label, #home .bar-divider, #home .bar-tagline { display: none !important; }
  #home .bar-items { display: flex !important; gap: 22px !important; overflow-x: auto; padding-right: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  #home .bar-items::-webkit-scrollbar { display: none; }
  #home .bar-item { flex: 0 0 auto; }
  #home .slider-nav { position: absolute !important; top: 196px !important; right: 14px !important; left: auto !important; bottom: auto !important; z-index: 6; background: rgba(255,255,255,0.92); padding: 6px 10px; border-radius: 30px; gap: 10px !important; }
  #home .slider-arrow { width: 30px !important; height: 30px !important; }
  #home .slider-dot { background: rgba(15,36,72,0.3); }
  #home .slider-dot.active { background: #0a1f44; }

  /* solution panels: simple stacked cards (photo, then text) */
  .sol-wrapper { height: auto !important; min-height: 0 !important; max-height: none !important; padding: 0 20px 8px; }
  .sol-right { display: flex !important; flex-direction: column !important; gap: 18px; overflow: visible !important; min-height: 0 !important; }
  .sol-panel, .sol-panel:hover, .sol-panel.active { position: relative !important; flex: none !important; height: auto !important; min-height: 0 !important; min-width: 0 !important; overflow: hidden; border-radius: 14px; border: 1px solid #e2e6ed; background: #fff; cursor: default; display: flex; flex-direction: column; }
  .sol-panel .sol-panel-bg { position: relative !important; inset: auto !important; height: 190px; width: 100%; flex: none; transform: none !important; filter: none !important; background-size: cover !important; background-position: center !important; }
  .sol-panel > div:not([class]) { display: none !important; }
  .sol-panel-collapsed { display: none !important; }
  .sol-panel .sol-panel-expanded, .sol-panel:not(.active) .sol-panel-expanded { position: static !important; inset: auto !important; opacity: 1 !important; transform: none !important; pointer-events: auto !important; visibility: visible !important; display: block !important; min-width: 0 !important; width: auto !important; padding: 18px !important; }
  .sol-text-block { background: none !important; padding: 0 !important; box-shadow: none !important; max-width: none !important; width: 100% !important; }
  .sol-text-block .sol-panel-tag { margin: 0 0 8px !important; padding: 0 !important; background: none !important; font-size: 11px !important; }
  .sol-text-block .sol-panel-title { margin: 0 0 10px !important; padding: 0 !important; background: none !important; font-size: 22px !important; display: block !important; }
  .sol-text-block .sol-panel-text { padding: 0 !important; background: none !important; font-size: 14px !important; line-height: 1.65 !important; text-align: left !important; color: #3a4556 !important; max-width: none !important; -webkit-line-clamp: unset !important; }
  .sol-text-block .sol-panel-specs { display: flex !important; flex-wrap: wrap; gap: 14px 22px !important; padding: 12px 14px !important; }
  .sol-actions { display: flex; flex-wrap: wrap; gap: 10px; }
  .sol-text-block .sol-more-btn { font-size: 13px !important; padding: 11px 18px !important; }
  .sol-text-block .sol-actions .sol-more-btn--ghost { color: #0a1f44 !important; border: 1.5px solid #0a1f44 !important; background: #fff !important; }
  .sol-text-block .sol-actions .sol-more-btn--ghost:hover { background: #eef1f6 !important; }
  .sol-text-block .sol-actions .sol-more-btn:not(.sol-more-btn--ghost) { background: #243a85 !important; color: #fff !important; border: 1.5px solid #243a85; }
  #home .slider-dots { margin-right: 6px; }

  /* careers cards on the homepage */
  .job-card { flex-direction: column !important; align-items: flex-start !important; padding: 18px !important; }
  .job-card-right { width: 100%; justify-content: space-between; }

  /* consistent side margins */
  .section-inner { padding-left: 20px !important; padding-right: 20px !important; }
}

@media (max-width: 768px) {
  .focus-grid, .tile-grid { background: none !important; gap: 14px !important; border: 0 !important; box-shadow: none !important; }
  .focus-grid .focus-card, .tile-grid .focus-card { border: 1px solid #e2e6ed !important; border-radius: 14px !important; background: #fff !important; }
  #careers .section-title + p, #careers .careers-info p { margin-top: 0; }
  #careers .section-title { margin-bottom: 12px; }
}

/* carbon capture panel on the homepage: stacked card on phones */
@media (max-width: 768px) {
  #co2-solutions { margin: 0 20px 8px; padding: 0 !important; min-height: 0 !important; border: 1px solid #e2e6ed; border-radius: 14px; background: #fff; }
  #co2-solutions > img { position: relative !important; inset: auto !important; display: block; width: 100% !important; height: 190px !important; object-fit: cover; }
  #co2-solutions > div:not(.co2-content) { display: none !important; }
  #co2-solutions .co2-content { padding: 18px !important; min-height: 0 !important; display: block !important; }
}

/* Tablet (769-900px): open panel must be tall enough for its text */
@media (min-width:769px) and (max-width:900px){
  .sol-panel.active,.sol-panel:hover{height:auto;min-height:580px}
}
