/* Backwire marketing site — TruGen Labs aesthetic (dark, gold accent, Inter). Plain CSS, no build step.
   Also linked by the invite pages (classes prefixed .bw-* are the reusable kit). */

/* ---------- Fonts (self-hosted Inter variable, same files as trugenlabs.com) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0a;
  --bg-raised: #0d0d0d;
  --bg-elevated: #1a1a1a;
  --gold: #d4a843;
  --gold-hover: #e6bc5a;
  --gold-light: #f1d488;
  --gold-deep: #b8860b;
  --ink: #ffffff;
  --ink-muted: #a3a3a3;
  --ink-light: #737373;
  --ink-faint: #525252;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --card: rgba(255, 255, 255, 0.025);
  --ok: #6ee7b7;
  --err: #fca5a5;
  --container: 72rem;
  --radius-card: 1rem;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 64rem) { .container { padding: 0 2rem; } }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.site-header.is-scrolled, .site-header.is-open {
  border-bottom-color: rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 10, 0.8);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 4rem; }
@media (min-width: 64rem) { .nav-row { height: 4.5rem; } }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; }
.brand img { width: 2rem; height: 2rem; }
.nav-links { display: none; align-items: center; gap: .25rem; }
.nav-links a {
  padding: .5rem 1rem; border-radius: 9999px; font-size: .875rem; color: var(--ink-muted);
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: none; align-items: center; gap: .5rem; flex-shrink: 0; }
.nav-actions .nav-signin { padding: .5rem 1rem; border-radius: 9999px; font-size: .875rem; color: var(--ink-muted); transition: color .2s ease; }
.nav-actions .nav-signin:hover { color: var(--ink); }
.nav-toggle { padding: .5rem; color: var(--ink); display: inline-flex; }
.nav-toggle .icon-close { display: none; }
.site-header.is-open .nav-toggle .icon-open { display: none; }
.site-header.is-open .nav-toggle .icon-close { display: block; }
.nav-mobile { display: none; padding: .5rem 0 1.25rem; border-top: 1px solid var(--line); }
.site-header.is-open .nav-mobile { display: block; }
.nav-mobile a { display: block; padding: .75rem .25rem; font-size: 1rem; color: var(--ink-muted); }
.nav-mobile a:hover { color: var(--ink); }
.nav-mobile .bw-btn { display: inline-flex; margin-top: .75rem; color: var(--bg); }
@media (min-width: 48rem) {
  .nav-links, .nav-actions { display: flex; }
  .nav-toggle, .nav-mobile { display: none !important; }
}

/* ---------- Buttons ---------- */
.bw-btn, .bw-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: 9999px;
  font-size: .875rem; font-weight: 600; line-height: 1.25;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer; border: 1px solid transparent;
}
.bw-btn { background: var(--gold); color: var(--bg); }
.bw-btn:hover { background: var(--gold-hover); }
.bw-btn:disabled { opacity: .55; cursor: not-allowed; }
.bw-btn-ghost { border-color: rgba(255, 255, 255, 0.15); color: var(--ink); background: transparent; }
.bw-btn-ghost:hover { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.04); }
.bw-btn-sm { padding: .5rem 1.25rem; font-size: .8125rem; }
.bw-btn-block { width: 100%; }
.bw-link { color: var(--gold); font-weight: 500; transition: color .2s ease; }
.bw-link:hover { color: var(--gold-hover); }
.arrow-link { font-size: .875rem; font-weight: 500; color: var(--gold); }
.arrow-link:hover { color: var(--gold-hover); }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: 6rem 0; background: var(--bg); }
.section-raised { background: var(--bg-raised); }
@media (min-width: 40rem) { .section { padding: 8rem 0; } }
.eyebrow { margin-bottom: 1rem; font-size: .875rem; font-weight: 500; color: var(--gold); }
.section-head { max-width: 48rem; }
.section-head.center { margin: 0 auto; text-align: center; }
.h2 { font-size: 2rem; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
@media (min-width: 40rem) { .h2 { font-size: 3rem; } }
.lead { margin-top: 1.25rem; max-width: 42rem; font-size: 1.125rem; line-height: 1.65; color: var(--ink-muted); text-wrap: pretty; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.gold-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(212, 168, 67, 0.3), transparent); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 8.5rem 0 7rem; text-align: center; }
@media (min-width: 40rem) { .hero { padding: 11rem 0 9rem; } }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-glow::before {
  content: ""; position: absolute; left: 50%; top: -10%;
  width: 1000px; height: 640px; transform: translateX(-50%);
  border-radius: 9999px; background: rgba(212, 168, 67, 0.09); filter: blur(140px);
}
.hero-glow::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 10rem;
  background: linear-gradient(to top, var(--bg), transparent);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image:
    linear-gradient(rgba(212, 168, 67, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 67, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.hero .container { position: relative; }
.hero-mark { width: 6rem; height: 6rem; margin: 0 auto; filter: drop-shadow(0 0 32px rgba(212, 168, 67, 0.25)); }
@media (min-width: 40rem) { .hero-mark { width: 8rem; height: 8rem; } }
.hero .eyebrow { margin-top: 2rem; }
.hero h1 {
  margin: .5rem auto 0; max-width: 56rem;
  font-size: 2.75rem; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance;
}
@media (min-width: 40rem) { .hero h1 { font-size: 4.5rem; } }
.gradient-text {
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { margin: 1.75rem auto 0; max-width: 40rem; font-size: 1.125rem; line-height: 1.65; color: var(--ink-muted); text-wrap: pretty; }
@media (min-width: 40rem) { .hero-lead { font-size: 1.25rem; } }
.hero-actions { display: flex; flex-direction: column; justify-content: center; gap: .75rem; margin-top: 2.5rem; }
@media (min-width: 40rem) { .hero-actions { flex-direction: row; } }
.hero-note { margin-top: 1.5rem; font-size: .8125rem; color: var(--ink-light); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.25rem; margin-top: 3.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 40rem) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  padding: 1.75rem; border-radius: var(--radius-card);
  border: 1px solid var(--line); background: var(--card);
  transition: border-color .3s ease;
}
.card:hover { border-color: var(--line-strong); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: .75rem;
  background: rgba(212, 168, 67, 0.08); color: var(--gold);
}
.card-icon svg { width: 1.375rem; height: 1.375rem; }
.card h3 { margin-top: 1.25rem; font-size: 1.125rem; }
.card p { margin-top: .625rem; font-size: .9375rem; line-height: 1.6; color: var(--ink-muted); text-wrap: pretty; }
.card-kicker { font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-light); }

/* Steps (numbered) */
.steps { display: grid; gap: 3rem; margin-top: 4rem; counter-reset: step; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.steps li { list-style: none; }
.step-n { font-size: 3rem; font-weight: 600; letter-spacing: -0.02em; color: rgba(212, 168, 67, 0.4); line-height: 1; }
.steps h3 { margin-top: 1rem; font-size: 1.25rem; }
.steps p { margin-top: .5rem; color: var(--ink-muted); text-wrap: pretty; }

/* ---------- Security: two columns ---------- */
.split { display: grid; gap: 1.25rem; margin-top: 3.5rem; }
@media (min-width: 48rem) { .split { grid-template-columns: 1fr 1fr; } }
.split .card h3 { margin-top: 0; display: flex; align-items: center; gap: .625rem; font-size: 1.125rem; }
.split .card h3 svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
.split .card h3.no { color: var(--ok); }
.split .card h3.yes { color: var(--gold); }
.checklist { margin-top: 1rem; display: grid; gap: .625rem; }
.checklist li { list-style: none; display: flex; gap: .625rem; align-items: flex-start; font-size: .9375rem; color: var(--ink-muted); line-height: 1.55; }
.checklist li::before { content: ""; flex-shrink: 0; width: .375rem; height: .375rem; margin-top: .6rem; border-radius: 9999px; background: var(--ink-faint); }
.callout {
  margin-top: 1.25rem; padding: 1.5rem 1.75rem; border-radius: var(--radius-card);
  border: 1px solid rgba(212, 168, 67, 0.25); background: rgba(212, 168, 67, 0.06);
}
.callout h3 { font-size: 1.0625rem; color: var(--gold-light); }
.callout p { margin-top: .5rem; color: var(--ink-muted); font-size: .9375rem; line-height: 1.6; }
.fine { margin-top: 1.5rem; font-size: .875rem; color: var(--ink-light); max-width: 48rem; line-height: 1.6; }

/* ---------- Apps ---------- */
.apps { display: grid; gap: 1.25rem; margin-top: 3.5rem; }
@media (min-width: 48rem) { .apps { grid-template-columns: repeat(3, 1fr); } }
.apps .card { display: flex; flex-direction: column; }
.apps .card p { flex: 1; }
.apps .card-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.howto { margin-top: 2rem; padding: 1.75rem; border-radius: var(--radius-card); border: 1px solid var(--line); background: var(--bg-raised); }
.howto h3 { font-size: 1rem; }
.howto ol { margin-top: .875rem; padding-left: 1.25rem; display: grid; gap: .375rem; color: var(--ink-muted); font-size: .9375rem; }
.howto ol li::marker { color: var(--gold); font-weight: 600; }
.howto .fine { margin-top: 1rem; }
code, .bw-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
code { font-size: .9em; color: var(--gold-light); background: rgba(255, 255, 255, 0.05); padding: .1em .4em; border-radius: .3rem; }

/* ---------- Invite CTA ---------- */
.invite-cta {
  position: relative; overflow: hidden; padding: 3rem 1.75rem; text-align: center;
  border-radius: 1.5rem; border: 1px solid rgba(212, 168, 67, 0.2);
  background: radial-gradient(ellipse at top, rgba(212, 168, 67, 0.12), transparent 60%), var(--bg-raised);
}
@media (min-width: 40rem) { .invite-cta { padding: 4.5rem 3rem; } }
.invite-cta h2 { font-size: 2rem; letter-spacing: -0.02em; text-wrap: balance; }
@media (min-width: 40rem) { .invite-cta h2 { font-size: 2.75rem; } }
.invite-cta .lead { margin-left: auto; margin-right: auto; }
.invite-cta .hero-actions { margin-top: 2rem; }
.invite-cta .example { display: inline-block; margin-top: 1.5rem; }

/* ---------- FAQ ---------- */
.faq { margin-top: 3rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-size: 1.0625rem; font-weight: 500; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 1.5rem; height: 1.5rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px; border: 1px solid var(--line-strong); color: var(--gold); font-weight: 400; font-size: 1rem;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.5rem; color: var(--ink-muted); line-height: 1.65; max-width: 48rem; text-wrap: pretty; }
.faq .answer p + p { margin-top: .75rem; }

/* ---------- Closing CTA ---------- */
.closing { text-align: center; }
.closing h2 { font-size: 2rem; letter-spacing: -0.02em; text-wrap: balance; }
@media (min-width: 40rem) { .closing h2 { font-size: 3rem; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.06); background: var(--bg); }
.footer-top { display: flex; flex-direction: column; gap: 2.5rem; padding: 3.5rem 0 0; }
@media (min-width: 48rem) { .footer-top { flex-direction: row; align-items: flex-start; justify-content: space-between; } }
.footer-brand .brand { font-size: 1.25rem; }
.footer-brand .tgl { margin-top: .75rem; font-size: .875rem; color: var(--ink-light); }
.footer-brand .tgl a { color: var(--ink-muted); transition: color .2s ease; }
.footer-brand .tgl a:hover { color: var(--gold); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
.footer-nav a { font-size: .875rem; color: var(--ink-muted); transition: color .2s ease; }
.footer-nav a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; flex-direction: column; gap: .5rem; margin-top: 3rem; padding: 1.5rem 0 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: .75rem; color: var(--ink-faint);
}
@media (min-width: 40rem) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-bottom a { transition: color .2s ease; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Document pages (privacy / terms) ---------- */
.doc { padding-top: 9rem; }
.doc article { max-width: 48rem; margin: 0 auto; color: var(--ink-muted); line-height: 1.7; text-wrap: pretty; }
.doc h1 { font-size: 2.5rem; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
@media (min-width: 40rem) { .doc h1 { font-size: 3.25rem; } }
.doc .meta { margin-top: 1rem; font-size: .875rem; color: var(--ink-light); }
.doc .intro { margin-top: 1.5rem; font-size: 1.125rem; }
.doc h2 { margin-top: 3rem; font-size: 1.5rem; letter-spacing: -0.02em; }
.doc h3 { margin-top: 2rem; font-size: 1.125rem; color: #e5e5e5; }
.doc p { margin-top: 1rem; }
.doc ul { margin-top: 1rem; padding-left: 1.5rem; display: grid; gap: .5rem; }
.doc ul li { list-style: disc; }
.doc ul li::marker { color: var(--gold); }
.doc strong { color: #e5e5e5; font-weight: 600; }
.doc a:not(.bw-btn):not(.bw-btn-ghost) { color: var(--gold); }
.doc a:not(.bw-btn):not(.bw-btn-ghost):hover { color: var(--gold-hover); }
.doc .table-wrap { margin-top: 1rem; overflow-x: auto; border: 1px solid var(--line); border-radius: .75rem; }
.doc table { width: 100%; min-width: 32rem; border-collapse: collapse; font-size: .9375rem; text-align: left; }
.doc th { padding: .75rem 1rem; background: var(--bg-elevated); color: #e5e5e5; font-weight: 600; }
.doc td { padding: .75rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.doc td:first-child { color: #e5e5e5; font-weight: 500; }

/* ---------- Reusable kit for invite pages (.bw-*) ---------- */
.bw-page { min-height: 100vh; display: flex; flex-direction: column; }
.bw-page main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 7rem 1.5rem 4rem; }
.bw-card {
  width: 100%; max-width: 28rem; margin: 0 auto; padding: 2rem;
  border-radius: 1.25rem; border: 1px solid var(--line); background: var(--bg-raised);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(212, 168, 67, 0.06);
}
.bw-card-wide { max-width: 40rem; }
@media (min-width: 40rem) { .bw-card { padding: 2.5rem; } }
.bw-card .brand { justify-content: center; margin-bottom: 1.5rem; }
.bw-card h1 { font-size: 1.625rem; letter-spacing: -0.025em; line-height: 1.15; text-wrap: balance; }
.bw-card h2 { font-size: 1.125rem; margin-top: 1.5rem; }
.bw-card .sub, .bw-sub { margin-top: .625rem; color: var(--ink-muted); font-size: .9375rem; line-height: 1.6; text-wrap: pretty; }
.bw-card .center, .bw-center { text-align: center; }
.bw-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.bw-field { display: grid; gap: .375rem; }
.bw-field label { font-size: .8125rem; font-weight: 500; color: #d4d4d4; }
.bw-field input, .bw-field textarea, .bw-field select {
  width: 100%; padding: .7rem .9rem; border-radius: .75rem; color: var(--ink);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong);
  transition: border-color .2s ease, background-color .2s ease;
}
.bw-field input::placeholder, .bw-field textarea::placeholder { color: var(--ink-faint); }
.bw-field input:focus, .bw-field textarea:focus, .bw-field select:focus {
  outline: none; border-color: var(--gold); background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.18);
}
.bw-field .hint { font-size: .75rem; color: var(--ink-light); line-height: 1.5; }
.bw-field.has-error input { border-color: rgba(252, 165, 165, 0.6); }
.bw-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.bw-actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
@media (min-width: 40rem) { .bw-actions { flex-direction: row; } }
.bw-alert {
  margin-top: 1rem; padding: .875rem 1rem; border-radius: .75rem; font-size: .9rem; line-height: 1.5;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); color: #e5e5e5;
}
.bw-alert-error { border-color: rgba(252, 165, 165, 0.35); background: rgba(252, 165, 165, 0.08); color: var(--err); }
.bw-alert-ok { border-color: rgba(110, 231, 183, 0.35); background: rgba(110, 231, 183, 0.08); color: var(--ok); }
.bw-alert-gold { border-color: rgba(212, 168, 67, 0.35); background: rgba(212, 168, 67, 0.08); color: var(--gold-light); }
.bw-code {
  display: block; margin-top: .75rem; padding: .875rem 1rem; border-radius: .75rem;
  border: 1px dashed rgba(212, 168, 67, 0.4); background: rgba(212, 168, 67, 0.06);
  color: var(--gold-light); font-size: .95rem; letter-spacing: .04em; word-break: break-all; user-select: all;
}
.bw-list { margin-top: 1rem; display: grid; gap: .625rem; padding-left: 1.25rem; color: var(--ink-muted); font-size: .9375rem; }
.bw-list li::marker { color: var(--gold); }
.bw-steps { margin-top: 1rem; display: grid; gap: .75rem; padding-left: 1.5rem; color: var(--ink-muted); font-size: .9375rem; }
.bw-steps li::marker { color: var(--gold); font-weight: 600; }
.bw-table { width: 100%; margin-top: 1rem; border-collapse: collapse; font-size: .875rem; }
.bw-table th { text-align: left; padding: .5rem .75rem; color: var(--ink-light); font-weight: 500; border-bottom: 1px solid var(--line-strong); }
.bw-table td { padding: .625rem .75rem; border-bottom: 1px solid var(--line); color: var(--ink-muted); vertical-align: top; }
.bw-table td:first-child { color: #e5e5e5; }
.bw-badge { display: inline-flex; align-items: center; gap: .375rem; padding: .2rem .6rem; border-radius: 9999px; font-size: .75rem; font-weight: 500; background: rgba(255, 255, 255, 0.06); color: var(--ink-muted); }
.bw-badge-ok { background: rgba(110, 231, 183, 0.12); color: var(--ok); }
.bw-badge-gold { background: rgba(212, 168, 67, 0.12); color: var(--gold-light); }
.bw-badge-muted { color: var(--ink-light); }
.bw-divider { height: 1px; margin: 1.5rem 0; background: var(--line); }
.bw-muted { color: var(--ink-light); font-size: .8125rem; line-height: 1.5; }
.bw-footer-note { margin-top: 1.5rem; text-align: center; font-size: .8125rem; color: var(--ink-light); }
.bw-footer-note a { color: var(--ink-muted); }
.bw-footer-note a:hover { color: var(--gold); }
.bw-spinner {
  display: inline-block; width: 1rem; height: 1rem; border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.2); border-top-color: var(--gold);
  animation: bw-spin .8s linear infinite; vertical-align: -0.2em;
}
@keyframes bw-spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-top: 10rem; }
.notfound .big { font-size: 5rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: rgba(212, 168, 67, 0.35); }
.notfound h1 { margin-top: 1rem; font-size: 2rem; letter-spacing: -0.02em; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Apps section additions (2026-10-26): "coming soon" pills ---------- */
.card-actions .is-soon { opacity: .55; cursor: default; pointer-events: none; }
.doc .steps { margin-top: 1rem; padding-left: 1.25rem; display: grid; gap: .5rem; color: var(--ink-muted); }
.doc .steps li::marker { color: var(--gold); font-weight: 600; }
