@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Instrument+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #111213; --panel: #1a1c1d; --panel-2: #202223; --line: #303334; --line-strong: #515556;
  --text: #eeeae2; --muted: #a5a39d; --dim: #6f716f; --accent: #f2673f; --accent-dark: #c84c2b;
  --good: #91a98b; --warn: #e0b45a; --danger: #de6464; --info: #7ba7ae;
  --font: "Instrument Sans", "Segoe UI", Arial, sans-serif; --mono: "IBM Plex Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html { min-height: 100%; color-scheme: dark; scrollbar-color: #4b4e4f var(--bg); scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; color: var(--text); background: var(--bg); font-family: var(--font); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before, .hero::after, .bg-grid, .bg-orb, .sentinel-stage, .sentinel-vignette { display: none !important; }
a { color: inherit; } button, input, textarea, select { font: inherit; }
::selection { color: #111; background: #f0a084; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hidden { display: none !important; } .muted { color: var(--muted); } .mono { font-family: var(--mono); }
.stack { display: grid; gap: 16px; }

.topbar, .hero-wrap, .data-wrap, .footer { position: relative; z-index: 1; }
.topbar { width: min(1120px, 94vw); min-height: 64px; margin: 0 auto; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.topbar.compact { margin-bottom: 0; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.brand small { padding-left: 9px; border-left: 1px solid var(--line); color: var(--muted); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.brand-mark { display: inline-block; width: 10px; height: 16px; background: var(--accent); transform: skew(-8deg); }
.navlinks { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.navlinks [data-auth-slot] { display: inline-flex; align-items: center; }
.navlinks a { padding: 7px 10px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 650; border-bottom: 2px solid transparent; transition: color 140ms ease, border-color 140ms ease; }
.navlinks a:hover { color: var(--text); } .navlinks a.active { color: var(--text); border-bottom-color: var(--accent); }
.runtime-badge { color: var(--dim); font: 11px var(--mono); }

.hero-wrap { width: min(1120px, 94vw); margin: 32px auto 48px; }
.hero { overflow: hidden; border: 1px solid var(--line); border-radius: 8px 8px 0 0; background: var(--panel); }
.home-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.hero-copy { padding: clamp(34px, 4.5vw, 54px); border-right: 1px solid var(--line); }
.eyebrow, .kicker, .home-metric-label, .plan-label { margin: 0 0 16px; color: var(--accent); font: 700 10px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.hero h1, .page-intro h1 { max-width: 710px; margin: 0 0 18px; color: var(--text); font-size: clamp(34px, 4.2vw, 50px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
.lede { max-width: 650px; margin: 0; color: #c2bfb8; font-size: clamp(15px, 1.8vw, 18px); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.hero-note { margin: 22px 0 0; color: var(--dim); font: 11px var(--mono); }
.checker-panel { display: flex; min-width: 0; flex-direction: column; background: #111314; }
.checker-list { display: grid; flex: 1; grid-template-rows: repeat(4, minmax(74px, 1fr)); margin: 0; padding: 0; list-style: none; }
.checker-list li { display: grid; grid-template-columns: 1fr; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); background: #17191a; transition: background 140ms ease; }
.checker-list li:nth-child(even) { background: #1b1d1e; }
.checker-list li:hover { background: #222425; }
.checker-list strong, .checker-list small { display: block; } .checker-list strong { font-size: 13px; }
.checker-list small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.checker-panel-foot { display: grid; gap: 3px; padding: 14px 20px; border-top: 1px solid var(--line); background: #111314; }
.checker-panel-foot strong { color: var(--text); font-size: 12px; }
.checker-panel-foot span { color: var(--muted); font-size: 11px; }

.btn { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 5px; color: var(--text); background: transparent; text-decoration: none; font-size: 13px; font-weight: 750; cursor: pointer; box-shadow: none; transition: color 140ms ease, background 140ms ease, border-color 140ms ease; }
.btn:hover { border-color: var(--text); background: #242627; transform: none; }
.btn.primary { color: #151515; border-color: var(--accent); background: var(--accent); }
.btn.primary:hover { color: #111; border-color: #ff8a66; background: #ff8a66; filter: none; }
.btn.disabled { color: var(--dim); border-color: var(--line); background: #17191a; cursor: not-allowed; pointer-events: none; }
.btn.small { min-height: 34px; padding: 6px 11px; font-size: 12px; } .btn-discord { border-color: #5a5f69; }

.fact-strip { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 8px 8px; }
.fact-strip div { padding: 14px 18px; } .fact-strip div + div { border-left: 1px solid var(--line); }
.fact-strip strong, .fact-strip span { display: block; } .fact-strip strong { font-size: 12px; }
.fact-strip span { margin-top: 3px; color: var(--muted); font-size: 11px; }

.home-content-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(420px, .95fr); gap: 40px; align-items: start; margin-top: 56px; }
.home-content-grid .product-section, .home-content-grid .pricing-section { margin-top: 0; }
.product-section, .pricing-section { margin-top: 72px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); gap: 48px; align-items: end; margin-bottom: 26px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2, .faq-preview h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.12; letter-spacing: -.025em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 13px; }
.home-content-grid .section-heading { grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
.home-content-grid .section-heading h2 { font-size: clamp(23px, 2.6vw, 30px); }
.home-content-grid .section-heading > p { max-width: 540px; }
.feature-list { border-top: 1px solid var(--line); }
.feature-row { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: baseline; padding: 19px 4px; border-bottom: 1px solid var(--line); transition: background 140ms ease; }
.feature-row:hover { background: #17191a; }
.feature-row h3, .feature-row p { margin: 0; } .feature-row h3 { font-size: 16px; }
.feature-row p { max-width: 520px; color: var(--muted); font-size: 13px; }

.pricing-table { border-top: 1px solid var(--line); }
.price-row { position: relative; display: grid; grid-template-columns: minmax(150px, .9fr) minmax(220px, 1.5fr) 80px 118px; gap: 24px; align-items: center; min-height: 98px; padding: 20px 18px; border-bottom: 1px solid var(--line); transition: background 140ms ease; }
.price-row:hover { background: #17191a; }
.price-row.recommended { background: #1b1d1e; border-left: 3px solid var(--accent); padding-left: 15px; }
.price-name { display: flex; align-items: baseline; }
.price-name h2, .price-name h3 { margin: 0; font-size: 20px; }
.price-row > p, .price-row > div > p { margin: 0; color: var(--muted); font-size: 13px; }
.price { color: var(--text); font-size: 24px; letter-spacing: -.03em; }
.pricing-table-large { margin-top: 24px; }
.home-content-grid .pricing-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border-top: 0; background: var(--line); }
.home-content-grid .price-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; min-height: 112px; padding: 16px 13px; }
.home-content-grid .price-row { border-bottom: 0; background: var(--panel); }
.home-content-grid .price-name { grid-column: 1; grid-row: 1; }
.home-content-grid .price-name h3 { white-space: nowrap; font-size: 18px; }
.home-content-grid .price-row > p { grid-column: 1; grid-row: 2; }
.home-content-grid .price-row > p { max-width: 110px; font-size: 12px; line-height: 1.45; }
.home-content-grid .price { grid-column: 2; grid-row: 1; font-size: 21px; text-align: right; }
.home-content-grid .price-row .btn { grid-column: 2; grid-row: 2; min-width: 84px; min-height: 36px; padding: 6px 10px; }
.purchase-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.purchase-note a, .text-link, .legal-page a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }

.faq-preview { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-top: 64px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-preview .eyebrow { margin-bottom: 10px; } .text-link { flex: 0 0 auto; font-size: 13px; font-weight: 750; }
.product-section .faq-preview { align-items: center; margin-top: 28px; padding: 22px 24px; border: 1px solid var(--line); background: var(--panel); }
.product-section .faq-preview h2 { font-size: clamp(20px, 2.4vw, 25px); }
.product-section .faq-preview .text-link { max-width: 150px; text-align: right; }
.page-intro { max-width: 820px; padding: 22px 0 38px; border-bottom: 1px solid var(--line); }
.page-intro h1 { font-size: clamp(34px, 4.5vw, 48px); }

.card-grid, .home-metrics, .support-grid, .split-card, .pricing-grid, .admin-presence-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card, .plan-card, .presence-stat-card, .wip-item { padding: 20px; border: 0; border-radius: 4px; background: var(--panel); box-shadow: none; backdrop-filter: none; }
.card h2, .card h3, .plan-card h2 { margin-top: 0; } .card p, .plan-card p { color: var(--muted); }
.plan-card.featured { background: var(--panel-2); border-top: 3px solid var(--accent); }
.plan-price { margin: 10px 0; color: var(--text) !important; font-size: 32px; font-weight: 750; }

.footer { width: min(1120px, 94vw); margin: 0 auto 28px; padding-top: 18px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a, .footer a { color: var(--muted); text-decoration: none; } .footer-links a:hover, .footer a:hover { color: var(--text); background: none; }

.data-wrap { width: min(1240px, 94vw); margin: 38px auto 48px; }
.data-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.data-head h1 { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; }
.data-subline { max-width: 760px; margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.data-controls, .chips, .inline-row, .room-chip-list, .support-actions, .wip-item-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip, .pill, .report-tag, .room-chip, .license-pill, .user-chip { border: 1px solid var(--line); border-radius: 0; background: var(--panel); }
.chip { padding: 6px 9px; font-size: 11px; } .chip.danger { color: #ef9999; }.chip.warn { color: #e0b45a; }.chip.info { color: #8ab7be; }

.table-card { overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: var(--panel); box-shadow: none; }
.table-meta { padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.table-shell { max-height: calc(100vh - 260px); overflow: auto; } table { width: 100%; border-collapse: collapse; }
th, td { padding: 9px 11px; border-bottom: 1px solid #292b2c; text-align: left; font-size: clamp(11px, 1.4vw, 13px); }
th { position: sticky; top: 0; z-index: 1; color: #d8d5ce; background: #1b1d1e; font: 700 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
tbody tr:hover td { background: #1c1e1f; } .muted-cell { padding: 24px; color: var(--muted); text-align: center; }
.sev-danger { color: var(--danger); font-weight: 700; }.sev-warning { color: var(--warn); font-weight: 700; }.sev-info { color: var(--info); font-weight: 700; }
.report-message-cell { min-width: 360px; }

.report-filters-card { margin-bottom: 10px; }
.report-filters, .form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.report-filters { padding: 14px; align-items: end; } .report-filter-field, .form-field { display: grid; gap: 6px; }
.report-filter-field span, .form-field label { color: var(--muted); font: 10px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.report-filter-grow { grid-column: span 2; }
.data-controls input, .report-filter-field input, .report-filter-field select, .form-field input, .form-field select, .form-field textarea { width: 100%; padding: 10px 11px; border: 1px solid var(--line); border-radius: 0; outline: 0; color: var(--text); background: #111314; box-shadow: none; }
.data-controls input { min-width: 190px; }
.data-controls input:focus, .report-filter-field input:focus, .report-filter-field select:focus, .form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--accent); box-shadow: none; }
.form-field textarea { min-height: 96px; resize: vertical; } input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }
input[type="file"]::file-selector-button { margin-right: 10px; padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 0; color: var(--text); background: var(--panel-2); }

.home-stats, .home-overview, .license-list, .list-stack { display: grid; gap: 10px; }
.home-metric { display: grid; gap: 4px; } .home-metric-value { color: var(--text); font-size: clamp(24px, 3vw, 32px); line-height: 1; }
.home-metric-note { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.home-chart { padding: 14px; } .home-section-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.home-section-head h2, .home-section-head p { margin: 0; } .home-section-head p { color: var(--muted); font-size: 12px; }
.home-chart-graph { min-height: 120px; display: flex; align-items: flex-end; gap: 4px; padding: 8px 0 6px; border-bottom: 1px solid var(--line); }
.bar-col { min-height: 104px; flex: 1; display: flex; align-items: flex-end; } .bar-inner, .support-progress-fill { width: 100%; min-height: 2px; background: var(--accent); border-radius: 0; }
.home-chart-labels { display: flex; justify-content: space-between; margin-top: 8px; color: var(--dim); font: 10px var(--mono); }
.home-list { color: var(--muted); font-size: 13px; }

.presence-stat-label { color: var(--muted); font: 10px var(--mono); text-transform: uppercase; }
.presence-stat-value { display: block; margin-top: 6px; color: var(--text); font-size: 28px; }
.room-chip { min-width: 132px; padding: 10px 12px; } .room-chip-code { font: 700 12px var(--mono); }
.tiny-meta, .room-chip-meta { color: var(--muted); font-size: 11px; }
.presence-inline-status, .status-badge { display: inline-block; padding: 3px 7px; border: 1px solid currentColor; border-radius: 0; font: 700 10px var(--mono); text-transform: uppercase; }
.status-live, .status-badge.done { color: var(--good); }.status-warm, .status-badge.in-progress { color: var(--warn); }.status-stale { color: var(--info); }.status-badge.planned { color: var(--muted); }

.dash-hero { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 30px; }
.dash-hero h1 { font-size: clamp(30px, 5vw, 52px); }
.dash-avatar { width: 84px; height: 84px; border: 1px solid var(--line); border-radius: 0; object-fit: cover; background: var(--panel-2); }
.license-pill { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; }
.license-pill span { color: var(--muted); font: 11px var(--mono); }
.login-panel { max-width: 440px; margin: 10vh auto 0; }
.user-chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 5px; color: var(--text); text-decoration: none; font-size: 12px; font-weight: 700; }
.user-avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }

.legal-page { width: min(760px, 92vw); margin: 48px auto 70px; }
.legal-page > header { margin-bottom: 38px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal-page h1 { margin: 0 0 9px; font-size: clamp(32px, 4vw, 44px); line-height: 1.05; letter-spacing: -.03em; }
.legal-page h2 { margin: 0 0 8px; font-size: 18px; } .legal-page section + section { margin-top: 30px; }
.legal-page p, .legal-page li { color: #bbb8b1; } .legal-page ul { padding-left: 20px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.faq-list summary { padding: 19px 32px 19px 0; color: var(--text); font-weight: 700; cursor: pointer; }
.faq-list details p { max-width: 660px; margin: 0 0 20px; color: var(--muted); }

.support-progress { height: 7px; overflow: hidden; border: 1px solid var(--line); border-radius: 0; background: #111; }
.chart-cursor-tip { position: fixed; z-index: 9999; padding: 6px 9px; border: 1px solid var(--line); border-radius: 0; color: var(--text); background: #111; font: 10px var(--mono); pointer-events: none; opacity: 0; }

@media (max-width: 880px) {
  .topbar { flex-wrap: wrap; padding: 15px 0; }
  .navlinks { order: 3; width: 100%; margin: 0; padding-top: 10px; overflow-x: auto; border-top: 1px solid var(--line); }
  .navlinks a { white-space: nowrap; } .home-hero { grid-template-columns: 1fr; }
  .hero-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .home-content-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature-row { grid-template-columns: 180px 1fr; gap: 20px; }
  .price-row { grid-template-columns: 1fr 80px 110px; }
  .price-row > p, .price-row > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .data-head { align-items: flex-start; flex-direction: column; } .report-filter-grow { grid-column: span 1; }
}
@media (max-width: 600px) {
  .hero-wrap { margin-top: 28px; } .hero-copy { padding: 34px 22px; }
  .hero h1 { font-size: clamp(32px, 10vw, 44px); }
  .fact-strip { grid-template-columns: 1fr; } .fact-strip div + div { border-left: 0; border-top: 1px solid var(--line); }
  .product-section, .pricing-section, .faq-preview { margin-top: 56px; }
  .home-content-grid { margin-top: 48px; gap: 48px; }
  .home-content-grid .pricing-table { grid-template-columns: 1fr; }
  .product-section .faq-preview { align-items: flex-start; padding: 20px; }
  .product-section .faq-preview .text-link { max-width: none; text-align: left; }
  .feature-row { grid-template-columns: 1fr; gap: 7px; } .feature-row p { grid-column: 1; }
  .price-row { grid-template-columns: 1fr auto; gap: 10px; padding: 18px 8px; }
  .price-row .price { text-align: right; } .price-row .btn { grid-column: 1 / -1; width: 100%; }
  .price-row > p, .price-row > div:nth-child(2) { grid-column: 1 / -1; grid-row: auto; }
  .faq-preview { align-items: flex-start; flex-direction: column; } .footer { flex-direction: column; }
  .dash-hero { grid-template-columns: 1fr; }
}
