/* XCELBIT LLC — global stylesheet */
:root {
  --color-bg: #06080C;
  --color-surface: #0E141C;
  --color-accent-lime: #A8FF35;
  --color-accent-magenta: #E834A4;
  --color-text: #E9F0F2;
  --color-text-muted: #8A97A3;
  --font-heading: "Chakra Petch", sans-serif;
  --font-body: "Albert Sans", sans-serif;
  --glow-lime: 0 0 16px rgba(168, 255, 53, 0.4);
  --transition-base: 0.3s ease;
  --databus: repeating-linear-gradient(90deg, transparent 0px, transparent 39px, rgba(168,255,53,0.035) 40px),
             repeating-linear-gradient(180deg, transparent 0px, transparent 39px, rgba(232,52,164,0.02) 40px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-heading { font-family: var(--font-heading); }

a { color: inherit; text-decoration: none; }

img, svg, canvas { display: block; max-width: 100%; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1360px; }
.container-narrow { max-width: 880px; }

::selection { background: var(--color-accent-lime); color: var(--color-bg); }

:focus-visible { outline: 2px solid var(--color-accent-lime); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.5px; padding: 14px 26px; border-radius: 4px;
  cursor: pointer; border: 2px solid transparent; transition: var(--transition-base);
  min-height: 48px;
}
.btn-primary { background: var(--color-accent-lime); color: var(--color-bg); border-color: var(--color-accent-lime); }
.btn-primary:hover { transform: scale(1.03); box-shadow: var(--glow-lime); filter: brightness(1.08); }
.btn-outline { background: transparent; color: var(--color-accent-lime); border-color: var(--color-accent-lime); }
.btn-outline:hover { background: var(--color-accent-lime); color: var(--color-bg); transform: scale(1.03); box-shadow: var(--glow-lime); }
.btn-magenta { background: var(--color-accent-magenta); color: var(--color-bg); border-color: var(--color-accent-magenta); }
.btn-magenta:hover { transform: scale(1.03); box-shadow: 0 0 16px rgba(232,52,164,0.5); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,8,12,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(168,255,53,0.4);
  box-shadow: 0 1px 10px rgba(168,255,53,0.25);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon { color: var(--color-accent-lime); font-size: 1.6rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; letter-spacing: 2px; }
.brand-sub { font-family: var(--font-body); font-size: 0.62rem; color: var(--color-text-muted); letter-spacing: 0.5px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-family: var(--font-body); font-size: 0.95rem; color: var(--color-text); position: relative; padding: 6px 0; transition: var(--transition-base); }
.nav-links a:hover { color: var(--color-accent-lime); }
.nav-links a.active { color: var(--color-accent-lime); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--color-accent-lime); box-shadow: var(--glow-lime);
}
.nav-cta { display: flex; align-items: center; gap: 16px; }
.hamburger { display: none; background: none; border: none; color: var(--color-accent-lime); font-size: 1.5rem; cursor: pointer; }
.mobile-panel {
  display: none; flex-direction: column; background: var(--color-surface);
  border-bottom: 1px solid rgba(168,255,53,0.3); padding: 16px 24px 24px;
}
.mobile-panel.open { display: flex; animation: slideDown 0.3s ease; }
.mobile-panel a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 1rem; }
.mobile-panel a:hover { color: var(--color-accent-lime); }
.mobile-panel .btn { margin-top: 16px; justify-content: center; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Data-bus grid ---------- */
.databus { position: relative; }
.databus::before {
  content: ""; position: absolute; inset: 0; background: var(--databus);
  pointer-events: none; z-index: 0;
}
.databus > * { position: relative; z-index: 1; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  font-family: var(--font-heading); font-weight: 600; font-size: 0.8rem; letter-spacing: 3px;
  color: var(--color-accent-magenta); text-transform: uppercase; display: block; margin-bottom: 14px;
}
h1 { font-weight: 700; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.5px; }
h2 { font-weight: 700; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; }
h3 { font-weight: 600; font-size: 1.3rem; }
.lead { font-size: 1.12rem; color: var(--color-text-muted); }
.muted { color: var(--color-text-muted); }
.lime { color: var(--color-accent-lime); }
.magenta { color: var(--color-accent-magenta); }
.clip-bottom { clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%); }
.clip-top { clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%); }
.clip-both { clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 97%); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; background: var(--color-bg); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; width: 100%; }
.hero-content { max-width: 640px; }
.hero h1 { margin-bottom: 24px; }
.hero .subhead { font-size: 1.18rem; color: var(--color-text); margin-bottom: 18px; max-width: 560px; }
.hero .subline { font-family: var(--font-body); font-weight: 300; color: var(--color-text-muted); margin-bottom: 34px; letter-spacing: 0.3px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; height: 460px; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-glow {
  position: absolute; inset: 0; display: none; align-items: center; justify-content: center;
}
.hero-glow span {
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,255,53,0.35), rgba(232,52,164,0.12) 45%, transparent 70%);
  filter: blur(8px); animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow { 0%,100% { transform: scale(0.95); opacity: 0.8; } 50% { transform: scale(1.08); opacity: 1; } }

/* Page hero (interior) */
.page-hero { position: relative; padding: 120px 0 100px; background: var(--color-bg); overflow: hidden; }
.page-hero h1 { margin-bottom: 20px; }
.breadcrumb { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--color-accent-lime); }

/* ---------- Bitstream ticker ---------- */
.ticker { background: var(--color-surface); border-top: 1px solid rgba(168,255,53,0.4); overflow: hidden; padding: 12px 0; }
.ticker-track { display: flex; white-space: nowrap; animation: tickerMove 28s linear infinite; font-family: var(--font-heading); font-size: 1rem; letter-spacing: 6px; }
.ticker-track span { color: rgba(168,255,53,0.35); padding-right: 6px; }
.ticker-track span.m { color: rgba(232,52,164,0.55); }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--color-surface); border-top: 1px solid rgba(168,255,53,0.4); padding: 28px 0; }
.trust-items { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--color-text); }
.trust-item i { color: var(--color-accent-lime); font-size: 1.1rem; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--color-surface); border-radius: 4px; padding: 32px 28px;
  border-top: 3px solid var(--color-accent-lime); transition: var(--transition-base);
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: -6px 0 22px rgba(168,255,53,0.18), 0 10px 30px rgba(0,0,0,0.4); }
.card .icon { color: var(--color-accent-lime); font-size: 1.9rem; margin-bottom: 18px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--color-text-muted); font-size: 0.96rem; }

/* ---------- Metrics ---------- */
.metrics { background: var(--color-surface); position: relative; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.metric { padding: 20px 30px; text-align: center; position: relative; }
.metric + .metric::before { content: ""; position: absolute; left: 0; top: 10%; height: 80%; width: 1px; background: rgba(232,52,164,0.4); }
.metric .num { font-family: var(--font-heading); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.6rem); color: var(--color-accent-lime); line-height: 1; }
.metric .label { color: var(--color-text); font-size: 0.95rem; margin-top: 12px; }

/* ---------- Pipeline ---------- */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step { text-align: center; position: relative; padding: 0 10px; }
.step .circle {
  width: 62px; height: 62px; border-radius: 50%; border: 2px solid var(--color-accent-lime);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; color: var(--color-accent-lime);
  background: var(--color-bg); box-shadow: var(--glow-lime); position: relative; z-index: 2;
}
.step::after {
  content: ""; position: absolute; top: 31px; left: 60%; width: 80%; height: 0;
  border-top: 2px dashed rgba(168,255,53,0.5); z-index: 1;
}
.step:last-child::after { display: none; }
.step .code { font-family: var(--font-heading); font-weight: 700; letter-spacing: 3px; color: var(--color-accent-magenta); font-size: 0.9rem; }
.step h3 { margin: 8px 0 10px; font-size: 1.15rem; }
.step p { color: var(--color-text-muted); font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testi { background: var(--color-surface); border-top: 3px solid var(--color-accent-lime); border-radius: 4px; padding: 34px 30px; position: relative; }
.testi .quote-icon { color: var(--color-accent-magenta); font-size: 2.4rem; opacity: 0.7; margin-bottom: 10px; }
.testi p { font-style: italic; color: var(--color-text); margin-bottom: 22px; }
.testi .name { font-family: var(--font-heading); font-weight: 600; color: var(--color-text); }
.testi .company { color: var(--color-accent-magenta); font-size: 0.86rem; }

/* ---------- Difference ---------- */
.diff { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.diff-quote { position: relative; }
.diff-quote .chip-watermark { position: absolute; top: -30px; left: -10px; font-size: 12rem; color: rgba(168,255,53,0.05); z-index: 0; }
.diff-quote blockquote { position: relative; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; z-index: 1; }
.diff-row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.diff-row i { color: var(--color-accent-lime); font-size: 1.2rem; margin-top: 4px; }
.diff-row h3 { font-size: 1.1rem; margin-bottom: 4px; }
.diff-row p { color: var(--color-text-muted); font-size: 0.94rem; }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; text-align: center; background: var(--color-bg); border-top: 2px solid var(--color-accent-lime); border-bottom: 2px solid var(--color-accent-lime); }
.cta-banner h2 { max-width: 820px; margin: 0 auto 20px; }
.cta-banner p { max-width: 620px; margin: 0 auto 32px; color: var(--color-text-muted); }

/* ---------- Footer ---------- */
.footer { background: var(--color-surface); border-top: 1px solid rgba(168,255,53,0.4); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer .brand { margin-bottom: 18px; }
.footer address { font-style: normal; color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 12px; }
.footer .founder { font-size: 0.86rem; color: var(--color-accent-lime); margin-top: 8px; }
.footer h4 { font-family: var(--font-heading); font-size: 0.95rem; letter-spacing: 1px; margin-bottom: 16px; color: var(--color-text); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--color-text-muted); font-size: 0.92rem; transition: var(--transition-base); }
.footer ul a:hover { color: var(--color-accent-lime); }
.socials { display: flex; gap: 16px; margin-top: 16px; }
.socials a { color: var(--color-text-muted); font-size: 1.2rem; transition: var(--transition-base); }
.socials a:hover { color: var(--color-accent-lime); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 22px; text-align: center; color: var(--color-text-muted); font-size: 0.85rem; }

/* ---------- Alternating service sections ---------- */
.alt-section { padding: 70px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.alt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.alt-grid.reverse .alt-media { order: 2; }
.alt-media {
  background: var(--color-surface); border-radius: 4px; min-height: 300px;
  display: flex; align-items: center; justify-content: center; border: 1px solid rgba(168,255,53,0.15);
  background-image: var(--databus); position: relative;
}
.alt-media i { font-size: 5rem; color: var(--color-accent-lime); opacity: 0.85; }
.alt-icon { color: var(--color-accent-lime); font-size: 2rem; margin-bottom: 16px; }
.deliverables { list-style: none; margin-top: 22px; }
.deliverables li { display: flex; gap: 12px; padding: 7px 0; color: var(--color-text); font-size: 0.95rem; }
.deliverables li i { color: var(--color-accent-lime); margin-top: 5px; }
.alt-section p { color: var(--color-text-muted); margin-bottom: 14px; }

/* ---------- Tiers table ---------- */
.tiers { overflow-x: auto; }
.tiers table { width: 100%; border-collapse: collapse; min-width: 680px; }
.tiers th, .tiers td { padding: 18px 20px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.07); }
.tiers th { font-family: var(--font-heading); }
.tiers thead th { font-size: 1.15rem; color: var(--color-accent-lime); border-bottom: 2px solid rgba(168,255,53,0.4); }
.tiers tbody td:first-child, .tiers thead th:first-child { text-align: left; color: var(--color-text); }
.tiers .fa-check { color: var(--color-accent-lime); }
.tiers .fa-minus { color: var(--color-text-muted); opacity: 0.4; }
.tier-badge { display: inline-block; background: var(--color-accent-magenta); color: var(--color-bg); font-size: 0.62rem; padding: 3px 8px; border-radius: 4px; margin-left: 6px; font-family: var(--font-heading); letter-spacing: 1px; }

/* ---------- About ---------- */
.founder-spotlight { background: var(--color-surface); border-left: 4px solid var(--color-accent-lime); border-radius: 4px; padding: 40px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; }
.founder-icon { width: 96px; height: 96px; border-radius: 50%; border: 2px solid var(--color-accent-lime); display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: var(--color-accent-lime); box-shadow: var(--glow-lime); flex-shrink: 0; }
.founder-role { font-style: italic; color: var(--color-accent-magenta); }
.team-card { background: var(--color-surface); border-radius: 4px; padding: 30px 24px; text-align: center; border: 1px solid rgba(255,255,255,0.06); transition: var(--transition-base); }
.team-card:hover { transform: translateY(-4px); border-color: rgba(168,255,53,0.5); box-shadow: 0 0 22px rgba(168,255,53,0.18); }
.team-avatar { width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--color-accent-lime); box-shadow: 0 0 14px rgba(168,255,53,0.4); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 2rem; color: var(--color-accent-lime); }
.team-card h3 { font-size: 1.1rem; }
.team-card .role { font-style: italic; color: var(--color-accent-magenta); font-size: 0.88rem; margin-bottom: 12px; }
.team-card p { color: var(--color-text-muted); font-size: 0.9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { padding: 8px 16px; border-radius: 4px; font-size: 0.85rem; font-family: var(--font-heading); }
.chip.lime { background: rgba(168,255,53,0.1); border: 1px solid rgba(168,255,53,0.5); color: var(--color-accent-lime); }
.chip.mag { background: rgba(232,52,164,0.1); border: 1px solid rgba(232,52,164,0.5); color: var(--color-accent-magenta); }
.office-card { background: var(--color-surface); border-left: 4px solid var(--color-accent-lime); border-radius: 4px; padding: 40px; }
.office-card .row { display: flex; gap: 14px; padding: 10px 0; align-items: flex-start; }
.office-card .row i { color: var(--color-accent-lime); margin-top: 4px; width: 20px; }

/* ---------- Map placeholder ---------- */
.map-ph { position: relative; background: var(--color-bg); border: 1px solid rgba(168,255,53,0.2); border-radius: 4px; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background-image: var(--databus); }
.map-ph::before, .map-ph::after { content: ""; position: absolute; width: 40px; height: 40px; }
.map-ph::before { top: 14px; left: 14px; border-top: 2px solid var(--color-accent-lime); border-left: 2px solid var(--color-accent-lime); }
.map-ph::after { bottom: 14px; right: 14px; border-bottom: 2px solid var(--color-accent-lime); border-right: 2px solid var(--color-accent-lime); }
.map-ph .mtitle { font-family: var(--font-heading); font-weight: 700; letter-spacing: 2px; color: var(--color-accent-lime); }

/* ---------- Resources ---------- */
.article-card { background: var(--color-surface); border-top: 3px solid var(--color-accent-lime); border-radius: 4px; padding: 28px; transition: var(--transition-base); }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.cat-tag { display: inline-block; color: var(--color-accent-magenta); font-family: var(--font-heading); font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.article-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.article-card .excerpt { color: var(--color-text-muted); font-size: 0.94rem; margin-bottom: 18px; }
.article-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.article-meta .date { color: var(--color-text-muted); }
.article-meta .read { color: var(--color-accent-lime); font-family: var(--font-heading); }
.download-card { background: var(--color-surface); border-radius: 4px; padding: 30px; border: 1px solid rgba(255,255,255,0.06); text-align: center; }
.download-card i { font-size: 2.2rem; color: var(--color-accent-lime); margin-bottom: 16px; }
.download-card h3 { font-size: 1.05rem; margin-bottom: 18px; }
.advisory { background: var(--color-surface); border-left: 4px solid var(--color-accent-lime); border-radius: 4px; padding: 42px; background-image: var(--databus); }
.advisory h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 16px; }

/* ---------- Checklist widget ---------- */
.checklist { background: var(--color-surface); border-radius: 4px; padding: 40px; border-top: 3px solid var(--color-accent-lime); max-width: 760px; margin: 0 auto; }
.check-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); cursor: pointer; }
.check-item input { appearance: none; width: 24px; height: 24px; border: 2px solid var(--color-accent-lime); border-radius: 4px; cursor: pointer; position: relative; flex-shrink: 0; transition: var(--transition-base); }
.check-item input:checked { background: var(--color-accent-lime); }
.check-item input:checked::after { content: "\2713"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--color-bg); font-weight: 700; }
.check-item label { cursor: pointer; }
.progress-wrap { margin: 30px 0 10px; }
.progress-head { display: flex; justify-content: space-between; margin-bottom: 10px; font-family: var(--font-heading); }
.progress-head .pct { color: var(--color-accent-lime); font-size: 1.3rem; font-weight: 700; }
.progress-bar { height: 12px; background: var(--color-bg); border-radius: 4px; overflow: hidden; border: 1px solid rgba(168,255,53,0.2); }
.progress-fill { height: 100%; width: 0; background: var(--color-accent-lime); box-shadow: var(--glow-lime); transition: width 0.5s ease; }
.check-complete { display: none; margin-top: 20px; text-align: center; font-family: var(--font-heading); font-weight: 700; letter-spacing: 2px; color: var(--color-accent-lime); }
.check-complete.show { display: block; animation: fadeInUp 0.6s ease; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info .row { display: flex; gap: 14px; padding: 12px 0; align-items: flex-start; }
.contact-info .row i { color: var(--color-accent-lime); margin-top: 4px; width: 22px; }
.form-card { background: var(--color-surface); border-radius: 4px; padding: 40px; border-top: 3px solid var(--color-accent-lime); box-shadow: 0 0 22px rgba(168,255,53,0.12); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.88rem; margin-bottom: 8px; font-family: var(--font-body); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; background: var(--color-bg); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px; color: var(--color-text); font-family: var(--font-body); font-size: 0.95rem; transition: var(--transition-base);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-accent-lime); outline: none; box-shadow: 0 0 0 2px rgba(168,255,53,0.2); }
.field textarea { resize: vertical; min-height: 120px; }
.field .err { color: var(--color-accent-magenta); font-size: 0.8rem; margin-top: 6px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--color-accent-magenta); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.success-banner { display: none; background: rgba(168,255,53,0.12); border: 1px solid var(--color-accent-lime); color: var(--color-accent-lime); padding: 16px; border-radius: 4px; margin-bottom: 20px; font-family: var(--font-heading); }
.success-banner.show { display: block; animation: fadeInUp 0.5s ease; }

/* ---------- Emergency strip ---------- */
.emergency { background: var(--color-accent-magenta); text-align: center; padding: 54px 0; }
.emergency h2 { color: var(--color-bg); margin-bottom: 12px; }
.emergency p { color: #1a0410; margin-bottom: 26px; font-weight: 500; }
.btn-emergency { background: var(--color-bg); color: var(--color-accent-lime); border: 2px solid var(--color-bg); animation: pulseBorder 2s ease-in-out infinite; }
@keyframes pulseBorder { 0%,100% { box-shadow: 0 0 0 rgba(168,255,53,0.4); } 50% { box-shadow: 0 0 22px rgba(168,255,53,0.8); } }

/* ---------- Scroll reveal ---------- */
.xcel-reveal { opacity: 0; }
.xcel-revealed { animation: fadeInUp 0.55s ease-out forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 280px; order: -1; }
  .diff, .alt-grid, .contact-grid, .founder-spotlight { grid-template-columns: 1fr; }
  .alt-grid.reverse .alt-media { order: 0; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .metric:nth-child(3)::before { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .founder-spotlight { text-align: center; justify-items: center; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .grid-3, .grid-2, .grid-4, .metrics-grid, .pipeline { grid-template-columns: 1fr; }
  .metric::before { display: none !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-items { justify-content: center; }
  .founder-spotlight { padding: 28px; }
}
