/* ============================================================================
   INKWELL GENIE — Sections
   ========================================================================== */

/* =========================================================== 01 · HERO === */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 28px);
  padding-bottom: 104px;
  overflow: hidden;
}

#gl {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 2.2s var(--e-out);
}
#gl.is-live { opacity: 1; }

/* Radial scrim so type stays legible over the particle field. Kept light —
   the type carries its own shadow, so the field can stay alive underneath. */
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(46% 42% at 50% 47%, rgba(3,3,7,.62) 0%, rgba(3,3,7,.26) 52%, transparent 78%),
    linear-gradient(180deg, rgba(3,3,7,.78) 0%, transparent 20%, transparent 66%, var(--ink-000) 99%);
}

.hero-inner { position: relative; z-index: 2; text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  height: 30px; padding: 0 8px 0 8px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  background: rgba(10,10,18,.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: var(--f-mono);
  font-size: 0.615rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--parch-300);
  margin-bottom: 30px;
  transition: border-color .4s ease, transform .5s var(--e-out);
}
.hero-badge:hover { border-color: var(--gild-line); transform: translateY(-1px); }
.hero-badge .pip {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--verd-400);
  box-shadow: 0 0 0 3px rgba(95,217,194,.16);
  animation: pip 2.4s ease-in-out infinite;
  margin-left: 5px;
}
@keyframes pip { 0%,100%{opacity:1} 50%{opacity:.35} }
.hero-badge .sep { width: 1px; height: 13px; background: var(--line-2); }
.hero-badge b { color: var(--gild-300); font-weight: 500; }

h1.hero-title {
  margin-bottom: 26px;
  /* lets the particle field stay bright without costing legibility */
  text-shadow: 0 2px 40px rgba(3,3,7,.9), 0 1px 12px rgba(3,3,7,.7);
}
h1.hero-title .l2 { display: block; }
h1.hero-title .foil { text-shadow: none; filter: drop-shadow(0 2px 26px rgba(3,3,7,.95)); }

.hero-sub {
  max-width: 62ch;
  margin: 0 auto 38px;
  font-size: clamp(0.98rem, 1.22vw, 1.155rem);
  line-height: 1.66;
  color: var(--parch-300);
  font-weight: 350;
  text-shadow: 0 1px 22px rgba(3,3,7,.92);
}
.hero-sub b { color: var(--parch-100); font-weight: 500; }

.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-note {
  margin-top: 22px;
  font-family: var(--f-mono);
  font-size: 0.615rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--parch-500);
  text-shadow: 0 1px 16px rgba(3,3,7,.95);
}

/* Scroll cue — parked in the bottom rail, clear of the hero note */
.scroll-cue {
  position: absolute; left: 50%; bottom: 20px; z-index: 3;
  transform: translateX(-50%);
  display: grid; justify-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: .55rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--parch-600);
}
.scroll-cue i {
  display: block; width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--gild-500), transparent);
  position: relative; overflow: hidden;
}
.scroll-cue i::after {
  content: ""; position: absolute; inset: 0;
  background: var(--gild-100);
  animation: cue 2.6s var(--e-in-out) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  60%,100% { transform: translateY(100%); }
}

@media (max-width: 720px) {
  .scroll-cue { display: none; }
  .hero { min-height: 92svh; }
}

/* ============================================== 02 · CONSOLE (hero app) === */
.console-stage {
  position: relative;
  margin-top: -6vh;
  padding-bottom: clamp(60px, 9vw, 130px);
  perspective: 2200px;
  z-index: 3;
}
.console-glow {
  position: absolute; left: 50%; top: 6%;
  width: min(1100px, 92vw); height: 62%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(201,169,97,.20), rgba(110,31,44,.10) 42%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.console {
  position: relative;
  transform: rotateX(var(--rx, 17deg)) scale(var(--cs, .965));
  transform-origin: 50% 0;
  transition: transform .1s linear;
  border-radius: 10px;
  background: linear-gradient(180deg, #101019, #08080F);
  border: 1px solid var(--line-2);
  box-shadow:
    0 2px 0 rgba(245,241,231,.08) inset,
    0 60px 120px -40px rgba(0,0,0,.95),
    0 0 0 1px rgba(201,169,97,.05),
    0 0 90px -30px rgba(201,169,97,.22);
  overflow: hidden;
}

/* chrome bar */
.con-bar {
  display: flex; align-items: center; gap: 14px;
  height: 42px; padding-inline: 14px;
  border-bottom: 1px solid var(--line-1);
  background: linear-gradient(180deg, rgba(245,241,231,.045), transparent);
}
.con-dots { display: flex; gap: 6px; }
.con-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-500); display: block; }
.con-dots i:nth-child(1) { background: #4A2C2C; }
.con-dots i:nth-child(2) { background: #4A422C; }
.con-dots i:nth-child(3) { background: #2C4A38; }
.con-crumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .07em; color: var(--parch-500);
}
.con-crumb b { color: var(--parch-200); font-weight: 500; }
.con-crumb svg { opacity: .4; }
.con-search {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  height: 25px; padding-inline: 9px;
  border: 1px solid var(--line-1); border-radius: 3px;
  background: rgba(0,0,0,.35);
  font-size: .68rem; color: var(--parch-500);
  min-width: 168px;
}
.con-search kbd {
  margin-left: auto; font-family: var(--f-mono); font-size: .55rem;
  border: 1px solid var(--line-2); border-radius: 2px; padding: 0 4px; color: var(--parch-500);
}
.con-avatars { display: flex; }
.con-avatars i {
  width: 21px; height: 21px; border-radius: 50%;
  border: 1.5px solid var(--ink-100);
  display: grid; place-items: center;
  font-family: var(--f-mono); font-size: .5rem; font-style: normal; color: var(--ink-000); font-weight: 700;
}
.con-avatars i + i { margin-left: -7px; }

/* body layout */
.con-body { display: grid; grid-template-columns: 190px 1fr 244px; min-height: 430px; }

.con-side { border-right: 1px solid var(--line-1); padding: 14px 10px; background: rgba(0,0,0,.22); }
.con-side-h {
  font-family: var(--f-mono); font-size: .53rem; letter-spacing: .21em; text-transform: uppercase;
  color: var(--parch-600); padding: 8px 10px 7px;
}
.con-nav { display: grid; gap: 1px; }
.con-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; border-radius: 4px;
  font-size: .755rem; color: var(--parch-400);
  transition: background .3s, color .3s;
}
.con-nav a:hover { background: var(--fill-2); color: var(--parch-200); }
.con-nav a.is-active { background: rgba(201,169,97,.10); color: var(--gild-200); box-shadow: inset 2px 0 0 var(--gild-500); }
.con-nav a .ci { width: 14px; height: 14px; opacity: .85; flex: none; }
.con-nav a .cnt { margin-left: auto; font-family: var(--f-mono); font-size: .55rem; color: var(--parch-600); }

.con-main { padding: 16px 18px; min-width: 0; }
.con-main-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.con-h1 { font-family: var(--f-display); font-size: 1.15rem; color: var(--parch-100); font-variation-settings: "opsz" 30; }
.con-h1 span { font-family: var(--f-mono); font-size: .55rem; letter-spacing: .16em; color: var(--parch-600); display: block; margin-top: 3px; text-transform: uppercase; }
.con-seg { display: flex; border: 1px solid var(--line-1); border-radius: 4px; overflow: hidden; }
.con-seg b {
  font-family: var(--f-mono); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 9px; color: var(--parch-500); font-weight: 400;
}
.con-seg b.on { background: var(--fill-3); color: var(--parch-100); }

/* table */
.con-table { width: 100%; border-collapse: collapse; font-size: .74rem; }
.con-table th {
  text-align: left; font-family: var(--f-mono); font-weight: 400;
  font-size: .53rem; letter-spacing: .17em; text-transform: uppercase; color: var(--parch-600);
  padding: 0 10px 8px 0; border-bottom: 1px solid var(--line-1);
}
.con-table td { padding: 9px 10px 9px 0; border-bottom: 1px solid rgba(245,241,231,.035); vertical-align: middle; }
.con-table tr { transition: background .3s; }
.con-table tbody tr:hover { background: rgba(245,241,231,.025); }
.tt { display: flex; align-items: center; gap: 9px; }
.tt-cover {
  width: 22px; height: 30px; flex: none; border-radius: 1.5px;
  background: linear-gradient(150deg, var(--ox-500), var(--ox-900));
  box-shadow: inset -1px 0 0 rgba(0,0,0,.5), 1px 1px 3px rgba(0,0,0,.5);
  position: relative;
}
.tt-cover::after { content:""; position:absolute; left:2.5px; top:0; bottom:0; width:1px; background: rgba(0,0,0,.45); }
.tt-cover.c2 { background: linear-gradient(150deg, #1E3A4A, #0A1620); }
.tt-cover.c3 { background: linear-gradient(150deg, #3A2F14, #14100704); background-color:#14100A; }
.tt-cover.c4 { background: linear-gradient(150deg, #2B2140, #100B1C); }
.tt-cover.c5 { background: linear-gradient(150deg, #143026, #06120E); }
.tt > span:last-child { display: block; min-width: 0; }
.tt-name { display: block; color: var(--parch-200); font-weight: 450; line-height: 1.25; }
.tt-meta { display: block; font-family: var(--f-mono); font-size: .55rem; color: var(--parch-600); letter-spacing: .05em; margin-top: 2px; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--f-mono); font-size: .53rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 2px; white-space: nowrap;
  border: 1px solid;
}
.chip::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.chip.k-edit { color: var(--iris-400); border-color: rgba(124,108,245,.3); background: rgba(124,108,245,.10); }
.chip.k-comp { color: var(--gild-300); border-color: rgba(201,169,97,.3); background: rgba(201,169,97,.09); }
.chip.k-live { color: var(--verd-400); border-color: rgba(95,217,194,.3); background: rgba(95,217,194,.09); }
.chip.k-promo { color: var(--coral-500); border-color: rgba(228,112,90,.3); background: rgba(228,112,90,.09); }
.chip.k-hold { color: var(--parch-500); border-color: var(--line-2); background: var(--fill-1); }

.bar-mini { width: 100%; height: 3px; background: var(--fill-2); border-radius: 2px; overflow: hidden; }
.bar-mini i { display: block; height: 100%; background: var(--foil); background-size: 200% 100%; }
.num { font-family: var(--f-mono); font-size: .68rem; color: var(--parch-300); }
.num.up { color: var(--verd-400); }
.num.dn { color: var(--coral-500); }

.con-rail { border-left: 1px solid var(--line-1); padding: 16px 14px; background: rgba(0,0,0,.22); display: grid; gap: 14px; align-content: start; }
.rail-card { border: 1px solid var(--line-1); border-radius: 5px; padding: 11px; background: rgba(245,241,231,.018); }
.rail-h {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-mono); font-size: .53rem; letter-spacing: .17em; text-transform: uppercase; color: var(--parch-600);
  margin-bottom: 9px;
}
.rail-big { font-family: var(--f-display); font-size: 1.7rem; color: var(--parch-100); line-height: 1; font-variation-settings:"opsz" 40; }
.rail-big sub { font-family: var(--f-mono); font-size: .5rem; color: var(--parch-500); vertical-align: super; margin-left: 3px; }
.rail-sub { font-size: .66rem; color: var(--parch-500); margin-top: 5px; }
.spark { width: 100%; height: 38px; margin-top: 8px; }
.spark path.line { fill: none; stroke: var(--gild-500); stroke-width: 1.3; stroke-linecap: round; }
.spark path.area { fill: url(#sparkFill); stroke: none; }

.eng-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: .66rem; color: var(--parch-400); }
.eng-row .dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.eng-row .val { margin-left: auto; font-family: var(--f-mono); font-size: .62rem; color: var(--parch-200); }
.eng-row .track { width: 46px; height: 2px; background: var(--fill-2); border-radius: 2px; overflow: hidden; }
.eng-row .track i { display: block; height: 100%; }

/* activity ticker */
.con-foot {
  border-top: 1px solid var(--line-1);
  height: 30px; display: flex; align-items: center; gap: 16px;
  padding-inline: 14px; overflow: hidden;
  background: rgba(0,0,0,.3);
  font-family: var(--f-mono); font-size: .57rem; letter-spacing: .06em; color: var(--parch-500);
}
.con-foot .live { display: flex; align-items: center; gap: 6px; color: var(--verd-400); flex: none; }
.con-foot .live i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: pip 1.8s infinite; }
.tick-view { flex: 1; overflow: hidden; height: 14px; position: relative; }
.tick-view ul { position: absolute; inset: 0; }
.tick-view li { height: 14px; line-height: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tick-view li b { color: var(--gild-300); font-weight: 500; }
.tick-view li em { color: var(--parch-300); font-style: normal; }

@media (max-width: 1080px) {
  .con-body { grid-template-columns: 1fr 224px; }
  .con-side { display: none; }
}
@media (max-width: 780px) {
  .con-body { grid-template-columns: 1fr; }
  .con-rail { display: none; }
  .con-bar .con-search { display: none; }
  .console-stage { perspective: none; }
  .console { transform: none !important; }
}
@media (max-width: 620px) {
  /* the console is a proof surface, not a data table — drop the columns that
     stop being legible before they start being clipped */
  .con-seg, .con-avatars { display: none; }
  .con-table th:nth-child(3), .con-table td:nth-child(3) { display: none; }
  .con-main { padding: 14px 12px; }
  .con-body { min-height: 0; }
  .con-h1 { font-size: 1rem; }
  .tt-cover { width: 18px; height: 25px; }
  .con-crumb span { display: none; }
  .con-crumb svg { display: none; }
}
@media (max-width: 430px) {
  .con-table th:nth-child(4), .con-table td:nth-child(4) { display: none; }
}

/* ======================================================= 03 · MARQUEE === */
.marquee-sec { padding-block: 34px; border-block: 1px solid var(--line-1); background: rgba(6,6,12,.6); }
.marquee-lab {
  text-align: center; margin-bottom: 22px;
  font-family: var(--f-mono); font-size: .58rem; letter-spacing: .24em; text-transform: uppercase; color: var(--parch-600);
}
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marq 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track.rev { animation-direction: reverse; animation-duration: 58s; }
@keyframes marq { to { transform: translateX(-50%); } }
.mq-item {
  display: flex; align-items: center; gap: 10px;
  padding-inline: clamp(20px, 3vw, 46px);
  font-family: var(--f-display);
  font-size: clamp(.95rem, 1.25vw, 1.2rem);
  letter-spacing: .06em;
  color: var(--parch-500);
  white-space: nowrap;
  transition: color .4s ease;
  font-variation-settings: "opsz" 30;
}
.mq-item:hover { color: var(--gild-300); }
.mq-item .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--parch-600); }
.mq-item small { font-family: var(--f-mono); font-size: .55rem; letter-spacing: .16em; text-transform: uppercase; color: var(--parch-600); }

/* second, counter-running band — the facts under the names */
.marquee--sub { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-1); }
.mq-sub {
  padding-inline: clamp(14px, 1.8vw, 26px);
  font-family: var(--f-mono); font-size: .615rem; letter-spacing: .19em; text-transform: uppercase;
  color: var(--parch-500); white-space: nowrap;
  transition: color .4s ease;
}
.mq-sub:hover { color: var(--gild-300); }
.mq-sub.sep { color: var(--gild-700); padding-inline: 0; }

/* ========================================================= 04 · STATS === */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line-1); border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(245,241,231,.028), transparent);
}
.stat { padding: clamp(22px, 3vw, 38px); border-right: 1px solid var(--line-1); position: relative; }
.stat:last-child { border-right: 0; }
.stat-v {
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 1; color: var(--parch-100);
  font-variation-settings: "opsz" 72;
  display: flex; align-items: baseline; gap: 2px;
}
.stat-v .suf { font-size: .42em; color: var(--gild-400); }
.stat-l { margin-top: 12px; font-size: .81rem; color: var(--parch-400); line-height: 1.45; font-weight: 350; }
.stat-k { font-family: var(--f-mono); font-size: .53rem; letter-spacing: .19em; text-transform: uppercase; color: var(--parch-600); margin-bottom: 14px; }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-1); }
}

/* ====================================================== 05 · MANIFESTO === */
.manifesto { position: relative; overflow: hidden; }
.manifesto-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 78% 20%, rgba(110,31,44,.20), transparent 66%),
    radial-gradient(46% 55% at 12% 82%, rgba(201,169,97,.09), transparent 68%);
}
.mf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(34px, 6vw, 96px); align-items: start; }
.mf-quote {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3.05vw, 2.72rem);
  line-height: 1.14; letter-spacing: -.02em;
  color: var(--parch-100);
  font-variation-settings: "opsz" 72;
}
.mf-quote em { font-style: italic; }
.mf-quote .dim { color: var(--parch-500); }
.mf-body { display: grid; gap: 18px; padding-top: 10px; }
.mf-body p { font-size: .955rem; line-height: 1.72; color: var(--parch-400); font-weight: 350; }
.mf-body p b { color: var(--parch-200); font-weight: 500; }
.mf-sig { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding-top: 20px; border-top: 1px solid var(--line-1); }
.mf-sig .nm { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--parch-500); }
@media (max-width: 900px) { .mf-grid { grid-template-columns: 1fr; } }

/* ======================================================= 06 · PIPELINE === */
.pipe-wrap { position: relative; }

/* The rail shares the node grid, so every stop sits exactly above its card.
   Built in DOM rather than SVG for that reason — an SVG path stretched to
   100% width never lines up with a CSS grid. */
.pipe-rail { position: relative; height: 72px; margin-bottom: 4px; }
.pipe-track {
  position: absolute; left: 10%; right: 10%; top: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 6%, var(--line-2) 94%, transparent);
  overflow: hidden;
}
.pipe-spark {
  position: absolute; top: 0; left: 0; height: 100%; width: 22%;
  background: linear-gradient(90deg, transparent, var(--gild-300), transparent);
  animation: pipe-run 6.5s cubic-bezier(0.65,0,0.35,1) infinite;
  filter: drop-shadow(0 0 4px rgba(201,169,97,.8));
}
@keyframes pipe-run {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(560%); }
}
.pipe-stops {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
}
.pstop { position: relative; display: grid; justify-items: center; }
/* the node marker */
.pstop b {
  position: absolute; top: 28px;
  width: 13px; height: 13px; border-radius: 50%;
  border: 1px solid var(--line-3);
  background: var(--ink-000);
  transition: border-color .5s var(--e-out), box-shadow .5s var(--e-out), transform .5s var(--e-spring);
}
.pstop b::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  background: var(--parch-600);
  transition: background .5s ease;
}
.pstop.is-on b {
  border-color: var(--gild-500);
  box-shadow: 0 0 0 4px rgba(201,169,97,.10), 0 0 18px rgba(201,169,97,.55);
  transform: scale(1.18);
}
.pstop.is-on b::after { background: var(--gild-200); }
/* the tick dropping from the marker to its card */
.pstop s {
  position: absolute; top: 43px; width: 1px; height: 29px;
  background: linear-gradient(180deg, var(--line-2), transparent);
  transition: background .5s ease;
}
.pstop.is-on s { background: linear-gradient(180deg, var(--gild-500), transparent); }

.pipe-nodes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pipe-node {
  position: relative; text-align: left;
  padding: 16px 16px 18px;
  border: 1px solid var(--line-1); border-radius: 6px;
  background: linear-gradient(180deg, rgba(245,241,231,.03), transparent);
  transition: border-color .45s ease, background .45s ease, transform .55s var(--e-out);
  cursor: pointer;
}
.pipe-node:hover { transform: translateY(-3px); border-color: var(--line-2); }
.pipe-node.is-on {
  border-color: var(--gild-line);
  background: linear-gradient(180deg, rgba(201,169,97,.10), rgba(201,169,97,.01));
  box-shadow: 0 0 40px -18px rgba(201,169,97,.6);
}
.pipe-node .pn-no { display: block; font-family: var(--f-mono); font-size: .53rem; letter-spacing: .2em; color: var(--parch-600); }
.pipe-node .pn-nm {
  display: block;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--parch-100); margin-top: 10px;
  transition: color .4s ease;
}
.pipe-node.is-on .pn-nm { color: var(--gild-200); }
.pipe-node .pn-ro { display: block; font-size: .73rem; color: var(--parch-500); margin-top: 6px; font-weight: 350; }

.pipe-detail {
  margin-top: 22px;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  border: 1px solid var(--line-1); border-radius: 8px;
  padding: clamp(22px, 3.4vw, 40px);
  background: linear-gradient(150deg, rgba(245,241,231,.035), rgba(245,241,231,.006));
  min-height: 250px;
}
.pd-pane { display: none; }
.pd-pane.is-on { display: contents; }
.pd-left h3 { margin-bottom: 14px; }
.pd-left p { font-size: .93rem; line-height: 1.68; color: var(--parch-400); font-weight: 350; margin-bottom: 18px; }
.pd-list { display: grid; gap: 9px; }
.pd-list li { display: flex; gap: 10px; font-size: .84rem; color: var(--parch-300); font-weight: 350; }
.pd-list li::before { content: ""; width: 5px; height: 5px; margin-top: .55em; flex: none; background: var(--gild-500); transform: rotate(45deg); }
.pd-right { display: grid; align-content: start; gap: 10px; }
@media (max-width: 900px) {
  .pipe-nodes { grid-template-columns: repeat(2, 1fr); }
  .pipe-rail { display: none; }
  .pipe-detail { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .pipe-nodes { grid-template-columns: 1fr; } }

/* metric strips used inside pipeline detail */
.mstrip {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 15px; border: 1px solid var(--line-1); border-radius: 5px;
  background: rgba(0,0,0,.28);
}
.mstrip .k { font-family: var(--f-mono); font-size: .56rem; letter-spacing: .17em; text-transform: uppercase; color: var(--parch-600); flex: 1; }
.mstrip .v { font-family: var(--f-display); font-size: 1.4rem; color: var(--parch-100); font-variation-settings:"opsz" 40; }
.mstrip .v small { font-family: var(--f-mono); font-size: .55rem; color: var(--gild-400); margin-left: 4px; }

/* ================================================== 07 · PRODUCT BENTO === */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.pcard {
  position: relative;
  border: 1px solid var(--line-1); border-radius: 9px;
  background: linear-gradient(165deg, rgba(245,241,231,.042), rgba(245,241,231,.008) 46%, transparent);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .5s ease, transform .7s var(--e-out), box-shadow .7s var(--e-out);
  transform-style: preserve-3d;
}
.pcard:hover { border-color: var(--line-2); box-shadow: 0 30px 70px -34px rgba(0,0,0,.95); }
/* cursor-following spotlight */
.pcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(201,169,97,.13), transparent 62%);
  opacity: 0; transition: opacity .55s ease;
}
.pcard:hover::after { opacity: 1; }
.pcard--wide { grid-column: span 4; }
.pcard--half { grid-column: span 3; }
.pcard--third { grid-column: span 2; }

.pc-head { padding: 24px 24px 0; position: relative; z-index: 1; }
.pc-tag { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.pc-name {
  font-family: var(--f-mono); font-size: .8rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--parch-100);
  display: flex; align-items: center; gap: 10px;
}
.pc-name .ico {
  width: 26px; height: 26px; display: grid; place-items: center; flex: none;
  border: 1px solid var(--gild-line); border-radius: 4px;
  background: linear-gradient(150deg, rgba(201,169,97,.16), transparent);
  color: var(--gild-300);
}
.pc-name .ico svg { width: 13px; height: 13px; }
.pc-role { font-family: var(--f-mono); font-size: .55rem; letter-spacing: .16em; text-transform: uppercase; color: var(--parch-600); }
.pc-title { font-family: var(--f-display); font-size: clamp(1.2rem, 1.85vw, 1.62rem); line-height: 1.12; color: var(--parch-100); margin-bottom: 10px; font-variation-settings:"opsz" 40; }
.pc-desc { font-size: .865rem; line-height: 1.6; color: var(--parch-400); font-weight: 350; }
.pc-foot { margin-top: auto; padding: 18px 24px 22px; position: relative; z-index: 1; }
.pc-metrics { display: flex; gap: 22px; flex-wrap: wrap; }
.pc-metric .v { font-family: var(--f-display); font-size: 1.25rem; color: var(--gild-200); font-variation-settings:"opsz" 30; }
.pc-metric .k { font-family: var(--f-mono); font-size: .52rem; letter-spacing: .15em; text-transform: uppercase; color: var(--parch-600); margin-top: 2px; }
.pc-visual { position: relative; z-index: 1; padding: 20px 24px 0; flex: 1; min-height: 0; }

@media (max-width: 1000px) {
  .pcard--wide, .pcard--half, .pcard--third { grid-column: span 6; }
}

/* ---- mini product visuals (pure CSS/SVG) ---- */
/* FOLIO: manuscript with tracked AI edits */
.ms {
  border: 1px solid var(--line-1); border-top-left-radius: 5px; border-top-right-radius: 5px;
  background: rgba(0,0,0,.34); padding: 14px; font-size: .7rem; line-height: 1.75;
  border-bottom: 0; height: 100%; overflow: hidden;
}
.ms-h { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; font-family: var(--f-mono); font-size: .53rem; letter-spacing: .16em; text-transform: uppercase; color: var(--parch-600); }
.ms-h .pill { padding: 2px 6px; border: 1px solid rgba(124,108,245,.3); border-radius: 2px; color: var(--iris-400); background: rgba(124,108,245,.1); }
.ms p { color: var(--parch-400); font-family: var(--f-display); font-size: .84rem; line-height: 1.62; font-variation-settings:"opsz" 14; }
.ms del { color: var(--parch-600); text-decoration-color: var(--coral-500); text-decoration-thickness: 1px; }
.ms ins { color: var(--gild-200); text-decoration: none; background: rgba(201,169,97,.10); box-shadow: 0 0 0 2px rgba(201,169,97,.10); border-radius: 1px; }
.ms .cmt {
  margin-top: 11px; padding: 8px 10px; border-left: 1.5px solid var(--iris-500);
  background: rgba(124,108,245,.07); font-family: var(--f-ui); font-size: .69rem; color: var(--parch-400);
}
.ms .cmt b { color: var(--iris-400); font-weight: 500; font-family: var(--f-mono); font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 3px; }

/* INDEX: share-of-answer bars */
.soa { display: grid; gap: 9px; }
.soa-row { display: grid; grid-template-columns: 78px 1fr 40px; align-items: center; gap: 10px; }
.soa-row .nm { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .1em; color: var(--parch-400); }
.soa-row .tr { height: 5px; background: var(--fill-2); border-radius: 3px; overflow: hidden; }
.soa-row .tr i { display: block; height: 100%; border-radius: 3px; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--e-out); }
.is-in .soa-row .tr i { transform: scaleX(1); }
.soa-row .vv { font-family: var(--f-mono); font-size: .62rem; color: var(--parch-200); text-align: right; }

/* JACKET: social asset cards */
.jack { display: flex; gap: 9px; }
.jk {
  flex: 1; aspect-ratio: 4/5; border-radius: 4px; border: 1px solid var(--line-1);
  background: linear-gradient(160deg, var(--ox-500), var(--ink-200));
  position: relative; overflow: hidden;
  transition: transform .6s var(--e-out);
}
.pcard:hover .jk:nth-child(1) { transform: translateY(-5px) rotate(-2deg); }
.pcard:hover .jk:nth-child(2) { transform: translateY(-9px); }
.pcard:hover .jk:nth-child(3) { transform: translateY(-5px) rotate(2deg); }
.jk:nth-child(2) { background: linear-gradient(160deg, #1B3A4B, var(--ink-200)); }
.jk:nth-child(3) { background: linear-gradient(160deg, #2E2450, var(--ink-200)); }
.jk::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 8px; height: 3px;
  background: rgba(245,241,231,.3); border-radius: 2px;
  box-shadow: 0 -7px 0 rgba(245,241,231,.18), 0 -14px 0 rgba(245,241,231,.1);
}
.jk .badge {
  position: absolute; top: 7px; left: 7px;
  font-family: var(--f-mono); font-size: .45rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 2px 5px; border-radius: 2px; background: rgba(0,0,0,.55); color: var(--gild-200);
  border: 1px solid rgba(201,169,97,.25);
}

/* FOUNDRY: format outputs */
.fmt { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.fmt div {
  border: 1px solid var(--line-1); border-radius: 4px; padding: 10px;
  background: rgba(0,0,0,.28);
  display: flex; align-items: center; gap: 9px;
  transition: border-color .4s, background .4s;
}
.pcard:hover .fmt div { border-color: var(--gild-line); }
.fmt div .ex { font-family: var(--f-mono); font-size: .56rem; letter-spacing: .14em; color: var(--gild-300); }
.fmt div .dt { font-size: .64rem; color: var(--parch-500); margin-left: auto; font-family: var(--f-mono); }

/* COLOPHON: onix rows */
.onix { font-family: var(--f-mono); font-size: .58rem; }
.onix div { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid rgba(245,241,231,.04); }
.onix .k { color: var(--parch-600); letter-spacing: .1em; min-width: 96px; }
.onix .v { color: var(--parch-300); }
.onix .ok { margin-left: auto; color: var(--verd-400); }

/* =================================================== 08 · SPOTLIGHT/GEO === */
.spot { position: relative; overflow: hidden; }
.spot + .spot { border-top: 1px solid var(--line-1); }
.spot-grid {
  display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(34px, 5.5vw, 88px); align-items: center;
}
/* When the panel leads, the wide column has to lead with it — otherwise the
   product surface gets squeezed into the narrow side. */
.spot-grid.is-rev { grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); }
.spot-grid.is-rev > .spot-copy { order: 2; }
.spot-copy h2 { margin-bottom: 20px; }
.spot-copy .lede { margin-bottom: 26px; }
.spot-feats { display: grid; gap: 16px; margin-bottom: 30px; }
.spot-feat { display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.spot-feat .fi {
  width: 26px; height: 26px; border-radius: 3px; display: grid; place-items: center;
  border: 1px solid var(--gild-line); color: var(--gild-300);
  background: linear-gradient(150deg, rgba(201,169,97,.14), transparent);
}
.spot-feat .fi svg { width: 13px; height: 13px; }
.spot-feat h4 { font-size: .875rem; color: var(--parch-100); font-weight: 500; margin-bottom: 4px; }
.spot-feat p { font-size: .82rem; color: var(--parch-400); line-height: 1.6; font-weight: 350; }
/* Tracked changes need air between the strike and the replacement, or the two
   read as one mangled word. */
.ms del, .bench-doc del { margin-right: .28em; }
.ms ins, .bench-doc ins { margin-left: 0; }
.bench-doc ins, .ms ins { padding-inline: .18em; }

@media (max-width: 960px) {
  .spot-grid, .spot-grid.is-rev { grid-template-columns: 1fr; }
  .spot-grid.is-rev > .spot-copy { order: 0; }
}

/* --- The big AI-visibility dashboard --- */
.geo { padding: 18px; }
.geo-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.geo-title { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--parch-500); }
.geo-title b { display: block; font-family: var(--f-display); font-size: 1.45rem; letter-spacing: 0; text-transform: none; color: var(--parch-100); margin-top: 5px; font-weight: 400; font-variation-settings:"opsz" 40; }
.geo-kpis { display: flex; gap: 10px; flex-wrap: wrap; }
.kpi { border: 1px solid var(--line-1); border-radius: 5px; padding: 9px 13px; background: rgba(0,0,0,.3); min-width: 96px; }
.kpi .k { font-family: var(--f-mono); font-size: .5rem; letter-spacing: .16em; text-transform: uppercase; color: var(--parch-600); }
.kpi .v { font-family: var(--f-display); font-size: 1.28rem; color: var(--parch-100); margin-top: 4px; font-variation-settings:"opsz" 30; }
.kpi .d { font-family: var(--f-mono); font-size: .55rem; margin-top: 2px; }
.kpi .d.up { color: var(--verd-400); }
.kpi .d.dn { color: var(--coral-500); }

.geo-chart { position: relative; border: 1px solid var(--line-1); border-radius: 6px; background: rgba(0,0,0,.3); padding: 14px 12px 10px; }
.geo-chart svg { width: 100%; height: 210px; overflow: visible; }
.gc-grid line { stroke: rgba(245,241,231,.055); stroke-width: 1; }
.gc-axis { font-family: var(--f-mono); font-size: 7.5px; fill: var(--parch-600); letter-spacing: .1em; }
.gc-line { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: var(--len); stroke-dashoffset: var(--len);
  transition: stroke-dashoffset 2.4s var(--e-out); }
.is-in .gc-line { stroke-dashoffset: 0; }
.gc-area { opacity: 0; transition: opacity 1.6s ease .8s; }
.is-in .gc-area { opacity: 1; }
.gc-dot { opacity: 0; transition: opacity .6s ease 2s; }
.is-in .gc-dot { opacity: 1; }
.geo-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line-1); }
.geo-legend span { display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .55rem; letter-spacing: .1em; color: var(--parch-500); }
.geo-legend i { width: 12px; height: 2px; border-radius: 2px; }

.geo-prompts { margin-top: 12px; display: grid; gap: 7px; }
.gp {
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
  border: 1px solid var(--line-1); border-radius: 4px; padding: 9px 12px;
  background: rgba(0,0,0,.24);
  transition: border-color .4s, background .4s;
}
.gp:hover { border-color: var(--gild-line); background: rgba(201,169,97,.045); }
.gp .q { font-size: .755rem; color: var(--parch-300); font-weight: 350; }
.gp .q em { font-style: normal; color: var(--parch-600); font-family: var(--f-mono); font-size: .58rem; margin-right: 7px; }
.gp .eng { display: flex; gap: 4px; }
.gp .eng b {
  width: 19px; height: 19px; border-radius: 3px; display: grid; place-items: center;
  font-family: var(--f-mono); font-size: .5rem; font-weight: 500;
  border: 1px solid var(--line-2); color: var(--parch-600);
}
.gp .eng b.hit { border-color: rgba(95,217,194,.4); color: var(--verd-400); background: rgba(95,217,194,.1); }
.gp .rank { font-family: var(--f-mono); font-size: .62rem; color: var(--gild-300); min-width: 34px; text-align: right; }

/* --- Manuscript workbench (FOLIO spotlight) --- */
.bench { display: grid; grid-template-columns: 1fr 208px; min-height: 400px; }
.bench-main { padding: 20px 22px; border-right: 1px solid var(--line-1); min-width: 0; }
.bench-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.bench-bar .tab {
  font-family: var(--f-mono); font-size: .55rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 3px; color: var(--parch-500); border: 1px solid transparent;
}
.bench-bar .tab.on { color: var(--gild-200); border-color: var(--gild-line); background: rgba(201,169,97,.08); }
.bench-bar .push { margin-left: auto; }
.bench-doc { font-family: var(--f-display); font-size: .95rem; line-height: 1.85; color: var(--parch-300); font-variation-settings:"opsz" 14; }
.bench-doc h5 { font-family: var(--f-mono); font-size: .55rem; letter-spacing: .22em; text-transform: uppercase; color: var(--parch-600); margin-bottom: 12px; font-weight: 400; }
.bench-doc p + p { margin-top: 13px; }
.bench-doc del { color: var(--parch-600); text-decoration-color: rgba(228,112,90,.8); }
.bench-doc ins {
  text-decoration: none; color: var(--gild-100);
  background: rgba(201,169,97,.12); border-radius: 2px; padding: 0 2px;
  box-shadow: inset 0 -1px 0 rgba(201,169,97,.4);
}
.bench-doc mark { background: rgba(124,108,245,.14); color: var(--iris-400); border-radius: 2px; padding: 0 2px; }
.bench-side { padding: 20px 16px; display: grid; gap: 12px; align-content: start; background: rgba(0,0,0,.24); }
.bs-h { font-family: var(--f-mono); font-size: .52rem; letter-spacing: .19em; text-transform: uppercase; color: var(--parch-600); }
.bs-card { border: 1px solid var(--line-1); border-radius: 5px; padding: 11px; background: rgba(245,241,231,.02); }
.bs-card .t { font-size: .72rem; color: var(--parch-200); font-weight: 450; margin-bottom: 5px; display: flex; align-items: center; gap: 6px; }
.bs-card .t .ag { width: 5px; height: 5px; border-radius: 50%; background: var(--iris-500); }
.bs-card .b { font-size: .69rem; color: var(--parch-500); line-height: 1.5; }
.bs-card .acts { display: flex; gap: 6px; margin-top: 9px; }
.bs-card .acts b {
  font-family: var(--f-mono); font-size: .5rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 2px; border: 1px solid var(--line-2); color: var(--parch-400); font-weight: 400;
}
.bs-card .acts b.pri { border-color: var(--gild-line); color: var(--gild-200); background: rgba(201,169,97,.1); }
.bs-gauge { display: grid; gap: 7px; }
.bs-gauge .row { display: grid; grid-template-columns: 1fr 30px; gap: 8px; align-items: center; font-family: var(--f-mono); font-size: .55rem; color: var(--parch-500); }
.bs-gauge .row .tr { grid-column: 1 / -1; height: 3px; background: var(--fill-2); border-radius: 2px; overflow: hidden; }
.bs-gauge .row .tr i { display: block; height: 100%; background: var(--foil); background-size: 200% 100%; }
@media (max-width: 720px) { .bench { grid-template-columns: 1fr; } .bench-main { border-right: 0; border-bottom: 1px solid var(--line-1); } }

/* --- Campaign board (JACKET spotlight) --- */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; }
.bcol { display: grid; gap: 8px; align-content: start; }
.bcol-h {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-mono); font-size: .53rem; letter-spacing: .17em; text-transform: uppercase; color: var(--parch-600);
  padding-bottom: 8px; border-bottom: 1px solid var(--line-1); margin-bottom: 3px;
}
.bcol-h .n { color: var(--parch-500); }
.bcard {
  border: 1px solid var(--line-1); border-radius: 5px; padding: 11px;
  background: linear-gradient(160deg, rgba(245,241,231,.035), transparent);
  transition: transform .55s var(--e-out), border-color .4s;
}
.bcard:hover { transform: translateY(-3px); border-color: var(--gild-line); }
.bcard .ch { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.bcard .ch .ic { width: 16px; height: 16px; border-radius: 3px; display: grid; place-items: center; font-family: var(--f-mono); font-size: .48rem; font-weight: 700; }
.bcard .ch .nm { font-family: var(--f-mono); font-size: .5rem; letter-spacing: .14em; text-transform: uppercase; color: var(--parch-600); }
.bcard .tx { font-size: .715rem; line-height: 1.5; color: var(--parch-300); font-weight: 350; }
.bcard .ft { display: flex; align-items: center; gap: 8px; margin-top: 9px; font-family: var(--f-mono); font-size: .5rem; letter-spacing: .1em; color: var(--parch-600); }
.bcard .ft .av { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(140deg, var(--gild-500), var(--ox-500)); }
.bcard.gen { border-style: dashed; border-color: var(--gild-line); background: rgba(201,169,97,.05); }
.bcard.gen .tx { color: var(--gild-200); display: flex; align-items: center; gap: 7px; }
@media (max-width: 640px) { .board { grid-template-columns: 1fr; } .bcol:nth-child(n+3) { display: none; } }

/* ================================================ 09 · MODEL/ENTERPRISE === */
.ent { background: linear-gradient(180deg, var(--ink-000), var(--ink-050) 50%, var(--ink-000)); }
.ent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ecard {
  border: 1px solid var(--line-1); border-radius: 7px; padding: 24px;
  background: linear-gradient(165deg, rgba(245,241,231,.032), transparent 60%);
  transition: border-color .5s, transform .6s var(--e-out);
}
.ecard:hover { border-color: var(--gild-line); transform: translateY(-3px); }
.ecard .ei { width: 30px; height: 30px; margin-bottom: 16px; display: grid; place-items: center; border: 1px solid var(--gild-line); border-radius: 4px; color: var(--gild-300); background: linear-gradient(150deg, rgba(201,169,97,.15), transparent); }
.ecard .ei svg { width: 15px; height: 15px; }
.ecard h4 { font-family: var(--f-display); font-size: 1.12rem; color: var(--parch-100); margin-bottom: 9px; font-variation-settings:"opsz" 30; }
.ecard p { font-size: .835rem; line-height: 1.62; color: var(--parch-400); font-weight: 350; }
@media (max-width: 900px) { .ent-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ent-grid { grid-template-columns: 1fr; } }

/* compliance strip */
.compliance { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 34px; }
.comp-badge {
  display: flex; align-items: center; gap: 9px;
  border: 1px solid var(--line-1); border-radius: 100px; padding: 8px 16px;
  font-family: var(--f-mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--parch-400);
  background: rgba(245,241,231,.018);
  transition: border-color .4s, color .4s;
}
.comp-badge:hover { border-color: var(--gild-line); color: var(--gild-200); }
.comp-badge svg { width: 12px; height: 12px; color: var(--gild-500); }

/* architecture diagram */
.arch { border: 1px solid var(--line-1); border-radius: 8px; padding: clamp(20px,3vw,34px); background: rgba(0,0,0,.28); }
.arch-row { display: grid; gap: 9px; }
.arch-tier { border: 1px dashed var(--line-2); border-radius: 6px; padding: 14px; }
.arch-tier + .arch-tier { margin-top: 9px; }
.arch-lab { font-family: var(--f-mono); font-size: .52rem; letter-spacing: .2em; text-transform: uppercase; color: var(--parch-600); margin-bottom: 11px; }
.arch-cells { display: flex; flex-wrap: wrap; gap: 7px; }
.arch-cell {
  flex: 1 1 auto; min-width: 96px;
  border: 1px solid var(--line-1); border-radius: 4px; padding: 9px 11px;
  background: linear-gradient(160deg, rgba(245,241,231,.045), transparent);
  font-family: var(--f-mono); font-size: .58rem; letter-spacing: .1em; color: var(--parch-300);
  text-align: center;
  transition: border-color .4s, color .4s, background .4s;
}
.arch-cell:hover { border-color: var(--gild-line); color: var(--gild-200); }
.arch-cell.acc { border-color: var(--gild-line); color: var(--gild-200); background: rgba(201,169,97,.08); }
.arch-cell small { display: block; font-size: .48rem; color: var(--parch-600); letter-spacing: .14em; margin-top: 3px; }
.arch-flow { text-align: center; color: var(--parch-600); font-size: .7rem; padding: 2px 0; }

/* ================================================== 10 · INTEGRATIONS === */
.integ { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line-1); border: 1px solid var(--line-1); border-radius: 7px; overflow: hidden; }
.itile {
  background: var(--ink-050);
  padding: 22px 14px; display: grid; place-items: center; gap: 10px;
  transition: background .45s ease;
  min-height: 106px;
}
.itile:hover { background: var(--ink-200); }
.itile .ig { width: 22px; height: 22px; color: var(--parch-500); transition: color .45s; }
.itile:hover .ig { color: var(--gild-300); }
.itile .il { font-family: var(--f-mono); font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; color: var(--parch-500); text-align: center; }
@media (max-width: 900px) { .integ { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .integ { grid-template-columns: repeat(2, 1fr); } }

/* ================================================== 11 · TESTIMONIALS === */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.qcard {
  border: 1px solid var(--line-1); border-radius: 8px; padding: 28px;
  background: linear-gradient(168deg, rgba(245,241,231,.038), transparent 62%);
  display: flex; flex-direction: column; gap: 20px;
  position: relative; overflow: hidden;
  transition: border-color .5s, transform .6s var(--e-out);
}
.qcard:hover { border-color: var(--gild-line); transform: translateY(-4px); }
/* The opening quote is set as an ornament, not as text — clipping it to a
   fixed box turns Bodoni's paired commas into two stray dots. */
.qcard .qm {
  width: 26px; height: 20px; color: var(--gild-600);
  opacity: .85;
}
.qcard .qm svg { width: 100%; height: 100%; }
.qcard blockquote { font-family: var(--f-display); font-size: 1.075rem; line-height: 1.44; color: var(--parch-200); font-variation-settings:"opsz" 24; }
.qcard blockquote em { font-style: italic; color: var(--gild-200); }
.qcard .who { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-1); display: flex; align-items: center; gap: 11px; }
.qcard .who .av {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: .78rem; color: var(--ink-000);
  background: linear-gradient(145deg, var(--gild-300), var(--gild-600));
}
.qcard .who > span:last-child { display: block; min-width: 0; }
.qcard .who .nm { display: block; font-size: .8rem; color: var(--parch-200); font-weight: 500; }
.qcard .who .rl { display: block; font-family: var(--f-mono); font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; color: var(--parch-600); margin-top: 3px; }
@media (max-width: 940px) { .quotes { grid-template-columns: 1fr; } }

/* ====================================================== 12 · PRICING === */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan {
  border: 1px solid var(--line-1); border-radius: 9px; padding: 30px 26px;
  background: linear-gradient(168deg, rgba(245,241,231,.03), transparent 55%);
  display: flex; flex-direction: column; gap: 22px;
  position: relative; overflow: hidden;
  transition: border-color .5s, transform .6s var(--e-out);
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-2); }
.plan.is-feat {
  border-color: var(--gild-line);
  background: linear-gradient(168deg, rgba(201,169,97,.10), rgba(110,31,44,.05) 50%, transparent);
  box-shadow: 0 40px 90px -46px rgba(201,169,97,.5);
}
.plan.is-feat::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(201,169,97,.55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.plan-flag {
  position: absolute; top: 16px; right: -30px;
  transform: rotate(38deg);
  background: var(--foil); background-size: 200% 100%;
  color: #1A1408; font-family: var(--f-mono); font-size: .5rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 3px 34px; font-weight: 700;
}
.plan-nm { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gild-300); }
/* two lines reserved so the price and CTA sit on the same baseline across
   all three plans regardless of how the description wraps */
.plan-for { font-size: .78rem; color: var(--parch-500); margin-top: 9px; line-height: 1.5; min-height: 2.34em; }
.plan-price { display: flex; align-items: baseline; gap: 5px; }
.plan-price .amt { font-family: var(--f-display); font-size: 2.9rem; line-height: 1; color: var(--parch-100); font-variation-settings:"opsz" 72; }
.plan-price .per { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .1em; color: var(--parch-500); }
.plan-price .cur { font-family: var(--f-display); font-size: 1.2rem; color: var(--parch-400); align-self: flex-start; margin-top: .35em; }
.plan-meta {
  display: block; margin-top: 12px;
  font-family: var(--f-mono); font-size: .55rem; letter-spacing: .13em; text-transform: uppercase; color: var(--parch-600);
}
.plan .btn { width: 100%; }
.plan-feats { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line-1); align-content: start; }
.plan-feats li { display: grid; grid-template-columns: 15px 1fr; gap: 10px; font-size: .805rem; color: var(--parch-300); font-weight: 350; line-height: 1.5; }
.plan-feats li svg { width: 12px; height: 12px; margin-top: .3em; color: var(--gild-500); }
.plan-feats li.off { color: var(--parch-600); }
.plan-feats li.off svg { color: var(--parch-600); opacity: .5; }
.plan-feats .grp { font-family: var(--f-mono); font-size: .5rem; letter-spacing: .18em; text-transform: uppercase; color: var(--parch-600); display: block; margin-top: 6px; }
@media (max-width: 940px) { .price-grid { grid-template-columns: 1fr; } }

.price-note {
  margin-top: 22px; text-align: center;
  font-size: .8rem; color: var(--parch-500);
}
.price-note b { color: var(--parch-300); font-weight: 500; }

/* ========================================================== 13 · FAQ === */
.faq-grid { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: clamp(30px,5vw,80px); align-items: start; }
/* the heading rides alongside the list rather than leaving a void beside it */
@media (min-width: 901px) {
  .faq-grid > div:first-child { position: sticky; top: 128px; }
}
.faq-list { border-top: 1px solid var(--line-1); }
.faq-item { border-bottom: 1px solid var(--line-1); }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 20px;
  padding: 22px 0; text-align: left;
  font-family: var(--f-display); font-size: clamp(1rem, 1.5vw, 1.22rem); color: var(--parch-200);
  transition: color .35s ease;
  font-variation-settings:"opsz" 24;
}
.faq-q:hover { color: var(--gild-200); }
.faq-q .qn { font-family: var(--f-mono); font-size: .55rem; letter-spacing: .15em; color: var(--parch-600); flex: none; }
.faq-q .qi { margin-left: auto; flex: none; width: 13px; height: 13px; position: relative; }
.faq-q .qi::before, .faq-q .qi::after {
  content: ""; position: absolute; background: var(--gild-500); border-radius: 1px;
  transition: transform .5s var(--e-out), opacity .4s;
}
.faq-q .qi::before { left: 0; right: 0; top: 6px; height: 1px; }
.faq-q .qi::after { top: 0; bottom: 0; left: 6px; width: 1px; }
.faq-item.is-open .qi::after { transform: scaleY(0); }
.faq-item.is-open .faq-q { color: var(--gild-200); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .65s var(--e-out); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 34px 24px 0; font-size: .89rem; line-height: 1.72; color: var(--parch-400); font-weight: 350; }
.faq-a p + p { padding-top: 12px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ========================================================== 14 · CTA === */
.cta { position: relative; overflow: hidden; }
.cta-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(62% 78% at 50% 108%, rgba(201,169,97,.20), transparent 62%),
    radial-gradient(50% 60% at 50% 116%, rgba(110,31,44,.28), transparent 66%);
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: start;
}
.cta-copy { padding-top: 6px; }
.cta-list { display: grid; gap: 11px; margin-top: 30px; }
.cta-list li {
  display: grid; grid-template-columns: 15px 1fr; gap: 11px;
  font-size: .84rem; color: var(--parch-400); font-weight: 350;
}
.cta-list li svg { margin-top: .32em; color: var(--gild-500); }

/* --- the demo form ------------------------------------------------------ */
.cta-form { padding: clamp(22px, 2.6vw, 32px); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.f-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line-1); }
.f-title { font-family: var(--f-display); font-size: 1.28rem; color: var(--parch-100); font-variation-settings: "opsz" 32; }
.f-note { font-family: var(--f-mono); font-size: .55rem; letter-spacing: .15em; text-transform: uppercase; color: var(--parch-600); }

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; min-width: 0; }
.field label {
  font-family: var(--f-mono); font-size: .55rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--parch-500);
}
.field label em { font-style: normal; color: var(--parch-600); }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%;
  height: 42px; padding: 0 13px;
  background: rgba(0,0,0,.35);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  color: var(--parch-100);
  font-size: .875rem;
  transition: border-color .35s ease, background .35s ease, box-shadow .35s ease;
}
.field textarea { height: auto; padding: 11px 13px; resize: vertical; line-height: 1.55; font-family: inherit; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%239B9484' stroke-width='1.4'%3E%3Cpath d='M3.5 5.5 7 9l3.5-3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
  cursor: pointer;
}
.field select option { background: var(--ink-200); color: var(--parch-100); }
.field ::placeholder { color: var(--parch-600); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gild-500);
  background: rgba(201,169,97,.05);
  box-shadow: 0 0 0 3px rgba(201,169,97,.10);
}

.f-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.f-chip { cursor: pointer; }
.f-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.f-chip span {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding-inline: 12px;
  border: 1px solid var(--line-2); border-radius: 100px;
  font-family: var(--f-mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--parch-400);
  transition: border-color .3s ease, color .3s ease, background .3s ease;
}
.f-chip span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--parch-600); transition: background .3s ease, box-shadow .3s ease;
}
.f-chip:hover span { border-color: var(--line-3); color: var(--parch-200); }
.f-chip input:checked + span {
  border-color: var(--gild-line); color: var(--gild-200); background: rgba(201,169,97,.09);
}
.f-chip input:checked + span::before { background: var(--gild-300); box-shadow: 0 0 8px rgba(201,169,97,.8); }
.f-chip input:focus-visible + span { outline: 1px solid var(--gild-500); outline-offset: 2px; }

.cta-form .btn { width: 100%; height: 50px; margin-top: 4px; }
.f-fine { margin-top: 14px; font-size: .715rem; line-height: 1.5; color: var(--parch-600); text-align: center; }

@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .f-row { grid-template-columns: 1fr; gap: 0; } }

/* --- thank-you page ----------------------------------------------------- */
.thanks { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.thanks .seal {
  width: 62px; height: 62px; margin: 0 auto 28px;
  border: 1px solid var(--gild-line); border-radius: 50%;
  display: grid; place-items: center; color: var(--gild-300);
  background: radial-gradient(circle at 34% 28%, rgba(201,169,97,.22), transparent 68%);
}

/* ======================================================= 15 · FOOTER === */
.footer { border-top: 1px solid var(--line-1); background: var(--ink-050); padding-top: clamp(52px, 6vw, 82px); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 34px; }
.foot-brand { max-width: 300px; }
.foot-brand .logo { margin-bottom: 18px; }
.foot-brand p { font-size: .83rem; line-height: 1.65; color: var(--parch-500); font-weight: 350; }
.foot-status {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  border: 1px solid var(--line-1); border-radius: 100px; padding: 6px 13px;
  font-family: var(--f-mono); font-size: .55rem; letter-spacing: .13em; text-transform: uppercase; color: var(--parch-400);
  transition: border-color .4s;
}
.foot-status:hover { border-color: var(--gild-line); }
.foot-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--verd-400); box-shadow: 0 0 0 3px rgba(95,217,194,.15); animation: pip 2.6s infinite; }
.foot-col h5 { font-family: var(--f-mono); font-size: .55rem; letter-spacing: .2em; text-transform: uppercase; color: var(--parch-600); margin-bottom: 16px; }
.foot-col a { display: block; font-size: .82rem; color: var(--parch-400); padding-block: 5px; transition: color .3s, transform .4s var(--e-out); font-weight: 350; }
.foot-col a:hover { color: var(--gild-200); transform: translateX(3px); }
.foot-col a .new {
  font-family: var(--f-mono); font-size: .46rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--iris-400); border: 1px solid rgba(124,108,245,.3); border-radius: 2px; padding: 1px 4px; margin-left: 6px;
}
.foot-bot {
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line-1);
  padding-block: 24px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: .58rem; letter-spacing: .1em; color: var(--parch-600);
}
.foot-bot .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-bot a:hover { color: var(--gild-300); }
/* Giant wordmark watermark at the base of the page */
/* Sized so the full wordmark always fits the viewport — a clipped watermark
   reads as a mistake, not as a flourish. */
.foot-mark {
  font-family: var(--f-display);
  font-size: min(11.6vw, 172px);
  line-height: .8;
  letter-spacing: -.028em;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, rgba(245,241,231,.075), rgba(245,241,231,0) 82%);
  -webkit-background-clip: text; background-clip: text;
  padding-top: 26px;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  font-variation-settings:"opsz" 96;
}
@media (max-width: 1000px) {
  .foot-top { grid-template-columns: repeat(2, 1fr); }
  .foot-brand { grid-column: 1 / -1; max-width: 420px; }
}
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr 1fr; gap: 24px; } }
