/* ============================================================
   Caporus Technologies — site stylesheet
   Brand: IBM Plex Sans (body) + Nulshock (display, matches logo)
   ============================================================ */

@font-face {
  font-family: "Nulshock";
  src: url("../fonts/NulshockBk-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --blue:      #0288d1;
  --blue-dark: #0670a8;
  --blue-soft: #e6f3fb;
  --ink:       #16181d;
  --navy:      #0e1c2f;
  --navy-2:    #13304a;
  --amber:     #f2a81d;
  --text:      #5a6070;
  --heading:   #1b2533;
  --bg-alt:    #f4f7fb;
  --border:    #e3e8ef;
  --maxw:      1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
.container { width: 90%; max-width: var(--maxw); margin: 0 auto; }
.narrow { max-width: 820px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; margin-top: 0; }
h3 { font-size: 1.25rem; font-weight: 600; }
.display { font-family: "Nulshock", "IBM Plex Sans", sans-serif; font-weight: 400; letter-spacing: .01em; }
.eyebrow {
  font-family: "Nulshock", "IBM Plex Sans", sans-serif;
  text-transform: uppercase; letter-spacing: .18em; font-size: .72rem;
  color: var(--blue); margin: 0 0 .7rem;
}
.eyebrow.center, .center { text-align: center; }
.eyebrow-light { color: #8fd0f5; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 600; margin: 0 0 .8rem; }
.section-title.center { text-align: center; }
.light, .section-title.light { color: #fff; }
.section-subtitle { max-width: 760px; margin: 0 auto 3rem; font-size: 1.08rem; text-align: center; }
.section-subtitle.light { color: rgba(255,255,255,.82); }
.lead { font-size: 1.12rem; }
.muted { color: #7b8394; font-size: .92rem; }
.tm { font-size: .6em; vertical-align: super; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  padding: .8rem 1.9rem; border-radius: 40px; transition: all .2s ease;
  cursor: pointer; border: 2px solid transparent; font-family: inherit;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-wide { width: 100%; border: none; font-size: 1rem; padding: .95rem; }
.text-link { font-weight: 600; }
.text-link::after { content: " \2192"; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 1px solid var(--border); box-shadow: 0 1px 12px rgba(20,30,60,.04);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 90%; max-width: var(--maxw); margin: 0 auto; min-height: 74px;
}
.nav-brand img { height: 40px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 1.8rem; }
.nav-menu ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.nav-menu ul a {
  color: var(--ink); font-weight: 500; font-size: .96rem; padding: .4rem 0; position: relative;
}
.nav-menu ul a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--blue); transition: width .25s ease;
}
.nav-menu ul a:hover, .nav-menu ul a.active { color: var(--blue); }
.nav-menu ul a:hover::after, .nav-menu ul a.active::after { width: 100%; }
.nav-cta { padding: .55rem 1.3rem; font-size: .9rem; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); transition: all .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; color: #fff; text-align: center; padding: 8rem 1rem 8.5rem;
  background: url("../images/hero-bg.jpg") center/cover no-repeat;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8,20,38,.9), rgba(4,60,90,.7)); }
.hero-content { position: relative; max-width: 900px; margin: 0 auto; }
.hero h1 {
  font-family: "Nulshock", "IBM Plex Sans", sans-serif; font-weight: 400; color: #fff;
  font-size: clamp(2rem, 5vw, 3.6rem); margin: .3rem 0 1.1rem; text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-tagline { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: rgba(255,255,255,.9); max-width: 700px; margin: 0 auto 2.2rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  position: relative; color: #fff; padding: 5.5rem 0 5rem; overflow: hidden;
  background: linear-gradient(125deg, var(--navy) 0%, var(--navy-2) 60%, #0b4a6e 100%);
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -60px; width: 420px; height: 420px;
  background-image: radial-gradient(circle, rgba(2,136,209,.45) 28%, transparent 30%);
  background-size: 34px 34px; opacity: .35; transform: rotate(12deg);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: "Nulshock", "IBM Plex Sans", sans-serif; font-weight: 400; color: #fff;
  font-size: clamp(1.9rem, 4.2vw, 3rem); margin: .2rem 0 1rem;
}
.page-hero p.lead { color: rgba(255,255,255,.88); max-width: 720px; margin: 0 0 1.8rem; }
.breadcrumb { font-size: .88rem; margin-bottom: 1.2rem; color: rgba(255,255,255,.6); }
.breadcrumb a { color: #8fd0f5; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(135deg, var(--navy), #0b3a50); color: rgba(255,255,255,.85); }
.section-dark h2, .section-dark h3 { color: #fff; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col.top { align-items: start; }
.rounded-img { border-radius: 14px; box-shadow: 0 14px 40px rgba(20,30,60,.14); width: 100%; }
.img-caption { font-size: .85rem; color: #7b8394; margin-top: .7rem; }
.img-stack { display: grid; gap: 1.2rem; }

/* ---------- Platform cards (home) ---------- */
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.platform-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; transition: all .25s ease;
}
.platform-card:hover { box-shadow: 0 18px 50px rgba(20,40,80,.12); transform: translateY(-4px); }
.platform-media { height: 230px; background: var(--navy); overflow: hidden; }
.platform-media img { width: 100%; height: 100%; object-fit: cover; }
.platform-body { padding: 2rem 2rem 2.2rem; display: flex; flex-direction: column; flex: 1; }
.platform-body h3 { font-size: 1.45rem; margin-bottom: .2rem; }
.platform-tag { font-weight: 600; color: var(--blue); font-size: .9rem; margin: 0 0 1rem; }
.platform-body p { margin: 0 0 1.2rem; }
.platform-body .btn { align-self: flex-start; margin-top: auto; }
.mini-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.mini-list li { padding: .65rem 0 .65rem 1.6rem; border-top: 1px solid var(--border); position: relative; font-size: .96rem; }
.mini-list li:last-child { border-bottom: 1px solid var(--border); }
.mini-list li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem; width: 9px; height: 9px;
  border-radius: 50%; background: var(--blue);
}
.mini-list strong { color: var(--heading); }

/* ---------- Challenge / feature cards ---------- */
.card-grid { display: grid; gap: 1.5rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); }
.feature {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.8rem 1.6rem;
}
.feature h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.feature p { margin: 0; font-size: .96rem; }
.feature-num {
  font-family: "Nulshock", sans-serif; color: var(--blue); font-size: .8rem; letter-spacing: .12em; margin-bottom: .6rem;
}
.section-dark .feature { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.section-dark .feature p { color: rgba(255,255,255,.8); }

/* ---------- Product path cards ---------- */
.path-card {
  border-radius: 18px; padding: 2.3rem 2.1rem; background: #fff; border: 1px solid var(--border);
  border-top: 5px solid var(--blue);
}
.path-card.alt { border-top-color: var(--amber); }
.path-label { font-family: "Nulshock", sans-serif; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #7b8394; }
.path-card h3 { font-size: 1.4rem; margin: .5rem 0 .8rem; }
.path-arrow { font-weight: 600; color: var(--heading); margin: 1.2rem 0 .6rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  display: inline-block; padding: .35rem .9rem; border-radius: 30px; font-size: .88rem; font-weight: 500;
  background: var(--blue-soft); color: var(--blue-dark);
}
.path-card.alt .pill { background: #fdf2dc; color: #9a6608; }

/* ---------- Stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat {
  text-align: center; padding: 1.8rem 1.2rem; border-radius: 14px;
  background: #fff; border: 1px solid var(--border);
}
.stat-value { font-family: "IBM Plex Sans", system-ui, sans-serif; font-weight: 700; font-size: 2.1rem; color: var(--blue); line-height: 1.1; margin-bottom: .5rem; }
.stat-label { font-size: .92rem; color: var(--text); }
.section-dark .stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section-dark .stat-value { color: #6fc6f5; }
.section-dark .stat-label { color: rgba(255,255,255,.82); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); background: #fff; }
.compare { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 560px; }
.compare th, .compare td { padding: 1rem 1.2rem; text-align: center; border-bottom: 1px solid var(--border); }
.compare th { background: var(--bg-alt); color: var(--heading); font-weight: 600; }
.compare td:first-child, .compare th:first-child { text-align: left; font-weight: 500; color: var(--heading); }
.compare tr:last-child td { border-bottom: none; }
.compare .us { background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; }
.compare th.us { background: var(--blue); color: #fff; }
.compare .weak { color: #c0504d; }
.table-note { font-size: .85rem; color: #7b8394; margin-top: .8rem; }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; position: relative; margin-top: 1rem; }
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: rgba(255,255,255,.2);
}
.tl-item { position: relative; padding-top: 3.2rem; }
.tl-item::before {
  content: ""; position: absolute; top: 14px; left: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 5px rgba(2,136,209,.25);
}
.tl-year { font-family: "Nulshock", sans-serif; color: #fff; font-size: 1.15rem; margin-bottom: .5rem; }
.tl-item ul { list-style: none; margin: 0; padding: 0; }
.tl-item li { font-size: .9rem; line-height: 1.45; color: rgba(255,255,255,.8); margin-bottom: .55rem; }

/* ---------- Icon apps ---------- */
.app-card { text-align: center; padding: 2rem 1.4rem; border-radius: 14px; background: #fff; border: 1px solid var(--border); }
.app-card img { height: 84px; width: auto; margin: 0 auto 1rem; border-radius: 10px; }
.app-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.app-card p { font-size: .92rem; margin: 0; }
.app-icon {
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--blue);
}
.app-icon svg { width: 32px; height: 32px; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .85rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42rem; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230288d1' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.checklist strong { color: var(--heading); }
.xlist li::before {
  background: #fbeaea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 6l8 8M14 6l-8 8' fill='none' stroke='%23c0504d' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/11px no-repeat;
}

.diagram-frame { background: var(--navy); border-radius: 14px; padding: 1.5rem; box-shadow: 0 14px 40px rgba(20,30,60,.14); }
.diagram-frame img { margin: 0 auto; }

/* ---------- Validation band ---------- */
.validation { display: grid; grid-template-columns: 170px 1fr; gap: 2.5rem; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 2.2rem 2.4rem; }
.validation img { width: 150px; border-radius: 8px; }
.validation h3 { margin-bottom: .5rem; }
.validation p { margin: 0; }

/* ---------- Logo grids ---------- */
.partner-group + .partner-group { margin-top: 3rem; }
.partner-group h3 { text-align: center; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: #7b8394; margin-bottom: 1.4rem; font-weight: 600; }
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 820px; margin: 0 auto; }
.logo-grid-4 { grid-template-columns: repeat(4, 1fr); max-width: 980px; }
.logo-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; padding: 1.8rem 1.4rem; min-height: 130px;
  transition: all .25s ease;
}
.logo-card img { max-height: 78px; width: auto; opacity: .9; }
.logo-card:hover { box-shadow: 0 10px 36px rgba(137,173,255,.3); transform: translateY(-3px); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue), #0460a0); color: #fff; border-radius: 20px;
  padding: 3rem 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 .4rem; font-size: 1.7rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); max-width: 620px; }
.cta-band .btn { background: #fff; color: var(--blue-dark); }
.cta-band .btn:hover { background: var(--navy); color: #fff; }

/* ---------- Join band ---------- */
.join-band { text-align: center; padding: 3.5rem 0; background: var(--bg-alt); border-top: 1px solid var(--border); }
.join-band h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.join-band p { margin: 0; }

/* ---------- Contact ---------- */
.contact-section { position: relative; background: url("../images/contact-bg.jpg") center/cover no-repeat; color: #fff; }
.contact-overlay { position: absolute; inset: 0; background: rgba(12,20,34,.84); }
.contact-inner { position: relative; max-width: 760px; }
.contact-form { margin-top: 2rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; margin-bottom: 1rem; padding: .9rem 1.2rem; border: 1px solid transparent; border-radius: 10px;
  background: #f5f7fc; color: #22283a; font-family: inherit; font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2,136,209,.3);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { margin-top: 1rem; padding: .8rem 1rem; border-radius: 8px; background: rgba(2,136,209,.25); color: #fff; text-align: center; }
.contact-alt { text-align: center; margin-top: 1.5rem; color: rgba(255,255,255,.75); font-size: .95rem; }
.contact-alt a { color: #8fd0f5; }

/* ---------- Footer ---------- */
.site-footer { background: #0c1119; color: #b9c2d0; padding: 3.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-logo { height: 38px; width: auto; margin-bottom: 1rem; }
.site-footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #9fb6c9; }
.site-footer a:hover { color: #fff; }
.footer-copy { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; font-size: .85rem; color: #6b7585; text-align: center; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .timeline { grid-template-columns: repeat(4, 1fr); row-gap: 2rem; }
  .timeline::before { display: none; }
  .cols-5 { grid-template-columns: repeat(3, 1fr); }
  .cols-4, .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .two-col, .platform-grid, .cols-2, .cols-3 { grid-template-columns: 1fr; gap: 2rem; }
  .logo-grid, .logo-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .validation { grid-template-columns: 1fr; text-align: center; }
  .validation img { margin: 0 auto; }
  .reverse-mobile > :first-child { order: 2; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: flex-start; gap: 0; padding: 1rem 5% 1.4rem; border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(20,30,60,.1); display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu ul { flex-direction: column; gap: .2rem; width: 100%; }
  .nav-menu ul li { width: 100%; }
  .nav-menu ul a { display: block; padding: .7rem 0; }
  .nav-cta { margin-top: .8rem; }
}
@media (max-width: 600px) {
  .timeline, .cols-5, .cols-4, .stat-grid { grid-template-columns: 1fr 1fr; }
  .form-row, .footer-grid { grid-template-columns: 1fr; }
  .logo-grid, .logo-grid-4 { grid-template-columns: 1fr 1fr; }
  .section { padding: 4rem 0; }
  .cta-band { padding: 2.2rem 1.6rem; }
  .hero { padding: 6rem 1rem 6.5rem; }
}

/* ============================================================
   v2.1 additions
   ============================================================ */
.hero-company {
  font-family: "Nulshock", "IBM Plex Sans", sans-serif; text-transform: uppercase;
  letter-spacing: .14em; color: #8fd0f5; font-size: clamp(1.05rem, 2.2vw, 1.6rem); margin: 0 0 1rem;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.hero-tagline { margin-bottom: 0; }
.eyebrow-lg { font-size: clamp(1rem, 1.8vw, 1.25rem); letter-spacing: .16em; margin-bottom: 1rem; }

.platform-graphic { border-radius: 18px; overflow: hidden; box-shadow: 0 18px 50px rgba(10,25,50,.25); margin-bottom: 2.5rem; background: var(--navy); }
.platform-graphic img { width: 100%; }

/* IP section */
.ip-offices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 3rem; }
.ip-office { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.6rem 1rem; text-align: center; }
.ip-office img { width: 56px; height: 56px; margin: 0 auto .9rem; border-radius: 50%; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.ip-office .office { font-weight: 700; color: var(--heading); font-size: 1.1rem; letter-spacing: .04em; }
.ip-office .country { font-size: .85rem; color: #7b8394; }
.ip-office .issued { margin-top: .5rem; font-size: .92rem; color: var(--blue-dark); font-weight: 600; }
.ip-families { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.ip-family { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 2rem; display: flex; flex-direction: column; }
.ip-family .ip-kicker { font-family: "Nulshock", sans-serif; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #7b8394; margin-bottom: .4rem; }
.ip-family h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.ip-family p { font-size: .97rem; }
.ip-family .ip-status { display: inline-block; align-self: flex-start; font-size: .82rem; font-weight: 600; padding: .3rem .8rem; border-radius: 20px; background: var(--blue-soft); color: var(--blue-dark); margin-bottom: 1rem; }
.ip-family .ip-status.pending { background: #fdf2dc; color: #9a6608; }
.ip-figure { margin-top: auto; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 1rem; }
.ip-figure img { max-height: 210px; width: auto; margin: 0 auto; }

/* Substrate platforms band */
.substrate-band { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 2.2rem 2.4rem; box-shadow: 0 14px 40px rgba(20,30,60,.08); margin-top: -3.5rem; position: relative; z-index: 2; }
.substrate-band h2 { font-size: 1.35rem; margin-bottom: .3rem; }
.substrate-band > p { margin: 0 0 1.4rem; }
.substrate-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.substrate-chip { border-radius: 12px; padding: 1.1rem 1.2rem; background: var(--bg-alt); border-left: 4px solid var(--blue); }
.substrate-chip strong { display: block; color: var(--heading); font-size: 1.02rem; }
.substrate-chip span { font-size: .88rem; color: var(--text); }

/* Inline validation note */
.validation-inline { display: flex; align-items: center; gap: 1.4rem; max-width: 900px; margin: 2.5rem auto 0;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 14px; padding: 1.2rem 1.5rem; }
.validation-inline img { width: 64px; border-radius: 8px; background: #fff; flex-shrink: 0; }
.validation-inline p { margin: 0; color: rgba(255,255,255,.88); font-size: .96rem; }
.validation-inline strong { color: #fff; }

/* Image gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; box-shadow: 0 14px 40px rgba(20,30,60,.14); }
.gallery figcaption { margin-top: .8rem; font-size: .92rem; }
.gallery figcaption strong { display: block; color: var(--heading); font-size: 1rem; }
.gallery-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-2 img { aspect-ratio: 4 / 3; }

/* Best of both worlds */
.bobw { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.2rem; align-items: stretch; margin-bottom: 2.5rem; }
.bobw-card { border-radius: 16px; padding: 1.8rem 1.6rem; text-align: center; background: #fff; border: 1px solid var(--border); }
.bobw-card .bobw-from { font-family: "Nulshock", sans-serif; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #7b8394; margin-bottom: .5rem; }
.bobw-card h3 { margin: 0; font-size: 1.15rem; }
.bobw-plus { display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; color: var(--blue); }
.bobw-result { text-align: center; margin: -1rem auto 2.5rem; font-weight: 600; color: var(--heading); font-size: 1.1rem; }

.pill-row + .pill-row { margin-top: .5rem; }
.table-scope { text-align: center; font-weight: 600; color: var(--blue-dark); background: var(--blue-soft); border-radius: 10px; padding: .7rem 1rem; margin: 0 0 1.2rem; font-size: .95rem; }
.table-title { font-size: 1.15rem; margin: 2.5rem 0 1rem; text-align: center; }
.compare.wide { min-width: 760px; font-size: .92rem; }
.compare.wide th, .compare.wide td { padding: .85rem .8rem; }

@media (max-width: 900px) {
  .ip-offices, .substrate-grid { grid-template-columns: 1fr 1fr; }
  .ip-families, .gallery, .gallery-2 { grid-template-columns: 1fr; }
  .bobw { grid-template-columns: 1fr; }
  .substrate-band { margin-top: 0; }
}
