/* Public /bots landing page only. Does not style bot panels, profile controls, or shared navigation. */
.bots-discovery {
    --bots-hub-line: color-mix(in srgb, var(--ink) 15%, transparent);
    --bots-hub-soft: color-mix(in srgb, var(--brand) 6%, var(--panel-strong));
    --bots-hub-accent: color-mix(in srgb, var(--brand) 50%, var(--ink));
    display: grid; gap: clamp(1.5rem, 3vw, 2.6rem); width: 100%; max-width: 1280px;
    margin-inline: auto; padding-block: .25rem 1rem; color: var(--ink);
}
.bots-discovery *, .bots-discovery *::before, .bots-discovery *::after { box-sizing: border-box; }
.bots-discovery :where(h1, h2, h3, p, ol, ul, dl, dt, dd) { margin: 0; }
.bots-discovery :where(section, article, aside, nav, div, span, details, summary, li) { min-width: 0; }
.bots-discovery a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.bots-discovery :where(a, summary, [tabindex]):focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.bots-discovery [id^="bots-hub-"] { scroll-margin-block-start: 8rem; }
.bots-discovery .bots-hub-icon { width: 1.2rem; height: 1.2rem; flex: 0 0 1.2rem; }
.bots-discovery .bots-hub-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.bots-discovery .bots-hub-kicker { display: flex; align-items: center; gap: .65rem; color: var(--muted); font-size: .73rem; line-height: 1.5; font-weight: 750; letter-spacing: .085em; text-transform: uppercase; overflow-wrap: anywhere; }
.bots-discovery .bots-hub-brand { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; flex: 0 0 2.25rem; border-radius: .75rem; font-size: .85rem; font-weight: 900; letter-spacing: -.05em; color: var(--ink); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 32%, var(--panel-strong)), color-mix(in srgb, var(--brand-2) 32%, var(--panel-strong))); }
.bots-discovery .bots-hub-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); align-items: center; gap: clamp(1.5rem, 3.5vw, 3.5rem); padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--bots-hub-line); border-radius: clamp(1.25rem, 2.2vw, 1.9rem); background: var(--panel); background: radial-gradient(ellipse at 3% 0%, color-mix(in srgb, var(--brand-2) 11%, transparent), transparent 65%), var(--panel); box-shadow: 0 10px 30px color-mix(in srgb, var(--ink) 5%, transparent); }
.bots-discovery .bots-hub-hero h1 { max-width: 19ch; font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1.05; letter-spacing: -.055em; font-weight: 850; margin-block: 1rem 1.1rem; text-wrap: balance; overflow-wrap: anywhere; }
.bots-discovery .bots-hub-hero h1 > span { display: block; color: var(--bots-hub-accent); }
.bots-discovery .bots-hub-intro { max-width: 49ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.7; }
.bots-discovery .bots-hub-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-block-start: 1.4rem; }
.bots-discovery .bots-hub-action { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 44px; max-width: 100%; padding: .7rem 1rem; border: 1px solid var(--bots-hub-line); border-radius: .85rem; background: var(--panel-strong); color: var(--ink); font: 750 .87rem/1.4 var(--font); text-align: center; text-decoration: none; overflow-wrap: anywhere; box-shadow: none; cursor: pointer; transition: transform .16s ease, border-color .16s ease, background-color .16s ease; }
html[data-theme] .bots-discovery a.bots-hub-action.bots-hub-action-primary,
.bots-discovery .bots-hub-action.bots-hub-action-primary { background: var(--ink); color: var(--panel-strong); border-color: var(--ink); }
.bots-discovery .bots-hub-action-secondary { background: transparent; }
.bots-discovery .bots-hub-text-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; max-width: 100%; padding-block: .45rem; border-radius: .3rem; font-size: .83rem; line-height: 1.5; font-weight: 650; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .2em; }
.bots-discovery .bots-hub-text-link > .bots-hub-icon { width: 1rem; height: 1rem; flex-basis: 1rem; }
.bots-discovery .bots-hub-browse { margin-block-start: .4rem; color: var(--muted); }
.bots-discovery .bots-hub-overview { display: grid; gap: .9rem; padding: clamp(1.1rem, 2vw, 1.65rem); border: 1px solid var(--bots-hub-line); border-radius: 1.3rem; background: var(--bots-hub-soft); }
.bots-discovery .bots-hub-overview-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.bots-discovery .bots-hub-tile { display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; flex: 0 0 2.9rem; border: 1px solid var(--bots-hub-line); border-radius: .9rem; background: var(--bots-hub-soft); color: var(--bots-hub-accent); }
.bots-discovery .bots-hub-tile .bots-hub-icon { width: 1.4rem; height: 1.4rem; }
.bots-discovery .bots-hub-overview-top > .bots-hub-tile { background: var(--panel-strong); }
.bots-discovery .bots-hub-badge { display: inline-flex; align-items: center; gap: .35rem; max-width: 100%; padding: .35rem .65rem; border: 1px solid var(--bots-hub-line); border-radius: 999px; color: var(--muted); background: var(--panel-strong); font-size: .71rem; line-height: 1.5; font-weight: 700; overflow-wrap: anywhere; }
.bots-discovery .bots-hub-overview h2 { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.25; letter-spacing: -.035em; font-weight: 800; }
.bots-discovery .bots-hub-fact { display: flex; align-items: flex-start; gap: .75rem; }
.bots-discovery .bots-hub-fact-icon { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; flex: 0 0 2.2rem; border-radius: .7rem; color: var(--bots-hub-accent); background: var(--panel-strong); }
.bots-discovery .bots-hub-fact h3 { font-size: .85rem; line-height: 1.5; font-weight: 750; }
.bots-discovery .bots-hub-fact p { color: var(--muted); font-size: .79rem; line-height: 1.6; }
.bots-discovery .bots-hub-overview-note { color: var(--muted); font-size: .76rem; line-height: 1.6; padding-block-start: .75rem; border-block-start: 1px solid var(--bots-hub-line); }
.bots-discovery .bots-hub-section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 1rem; margin-block-end: 1rem; }
.bots-discovery .bots-hub-section-heading .bots-hub-kicker { margin-block-end: .35rem; }
.bots-discovery .bots-hub-section-heading h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.3; font-weight: 800; letter-spacing: -.025em; }
.bots-discovery .bots-hub-section-heading > p, .bots-discovery .bots-hub-section-heading h2 + p { color: var(--muted); font-size: .86rem; line-height: 1.6; }
.bots-discovery .bots-hub-section-heading h2 + p { margin-block-start: .35rem; }
.bots-discovery summary::-webkit-details-marker { display: none; }
.bots-discovery summary::marker { content: ''; }
.bots-discovery summary > .bots-hub-icon { transition: transform .16s ease; }
.bots-discovery details[open] > summary > .bots-hub-icon { transform: rotate(180deg); }
.bots-discovery .bots-hub-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.bots-discovery .bots-hub-more-link { display: flex; align-items: center; gap: .75rem; min-height: 96px; padding: 1rem; border: 1px solid var(--bots-hub-line); border-radius: 1rem; background: var(--panel); }
.bots-discovery .bots-hub-more-icon { color: var(--bots-hub-accent); display: grid; place-items: center; }
.bots-discovery .bots-hub-more-link > span:nth-child(2) { flex: 1; }
.bots-discovery .bots-hub-more-link strong { display: block; font-size: .84rem; font-weight: 750; line-height: 1.4; overflow-wrap: anywhere; }
.bots-discovery .bots-hub-more-link small { display: block; margin-block-start: .3rem; color: var(--muted); font-size: .73rem; line-height: 1.6; overflow-wrap: anywhere; }
.bots-discovery .bots-hub-more-link > .bots-hub-icon { width: 1rem; height: 1rem; flex-basis: 1rem; }
.bots-discovery .bots-hub-help { border: 1px solid var(--bots-hub-line); border-radius: 1.2rem; background: var(--panel); }
.bots-discovery .bots-hub-help > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; padding: 1.1rem 1.4rem; list-style: none; cursor: pointer; border-radius: inherit; }
.bots-discovery .bots-hub-help > summary strong { display: block; font-size: 1rem; line-height: 1.5; }
.bots-discovery .bots-hub-help > summary small { display: block; margin-block-start: .15rem; color: var(--muted); font-size: .79rem; line-height: 1.6; }
.bots-discovery .bots-hub-help-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem 2rem; padding: .3rem 1.4rem 1.4rem; }
.bots-discovery .bots-hub-help-body h3 { font-size: .9rem; font-weight: 750; line-height: 1.6; }
.bots-discovery .bots-hub-help-body p { margin-block-start: .35rem; color: var(--muted); font-size: .83rem; line-height: 1.75; overflow-wrap: anywhere; }

.bots-discovery .bots-hub-tools { border-radius: 1rem; }
.bots-discovery .bots-hub-tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.bots-discovery .bots-hub-tool { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; padding: clamp(1.15rem, 2.2vw, 1.65rem); border: 1px solid var(--bots-hub-line); border-radius: 1.25rem; background: var(--panel); box-shadow: 0 4px 16px color-mix(in srgb, var(--ink) 3%, transparent); }
.bots-discovery .bots-hub-card-heading { display: flex; align-items: center; gap: .8rem; }
.bots-discovery .bots-hub-tool h3 { font-size: 1.12rem; font-weight: 800; line-height: 1.4; letter-spacing: -.02em; overflow-wrap: anywhere; }
.bots-discovery .bots-hub-tool > p { max-width: 60ch; color: var(--muted); font-size: .89rem; line-height: 1.75; }
.bots-discovery .bots-hub-features { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; list-style: none; }
.bots-discovery .bots-hub-features > li { margin: 0; padding: .3rem .6rem; border-radius: .55rem; color: var(--muted); background: var(--bots-hub-soft); font-size: .73rem; line-height: 1.5; }
.bots-discovery .bots-hub-tool-action { margin-block-start: auto; padding-block-start: .7rem; }
.bots-discovery .bots-hub-activity { padding: clamp(1.25rem, 2.8vw, 2rem); border: 1px solid var(--bots-hub-line); border-radius: 1.3rem; background: var(--bots-hub-soft); }
.bots-discovery .bots-hub-account-empty { display: flex; align-items: center; gap: 1rem; }
.bots-discovery .bots-hub-account-empty > div { flex: 1; }
.bots-discovery .bots-hub-account-empty h3 { font-size: 1rem; line-height: 1.5; }
.bots-discovery .bots-hub-account-empty p { max-width: 64ch; margin-block-start: .25rem; color: var(--muted); font-size: .88rem; line-height: 1.75; }
.bots-discovery .bots-hub-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.bots-discovery .bots-hub-metric { padding: 1.1rem; border: 1px solid var(--bots-hub-line); border-radius: .9rem; background: var(--panel-strong); }
.bots-discovery .bots-hub-metric dt { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.bots-discovery .bots-hub-metric dd { margin-block-start: .4rem; color: var(--ink); font-size: clamp(1.2rem, 2.1vw, 1.8rem); line-height: 1.25; letter-spacing: -.025em; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bots-discovery .bots-hub-activity-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1rem; margin-block-start: .8rem; }
.bots-discovery .bots-hub-activity-footer p { color: var(--muted); font-size: .8rem; line-height: 1.6; }
.bots-discovery .bots-hub-data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.bots-discovery .bots-hub-disclosure { border: 1px solid var(--bots-hub-line); border-radius: 1.2rem; background: var(--panel); }
.bots-discovery .bots-hub-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: .7rem; min-height: 100px; padding: 1.15rem 1.4rem; list-style: none; cursor: pointer; border-radius: inherit; }
.bots-discovery .bots-hub-summary-label { display: flex; align-items: center; gap: .8rem; }
.bots-discovery .bots-hub-summary-label strong { display: block; font-size: 1rem; line-height: 1.4; }
.bots-discovery .bots-hub-summary-label small { display: block; margin-block-start: .25rem; color: var(--muted); font-size: .76rem; line-height: 1.6; }
.bots-discovery .bots-hub-disclosure-body { padding: 0 1.4rem 1.1rem; }
.bots-discovery .bots-hub-disclosure-body > p { margin-block-end: .9rem; color: var(--muted); font-size: .83rem; line-height: 1.7; }
.bots-discovery .bots-hub-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; table-layout: fixed; background: transparent; text-align: start; }
.bots-discovery .bots-hub-col-name { width: 50%; }
.bots-discovery .bots-hub-table :is(th, td) { padding: .7rem .4rem; background: transparent; border: 0; border-block-end: 1px solid var(--bots-hub-line); color: var(--ink); font-size: .79rem; line-height: 1.7; text-align: start; vertical-align: top; white-space: normal; overflow-wrap: anywhere; }
.bots-discovery .bots-hub-table thead th { color: var(--muted); font-size: .7rem; line-height: 1.6; font-weight: 700; }
.bots-discovery .bots-hub-table tbody th { font-weight: 650; text-transform: none; letter-spacing: normal; }
.bots-discovery .bots-hub-table :is(th, td):first-child { padding-inline-start: 0; }
.bots-discovery .bots-hub-table :is(th, td):last-child { padding-inline-end: 0; }
.bots-discovery .bots-hub-table .bots-hub-text-link { font-size: .78rem; padding-block: 0; min-height: 44px; align-items: flex-start; text-decoration: underline; text-decoration-color: currentColor; }
.bots-discovery .bots-hub-server-id { display: block; margin-block-start: .2rem; color: var(--muted); font-size: .68rem; line-height: 1.7; font-weight: 500; }
.bots-discovery .bots-hub-unavailable { color: var(--muted); font-size: .74rem; }
.bots-discovery .bots-hub-data-empty h3 { font-size: .95rem; line-height: 1.5; }
.bots-discovery .bots-hub-data-empty p { margin-block-start: .4rem; color: var(--muted); font-size: .85rem; line-height: 1.75; }
.bots-discovery .bots-hub-disclosure-body > .bots-hub-text-link { margin-block-start: .6rem; }
.bots-discovery :is(h3, p, li, strong, small) { overflow-wrap: anywhere; }

@media (hover: hover) {
    .bots-discovery .bots-hub-action:hover { transform: translateY(-1px); border-color: var(--ink); }
    .bots-discovery .bots-hub-text-link:hover { color: var(--ink); text-decoration-color: currentColor; }
    .bots-discovery .bots-hub-more-link:hover { background: var(--bots-hub-soft); border-color: var(--bots-hub-accent); }
    .bots-discovery summary:hover { color: var(--bots-hub-accent); }
}
@media (max-width: 1080px) {
    .bots-discovery .bots-hub-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: 1.5rem; }
}
@media (max-width: 850px) {
    .bots-discovery .bots-hub-hero { grid-template-columns: minmax(0, 1fr); }
    .bots-discovery .bots-hub-hero h1 { max-width: 21ch; }
    .bots-discovery .bots-hub-intro { max-width: 65ch; }
    .bots-discovery .bots-hub-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem 1rem; }
    .bots-discovery .bots-hub-overview-top, .bots-discovery .bots-hub-overview h2, .bots-discovery .bots-hub-overview-note { grid-column: 1 / -1; }
    .bots-discovery .bots-hub-fact { flex-direction: column; gap: .55rem; }
}
@media (max-width: 600px) {
    .bots-discovery .bots-hub-hero h1 { font-size: clamp(2.2rem, 8.5vw, 3rem); }
    .bots-discovery .bots-hub-hero-copy > .bots-hub-kicker { font-size: .65rem; }
    .bots-discovery .bots-hub-actions .bots-hub-action { flex: 1 1 auto; }
    .bots-discovery .bots-hub-fact { gap: .75rem; }
    .bots-discovery .bots-hub-more-link { min-height: 80px; }
}
@media (max-width: 360px) {
    .bots-discovery .bots-hub-hero { padding: 1rem; }
    .bots-discovery .bots-hub-hero h1 { font-size: 2.1rem; }
    .bots-discovery .bots-hub-actions { flex-direction: column; }
}
html[dir="rtl"] .bots-discovery :is(.bots-hub-more-link, .bots-hub-action-primary) > .bots-hub-icon,
html[dir="rtl"] .bots-discovery .bots-hub-text-link:not(.bots-hub-browse) > .bots-hub-icon { transform: scaleX(-1); }
html[data-contrast-preference="boost"] .bots-discovery { --bots-hub-line: color-mix(in srgb, var(--ink) 45%, transparent); --bots-hub-accent: var(--ink); }
html[data-contrast-preference="boost"] .bots-discovery :is(p, small, .bots-hub-badge) { color: var(--ink); }
html[data-motion-preference="reduce"] .bots-discovery :is(.bots-hub-action, summary > .bots-hub-icon),
body.accessibility-motion-reduce .bots-discovery :is(.bots-hub-action, summary > .bots-hub-icon) { transition: none !important; }
html[data-motion-preference="reduce"] .bots-discovery .bots-hub-action:hover,
body.accessibility-motion-reduce .bots-discovery .bots-hub-action:hover { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
    .bots-discovery :is(.bots-hub-action, summary > .bots-hub-icon) { transition: none !important; }
    .bots-discovery .bots-hub-action:hover { transform: none !important; }
}
@media (forced-colors: active) {
    html[data-theme] .bots-discovery a.bots-hub-action.bots-hub-action-primary,
    .bots-discovery .bots-hub-action { background: ButtonFace; color: ButtonText; border-color: ButtonText; }
    .bots-discovery .bots-hub-text-link { color: LinkText; text-decoration: underline; }
}

@media (max-width: 850px) {
    .bots-discovery .bots-hub-account-empty { flex-wrap: wrap; }
    .bots-discovery .bots-hub-account-empty > .bots-hub-action { margin-inline-start: 3.9rem; }
    .bots-discovery .bots-hub-account-empty > div { flex: 1 1 70%; }
}
@media (max-width: 600px) {
    .bots-discovery :is(.bots-hub-overview, .bots-hub-tool-grid, .bots-hub-more-grid, .bots-hub-help-body, .bots-hub-data-grid) { grid-template-columns: minmax(0, 1fr); }
    .bots-discovery .bots-hub-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bots-discovery .bots-hub-metric { padding: .85rem; }
    .bots-discovery .bots-hub-account-empty { align-items: flex-start; }
    .bots-discovery .bots-hub-account-empty > div { flex-basis: calc(100% - 4rem); }
    .bots-discovery .bots-hub-account-empty > .bots-hub-action { width: 100%; margin-inline-start: 0; }
    .bots-discovery .bots-hub-disclosure > summary { padding: 1rem; }
    .bots-discovery .bots-hub-disclosure-body { padding-inline: 1rem; }
    .bots-discovery .bots-hub-table :is(th, td) { font-size: .75rem; padding-inline: .25rem; }
    .bots-discovery .bots-hub-table thead th { font-size: .68rem; }
}
@media (forced-colors: active) {
    .bots-discovery :is(.bots-hub-hero, .bots-hub-overview, .bots-hub-tool, .bots-hub-activity, .bots-hub-metric, .bots-hub-disclosure, .bots-hub-more-link, .bots-hub-help, .bots-hub-tile, .bots-hub-brand, .bots-hub-fact-icon, .bots-hub-features > li) { background: Canvas; color: CanvasText; border-color: CanvasText; box-shadow: none; }
    .bots-discovery :is(.bots-hub-badge, .bots-hub-overview-note, .bots-hub-table th, .bots-hub-table td) { border-color: CanvasText; }
}

@media (max-width: 600px) { .bots-discovery .bots-hub-fact { flex-direction: row; } }
