/* ============================================================
   IXXO Cart — section-pattern library styles
   New layout patterns not already in enterprise.css. Reuses its
   tokens. Loaded by /style-library/ and by any page that adopts
   one of these patterns.
   ============================================================ */

/* library page scaffolding (only used on /style-library/) */
.lib-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.lib-toc a { font-size: .8rem; font-weight: 600; color: var(--slate-500); border: 1px solid var(--border); border-radius: 20px; padding: 5px 12px; text-decoration: none; transition: all var(--dur) var(--ease); }
.lib-toc a:hover { color: var(--accent-dark); border-color: var(--border-strong); background: var(--accent-tint); }
.lib-sec { border-top: 1px solid var(--border); }
.lib-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: .72rem; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .08em; }
.lib-tag .n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-dark); font-size: .72rem; }
.lib-note { color: var(--slate-500); font-size: .9rem; margin-top: 6px; max-width: 60ch; margin-inline: auto; }
.lib-head { margin-bottom: 26px; text-align: center; }

/* ---------- 60/40 split (text-heavy + aside) ---------- */
.zsplit { display: grid; grid-template-columns: 3fr 2fr; gap: 52px; align-items: center; }
.zsplit.flip > :first-child { order: 2; }
@media (max-width: 860px) { .zsplit { grid-template-columns: 1fr; gap: 34px; } .zsplit.flip > :first-child { order: 0; } }

/* ---------- sticky-scroll 60/40 (graphic sticks, steps scroll) ---------- */
.sticky-wrap { display: grid; grid-template-columns: 2fr 3fr; gap: 48px; align-items: start; }
.sticky-wrap.flip .sticky-media { order: 2; }
.sticky-media { position: sticky; top: 96px; }
.sticky-steps { display: grid; gap: 18px; }
.sticky-step { border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; padding: 22px 24px; box-shadow: var(--shadow-xs); }
.sticky-step .st-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: .82rem; margin-bottom: 12px; }
.sticky-step h3 { margin: 0 0 6px; }
@media (max-width: 860px) { .sticky-wrap { grid-template-columns: 1fr; gap: 26px; } .sticky-media { position: static; } .sticky-wrap.flip .sticky-media { order: 0; } }

/* ---------- content tabs (drives [data-select-group]) ---------- */
.ptabs-bar { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.ptab { font-family: var(--body); font-size: .92rem; font-weight: 600; color: var(--slate-500); background: transparent; border: none; border-bottom: 2px solid transparent; padding: 11px 16px; cursor: pointer; border-radius: var(--radius) var(--radius) 0 0; transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.ptab .lucide { width: 17px; height: 17px; }
.ptab:hover { color: var(--ink); background: var(--bg-alt); }
.ptab.is-active { color: var(--accent-dark); border-bottom-color: var(--accent); }
.ptab-panel { display: none; }
.ptab-panel.is-active { display: block; }

/* ---------- timed horizontal carousel (CSS-only auto-advance) ---------- */
.tcar { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.tcar-track { display: flex; width: 400%; }
.tcar-slide { width: 25%; padding: 34px 40px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: var(--bg-alt); }
.tcar-slide .tc-body h3 { margin: 0 0 8px; }
.tcar-slide .tc-ic { width: 96px; height: 96px; border-radius: var(--radius-lg); display: grid; place-items: center; }
.tcar-slide .tc-ic .lucide { width: 40px; height: 40px; color: #fff; }
.tcar-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; }
.tcar-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); display: block; }
@media (prefers-reduced-motion: no-preference) {
  .tcar-track { animation: tcar 13s infinite; }
  .tcar-dots i { animation: tcard 13s infinite; }
  .tcar-dots i:nth-child(2) { animation-delay: 3.25s; }
  .tcar-dots i:nth-child(3) { animation-delay: 6.5s; }
}
@keyframes tcar {
  0%, 20% { transform: translateX(0%); }
  25%, 45% { transform: translateX(-25%); }
  50%, 70% { transform: translateX(-50%); }
  75%, 100% { transform: translateX(-75%); }
}
@keyframes tcard { 0%,18%,100% { background: var(--accent); transform: scale(1.35); } 25%,93% { background: var(--border-strong); transform: scale(1); } }
@media (max-width: 640px) { .tcar-slide { grid-template-columns: 1fr; text-align: center; padding: 26px 22px; } .tcar-slide .tc-ic { margin: 0 auto; width: 72px; height: 72px; } }

/* ---------- boxed icon list (two columns) ---------- */
.ilist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ilist .ili { display: flex; gap: 13px; align-items: flex-start; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 15px 16px; background: #fff; }
.ilist .ili .ic { width: 38px; height: 38px; border-radius: var(--radius); flex: none; display: grid; place-items: center; }
.ilist .ili .ic .lucide { width: 18px; height: 18px; }
.ilist .ili b { font-family: var(--display); font-size: .92rem; color: var(--ink); display: block; margin-bottom: 3px; }
.ilist .ili p { margin: 0; font-size: .86rem; color: var(--slate-500); }
@media (max-width: 640px) { .ilist { grid-template-columns: 1fr; } }

/* ---------- stat band ---------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-alt); padding: 34px 28px; }
.statband .sb { text-align: center; position: relative; }
.statband .sb + .sb::before { content: ""; position: absolute; left: -10px; top: 12%; height: 76%; width: 1px; background: var(--border); }
.statband .sb .v { font-family: var(--display); font-weight: 800; font-size: 2.4rem; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.statband .sb .v span { color: var(--accent); }
.statband .sb .l { margin-top: 8px; font-size: .82rem; color: var(--slate-500); font-weight: 600; }
@media (max-width: 720px) { .statband { grid-template-columns: 1fr 1fr; gap: 26px; } .statband .sb:nth-child(3)::before, .statband .sb + .sb::before { display: none; } }

/* ---------- vertical timeline ---------- */
.tline { position: relative; padding-left: 34px; }
.tline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.tline-item { position: relative; padding: 0 0 26px; }
.tline-item:last-child { padding-bottom: 0; }
.tline-dot { position: absolute; left: -34px; top: 0; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); display: grid; place-items: center; }
.tline-dot i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.tline-item .yr { font-family: var(--display); font-weight: 700; color: var(--accent-dark); font-size: .82rem; }
.tline-item h3 { margin: 3px 0 5px; }
.tline-item p { margin: 0; color: var(--slate-500); }

/* ---------- bento grid ---------- */
/* Explicit area map so the grid always tiles completely (no auto-flow holes). */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 158px;
  gap: 14px;
  grid-template-areas:
    "feat feat pay  head"
    "feat feat mkt  head"
    "intl intl sec  supp";
}
.bento .bx {
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px;
  background: #fff; box-shadow: var(--shadow-xs);
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  overflow: hidden; position: relative;
}
.bento .bx-feat { grid-area: feat; }
.bento .bx-head { grid-area: head; }
.bento .bx-pay  { grid-area: pay; }
.bento .bx-mkt  { grid-area: mkt; }
.bento .bx-intl { grid-area: intl; }
.bento .bx-sec  { grid-area: sec; }
.bento .bx-supp { grid-area: supp; }
.bento .bx.dark { background: linear-gradient(150deg,var(--navy-800),var(--navy-900)); border-color: transparent; color: #fff; }
.bento .bx.dark b { color: #fff; }
.bento .bx.dark small { color: #b9c4d6; }
.bento .bx .ic { width: 40px; height: 40px; border-radius: var(--radius); display: grid; place-items: center; flex: none; }
.bento .bx .ic .lucide { width: 20px; height: 20px; }
.bento .bx b { font-family: var(--display); font-size: 1rem; color: var(--ink); }
.bento .bx-feat b { font-size: 1.2rem; }
.bento .bx small { color: var(--slate-500); font-size: .82rem; line-height: 1.5; }
@media (max-width: 860px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "feat feat"
      "feat feat"
      "head pay"
      "head mkt"
      "intl intl"
      "sec  supp";
  }
}
@media (max-width: 480px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: minmax(116px, auto); grid-template-areas: none; }
  .bento .bx { grid-area: auto !important; }
}

/* ---------- comparison table ---------- */
.ctable { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.ctable th, .ctable td { padding: 13px 16px; text-align: left; font-size: .9rem; border-top: 1px solid var(--border); }
.ctable thead th { background: var(--bg-alt); font-family: var(--display); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--slate-500); border-top: none; }
.ctable th.mark, .ctable td.mark { text-align: center; }
/* lucide icons render as display:block svg, so text-align won't center them */
.ctable td.mark .lucide { display: inline-block; vertical-align: middle; }
.ctable .yes { color: var(--success); } .ctable .no { color: var(--slate-400); }
.ctable tbody tr:hover { background: var(--accent-tint); }
.ctable col.hi, .ctable .hi { background: var(--accent-tint); }
@media (max-width: 640px) { .ctable th, .ctable td { padding: 10px 11px; font-size: .82rem; } }

/* ---------- pricing: three plans in one row ---------- */
/* .pcards is 2-up by default; .trio forces a true 3-across plan row. */
.cards.pcards.trio { grid-template-columns: repeat(3, 1fr); max-width: 1120px; align-items: stretch; }
.cards.pcards.trio .ecard { display: flex; flex-direction: column; }
.cards.pcards.trio .ecard h3 { color: var(--ink); font-size: 1.05rem; }
/* price: ink display amount + muted suffix, updated by the billing switch */
.cards.pcards.trio .plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 5px; margin: 12px 0 18px; }
.cards.pcards.trio .plan-price .pp-amt { font-family: var(--display); font-weight: 800; font-size: 2.1rem; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.cards.pcards.trio .plan-price .pp-per { font-family: var(--body); font-weight: 500; font-size: .82rem; color: var(--slate-500); }
/* divider between the plan summary and the feature list */
.cards.pcards.trio .ecard .feature-list { border-top: 1px solid var(--border); padding-top: 16px; }
/* full-width call to action reads cleaner in a pricing card */
.cards.pcards.trio .ecard .btn { margin-top: auto; align-self: stretch; justify-content: center; }
/* featured (most-popular) plan: lifted, ringed, corner ribbon */
.cards.pcards.trio .ecard.pop { position: relative; overflow: hidden; }
.cards.pcards.trio .ecard.pop,
.cards.pcards.trio .ecard.pop:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); }
@media (min-width: 921px) { .cards.pcards.trio .ecard.pop { transform: translateY(-8px); } }
@media (max-width: 920px) { .cards.pcards.trio { grid-template-columns: repeat(2, 1fr); max-width: 760px; } }
@media (max-width: 620px) { .cards.pcards.trio { grid-template-columns: 1fr; max-width: 420px; } }

/* corner ribbon on the featured card */
.ecard .ribbon { position: absolute; top: 0; right: 0; width: 132px; height: 132px; overflow: hidden; pointer-events: none; z-index: 2; }
.ecard .ribbon span {
  position: absolute; top: 22px; right: -38px; width: 160px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; text-align: center; padding: 7px 0;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 6px 14px -4px rgba(16,24,40,.35);
}

/* billing switch (Annual / Monthly) */
.billing-switchwrap { text-align: center; margin: 22px 0 34px; position: relative; }
/* hand-drawn "20% off" annotation pointing at the billing toggle */
.billing-switchwrap .anno-save { position: absolute; top: 2px; left: calc(50% + 116px); }
.billing-switchwrap .anno-save .hand-note { font-size: 1.5rem; }
@media (max-width: 860px) { .billing-switchwrap .anno-save { display: none; } }
.billing-switch { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-alt); }
.billing-switch .bs-opt { border: none; background: transparent; font-family: var(--body); font-size: .9rem; font-weight: 600; color: var(--slate-500); padding: 8px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.billing-switch .bs-opt:hover { color: var(--ink); }
.billing-switch .bs-opt.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); }
.billing-switch .bs-save { font-size: .66rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--success); background: var(--c-green-bg); border-radius: 999px; padding: 3px 8px; }

/* ============================================================
   FULL-WIDTH HERO PATTERNS (for the top of a page)
   Not the 50/50 split hero. Three committed, full-width options.
   ============================================================ */
.lib-sec.nofx::before, .lib-sec.nofx::after { display: none !important; }

/* shared: a wide product frame that fills the content width */
.lhero-media { margin-top: clamp(28px, 4vw, 48px); }
.lhero-media .cmock-wrap { max-width: 960px; }
.lhero-media .cmock-wrap::before, .lhero-media .cmock-wrap::after { display: none; }

/* A · centered spotlight, product screenshot below --------------- */
.lhero-center { text-align: center; }
.lhero-center .lh-inner { max-width: 800px; margin-inline: auto; }
.lhero-center .label { justify-content: center; }
.lhero-center h1 { margin-top: 16px; }
.lhero-center .lead { margin: 18px auto 0; max-width: 60ch; }
.lhero-center .btn-row { justify-content: center; margin-top: 26px; }
.lhero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 22px; }
.lhero-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--slate-500); }
.lhero-trust .lucide { width: 16px; height: 16px; color: var(--success); }

/* B · drenched, full-bleed band + stat strip -------------------- */
.fullbleed { width: 100vw; margin-left: calc(50% - 50vw); }
.lhero-drench { color: #fff; text-align: center; position: relative; overflow: hidden;
  padding: clamp(64px, 9vw, 116px) 24px;
  background: radial-gradient(125% 135% at 50% -25%, var(--navy-700), var(--navy-900) 62%); }
.lhero-drench::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(closest-side at 84% 16%, rgba(216,105,15,.30), transparent 58%),
              radial-gradient(closest-side at 12% 92%, rgba(37,99,201,.26), transparent 60%); }
.lhero-drench .lh-inner { position: relative; max-width: 840px; margin-inline: auto; }
.lhero-drench .label { justify-content: center; color: #edd6be; }
.lhero-drench h1 { color: #fff; margin-top: 16px; }
.lhero-drench .lead { color: #cdd8e8; margin: 18px auto 0; max-width: 58ch; }
.lhero-drench .btn-row { justify-content: center; margin-top: 28px; }
.lhero-drench .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.lhero-drench .btn-outline:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.7); }
.lhero-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 780px; margin: clamp(34px, 5vw, 52px) auto 0; }
.lhero-strip .st { position: relative; }
.lhero-strip .st + .st::before { content: ""; position: absolute; left: -10px; top: 14%; height: 72%; width: 1px; background: rgba(255,255,255,.16); }
.lhero-strip .v { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.2rem); line-height: 1; }
.lhero-strip .v span { color: var(--accent); }
.lhero-strip .l { font-size: .78rem; color: #a7b4c8; font-weight: 600; margin-top: 8px; }
@media (max-width: 600px) { .lhero-strip { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .lhero-strip .st:nth-child(3)::before { display: none; } }

/* C · editorial, oversized headline + product below ------------- */
.lhero-editorial .lh-title { font-family: var(--display); font-weight: 700; color: var(--ink);
  font-size: clamp(2.6rem, 1.5rem + 4.2vw, 4.4rem); letter-spacing: -.03em; line-height: 1.03;
  max-width: 15ch; text-wrap: balance; }
.lhero-editorial .lh-row { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; margin-top: 24px; }
.lhero-editorial .lh-row .lead { max-width: 52ch; margin: 0; }
.lhero-editorial .lh-row .btn-row { margin: 0; flex: none; }
@media (max-width: 820px) { .lhero-editorial .lh-row { grid-template-columns: 1fr; align-items: start; } }

/* ---------- stacked cards, auto-swapping (CSS only) ------------- */
.stackwrap { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.stackwrap .stack-copy .lead { margin-top: 14px; }
.stackstage { position: relative; min-height: 310px; isolation: isolate; }
.scard { position: absolute; inset: 0; margin: auto; height: fit-content;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 26px 28px; will-change: transform, opacity; }
.scard .ic { width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center; margin-bottom: 14px; }
.scard .ic .lucide { width: 22px; height: 22px; }
.scard h3 { margin: 0 0 7px; }
.scard p { margin: 0; color: var(--slate-500); font-size: .92rem; line-height: 1.55; }
.scard .sc-foot { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.scard .sc-metric { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1.35rem; line-height: 1; }
.scard .sc-metric span { color: var(--accent); }
.scard .sc-tag { margin-left: auto; font-size: .72rem; font-weight: 700; color: var(--slate-500); background: var(--bg-soft); border-radius: 20px; padding: 4px 11px; }
@media (prefers-reduced-motion: no-preference) {
  .scard { animation: stackcards 10.5s infinite; }
  .scard:nth-child(2) { animation-delay: -3.5s; }
  .scard:nth-child(3) { animation-delay: -7s; }
}
@media (prefers-reduced-motion: reduce) {
  .scard:nth-child(1) { z-index: 3; }
  .scard:nth-child(2) { z-index: 2; transform: translateY(16px) scale(.94); }
  .scard:nth-child(3) { z-index: 1; transform: translateY(32px) scale(.88); }
}
@keyframes stackcards {
  0%   { z-index: 30; opacity: 1;   transform: translateY(0)     scale(1);   }
  28%  { z-index: 30; opacity: 1;   transform: translateY(0)     scale(1);   }
  33%  { z-index: 30; opacity: 0;   transform: translateY(-42px) scale(1);   }
  34%  { z-index: 10; opacity: 0;   transform: translateY(34px)  scale(.86); }
  42%  { z-index: 10; opacity: .55; transform: translateY(34px)  scale(.86); }
  62%  { z-index: 10; opacity: .55; transform: translateY(34px)  scale(.86); }
  70%  { z-index: 20; opacity: .85; transform: translateY(16px)  scale(.93); }
  95%  { z-index: 20; opacity: .85; transform: translateY(16px)  scale(.93); }
  100% { z-index: 30; opacity: 1;   transform: translateY(0)     scale(1);   }
}
@media (max-width: 860px) { .stackwrap { grid-template-columns: 1fr; gap: 32px; } }

/* bento — fill the oversized (feature + tall) tiles so they don't read empty */
.bento .bx-fh { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.bento .bx-stat { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; color: #fff; letter-spacing: -.03em; }
.bento .bx-stat span { display: block; font-family: var(--body); font-weight: 600; font-size: .78rem; letter-spacing: 0; color: #aab6c9; margin-top: 9px; }
.bento .bx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bento .bx-chips span { font-size: .72rem; font-weight: 600; color: var(--slate-500); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 20px; padding: 3px 10px; }

/* ── Comparison / alternative pages (/alternatives/*) ───────────────── */
/* Content-heavy splits: top-align columns so short media doesn't float
   in the vertical centre next to a tall text column. */
.cmp-detail .zsplit { align-items: start; }
.cmp-detail .zsplit + .zsplit { margin-top: 76px; }
/* Give a floating list visual weight instead of bare ticks in whitespace */
.cmp-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 26px; box-shadow: var(--shadow-sm); }
.cmp-panel .feature-list { margin: 0; }
.cmp-panel .feature-list li { padding-block: 7px; }
/* Two decision cards ("Choose X if") — proper panels, real icon badges */
.cmp-choose { align-items: stretch; }
.cmp-choose .ecard { padding: 30px 30px 26px; }
.cmp-choose .ecard h3 { font-size: 1.25rem; margin: 4px 0 2px; }
.cmp-choose .ecard .feature-list { margin-top: 18px; }
.cmp-choose .ecard .feature-list li { padding-block: 8px; }
/* Migration mock: real step labels instead of blank skeleton bars */
.cmp-mock .cm-head .t { font-size: .82rem; }
.cmp-mock .cm-step { padding: 11px 0; }
.cmp-mock .cm-step .grow { font-size: .86rem; font-weight: 600; color: var(--ink); }
.cmp-mock .cm-step.todo .grow { color: var(--slate-500); font-weight: 500; }
/* Flipped split: keep the text column on the wide track, panel on narrow */
.cmp-detail .zsplit.flip { grid-template-columns: 2fr 3fr; }
@media (max-width: 860px) { .cmp-detail .zsplit.flip { grid-template-columns: 1fr; } }

/* ── Reason rows: icon-left, borderless — an alternate to the card grid ── */
.ibadge { width: 46px; height: 46px; border-radius: var(--radius); display: grid; place-items: center; flex: none; border: 1px solid var(--border); background: var(--bg-soft); color: var(--navy-700); }
.ibadge .lucide { width: 23px; height: 23px; }
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 52px; max-width: 1000px; margin-inline: auto; }
.reasons .reason { display: flex; gap: 16px; align-items: flex-start; }
.reasons .reason h3 { font-size: 1.12rem; margin: 3px 0 5px; }
.reasons .reason p { color: var(--slate-500); font-size: var(--fs-sm); }
@media (max-width: 720px) { .reasons { grid-template-columns: 1fr; gap: 26px; } }


/* ── Tab showcase visual + "model extras" strip ───────────────────────── */
.tab-vis { aspect-ratio: 5 / 4; border-radius: var(--radius-lg); display: grid; place-items: center; border: 1px solid var(--border); }
.tab-vis .lucide { width: 78px; height: 78px; stroke-width: 1.25; }
.model-extras { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px; margin-top: 26px; padding: 16px 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-soft); }
.model-extras .me-lead { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: .9rem; }
.model-extras .me-item { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; color: var(--slate-500); }
.model-extras .me-item .lucide { width: 15px; height: 15px; color: var(--accent); flex: none; }

/* ── Coverflow carousel: 3 cards, center focused, sides faded, arrow nav ── */
.coverflow { position: relative; display: flex; align-items: center; gap: 16px; max-width: 1080px; margin-inline: auto; }
.cf-viewport { overflow: hidden; flex: 1; padding: 10px 4px; }
.cf-track { display: flex; gap: 22px; }
.cf-card { flex: 0 0 calc((100% - 44px) / 3); box-sizing: border-box; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 28px; opacity: .4; transform: scale(.92); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.cf-card.is-active { opacity: 1; transform: scale(1); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.cf-card .ic { width: 48px; height: 48px; border-radius: var(--radius); display: grid; place-items: center; margin-bottom: 16px; }
.cf-card .ic .lucide { width: 24px; height: 24px; }
.cf-card h3 { font-size: 1.18rem; margin: 0 0 8px; color: var(--ink); }
.cf-card p { margin: 0; color: var(--slate-500); font-size: var(--fs-sm); line-height: 1.6; }
.cf-arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-xs); transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.cf-arrow:hover { border-color: var(--accent); color: var(--accent); }
.cf-arrow .lucide { width: 20px; height: 20px; }
@media (max-width: 820px) { .cf-card { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 560px) { .cf-card { flex-basis: 100%; } .coverflow { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .cf-card { transition: none !important; } }

/* ---- pricing scene: floating sample-style cards beside the copy ---- */
.psplit { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.psplit.flip { grid-template-columns: 1fr 1fr; }
.psplit.flip .pscene { order: -1; }
@media (max-width: 860px) { .psplit, .psplit.flip { grid-template-columns: 1fr; gap: 36px; } .psplit.flip .pscene { order: 0; } }
.pscene { position: relative; background: #eef3fb; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 22px; display: flex; flex-direction: column; gap: 15px; }
.pscene .pc { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 16px 34px -18px rgba(22, 39, 63, .28); padding: 16px 18px; }
.pscene .pc.shift { margin-inline: 14px -4px; }
.pscene .pc.shift2 { margin-inline: -4px 14px; }
.pc-row { display: flex; align-items: center; gap: 13px; }
.pc-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.pc-ic .lucide { width: 21px; height: 21px; }
.pc-ic.blue { background: var(--c-blue-bg); color: var(--c-blue); }
.pc-ic.teal { background: var(--c-teal-bg); color: #0f766e; }
.pc-ic.green { background: var(--c-green-bg); color: var(--c-green); }
.pc-ic.amber { background: var(--c-amber-bg); color: var(--accent); }
.pc h4 { font-family: var(--display); font-size: .98rem; color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -.01em; }
.pc p { font-size: .82rem; color: var(--slate-500); margin: 3px 0 0; line-height: 1.42; }
.pc-stat { font-family: var(--display); font-weight: 700; font-size: 2rem; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.pc-stat small { display: block; font-size: .78rem; font-weight: 500; color: var(--slate-500); letter-spacing: 0; margin-top: 6px; line-height: 1.35; }
.pc-bars { display: flex; align-items: flex-end; gap: 5px; height: 30px; margin-top: 14px; }
.pc-bars i { flex: 1; background: var(--c-green-bg); border-radius: 3px; height: 45%; }
.pc-bars i.on { background: var(--c-green); }
.pc-bars i:nth-child(2) { height: 62%; } .pc-bars i:nth-child(4) { height: 74%; }
.pc-bars i:nth-child(5) { height: 88%; } .pc-bars i:nth-child(7) { height: 96%; } .pc-bars i:nth-child(8) { height: 100%; }
.pc-head { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.pc-head h4 { font-size: .95rem; }
.pc-check { display: flex; align-items: center; gap: 9px; font-size: .87rem; color: var(--ink); }
.pc-check + .pc-check { margin-top: 10px; }
.pc-check .lucide { width: 16px; height: 16px; color: var(--c-green); flex: none; }
.pc-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pc-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 10px 15px; font-size: .84rem; font-weight: 600; color: var(--ink); box-shadow: 0 12px 24px -16px rgba(22, 39, 63, .3); }
.pc-pill .lucide { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 860px) {
  .pscene { max-width: 460px; margin-inline: auto; }
  .pscene .pc.shift, .pscene .pc.shift2 { margin-inline: 0; }
}
