/* ============================================================================
 * components.css — reusable UI: buttons, pills, badges, icons, cards, stat
 * tiles, trust cards, Lumina badge/orb, media frames, drop-zones, forms,
 * cookie banner, and the claim-gate presentation. Ported and adapted from
 * deck-marketing/screens.css (slide-gated animations replaced with
 * reveal-triggered / ambient motion). Depends on tokens.css + base.css.
 * ==========================================================================*/

/* ---------------------------------------------------------------------------
 * BUTTONS
 * ------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px;
  font-family: var(--font-body); font-weight: 700; font-size: var(--fs-sm);
  line-height: 1; white-space: nowrap; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform var(--dur-fast) var(--ease-pop), box-shadow var(--dur) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 9px 15px; font-size: var(--fs-xs); border-radius: 10px; }
.btn-lg { padding: 15px 26px; font-size: var(--fs-body); border-radius: 14px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: var(--shadow-lg); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 26px 56px -18px rgba(24,104,219,0.44); }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-faint); transform: translateY(-1px); }

.btn-quiet { background: var(--surface-2); color: var(--ink-soft); }
.btn-quiet:hover { background: var(--surface-3); color: var(--ink); }

.btn-lumina { background: linear-gradient(135deg, #e91e63, #9c27b0); color: #fff; box-shadow: 0 14px 34px -12px rgba(156,39,176,0.6); }
.btn-lumina:hover { color: #fff; transform: translateY(-1px); }

.btn-link { color: var(--blue-deep); font-weight: 800; }
.btn-link .arw { transition: transform var(--dur) var(--ease); }
.btn-link:hover .arw { transform: translateX(4px); }

.btn-row { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }

/* on dark surfaces */
.on-dark .btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.2); box-shadow: none; }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,0.16); color: #fff; }

/* ---------------------------------------------------------------------------
 * PILLS / EYEBROW PILL / BADGES
 * ------------------------------------------------------------------------- */
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 7px 14px; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.on-dark .eyebrow-pill { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: #fff; }

.badge { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; padding: 3px 9px; border-radius: var(--r-pill); text-transform: uppercase; }
.badge-blue { background: var(--blue-tint); color: var(--blue-deep); }
.badge-green { background: var(--green-tint); color: var(--green-deep); }
.badge-amber { background: var(--amber-tint); color: var(--amber-deep); }
.badge-mute { background: var(--surface-2); color: var(--ink-mute); }

/* ---------------------------------------------------------------------------
 * PRODUCT ICONS — recoloured SVGs (solid spectrum hue baked in), used as
 * background-image (works over file://; no CORS mask issue). url() resolves
 * relative to this CSS file -> assets/icons/.
 * ------------------------------------------------------------------------- */
.ti { width: 24px; height: 24px; flex: none; display: inline-block; background: var(--ti-src) center / contain no-repeat; }
.ti.lg { width: 34px; height: 34px; }
.ti--empower  { --ti-src: url(../icons/TC_Empower.svg); }
.ti--test     { --ti-src: url(../icons/TC_Test.svg); }
.ti--automate { --ti-src: url(../icons/TC_Automate.svg); }
.ti--grid     { --ti-src: url(../icons/TC_Grid.svg); }
.ti--alm      { --ti-src: url(../icons/TC_ALM.svg); }
.ti--api      { --ti-src: url(../icons/TC_API.svg); }
.ti--devops   { --ti-src: url(../icons/TC_Devops.svg); }
.ti--load     { --ti-src: url(../icons/TC_Load.svg); }
.ti--board    { --ti-src: url(../icons/TC_Board.svg); }
.ti--analysis { --ti-src: url(../icons/TC_Analysis.svg); }
.ti--finance  { --ti-src: url(../icons/TC_Finance.svg); }
.ti--support  { --ti-src: url(../icons/TC_Support.svg); }
.ti--okrs     { --ti-src: url(../icons/TC_OKRs.svg); }
.ti--product  { --ti-src: url(../icons/TC_Product.svg); }

/* tinted square chip behind an icon (spectrum hue) */
.icochip { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.icochip svg { width: 24px; height: 24px; stroke: currentColor; fill: none; }
.icochip--blue { background: var(--blue-tint); color: var(--blue-deep); }
.icochip--teal { background: var(--teal-tint); color: var(--teal-deep); }
.icochip--green { background: var(--green-tint); color: var(--green-deep); }
.icochip--amber { background: var(--amber-tint); color: var(--amber-deep); }
.icochip--magenta { background: var(--magenta-tint); color: var(--magenta-deep); }
.icochip--red { background: var(--red-tint); color: var(--red-deep); }
.icochip--purple { background: var(--purple-tint); color: var(--purple-deep); }

/* ---------------------------------------------------------------------------
 * CARDS
 * ------------------------------------------------------------------------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.card .num { font-family: var(--font-mono); font-weight: 600; font-size: 15px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--primary-tint); color: var(--primary-deep); }
.card h3 { font-size: 1.375rem; margin-bottom: 10px; }
.card p { font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-mute); }

.card-hover { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-bento); }

/* monday-style colored block, keyed to a hue */
.block { border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.block h3 { font-size: 1.3rem; }
.block p { font-size: var(--fs-sm); line-height: 1.55; }
.block .blocknum { font-family: var(--font-mono); font-size: 13px; font-weight: 600; opacity: 0.85; }
.block--blue { background: var(--blue-tint); color: var(--blue-deep); }
.block--teal { background: var(--teal-tint); color: var(--teal-deep); }
.block--green { background: var(--green-tint); color: var(--green-deep); }
.block--amber { background: var(--amber-tint); color: var(--amber-deep); }
.block--magenta { background: var(--magenta-tint); color: var(--magenta-deep); }
.block--purple { background: var(--purple-tint); color: var(--purple-deep); }
.block--red { background: var(--red-tint); color: var(--red-deep); }
.block p, .block .blocknum { color: var(--ink-soft); }

.block.solid { color: #fff; }
.block.solid h3, .block.solid p, .block.solid .blocknum { color: #fff; }
.block.solid p { color: rgba(255,255,255,0.88); }
.block.solid.block--blue { background: var(--grad-blue); }
.block.solid.block--teal { background: linear-gradient(150deg,#49b2b6,#2f8a8e); }
.block.solid.block--green { background: linear-gradient(150deg,#8ac036,#5f8d1d); }
.block.solid.block--amber { background: linear-gradient(150deg,#f6960b,#d97e06); color: var(--ink); }
.block.solid.block--amber h3, .block.solid.block--amber p { color: var(--ink); }
.block.solid.block--magenta { background: linear-gradient(150deg,#d3286e,#a81e57); }
.block.solid.block--purple { background: linear-gradient(150deg,#922791,#6f1c6e); }

/* feature tile */
.tile { background:#fff; border:1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-sm); }
.tile h4 { font-size: 1.0625rem; margin: 14px 0 6px; }
.tile p { font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-mute); }

/* product-module card (featured four) */
.pmcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-bento); display: flex; flex-direction: column; gap: 12px; }
.pmcard .pmtop { display: flex; align-items: center; gap: 12px; }
.pmcard h3 { font-size: 1.375rem; }
.pmcard .pmtag { font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-mute); }
.pmcard p { font-size: var(--fs-sm); color: var(--ink-mute); line-height: 1.55; }
.pmcard .pmlink { margin-top: auto; font-size: var(--fs-sm); font-weight: 800; color: var(--blue-deep); display: inline-flex; align-items: center; gap: 6px; }
.pmcard .pmlink .arw { transition: transform var(--dur) var(--ease); }
.pmcard:hover .pmlink .arw { transform: translateX(4px); }

/* 16-capability grid */
.capgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.capcell { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.capcell:hover { transform: translateY(-3px); box-shadow: var(--shadow-bento); }
.capcell b { font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.capcell small { font-size: var(--fs-xs); color: var(--ink-mute); font-weight: 500; line-height: 1.35; }
.capcell.feat { background: var(--blue-tint); border-color: transparent; }
.capcell.feat small { color: var(--blue-deep); }

/* ---------------------------------------------------------------------------
 * STAT / KPI
 * ------------------------------------------------------------------------- */
.stat-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.stat-card .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 4vw, 3.25rem); line-height: 1; color: var(--primary); letter-spacing: -0.03em; }
.stat-card .lbl { margin-top: 10px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-mute); }

/* ---------------------------------------------------------------------------
 * TRUST cards + partner wall
 * ------------------------------------------------------------------------- */
.trust { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.trust .tic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.trust .tic svg { width: 20px; height: 20px; stroke: #fff; fill: none; }
.trust b { font-size: 0.9375rem; font-weight: 700; display: block; color: var(--ink); }
.trust small { font-size: var(--fs-xs); color: var(--ink-mute); font-weight: 500; }
.tic--green { background: linear-gradient(150deg,#8ac036,#5f8d1d); }
.tic--blue { background: var(--grad-blue); }
.tic--purple { background: linear-gradient(150deg,#922791,#6f1c6e); }
.tic--teal { background: linear-gradient(150deg,#49b2b6,#2f8a8e); }
.tic--amber { background: linear-gradient(150deg,#f6960b,#d97e06); }

.partner-wall { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 56px); flex-wrap: wrap; }
.partner-wall img { height: 34px; width: auto; filter: grayscale(1); opacity: 0.62; transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.partner-wall img:hover { filter: grayscale(0); opacity: 1; }
.trusted-label { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); text-align: center; }

/* ---------------------------------------------------------------------------
 * LUMINA — neon badge (the one contained neon exception; Lumina moments only)
 * ------------------------------------------------------------------------- */
.lumina-badge { position: relative; display: inline-block; border-radius: 50px; animation: lb-pulse 2.4s ease-in-out infinite alternate; }
.lumina-badge .lb {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #e91e63, #9c27b0);
  border-radius: 50px; border: 2px solid #fff; color: #fff;
  font-family: var(--font-body); font-weight: 700; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  height: 30px; padding: 0 15px 0 3px; overflow: hidden; z-index: 2;
}
.lumina-badge .lb::before {
  content: ""; position: absolute; inset: -20px; z-index: -1; border-radius: 50px;
  background: linear-gradient(0deg,#390142,#52094e,#761560,#901d6d,#a02375,#a62578,#761560,#52094e,#390142);
  filter: blur(15px); opacity: 0.8; animation: lb-rotate 3s linear infinite;
}
.lumina-badge .lstar { height: 26px; width: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg,#390142,#52094e,#761560,#901d6d,#a02375,#a62578); }
.lumina-badge .lstar svg { width: 15px; height: 15px; fill: #fff; }
@keyframes lb-rotate { to { transform: rotate(360deg); } }
@keyframes lb-pulse {
  0%   { box-shadow: 0 0 5px rgba(233,30,99,.35), 0 0 10px rgba(156,39,176,.35), 0 0 20px rgba(156,39,176,.2); }
  100% { box-shadow: 0 0 10px rgba(233,30,99,.7), 0 0 22px rgba(156,39,176,.55), 0 0 44px rgba(156,39,176,.35); }
}
@media (prefers-reduced-motion: reduce) {
  .lumina-badge, .lumina-badge .lb::before { animation: none; }
}

/* Lumina orb (brand touch across the site) */
.lumina-orb { position: relative; width: 34px; height: 34px; border-radius: 50%; flex: none; display: inline-block;
  background: radial-gradient(circle at 34% 30%, #d9c2ff 0%, #a855c8 45%, #922791 74%);
  box-shadow: 0 0 0 4px rgba(146,39,145,0.12), 0 8px 20px -4px rgba(146,39,145,0.45); }
.lumina-orb .e { position: absolute; top: 36%; width: 15%; height: 18%; border-radius: 50%; background: #fff; }
.lumina-orb .e.l { left: 28%; } .lumina-orb .e.r { right: 28%; }

.lumina-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.96); border: 1px solid var(--purple-tint); border-radius: 100px; padding: 7px 15px 7px 7px; box-shadow: var(--shadow); cursor: pointer; }
.lumina-fab b { font-size: var(--fs-sm); font-weight: 700; color: var(--purple-deep); }
.lumina-fab .lumina-orb { width: 30px; height: 30px; animation: lum-float 4.2s var(--ease) infinite; }
@keyframes lum-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.mega-feat { display: flex; align-items: center; gap: 12px; background: linear-gradient(100deg, var(--purple-tint), #fff); border: 1px solid var(--purple-tint); border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; }
.mega-feat .lumina-orb { width: 34px; height: 34px; }
.mega-feat b { font-size: 0.9375rem; font-weight: 800; color: var(--ink); display: block; }
.mega-feat small { font-size: var(--fs-xs); color: var(--ink-mute); font-weight: 500; }
.mega-feat .mega-feat-cta { margin-left: auto; font-size: var(--fs-xs); font-weight: 800; color: var(--purple-deep); flex: none; }

/* ---------------------------------------------------------------------------
 * MEDIA FRAMES — browser / device / video / drop-zone / generic aspect frame
 * ------------------------------------------------------------------------- */
.media-frame { position: relative; width: 100%; border-radius: var(--r-lg); overflow: hidden; }
.media-frame[data-aspect] { aspect-ratio: var(--ar, 16 / 9); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.browser { width: 100%; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-frame); border: 1px solid var(--line); }
.browser__bar { display: flex; align-items: center; gap: 10px; padding: 12px 15px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.browser__dots i:nth-child(1) { background: #ff5f57; }
.browser__dots i:nth-child(2) { background: #febc2e; }
.browser__dots i:nth-child(3) { background: #28c840; }
.browser__url { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--ink-mute); display: flex; align-items: center; gap: 7px; }
.browser__url .lock { width: 12px; height: 12px; stroke: var(--green-deep); fill: none; flex: none; }
.browser__body { position: relative; background: var(--surface); overflow: hidden; }
.browser__body svg { display: block; width: 100%; height: auto; }

.videoframe { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-bento); background: var(--grad-deep); aspect-ratio: 16/9; display: grid; place-items: center; }
.videoframe video, .videoframe img.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.videoframe .play { position: relative; z-index: 2; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.94); display: grid; place-items: center; box-shadow: var(--shadow); border: none; cursor: pointer; transition: transform var(--dur) var(--ease-pop); }
.videoframe .play:hover { transform: scale(1.06); }
.videoframe .play svg { width: 24px; height: 24px; fill: var(--blue-deep); margin-left: 3px; }
.videoframe .vlbl { position: absolute; z-index: 2; bottom: 14px; left: 16px; font-size: var(--fs-xs); font-weight: 800; color: #fff; letter-spacing: 0.04em; }

/* drop-zone (labelled capture placeholder) */
.dz { position: relative; border: 2px dashed var(--line); border-radius: var(--r); background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 12px, #fff 12px, #fff 24px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; color: var(--ink-mute); min-height: 160px; }
.dz[data-aspect] { aspect-ratio: var(--ar, 16 / 9); }
.dz .dzic { width: 34px; height: 34px; stroke: var(--ink-faint); fill: none; }
.dz b { font-size: var(--fs-sm); font-weight: 800; color: var(--ink-soft); }
.dz small { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-mute); max-width: 34ch; line-height: 1.45; }
.dz .dztag { position: absolute; top: 10px; right: 10px; font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; background: var(--ink); color: #fff; padding: 3px 8px; border-radius: 100px; letter-spacing: 0.04em; }

/* skeleton shimmer (live-widget loading state) */
.skel { background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface-3) 50%, var(--surface-2) 70%); background-size: 200% 100%; border-radius: 8px; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------------------------------------------------------------------------
 * FORMS
 * ------------------------------------------------------------------------- */
.formcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-bento); }
.formcard h3 { font-size: 1.375rem; margin-bottom: 6px; }
.formcard .form-intro { font-size: var(--fs-sm); color: var(--ink-mute); margin-bottom: var(--s6); }
.field { margin-bottom: var(--s4); }
.field label { display: block; font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-mute); margin-bottom: 6px; }
.field label .req { color: var(--red); }
.field .inp, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink); background: #fff;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field .inp:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.field textarea { min-height: 110px; resize: vertical; }
.field .err-msg { display: none; margin-top: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--red-deep); }
.field.has-error .inp, .field.has-error textarea, .field.has-error select { border-color: var(--red); }
.field.has-error .err-msg { display: block; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--fs-xs); color: var(--ink-faint); margin-top: var(--s3); }
.form-success { display: none; text-align: center; padding: var(--s6) 0; }
.form-success.is-visible { display: block; }
.form-success .check { width: 56px; height: 56px; border-radius: 50%; background: var(--green-tint); display: grid; place-items: center; margin: 0 auto var(--s4); }
.form-success .check svg { width: 28px; height: 28px; stroke: var(--green-deep); fill: none; }

/* ---------------------------------------------------------------------------
 * COOKIE banner
 * ------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  max-width: 760px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-frame); padding: 16px 18px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cookie-banner p { flex: 1; min-width: 220px; font-size: var(--fs-sm); color: var(--ink-soft); font-weight: 500; line-height: 1.45; margin: 0; }
.cookie-banner p a { font-weight: 700; }
.cookie-actions { display: flex; gap: 8px; flex: none; }

/* ---------------------------------------------------------------------------
 * HONEYCOMB — brand accent. The brand hues held in discrete, tessellated hex
 * cells (per brand review: colours contained in a honeycomb, never blended
 * into a rainbow). Reused by .finale .band-art (sections.css). Token: --honeycomb.
 * ------------------------------------------------------------------------- */
.honeycomb { display: block; width: 120px; height: 33px; background: var(--honeycomb) center / contain no-repeat; }

/* ---------------------------------------------------------------------------
 * CLAIM GATE — presentation (mechanism set by inline <head> snippet + gate.js)
 * ------------------------------------------------------------------------- */
/* internal-review build: gated blocks render with a corner review ribbon */
.is-gated { position: relative; outline: 1.5px dashed rgba(233, 168, 0, 0.55); outline-offset: 3px; border-radius: 6px; }
.gate-ribbon {
  position: absolute; top: -11px; left: 12px; z-index: 8;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.02em;
  background: var(--gate-ribbon-bg); color: var(--gate-ribbon-ink);
  padding: 3px 9px; border-radius: 100px; box-shadow: var(--shadow-sm); pointer-events: none;
  text-transform: none;
}
.gate-ribbon.is-confirmed { background: var(--green-tint); color: var(--green-deep); }
/* subtle marker for small / inline gated items (no ribbon) */
.gate-inline { border-bottom: 1px dashed rgba(233, 168, 0, 0.85); }
.gate-inline.is-confirmed { border-bottom-color: rgba(95, 141, 29, 0.6); }

/* public build: hide any block whose category is not yet confirmed */
html[data-claims="public"][data-gate-lumina="off"]       [data-gate~="lumina"],
html[data-claims="public"][data-gate-platform="off"]     [data-gate~="platform"],
html[data-claims="public"][data-gate-security="off"]     [data-gate~="security"],
html[data-claims="public"][data-gate-integrations="off"] [data-gate~="integrations"],
html[data-claims="public"][data-gate-clients="off"]      [data-gate~="clients"] {
  display: none !important;
}
