/* Intellibert audience pages (brand protection / law enforcement).
   Brand look from brand.css, but calmer: no data field, plain language, readable sections. */
@import url('https://fonts.googleapis.com/css2?family=Silkscreen&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--charcoal); color: var(--paper); font-family: var(--sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(27,28,27,.72); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.nav .wordmark { font-size: 22px; text-decoration: none; }
.nav .links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav .links a { text-decoration: none; color: rgba(241,241,236,.7); }
.nav .links a:hover, .nav .links a[aria-current="page"] { color: var(--paper); }
.nav .links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 4px; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--paper); color: #1b1c1b !important; text-decoration: none; font-weight: 500; font-size: 15px; padding: 11px 18px; border-radius: 999px; border: 0; cursor: pointer; transition: background .2s; }
.btn:hover { background: #fff; }
.btn.ghost { background: transparent; color: var(--paper) !important; border: 1px solid rgba(241,241,236,.3); }
.btn.ghost:hover { border-color: var(--paper); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- type ---------- */
.kicker { font: 400 12px 'Silkscreen', monospace; letter-spacing: .12em; color: var(--accent); margin-bottom: 18px; }
h1 { font-weight: 400; font-size: clamp(38px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.045em; }
h2 { font-weight: 400; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.04em; }
h3 { font-weight: 500; font-size: 21px; letter-spacing: -.02em; line-height: 1.25; }
h1 i, h2 i, h3 i { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); font-weight: 300; color: rgba(241,241,236,.75); max-width: 34em; }
.muted { color: rgba(241,241,236,.65); }

/* ---------- hero ---------- */
.hero { padding: 88px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero .lede { margin-top: 22px; }
.hero .ctas { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.audience { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(241,241,236,.7); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; margin-bottom: 26px; }
.audience canvas { width: 20px; height: 20px; image-rendering: pixelated; }

/* product mock card */
.mock { background: rgba(20,21,20,.78); border: 1px solid rgba(241,241,236,.12); border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: hidden; backdrop-filter: blur(10px); }
.mock .bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: rgba(241,241,236,.6); }
.mock .bar b { color: var(--paper); font-weight: 500; }
.mock .bar .live { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); }
.mock .bar .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 13px 18px; border-bottom: 1px solid rgba(241,241,236,.06); font-size: 14.5px; }
.row:last-child { border-bottom: 0; }
.row .dom { font-family: var(--mono); font-size: 13.5px; }
.row .sub { display: block; font-family: var(--sans); font-size: 12.5px; color: rgba(241,241,236,.5); margin-top: 2px; }
.chip { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.chip.new { background: rgba(242,170,52,.16); color: #f2b54a; }
.chip.take { background: rgba(168,212,106,.14); color: var(--accent); }
.chip.rep { background: rgba(241,241,236,.1); color: var(--paper); }
.chip.down { background: rgba(241,241,236,.06); color: rgba(241,241,236,.55); text-decoration: line-through; }

/* ---------- sections ---------- */
section.block { padding: 84px 0; border-top: 1px solid var(--line); }
.block .head { max-width: 760px; margin-bottom: 44px; }
.block .head p { margin-top: 16px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: rgba(20,21,20,.55); border: 1px solid rgba(241,241,236,.1); border-radius: 12px; padding: 28px; }
.card .ico { font: 400 13px 'Silkscreen'; color: var(--accent); margin-bottom: 18px; display: block; }
.card p { margin-top: 10px; font-weight: 300; color: rgba(241,241,236,.72); font-size: 16.5px; }
.pain .ico { color: #f2b54a; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid rgba(241,241,236,.1); border-radius: 14px; overflow: hidden; background: rgba(20,21,20,.45); }
.step { padding: 32px 30px 34px; position: relative; }
.step + .step { border-left: 1px solid rgba(241,241,236,.1); }
.step .n { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center; font: 400 12px 'Silkscreen'; background: rgba(168,212,106,.14); color: var(--accent); margin-bottom: 22px; }
.step p { margin-top: 10px; font-weight: 300; color: rgba(241,241,236,.72); font-size: 16.5px; }
.step .out { margin-top: 18px; font-size: 13.5px; color: var(--accent); }

/* ---------- CTA ---------- */
.cta { padding: 96px 0 110px; border-top: 1px solid var(--line); }
.cta .box { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; background: linear-gradient(120deg, rgba(23,73,61,.55), rgba(47,90,51,.35)); border: 1px solid rgba(241,241,236,.12); border-radius: 18px; padding: 48px 52px; position: relative; overflow: hidden; }
.cta .box canvas { position: absolute; left: -90px; top: -120px; width: 260px; height: 260px; image-rendering: pixelated; opacity: .28; pointer-events: none; }
.cta .box > * { position: relative; }
.cta p { margin-top: 12px; }

/* ---------- other audience + footer ---------- */
.other { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 30px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; margin-top: 18px; }
.other:hover { border-color: rgba(241,241,236,.3); }
.other span { color: rgba(241,241,236,.6); font-size: 14px; }
.other b { font-weight: 500; font-size: 19px; }
footer.site { border-top: 1px solid var(--line); padding: 26px 0 34px; font-size: 13.5px; color: rgba(241,241,236,.5); position: relative; z-index: 2; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer.site nav { display: flex; gap: 20px; }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--paper); }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero { padding: 56px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid rgba(241,241,236,.1); }
  .cta .box { grid-template-columns: 1fr; padding: 36px 28px; }
  .nav .links a.hide-sm { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav .links { gap: 14px; font-size: 14px; }
  .nav .links .btn { padding: 9px 14px; font-size: 14px; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  section.block { padding: 60px 0; }
}

/* overflow guards (long domains / pills on narrow screens) */
.hero .wrap > *, .cards > *, .steps > * { min-width: 0; }
.audience { max-width: 100%; }
.row .dom { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .row .chip { justify-self: start; }
  .audience { font-size: 13px; }
  .other { flex-direction: column; align-items: flex-start; }
  .legend { flex-wrap: wrap; }
}

/* ---------- animated product demos (under "What Intellibert does") ---------- */
.demo { margin-top: 26px; background: rgba(16,17,16,.82); border: 1px solid rgba(241,241,236,.12); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.demo .chrome { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: rgba(241,241,236,.55); }
.demo .chrome i { width: 10px; height: 10px; border-radius: 50%; background: rgba(241,241,236,.14); }
.demo .chrome .t { margin-left: 10px; }
.demo .chrome .wordmark { font-size: 14px; margin-left: 10px; color: rgba(241,241,236,.75); }
.demo .chrome .wordmark i { width: auto; height: auto; border-radius: 0; background: none; }
.demo .viewport { position: relative; height: 440px; overflow: hidden; }
.demo .track { display: flex; width: 200%; height: 100%; transition: transform .9s cubic-bezier(.65,0,.35,1); }
.demo .panel { flex: 0 0 50%; min-width: 0; height: 100%; padding: 26px 30px; display: flex; flex-direction: column; }
.demo .search { display: flex; gap: 10px; }
.demo .field { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; display: flex; align-items: center; gap: 10px; background: rgba(241,241,236,.05); border: 1px solid rgba(241,241,236,.16); border-radius: 10px; padding: 12px 14px; font-family: var(--mono); font-size: 15px; transition: border-color .3s; }
.demo .field.focus { border-color: rgba(168,212,106,.6); }
.demo .field .ph { color: rgba(241,241,236,.35); }
.demo .caret { width: 2px; height: 18px; background: var(--accent); animation: blinkc 1s steps(1) infinite; }
@keyframes blinkc { 50% { opacity: 0; } }
.demo .go { background: var(--paper); color: #1b1c1b; border-radius: 10px; padding: 0 18px; display: flex; align-items: center; font-weight: 500; font-size: 15px; transition: transform .15s, background .2s; }
.demo .go.press { transform: scale(.95); background: var(--accent); }
.demo .load { height: 3px; background: rgba(241,241,236,.06); border-radius: 2px; margin: 18px 0 6px; overflow: hidden; }
.demo .load b { display: block; height: 100%; width: 0; background: var(--accent); transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.demo .status { font-size: 13.5px; color: rgba(241,241,236,.55); min-height: 20px; transition: opacity .3s; }
.demo .status b { color: var(--paper); font-weight: 500; }
.demo .gwrap { flex: 1; display: flex; align-items: center; justify-content: center; }
.demo .gwrap svg { width: 100%; max-width: 620px; height: auto; }
.demo .reveal { opacity: 0; transition: opacity .5s ease, transform .5s ease; }
.demo .reveal.on { opacity: 1; }
.demo h4 { font-weight: 500; font-size: 20px; letter-spacing: -.02em; }
.demo h4 + p { margin-top: 4px; font-size: 14.5px; color: rgba(241,241,236,.55); }
.demo .reqs { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.demo .req { display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid rgba(241,241,236,.1); border-radius: 10px; background: rgba(241,241,236,.03); opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.demo .req.on { opacity: 1; transform: none; }
.demo .req .ic { width: 38px; height: 38px; border-radius: 9px; background: rgba(168,212,106,.12); color: var(--accent); display: flex; align-items: center; justify-content: center; font: 400 12px 'Silkscreen'; }
.demo .req b { font-weight: 500; font-size: 15.5px; }
.demo .req span.s { display: block; font-size: 13px; color: rgba(241,241,236,.5); }
.fade-chip { transition: opacity .35s ease; }
.fade-chip.out { opacity: 0; }

/* graph styling shared by hero + demo */
svg .link { stroke: rgba(241,241,236,.16); stroke-width: 1; }
svg .link.hot { stroke: rgba(168,212,106,.45); }
svg .shop { fill: #2a2c2a; stroke: rgba(241,241,236,.55); stroke-width: 1.2; }
svg .shop.on { fill: #3a2c12; stroke: #f2aa34; }
svg .shop.me { fill: #a8d46a; stroke: #f1f1ec; stroke-width: 1.6; }
svg .ring { fill: none; stroke: #f2aa34; stroke-width: 1; opacity: 0; animation: ring 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
svg .ring.me { stroke: #a8d46a; }
@keyframes ring { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
svg .hub { fill: #a8d46a; }
svg .hubglow { fill: #a8d46a; opacity: .22; }
svg text { font: 500 10.5px var(--sans); fill: rgba(241,241,236,.78); }
svg text.me { fill: var(--accent); font-family: var(--mono); font-size: 10px; }
svg .rv { opacity: 0; transition: opacity .45s ease; }
svg .rv.vis { opacity: 1; }

/* brand-protection flow */
.flow { display: grid; grid-template-columns: 300px 1fr; min-height: 340px; }
.flow .shopcard { border-right: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.flow .thumb { border: 1px solid rgba(241,241,236,.14); border-radius: 10px; overflow: hidden; background: #f1f1ec; transition: opacity .5s, transform .5s; }
.flow .thumb .url { background: #dcdcd6; color: #4a4f4a; font-family: var(--mono); font-size: 11.5px; padding: 6px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow .thumb .pg { padding: 14px; display: grid; gap: 8px; }
.flow .thumb .logo { height: 14px; width: 54%; background: #1b1c1b; border-radius: 2px; }
.flow .thumb .hero { height: 58px; background: linear-gradient(120deg, #c9cfc0, #e3e6dc); border-radius: 4px; }
.flow .thumb .prod { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.flow .thumb .prod i { height: 30px; background: #d6dacd; border-radius: 3px; }
.flow .thumb .price { height: 8px; width: 40%; background: #e05a3a; border-radius: 2px; }
.flow .flag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #f2b54a; }
.flow .flag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #f2aa34; box-shadow: 0 0 10px #f2aa34; }
.flow .stages { padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; gap: 0; position: relative; }
.flow .stage { display: grid; grid-template-columns: 34px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; position: relative; opacity: .35; transition: opacity .5s; }
.flow .stage.on { opacity: 1; }
.flow .stage:not(:last-child)::after { content: ''; position: absolute; left: 16px; top: 52px; bottom: -14px; width: 2px; background: rgba(241,241,236,.1); }
.flow .stage .dot { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(241,241,236,.25); display: flex; align-items: center; justify-content: center; font-size: 15px; color: transparent; transition: all .4s; position: relative; z-index: 1; background: #161716; }
.flow .stage.done .dot { background: var(--accent); border-color: var(--accent); color: #1b1c1b; }
.flow .stage.busy .dot { border-color: var(--accent); border-top-color: transparent; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.flow .stage b { font-weight: 500; font-size: 17px; }
.flow .stage span.s { display: block; font-size: 14px; color: rgba(241,241,236,.55); margin-top: 2px; }

@media (max-width: 760px) {
  .demo .viewport { height: 520px; }
  .demo .panel { padding: 20px 18px; }
  .flow { grid-template-columns: 1fr; }
  .flow .shopcard { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: center; }
  .flow .thumb { width: 150px; flex: none; }
}
@media (prefers-reduced-motion: reduce) { .demo .track { transition: none; } }
