/* ==========================================================================
   FILE: css/sections.css
   Pipeline · Compare · Features · Assistant · Proof · Pricing · Footer
========================================================================== */

/* =========================================================================
   PIPELINE — "One workspace. Every decision."
========================================================================= */

.pipeline{ padding-block:var(--s6); position:relative; }

/* echoes the hero's bottom-right streak handoff — the light doesn't just
   stop at the hero panel's edge, it bleeds faintly into the top of the
   next section, at the same x-position the streak exits.                */
.pipeline::before{
  content:"";
  position:absolute;
  top:-36px; left:58%;
  width:400px; height:100px;
  background:radial-gradient(ellipse at 50% 0%,rgba(178,75,240,.22),rgba(59,130,246,.07) 50%,transparent 72%);
  filter:blur(16px);
  pointer-events:none;
  z-index:0;
}

.pipeline-box{
  position:relative;
  z-index:1;
  padding:var(--s5) var(--s4);
  border-radius:var(--r-xl);
  border:1px solid var(--line);
  background:var(--grad-card);
  text-align:center;
}

.pipeline-box h2{
  font-size:clamp(22px,2.4vw,30px);
  font-weight:700;
  letter-spacing:-.025em;
  margin-bottom:var(--s5);
}

.pipeline-rail{
  position:relative;
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:var(--s2);
}

.pipeline-rail::before{
  content:"";
  position:absolute;
  top:19px;
  left:7%;
  right:7%;
  height:1.5px;
  background:linear-gradient(90deg,#3B82F6,#5B4FE6 45%,#8B3BF1 75%,#C56BF5);
  opacity:.5;
}

.pipe-node{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}

.pipe-node i{
  display:grid;
  place-items:center;
  width:38px; height:38px;
  border-radius:50%;
  border:1px solid var(--line-strong);
  background:var(--bg-raise);
  color:var(--blue-soft);
  transition:transform var(--mid) var(--ease),border-color var(--mid),color var(--mid);
}
.pipe-node:nth-child(n+4) i{ color:var(--violet-soft); }
.pipe-node:hover i{ transform:translateY(-3px) scale(1.06); border-color:var(--violet); }
.pipe-node svg{ width:17px; height:17px; }
.pipe-node span{ font-size:12px; color:var(--text-2); }

/* Custom neon PNG icons (shared: pipeline rail + connected-hub spokes).
   These are pre-lit artwork, not currentColor glyphs, so the palette rules
   (--blue-soft / --violet-soft and the hover colour change) have no effect on
   them — hence the brightness bump on hover so they still react like the SVG
   nodes do. Sizes are set larger than the SVG they replace because the source
   art only fills ~75% of its canvas: 26px here renders a ~19px stroke against
   the 17px SVG icons, 18px in a spoke renders ~13px against the 13px SVGs. */
.neon-ico{
  width:26px;
  height:26px;
  object-fit:contain;
  display:block;
  transition:filter var(--mid) var(--ease);
}
.pipe-node:hover .neon-ico{ filter:brightness(1.25); }

.pipeline-foot{ margin-top:var(--s4); font-size:var(--t-body); color:var(--text-3); }

/* =========================================================================
   COMPARE — scattered tools VS connected hub
========================================================================= */

.compare-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--s3);
  align-items:stretch;
}

.compare-card{
  position:relative;
  padding:var(--s4);
  border-radius:var(--r-xl);
  border:1px solid var(--line);
  background:var(--grad-card);
  display:flex;
  flex-direction:column;
}

.compare-card h3{
  font-size:19px;
  font-weight:700;
  letter-spacing:-.02em;
  text-align:center;
  line-height:1.35;
  margin-bottom:var(--s4);
  min-height:2.7em;
  display:flex;
  align-items:center;
  justify-content:center;
}

.compare-stage{
  position:relative;
  flex:1;
  min-height:250px;
  display:grid;
  place-items:center;
}

.compare-svg{
  position:absolute;
  inset:0;
  width:100%; height:100%;
  overflow:visible;
}
.compare-svg .dash-link{
  stroke:rgba(255,255,255,.16);
  stroke-width:1;
  stroke-dasharray:3 5;
  fill:none;
}
.compare-svg .live-link{
  stroke:url(#linkGrad);
  stroke-width:1.4;
  fill:none;
}

/* -- scattered tool tiles -- */

.tool-scatter{
  position:relative;
  width:100%;
  height:100%;
  min-height:250px;
}

.tool{
  position:absolute;
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 11px;
  border-radius:var(--r-sm);
  border:1px solid var(--line);
  background:rgba(12,18,36,.94);
  font-size:11px;
  font-weight:500;
  color:var(--text-2);
  white-space:nowrap;
  transition:transform var(--mid) var(--ease),border-color var(--mid);
}
.tool:hover{ transform:translateY(-3px); border-color:var(--line-strong); }

.tool img{
  width:20px; height:20px;
  object-fit:contain;
  border-radius:4px;
  background:#fff;
  padding:2px;
  flex:none;
}

.tool.t1{ top:4%;  left:2%; }
.tool.t2{ top:2%;  right:14%; }
.tool.t3{ top:30%; left:16%; }
.tool.t4{ top:34%; right:2%; }
.tool.t5{ top:60%; left:0%; }
.tool.t6{ top:63%; right:16%; }

.compare-verdict{
  display:inline-flex;
  align-items:center;
  gap:8px;
  align-self:center;
  margin-top:var(--s4);
  padding:9px 16px;
  border-radius:var(--r-pill);
  font-size:12.5px;
  font-weight:600;
}
.compare-verdict.is-bad{
  border:1px solid rgba(240,67,92,.30);
  background:rgba(240,67,92,.10);
  color:#FF8195;
}
.compare-verdict.is-good{
  border:1px solid rgba(46,212,122,.30);
  background:rgba(46,212,122,.10);
  color:#5BE3A0;
}

/* -- connected hub -- */

.hub{
  position:relative;
  z-index:2;
  display:grid;
  place-items:center;
  gap:6px;
  width:150px; height:96px;
  border-radius:var(--r-lg);
  border:1px solid rgba(139,59,241,.42);
  background:linear-gradient(180deg,#111A35,#0A1024);
  box-shadow:0 0 46px rgba(139,59,241,.30);
  font-weight:700;
  font-size:14px;
}
.hub svg{ width:22px; height:22px; color:var(--violet-soft); }

.spoke{
  position:absolute;
  z-index:2;
  display:flex;
  align-items:center;
  gap:7px;
  padding:7px 11px;
  border-radius:var(--r-sm);
  border:1px solid var(--line);
  background:rgba(12,18,36,.94);
  font-size:11px;
  color:var(--text-2);
  white-space:nowrap;
}
.spoke svg{ width:13px; height:13px; color:var(--violet-soft); flex:none; }
.spoke .neon-ico{ width:18px; height:18px; flex:none; margin:-2px 0; }

.spoke.s1{ top:6%;  left:0; }
.spoke.s2{ top:38%; left:0; }
.spoke.s3{ top:70%; left:0; }
.spoke.s4{ top:6%;  right:0; }
.spoke.s5{ top:38%; right:0; }
.spoke.s6{ top:70%; right:0; }

.vs-badge{
  position:absolute;
  top:50%; left:50%;
  translate:-50% -50%;
  z-index:5;
  display:grid;
  place-items:center;
  width:52px; height:52px;
  border-radius:50%;
  border:1px solid rgba(139,59,241,.45);
  background:#080E20;
  box-shadow:0 0 34px rgba(139,59,241,.45);
  font-size:13px;
  font-weight:700;
  letter-spacing:.04em;
}

.compare-wrap{ position:relative; }

/* =========================================================================
   FEATURES — 6 cards, ONE row (matches the mockup, which does not wrap them
   into 2 rows of 3). Gap drops to --s2 because six columns leaves each card
   ~187px at the 1280px container; at --s3 it would be ~180px and the titles
   start wrapping to three lines.
========================================================================= */

.feature-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:var(--s2);
}

.feature{
  display:flex;
  flex-direction:column;
  padding:var(--s2) 14px var(--s3);
  border-radius:var(--r-lg);
  border:1px solid var(--line);
  background:var(--grad-card);
  transition:transform var(--mid) var(--ease),border-color var(--mid),background var(--mid);
}
.feature:hover{
  transform:translateY(-5px);
  border-color:rgba(139,59,241,.35);
  background:linear-gradient(180deg,rgba(139,59,241,.07),rgba(255,255,255,.014));
}

/* No frame. In the mockup the illustration sits straight on the card — there
   is no bordered panel or separate background behind it. The old bordered box
   plus a filled image inside it is what read as a glow slab. */
.feature-thumb{
  height:96px;
  margin-bottom:var(--s2);
  display:grid;
  place-items:center;
}
.feature-thumb svg{ width:100%; height:100%; }

/* Feature illustrations. assets/img/feat-*.png are RGBA with the source's dark
   backdrop subtracted out (distance-from-background keyed to alpha, not
   luminance — luminance would have made the dark faces of the 3D boxes
   semi-transparent). They therefore composite straight onto the card, which is
   why no frame or fill is needed. contain, never cover: these must not crop. */
.feature-thumb img{
  max-width:100%;
  max-height:100%;
  width:auto; height:auto;
  object-fit:contain;
  display:block;
}

.feature h3{ font-size:16px; font-weight:600; letter-spacing:-.01em; }
.feature p{
  margin-top:10px;
  font-size:13.5px;
  line-height:1.6;
  color:var(--text-2);
  flex:1;
}

.feature-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:var(--s3);
  font-size:13px;
  font-weight:600;
  color:var(--violet-soft);
}
.feature-link svg{ width:13px; height:13px; transition:transform var(--fast); }
.feature:hover .feature-link svg{ transform:translateX(3px); }

/* =========================================================================
   AI ASSISTANT
========================================================================= */

.assistant-panel{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:var(--s5);
  border-radius:var(--r-xl);
  border:1px solid var(--line);
  background:
    radial-gradient(700px 320px at 88% 20%,rgba(139,59,241,.16),transparent 66%),
    var(--grad-card);
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:var(--s6);
  align-items:center;
}

/* The wave graphic from the mockup, running the full width behind the copy
   and the chat card.

   mix-blend-mode:screen is doing the important work here. The source is a
   bright wave on a near-black backdrop, and screen maps black to "no change"
   — so the panel's own radial glow and --grad-card show through untouched and
   only the wave's light is added. Compositing it as a plain image instead
   would paint its dark rectangle over that gradient and flatten the panel.

   Positioned at 68% rather than centre because in the mockup the wave sits in
   the lower half, below the headline rather than through it. overflow:hidden
   on the panel keeps it inside the rounded corners; isolation:isolate stops
   the screen blend reaching back past the panel's own background. */
.assistant-panel::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:url("../assets/img/assistant-wave.jpg") center 68%/cover no-repeat;
  mix-blend-mode:screen;
  opacity:.85;
  pointer-events:none;
}

/* lift the real content above the wave. `> *` only ever matches elements, so
   the ::before is untouched and stays at z-index 0 beneath them. */
.assistant-panel > *{ position:relative; z-index:1; }

.assistant-copy h2{
  margin-top:var(--s3);
  font-size:var(--t-title);
  font-weight:700;
  letter-spacing:-.03em;
  line-height:1.12;
}
.assistant-copy p{
  margin-top:var(--s3);
  font-size:var(--t-lead);
  line-height:1.6;
  color:var(--text-2);
}
.assistant-copy .btn{ margin-top:var(--s4); }

.chat{ display:flex; flex-direction:column; gap:var(--s3); }

.chat-row{ display:flex; align-items:flex-start; gap:12px; }
.chat-row.is-user{ justify-content:flex-end; }

.chat-avatar{
  width:34px; height:34px;
  border-radius:50%;
  flex:none;
  display:grid;
  place-items:center;
  font-size:11px;
  font-weight:700;
}
.chat-avatar.is-ai{ background:var(--grad-brand); color:#fff; }
.chat-avatar.is-user{ background:linear-gradient(135deg,#3C4A66,#28324A); color:var(--text-2); }

.bubble{
  padding:13px 16px;
  border-radius:var(--r-md);
  font-size:13.5px;
  line-height:1.55;
  max-width:400px;
}
.bubble.is-user{
  background:linear-gradient(135deg,rgba(91,79,230,.30),rgba(139,59,241,.24));
  border:1px solid rgba(139,59,241,.32);
  border-bottom-right-radius:5px;
}
.bubble.is-ai{
  background:rgba(255,255,255,.038);
  border:1px solid var(--line);
  border-bottom-left-radius:5px;
  max-width:none;
}

.chat-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:14px;
}
.chat-metric{
  padding:9px 10px;
  border-radius:var(--r-xs);
  border:1px solid var(--line);
  background:rgba(255,255,255,.028);
  text-align:center;
}
.chat-metric span{ display:block; font-size:9.5px; color:var(--text-3); letter-spacing:.02em; }
.chat-metric b{ display:block; margin-top:4px; font-size:14px; font-weight:700; }
.chat-metric b.is-red{ color:var(--red); }
.chat-metric b.is-green{ color:var(--green); }

.chat-foot{ margin-top:12px; font-size:11px; color:var(--text-3); }

/* =========================================================================
   PROOF — trust bar + testimonial
========================================================================= */

.proof-grid{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
  gap:var(--s3);
  align-items:stretch;
}

.trust{
  display:grid;
  grid-template-columns:auto repeat(4,minmax(0,1fr));
  align-items:center;
  gap:var(--s3);
  padding:var(--s4);
  border-radius:var(--r-xl);
  border:1px solid var(--line);
  background:var(--grad-card);
}

.trust-lead{
  font-size:12.5px;
  line-height:1.4;
  color:var(--text-3);
  max-width:11ch;
  padding-right:var(--s3);
  border-right:1px solid var(--line);
}

.trust-stat{ display:flex; align-items:center; gap:11px; }
.trust-stat .icon-tile{ width:36px; height:36px; }
.trust-stat b{ display:block; font-size:19px; font-weight:700; letter-spacing:-.02em; line-height:1.1; }
.trust-stat span{ display:block; font-size:10.5px; color:var(--text-3); margin-top:2px; }

.quote{
  display:flex;
  align-items:center;
  gap:var(--s3);
  padding:var(--s4);
  border-radius:var(--r-xl);
  border:1px solid var(--line);
  background:var(--grad-card);
}
.quote-face{
  width:56px; height:56px;
  border-radius:50%;
  flex:none;
  background:linear-gradient(135deg,#5B4FE6,#8B3BF1);
  display:grid;
  place-items:center;
  font-size:17px;
  font-weight:700;
  color:#fff;
}
.quote p{ font-size:14px; line-height:1.55; font-weight:500; }
.quote cite{ display:block; margin-top:9px; font-size:12px; font-style:normal; color:var(--text-3); }

/* =========================================================================
   PRICING
========================================================================= */

.pricing-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:var(--s3);
  align-items:stretch;
}

.price-card{
  position:relative;
  display:flex;
  flex-direction:column;
  padding:var(--s4);
  border-radius:var(--r-xl);
  border:1px solid var(--line);
  background:var(--grad-card);
}

.price-card.is-featured{
  border-color:rgba(139,59,241,.42);
  background:
    radial-gradient(420px 220px at 50% 0%,rgba(139,59,241,.18),transparent 70%),
    var(--grad-card);
  box-shadow:0 0 60px rgba(139,59,241,.14);
}

.price-badge{
  position:absolute;
  top:-11px; left:50%;
  translate:-50% 0;
  padding:5px 13px;
  border-radius:var(--r-pill);
  background:var(--grad-brand);
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  white-space:nowrap;
}

.price-name{ font-size:13px; font-weight:600; color:var(--text-2); letter-spacing:.02em; }

.price-fig{ display:flex; align-items:baseline; gap:6px; margin-top:var(--s2); }
.price-fig b{ font-size:42px; font-weight:800; letter-spacing:-.04em; line-height:1; }
.price-fig span{ font-size:13px; color:var(--text-3); }

.price-note{ margin-top:12px; font-size:13px; line-height:1.55; color:var(--text-2); }

.price-list{ margin-top:var(--s3); display:flex; flex-direction:column; gap:11px; flex:1; }
.price-list li{ display:flex; align-items:flex-start; gap:9px; font-size:13.5px; color:var(--text-2); }
.price-list svg{ color:var(--violet-soft); margin-top:2px; }

.price-card .btn{ margin-top:var(--s4); }

.price-lead h2{
  font-size:var(--t-title);
  font-weight:700;
  letter-spacing:-.03em;
  line-height:1.12;
  margin-top:var(--s3);
}
.price-lead p{ margin-top:var(--s3); font-size:var(--t-lead); color:var(--text-2); line-height:1.6; }
.price-lead .ticks{ margin-top:var(--s4); flex-direction:column; gap:12px; }

/* =========================================================================
   FOOTER
========================================================================= */

.footer{
  margin-top:var(--s7);
  border-top:1px solid var(--line);
  padding-top:var(--s6);
  padding-bottom:var(--s4);
  background:linear-gradient(180deg,transparent,rgba(139,59,241,.05));
}

.footer-top{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));
  gap:var(--s5);
  padding-bottom:var(--s5);
}

.footer-brand p{
  margin-top:var(--s2);
  font-size:13.5px;
  line-height:1.6;
  color:var(--text-3);
  max-width:34ch;
}

.footer-col h4{
  font-size:12px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text-3);
  margin-bottom:var(--s2);
}
.footer-col a{
  display:block;
  padding:5px 0;
  font-size:13.5px;
  color:var(--text-2);
  transition:color var(--fast);
}
.footer-col a:hover{ color:var(--text); }

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--s3);
  padding-top:var(--s3);
  border-top:1px solid var(--line);
  font-size:12.5px;
  color:var(--text-3);
  flex-wrap:wrap;
}
.footer-social{ display:flex; gap:var(--s2); }
.footer-social a{
  display:grid;
  place-items:center;
  width:32px; height:32px;
  border-radius:var(--r-xs);
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--text-2);
  transition:color var(--fast),border-color var(--fast);
}
.footer-social a:hover{ color:var(--text); border-color:var(--line-strong); }

/* ---------- BACK TO TOP ------------------------------------------------------- */

.to-top{
  position:fixed;
  right:22px; bottom:22px;
  z-index:var(--z-float);
  display:grid;
  place-items:center;
  width:42px; height:42px;
  border-radius:50%;
  border:1px solid var(--line-strong);
  background:rgba(10,18,36,.9);
  backdrop-filter:blur(10px);
  color:var(--text);
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:opacity var(--mid),transform var(--mid),visibility var(--mid);
}
.to-top.is-on{ opacity:1; visibility:visible; transform:translateY(0); }


/* ── Security ─────────────────────────────────────────────────────────
   Nine control groups. Deliberately plain: no badges, no seals, no
   invented certifications. The reassurance comes from the specificity of
   what is named, so the type does the work and the styling stays out of
   the way. */
.sec-lead{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,.72fr);
  gap:var(--s5);
  align-items:center;
  margin-bottom:var(--s6);
}
.sec-lead-copy p{
  margin:0 0 var(--s3);
  color:var(--text-2);
  font-size:var(--t-lead);
  line-height:1.65;
  max-width:52ch;
}
.sec-lead-copy p:last-child{ margin-bottom:0; }

/* Slot for a graphic. Sized and labelled so it is obvious it is waiting
   for artwork rather than broken. */
.sec-figure{
  min-width:0;
  aspect-ratio:4 / 3;
  border:1px dashed var(--line-strong);
  border-radius:var(--r3);
  background:var(--surface);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:var(--s4);
}
.sec-figure span{
  font-size:.82rem;
  color:var(--text-3);
  line-height:1.5;
}

/* Same reason as .mod-figure img above: an <img> here is a flex item sized by
   its intrinsic height, and intrinsic height beats aspect-ratio, so the slot
   would grow when filled. Pin it to the content box and keep the artwork whole. */
.sec-figure img{
  display:block;
  width:100%; height:100%;
  min-width:0; min-height:0;
  object-fit:contain;
}

.sec-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:var(--s3);
}

/* Product's security grid runs eight cards as two rows of four. Scoped to a
   modifier because about.html shares .sec-grid with only three cards, and a
   global four-column rule would leave it a hole. The max-width:1000px and
   640px rules below come later in the file at the same specificity, so they
   still win and this steps 4 -> 2 -> 1. Measured, not assumed. */
.sec-grid--4{ grid-template-columns:repeat(4,minmax(0,1fr)); }

/* Clear the fixed site header. index.html does this with .hero{padding-top:86px}
   and about/contact each set it on their opening section; product.html opens
   with a plain .section, so "The platform" eyebrow was rendering 48.8px behind
   the nav bar. Same 86px the other pages use. #modules exists only on
   product.html, so this cannot reach any other page. */
#modules{ padding-top:86px; }

.sec-card{
  border:1px solid var(--line);
  border-radius:var(--r3);
  background:var(--surface);
  padding:var(--s4);
  display:flex;
  flex-direction:column;
  gap:10px;
}

.sec-ico{
  width:38px; height:38px;
  border-radius:10px;
  display:inline-flex; align-items:center; justify-content:center;
  background:color-mix(in srgb, var(--brand) 14%, transparent);
  color:var(--brand);
  flex:0 0 auto;
}
.sec-ico svg{ width:19px; height:19px; }

.sec-card h3{
  margin:0;
  font-size:1.02rem;
  letter-spacing:-.01em;
  color:var(--text);
}

.sec-card ul{
  margin:0; padding:0; list-style:none;
  display:flex; flex-direction:column; gap:7px;
}
.sec-card li{
  position:relative;
  padding-left:18px;
  font-size:.91rem;
  line-height:1.5;
  color:var(--text-2);
}
.sec-card li::before{
  content:"";
  position:absolute; left:0; top:8px;
  width:6px; height:6px; border-radius:50%;
  background:var(--brand);
  opacity:.75;
}

.sec-foot{
  margin-top:var(--s5);
  padding:var(--s4);
  border:1px solid var(--line);
  border-radius:var(--r3);
  background:var(--surface);
}
.sec-foot p{
  margin:0;
  font-size:.94rem;
  line-height:1.65;
  color:var(--text-2);
}
.sec-foot a{ color:var(--brand); }
.sec-foot a:hover{ color:var(--text); }

@media (max-width:1000px){
  .sec-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:900px){
  .sec-lead{ grid-template-columns:1fr; gap:var(--s4); }
  .sec-figure{ aspect-ratio:16 / 9; }
}
@media (max-width:640px){
  .sec-grid{ grid-template-columns:1fr; }
}


/* ── Modules ──────────────────────────────────────────────────────────
   One block per product module. Alternating copy / figure so the eye
   zig-zags down the page instead of reading eight identical rows.
   Every figure is a real slot with a stated aspect ratio, waiting for
   artwork.

   Only capabilities marked live in the module guide appear here.
   Anything still being built carries a .mod-tag--soon chip and says so
   in words. Do not promote a chip without checking the guide. */
.mod{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:var(--s6);
  align-items:center;
  padding-block:var(--s6);
  border-top:1px solid var(--line);
}
.mod:first-of-type{ border-top:0; }
.mod.is-flipped .mod-copy{ order:2; }

.mod-copy{ min-width:0; }

.mod-eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.74rem; font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; color:var(--brand);
  margin-bottom:var(--s2);
}

.mod-copy h3{
  margin:0 0 var(--s2);
  font-size:clamp(1.5rem,2.6vw,2rem);
  line-height:1.15;
  letter-spacing:-.02em;
  color:var(--text);
}

.mod-lead{
  margin:0 0 var(--s3);
  font-size:var(--t-lead);
  line-height:1.6;
  color:var(--text-2);
  max-width:54ch;
}

.mod-list{ margin:0 0 var(--s3); padding:0; list-style:none;
           display:flex; flex-direction:column; gap:9px; }
.mod-list li{
  position:relative; padding-left:26px;
  font-size:.96rem; line-height:1.55; color:var(--text-2);
}
.mod-list li::before{
  content:""; position:absolute; left:0; top:7px;
  width:14px; height:14px; border-radius:50%;
  background:color-mix(in srgb, var(--brand) 18%, transparent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--brand) 45%, transparent);
}
.mod-list b{ color:var(--text); font-weight:600; }

.mod-benefit{
  margin:0;
  padding:var(--s3) var(--s4);
  border-left:2px solid var(--brand);
  border-radius:0 var(--r3) var(--r3) 0;
  background:var(--surface);
  font-size:.98rem;
  line-height:1.6;
  color:var(--text);
}

.mod-tag{
  display:inline-block;
  padding:3px 9px;
  border-radius:999px;
  font-size:.68rem; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase;
  border:1px solid var(--line-strong);
  color:var(--text-3);
}
.mod-tag--soon{
  border-color:color-mix(in srgb, var(--amber,#fbbf24) 45%, transparent);
  color:var(--amber,#fbbf24);
}

.mod-figure{
  min-width:0;
  aspect-ratio:16 / 11;
  border:1px dashed var(--line-strong);
  border-radius:var(--r4,18px);
  background:var(--surface);
  display:flex; align-items:center; justify-content:center;
  text-align:center; padding:var(--s4);
}
.mod-figure span{ font-size:.82rem; color:var(--text-3); line-height:1.55; }

/* A filled slot must not outgrow the ratio it reserves. An <img> dropped in
   here is a flex item sized by its own intrinsic height, and intrinsic height
   beats aspect-ratio: measured across all 20 slots, off-ratio artwork grew
   these boxes by up to 1195px, worst on mobile where the ratio is shortest.
   height:100% pins the image to the content box, so a filled slot is exactly
   as tall as an empty one; contain keeps the artwork whole rather than
   cropping or stretching it. The dashed frame and its padding stay. */
.mod-figure img{
  display:block;
  width:100%; height:100%;
  min-width:0; min-height:0;
  object-fit:contain;
}

@media (max-width:900px){
  .mod{ grid-template-columns:1fr; gap:var(--s4); padding-block:var(--s5); }
  .mod.is-flipped .mod-copy{ order:0; }
  .mod-figure{ aspect-ratio:16 / 9; }
}


/* The roadmap note under the AI Assistant heading. */
.assistant-note{
  font-size:.92rem !important;
  line-height:1.6;
  color:var(--text-3) !important;
  border-left:2px solid var(--line-strong);
  padding-left:var(--s3);
}
.assistant-copy .mod-tag{ margin-bottom:var(--s2); }

/* Art icons in the trust strip. The artwork carries its own dark ground, so
   the tile's own border and surface would double up behind it -- strip both
   and let the image be the tile. Size stays 36px, so nothing reflows. */
.trust-stat .icon-tile.is-art{ padding:0; border:0; background:none; overflow:hidden; border-radius:var(--r-sm); }
.trust-stat .icon-tile.is-art img{ width:100%; height:100%; object-fit:cover; display:block; }

/* Photo avatars. The source JPG is a circular portrait on a white square;
   avatar-mj.webp is cropped to the circle and alpha-masked to it, so the
   corners are transparent and nothing white can peek past the radius.
   The gradient and the "MJ" letterforms are dropped, and object-fit:cover
   keeps the face centred at whatever size the element already is. */
.quote-face.has-photo,
.chat-avatar.has-photo{ background:none; overflow:hidden; padding:0; }
.quote-face.has-photo img,
.chat-avatar.has-photo img{
  width:100%; height:100%;
  object-fit:cover;
  border-radius:50%;
  display:block;
}
