/* ============================================================
   4T4 — Additions for the repositioned site
   New homepage components + secondary-page layouts.
   Loads AFTER proposal.css. Reuses the same brand tokens.
   ============================================================ */

/* ---------- section "see more" link ---------- */
.morelink {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; color: var(--brand-blue-deep);
  text-decoration: none; border-bottom: 0;
  padding: 11px 2px; transition: gap var(--dur-2) var(--ease-out), color var(--dur-1);
}

/* ============================================================
   MODALS — contact form + auth (sign up / log in)
   Injected by modals.js, shared across all pages.
   ============================================================ */
.m-scrim {
  position: fixed; inset: 0; z-index: 1000; display: none;
  background: rgba(4,20,38,0.62); backdrop-filter: blur(5px);
  align-items: flex-start; justify-content: center;
  padding: 56px 20px; overflow-y: auto;
}
.m-scrim.open { display: flex; }
.m-dialog {
  position: relative; width: 100%; max-width: 540px; margin: auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 40px 100px -24px rgba(4,20,38,0.5); overflow: hidden;
  animation: m-rise var(--dur-3) var(--ease-out);
}
.m-dialog.auth { max-width: 440px; }
@keyframes m-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.m-head { padding: 30px 34px 0; }
.m-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-blue-deep); font-weight: 700; }
.m-title { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; color: var(--ink-1); margin: 12px 0 6px; line-height: 1.1; }
.m-sub { font-size: 15px; line-height: 1.5; color: var(--ink-3); margin: 0; }
.m-sub:empty { display: none; }
.m-close {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--paper-2); color: var(--ink-2);
  font-size: 19px; line-height: 1; cursor: pointer; display: grid; place-items: center;
  transition: background var(--dur-1), color var(--dur-1);
}
.m-close:hover { background: var(--ink-1); color: #fff; }
.m-body { padding: 22px 34px 32px; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.m-field { display: flex; flex-direction: column; gap: 7px; }
.m-field.full { grid-column: 1 / -1; }
.m-field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.m-field input, .m-field select, .m-field textarea {
  font-family: var(--font-sans); font-size: 15px; color: var(--ink-1);
  background: var(--paper-2); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 12px 14px; width: 100%; transition: border-color var(--dur-1), box-shadow var(--dur-1);
}
.m-field textarea { min-height: 84px; resize: vertical; }
.m-field input:focus, .m-field select:focus, .m-field textarea:focus {
  outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(76,174,226,0.18);
}
.m-actions { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.m-actions .btn { width: 100%; justify-content: center; }
.m-note { font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); text-align: center; line-height: 1.5; }
.m-alt { font-size: 14px; color: var(--ink-3); text-align: center; margin-top: 4px; }
.m-alt button { background: none; border: 0; color: var(--brand-blue-deep); font-weight: 700; cursor: pointer; font-size: 14px; padding: 0; font-family: inherit; }
.m-alt button:hover { text-decoration: underline; }
.m-error {
  display: none; margin: 0 0 14px; padding: 11px 13px;
  border: 1px solid rgba(190, 43, 43, 0.22); border-radius: 10px;
  background: rgba(190, 43, 43, 0.08); color: #8F1F1F;
  font-size: 13.5px; line-height: 1.42;
}
.m-error.show { display: block; }
.m-dialog.busy .m-form, .m-dialog.busy #m-google-btn { opacity: 0.68; }
.m-dialog.busy button, .m-dialog.busy input { cursor: wait; }
.m-success {
  display: none; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 26px 10px 12px;
}
.m-success .tick { width: 56px; height: 56px; border-radius: 50%; background: rgba(31,138,91,0.12); border: 1px solid rgba(31,138,91,0.4); color: #1F8A5B; display: grid; place-items: center; font-size: 28px; }
.m-success .st { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--ink-1); }
.m-success .sd { font-size: 15px; color: var(--ink-3); line-height: 1.5; max-width: 36ch; }
.m-dialog.done .m-form, .m-dialog.done .m-alt, .m-dialog.done .m-sub, .m-dialog.done #m-google-btn, .m-dialog.done .m-or, .m-dialog.done .m-error { display: none; }
.m-dialog.done .m-success { display: flex; }
/* nav auth buttons */
.nav .auth-actions { display: flex; align-items: center; gap: 6px; }
.btn.nav-ghost {
  background: transparent; color: rgba(255,255,255,0.82); border: 0; padding: 9px 12px;
  font-size: 14px; font-weight: 600;
}
.btn.nav-ghost:hover { color: #fff; background: rgba(255,255,255,0.08); }
/* landing-v4 nav has a light background, so ghost buttons must be dark */
.nav .btn.nav-ghost { color: var(--ink-1); }
.nav .btn.nav-ghost:hover { color: var(--brand-navy); background: rgba(4,20,38,0.04); }
@media (max-width: 560px) {
  .m-grid { grid-template-columns: 1fr; }
  .m-body { padding: 20px 22px 26px; }
  .m-head { padding: 26px 22px 0; }
}

/* ---------- Mobile nav (hamburger + drawer) ---------- */
.mnav-toggle {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--line);
  border-radius: 8px; padding: 0; cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.mnav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--ink-1);
  border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.mnav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mnav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mnav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mnav-drawer {
  position: fixed; inset: 56px 0 0 0;
  background: #fff;
  z-index: 70;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: transform .18s ease, opacity .18s ease;
  border-top: 1px solid var(--line);
  overflow-y: auto;
}
.mnav-drawer[aria-hidden="false"] {
  transform: translateY(0); opacity: 1; pointer-events: auto;
}
.mnav-inner { padding: 18px 22px 28px; display: flex; flex-direction: column; gap: 18px; }
.mnav-links { display: flex; flex-direction: column; }
.mnav-links a {
  display: block; padding: 14px 4px;
  font-size: 17px; font-weight: 600; color: var(--ink-1);
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.mnav-auth { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.mnav-auth .btn { width: 100%; justify-content: center; }
.mnav-auth .btn.nav-ghost {
  color: var(--ink-1); border: 1px solid var(--line); background: transparent;
}
.mnav-auth .btn.nav-ghost:hover { background: var(--paper-2); }
body.mnav-open { overflow: hidden; }

@media (max-width: 860px) {
  .mnav-toggle { display: inline-flex; }
  .nav .auth-actions { display: none; }
  .nav .spacer { display: none; }
}
@media (min-width: 861px) {
  .mnav-drawer { display: none; }
}

.morelink:hover { color: var(--brand-navy); gap: 14px; }
.morelink .arr { font-family: var(--font-mono); }
.section.dark .morelink { color: var(--brand-blue); }
.section.dark .morelink:hover { color: #fff; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sec-head .sh-l { flex: 1; min-width: 280px; }

/* ============================================================
   ECONOMICS — the promise (3 plain-language points)
   ============================================================ */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.promise .pr {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 26px; box-shadow: var(--shadow-1);
}
.promise .pr .pn {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em;
  color: var(--brand-blue-deep); font-weight: 700;
}
.promise .pr .pt {
  font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.18;
  letter-spacing: -0.015em; color: var(--ink-1); margin: 14px 0 8px; text-wrap: balance;
}
.promise .pr .pd { font-size: 15px; line-height: 1.5; color: var(--ink-3); margin: 0; }

/* fragility chips under the core problem */
.fragility { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.fragility .fc {
  font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line-strong); color: var(--ink-2);
}
.fragility .fc .x { color: var(--danger); font-family: var(--font-mono); margin-right: 7px; }

/* ============================================================
   BACKED BY PEOPLE WHO MATTER
   ============================================================ */
.backers { margin-top: 14px; }
.backer-group { margin-top: 40px; }
.backer-group:first-child { margin-top: 28px; }
.backer-group .bg-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-blue-deep); font-weight: 700; margin: 0 0 16px;
  display: flex; align-items: center; gap: 10px;
}
.backer-group .bg-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.backer-row { display: grid; gap: 14px; }
.backer-row.cols-4 { grid-template-columns: repeat(4, 1fr); }
.backer-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.logo-slot {
  height: 88px; border: 1px dashed var(--line-strong); border-radius: 12px;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 9px,
    rgba(76,174,226,0.06) 9px, rgba(76,174,226,0.06) 18px);
  display: grid; place-items: center; text-align: center; padding: 12px;
}
.logo-slot .ls-t {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-4); line-height: 1.4;
}
.backers-note {
  font-size: 13px; color: var(--ink-4); font-family: var(--font-mono);
  margin-top: 30px; line-height: 1.6; max-width: 70ch;
}

/* ---- real backer logo strip (dark) ---- */
.backers-dark { background: var(--brand-navy); }
.backers-dark .backers-note { color: rgba(255,255,255,0.4); }

/* ---- real backer logo strip (light) ---- */
.backers-light { background: var(--paper-2); }
.backers-light .backers-note { color: var(--ink-4); }
.backers-light .logo-strip img {
  background: transparent; padding: 0;
  border-radius: 0; opacity: 1;
  box-shadow: none;
}
.backers-light .logo-strip img:hover { opacity: 1; transform: translateY(-2px); }
.logo-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 30px 56px; margin: 40px auto 0; max-width: 1020px;
}
.logo-strip img {
  height: 48px; width: auto; display: block;
  opacity: 0.82; transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.logo-strip img:hover { opacity: 1; transform: translateY(-2px); }

/* Infinite scrolling marquee */
.logo-marquee {
  display: block; overflow: hidden; position: relative;
  width: 100%; max-width: 1020px; margin: 40px auto 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee-track {
  display: flex; align-items: center; gap: 56px;
  width: max-content;
  animation: logo-marquee 36s linear infinite;
}
.logo-marquee-track img {
  flex: 0 0 auto;
  width: 150px; height: auto; max-height: 56px; display: block;
  object-fit: contain;
  opacity: 0.82; transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.logo-marquee-track img:hover { opacity: 1; transform: translateY(-2px); }
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
@keyframes logo-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; }
}
@media (max-width: 700px) {
  .logo-strip { gap: 26px 40px; }
  .logo-strip img { height: 38px; }
  .logo-marquee-track img { width: 120px; max-height: 46px; }
}

/* ============================================================
   SECONDARY PAGE HEADER (lighter than the homepage hero)
   ============================================================ */
.subhead {
  background: var(--brand-navy); color: #fff; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--brand-navy-3);
}
.subhead::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 42%;
  background-image:
    linear-gradient(90deg, var(--brand-navy) 0%, rgba(4,20,38,0.2) 100%),
    repeating-linear-gradient(-45deg, transparent 0 13px, rgba(76,174,226,0.10) 13px 14px);
  pointer-events: none;
}
.subhead-in {
  position: relative; z-index: 1; max-width: 1180px; margin: 0 auto;
  padding: 70px 32px 60px;
}
.subhead .overline { color: var(--brand-blue); }
.subhead h1 {
  font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -0.03em;
  margin: 16px 0 0; max-width: 20ch; text-wrap: balance;
}
.subhead .sub {
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: rgba(255,255,255,0.78);
  max-width: 620px; margin: 20px 0 0; text-wrap: pretty;
}
.subhead .crumbs {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5); margin-bottom: 4px;
}
.subhead .crumbs a { color: var(--brand-blue); border-bottom: 0; }
.subhead .crumbs a:hover { color: #fff; }

/* ============================================================
   USE CASES PAGE — detailed cards
   ============================================================ */
.uc-page { display: flex; flex-direction: column; gap: 20px; margin-top: 8px; }
.ucp {
  border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
  box-shadow: var(--shadow-1); overflow: hidden;
}
.ucp-head { padding: 30px 34px 24px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.ucp-ix {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--brand-blue-deep); background: var(--brand-blue-wash);
  border-radius: 8px; padding: 9px 12px; white-space: nowrap;
}
.ucp-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; margin: 0 0 4px; color: var(--ink-1); }
.ucp-seg { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); }
.ucp-body { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.ucp-cell { background: var(--paper); padding: 24px 34px; }
.ucp-cell.full { grid-column: 1 / -1; }
.ucp-cell .pl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 12px; font-weight: 700; }
.ucp-cell.pain .pl { color: #C8731F; }
.ucp-cell.decide .pl { color: var(--brand-blue-deep); }
.ucp-cell.today .pl { color: var(--ink-4); }
.ucp-cell.help .pl { color: var(--ink-2); }
.ucp-cell.impact .pl { color: var(--ok); }
.ucp-cell p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); margin: 0; max-width: 62ch; }
.ucp-cell ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 30px; }
.ucp-cell.help ul, .ucp-cell.impact ul { columns: 1; }
.ucp-cell li { font-size: 14.5px; color: var(--ink-2); padding: 6px 0 6px 20px; position: relative; line-height: 1.4; break-inside: avoid; }
.ucp-cell li::before { content: "›"; position: absolute; left: 0; top: 6px; color: var(--brand-blue-deep); font-family: var(--font-mono); }
.ucp-cell.impact { background: var(--brand-blue-wash); }
.ucp-cell.impact li::before { content: "→"; color: var(--ok); }

/* ============================================================
   TECHNOLOGY PAGE — architecture diagram
   ============================================================ */
.arch-diagram { display: flex; flex-direction: column; gap: 0; margin-top: 16px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); }
.arch-band { padding: 22px 28px; display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); }
.arch-band:last-child { border-bottom: 0; }
.arch-band.hl { background: rgba(76,174,226,0.1); }
.arch-band .ab-l { display: flex; align-items: center; gap: 12px; }
.arch-band .ab-ix { font-family: var(--font-mono); font-size: 12px; color: var(--brand-blue); }
.arch-band .ab-t { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; letter-spacing: -0.01em; line-height: 1.15; }
.arch-band .ab-d { font-size: 14.5px; color: rgba(255,255,255,0.68); line-height: 1.5; }
.arch-band .ab-d strong { color: var(--brand-blue-soft); font-weight: 700; }

.tech-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 16px; }
.tech-card { border: 1px solid var(--line); border-radius: 14px; padding: 28px 30px; background: var(--paper); box-shadow: var(--shadow-1); }
.tech-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.015em; margin: 0 0 12px; color: var(--ink-1); }
.tech-card p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0 0 10px; }
.tech-card ul { list-style: none; padding: 0; margin: 12px 0 0; }
.tech-card li { font-size: 14.5px; color: var(--ink-2); padding: 7px 0 7px 22px; position: relative; line-height: 1.4; }
.tech-card li::before { content: "›"; position: absolute; left: 0; top: 7px; color: var(--brand-blue-deep); font-family: var(--font-mono); }

.moat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.moat .mt { border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 22px 22px; background: rgba(255,255,255,0.03); }
.moat .mt .mn { font-family: var(--font-mono); font-size: 12px; color: var(--brand-blue); }
.moat .mt .mh { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; letter-spacing: -0.01em; margin: 10px 0 6px; }
.moat .mt .md { font-size: 13.5px; color: rgba(255,255,255,0.62); line-height: 1.45; }

/* ============================================================
   INTEGRATIONS PAGE
   ============================================================ */
.int-cat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.int-cat .ic { border: 1px solid var(--line); border-radius: 12px; padding: 24px 24px; background: var(--paper); box-shadow: var(--shadow-1); }
.int-cat .ic .badge {
  width: 46px; height: 46px; border-radius: 10px; background: var(--brand-blue-wash);
  display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 13px;
  color: var(--brand-blue-deep); margin-bottom: 16px;
}
.int-cat .ic .nm { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink-1); letter-spacing: -0.01em; margin-bottom: 6px; }
.int-cat .ic .dd { font-size: 14px; color: var(--ink-3); line-height: 1.5; }
.steps-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 16px; border-top: 2px solid var(--line); }
.steps-row .st { padding: 22px 18px 24px; border-right: 1px solid var(--line); position: relative; }
.steps-row .st:last-child { border-right: 0; }
.steps-row .st .sn { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--brand-blue-deep); display: block; margin-bottom: 10px; }
.steps-row .st h4 { font-family: var(--font-sans); font-weight: 700; font-size: 15px; line-height: 1.3; margin: 0 0 6px; color: var(--ink-1); }
.steps-row .st p { font-size: 13px; color: var(--ink-3); margin: 0; line-height: 1.45; }

/* ============================================================
   PRICING PAGE
   ============================================================ */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 14px; align-items: stretch; }
.tier { border: 1px solid var(--line); border-radius: 16px; padding: 32px 30px; background: var(--paper); display: flex; flex-direction: column; }
.tier.feature { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; box-shadow: var(--shadow-3); }
.tier .tn { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-blue-deep); }
.tier.feature .tn { color: var(--brand-blue); }
.tier .th { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; margin: 12px 0 6px; color: var(--ink-1); }
.tier.feature .th { color: #fff; }
.tier .tsub { font-size: 14px; color: var(--ink-3); margin: 0 0 18px; line-height: 1.45; }
.tier.feature .tsub { color: rgba(255,255,255,0.6); }
.tprice { display: flex; align-items: baseline; gap: 7px; margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tier.feature .tprice { border-color: rgba(255,255,255,0.12); }
.tprice .from { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-4); }
.tier.feature .tprice .from { color: rgba(255,255,255,0.5); }
.tprice .amt { font-family: var(--font-display); font-weight: 700; font-size: 38px; letter-spacing: -0.02em; color: var(--ink-1); line-height: 1; }
.tier.feature .tprice .amt { color: #fff; }
.tprice .per { font-family: var(--font-mono); font-size: 13px; color: var(--ink-4); }
.tier.feature .tprice .per { color: rgba(255,255,255,0.55); }
.tier .incl { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.tier .incl li { font-size: 14.5px; padding: 10px 0 10px 26px; position: relative; color: var(--ink-2); border-top: 1px solid var(--line); line-height: 1.4; }
.tier.feature .incl li { color: rgba(255,255,255,0.82); border-color: rgba(255,255,255,0.1); }
.tier .incl li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 10px; border: 2px solid var(--brand-blue); border-top: 0; border-right: 0; transform: rotate(-45deg); }

.drivers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.drivers .dr { border: 1px solid var(--line); border-radius: 12px; padding: 22px 22px; background: var(--paper); }
.drivers .dr .dn { font-family: var(--font-mono); font-size: 12px; color: var(--brand-blue-deep); font-weight: 700; }
.drivers .dr .dt { font-size: 15.5px; font-weight: 700; color: var(--ink-1); margin: 10px 0 0; line-height: 1.35; }

/* ============================================================
   STACK SCHEMA — "4T4 sits above your stack"
   ============================================================ */
.stack-schema { margin-top: 18px; display: flex; flex-direction: column; gap: 0; }
.stack-tier { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 20px 22px; box-shadow: var(--shadow-1); }
.stack-tier.top { border-style: dashed; background: transparent; box-shadow: none; }
.stack-tier .stl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 12px; }
.stack-row { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-chip { font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--line-strong); border-radius: 8px; padding: 9px 14px; }
.stack-4t4 { border: 0; border-radius: 14px; background: var(--brand-navy); color: #fff; padding: 22px 26px; box-shadow: var(--shadow-3); display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.stack-4t4 .nm { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.015em; display: flex; align-items: center; gap: 12px; }
.stack-4t4 .nm img { height: 22px; }
.stack-4t4 .verbs { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.stack-4t4 .verb { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--brand-blue); border: 1px solid rgba(76,174,226,0.4); border-radius: 999px; padding: 6px 12px; }
.stack-arrow { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-4); }
.stack-arrow .ar { color: var(--brand-blue-deep); font-weight: 700; }

/* ============================================================
   USE-CASE FLOW CHAIN — Pain → Decisions → 4T4 → Impact
   ============================================================ */
.uflow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 0; margin-top: 4px; }
.uflow .uf { padding: 18px 20px; }
.uflow .uf .ufl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; display: block; margin-bottom: 9px; }
.uflow .uf.pain .ufl { color: #C8731F; }
.uflow .uf.decide .ufl { color: var(--brand-blue-deep); }
.uflow .uf.act .ufl { color: var(--ink-2); }
.uflow .uf.impact .ufl { color: var(--ok); }
.uflow .uf p { font-size: 14px; line-height: 1.4; color: var(--ink-2); margin: 0; }
.uflow .uf.act { background: var(--brand-navy); border-radius: 12px; }
.uflow .uf.act .ufl { color: var(--brand-blue); }
.uflow .uf.act p { color: rgba(255,255,255,0.88); }
.uflow .uarr { display: flex; align-items: center; justify-content: center; color: var(--brand-blue-deep); font-family: var(--font-mono); font-size: 18px; padding: 0 6px; }

/* ---- use-case impact tag + mini stack diagram ---- */
.impact-tag {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 20px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  color: #1F8A5B; background: rgba(31,138,91,0.08); border: 1px solid rgba(31,138,91,0.28);
  border-radius: 999px; padding: 9px 15px;
}
.impact-tag .ar { font-size: 14px; }
.ftext .seglab {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand-blue-deep);
}
.uc-mini { width: 100%; display: flex; flex-direction: column; gap: 12px; padding: 30px; }
.uc-mini .box {
  border-radius: 12px; padding: 18px 20px; border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
}
.uc-mini .box .bt { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #fff; }
.uc-mini .box .bd { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 3px; }
.uc-mini .box.tms { border-style: dashed; }
.uc-mini .box.is4t4 { background: rgba(76,174,226,0.14); border-color: var(--brand-blue-soft); }
.uc-mini .box.is4t4 .bt { color: var(--brand-blue-soft); }
.uc-mini .lnk { text-align: center; font-family: var(--font-mono); font-size: 16px; color: var(--brand-blue); }

/* ============================================================
   TECHNOLOGY — plain-language visual system
   ============================================================ */
/* 5-step loop */
.techflow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 22px; }
.techflow .tstep { position: relative; padding: 26px 20px 24px; text-align: center; }
.techflow .tstep:not(:last-child)::after {
  content: "→"; position: absolute; right: -11px; top: 44px; z-index: 2;
  font-family: var(--font-mono); font-size: 20px; color: var(--brand-blue);
}
.techflow .ic {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px;
  display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 20px;
  background: rgba(76,174,226,0.12); border: 1px solid var(--brand-blue-soft); color: var(--brand-blue-soft);
}
.techflow .tstep.you .ic { background: var(--brand-blue); border-color: var(--brand-blue); color: var(--brand-navy); }
.techflow .tt { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; letter-spacing: -0.01em; }
.techflow .td { font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,0.62); margin-top: 6px; }
.techflow .tk { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-blue); margin-bottom: 4px; }
.techloop-note {
  margin-top: 18px; text-align: center; font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: 0.04em; color: rgba(255,255,255,0.55);
}
.techloop-note b { color: var(--brand-blue); }

/* inputs → engine "brain" */
.brain-grid { display: grid; grid-template-columns: 1fr auto 1.1fr; gap: 28px; align-items: center; margin-top: 18px; }
.brain-col .bcl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-blue-deep); font-weight: 700; margin-bottom: 14px; }
.brain-inputs { display: flex; flex-direction: column; gap: 10px; }
.brain-inputs .bi { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; padding: 13px 16px; box-shadow: var(--shadow-1); }
.brain-inputs .bi .bg { width: 38px; height: 30px; border-radius: 7px; background: var(--brand-blue-wash); display: grid; place-items: center; font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: var(--brand-blue-deep); flex-shrink: 0; }
.brain-inputs .bi .bx { font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.brain-arrow { font-family: var(--font-mono); font-size: 28px; color: var(--brand-blue-deep); text-align: center; }
.brain-engine { background: var(--brand-navy); border-radius: 16px; padding: 28px 28px; box-shadow: var(--shadow-3); }
.brain-engine .be-t { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: #fff; letter-spacing: -0.015em; margin-bottom: 14px; }
.brain-engine ul { list-style: none; margin: 0; padding: 0; }
.brain-engine li { font-size: 14.5px; color: rgba(255,255,255,0.82); padding: 9px 0 9px 24px; position: relative; line-height: 1.4; border-top: 1px solid rgba(255,255,255,0.1); }
.brain-engine li:first-child { border-top: 0; }
.brain-engine li::before { content: "›"; position: absolute; left: 4px; color: var(--brand-blue); font-family: var(--font-mono); }
.brain-engine li b { color: #fff; }

/* chatbot vs 4T4 comparison */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.vs-card { border-radius: 16px; padding: 28px 30px; border: 1px solid var(--line); background: var(--paper); }
.vs-card.no { background: var(--paper-2); }
.vs-card.yes { background: var(--brand-navy); border-color: var(--brand-navy); }
.vs-card .vh { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; margin-bottom: 16px; }
.vs-card.no .vh { color: var(--ink-2); }
.vs-card.yes .vh { color: #fff; }
.vs-card .mk { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 15px; flex-shrink: 0; }
.vs-card.no .mk { background: rgba(180,90,40,0.14); color: #C8731F; }
.vs-card.yes .mk { background: var(--brand-blue); color: var(--brand-navy); }
.vs-card ul { list-style: none; margin: 0; padding: 0; }
.vs-card li { font-size: 14.5px; line-height: 1.4; padding: 9px 0 9px 22px; position: relative; }
.vs-card.no li { color: var(--ink-3); border-top: 1px solid var(--line); }
.vs-card.yes li { color: rgba(255,255,255,0.84); border-top: 1px solid rgba(255,255,255,0.1); }
.vs-card li:first-of-type { border-top: 0; }
.vs-card.no li::before { content: "×"; position: absolute; left: 2px; color: #C8731F; font-family: var(--font-mono); }
.vs-card.yes li::before { content: "✓"; position: absolute; left: 2px; color: var(--brand-blue); font-family: var(--font-mono); }

/* under-the-hood chips (preserve technical depth, compact) */
.uh { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.uh .uhc { font-size: 13px; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 15px; max-width: 290px; }
.uh .uhc b { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-blue-deep); display: block; margin-bottom: 3px; }

@media (max-width: 900px) {
  .techflow { grid-template-columns: 1fr 1fr; }
  .techflow .tstep::after { display: none; }
  .brain-grid { grid-template-columns: 1fr; }
  .brain-arrow { transform: rotate(90deg); }
  .vs { grid-template-columns: 1fr; }
}

/* ---- screenshot gallery (use cases / proof) ---- */
.shot-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.shot-gallery figure { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #0a1a2e; box-shadow: var(--shadow-2); }
.shot-gallery img { width: 100%; display: block; height: 230px; object-fit: cover; object-position: top; }
.shot-gallery figcaption { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em; color: var(--brand-blue-soft); background: #0a1a2e; padding: 13px 15px; border-top: 1px solid rgba(255,255,255,0.08); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .ucp-body { grid-template-columns: 1fr; }
  .arch-band { grid-template-columns: 1fr; gap: 8px; }
  .steps-row { grid-template-columns: repeat(2, 1fr); }
  .steps-row .st { border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .promise, .backer-row.cols-4, .backer-row.cols-3, .int-cat, .tech-cols, .moat, .tier-grid, .drivers { grid-template-columns: 1fr; }
  .ucp-cell ul { columns: 1; }
  .ucp-head { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .uflow { grid-template-columns: 1fr; }
  .uflow .uarr { transform: rotate(90deg); padding: 6px 0; }
  .stack-4t4 .verbs { margin-left: 0; }
  .shot-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .backer-row.cols-4, .backer-row.cols-3 { grid-template-columns: 1fr 1fr; }
}

/* ---- GDPR consent checkboxes in modals ---- */
.m-consent{margin-top:14px;display:flex;flex-direction:column;gap:10px}
.m-check{display:flex;gap:10px;align-items:flex-start;font-size:12.5px;line-height:1.5;color:#41546b;cursor:pointer}
.m-check input{margin-top:2px;width:16px;height:16px;flex:0 0 auto;accent-color:#0A1628}
.m-check a{color:#2E7FB8;text-decoration:underline}
.m-check .req{color:#c0392b;font-weight:700}
.m-consent-err{margin-top:2px}
