/* =====================================================================
   Focused homepage — black / oxblood / gold
   ===================================================================== */
.grain::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: 13.5px; font-weight: 500; color: var(--signal); display: inline-flex; gap: 8px; align-items: center;
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(212,175,106,.28); background: rgba(212,175,106,.06); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }

/* Hero */
.x-hero { position: relative; isolation: isolate; padding: clamp(56px, 8vw, 104px) 0 0; text-align: center; overflow: hidden; }
.x-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(50% 40% at 50% 0%, rgba(212,175,106,.14), transparent 70%), radial-gradient(60% 35% at 50% 75%, rgba(212,175,106,.07), transparent 70%); }
.x-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(244,238,228,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(244,238,228,.04) 1px, transparent 1px);
  background-size: 88px 88px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); }
.x-hero-copy { position: relative; z-index: 3; max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); }
.x-hero h1 { font-family: var(--sans); font-weight: 600; font-size: clamp(40px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -.045em; margin: 28px 0 22px; }

.x-hero .lede { margin: 0 auto 32px; max-width: 560px; }
.x-hero .cta-row { justify-content: center; }
.x-hero .who { margin-top: 20px; font-size: 14px; color: var(--ink-3); }
.x-hero .who b { color: var(--ink-2); font-weight: 500; }
.x-hero .who a { color: var(--ink-2); }

/* CRM device + 3D scroll */
.device-stage { position: relative; z-index: 3; perspective: 1600px; margin-top: clamp(48px, 7vw, 84px); padding: 0 var(--gutter); }
.device { max-width: 1180px; margin: 0 auto; border-radius: 26px; padding: 10px;
  background: linear-gradient(180deg, #232323, #0f0f0f 40%, #0a0a0a); border: 1px solid #2f2f2f;
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 80px 140px -40px rgba(0,0,0,.95), 0 40px 140px -60px rgba(212,175,106,.6), inset 0 1px 0 rgba(255,255,255,.08);
  transform-origin: 50% 0%; transform: rotateX(var(--rx, 22deg)) scale(var(--ds, .92)); will-change: transform; }
.reduced .device, .no-js .device { transform: none; }
.dash { display: grid; grid-template-columns: 200px minmax(0, 1fr) 270px; min-height: 600px; border-radius: 18px; overflow: hidden; background: #090909; border: 1px solid #1d1d1d; text-align: left; font-size: 13px; line-height: 1.4; }
.dash-side { background: #0b0b0b; border-right: 1px solid #1b1b1b; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.dash-brand { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; padding: 4px 8px 14px; }
.dash-ws { margin: 0 4px 12px; padding: 8px 10px; border-radius: 10px; border: 1px solid #232323; font-size: 12px; color: var(--ink-2); display: flex; justify-content: space-between; }
.dash-nav span { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; color: var(--ink-3); font-size: 13px; }
.dash-nav .on { background: linear-gradient(90deg, rgba(212,175,106,.14), rgba(212,175,106,.02)); color: var(--ink); box-shadow: inset 2px 0 0 var(--signal); }
.dash-nav svg { width: 15px; height: 15px; flex: none; }
.dash-nav .ct { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.dash-group { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #555555; padding: 14px 10px 6px; }
.dash-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dash-top h4 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.dash-top small { display: block; color: var(--ink-3); font-size: 12px; font-weight: 400; margin-top: 2px; }
.demo-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); border: 1px dashed #313131; padding: 5px 8px; border-radius: 6px; white-space: nowrap; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.kpi { padding: 12px 14px; border-radius: 12px; background: #0e0e0e; border: 1px solid #1d1d1d; }
.kpi .k { font-size: 11.5px; color: var(--ink-3); }
.kpi .v { font-family: var(--mono); font-size: 24px; font-weight: 500; margin-top: 4px; display: flex; align-items: baseline; gap: 4px; }
.kpi .v small { font-size: 12px; color: var(--ink-3); }
.kpi .d { font-size: 11px; color: var(--signal); margin-top: 2px; }
.kpi .bar { height: 4px; border-radius: 4px; background: #232323; margin-top: 8px; overflow: hidden; }
.kpi .bar i { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width 1.8s cubic-bezier(.2,.8,.2,1); }
.dash-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 10px; }
.panel-d { padding: 14px; border-radius: 12px; background: #0e0e0e; border: 1px solid #1d1d1d; min-width: 0; }
.panel-d h5 { margin: 0 0 10px; font-size: 12px; font-weight: 500; color: var(--ink-2); display: flex; justify-content: space-between; gap: 8px; }
.panel-d h5 span { font-family: var(--mono); font-size: 10px; color: var(--ink-3); letter-spacing: .08em; font-weight: 400; }
.spark { width: 100%; height: 150px; display: block; }
.legend-d { display: flex; gap: 14px; font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.legend-d i { display: inline-block; width: 10px; height: 2px; vertical-align: middle; margin-right: 6px; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.feed li { display: grid; grid-template-columns: 28px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 10px; background: #0a0a0a; border: 1px solid #191919; transition: background 1.2s ease, border-color 1.2s ease; }
.feed li.new { background: rgba(212,175,106,.09); border-color: rgba(212,175,106,.38); animation: feedIn .6s cubic-bezier(.2,.8,.2,1); }
@keyframes feedIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.feed .av { width: 28px; height: 28px; border-radius: 8px; background: #171717; display: grid; place-items: center; font-size: 10.5px; font-weight: 600; color: var(--ink-2); }
.feed .who { min-width: 0; }
.feed .who b { font-weight: 500; font-size: 12.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed .who small { color: var(--ink-3); font-size: 11.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip-s { font-family: var(--mono); font-size: 10.5px; padding: 4px 7px; border-radius: 6px; white-space: nowrap; }
.chip-s.hot { background: rgba(212,175,106,.16); color: #f1dcaa; border: 1px solid rgba(212,175,106,.4); }
.chip-s.warm { background: rgba(212,175,106,.14); color: #e8d3a3; border: 1px solid rgba(212,175,106,.4); }
.chip-s.watch { background: transparent; color: var(--ink-3); border: 1px solid #313131; }
.chip-s.human { background: var(--ink); color: #090909; font-weight: 600; }
.dash-rail { border-left: 1px solid #1b1b1b; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; background: #0a0a0a; }
.rail-h { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #636363; margin-top: 2px; }
.agent { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 10px; border-radius: 12px; border: 1px solid #1d1d1d; background: #0e0e0e; }
.agent .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, #1c1c1c, #0e0e0e); border: 1px solid #2d2d2d; color: var(--signal); }
.agent .ic svg { width: 15px; height: 15px; }
.agent b { font-size: 12.5px; font-weight: 500; display: flex; gap: 6px; align-items: center; }
.agent b i { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 8px var(--signal); animation: pulse 2s infinite; }
.agent b i.paused { background: var(--red-bright); box-shadow: 0 0 8px var(--red-bright); animation: none; }
.agent small { color: var(--ink-3); font-size: 11.5px; display: block; transition: opacity .3s ease; }
@keyframes pulse { 50% { opacity: .3; } }
.funnel { display: grid; gap: 7px; }
.funnel div { display: grid; grid-template-columns: 70px 1fr 30px; gap: 8px; align-items: center; font-size: 11.5px; color: var(--ink-3); }
.funnel span.b { height: 7px; border-radius: 4px; background: #1d1d1d; overflow: hidden; }
.funnel span.b i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--red-bright)); transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.funnel div:nth-last-child(-n+2) span.b i { background: var(--gold-grad); }
.funnel em { font-style: normal; font-family: var(--mono); color: var(--ink-2); text-align: right; }
.device-note { text-align: center; color: var(--ink-3); font-size: 13px; margin: 16px 0 0; }
@media (max-width: 1100px) { .dash { grid-template-columns: 180px minmax(0,1fr); } .dash-rail { display: none; } }
@media (max-width: 760px) {
  .device { padding: 6px; border-radius: 18px; }
  .dash { grid-template-columns: 1fr; min-height: 0; }
  .dash-side { display: none; }
  .dash-main { padding: 14px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .dash-row { grid-template-columns: 1fr; }
  .demo-tag { display: none; }
}

/* Proof strip */
.proof-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-top: clamp(64px, 9vw, 120px); }
.proof-strip div { padding: 30px 26px; border-right: 1px solid var(--line-soft); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip b { display: block; font-weight: 600; letter-spacing: -.04em; font-size: clamp(28px, 2.8vw, 40px); line-height: 1; margin-bottom: 8px; }
.proof-strip span { color: var(--ink-3); font-size: 14px; }
@media (max-width: 860px) { .proof-strip { grid-template-columns: 1fr 1fr; } .proof-strip div:nth-child(2) { border-right: 0; } .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); } .proof-strip div { padding: 22px 16px; } }

/* Scroll story: photography + AI overlay */
.xs-head { text-align: center; padding-top: clamp(90px, 11vw, 150px); }
.xs-head h2 { margin: 18px auto 0; max-width: 18ch; }
.xs { position: relative; height: 330vh; }
.xs-sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); grid-template-rows: 1fr; align-items: center; gap: clamp(28px, 4vw, 64px); }
.xs-step { display: contents; }
.xs-copy { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.xs-step.is-active .xs-copy { opacity: 1; transform: none; pointer-events: auto; }
.xs-copy .n { font-family: var(--mono); font-size: 13px; color: var(--signal); margin-bottom: 18px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(212,175,106,.4); display: grid; place-items: center; }
.xs-copy h3 { font-weight: 600; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.04; letter-spacing: -.04em; margin-bottom: 16px; }
.xs-copy p { color: var(--ink-2); font-size: 18px; max-width: 34ch; margin: 0; }

.shot { grid-area: 1 / 2; position: relative; margin: 0; height: min(78vh, 680px); border-radius: 26px; overflow: hidden; isolation: isolate;
  border: 1px solid rgba(212,175,106,.18); background: #0b0b0b;
  box-shadow: 0 60px 120px -50px rgba(0,0,0,.95), 0 40px 120px -70px rgba(212,175,106,.35);
  transform: perspective(1600px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) scale(1.04);
  opacity: 0; filter: blur(8px); transition: opacity .7s ease, filter .7s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.xs-step.is-active .shot { opacity: 1; filter: none; transform: perspective(1600px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) scale(1); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  filter: grayscale(.55) sepia(.18) contrast(1.08) brightness(.72); transform: scale(1.08); transition: transform 6s ease-out; }
.xs-step.is-active .shot img { transform: scale(1); }
.shot::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,6,6,.25), rgba(6,6,6,0) 30%, rgba(6,6,6,.55)), radial-gradient(80% 60% at 70% 30%, rgba(212,175,106,.16), transparent 60%); }
.shot-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background-image: radial-gradient(rgba(212,175,106,.22) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); opacity: .5; }
.scan { position: absolute; left: 0; right: 0; height: 120px; top: -120px; background: linear-gradient(180deg, transparent, rgba(212,175,106,.16) 80%, rgba(241,220,170,.6) 100%); animation: scan 3.6s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes scan { 0% { transform: translateY(0); } 100% { transform: translateY(820px); } }
.frame { position: absolute; border-radius: 6px;
  background:
    linear-gradient(var(--signal), var(--signal)) top left / 18px 2px no-repeat, linear-gradient(var(--signal), var(--signal)) top left / 2px 18px no-repeat,
    linear-gradient(var(--signal), var(--signal)) top right / 18px 2px no-repeat, linear-gradient(var(--signal), var(--signal)) top right / 2px 18px no-repeat,
    linear-gradient(var(--signal), var(--signal)) bottom left / 18px 2px no-repeat, linear-gradient(var(--signal), var(--signal)) bottom left / 2px 18px no-repeat,
    linear-gradient(var(--signal), var(--signal)) bottom right / 18px 2px no-repeat, linear-gradient(var(--signal), var(--signal)) bottom right / 2px 18px no-repeat;
  box-shadow: inset 0 0 40px rgba(212,175,106,.12); animation: lock 2.4s ease-in-out infinite; }
.frame span { position: absolute; left: 0; top: -26px; font-family: var(--mono); font-size: 11px; color: #0b0b0b; background: var(--signal); padding: 3px 7px; border-radius: 4px; white-space: nowrap; }
@keyframes lock { 50% { transform: scale(1.03); } }
.ai-chip, .ai-card, .ai-score, .ai-pill { position: absolute; }
.ai-chip { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 500; color: var(--ink); padding: 8px 12px; border-radius: 999px;
  background: rgba(10,10,10,.6); border: 1px solid rgba(212,175,106,.3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.ai-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); animation: pulse 1.6s infinite; }
.ai-chip i.off { background: var(--ink-2); box-shadow: none; animation: none; }
.ai-card { padding: 14px 16px; border-radius: 16px; background: linear-gradient(160deg, rgba(30,28,24,.8), rgba(10,10,10,.8));
  border: 1px solid rgba(212,175,106,.28); backdrop-filter: blur(16px) saturate(120%); -webkit-backdrop-filter: blur(16px) saturate(120%);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08); animation: floaty 6s ease-in-out infinite; }
.ai-card-top { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--signal); font-weight: 500; margin-bottom: 6px; }
.ai-card-top b { font-family: var(--mono); color: var(--ink); font-weight: 500; }
.ai-card p { margin: 0 0 6px; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.ai-card p:last-child { margin: 0; }
.ai-card small { font-size: 12px; color: var(--ink-3); }
.ai-score { display: flex; gap: 12px; align-items: center; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(10,10,10,.72); border: 1px solid rgba(212,175,106,.3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: floaty 7s ease-in-out infinite reverse; }
.ai-score svg { width: 58px; height: 58px; }
.ai-score b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.ai-score span { font-size: 12.5px; color: var(--signal); }
.ai-pill { padding: 10px 16px; border-radius: 999px; background: var(--gold-grad); color: #0b0b0b; font-weight: 600; font-size: 14px; box-shadow: 0 20px 40px -10px rgba(212,175,106,.45); animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -8px; } }
.xs-progress { position: absolute; left: var(--gutter); bottom: 9vh; width: min(26%, 280px); height: 2px; background: var(--line); }
.xs-progress i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--gold-grad); }

/* static: phones, reduced motion, no JS */
.xs.static { height: auto; padding-top: 48px; }
.xs.static .xs-sticky { position: static; height: auto; display: grid; grid-template-columns: 1fr; gap: 72px; }
.xs.static .xs-step { display: grid; gap: 26px; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: center; }
.xs.static .xs-copy, .xs.static .shot { grid-area: auto; opacity: 1; transform: none; filter: none; pointer-events: auto; }
.xs.static .shot { height: auto; aspect-ratio: 4 / 3; }
.xs.static .shot img { transform: none; }
.xs.static .xs-progress { display: none; }
@media (max-width: 899px) { .xs.static .xs-step { grid-template-columns: 1fr; } .xs.static .shot { order: -1; } .ai-card p { font-size: 13px; } .ai-chip { font-size: 11.5px; } }
@media (max-width: 520px) { .ai-card small, .frame span { display: none; } .ai-card { padding: 10px 12px; } .ai-score svg { width: 44px; height: 44px; } .ai-score b { font-size: 22px; } }

/* Offer + form */
.x-offer { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.x-offer h2 { margin: 18px 0 18px; }
.counts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; border-top: 1px solid var(--line-soft); }
.counts li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); font-size: 15.5px; }
.counts li { color: var(--ink); }
.counts .num { color: var(--signal); font-weight: 600; }
.form-card.lux { background: linear-gradient(180deg, rgba(212,175,106,.05), rgba(15,15,15,1) 40%), var(--surface);
  border: 1px solid rgba(212,175,106,.22); box-shadow: 0 50px 120px -60px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.05); }
.form-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.form-head h3 { font-weight: 600; font-size: 24px; letter-spacing: -.03em; }
.form-head span { font-size: 13px; color: var(--ink-3); }
@media (max-width: 960px) { .x-offer { grid-template-columns: 1fr; } }
.secondary-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
