:root{
  color-scheme: dark;
  --bg:#08090d;
  --bg2:#0e1119;
  --panel:#10141f;
  --panel2:#151a27;
  --paper:#fffaf0;
  --paper2:#f5efe2;
  --ink:#0b1020;
  --text:#f7f1e6;
  --muted:#a9b0be;
  --gold:#c6a15b;
  --gold2:#f1d69b;
  --line:rgba(255,255,255,.11);
  --line2:rgba(15,23,42,.12);
  --risk-low:#3ddc97;
  --risk-Medium:#d9a441;
  --risk-medium:#d9a441;
  --risk-High:#e05b5b;
  --risk-high:#e05b5b;
  --shadow:0 28px 90px rgba(0,0,0,.38);
  font-family:"Instrument Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(198,161,91,.18), transparent 28rem),
    radial-gradient(circle at 88% 10%, rgba(80,111,210,.12), transparent 32rem),
    linear-gradient(135deg,#07080d 0%,#0d1018 52%,#07080d 100%);
}
a{color:inherit}
button,input,select,textarea{font:inherit}
.skip-link{position:absolute;left:-999px;top:1rem;background:var(--gold);color:var(--ink);padding:.7rem 1rem;border-radius:999px;z-index:999}
.skip-link:focus{left:1rem}
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(8,9,13,.78);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  max-width:1240px;margin:0 auto;
  display:flex;align-items:center;gap:1rem;
  padding:.8rem 1rem;
}
.wordmark{
  flex:none;
  color:var(--text);
  text-decoration:none;
  font-family:Marcellus,serif;
  letter-spacing:.16em;
  font-size:1.08rem;
  white-space:nowrap;
}
.wordmark span{color:var(--gold2)}
.wordmark.small{font-size:1rem;margin-bottom:.6rem}
.site-nav{
  margin-left:auto;
  display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;justify-content:flex-end;
}
.site-nav a{
  color:var(--muted);
  text-decoration:none;
  border:1px solid transparent;
  padding:.55rem .7rem;
  border-radius:999px;
  font-weight:650;
  font-size:.88rem;
}
.site-nav a:hover,.site-nav a[aria-current="page"]{
  color:var(--gold2);
  border-color:rgba(198,161,91,.24);
  background:rgba(198,161,91,.08);
}
.site-nav .nav-cta{
  color:var(--ink);
  background:linear-gradient(135deg,var(--gold2),var(--gold));
  border-color:transparent;
}
.nav-toggle{display:none;margin-left:auto;background:transparent;border:1px solid var(--line);border-radius:14px;width:44px;height:40px}
.nav-toggle span{display:block;width:18px;height:2px;background:var(--text);margin:4px auto;border-radius:999px}
main{min-height:70vh}
.section{max-width:1240px;margin:0 auto;padding:clamp(2.1rem,5vw,4.2rem) 1rem}
.section.tight{padding-top:1rem}
.hero{padding:clamp(2.4rem,6vw,5.5rem) 1rem 1.5rem}
.hero-inner{
  max-width:1240px;margin:0 auto;
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.68fr);
  gap:1rem;align-items:stretch;
}
.hero-inner>div:first-child,.hero-card{
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.026));
  box-shadow:var(--shadow);
  border-radius:34px;
  padding:clamp(1.4rem,4vw,3.2rem);
}
.hero-card{display:flex;align-items:center}
.eyebrow{
  display:inline-flex;align-items:center;gap:.35rem;
  color:var(--gold2);
  text-transform:uppercase;
  letter-spacing:.13em;
  font-size:.76rem;
  font-weight:850;
  margin:0 0 .75rem;
}
h1,h2,h3,p{margin-top:0}
h1{
  font-family:Marcellus,serif;
  font-size:clamp(3rem,6.6vw,6.7rem);
  line-height:.92;
  letter-spacing:-.045em;
  margin-bottom:1rem;
}
h1 em{color:var(--gold2);font-style:normal}
h2{
  font-family:Marcellus,serif;
  font-size:clamp(2rem,3.6vw,3.6rem);
  letter-spacing:-.035em;
  line-height:1;
  margin-bottom:.7rem;
}
h3{font-size:1.22rem;letter-spacing:-.02em;margin-bottom:.55rem}
.lede{color:var(--muted);font-size:1.08rem;line-height:1.65;max-width:74ch}
.muted,.meta,.head-note{color:var(--muted);line-height:1.55}
.head-note{max-width:56ch;margin:0}
.hero-ctas,.actions{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}
.hero-ctas{margin-top:1.25rem}
.btn,button.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.35rem;
  border-radius:999px;
  padding:.8rem 1rem;
  font-weight:850;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
}
.btn-primary{
  background:linear-gradient(135deg,var(--gold2),var(--gold));
  color:var(--ink);
  box-shadow:0 16px 35px rgba(198,161,91,.18);
}
.btn-ghost{
  color:var(--text);
  background:rgba(255,255,255,.045);
  border-color:var(--line);
}
.btn-sm{font-size:.82rem;padding:.52rem .72rem}
.btn[disabled],.btn:disabled{opacity:.48;pointer-events:none}
.hero-proof{
  display:grid;grid-template-columns:repeat(4,1fr);gap:.7rem;margin-top:1.6rem;
}
.stat{
  border:1px solid var(--line);
  background:rgba(255,255,255,.045);
  border-radius:18px;
  padding:.9rem;
}
.stat b{display:block;color:var(--gold2);font-size:1.45rem}
.stat span{display:block;color:var(--muted);font-size:.8rem;line-height:1.25}
.panel{
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.028));
  border-radius:26px;
  padding:1.2rem;
  box-shadow:0 18px 50px rgba(0,0,0,.18);
}
.card{min-height:100%}
.on-dark .panel,.on-dark.panel{background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.032))}
.chip,.demo-badge{
  display:inline-flex;align-items:center;gap:.25rem;
  border:1px solid rgba(198,161,91,.22);
  background:rgba(198,161,91,.09);
  color:var(--gold2);
  border-radius:999px;
  padding:.28rem .55rem;
  font-size:.75rem;
  font-weight:850;
}
.demo-badge{font-size:.8rem}
.risk-Low,.risk-low{color:var(--risk-low);border-color:rgba(61,220,151,.28);background:rgba(61,220,151,.08)}
.risk-Medium,.risk-medium{color:#f3c766;border-color:rgba(217,164,65,.28);background:rgba(217,164,65,.09)}
.risk-High,.risk-high{color:#ff9898;border-color:rgba(224,91,91,.28);background:rgba(224,91,91,.09)}
.rank-line{display:flex;align-items:center;justify-content:space-between;gap:.7rem;flex-wrap:wrap}
.rank-line b{font-size:1.6rem}
.ledger{
  display:flex;gap:.45rem;align-items:center;flex-wrap:wrap;
  margin-top:1rem;padding-top:.85rem;
  border-top:1px solid var(--line);
  color:var(--muted);font-size:.78rem;line-height:1.4;
}
.ledger a{color:var(--gold2);text-decoration:none}
.ledger-key{
  color:var(--gold2);font-weight:900;text-transform:uppercase;letter-spacing:.11em;
}
.coverage-strip{
  border-block:1px solid var(--line);
  background:rgba(255,255,255,.035);
}
.coverage-inner{
  max-width:1240px;margin:0 auto;padding:.8rem 1rem;
  display:flex;align-items:center;gap:.8rem;
}
.coverage-label{color:var(--gold2);font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.12em;white-space:nowrap}
.coverage-codes{display:flex;gap:.25rem;flex-wrap:wrap}
.coverage-codes a{
  color:var(--muted);text-decoration:none;
  border:1px solid var(--line);
  border-radius:999px;
  padding:.25rem .45rem;
  font-size:.72rem;font-weight:800;
}
.coverage-codes a:hover{color:var(--gold2);border-color:rgba(198,161,91,.3)}
.section-head{
  display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1rem;
}
.grid{display:grid;gap:1rem}
.grid-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-cards-sm{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid-2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.step-label{display:block;color:var(--gold2);font-weight:900;font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;margin-bottom:.65rem}
.filter-bar{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.85rem;margin:1.2rem 0;
}
.field label{display:block;color:var(--gold2);font-weight:850;font-size:.85rem;margin-bottom:.35rem}
input,select,textarea{
  width:100%;
  color:var(--ink);
  background:var(--paper);
  border:1px solid rgba(198,161,91,.24);
  border-radius:14px;
  padding:.85rem;
  outline:none;
}
textarea{min-height:150px;resize:vertical}
input:focus,select:focus,textarea:focus{
  box-shadow:0 0 0 4px rgba(198,161,91,.14);
  border-color:var(--gold);
}
.result-count{color:var(--gold2);font-weight:850}
.empty{
  border:1px dashed rgba(198,161,91,.35);
  border-radius:22px;
  padding:1.5rem;
  color:var(--muted);
}
.empty b{display:block;color:var(--text);margin-bottom:.35rem}
.mt-1{margin-top:1rem}
.mt-2{margin-top:2rem}
.table-wrap{overflow:auto}
.ledger-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  color:var(--text);
}
.ledger-table th,.ledger-table td{
  text-align:left;
  border-bottom:1px solid var(--line);
  padding:.85rem;
  vertical-align:top;
}
.ledger-table th{color:var(--gold2);font-size:.8rem;text-transform:uppercase;letter-spacing:.1em}
.ledger-table .num{text-align:right;font-variant-numeric:tabular-nums}
.check{display:flex;align-items:center;gap:.5rem;color:var(--muted);font-weight:700}
.check input{width:auto}
.flag-list{display:grid;gap:.65rem;margin-top:1rem}
.flag{
  border:1px solid rgba(198,161,91,.22);
  background:rgba(198,161,91,.08);
  border-radius:16px;
  padding:.8rem;
  color:var(--text);
}
.flag.block{border-color:rgba(224,91,91,.35);background:rgba(224,91,91,.10)}
.flag.pass{border-color:rgba(61,220,151,.35);background:rgba(61,220,151,.09)}
.flag b,.flag span{display:block}
.terms code{
  color:var(--ink);
  background:var(--gold2);
  border-radius:8px;
  padding:.1rem .3rem;
}
.brief-output{
  white-space:pre-wrap;
  border:1px solid var(--line);
  background:rgba(0,0,0,.2);
  color:var(--text);
  border-radius:18px;
  padding:1rem;
  min-height:260px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.84rem;
  line-height:1.5;
}
.copy-ok{color:var(--risk-low);font-weight:850}
.hide{display:none!important}
.metric b{display:block;color:var(--gold2);font-size:1.9rem;margin:.2rem 0}
.metric span{display:block;color:var(--muted);font-weight:900}
.metric p{color:var(--muted);font-size:.85rem;margin:0}
.site-footer{
  border-top:1px solid var(--line);
  background:rgba(0,0,0,.22);
}
.footer-inner{
  max-width:1240px;margin:0 auto;padding:2rem 1rem;
  display:grid;grid-template-columns:1fr 1.2fr;gap:1.4rem;
}
.footer-brand p,.footer-legal p,.footer-fine{color:var(--muted);line-height:1.55}
.footer-cols{
  display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;
}
.footer-cols h4{margin:.2rem 0 .55rem;color:var(--gold2)}
.footer-cols a{display:block;color:var(--muted);text-decoration:none;margin:.35rem 0}
.footer-cols a:hover{color:var(--gold2)}
.footer-legal{grid-column:1/-1;border-top:1px solid var(--line);padding-top:1rem}
@media (max-width:1020px){
  .site-nav{
    position:absolute;top:100%;left:1rem;right:1rem;
    display:none;flex-direction:column;align-items:stretch;
    background:rgba(8,9,13,.96);
    border:1px solid var(--line);
    border-radius:24px;
    padding:.75rem;
  }
  .site-nav.open{display:flex}
  .site-nav a{width:100%}
  .nav-toggle{display:block}
  .hero-inner,.grid-2,.footer-inner{grid-template-columns:1fr}
  .grid-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid-cards-sm{grid-template-columns:repeat(2,minmax(0,1fr))}
  .filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero-proof{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .section{padding-block:2.4rem}
  .grid-cards,.grid-cards-sm,.filter-bar,.hero-proof,.footer-cols{grid-template-columns:1fr}
  h1{font-size:3.2rem}
  .coverage-inner{align-items:flex-start;flex-direction:column}
  .ledger-table thead{display:none}
  .ledger-table tr{display:block;border-bottom:1px solid var(--line);padding:.6rem 0}
  .ledger-table td{display:flex;justify-content:space-between;gap:1rem;border-bottom:0;padding:.45rem}
  .ledger-table td::before{content:attr(data-label);color:var(--gold2);font-weight:850}
  .ledger-table .num{text-align:left}
}

/* v6 Trust OS */
.site-nav{
  gap:.25rem;
}
.site-nav a{
  font-size:.84rem;
}
.source-health{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1rem;
}
.panel.card .btn-sm{
  margin-top:.25rem;
}
.flag.block b{color:#ffb3b3}
.flag.pass b{color:#94f7c8}
@media (max-width:1020px){
  body{padding-bottom:64px}
  .site-nav.open{
    max-height:78vh;
    overflow:auto;
  }
  .site-nav a{
    padding:.75rem .9rem;
  }
}


/* v6.1 Production sizing + overflow polish */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

*, *::before, *::after {
  min-width: 0;
}

main, section, article, aside, header, footer, nav, div, p, h1, h2, h3, a, span, strong, b, em, small, label, button {
  overflow-wrap: anywhere;
  word-break: normal;
}

.hero-inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .62fr);
}

.hero-inner > div:first-child, .hero-card, .panel {
  max-width: 100%;
}

h1 {
  font-size: clamp(2.35rem, 5.2vw, 5.1rem);
  line-height: .98;
  max-width: 12.5ch;
}

.section h1 {
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.04;
}

h3 {
  line-height: 1.18;
}

.lede {
  font-size: clamp(.98rem, 1.4vw, 1.06rem);
  line-height: 1.55;
  max-width: 62ch;
}

.hero-proof {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}

.grid-cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
}

.grid-cards-sm {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
}

.filter-bar {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.card, .panel {
  min-height: 0;
}

.card h3, .panel h3 {
  max-width: 100%;
}

.meta, .muted, .head-note, .ledger, .flag, .brief-output {
  max-width: 100%;
}

.chip, .demo-badge, .btn, .site-nav a {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.actions {
  align-items: stretch;
}

.actions .btn {
  min-width: fit-content;
}

.rank-line {
  align-items: flex-start;
}

.rank-line b {
  max-width: 100%;
  line-height: 1.1;
}

.brief-output {
  overflow: auto;
  max-height: 460px;
}

.ledger-table {
  min-width: 720px;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.site-nav {
  max-width: 100%;
}

.site-nav a {
  line-height: 1.1;
}

.footer-inner, .footer-cols {
  min-width: 0;
}

@media (max-width: 1020px) {
  body {
    padding-bottom: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  h1, .section h1 {
    max-width: 100%;
  }

  .site-nav {
    left: .75rem;
    right: .75rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 1.4rem;
  }

  .hero-inner > div:first-child, .hero-card, .panel {
    border-radius: 22px;
    padding: 1rem;
  }

  h1 {
    font-size: clamp(2.15rem, 12vw, 3.05rem);
    letter-spacing: -.03em;
  }

  .section {
    padding: 2rem .85rem;
  }

  .header-inner {
    padding-inline: .75rem;
  }

  .wordmark {
    letter-spacing: .1em;
    font-size: .96rem;
  }

  .actions .btn, .hero-ctas .btn {
    width: 100%;
  }

  .stat {
    padding: .75rem;
  }

  .stat b {
    font-size: 1.2rem;
  }
}


/* v6.2 Social feed + private employee access */
.employee-link {
  color: rgba(247,241,230,.58);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  padding: .38rem .7rem;
  display: inline-flex;
  margin-top: .35rem;
  font-size: .82rem;
}
.employee-link:hover {
  color: var(--gold2);
  border-color: rgba(198,161,91,.28);
}
.feed-page h1 {
  max-width: 100%;
}
.trending-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: .8rem;
}
.trend-card {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 0%, rgba(198,161,91,.18), transparent 14rem),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.028));
  border-radius: 22px;
  padding: 1rem;
  min-width: 0;
}
.trend-card strong, .trend-card small {
  display: block;
  margin-top: .45rem;
}
.trend-card small {
  color: var(--muted);
}
.feed-layout {
  align-items: start;
}
.feed-profile {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 86px;
  z-index: 4;
}
.shorts-feed {
  display: grid;
  gap: 1rem;
}
.short-card {
  min-height: min(78vh, 760px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 75% 15%, rgba(198,161,91,.14), transparent 18rem),
    linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.028));
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}
.short-media {
  min-height: 360px;
  background:
    linear-gradient(160deg, rgba(198,161,91,.25), rgba(80,111,210,.12)),
    linear-gradient(180deg, #171b26, #090a10);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.short-media .chip {
  position: absolute;
  top: 1rem;
  left: 1rem;
}
.play-mark {
  width: 76px;
  height: 76px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--gold2);
  font-size: 2rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.short-body {
  padding: clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.short-body h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
  max-width: 100%;
  overflow-wrap: anywhere;
}
.feed-submit {
  position: sticky;
  top: 86px;
  max-height: calc(100vh - 104px);
  overflow: auto;
}
@media (max-width: 1020px) {
  .feed-profile, .feed-submit {
    position: static;
    max-height: none;
  }
  .short-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .short-media {
    min-height: 300px;
  }
}
@media (max-width: 640px) {
  .feed-profile {
    flex-direction: column;
    align-items: stretch;
  }
  .short-card {
    border-radius: 22px;
  }
  .short-media {
    min-height: 240px;
  }
}


/* v6.3 AdSense + source finder + NIL requests */
.ad-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem 1rem;
}
.ad-shell {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
  border-radius: 18px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  color: rgba(247,241,230,.72);
  text-align: center;
  padding: .9rem;
}
.ad-shell span {
  color: var(--gold2);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
}
.ad-shell small {
  color: var(--muted);
  font-size: .82rem;
}
.compact-head { align-items: start; }
.compact-filter {
  margin-top: .85rem;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.035);
}
.source-board-panel { display: grid; gap: 1rem; }
.board-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}
.request-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 1rem;
  align-items: center;
}
.request-steps {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: .45rem;
}
.request-steps span {
  border: 1px solid rgba(198,161,91,.24);
  color: var(--gold2);
  background: rgba(198,161,91,.08);
  border-radius: 999px;
  padding: .46rem .68rem;
  font-weight: 850;
  font-size: .82rem;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .ad-shell {
    flex-direction: column;
    gap: .2rem;
    min-height: 62px;
  }
  .board-summary, .request-hero {
    grid-template-columns: 1fr;
  }
  .request-steps {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .request-steps span {
    text-align: center;
    white-space: normal;
  }
}


/* v6.5 Mobile clean + app-ready polish */
:root {
  --mobile-tabbar-height: 66px;
}

.clean-module .ledger {
  display: none;
}

.clean-module .meta {
  line-height: 1.45;
}

.mobile-tabbar {
  display: none;
}

@media (max-width: 760px) {
  body {
    padding-bottom: var(--mobile-tabbar-height);
  }

  .site-nav.open {
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 26px 70px rgba(0,0,0,.38);
  }

  .site-nav a {
    font-size: .9rem;
  }

  .hero {
    padding: 1rem .75rem .5rem;
  }

  .hero-inner > div:first-child,
  .hero-card,
  .panel {
    padding: .95rem;
    border-radius: 20px;
  }

  .hero-card {
    display: none;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
    line-height: 1.02;
    max-width: 100%;
    margin-bottom: .65rem;
  }

  h2 {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
    line-height: 1.05;
  }

  h3 {
    font-size: 1.05rem;
  }

  .eyebrow {
    font-size: .68rem;
    margin-bottom: .45rem;
  }

  .lede {
    font-size: .95rem;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .section {
    padding: 1.55rem .75rem;
  }

  .section-head {
    display: block;
    margin-bottom: .7rem;
  }

  .head-note {
    display: none;
  }

  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
    margin-top: .9rem;
  }

  .hero-proof .stat:nth-child(n+3) {
    display: none;
  }

  .stat {
    min-height: 78px;
  }

  .stat b {
    font-size: 1.18rem;
  }

  .stat span {
    font-size: .72rem;
  }

  .grid,
  .grid-cards,
  .grid-cards-sm,
  .grid-2 {
    gap: .75rem;
  }

  .card {
    border-radius: 18px;
  }

  .card .meta,
  .panel > .meta,
  .step .meta {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .88rem;
    line-height: 1.42;
  }

  .step .meta {
    -webkit-line-clamp: 2;
  }

  .clean-module .chip {
    display: none;
  }

  .clean-module .meta {
    -webkit-line-clamp: 2;
  }

  .ledger {
    display: none;
  }

  .actions {
    gap: .45rem;
  }

  .actions .btn,
  .hero-ctas .btn {
    width: auto;
    flex: 1 1 auto;
    min-width: 120px;
    padding: .68rem .74rem;
    font-size: .82rem;
  }

  .chip,
  .demo-badge {
    font-size: .68rem;
    padding: .22rem .45rem;
  }

  .filter-bar,
  .compact-filter {
    gap: .55rem;
    padding: .65rem;
    margin: .8rem 0;
  }

  input, select, textarea {
    padding: .72rem;
    border-radius: 12px;
    font-size: .95rem;
  }

  textarea {
    min-height: 108px;
  }

  .ad-section {
    padding-inline: .75rem;
  }

  .ad-shell {
    min-height: 52px;
    padding: .65rem;
    border-radius: 14px;
  }

  .ad-shell small {
    display: none;
  }

  .board-summary {
    gap: .6rem;
  }

  .request-hero {
    padding: .95rem;
  }

  .request-steps {
    display: none;
  }

  .trending-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .2rem;
  }

  .trend-card {
    flex: 0 0 72%;
    scroll-snap-align: start;
    padding: .85rem;
  }

  .short-card {
    min-height: 0;
    border-radius: 20px;
  }

  .short-media {
    min-height: 205px;
  }

  .short-body {
    padding: .95rem;
  }

  .short-body h2 {
    font-size: clamp(1.65rem, 9vw, 2.5rem);
  }

  .feed-submit {
    display: none;
  }

  .feed-profile {
    padding: .85rem;
    border-radius: 18px;
  }

  .feed-profile .meta {
    -webkit-line-clamp: 2;
  }

  .brief-output {
    max-height: 240px;
    font-size: .76rem;
  }

  .footer-inner {
    padding: 1rem .75rem;
    display: block;
  }

  .footer-brand p,
  .footer-cols,
  .footer-legal > p:not(.footer-fine) {
    display: none;
  }

  .footer-legal {
    border-top: 0;
    padding-top: .3rem;
  }

  .footer-fine {
    font-size: .78rem;
    margin: .35rem 0;
  }

  .mobile-tabbar {
    position: fixed;
    z-index: 80;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--mobile-tabbar-height);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .25rem;
    padding: .45rem .55rem calc(.45rem + env(safe-area-inset-bottom));
    background: rgba(8,9,13,.94);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--line);
  }

  .mobile-tabbar a {
    color: var(--muted);
    text-decoration: none;
    display: grid;
    place-items: center;
    gap: .15rem;
    border-radius: 14px;
    padding: .3rem .15rem;
    font-size: .66rem;
    font-weight: 850;
  }

  .mobile-tabbar a strong {
    font-size: 1rem;
    line-height: 1;
  }

  .mobile-tabbar a[aria-current="page"],
  .mobile-tabbar a:hover {
    color: var(--gold2);
    background: rgba(198,161,91,.08);
  }
}

@media (max-width: 430px) {
  .actions .btn,
  .hero-ctas .btn {
    width: 100%;
    flex-basis: 100%;
  }

  .trend-card {
    flex-basis: 82%;
  }

  .wordmark {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


/* v6.6 Customer-facing employee login */
.employee-login-page h1 {
  max-width: 100%;
}
.employee-login-card {
  max-width: 520px;
}
.footer-fine .employee-link,
.employee-link {
  opacity: .78;
}
@media (max-width: 760px) {
  .employee-login-card {
    max-width: none;
  }
  .employee-login-page .grid-2 {
    gap: .75rem;
  }
}


/* v7 Enterprise social luxury overhaul */
.wordmark::before {
  content: "";
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: -6px;
  margin-right: .5rem;
  background: url("/assets/varslink-mark.svg") center/contain no-repeat;
}

.hero-inner > div:first-child {
  background:
    radial-gradient(circle at 18% 10%, rgba(244,217,154,.20), transparent 24rem),
    radial-gradient(circle at 92% 16%, rgba(80,111,210,.12), transparent 26rem),
    linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.028));
}

.network-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .45fr);
  gap: 1rem;
  align-items: center;
  min-height: 330px;
  background:
    radial-gradient(circle at 15% 0%, rgba(198,161,91,.20), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.028));
}

.network-stats {
  display: grid;
  gap: .7rem;
}

.network-stats article {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 18px;
  padding: 1rem;
}

.network-stats b {
  display: block;
  color: var(--gold2);
  font-size: 1.75rem;
  line-height: 1;
}

.network-stats span {
  color: var(--muted);
  font-size: .85rem;
  font-weight: 800;
}

.enterprise-card {
  background:
    radial-gradient(circle at 84% 12%, rgba(198,161,91,.10), transparent 12rem),
    linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.026));
}

.connection-list {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
}

.connection-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem;
  align-items: start;
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}

.connection-list article > span {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  font-weight: 950;
}

.connection-list strong {
  color: var(--text);
}

.register-side {
  background:
    radial-gradient(circle at 20% 0%, rgba(198,161,91,.14), transparent 16rem),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.028));
}

.mini-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.mini-benefits span {
  border: 1px solid rgba(198,161,91,.22);
  color: var(--gold2);
  background: rgba(198,161,91,.08);
  border-radius: 999px;
  padding: .4rem .62rem;
  font-size: .78rem;
  font-weight: 850;
}

@media (max-width: 760px) {
  .wordmark::before {
    width: 21px;
    height: 21px;
    margin-right: .38rem;
  }

  .network-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .network-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .network-stats article {
    padding: .75rem;
  }

  .network-stats b {
    font-size: 1.25rem;
  }

  .network-stats span {
    font-size: .7rem;
  }

  .connection-list article {
    padding: .7rem;
  }

  .mini-benefits span {
    font-size: .72rem;
  }
}


/* v7.2 Product cleanup */
.hero-inner {
  gap: .8rem;
}
.section.tight {
  padding-top: .25rem;
}
.clean-module {
  padding: 1rem;
}
.clean-module h3 {
  margin-bottom: .35rem;
}
.clean-module .meta {
  margin-bottom: 0;
}
.active-query-panel {
  padding: 1rem;
  margin: .7rem 0 1rem;
  background:
    radial-gradient(circle at 90% 0%, rgba(198,161,91,.10), transparent 12rem),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.024));
}
.active-query-head {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.business-register-note {
  border-top: 1px solid var(--line);
  padding-top: .9rem;
}
.feed-page .shorts-feed {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.feed-page .short-card {
  min-height: min(74vh, 700px);
}
.feed-page .short-card .ledger {
  display: none;
}
.profile-page .panel {
  max-width: 100%;
}
.source-board-panel .ledger {
  display: none;
}
.ad-section, .ad-shell {
  display: none !important;
}
@media (max-width: 760px) {
  .active-query-head {
    display: block;
  }
  .active-query-head .actions {
    margin-top: .65rem;
  }
  .business-register-note {
    display: none;
  }
  .feed-page .short-card {
    min-height: 0;
  }
}
