/* Cortex Market: Cortex black and gold. Deep black surfaces, warm cream type, gold for action, green for verified. */
:root {
  color-scheme: dark;
  --paper: #090806; --card: #12100c; --sunk: #1b1812; --ink: #f4eee3; --ink2: #d9cfbd; --muted: #a39985; --line: #262118; --line2: #3a3226;
  --gold: #e3bd62; --gold-hi: #f1d889; --gold-deep: #b8892c; --gold-bg: rgb(227 189 98 / .12); --on-gold: #0b0906;
  --ok: #63d394; --ok-bg: rgb(99 211 148 / .12); --warn: #f39a6b; --warn-bg: rgb(243 154 107 / .12);
  --grad-gold: linear-gradient(180deg, #f6e1a0 0%, #e3bd62 48%, #c4952f 100%);
  --glow: 0 0 0 1px rgb(227 189 98 / .35), 0 10px 30px rgb(227 189 98 / .18);
  --display: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif; --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px; --wrap: 1200px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body { background-image: radial-gradient(1200px 520px at 85% -120px, rgb(227 189 98 / .10), transparent 70%), radial-gradient(900px 480px at -10% 10%, rgb(227 189 98 / .05), transparent 70%); background-repeat: no-repeat; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 12px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold-hi); border-radius: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--gold); background: var(--grad-gold); color: var(--on-gold); font-weight: 750; font-size: 15px; text-decoration: none; transition: transform .15s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--glow); }
.btn-gold { background: var(--grad-gold); border-color: var(--gold-hi); color: var(--on-gold); box-shadow: 0 8px 26px rgb(227 189 98 / .22); }
.btn-gold:hover { box-shadow: var(--glow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }

.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-ink { background: transparent; color: var(--gold-hi); border-color: rgb(227 189 98 / .5); }
.btn-ink:hover { background: var(--gold-bg); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.pill { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold-hi); color: var(--on-gold); font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; }
.link { color: var(--gold); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgb(9 8 6 / .82); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -0.03em; white-space: nowrap; }
.brand b { color: var(--gold); font-weight: 800; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold-hi); }
.menu { display: none; width: 44px; height: 44px; border: 1px solid var(--line2); border-radius: 12px; background: var(--card); place-items: center; gap: 5px; padding: 12px 10px; flex-direction: column; justify-content: center; }
.menu span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
.mnav { border-top: 1px solid var(--line); padding: 8px 16px 18px; display: grid; }
.mnav a { padding: 14px 0; border-bottom: 1px solid var(--line); font: 700 18px/1.2 var(--display); text-decoration: none; }
@media (max-width: 1100px) { .nav { display: none; } .menu { display: inline-flex; } .top-row .btn-sm { margin-left: auto; } .top-row { gap: 10px; } }

/* sections */
.sec { padding-block: 72px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1; }
.sec-head p { max-width: 46ch; margin: 0; color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }

/* hero */
.hero { padding-block: 56px 40px; }
.hero-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 5.4rem); overflow-wrap: anywhere; line-height: 0.95; letter-spacing: -0.05em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { font-size: 1.15rem; color: var(--ink2); max-width: 44ch; margin: 20px 0 0; }
.finder { position: relative; margin-top: 30px; max-width: 560px; }
.finder label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.finder-box { display: flex; gap: 8px; background: var(--card); border: 1px solid var(--line2); border-radius: 999px; padding: 6px; box-shadow: 0 12px 40px rgb(22 19 14 / .06); }
.finder-box input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; font-size: 16px; outline: none; }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 10; background: var(--card); border: 1px solid var(--line2); border-radius: 16px; padding: 6px; box-shadow: 0 20px 50px rgb(22 19 14 / .12); }
.sugg a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; text-decoration: none; }
.sugg a:hover, .sugg a.on { background: var(--sunk); }
.sugg small { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card); font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink2); }
.chip:hover, .chip[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-hi); }
.chip[aria-pressed="true"] { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--on-gold); }

/* example plan card in the hero */
.sample { padding: 22px; position: relative; overflow: hidden; }
.sample::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgb(216 180 90 / .28), transparent); pointer-events: none; }
.sample h3 { font-size: 1.25rem; }
.sample .sub { margin: 4px 0 16px; color: var(--muted); font-size: 14px; }
.sample table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sample td { padding: 9px 0; border-top: 1px solid var(--line); }
.sample td.r { text-align: right; font-weight: 700; }
.sample .foot-row { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 12px; flex-wrap: wrap; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.stat { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat b { display: block; font: 800 clamp(1.6rem, 3vw, 2.3rem)/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 10px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }

/* templates */
.tgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tcard { display: flex; flex-direction: column; gap: 10px; padding: 22px; text-decoration: none; transition: border-color .2s, transform .2s; min-height: 220px; }
.tcard:hover { border-color: rgb(227 189 98 / .6); transform: translateY(-2px); box-shadow: 0 18px 40px rgb(0 0 0 / .4); }
.tcard h3 { font-size: 1.3rem; line-height: 1.1; }
.tcard p { margin: 0; color: var(--muted); font-size: 14px; }
.tmeta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink2); font-weight: 600; }
.dots { display: inline-flex; gap: 3px; vertical-align: 1px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line2); }
.dots i.on { background: var(--gold); }

/* steps */
.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: s; }
.step { padding: 22px; }
.step b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold-bg); border: 1px solid rgb(227 189 98 / .45); color: var(--gold-hi); font: 800 14px/1 var(--display); margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; }
.step p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

/* assistant */
.ask { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .ask { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; } }
.chat { display: flex; flex-direction: column; height: min(560px, 75vh); }
.chat-log { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 88%; padding: 12px 15px; border-radius: 16px; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.me { align-self: flex-end; background: var(--grad-gold); color: var(--on-gold); font-weight: 550; border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--sunk); border-bottom-left-radius: 4px; }
.msg.bot .acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg.wait { color: var(--muted); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; border: 1px solid var(--line2); border-radius: 999px; background: var(--paper); padding: 0 16px; min-height: 46px; }

/* plans for suppliers */
.plans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.plan { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.plan.feature { border-color: var(--gold); box-shadow: 0 16px 50px rgb(227 189 98 / .12); }
.plan h3 { font-size: 1.3rem; }
.plan .price { font: 800 2.2rem/1 var(--display); letter-spacing: -0.04em; }
.plan .price small { font: 500 14px/1 var(--body); color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; background: var(--sunk); color: var(--ink2); white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.ok::before { content: ""; width: 7px; height: 4px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translate(1px, -1px); }
.badge.claimed { background: var(--gold-bg); color: var(--gold-hi); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }

/* plan page */
.plan-head { padding-block: 40px 20px; }
.plan-head h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.045em; }
.plan-head p { max-width: 60ch; color: var(--ink2); margin: 14px 0 0; }
.layout { display: grid; gap: 20px; align-items: start; padding-bottom: 80px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1020px) { .layout { grid-template-columns: 340px minmax(0, 1fr); } .sticky { position: sticky; top: 88px; } }
.panel { padding: 20px; }
.panel h2 { font-size: 1.15rem; margin-bottom: 4px; }
.panel .hint { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.prod { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.prod label { font-weight: 600; font-size: 14px; line-height: 1.3; }
.prod small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; margin-top: 2px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line2); border-radius: 999px; background: var(--paper); }
.stepper button { width: 34px; height: 36px; border: 0; background: transparent; font-size: 18px; line-height: 1; }
.stepper input { width: 64px; height: 36px; border: 0; background: transparent; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
@media (min-width: 760px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpi { padding: 16px; }
.kpi span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.kpi b { display: block; margin-top: 6px; font: 800 1.45rem/1.1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kpi small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.list { overflow: hidden; }
.grp { padding: 14px 20px; background: var(--sunk); font: 800 12px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink2); display: flex; justify-content: space-between; gap: 10px; }
.row { display: grid; grid-template-columns: 26px minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 1.5fr); gap: 12px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line); }
.row .name b { display: block; font-size: 15px; }
.row .name small { color: var(--muted); font-size: 12px; }
.row .q { font-weight: 800; font-variant-numeric: tabular-nums; }
.row .q small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.price-in { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.price-in input { width: 84px; min-height: 34px; border: 1px solid var(--line2); border-radius: 8px; background: var(--paper); padding: 0 8px; text-align: right; font-variant-numeric: tabular-nums; }
.who { display: flex; flex-wrap: wrap; gap: 6px; }
.who a { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink2); white-space: nowrap; }
.who a.v { border-color: rgb(99 211 148 / .4); background: var(--ok-bg); color: var(--ok); }
.who .none { font-size: 12px; color: var(--muted); }
.row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--gold); }
@media (max-width: 860px) {
  .row { grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-areas: "c n q" "c p p" "c w w"; }
  .row > :nth-child(1) { grid-area: c; align-self: start; margin-top: 2px; }
  .row .name { grid-area: n; } .row .q { grid-area: q; text-align: right; } .row .price-in { grid-area: p; } .row .who { grid-area: w; }
}
.side-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14px; }
.side-list li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.side-list li span:last-child { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tips { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; color: var(--ink2); }
.cta-bar { position: sticky; bottom: 12px; z-index: 20; margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; background: var(--sunk); color: var(--ink); border: 1px solid rgb(227 189 98 / .45); border-radius: 999px; box-shadow: 0 18px 40px rgb(0 0 0 / .5); }
.cta-bar span { font-size: 14px; }
.cta-bar b { color: var(--gold-hi); }

/* forms */
.form { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form .wide { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field small { font-weight: 500; color: var(--muted); font-size: 12px; }
.field input, .field select, .field textarea { min-height: 46px; border: 1px solid var(--line2); border-radius: 10px; background: var(--card); padding: 10px 12px; font-weight: 500; width: 100%; min-width: 0; }
.field textarea { min-height: 96px; resize: vertical; }
.field.bad input, .field.bad select { border-color: var(--warn); background: var(--warn-bg); }
.err { color: var(--warn); font-weight: 600; font-size: 14px; margin: 10px 0 0; }
.okmsg { padding: 18px 20px; border-radius: var(--r); background: var(--ok-bg); color: var(--ok); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl td.r, .tbl th.r { text-align: right; }
.tbl input, .tbl select { min-height: 38px; border: 1px solid var(--line2); border-radius: 8px; background: var(--paper); padding: 0 8px; width: 100%; min-width: 0; }
.tbl input.n { width: 96px; text-align: right; font-variant-numeric: tabular-nums; }
.tablewrap { overflow-x: auto; }
.totals { display: grid; gap: 8px; max-width: 360px; margin-left: auto; padding: 16px 20px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; gap: 16px; }
.totals .grand { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 800; font-size: 1.1rem; }
.x { border: 0; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; width: 34px; height: 34px; border-radius: 8px; }
.x:hover { background: var(--sunk); color: var(--ink); }
.supsel { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.supsel label { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 14px; cursor: pointer; }
.supsel label:has(input:checked) { border-color: var(--gold); background: var(--gold-bg); }
.supsel small { display: block; color: var(--muted); font-size: 12px; }

/* directory */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.filters input[type="search"], .filters select { min-height: 40px; border: 1px solid var(--line2); border-radius: 999px; background: var(--card); padding: 0 16px; }
.filters input[type="search"] { flex: 1 1 220px; min-width: 0; }
.sgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.scard { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.scard header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.scard h3 { font-size: 1.15rem; line-height: 1.2; }
.scard .where { font-size: 13px; color: var(--muted); }
.scard p { margin: 0; font-size: 14px; color: var(--ink2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--sunk); color: var(--ink2); font-weight: 600; }
.scard .acts { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.src { font-size: 12px; color: var(--muted); }
.src a { color: var(--muted); }

/* rfq view */
.status-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.code { font: 800 1rem/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: 0.04em; padding: 8px 12px; border-radius: 10px; background: #000; border: 1px solid rgb(227 189 98 / .4); color: var(--gold-hi); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--gold-hi); color: var(--on-gold); padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: opacity .25s, transform .25s; z-index: 60; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.skel { background: linear-gradient(90deg, var(--sunk), #2a251c, var(--sunk)); background-size: 200% 100%; animation: sk 1.2s linear infinite; border-radius: 10px; min-height: 18px; }
@keyframes sk { to { background-position: -200% 0; } }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--card); padding-top: 40px; margin-top: 40px; }
.foot-grid { display: grid; gap: 24px; grid-template-columns: 2fr 1fr 1fr; }
.foot-grid h3 { font: 800 12px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot-grid a:not(.brand) { display: block; text-decoration: none; font-size: 14px; padding: 4px 0; color: var(--ink2); }
.foot-grid a:not(.brand):hover { color: var(--gold); }
.foot-grid p { max-width: 36ch; font-size: 14px; }
.foot-note { border-top: 1px solid var(--line); margin-top: 28px; padding-block: 18px 32px; font-size: 12px; color: var(--muted); }
.foot-note p { margin: 0 0 8px; max-width: 110ch; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } .sec { padding-block: 52px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

.finder-box .btn { padding: 0 16px; }
@media (max-width: 420px) { .finder-box { flex-direction: column; border-radius: 18px; } .finder-box input { min-height: 44px; } .finder-box .btn { width: 100%; } }

/* black and gold details */
::selection { background: rgb(227 189 98 / .35); color: #fff; }
.card { box-shadow: 0 1px 0 rgb(255 255 255 / .02) inset; }
.hero h1 em, .sec-head h2 em { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot { background: #070605; }
.field input, .field select, .field textarea, .tbl input, .tbl select, .filters input[type="search"], .filters select, .chat-form input { color-scheme: dark; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgb(227 189 98 / .18); }
input[type="range"] { accent-color: var(--gold); }
.grp { background: #17140f; color: var(--gold-hi); }

/* Cortex assistant: floating launcher, panel and the shared chat */
.cx-launch { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; border-radius: 999px; border: 1px solid var(--gold-hi); background: var(--grad-gold); color: var(--on-gold); font-weight: 800; font-size: 15px; box-shadow: 0 14px 40px rgb(0 0 0 / .55), 0 0 0 6px rgb(227 189 98 / .10); transition: transform .2s, box-shadow .2s; }
.cx-launch:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgb(0 0 0 / .6), 0 0 0 8px rgb(227 189 98 / .14); }
.cx-launch.on { background: var(--sunk); color: var(--gold-hi); }
@media (max-width: 560px) { .cx-launch { right: 14px; bottom: 14px; min-height: 50px; padding: 0 16px 0 14px; } }
body:has(.cta-bar) .cx-launch, body:has(.kit-sticky) .cx-launch { bottom: 84px; }
@media (min-width: 1020px) { body:has(.kit-sticky) .cx-launch { bottom: 18px; } }
.cx-panel { position: fixed; right: 18px; bottom: 84px; z-index: 55; width: min(420px, calc(100vw - 24px)); height: min(640px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--card); border: 1px solid rgb(227 189 98 / .45); border-radius: 20px; box-shadow: 0 30px 80px rgb(0 0 0 / .7); overflow: hidden; }
body:has(.cta-bar) .cx-panel, body:has(.kit-sticky) .cx-panel { bottom: 148px; height: min(600px, calc(100vh - 180px)); }
@media (min-width: 1020px) { body:has(.kit-sticky) .cx-panel { bottom: 84px; } }
@media (max-width: 560px) { .cx-panel, body:has(.cta-bar) .cx-panel, body:has(.kit-sticky) .cx-panel { left: 8px; right: 8px; width: auto; top: 76px; bottom: 76px; height: auto; } }
.cx-panel header { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(120deg, rgb(227 189 98 / .14), transparent 60%); }
.cx-panel header div { flex: 1; min-width: 0; }
.cx-panel header b { display: block; font: 800 16px/1.1 var(--display); }
.cx-panel header small { color: var(--muted); font-size: 12px; }
.cx-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #000; border: 1px solid var(--line2); color: var(--gold-hi); }
.cx-x, .cx-clear { border: 0; background: transparent; color: var(--muted); border-radius: 9px; height: 34px; padding: 0 10px; font-weight: 700; font-size: 13px; }
.cx-x { font-size: 22px; width: 34px; padding: 0; }
.cx-x:hover, .cx-clear:hover { background: var(--sunk); color: var(--ink); }
.cx-body { flex: 1; min-height: 0; display: flex; }
.cx-chat { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.cx-log { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.cx-msg { max-width: 92%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.cx-msg p { margin: 0 0 8px; } .cx-msg p:last-child { margin-bottom: 0; }
.cx-msg ul { margin: 4px 0 8px; padding-left: 18px; display: grid; gap: 4px; }
.cx-msg b { color: var(--gold-hi); }
.cx-msg.me { align-self: flex-end; background: var(--grad-gold); color: var(--on-gold); border-bottom-right-radius: 5px; font-weight: 560; }
.cx-msg.bot { align-self: flex-start; background: var(--sunk); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.cx-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cx-acts .chip { min-height: 32px; font-size: 12.5px; }
.cx-acts .cx-go { border-color: var(--gold); color: var(--gold-hi); }
.cx-dots { display: inline-flex; gap: 5px; padding: 4px 0; }
.cx-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: cxd 1s infinite ease-in-out; }
.cx-dots i:nth-child(2) { animation-delay: .15s; } .cx-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes cxd { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.cx-sugg { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.cx-sugg .chip { min-height: 32px; font-size: 12.5px; text-align: left; }
.cx-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--card); }
.cx-form textarea { flex: 1; min-width: 0; resize: none; min-height: 44px; max-height: 140px; border: 1px solid var(--line2); border-radius: 14px; background: var(--paper); padding: 11px 14px; font: inherit; font-size: 15px; line-height: 1.4; color-scheme: dark; }
.cx-form textarea:focus { border-color: var(--gold); outline: none; }
.cx-form .btn { min-height: 44px; }
.cx-fine { margin: 0; padding: 0 14px 10px; font-size: 11px; color: var(--muted); background: var(--card); }
.ask-inline { height: min(620px, 78vh); display: flex; }

/* home: three paths, business grid */
.paths { display: grid; gap: 10px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.path { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; text-decoration: none; transition: border-color .2s, transform .2s; }
.path:hover { border-color: rgb(227 189 98 / .6); transform: translateY(-2px); }
.path b { font: 800 1.08rem/1.15 var(--display); }
.path span { color: var(--muted); font-size: 13px; }
.path i { font-style: normal; margin-top: auto; padding-top: 8px; color: var(--gold-hi); font-weight: 750; font-size: 13px; }
.path i::after { content: " ›"; }
.bizgrid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.bizcol { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.bizcol h3 { font: 800 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.bizcol a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 650; font-size: 14.5px; }
.bizcol a:first-of-type { border-top: 0; }
.bizcol a:hover { color: var(--gold-hi); }
.bizcol small { color: var(--muted); font-weight: 500; font-size: 12px; }
@media (min-width: 980px) { .hero .ask-inline { height: 600px; } }
.sec-head h2 em { font-style: normal; }

.cx-file { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 12px 8px; padding: 8px 12px; border: 1px solid rgb(227 189 98 / .4); border-radius: 12px; background: var(--gold-bg); font-size: 12.5px; }
.cx-clip { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid var(--line2); border-radius: 12px; color: var(--muted); cursor: pointer; }
.cx-clip:hover { border-color: var(--gold); color: var(--gold-hi); }
.cx-table { overflow-x: auto; margin: 8px 0; border: 1px solid var(--line2); border-radius: 10px; }
.cx-table table { border-collapse: collapse; font-size: 12.5px; min-width: 100%; }
.cx-table th, .cx-table td { padding: 6px 9px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.cx-table th { color: var(--gold); font-weight: 700; background: #17140f; }
.cx-csv { min-height: 30px; font-size: 12px; margin-bottom: 6px; }
.tgroup { font: 800 1.1rem/1.2 var(--display); margin: 22px 0 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tgroup small { font: 500 13px/1 var(--body); color: var(--muted); }
.paths { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.price-in { flex-wrap: wrap; row-gap: 2px; }\n.price-in .kit-est { margin-left: 0; }
