/* numberRank shared styles for server-rendered and content pages. Geist tokens, light and dark. */
@font-face { font-family: 'Geist'; src: url('/fonts/Geist-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/GeistMono-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Pixel'; src: url('/fonts/GeistPixel-Square.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root {
  --bg-100: #fff; --bg-200: #fafafa;
  --gray-100: #f2f2f2; --gray-200: #ebebeb; --gray-500: #c9c9c9; --gray-700: #8f8f8f; --gray-900: #4d4d4d; --gray-1000: #171717;
  --alpha-200: #00000015; --alpha-400: #00000014; --alpha-600: #0000003d;
  --blue-100: #f0f7ff; --blue-400: #cce7ff; --blue-900: #0064e2; --blue-1000: #002453;
  --red-100: #ffeef0; --red-400: #ffd8d7; --red-900: #d60020;
  --green-100: #ecfdec; --green-400: #b9f5bc; --green-900: #107d32;
  --amber-100: #fff6e1; --amber-900: #a64f00;
  --shadow-border: 0 0 0 1px var(--alpha-400); --radius: 6px; --grid: #0000000a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg-100: #000; --bg-200: #0a0a0a;
    --gray-100: #1a1a1a; --gray-200: #1f1f1f; --gray-500: #454545; --gray-700: #8f8f8f; --gray-900: #a0a0a0; --gray-1000: #ededed;
    --alpha-200: #ffffff17; --alpha-400: #ffffff24; --alpha-600: #ffffff82;
    --blue-100: #06193a; --blue-400: #003771; --blue-900: #50a8ff; --blue-1000: #ebf6ff;
    --red-100: #330a11; --red-400: #6f101b; --red-900: #ff5e63;
    --green-100: #00250a; --green-400: #004616; --green-900: #00ca52;
    --amber-100: #291800; --amber-900: #f90;
    --grid: #ffffff0d;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg-100); color: var(--gray-1000); font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 14px; line-height: 20px; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
.mono { font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }
.pixel { font-family: 'Geist Pixel', 'Geist Mono', monospace; font-weight: 400; letter-spacing: 0; -webkit-font-smoothing: auto; }
a { color: inherit; }
.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wrap.wide { max-width: 1120px; }
header { height: 64px; display: flex; align-items: center; box-shadow: inset 0 -1px 0 var(--alpha-400); background: var(--bg-100); position: sticky; top: 0; z-index: 10; }
header .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; line-height: 1; color: var(--gray-1000); }
.brand .mark { width: 22px; height: 22px; border-radius: 6px; background: var(--gray-1000); color: var(--bg-100); display: grid; place-items: center; }
.brand .mark svg { width: 14px; height: 14px; display: block; }
header nav { display: flex; gap: 20px; font-size: 14px; color: var(--gray-900); }
header nav a { text-decoration: none; }
header nav a.on, header nav a:hover { color: var(--gray-1000); }
main { flex: 1; }
.hero { position: relative; padding: 56px 0 24px; }
.hero:before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(60% 80% at 30% 40%, #000 20%, transparent 100%); mask-image: radial-gradient(60% 80% at 30% 40%, #000 20%, transparent 100%); }
.kicker { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 9999px; background: var(--gray-100); color: var(--gray-900); font-size: 12px; font-weight: 500; margin: 0 0 16px; box-shadow: var(--shadow-border); }
h1 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.12; margin: 0 0 10px; max-width: 24ch; text-wrap: balance; }
.lede { color: var(--gray-900); font-size: 16px; line-height: 24px; max-width: 60ch; margin: 0; }
.note { margin: 20px 0 0; padding: 10px 14px; border-radius: var(--radius); background: var(--bg-200); box-shadow: var(--shadow-border); font-size: 13px; line-height: 18px; color: var(--gray-900); max-width: 72ch; }
.note b { color: var(--gray-1000); font-weight: 500; }
.crumbs { font-size: 13px; color: var(--gray-900); margin: 28px 0 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* prose pages */
.prose { max-width: 680px; padding-bottom: 8px; }
.prose h1 { margin-bottom: 14px; }
.prose h2 { font-size: 20px; line-height: 28px; margin: 36px 0 8px; }
.prose h3 { font-size: 15px; line-height: 20px; font-weight: 500; margin: 22px 0 6px; }
.prose p, .prose li { font-size: 15px; line-height: 24px; color: var(--gray-900); }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 14px; }
.prose li { margin: 0 0 6px; }
.prose strong { color: var(--gray-1000); font-weight: 500; }
.prose a { color: var(--gray-1000); }
.prose code { font-family: 'Geist Mono', monospace; font-size: 13px; background: var(--gray-100); padding: 1px 5px; border-radius: 4px; color: var(--gray-1000); }
.prose pre { background: var(--bg-200); box-shadow: var(--shadow-border); border-radius: var(--radius); padding: 12px 14px; overflow-x: auto; font-size: 13px; line-height: 18px; margin: 0 0 14px; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 8px 10px; box-shadow: inset 0 -1px 0 var(--alpha-400); vertical-align: top; }
.prose th { font-size: 12px; font-weight: 500; color: var(--gray-900); background: var(--bg-200); }
.prose .tablewrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-border); margin: 0 0 16px; }
.prose .tablewrap table { margin: 0; }

/* widget embed on content pages */
.widget { margin: 24px 0 0; display: flex; gap: 8px; max-width: 520px; }
.widget input[type=tel] { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border-radius: var(--radius); border: 0; box-shadow: var(--shadow-border); background: var(--bg-100); color: var(--gray-1000); font: inherit; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 16px; outline: none; }
.widget input[type=tel]:focus { box-shadow: 0 0 0 1px var(--gray-1000), 0 0 0 4px var(--alpha-200); }
.widget button { height: 48px; padding: 0 20px; border-radius: var(--radius); border: 0; cursor: pointer; background: var(--gray-1000); color: var(--bg-100); font: inherit; font-weight: 500; font-size: 14px; }
.widget button:hover { background: var(--gray-900); }

/* chips, grades, table */
.chip { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 9999px; font-size: 12px; line-height: 16px; font-weight: 500; background: var(--gray-100); color: var(--gray-1000); box-shadow: var(--shadow-border); white-space: nowrap; }
.chip.pass { background: var(--green-100); color: var(--green-900); box-shadow: 0 0 0 1px var(--green-400); }
.chip.fail { background: var(--red-100); color: var(--red-900); box-shadow: 0 0 0 1px var(--red-400); }
.cat { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 9999px; font-size: 12px; font-weight: 500; background: var(--gray-100); color: var(--gray-900); box-shadow: var(--shadow-border); white-space: nowrap; }
.alloc { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 9999px; font-size: 12px; font-weight: 500; white-space: nowrap; box-shadow: var(--shadow-border); background: var(--gray-100); color: var(--gray-900); }
.alloc.dedicated { background: var(--blue-100); color: var(--blue-900); box-shadow: 0 0 0 1px var(--blue-400); }
.grade { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: var(--radius); font-weight: 500; font-size: 13px; }
.grade.A { background: var(--green-100); color: var(--green-900); box-shadow: 0 0 0 1px var(--green-400); }
.grade.F, .grade.D, .grade.C { background: var(--red-100); color: var(--red-900); box-shadow: 0 0 0 1px var(--red-400); }
.grade.none { background: var(--gray-100); color: var(--gray-900); box-shadow: var(--shadow-border); font-weight: 400; font-size: 12px; }
.ours { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; margin-left: 6px; border-radius: 4px; font-size: 11px; font-weight: 500; font-family: 'Geist', sans-serif; background: var(--gray-1000); color: var(--bg-100); vertical-align: 2px; }
.basis { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 4px; font-size: 11px; line-height: 14px; font-family: 'Geist', sans-serif; background: var(--green-100); color: var(--green-900); margin-left: 6px; }
.type { font-family: 'Geist Mono', monospace; font-size: 12px; white-space: nowrap; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 28px 0 12px; }
.seg { display: inline-flex; padding: 2px; border-radius: 9999px; background: var(--gray-100); box-shadow: var(--shadow-border); }
.seg button { height: 28px; padding: 0 12px; border: 0; border-radius: 9999px; background: transparent; color: var(--gray-900); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.seg button.on { background: var(--bg-100); color: var(--gray-1000); box-shadow: var(--shadow-border); }
.seg button:focus-visible { outline: 2px solid var(--blue-900); outline-offset: 1px; }
.stats { display: flex; gap: 14px; font-size: 13px; color: var(--gray-900); }
.stats b { color: var(--gray-1000); font-weight: 500; }
.tablewrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-border); background: var(--bg-100); }
table.dir { width: 100%; border-collapse: collapse; min-width: 980px; }
table.dir th, table.dir td { text-align: left; padding: 12px 14px; box-shadow: inset 0 -1px 0 var(--alpha-400); vertical-align: middle; }
table.dir th { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--gray-900); background: var(--bg-200); white-space: nowrap; }
table.dir tr:last-child td { box-shadow: none; }
table.dir tr[hidden] { display: none; }
td.company { font-size: 16px; line-height: 20px; white-space: nowrap; }
td.company a { text-decoration: none; }
td.company a:hover { text-decoration: underline; }
td.line { white-space: nowrap; }
td.line .top { display: flex; align-items: center; gap: 8px; }
td.line .sc { font-size: 18px; line-height: 1; min-width: 26px; }
td.line .sc.pass { color: var(--green-900); } td.line .sc.fail { color: var(--red-900); }
td.line .sub { display: block; font-size: 12px; line-height: 16px; color: var(--gray-700); font-family: 'Geist Mono', monospace; margin-top: 4px; white-space: nowrap; }
td.line .sub a { color: var(--gray-900); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gray-500); }
td.line .none { color: var(--gray-700); font-size: 12px; }
.foot-note { color: var(--gray-900); font-size: 13px; line-height: 18px; margin: 14px 2px 0; max-width: 78ch; }
.foot-note a { color: var(--gray-1000); }

/* company page */
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 0; }
.linecard { background: var(--bg-100); box-shadow: var(--shadow-border); border-radius: var(--radius); padding: 16px 18px; }
.linecard h2 { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--gray-900); margin: 0 0 10px; }
.linecard .big { display: flex; align-items: center; gap: 10px; }
.linecard .big .sc { font-size: 28px; line-height: 1; }
.linecard .big .sc.pass { color: var(--green-900); } .linecard .big .sc.fail { color: var(--red-900); }
.linecard dl { margin: 12px 0 0; display: grid; grid-template-columns: 96px 1fr; gap: 4px 10px; font-size: 13px; line-height: 18px; }
.linecard dt { color: var(--gray-700); }
.linecard dd { margin: 0; color: var(--gray-1000); }
.linecard .none { color: var(--gray-700); font-size: 13px; }
.api { margin: 40px 0 0; }
.api h2 { font-size: 18px; line-height: 24px; margin: 0 0 6px; }
.api p { margin: 0 0 12px; color: var(--gray-900); }
.code { display: flex; align-items: center; gap: 8px; background: var(--bg-200); box-shadow: var(--shadow-border); border-radius: var(--radius); padding: 10px 14px; }
.code code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: 13px; font-family: 'Geist Mono', monospace; }
footer { margin-top: 64px; padding: 24px 0 40px; box-shadow: inset 0 1px 0 var(--alpha-400); color: var(--gray-900); font-size: 13px; line-height: 18px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
footer a { color: var(--gray-900); text-decoration: none; }
footer a:hover { color: var(--gray-1000); }
footer .links { display: flex; gap: 16px; flex-wrap: wrap; }
footer .powered { display: inline-flex; align-items: center; gap: 6px; }
.gather-mark { height: 14px; width: auto; display: inline-block; color: currentColor; position: relative; top: 1px; }
@media (max-width: 600px) { header nav { display: none; } .hero { padding-top: 36px; } .lines { grid-template-columns: 1fr; } .widget { flex-direction: column; } }
