/* Splink Partner Network. Tokens mirror splinktechnologies.com */
:root {
  --bg: #F6F9F6;
  --fg: #082116;
  --forest: #032A1C;
  --forest-2: #06351F;
  --green: #20662A;
  --green-2: #2F8A3C;
  --lime: #9FDDAA;
  --mint: #D6EFDA;
  --muted: #556A5E;
  --line: #DCE6DE;
  --surface: #FFFFFF;
  --surface-2: #EEF4EF;
  --amber: #A86A12;
  --amber-bg: #FCF1DE;
  --red: #A3352A;
  --red-bg: #FBE9E6;
  --r: 16px;
  --shadow: 0 1px 2px rgba(8,33,22,.04), 0 12px 40px -12px rgba(8,33,22,.14);
  --wrap: 1180px;
  --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--green); }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; font-weight: 600; }
.serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; padding: 11px 20px; font: 600 14px/1 var(--font-body); cursor: pointer; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px -6px rgba(32,102,42,.6); }
.btn-primary:hover { background: var(--green-2); }
.btn-lime { background: var(--lime); color: var(--forest); }
.btn-lime:hover { background: #b6e8bf; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-ghost-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; }
.btn-ghost-dark:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 15px 26px; font-size: 15px; }
.btn-danger { background: var(--red-bg); color: var(--red); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--fg); }
.field { margin-bottom: 16px; }
.hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
input[type=text], input[type=email], input[type=url], input[type=number], input[type=tel], select, textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--fg);
  font: 400 15px/1.4 var(--font-body); transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(47,138,60,.14); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--green); width: 16px; height: 16px; flex: none; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }

.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; border: 1px solid; }
.flash-ok { background: #EAF6EC; border-color: #BFE3C6; color: #1d5a26; }
.flash-err { background: var(--red-bg); border-color: #F2C7C0; color: var(--red); }
.flash-info { background: var(--amber-bg); border-color: #F1DBB4; color: #6f4609; }
.flash a { color: inherit; font-weight: 600; }

/* ---------- Landing ---------- */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.nav-logo img { height: 26px; }
.nav-tag { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); border: 1px solid rgba(159,221,170,.35); padding: 6px 9px; border-radius: 999px; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a.link { color: rgba(255,255,255,.75); text-decoration: none; font-size: 14px; padding: 8px 12px; }
.nav-links a.link:hover { color: #fff; }
@media (max-width: 720px) { .nav-links a.link, .nav-tag { display: none; } }

.hero { position: relative; background: var(--forest); color: #fff; overflow: hidden; padding: 150px 0 110px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(47,138,60,.45), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(159,221,170,.16), transparent 60%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 30%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 120px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin-bottom: 26px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(159,221,170,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(159,221,170,0); } }
.hero h1 { font-size: clamp(42px, 6vw, 76px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--lime); letter-spacing: -0.01em; }
.hero-sub { font-size: 19px; color: rgba(255,255,255,.72); max-width: 560px; margin: 24px 0 34px; }
.hero-sub strong { color: #fff; font-weight: 500; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 40px; font-size: 14px; color: rgba(255,255,255,.7); }
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--forest); margin-left: -10px; display: grid; place-items: center; font: 600 12px/1 var(--font-body); color: var(--forest); }
.avatars span:first-child { margin-left: 0; }

/* Floating earnings card */
.earn-card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 26px; backdrop-filter: blur(14px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); transform: rotate(1.2deg); }
.earn-card .label { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.earn-card .big { font-size: 54px; font-weight: 600; letter-spacing: -0.04em; margin: 10px 0 2px; }
.earn-card .big small { font-size: 18px; color: var(--lime); font-weight: 500; margin-left: 8px; letter-spacing: 0; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin: 24px 0 10px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--lime), rgba(159,221,170,.35)); animation: grow 1.2s cubic-bezier(.2,.8,.2,1) both; transform-origin: bottom; }
@keyframes grow { from { transform: scaleY(0); } }
.bars-x { display: flex; justify-content: space-between; font: 400 11px/1 var(--font-mono); color: rgba(255,255,255,.45); }
.earn-rows { margin-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.earn-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.earn-row:last-child { border-bottom: 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 500 12px/1.2 var(--font-body); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.pill-won { background: rgba(159,221,170,.18); color: var(--lime); }
.pill-demo { background: rgba(252,241,222,.14); color: #F4D9A6; }
.float-badge { position: absolute; left: -28px; bottom: -48px; background: #fff; color: var(--fg); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; transform: rotate(-2deg); font-size: 13px; }
.float-badge b { display: block; font-size: 15px; }
.float-badge .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--mint); display: grid; place-items: center; color: var(--green); font-weight: 700; }
@media (max-width: 980px) { .earn-card { transform: none; } .float-badge { left: 12px; } }

.stats-band { background: var(--forest-2); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.stats-band .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-left: 1px solid rgba(255,255,255,.08); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: 38px; font-weight: 600; letter-spacing: -0.03em; }
.stat b em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--lime); }
.stat span { color: rgba(255,255,255,.62); font-size: 14px; }
@media (max-width: 820px) { .stats-band .wrap { grid-template-columns: 1fr 1fr; } .stat { border-left: 0; padding-left: 0; } }

section.block { padding: 110px 0; }
.kicker { font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--green-2); margin-bottom: 16px; }
.h-sec { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -0.03em; max-width: 760px; }
.h-sec em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--green); }
.lead { font-size: 18px; color: var(--muted); max-width: 620px; margin-top: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px; position: relative; box-shadow: var(--shadow); }
.step .n { font: 500 13px/1 var(--font-mono); color: var(--green-2); background: var(--mint); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px; }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

.who { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 880px) { .who-grid { grid-template-columns: 1fr; gap: 36px; } }
.personas { display: grid; gap: 12px; }
.persona { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); transition: border-color .2s, transform .2s; }
.persona:hover { border-color: var(--green-2); transform: translateX(4px); }
.persona .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--forest); color: var(--lime); display: grid; place-items: center; font-size: 20px; }
.persona h4 { font-size: 16px; margin-bottom: 4px; }
.persona p { margin: 0; color: var(--muted); font-size: 14px; }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.perk { padding: 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.perk .ic { font-size: 22px; margin-bottom: 18px; }
.perk h4 { font-size: 17px; margin-bottom: 8px; }
.perk p { color: var(--muted); font-size: 14px; margin: 0; }
@media (max-width: 980px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } }

.quote-band { background: var(--forest); color: #fff; padding: 100px 0; position: relative; overflow: hidden; }
.quote-band blockquote { margin: 0; font-family: var(--font-serif); font-size: clamp(30px, 4vw, 50px); line-height: 1.15; max-width: 920px; }
.quote-band blockquote em { color: var(--lime); }
.quote-band .by { margin-top: 26px; color: rgba(255,255,255,.6); font-size: 15px; }

.apply-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
@media (max-width: 920px) { .apply-wrap { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 20px; color: var(--green-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin: 10px 0 0; }

footer.site { background: var(--forest); color: rgba(255,255,255,.6); padding: 40px 0; font-size: 13px; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer.site img { height: 22px; }
footer.site a { color: rgba(255,255,255,.8); }

html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .bars i, .eyebrow .dot { animation: none; } }

/* ---------- Auth pages ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--forest); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 100% 0%, rgba(47,138,60,.5), transparent 60%); }
.auth-side > * { position: relative; }
.auth-side img { height: 26px; }
.auth-side h2 { font-size: 44px; letter-spacing: -0.03em; }
.auth-side h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--lime); }
.auth-main { display: grid; place-items: center; padding: 48px 24px; }
.auth-box { width: 100%; max-width: 420px; }
.auth-box h1 { font-size: 30px; margin-bottom: 8px; }
.auth-box .sub { color: var(--muted); margin-bottom: 28px; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* ---------- Onboarding ---------- */
.onb { max-width: 820px; margin: 0 auto; padding: 48px 24px 96px; }
.onb-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.onb-head img { height: 26px; }
.progress { display: flex; gap: 8px; margin-bottom: 28px; }
.progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.progress span.on { background: var(--green-2); }
.terms-box { max-height: 360px; overflow-y: auto; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; background: var(--bg); font-size: 14px; }
.terms-box h4 { font-size: 14px; margin: 18px 0 6px; }
.terms-box h4:first-child { margin-top: 0; }
.terms-box p { margin: 0; color: #2b4136; }
.sig-input { font-family: var(--font-serif) !important; font-size: 30px !important; font-style: italic; padding: 10px 16px !important; }
.sig-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; font-family: var(--font-mono); }

/* ---------- App shell ---------- */
.app { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.side { background: var(--forest); color: #fff; padding: 24px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.side .logo { padding: 4px 10px 26px; display: flex; align-items: center; gap: 10px; }
.side .logo img { height: 22px; }
.side .logo span { font: 500 10px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.side nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.side nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.side nav a.on { background: rgba(159,221,170,.14); color: #fff; }
.side nav a.on .ni { color: var(--lime); }
.side nav .ni { width: 18px; text-align: center; opacity: .9; }
.side .sep { font: 500 10px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); padding: 22px 12px 8px; }
.side .me { margin-top: auto; padding: 14px 12px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
.side .me b { display: block; color: #fff; font-weight: 500; }
.side .me span { color: rgba(255,255,255,.5); word-break: break-all; }
.side .me form { margin-top: 10px; }
.side .me button { background: none; border: 0; color: var(--lime); padding: 0; cursor: pointer; font: 500 13px var(--font-body); }
.main { padding: 36px 44px 80px; min-width: 0; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.page-head h1 { font-size: 32px; letter-spacing: -0.03em; }
.page-head h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--green); }
.page-head p { color: var(--muted); margin: 6px 0 0; }
.mobile-top { display: none; }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .side { display: none; position: fixed; inset: 0; z-index: 50; height: 100vh; }
  .side.open { display: flex; }
  .mobile-top { display: flex; justify-content: space-between; align-items: center; background: var(--forest); padding: 14px 16px; position: sticky; top: 0; z-index: 40; }
  .mobile-top img { height: 20px; }
  .mobile-top button { background: none; border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 8px; padding: 6px 10px; font: 500 13px var(--font-body); }
  .main { padding: 24px 16px 64px; }
}

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.kpi .l { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kpi .v { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.kpi .s { font-size: 12px; color: var(--muted); margin-top: 4px; }
.kpi.hero-kpi { background: var(--forest); color: #fff; border-color: var(--forest); }
.kpi.hero-kpi .l, .kpi.hero-kpi .s { color: rgba(255,255,255,.6); }
.kpi.hero-kpi .v { color: var(--lime); }
@media (max-width: 1100px) { .kpis { grid-template-columns: 1fr 1fr; } }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 22px; }
.panel-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel-h h3 { font-size: 16px; }
.panel-b { padding: 22px; }
.grid-2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
@media (max-width: 1100px) { .grid-2 { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font: 500 11px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 22px; border-bottom: 1px solid var(--line); background: var(--bg); white-space: nowrap; }
table.t td { padding: 14px 22px; border-bottom: 1px solid var(--surface-2); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t td.num, table.t th.num { text-align: right; font-variant-numeric: tabular-nums; }
.empty { padding: 48px 22px; text-align: center; color: var(--muted); }
.empty b { display: block; color: var(--fg); font-size: 16px; margin-bottom: 6px; }

.st { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-call { background: #E7F0FA; color: #2C5D8F; }
.st-discussions { background: #EFE8FA; color: #5B3F92; }
.st-won { background: var(--mint); color: var(--green); }
.st-closed, .st-duplicate { background: var(--red-bg); color: var(--red); }
.st-pending, .st-approved { background: var(--amber-bg); color: var(--amber); }
.st-paid { background: var(--mint); color: var(--green); }
.st-none { background: var(--surface-2); color: var(--muted); }
.st-invited { background: var(--amber-bg); color: var(--amber); }
.st-active { background: var(--mint); color: var(--green); }
.st-suspended { background: var(--red-bg); color: var(--red); }

.funnel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.funnel div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.funnel b { display: block; font-size: 24px; letter-spacing: -0.02em; }
.funnel span { font-size: 12px; color: var(--muted); }
@media (max-width: 700px) { .funnel { grid-template-columns: 1fr 1fr; } }

.linkbox { display: flex; gap: 8px; align-items: center; background: var(--bg); border: 1px dashed var(--green-2); border-radius: 12px; padding: 8px 8px 8px 14px; }
.linkbox code { flex: 1; font: 500 13px var(--font-mono); color: var(--green); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-height: 50px; cursor: text; }
.chips:focus-within { border-color: var(--green-2); box-shadow: 0 0 0 4px rgba(47,138,60,.14); }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--mint); color: var(--green); border-radius: 999px; padding: 5px 6px 5px 12px; font-size: 13px; font-weight: 500; }
.chip.bad { background: var(--red-bg); color: var(--red); }
.chip button { border: 0; background: rgba(0,0,0,.06); border-radius: 50%; width: 18px; height: 18px; cursor: pointer; color: inherit; line-height: 1; padding: 0; }
.chips input { border: 0 !important; box-shadow: none !important; flex: 1; min-width: 180px; padding: 6px !important; }

.coll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.coll { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, box-shadow .2s; }
.coll:hover { border-color: var(--green-2); box-shadow: var(--shadow); }
.coll .tag { font: 500 10px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green-2); }
.coll h4 { font-size: 17px; }
.coll p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.coll .acts { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.coll .thumb { height: 120px; border-radius: 12px; background: linear-gradient(135deg, var(--forest), #0c4a2c); display: grid; place-items: center; color: var(--lime); font-size: 34px; margin-bottom: 6px; }
pre.tpl { white-space: pre-wrap; font: 400 13px/1.6 var(--font-body); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 0; max-height: 220px; overflow: auto; }

.tabs { display: flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 999px; width: fit-content; margin-bottom: 18px; flex-wrap: wrap; }
.tabs a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 500; }
.tabs a.on { background: #fff; color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.06); }

.inline-form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.inline-form select, .inline-form input { width: auto; padding: 7px 10px; font-size: 13px; border-radius: 8px; }
.inline-form input[type=number] { width: 110px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--forest); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; opacity: 0; transition: .25s; pointer-events: none; z-index: 100; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.chart { display: flex; align-items: flex-end; gap: 10px; height: 160px; padding-top: 10px; }
.chart .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.chart .bar { width: 100%; max-width: 46px; background: linear-gradient(180deg, var(--green-2), var(--green)); border-radius: 8px 8px 3px 3px; min-height: 3px; position: relative; }
.chart .bar.zero { background: var(--line); }
.chart .lbl { font: 400 11px var(--font-mono); color: var(--muted); }
.chart .amt { font: 500 11px var(--font-mono); color: var(--fg); }

/* "How it works" sits on white so it reads as separate from the invite section below */
section.how { background: var(--surface); border-bottom: 1px solid var(--line); }
section.how .step { background: var(--bg); box-shadow: none; }
section#apply { background: var(--surface-2); }

/* Keep the logo intact on phones now that the join button is longer */
.nav-logo, .nav-logo img { flex: none; }
@media (max-width: 560px) { .nav-links .btn-ghost-dark { display: none; } }

/* Logos use the original website colors (green S + forest wordmark).
   On dark panels the logo sits on a white chip so it stays legible. */
.logo-chip { display: inline-flex; align-items: center; background: #fff; border-radius: 10px; padding: 7px 12px; line-height: 0; }
.logo-chip img { display: block; }
.side .logo-chip img { height: 20px !important; }
.mobile-top .logo-chip { padding: 5px 10px; }
.mobile-top .logo-chip img { height: 16px !important; }
.auth-side .logo-chip img { height: 24px !important; }
footer.site .logo-chip img { height: 20px !important; }

/* Landing header: light bar like splinktechnologies.com */
.nav { position: sticky; top: 0; background: rgba(246,249,246,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 68px; }
.nav-logo { color: var(--fg); }
.nav-tag { color: var(--green); border-color: var(--line); background: #fff; }
.nav-links a.link { color: var(--muted); }
.nav-links a.link:hover { color: var(--fg); }
.hero { padding-top: 96px; }
@media (max-width: 980px) { .hero { padding-top: 72px; } }
@media (max-width: 560px) { .nav-links .nav-signin { display: none; } }

/* Terms of Service lists */
.terms-list { margin: 8px 0 0; padding-left: 0; list-style: none; }
.terms-list > li { margin: 0 0 10px; color: #2b4136; }
.terms-sub { margin: 8px 0 0 18px; padding: 0; list-style: none; }
.terms-sub li { margin: 0 0 6px; }
.terms-box p + p { margin-top: 10px; }
.terms-page h4 { font-size: 15px; margin: 22px 0 8px; }
.terms-page h4:first-child { margin-top: 0; }
.terms-page p { margin: 0 0 10px; color: #2b4136; }

/* Dashboard commission promo with hover explainer */
.promo{position:relative;z-index:40;display:flex;align-items:center;gap:14px;margin:0 0 22px;padding:16px 20px;border-radius:16px;
  background:linear-gradient(110deg,var(--forest,#032A1C),#0B4A2A);color:#fff;cursor:help;outline:none}
.promo:focus-visible{box-shadow:0 0 0 3px var(--lime,#9FDDAA)}
.promo-ic{flex:none;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--lime,#9FDDAA);color:var(--forest,#032A1C);font-weight:700}
.promo-txt{font-size:16px;font-weight:500;line-height:1.35}
.promo-txt b{color:var(--lime,#9FDDAA)}
.promo-q{margin-left:auto;flex:none;font-size:13px;color:rgba(255,255,255,.65)}
.promo-tip{position:absolute;left:0;right:0;top:calc(100% + 10px);z-index:30;padding:18px 20px;border-radius:14px;background:#fff;color:var(--ink,#0E1A14);
  border:1px solid rgba(3,42,28,.12);box-shadow:0 18px 40px rgba(3,42,28,.18);font-size:14px;line-height:1.5;cursor:default;
  opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .15s,transform .15s,visibility .15s}
.promo-tip p{margin:0 0 10px}
.promo-tip p:last-child{margin:0}
.promo-tip b{color:var(--green,#20662A)}
.promo-fine{color:rgba(14,26,20,.6);font-size:13px}
.promo:hover .promo-tip,.promo:focus .promo-tip,.promo:focus-within .promo-tip{opacity:1;visibility:visible;transform:none}
@media (max-width:560px){.promo{flex-wrap:wrap}.promo-q{margin-left:48px}}
