/* ============================================================
   CivicSmart v2 — Smart Parking Platform
   Orange accent, high-contrast, readability-first
   ============================================================ */

:root {
  /* Brand */
  --orange:       #F15A24;          /* CivicSmart primary orange */
  --orange-600:   #D94A18;
  --orange-100:   #FFE8DC;
  --navy:         #0F2138;          /* Deep navy for contrast */
  --navy-800:     #16304D;
  --navy-700:     #1E3A5F;
  --ink:          #0B1A2A;          /* Body text */
  --muted:        #4A5A6E;          /* Secondary text (≥4.5:1 on white) */
  --muted-light:  #E5E9EE;

  /* Surfaces */
  --bg:           #FFFFFF;
  --bg-alt:       #F7F9FC;
  --bg-tint:      #FFF6F1;          /* Soft orange tint */
  --line:         #DFE4EB;

  /* Dark-mode surfaces (for hero / CTA bands) */
  --bg-dark:      #0F2138;
  --bg-dark-alt:  #16304D;
  --on-dark:      rgba(255,255,255,.92);
  --on-dark-muted:rgba(255,255,255,.72);

  /* Type */
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Shape */
  --radius:       14px;
  --radius-sm:    8px;
  --radius-lg:    20px;

  /* Shadows */
  --shadow-sm:    0 1px 2px rgba(15,33,56,.06), 0 1px 3px rgba(15,33,56,.04);
  --shadow-md:    0 4px 14px rgba(15,33,56,.08);
  --shadow-lg:    0 20px 40px rgba(15,33,56,.14);
  --shadow-orange:0 14px 30px rgba(241,90,36,.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--orange-600); text-decoration: none; transition: color .15s; }
a:hover { color: var(--orange); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.2;
  margin: 0 0 .75rem;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 4vw + .5rem, 3.75rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 2vw + .8rem, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1rem; color: var(--ink); }

.container       { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.container--wide { max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; }
.container--tight{ max-width: 820px;  margin: 0 auto; padding: 0 1.25rem; }

/* ==========  Eyebrows ========== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: .8rem;
}
.eyebrow--light { color: var(--orange); }

/* ==========  Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s, box-shadow .2s, background .15s, color .15s, border-color .15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn--primary:hover { background: var(--orange-600); color: #fff; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-800); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-alt); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn--lg { padding: 1rem 1.75rem; font-size: 1rem; }
.btn--sm { padding: .55rem .95rem; font-size: .85rem; }

/* ==========  Header / Nav ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1.5rem; padding: .85rem 1.25rem; min-height: 64px; }
.nav__brand {
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--ink);
  font-weight: 700; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: -.01em;
}
.nav__brand-mark {
  width: 36px; height: 36px;
  background: var(--orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  font-weight: 800; font-size: .9rem; font-family: var(--font-display);
}
.nav__brand small { display: block; color: var(--muted); font-weight: 500; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }

.nav__links {
  display: flex; align-items: center; gap: .15rem; margin-left: auto; margin-right: 1rem;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .9rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 8px;
  font-size: .95rem;
}
.nav__link:hover { color: var(--orange); background: var(--bg-tint); }
.nav__link[aria-current="page"] { color: var(--orange-600); background: var(--bg-tint); }
.nav__link svg { width: 10px; height: 10px; opacity: .5; }

.nav__mega {
  position: absolute; top: 100%; left: -.5rem;
  margin-top: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .65rem;
  box-shadow: var(--shadow-lg);
  display: none;
  grid-template-columns: repeat(2, minmax(260px,1fr));
  gap: .35rem;
  min-width: 560px;
  z-index: 70;
}
/* Invisible bridge between the parent menu item and the dropdown so the
   :hover state on .nav__item persists while the cursor crosses the 6px gap. */
.nav__mega::before {
  content: "";
  position: absolute;
  top: -10px;     /* slightly bigger than the margin-top:6px gap */
  left: 0;
  right: 0;
  height: 10px;
}
.nav__item:hover .nav__mega,
.nav__item:focus-within .nav__mega { display: grid; }
.nav__mega a {
  display: flex; gap: .65rem; padding: .7rem .85rem; border-radius: 10px;
  color: var(--ink); align-items: flex-start;
}
.nav__mega a:hover { background: var(--bg-tint); }
.nav__mega-icon {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .7rem; font-family: var(--font-mono);
}
.nav__mega-title { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav__mega-desc  { display: block; font-size: .82rem; color: var(--muted); margin-top: .1rem; line-height: 1.4; }

.nav__cta { display: flex; align-items: center; gap: .5rem; }
.nav__toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

@media (max-width: 1100px) {
  .nav__links { display: none; flex: 1 100%; order: 10; }
  .nav__links.is-open { display: flex !important; }
  .nav__toggle { display: inline-block; }
  .nav__mega { position: static; display: grid; box-shadow: none; border: 0; padding: 0; min-width: 0; grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; }
}

/* ==========  Hero ========== */
.hero {
  position: relative;
  background: linear-gradient(160deg, #0F2138 0%, #16304D 55%, #1E3A5F 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, black 30%, transparent 70%);
  opacity: .7;
}
.hero::after {
  width: 520px; height: 520px;
  top: -120px; right: -120px;
  background: radial-gradient(circle, rgba(241,90,36,.45), transparent 60%);
  filter: blur(20px);
}
.hero .container { position: relative; z-index: 1; }
.hero__eyebrow { color: var(--orange); }
.hero h1 { color: #fff; max-width: 18ch; margin-bottom: 1.25rem; }
.hero__sub {
  font-size: 1.2rem; line-height: 1.55;
  color: var(--on-dark);
  max-width: 62ch;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero__trust {
  margin-top: 2.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  color: var(--on-dark-muted);
  font-size: .9rem;
  font-weight: 500;
}
.hero__trust span::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
  margin-right: .5rem;
}

/* ==========  Sections ========== */
.section      { padding: 5rem 0; }
.section--tight{padding: 3.5rem 0; }
.section--alt { background: var(--bg-alt); }
.section--dark{ background: var(--bg-dark); color: var(--on-dark); }
.section--dark h1,.section--dark h2,.section--dark h3,.section--dark h4 { color: #fff; }
.section--dark p { color: var(--on-dark); }
.section--dark .eyebrow { color: var(--orange); }
.section--tint{ background: var(--bg-tint); }

.section__head { max-width: 800px; margin: 0 auto 3rem; text-align: center; }
.section__head--left { text-align: left; margin: 0 0 2.5rem; }
.section__head h2 { margin: 0 0 1rem; }
.section__head .lede,
.lede {
  font-size: 1.15rem; line-height: 1.55;
  color: var(--muted);
  max-width: 62ch; margin: 0 auto;
}
.section--dark .lede { color: var(--on-dark-muted); }

/* ==========  Platform stack (3 layers) ========== */
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.layer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.layer:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--orange-100); }
.layer__num {
  font-family: var(--font-mono);
  font-size: .8rem; font-weight: 500;
  color: var(--orange-600);
  letter-spacing: .12em;
}
.layer h3 { margin: .5rem 0 .75rem; font-size: 1.35rem; }
.layer p  { color: var(--muted); margin: 0 0 1rem; }
.layer ul { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid var(--line); padding-top: 1rem; }
.layer ul li { padding: .35rem 0; color: var(--ink); font-size: .95rem; font-weight: 500; }
.layer ul li::before { content: "→"; color: var(--orange); margin-right: .5rem; }

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

/* ==========  Stats band ========== */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-600) 100%);
  color: #fff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-orange);
}
.stats-band .stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw + .4rem, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
}
.stat__label {
  display: block; font-size: .85rem;
  margin-top: .4rem; opacity: .92;
  font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
}
@media (max-width: 700px) { .stats-band { grid-template-columns: 1fr 1fr; } }

/* ==========  Solution cards (stack) ========== */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.solution {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column;
  min-height: 280px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.solution:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--orange-100); }
.solution__icon {
  width: 52px; height: 52px;
  background: var(--bg-tint);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--orange);
}
.solution h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.solution h3 a { color: inherit; }
.solution p  { color: var(--muted); margin: 0 0 1.25rem; flex-grow: 1; font-size: .95rem; line-height: 1.55; }
.solution__link {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--orange-600); font-weight: 600; font-size: .9rem;
  margin-top: auto;
}
.solution__link::after { content: "→"; transition: transform .15s; }
.solution__link:hover::after { transform: translateX(3px); }

@media (max-width: 1000px) { .solutions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .solutions { grid-template-columns: 1fr; } }

/* ==========  How it works ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  counter-increment: step;
}
.step__num {
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: .1em;
}
.step h3 { margin: .4rem 0 .5rem; font-size: 1.15rem; }
.step p  { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 900px)  { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .steps { grid-template-columns: 1fr; } }

/* ==========  Featured (split) ========== */
.feature-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
.feature-split--reverse { grid-template-columns: .9fr 1.1fr; }
.feature-split--reverse .feature-split__media { order: -1; }
.feature-split img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.feature-split ul {
  list-style: none; padding: 0; margin: 1.25rem 0 1.5rem;
  display: grid; gap: .5rem;
}
.feature-split ul li {
  padding-left: 1.75rem;
  position: relative;
  color: var(--ink);
  font-weight: 500;
}
.feature-split ul li::before {
  content: "✦"; position: absolute; left: 0;
  color: var(--orange); font-size: 1.1rem;
}
@media (max-width: 860px) {
  .feature-split, .feature-split--reverse { grid-template-columns: 1fr; gap: 2rem; }
  .feature-split--reverse .feature-split__media { order: 0; }
}

/* ==========  Outcomes / features grid ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--orange-100); }
.card__icon {
  width: 44px; height: 44px;
  background: var(--orange);
  color: #fff;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: .9rem;
}
.card__icon--xl {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 18px rgba(15, 33, 56, 0.12);
}
.card__icon--xl svg { width: 40px; height: 40px; }
.card h3 { font-size: 1.1rem; margin: 0 0 .45rem; }
.card p  { color: var(--muted); margin: 0; font-size: .95rem; line-height: 1.55; }

.cards--on-dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.cards--on-dark .card h3 { color: #fff; }
.cards--on-dark .card p  { color: var(--on-dark-muted); }
.cards--on-dark .card:hover { background: rgba(255,255,255,.09); border-color: var(--orange); }

@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ==========  Who we serve ==========*/
.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.serve {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; gap: 1rem;
  transition: border-color .15s, transform .15s;
}
.serve:hover { border-color: var(--orange); transform: translateY(-2px); }
.serve__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--bg-tint);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 1.2rem;
}
.serve h4 { margin: 0 0 .2rem; font-size: 1rem; }
.serve p  { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
@media (max-width: 900px) { .serve-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .serve-grid { grid-template-columns: 1fr; } }

/* ==========  CTA ==========*/
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(241,90,36,.55), transparent 70%);
  filter: blur(20px);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin: 0 0 .5rem; }
.cta-band p  { color: var(--on-dark); margin: 0; max-width: 52ch; }

/* ==========  Footer ==========*/
.footer {
  background: #0B1A2A;
  color: rgba(255,255,255,.7);
  padding: 3.5rem 0 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer h5 {
  color: #fff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: .5rem; }
.footer a { color: rgba(255,255,255,.7); }
.footer a:hover { color: var(--orange); }
.footer__about p { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.5; margin: 0 0 .75rem; }
.footer__about a { color: rgba(255,255,255,.85); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .85rem; color: rgba(255,255,255,.55);
}
.footer__bottom .social { display: flex; gap: .5rem; }
.footer__bottom .social a {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .85rem;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========  Sub-hero (inner pages) ==========*/
.subhero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 100%);
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .5;
}
.subhero > .container { position: relative; z-index: 1; }
.subhero h1 { color: #fff; max-width: 20ch; margin-bottom: 1.25rem; }
.subhero p  { color: var(--on-dark); max-width: 62ch; font-size: 1.1rem; line-height: 1.55; margin: 0 0 1.5rem; }
.subhero__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ==========  Photo-backed hero variants ========== */
/* Usage: <section class="hero hero--photo" style="--hero-img:url('...')"> */
.hero--photo {
  background:
    linear-gradient(150deg, rgba(15,33,56,.90) 0%, rgba(22,48,77,.82) 50%, rgba(30,58,95,.72) 100%),
    var(--hero-img, none) center/cover no-repeat;
}
.hero--photo::after { opacity: .35; }
.subhero--photo {
  background:
    linear-gradient(150deg, rgba(15,33,56,.92) 0%, rgba(22,48,77,.88) 100%),
    var(--hero-img, none) center/cover no-repeat;
}

/* ==========  Prose content (blog / long pages) ==========*/
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; font-size: 1.3rem; }
.prose p, .prose ul, .prose ol, .prose blockquote { font-size: 1.05rem; line-height: 1.7; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.5rem; margin: .75rem 0 1.25rem; }
.prose li { margin: .4rem 0; }
.prose blockquote {
  border-left: 3px solid var(--orange);
  padding: .5rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--bg-tint);
  color: var(--ink);
  font-style: italic;
}
.prose strong { color: var(--ink); font-weight: 700; }

/* ==========  Timeline (innovation history) ==========*/
.timeline { max-width: 900px; margin: 0 auto; position: relative; padding: 1rem 0; }
.timeline::before {
  content: "";
  position: absolute; left: 7.5rem; top: 0; bottom: 0;
  width: 2px; background: var(--line);
}
.tl-item {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
  align-items: start;
}
.tl-year {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--orange);
  position: relative;
  padding-right: 1.5rem;
}
.tl-year::after {
  content: "";
  position: absolute;
  right: -6px; top: .5rem;
  width: 12px; height: 12px;
  background: var(--orange);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--line);
}
.tl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: center;
}
.tl-card h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.tl-card p  { margin: 0; color: var(--muted); font-size: .95rem; }
.tl-card img {
  width: 320px;
  height: 200px;
  object-fit: cover;
  background: #f6f8fa;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: block;
}
@media (max-width: 900px) {
  .tl-card { grid-template-columns: 1fr 240px; }
  .tl-card img { width: 240px; height: 150px; }
}
@media (max-width: 700px) {
  .timeline::before { left: 4rem; }
  .tl-item { grid-template-columns: 4rem 1fr; gap: .75rem; }
  .tl-year { font-size: 1rem; padding-right: .75rem; }
  .tl-card { grid-template-columns: 1fr; }
  .tl-card img { width: 100%; height: 220px; }
}

/* ==========  Post / resources grid ==========*/
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.post {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .2s, box-shadow .2s;
}
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post--feature { grid-column: span 2; background: linear-gradient(135deg,#FFF6F1, #fff); border-color: var(--orange-100); }
.post__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .3rem .6rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  margin-bottom: .75rem;
}
.post h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.post h3 a { color: var(--ink); }
.post h3 a:hover { color: var(--orange); }
.post p { color: var(--muted); font-size: .95rem; margin: 0 0 .75rem; }
.post__meta { font-size: .82rem; color: var(--muted); font-family: var(--font-mono); }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } .post--feature { grid-column: auto; } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }

/* ==========  Contact ==========*/
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-size: 1.05rem; margin: 0 0 .5rem; }
.contact-card p  { margin: .25rem 0; font-size: .95rem; }
.contact-form label { display: block; font-weight: 500; margin-bottom: 1rem; font-size: .95rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; margin-top: .35rem;
  padding: .65rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem;
  background: #fff;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form .row label { margin-bottom: 0; }
@media (max-width: 560px) { .contact-form .row { grid-template-columns: 1fr; } }
.contact-side {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}

/* ==========  Pricing / compare ==========*/
.compare {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.compare__col {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}
.compare__col--highlight {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy-700);
}
.compare__col--highlight h3,
.compare__col--highlight li { color: #fff; }
.compare__col ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.compare__col li { padding: .4rem 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: .95rem; }
.compare__col--highlight li { border-bottom-color: rgba(255,255,255,.1); }
.compare__col li::before { content: "✓"; color: var(--orange); margin-right: .5rem; font-weight: 700; }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }

/* ==========  Utilities ==========*/
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }

/* ==========  Accessibility ==========*/
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========  Layer card: product image + product links  ========== */
.layer__media {
  margin: -2rem -1.75rem 1.25rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.layer__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.layer:hover .layer__media img { transform: scale(1.03); }
.layer__products {
  list-style: none !important; padding: 1rem 0 0 !important; margin: 1rem 0 0 !important;
  border-top: 1px solid var(--line) !important;
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.layer__products li { padding: 0 !important; }
.layer__products li::before { content: "" !important; margin: 0 !important; }
.layer__products a {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .4rem .7rem;
  background: var(--bg-tint);
  border: 1px solid var(--orange-100);
  border-radius: 999px;
  font-size: .85rem; font-weight: 600;
  color: var(--orange-600);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.layer__products a:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.layer__products a::after { content: "→"; font-weight: 700; }

/* ==========  Solution card: product image instead of icon  ========== */
.solution__media {
  margin: -2rem -1.75rem 1.25rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.solution__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.solution:hover .solution__media img { transform: scale(1.03); }

/* ==========  Lanes grid — 6-lane platform concept  ========== */
.lanes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.lane {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem 1.25rem;
  text-align: left;
  position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.lane:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--orange); }
.lane__badge {
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 600;
  color: var(--orange-600);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: .5rem;
}
.lane h4 { margin: 0 0 .35rem; font-size: 1.05rem; }
.lane p  { color: var(--muted); font-size: .88rem; margin: 0 0 .8rem; line-height: 1.5; }
.lane a.lane__link {
  margin-top: auto;
  color: var(--orange-600);
  font-weight: 600;
  font-size: .85rem;
  text-decoration: none;
}
.lane a.lane__link::after { content: " →"; }
@media (max-width: 1100px) { .lanes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .lanes { grid-template-columns: 1fr 1fr; } }

/* ==========  Form factors strip (No one size fits all)  ========== */
.formfactors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.formfactor {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.formfactor__img { aspect-ratio: 4/3; background: var(--bg-alt); overflow: hidden; }
.formfactor__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.formfactor__body { padding: 1.1rem 1rem 1.25rem; }
.formfactor h4 { margin: 0 0 .3rem; font-size: 1rem; }
.formfactor p  { color: var(--muted); font-size: .88rem; margin: 0; line-height: 1.5; }
@media (max-width: 900px) { .formfactors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .formfactors { grid-template-columns: 1fr; } }

/* ==========  Challenge cards  ========== */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  text-align: left;
}
.challenge-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: 0 1px 2px rgba(15,33,56,.04);
}
.challenge-card h4 { margin: 0 0 .5rem; font-size: 1.05rem; color: var(--ink); }
.challenge-card p  { color: var(--muted); font-size: .94rem; margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .challenge-grid { grid-template-columns: 1fr; } }
