/* ===================================================================
   Microfixx Technologies — enterprise corporate theme (LIGHT)
   Light surfaces · dark text · blue/cyan accents · controlled purple (Creative)
   Hero remains a dark photographic band over a light body.
   =================================================================== */

:root {
  --bg:        #f5f7fb;
  --bg-2:      #eceff5;
  --panel:     #ffffff;
  --panel-2:   #f7f9fc;
  --border:    #e2e7f0;
  --border-2:  #cdd6e4;

  --text:      #0f1c30;
  --muted:     #566579;
  --muted-2:   #8a97ab;

  --blue:      #1668d6;
  --blue-2:    #2e8fff;
  --cyan:      #0a9fd8;
  --blue-dim:  rgba(22, 104, 214, 0.12);
  --cyan-dim:  rgba(10, 159, 216, 0.22);
  --purple:    #8a3fd6;
  --purple-2:  #a45ff0;
  --purple-dim:rgba(138, 63, 214, 0.28);

  --radius:    16px;
  --radius-sm: 11px;
  --pill:      999px;
  --maxw:      1440px;
  --pad:       48px;
  --shadow:    0 20px 44px rgba(20, 40, 80, 0.10);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1100px 560px at 84% -12%, rgba(22,104,214,0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: normal;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; text-wrap: pretty; }
p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.accent-blue   { color: var(--blue); }
.accent-cyan   { color: var(--cyan); }
.accent-purple { color: var(--purple); }

/* ---------- Section heading with cyan tick ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}
.eyebrow.purple::before { background: linear-gradient(90deg, var(--purple), var(--purple-2)); }
.section-intro {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 78ch;
  margin-bottom: 38px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(22, 104, 214, 0.34);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(22, 104, 214, 0.42); }
.btn-ghost {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* ---------- Header (light, over dark hero) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 22px rgba(20, 40, 80, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 16px;
  min-width: 0;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand .logo-mark { width: 47px; height: 47px; flex: none; }
.brand .brand-name { font-weight: 800; font-size: 1.28rem; letter-spacing: -0.01em; color: var(--text); min-width: 0; }
.nav-cta { flex: none; }
.brand .brand-name .mf-fixx { color: var(--blue); }
.brand .brand-name small {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero (dark photographic band; light text) ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 74vh, 740px);
  display: flex;
  align-items: center;
  padding: 84px 0;
  background-image: url("../img/bkg.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(245,247,251,0.94) 0%, rgba(245,247,251,0.82) 38%, rgba(245,247,251,0.48) 66%, rgba(245,247,251,0.22) 100%),
    linear-gradient(180deg, rgba(245,247,251,0.50) 0%, rgba(245,247,251,0.24) 45%, rgba(245,247,251,0.85) 100%);
}
.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}
.hero-copy { max-width: 610px; flex: 1 1 auto; }
.hero-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(1.8rem, 2.4vw, 2.35rem);
  line-height: 1.16;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 22px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead { color: var(--muted); font-size: 1.1rem; max-width: 40em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 15px; }
.hero .btn-ghost { background: rgba(255,255,255,0.9); border-color: var(--border-2); color: var(--text); backdrop-filter: blur(4px); }
.hero .btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* glass intelligence overlays (dark glass on the dark hero) */
.hero-stats { display: flex; flex-direction: column; gap: 12px; width: 300px; flex: none; }
.hstat {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 17px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-2);
  border-left: 2px solid var(--cyan);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(20, 40, 80, 0.12);
}
.hstat .lbl { color: var(--muted); font-size: 0.85rem; }
.hstat .val { font-weight: 700; font-size: 0.88rem; color: var(--text); white-space: nowrap; }
.hstat .val.ok { color: var(--blue); }

/* ---------- Corporate capability band (light) ---------- */
.capband {
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}
.capband .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.capitem { display: flex; align-items: center; gap: 14px; padding: 24px 10px; }
.capitem + .capitem { border-left: 1px solid var(--border); padding-left: 26px; }
.capitem .cico {
  width: 40px; height: 40px; flex: none; border-radius: 11px;
  display: grid; place-items: center;
  border: 1px solid var(--cyan-dim); background: rgba(10, 159, 216, 0.10); color: var(--cyan);
}
.capitem .cico svg { width: 21px; height: 21px; }
.capitem b { font-weight: 600; font-size: 0.98rem; display: block; color: var(--text); }
.capitem small { color: var(--muted-2); font-size: 0.78rem; }
.capitem.creative .cico { color: var(--purple); background: rgba(138, 63, 214, 0.10); border-color: var(--purple-dim); }

/* ---------- Section spacing ---------- */
section.block { padding: 60px 0; }
.divider-top { border-top: 1px solid var(--border); }

/* ---------- Corporate Structure — 2x2 executive division grid ---------- */
.divisions { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.division {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 30px 32px;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.05);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.division:hover { border-color: var(--cyan-dim); transform: translateY(-3px); box-shadow: 0 18px 38px rgba(20, 40, 80, 0.12); }
.division .dico {
  width: 52px; height: 52px;
  border-radius: 13px;
  border: 1px solid var(--cyan-dim);
  background: linear-gradient(180deg, rgba(10,159,216,0.14), rgba(22,104,214,0.05));
  color: var(--cyan);
  display: grid; place-items: center;
}
.division .dico svg { width: 27px; height: 27px; }
.division .dnum {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em;
  color: var(--blue); margin-bottom: 8px;
}
.division h3 { font-size: 1.32rem; margin-bottom: 13px; color: var(--text); }
.division .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.tag {
  border: 1px solid rgba(22,104,214,0.28);
  background: rgba(22,104,214,0.07);
  color: #1560c0;
  border-radius: var(--pill);
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 600;
}
.division p { color: var(--muted); font-size: 0.98rem; }

.division.creative {
  border-color: var(--purple-dim);
  background: linear-gradient(180deg, rgba(138,63,214,0.05), var(--panel));
}
.division.creative:hover { border-color: rgba(138,63,214,0.5); box-shadow: 0 18px 38px rgba(138,63,214,0.14); }
.division.creative .dico { color: var(--purple); border-color: var(--purple-dim); background: linear-gradient(180deg, rgba(138,63,214,0.14), rgba(138,63,214,0.04)); }
.division.creative .dnum { color: var(--purple); }
.division.creative .tag { border-color: rgba(138,63,214,0.4); background: rgba(138,63,214,0.08); color: var(--purple); }

/* ---------- Platform Spotlight ---------- */
.spot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.spot-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(20, 40, 80, 0.05);
  transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease;
}
.spot-card:hover { transform: translateY(-4px); border-color: var(--cyan-dim); box-shadow: 0 18px 38px rgba(20, 40, 80, 0.12); }
.spot-card.purple { border-color: var(--purple-dim); }
.spot-card.purple:hover { border-color: rgba(138,63,214,0.5); box-shadow: 0 18px 38px rgba(138,63,214,0.14); }
.spot-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 11px; margin-bottom: 12px; }
.spot-head .ico {
  width: 40px; height: 40px; flex: none;
  border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--cyan-dim); background: rgba(10,159,216,0.10); color: var(--cyan);
}
.spot-head .ico svg { width: 22px; height: 22px; }
.spot-card.purple .spot-head .ico { color: var(--purple); border-color: var(--purple-dim); background: rgba(138,63,214,0.10); }
.spot-head h3 { font-size: 1.06rem; color: var(--text); }
.spot-card > p { color: var(--muted); font-size: 0.89rem; margin-bottom: 16px; min-height: 3.1em; }
.spot-shot {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
  background: linear-gradient(160deg, #eef2f8, #e2e8f2);
  position: relative;
}
.spot-shot::before {
  content: "";
  position: absolute; top: 12px; left: 12px;
  width: 30px; height: 6px; border-radius: 4px;
  background: rgba(90,110,140,0.30);
  box-shadow: 12px 0 0 rgba(90,110,140,0.20), 24px 0 0 rgba(90,110,140,0.12);
  z-index: 1;
}
.spot-shot img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 2; }
.spot-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-weight: 600; font-size: 0.88rem;
}
.spot-card.purple .spot-link { color: var(--purple); }
.spot-link svg { width: 16px; height: 16px; }
.spot-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.spot-foot .spot-link { margin-top: 0; white-space: nowrap; }
.spot-foot .badge-soon { font-size: 0.6rem; padding: 3px 9px; letter-spacing: 0.05em; }

/* Enterprise (3-up) vs Creative split in Platform Spotlight */
.spot-grid.three { grid-template-columns: repeat(3, 1fr); }
.creative-feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--purple-dim); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(138,63,214,0.05), var(--panel));
  box-shadow: 0 0 0 1px rgba(138,63,214,0.10), 0 8px 24px rgba(20,40,80,0.05);
}
.creative-feature .cf-media { min-height: 280px; background: #0a0a12; }
.creative-feature .cf-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.creative-feature .cf-body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.creative-feature .spot-head { margin-bottom: 14px; }
.creative-feature .spot-head .ico { color: var(--purple); border-color: var(--purple-dim); background: rgba(138,63,214,0.10); }
.creative-feature h3 { font-size: 1.32rem; }
.creative-feature p { color: var(--muted); font-size: 0.98rem; margin-bottom: 22px; max-width: 44ch; }
.creative-feature .spot-link { color: var(--purple); font-size: 0.92rem; }
@media (max-width: 1100px) { .spot-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .creative-feature { grid-template-columns: 1fr; } .creative-feature .cf-media { min-height: 200px; } }
@media (max-width: 620px) { .spot-grid.three { grid-template-columns: 1fr; } }

/* ---------- Why Microfixx ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.why-item .ico { width: 42px; height: 42px; color: var(--cyan); margin-bottom: 18px; }
.why-item:nth-child(4) .ico { color: var(--purple); }
.why-item h3 { font-size: 1.05rem; margin-bottom: 11px; color: var(--text); }
.why-item p { color: var(--muted); font-size: 0.92rem; max-width: 30ch; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 20px;
  background: #eef1f7;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(5, 1fr);
  gap: 34px;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; max-width: 27em; }
.footer-col h4 { font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 15px; }
.footer-col a { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.footer-contact { display: flex; flex-direction: column; gap: 11px; color: var(--muted); font-size: 0.88rem; margin-top: 18px; }
.footer-contact .row { display: flex; gap: 9px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--muted-2); flex: none; margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 8px; }
.social a {
  width: 36px; height: 36px; border-radius: 9px;
  border: 1px solid var(--border-2);
  display: grid; place-items: center; color: var(--muted);
  transition: color .2s, border-color .2s;
}
.social a:hover { color: var(--blue); border-color: var(--blue); }
.social svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 44px; padding-top: 24px;
  display: flex; justify-content: center; gap: 28px;
  color: var(--muted-2); font-size: 0.84rem;
  flex-wrap: wrap;
}
.footer-bottom a:hover { color: var(--text); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Overflow hardening: let grid/flex children shrink on small screens ---------- */
.spot-grid > *, .divisions > *, .why-grid > *, .footer-grid > *, .news-grid > *,
.spot-card, .division, .why-item, .news-card,
.division > *, .spot-head, .spot-head h3,
.spot-shot, .cf-media, .cf-body, .pd-shot, .contact-grid > * { min-width: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .spot-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-stats { width: 260px; }
}
@media (max-width: 900px) {
  .hero-stats { display: none; }
  .hero-copy { max-width: 100%; }
  .capband .container { grid-template-columns: 1fr 1fr; }
  .capitem:nth-child(3) { border-left: 0; padding-left: 10px; }
}
@media (max-width: 860px) {
  :root { --pad: 26px; }
  .nav-links, .nav-cta .btn span { display: none; }
  .nav-cta .btn { padding: 11px 14px; }
  .nav-toggle { display: inline-flex; }
  .divisions { grid-template-columns: 1fr; }
  .hero { min-height: 66vh; }
}
@media (max-width: 560px) {
  .spot-grid, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .capband .container { grid-template-columns: 1fr; }
  .capitem { padding: 15px 0; border-left: 0; }
  .capitem + .capitem { padding: 15px 0; border-left: 0; border-top: 1px solid var(--border); }
  .division { grid-template-columns: 1fr; gap: 16px; padding: 26px 22px; }
  .footer-brand { grid-column: auto; }
}

/* ---------- Platform modal (quick popup summary) ---------- */
body.modal-open { overflow: hidden; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 28, 48, 0.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 620px; width: 100%;
  max-height: 92vh; overflow: auto;
  box-shadow: var(--shadow);
  animation: modalIn .2s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal-media { aspect-ratio: 16 / 9; background: #e2e8f2; }
.modal-media img { width: 100%; height: 100%; object-fit: contain; }
.modal-body { padding: 24px 26px 26px; }
.modal-tag { color: var(--blue); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.modal-body h3 { font-size: 1.5rem; margin-bottom: 12px; color: var(--text); }
.modal-body > p { color: var(--muted); margin-bottom: 18px; }
.modal-body ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.modal-body li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.92rem; color: var(--text); }
.modal-body li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background-color: var(--cyan-dim);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a9fd8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255,255,255,0.92); border: 1px solid var(--border);
  color: var(--text); font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
}
.modal-close:hover { border-color: var(--blue); color: var(--blue); }
.modal.purple .modal-tag { color: var(--purple); }
.modal.purple .modal-body li::before {
  background-color: rgba(138,63,214,0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a3fd6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.modal.purple .btn-primary { background: linear-gradient(180deg, var(--purple-2), var(--purple)); box-shadow: 0 12px 28px rgba(138,63,214,0.34); }

/* ---------- Platform discovery page ---------- */
.pdetail { padding: 44px 0 72px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; font-weight: 500; margin-bottom: 26px; }
.back-link:hover { color: var(--blue); }
.pd-head { max-width: 760px; margin-bottom: 34px; }
.pd-tag { color: var(--blue); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.pd-head h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-bottom: 18px; color: var(--text); }
.pd-lead { color: var(--muted); font-size: 1.12rem; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.pd-shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); margin-bottom: 46px; }
.pd-shot img { width: 100%; display: block; }
.pd-shot-empty {
  aspect-ratio: 16 / 8; position: relative;
  background: linear-gradient(160deg, #eef2f8, #e2e8f2);
}
.pd-shot-empty::before {
  content: ""; position: absolute; top: 16px; left: 16px;
  width: 34px; height: 7px; border-radius: 4px; background: rgba(90,110,140,0.30);
  box-shadow: 14px 0 0 rgba(90,110,140,0.20), 28px 0 0 rgba(90,110,140,0.12);
}
.pd-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pd-feature { border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); padding: 26px 24px; box-shadow: 0 8px 24px rgba(20,40,80,0.05); }
.pd-feature .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--cyan-dim); background: rgba(10,159,216,0.10); color: var(--cyan); margin-bottom: 16px; }
.pd-feature .ico svg { width: 21px; height: 21px; }
.pd-feature h3 { font-size: 1.05rem; margin-bottom: 9px; color: var(--text); }
.pd-feature p { color: var(--muted); font-size: 0.9rem; }
.pdetail.purple .pd-tag { color: var(--purple); }
.pdetail.purple .pd-feature .ico { color: var(--purple); border-color: var(--purple-dim); background: rgba(138,63,214,0.10); }
@media (max-width: 760px) { .pd-features { grid-template-columns: 1fr; } }

/* richer discovery-page sections */
.pd-section { max-width: 860px; margin-bottom: 10px; padding: 26px 0; }
.pd-section.wide { max-width: none; }
.pd-kicker { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); margin-bottom: 16px; }
.pd-kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.pdetail.purple .pd-kicker::before { background: linear-gradient(90deg, var(--purple), var(--purple-2)); }
.pd-prose { color: var(--muted); font-size: 1.04rem; }
.pd-prose + .pd-prose { margin-top: 14px; }
.pd-prose strong { color: var(--text); }
.pd-why { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 6px; }
.pd-why-item { display: flex; gap: 12px; }
.pd-why-item svg { flex: none; width: 20px; height: 20px; color: var(--cyan); margin-top: 3px; }
.pd-why-item b { color: var(--text); font-weight: 600; }
.pd-why-item span { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 2px; }
.pd-callout { border: 1px solid var(--border); background: linear-gradient(180deg, rgba(10,159,216,0.06), var(--panel)); border-radius: var(--radius); padding: 28px 30px; }
.pd-callout h3 { color: var(--text); margin-bottom: 10px; font-size: 1.15rem; }
.pd-callout p { color: var(--muted); }
.pd-cta { text-align: center; padding: 46px 0 6px; border-top: 1px solid var(--border); margin-top: 40px; }
.pd-cta h2 { font-size: 1.7rem; color: var(--text); margin-bottom: 10px; }
.pd-cta p { color: var(--muted); margin-bottom: 22px; }
.pd-cta .pd-actions { justify-content: center; }
@media (max-width: 760px) { .pd-why { grid-template-columns: 1fr; } }

/* See / Govern / Prove cards + checklists + AI-governance callout */
.pd-word { color: var(--blue); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.76rem; margin-bottom: 8px; }
.pd-list { display: flex; flex-direction: column; gap: 11px; margin-top: 8px; }
.pd-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.9rem; }
.pd-list li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%;
  background-color: var(--cyan-dim);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a9fd8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 11px;
}
.pd-list li b { color: var(--text); font-weight: 600; }
.pd-aigov { border: 1px solid var(--cyan-dim); background: linear-gradient(180deg, rgba(10,159,216,0.08), var(--panel)); border-radius: var(--radius); padding: 32px 34px; }
.pd-aigov .pd-word { color: var(--cyan); }
.pd-aigov h2 { font-size: 1.4rem; color: var(--text); margin-bottom: 12px; }
.pd-aigov > p { color: var(--muted); margin-bottom: 16px; max-width: 82ch; }
.pd-aigov .pd-note { margin-top: 18px; color: var(--text); font-weight: 500; }

/* purple (Creative) variants */
.pdetail.purple .pd-word { color: var(--purple); }
.pdetail.purple .pd-why-item svg { color: var(--purple); }
.pdetail.purple .pd-list li::before {
  background-color: rgba(138,63,214,0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a3fd6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.pdetail.purple .pd-callout { border-color: var(--purple-dim); background: linear-gradient(180deg, rgba(138,63,214,0.07), var(--panel)); }
.pdetail.purple .pd-callout .pd-word { color: var(--purple); }

/* "Coming Soon" badge */
.badge-soon {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan); background: rgba(10,159,216,0.10);
  border: 1px solid var(--cyan-dim); border-radius: 999px; padding: 4px 11px;
  white-space: nowrap;
}
.badge-soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* ===================== Mobile refinements ===================== */
@media (max-width: 640px) {
  .container { padding: 0 18px; }

  /* header */
  .nav { height: 62px; gap: 10px; }
  .brand { gap: 9px; }
  .brand .logo-mark { width: 38px; height: 38px; }
  .brand .brand-name { font-size: 1rem; }
  .brand .brand-name small { letter-spacing: 0.16em; font-size: 0.55rem; }
  .nav-cta { gap: 8px; }
  .btn { padding: 12px 16px; }

  /* hero: block layout, no horizontal overflow, shorter */
  .hero { min-height: auto; padding: 52px 0 44px; background-position: 70% center; }
  .hero .container { display: block; }
  .hero-copy { max-width: 100%; }
  .hero-eyebrow { font-size: 0.74rem; letter-spacing: 0.22em; margin-bottom: 16px; }
  .hero h1 { font-size: 1.62rem; margin-bottom: 18px; }
  .hero p.lead { max-width: 100%; font-size: 1rem; margin-bottom: 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { justify-content: center; }

  /* sections + type */
  section.block { padding: 44px 0; }
  .eyebrow { font-size: 1.26rem; margin-bottom: 22px; }
  .section-intro { font-size: 0.98rem; margin-bottom: 28px; }
  .capband .container { padding-top: 6px; padding-bottom: 6px; }
  .capitem { padding: 16px 2px; }

  /* platform detail pages */
  .pdetail { padding: 30px 0 54px; }
  .pd-head h1 { font-size: 1.7rem; }
  .pd-lead { font-size: 1.02rem; }
  .pd-actions { flex-direction: column; align-items: stretch; }
  .pd-actions .btn { justify-content: center; }
  .pd-section { padding: 20px 0; }
  .pd-cta h2 { font-size: 1.4rem; }
  .pd-aigov { padding: 24px 22px; }

  /* footer */
  .footer-bottom { gap: 12px 22px; }
}

/* ===================== Contact form ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 46px; align-items: start; }
.contact-info h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: var(--text); margin: 12px 0 16px; }
.contact-info p { color: var(--muted); font-size: 1.04rem; max-width: 34ch; margin-bottom: 24px; }
.contact-info .ci-row { display: flex; gap: 11px; align-items: center; color: var(--muted); margin-bottom: 12px; font-size: 0.96rem; }
.contact-info .ci-row svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.contact-form { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 32px; box-shadow: 0 10px 30px rgba(20,40,80,0.05); }
.cf-field { margin-bottom: 16px; }
.cf-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--text); }
.cf-field input, .cf-field select, .cf-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border-2); border-radius: 10px; background: #fff; font-family: inherit; font-size: 0.96rem; color: var(--text); }
.cf-field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,104,214,0.12); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.contact-note { color: var(--muted-2); font-size: 0.82rem; margin-top: 12px; text-align: center; }
.form-alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; font-size: 0.95rem; }
.form-alert.ok { background: #e6f6ec; color: #0c7a3a; border: 1px solid #b7e3c6; }
.form-alert.err { background: #fdeaea; color: #b32b2b; border: 1px solid #f2c2c2; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; } }

/* ===================== News & Insights (blog) ===================== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 26px; margin-top: 20px; }
.news-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgba(20,40,80,0.05); transition: transform .18s, box-shadow .18s, border-color .18s; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(20,40,80,0.10); border-color: var(--border-2); }
.news-shot { aspect-ratio: 16 / 9; background: var(--panel-2); overflow: hidden; }
.news-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-shot-empty { display: grid; place-items: center; color: var(--muted-2); }
.news-shot-empty svg { width: 46px; height: 46px; }
.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-meta { color: var(--muted-2); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 9px; }
.news-body h3 { font-size: 1.18rem; color: var(--text); margin-bottom: 9px; line-height: 1.3; }
.news-body p { color: var(--muted); font-size: 0.94rem; margin-bottom: 16px; flex: 1; }
.news-more { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-weight: 600; font-size: 0.88rem; }
.news-more svg { width: 16px; height: 16px; }

.post-article { max-width: 760px; }
.post-meta { color: var(--muted-2); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 14px; }
.post-body { color: var(--text); font-size: 1.06rem; line-height: 1.72; }
.post-body > *:first-child { margin-top: 0; }
.post-body h2 { font-size: 1.5rem; color: var(--text); margin: 1.4em 0 0.5em; letter-spacing: -0.01em; }
.post-body h3 { font-size: 1.2rem; color: var(--text); margin: 1.3em 0 0.4em; }
.post-body p { color: var(--muted); margin: 0 0 1.1em; }
.post-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.post-body ul, .post-body ol { color: var(--muted); margin: 0 0 1.1em; padding-left: 1.4em; }
.post-body li { margin-bottom: 0.5em; }
.post-body img { max-width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--border); margin: 1.2em 0; }
.post-body blockquote { border-left: 3px solid var(--blue); margin: 1.4em 0; padding: 4px 0 4px 20px; color: var(--text); font-size: 1.1rem; }
.post-body code { background: var(--panel-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; font-size: 0.9em; }
.post-body hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
/* buttons inserted into body content (platform detail + blog) */
.pdetail p > .btn, .post-body .btn { margin: 6px 10px 6px 0; text-decoration: none; }
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; gap: 20px; } .post-body { font-size: 1.01rem; } }

/* ===================== "Coming Soon" frosted overlay ===================== */
/* Tied to a platform's status = Coming Soon. Frosts whatever screenshot is there. */
.spot-shot.is-soon, .cf-media.is-soon, .pd-shot.is-soon, .modal-media.is-soon { position: relative; }
.soon-overlay {
  position: absolute; inset: 0; z-index: 5; border-radius: inherit;
  pointer-events: none; /* let clicks reach the zoomable screenshot underneath */
  display: grid; place-content: center; justify-items: center; gap: 6px;
  text-align: center; padding: 20px;
  /* very light frosted veil — screenshot shows through clearly */
  background: rgba(240,245,251,0.05);
  -webkit-backdrop-filter: blur(0.8px) saturate(101%);
  backdrop-filter: blur(0.8px) saturate(101%);
}
/* "COMING SOON" watermark text */
.soon-overlay .soon-pill {
  display: inline-block; background: none; border: 0; padding: 0; box-shadow: none;
  font-weight: 800; font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.60);
  text-shadow: 0 2px 22px rgba(8,16,32,0.45), 0 1px 3px rgba(8,16,32,0.4);
}
.soon-overlay .soon-pill::before { display: none; }
.soon-overlay small {
  color: rgba(255,255,255,0.72); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(8,16,32,0.55);
}
@keyframes soonPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
/* Purple accent for creative platforms */
.spot-card.purple .soon-overlay .soon-pill,
.creative-feature .soon-overlay .soon-pill,
.modal.purple .soon-overlay .soon-pill { text-shadow: 0 2px 24px rgba(60,10,90,0.5), 0 1px 3px rgba(8,16,32,0.4); }
@media (prefers-reduced-motion: reduce) { .soon-overlay .soon-pill::before { animation: none; } }
/* smaller watermark on phones so it fits the card image */
@media (max-width: 560px) {
  .soon-overlay { gap: 4px; padding: 12px; }
  .soon-overlay .soon-pill { font-size: 1.15rem; letter-spacing: 0.1em; }
  .soon-overlay small { font-size: 0.62rem; letter-spacing: 0.05em; }
}

/* ===================== Image lightbox (click to zoom) ===================== */
img.zoomable { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px;
  background: rgba(8,14,26,0.88); cursor: zoom-out;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.2s ease;
}
.lightbox.on { opacity: 1; }
.lightbox img {
  max-width: 95vw; max-height: 92vh; object-fit: contain;
  border-radius: 10px; box-shadow: 0 30px 90px rgba(0,0,0,0.55);
  transform: scale(0.97); transition: transform 0.2s ease;
}
.lightbox.on img { transform: scale(1); }
.lightbox .lb-hint {
  position: fixed; bottom: 22px; left: 0; right: 0; text-align: center;
  color: rgba(255,255,255,0.6); font-size: 0.82rem; letter-spacing: 0.03em; pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .lightbox, .lightbox img { transition: none; } }
