/* Orca1 public site (served at /site/site.css). Server-rendered pages; no JavaScript required. */
:root {
    --navy-950: #050e1c;
    --navy-900: #071426;
    --navy-800: #0b1f3a;
    --navy-700: #12305a;
    --blue: #10669f;
    --blue-500: #2174af;
    --blue-300: #67b9f0;
    --teal: #03e0df;
    --teal-600: #0b8f9c;
    --ink: #0f1b2d;
    --text: #1d2b3f;
    --muted: #536479;
    --line: #dde5ef;
    --bg: #f3f6fa;
    --card: #ffffff;
    --good: #0f7a4a;
    --good-bg: #e6f5ee;
    --warn: #9a4b00;
    --warn-bg: #fff2e2;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(7, 20, 38, .06), 0 4px 16px rgba(7, 20, 38, .06);
    --font: Roboto, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-500); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 700; }
h2 { font-size: 1.2rem; font-weight: 700; }
h3 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 .8em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.skip-link {
    position: absolute; left: 8px; top: -48px; z-index: 10;
    background: var(--teal); color: var(--navy-900); padding: 8px 14px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* ---------------------------------------------------------------- header */
.site-header { background: var(--navy-950); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand img { display: block; height: 32px; width: auto; }
.top-nav ul { list-style: none; display: flex; align-items: center; gap: 4px 18px; margin: 0; padding: 0; flex-wrap: wrap; }
.top-nav a { color: #dce8f6; text-decoration: none; font-weight: 500; font-size: .95rem; }
.top-nav a:hover { color: #fff; }
.top-nav a.btn { color: var(--navy-900); }

/* ---------------------------------------------------------------- buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 18px; border-radius: 999px; font-weight: 600; text-decoration: none;
    border: 2px solid transparent; line-height: 1.2; font-size: .98rem;
}
.btn-primary { background: linear-gradient(135deg, var(--teal) 0%, var(--blue-300) 100%); color: var(--navy-900); }
.btn-primary:hover { color: var(--navy-900); filter: brightness(1.06); }
.btn-ghost { border-color: currentColor; color: var(--blue); background: transparent; }
.btn-ghost:hover { background: rgba(16, 102, 159, .06); }
.btn-small { padding: 7px 14px; font-size: .9rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* ---------------------------------------------------------------- hero */
.hero {
    background: radial-gradient(circle at 85% -20%, rgba(3, 224, 223, .22), transparent 45%),
                linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
    color: #eaf2fb; padding: 22px 0 34px;
}
.hero h1 { color: #fff; margin-top: 6px; overflow-wrap: anywhere; }
.hero .subtitle { color: #bcd2ea; font-size: 1.05rem; max-width: 60em; margin: 0; }
.hero .btn-ghost { color: #eaf2fb; }
.hero-message { padding: 56px 0 64px; }
.eyebrow {
    display: inline-block; margin: 14px 0 0; padding: 3px 10px; border-radius: 999px;
    background: rgba(3, 224, 223, .14); color: var(--teal); font-size: .8rem; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase;
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; font-size: .875rem; }
.crumbs li { color: #9fb6cf; overflow-wrap: anywhere; }
.crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; color: #6f89a6; }
.crumbs a { color: #cfe1f4; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.crumbs [aria-current] { color: #fff; }
.jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.jump a {
    display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: .875rem;
    border: 1px solid rgba(255, 255, 255, .22); color: #e4effa; text-decoration: none;
}
.jump a:hover { background: rgba(255, 255, 255, .08); }

/* ---------------------------------------------------------------- layout and cards */
.layout { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: -18px; padding-bottom: 40px; }
@media (min-width: 960px) {
    .layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
    .layout > .explore { position: sticky; top: 16px; }
}
.main-col { display: grid; gap: 20px; min-width: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
@media (min-width: 640px) { .card { padding: 24px; } }

.facts-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.facts-table th, .facts-table td { text-align: left; vertical-align: top; padding: 9px 0; border-bottom: 1px solid var(--line); }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }
.facts-table th { width: 36%; padding-right: 16px; color: var(--muted); font-weight: 500; }
.facts-table td { overflow-wrap: anywhere; color: var(--ink); }
@media (max-width: 560px) {
    .facts-table, .facts-table tbody, .facts-table tr, .facts-table th, .facts-table td { display: block; width: 100%; }
    .facts-table th { border-bottom: 0; padding-bottom: 0; font-size: .85rem; }
}

.tiles { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 0 0 12px; padding: 0; }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #f8fbfe; display: flex; flex-direction: column; gap: 4px; }
.tile-value { font-size: 1.3rem; font-weight: 700; color: var(--navy-800); }
.tile-label { font-size: .875rem; color: var(--muted); }
.tone-many .tile-value, .tone-some .tile-value { color: var(--blue); }
.tone-none .tile-value { color: var(--muted); }
.tone-yes { background: var(--good-bg); border-color: #bfe4d1; }
.tone-yes .tile-value { color: var(--good); }
.tone-no .tile-value { color: var(--muted); }
.tone-info .tile-value { font-size: 1rem; line-height: 1.35; }
.fineprint { font-size: .85rem; color: var(--muted); margin: 0; }

.related-group + .related-group { margin-top: 16px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.chips a, .chip-static {
    display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; max-width: 100%;
    padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #f6f9fc;
    text-decoration: none; font-size: .9rem; color: var(--ink);
}
.chips a:hover { border-color: var(--blue-300); background: #eef6fd; }
.chip-id { font-weight: 600; color: var(--blue); }
.chip-static .chip-id { color: var(--ink); }
.chip-note { color: var(--muted); overflow-wrap: anywhere; }

.explore { border-top: 4px solid var(--teal); }
.explore h2 { font-size: 1.15rem; }
.explore-lead { color: var(--muted); margin-bottom: 8px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%;
    background: var(--teal-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.explore .btn-primary { flex: 1 1 auto; }

.explainer-list { margin: 0; display: grid; gap: 6px 18px; }
.explainer-list dt { font-weight: 600; color: var(--ink); }
.explainer-list dd { margin: 0 0 6px; color: var(--text); }
@media (min-width: 720px) { .explainer-list { grid-template-columns: 170px 1fr; } .explainer-list dd { margin: 0; } }

.about { padding: 4px 4px 0; }
.about h2 { font-size: 1.05rem; }
.source { font-size: .9rem; color: var(--muted); }

/* ---------------------------------------------------------------- browse */
.browse-list { margin: 12px 0 0; padding-left: 0; list-style: none; columns: 1; column-gap: 28px; }
@media (min-width: 760px) { .browse-list { columns: 2; } }
.browse-list li { break-inside: avoid; padding: 5px 0; border-bottom: 1px dashed var(--line); overflow-wrap: anywhere; }
.browse-list a { font-weight: 600; }
.browse-note { color: var(--muted); margin-left: 8px; font-size: .92rem; }
.pager { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ---------------------------------------------------------------- catalog */
.category { padding: 34px 0 6px; scroll-margin-top: 12px; }
.category > h2 { font-size: 1.45rem; }
.type-grid { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.type-card { padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.type-card h3 { margin: 0; font-size: 1.02rem; }
.type-card h3 a { text-decoration: none; }
.type-card h3 a:hover { text-decoration: underline; }
.type-count { font-weight: 700; color: var(--navy-800); margin: 0; }
.type-about { color: var(--muted); font-size: .9rem; margin: 0; }
.type-note { margin: 4px 0 0; font-size: .82rem; color: var(--warn); background: var(--warn-bg); align-self: flex-start; padding: 2px 8px; border-radius: 999px; }
.cta-band { margin: 36px 0 12px; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #e4eef9; border: 0; }
.cta-band h2 { color: #fff; }
.cta-band .btn-ghost { color: #e4eef9; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--navy-950); color: #b8c9dc; margin-top: 24px; padding: 32px 0 12px; font-size: .92rem; }
.footer-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer .brand img { height: 28px; }
.footer-tag { margin-top: 10px; max-width: 32em; }
.footer-h { color: #fff; font-size: .95rem; margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #d7e5f3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 22px; padding-top: 12px; font-size: .82rem; color: #8da3bb; }

@media print {
    .site-header, .site-footer, .explore, .skip-link { display: none; }
    .hero { background: none; color: #000; }
    .hero h1 { color: #000; }
}
