/* Olympian Tools — shared site styles. Load from https://olympiantools.com/assets/ot.css on every page, including app subdomains.
   Light-only by design. Fonts: Merriweather (headings), Public Sans (body), IBM Plex Sans Condensed (wordmark), IBM Plex Mono (hostnames, data). */
:root {
  --bg: #FFFFFF;
  --bg-2: #F3F3F1;
  --fg: #1B1B1B;
  --fg-2: #565C65;
  --rule: #DFE1E2;
  --navy: #0F1F3D;
  --navy-2: #162B52;
  --on-navy: #F4F2EC;
  --bronze: #C8963E;
  --teal: #15807A;
  --link: #1F3F7A;
  --serif: 'Merriweather', Georgia, serif;
  --sans: 'Public Sans', system-ui, sans-serif;
  --brand: 'IBM Plex Sans Condensed', 'Arial Narrow', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --max: 1040px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; }               /* anchors land below the sticky header */
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--link); }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; }
.gutter { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.inner { max-width: var(--max); margin: 0 auto; }
h1, h2, h3 { text-wrap: balance; }

/* ---- notice strip ---- */
.ot-notice { background: var(--bg-2); border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--fg-2); }
.ot-notice .inner { padding-block: 7px; display: flex; gap: 10px; align-items: center; }
.ot-notice svg { width: 14px; height: 14px; flex: none; color: var(--bronze); }

/* ---- sticky header ---- */
.ot-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--rule); box-shadow: 0 1px 0 rgba(0,0,0,0.02); }
.ot-header.is-stuck { box-shadow: 0 2px 10px rgba(15,31,61,0.10); }
.ot-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.ot-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--fg); }
.ot-brand img { width: 40px; height: 40px; display: block; }
.ot-brand .word { font-family: var(--brand); font-weight: 700; font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.ot-brand .word span { letter-spacing: 0.2em; margin-left: 6px; opacity: 0.75; }
.ot-brand .app { font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--fg-2); border-left: 1px solid var(--rule); padding-left: 12px; margin-left: 2px; white-space: nowrap; }
.ot-nav { display: flex; gap: 24px; font-weight: 600; font-size: 15px; }
.ot-nav a { text-decoration: none; color: var(--fg); padding-block: 6px; border-bottom: 3px solid transparent; }
.ot-nav a:hover, .ot-nav a[aria-current="page"] { border-bottom-color: var(--bronze); }
.ot-nav a.pill { background: var(--navy); color: var(--on-navy); border: 0; border-radius: 999px; padding: 9px 18px; margin-left: 8px; line-height: 1; display: inline-flex; align-items: center; min-height: 40px; }
.ot-nav a.pill:hover { background: var(--navy-2); }
.ot-menu { display: none; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: 15px; background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: 4px; padding: 8px 12px; min-height: 44px; cursor: pointer; }
.ot-menu svg { width: 18px; height: 18px; }
.ot-menu .x { display: none; }
.ot-menu[aria-expanded="true"] .bars { display: none; }
.ot-menu[aria-expanded="true"] .x { display: block; }

/* ---- title band ---- */
.ot-band { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.ot-band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse 60% 120% at 85% 50%, rgba(31,168,160,0.18), transparent 60%),
  repeating-linear-gradient(115deg, rgba(244,242,236,0.045) 0 1px, transparent 1px 38px); }
.ot-band .inner { position: relative; z-index: 1; padding-block: 56px 52px; }
.ot-band h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 4.6vw, 44px); margin: 0 0 10px; line-height: 1.15; }
.ot-band p { margin: 0; font-size: 18px; max-width: 58ch; color: rgba(244,242,236,0.82); }
.ot-band .crumbs { font-size: 14px; margin: 0 0 18px; color: rgba(244,242,236,0.75); }
.ot-band .crumbs a { color: inherit; }

/* ---- common content pieces ---- */
.ot-section { padding-block: 40px 48px; }
.ot-section h2 { font-family: var(--serif); font-size: 24px; margin: 0 0 12px; line-height: 1.25; }
.ot-split { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px 36px; align-items: start; }
.ot-prose { max-width: 64ch; }
.ot-prose p { margin: 0 0 14px; }
.ot-card { border: 1px solid var(--rule); background: var(--bg); padding: 22px 22px 20px; }
.ot-card h2, .ot-card h3 { font-family: var(--serif); font-size: 19px; margin: 0 0 12px; line-height: 1.3; }
.ot-card p { margin: 0 0 16px; color: var(--fg-2); font-size: 15px; }
.ot-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: var(--on-navy); text-decoration: none; font: inherit; font-weight: 700; font-size: 15px; padding: 11px 18px; border-radius: 4px; border: 0; cursor: pointer; min-height: 44px; }
.ot-btn:hover { background: var(--navy-2); }
.ot-btn.secondary { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.ot-band-2 { background: var(--bg-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ot-facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px; }
.ot-facts dt { font-weight: 700; margin-bottom: 4px; }
.ot-facts dd { margin: 0; color: var(--fg-2); font-size: 15px; }
.ot-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ot-copy code { font-family: var(--mono); font-size: 15px; background: var(--bg-2); border: 1px solid var(--rule); padding: 10px 12px; user-select: all; color: var(--fg); }

/* ---- catalog tiles ---- */
.ot-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 24px 16px; }
.ot-filter label { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 12px; }
.ot-filter select { font: inherit; font-size: 15px; padding: 10px 40px 10px 12px; border: 1px solid var(--fg-2); border-radius: 3px; background: var(--bg); color: var(--fg); min-height: 44px; min-width: 240px; }
.ot-filter .count { color: var(--fg-2); font-size: 14px; }
.ot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ot-tile { border: 1px solid var(--rule); background: var(--bg); padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ot-tile[hidden] { display: none; }
.ot-tile h3 { margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--navy); border-left: 4px solid var(--bronze); padding-left: 12px; }
.ot-tile h3 a { color: inherit; text-decoration: none; }
.ot-tile h3 a:hover { text-decoration: underline; }
.ot-tile .host { font-family: var(--mono); font-size: 12.5px; color: var(--fg-2); margin: -2px 0 0 16px; }
.ot-tile p { margin: 4px 0 0; font-size: 15.5px; flex: 1; }
.ot-tile .meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-2); font-weight: 600; }
.ot-tile .state { display: inline-flex; align-items: center; gap: 7px; text-transform: none; letter-spacing: 0; font-size: 13.5px; }
.ot-tile .state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rule); }
.ot-tile .state.building, .ot-tile .state.live { color: var(--teal); }
.ot-tile .state.building::before, .ot-tile .state.live::before { background: var(--teal); }

/* ---- footer ---- */
.ot-footer { background: var(--navy); color: var(--on-navy); margin-top: 24px; }
.ot-footer .inner { padding-block: 36px 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 56px; align-items: start; }
.ot-footer .lock { display: flex; align-items: center; gap: 14px; }
.ot-footer .lock img { width: 56px; height: 56px; }
.ot-footer .lock .word { font-family: var(--brand); font-weight: 700; font-size: 26px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.ot-footer .lock .word span { display: block; font-size: 15px; letter-spacing: 0.3em; margin-top: 4px; opacity: 0.8; }
.ot-footer h2 { font-family: var(--sans); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 10px; opacity: 0.7; }
.ot-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.ot-footer a { color: var(--on-navy); }
.ot-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(244,242,236,0.18); padding-top: 16px; font-size: 13px; color: rgba(244,242,236,0.72); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.ot-footer .legal p { margin: 0; }

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .ot-header .inner { flex-wrap: wrap; gap: 10px; }
  .ot-brand img { width: 34px; height: 34px; }
  .ot-brand .word { font-size: 17px; }
  .ot-brand .app { display: none; }
  .ot-menu { display: inline-flex; margin-left: auto; }
  .ot-nav { display: none; flex-basis: 100%; flex-direction: column; gap: 0; border-top: 1px solid var(--rule); margin-top: 6px; }
  .ot-nav.open { display: flex; }
  .ot-nav a { padding: 14px 4px; border-bottom: 1px solid var(--rule); font-size: 16px; }
  .ot-nav a:last-child { border-bottom: 0; }
  .ot-nav a.pill { margin: 12px 0 4px; align-self: flex-start; padding: 11px 20px; border-radius: 999px; }
  .ot-nav a:hover { background: var(--bg-2); border-bottom-color: var(--rule); }
  .ot-split, .ot-grid, .ot-facts { grid-template-columns: 1fr; }
  .ot-footer .inner { grid-template-columns: 1fr; gap: 20px; }
}

/* ---- landing page (home) ---- */
.ot-hero { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.ot-hero svg.arcs { position: absolute; left: -12%; top: -10%; width: 70%; height: 130%; opacity: 0.22; pointer-events: none; }
.ot-hero svg.arcs.right { left: auto; right: -14%; top: 10%; width: 60%; height: 120%; opacity: 0.16; }
.ot-hero .inner { position: relative; z-index: 1; padding-block: 72px 112px; text-align: center; }
.ot-hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 4.8vw, 54px); line-height: 1.15; margin: 0 auto 18px; max-width: 20ch; }
.ot-hero .mission { font-size: clamp(17px, 2vw, 20px); line-height: 1.55; max-width: 62ch; margin: 0 auto 32px; color: rgba(244,242,236,0.85); }
.ot-hero .lead { font-size: 15px; margin: 0 0 14px; color: rgba(244,242,236,0.75); }
.ot-stats { display: flex; justify-content: center; align-items: stretch; margin: 0 0 36px; padding: 0; list-style: none; }
.ot-stats li { flex: 1 1 0; max-width: 300px; padding: 6px 24px; border-left: 1px solid rgba(244,242,236,0.25); }
.ot-stats li:first-child { border-left: 0; }
.ot-stats b { display: block; font-family: var(--serif); font-size: clamp(34px, 4.4vw, 46px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.ot-stats span { display: block; font-size: 15px; color: rgba(244,242,236,0.8); margin-top: 4px; }
.ot-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--bronze); color: var(--navy); text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; padding: 13px 24px; border-radius: 999px; min-height: 44px; }
.ot-pill:hover { filter: brightness(1.06); }
.ot-pill svg { width: 16px; height: 16px; }

.ot-audience { position: relative; z-index: 2; margin-top: -72px; }
.ot-audience .inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ot-aud { background: var(--bg); border: 1px solid var(--rule); border-top: 6px solid var(--bronze); padding: 22px 22px 18px; box-shadow: 0 6px 20px rgba(15,31,61,0.10); min-width: 0; }
.ot-aud h2 { font-family: var(--sans); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 14px; color: var(--fg); }
.ot-aud ul { list-style: none; margin: 0; padding: 0; }
.ot-aud li + li { border-top: 1px solid var(--rule); }
.ot-aud a { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; color: var(--link); font-weight: 600; font-size: 15px; padding: 11px 0; }
.ot-aud a:hover { text-decoration: underline; }
.ot-aud a svg { width: 14px; height: 14px; flex: none; }

.ot-updates { padding-block: 48px 8px; }
.ot-updates h2, .ot-apps h2 { font-family: var(--sans); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 16px; }
.ot-updates .inner > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ot-upd { border: 1px solid var(--rule); background: var(--bg); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ot-upd h3 { font-family: var(--sans); font-size: 16px; line-height: 1.35; margin: 0; color: var(--navy); border-left: 4px solid var(--bronze); padding-left: 12px; }
.ot-upd .pic { aspect-ratio: 16 / 9; background: var(--navy); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ot-upd .pic img { width: 34%; height: auto; }
.ot-upd .pic::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(244,242,236,0.06) 0 1px, transparent 1px 26px); }
.ot-upd p { margin: 0; font-size: 14.5px; color: var(--fg-2); flex: 1; }
.ot-upd time { font-size: 12.5px; color: var(--fg-2); letter-spacing: 0.04em; text-transform: uppercase; }

.ot-apps { background: var(--bg-2); border-top: 1px solid var(--rule); margin-top: 48px; }
.ot-apps .inner { padding-block: 40px 48px; }
.ot-apps .head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.ot-apps .head a { font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.ot-apps .head a:hover { text-decoration: underline; }
.ot-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ot-mini a { display: flex; flex-direction: column; gap: 14px; background: var(--bg); border: 1px solid var(--rule); padding: 16px 16px 14px; text-decoration: none; color: var(--fg); min-width: 0; }
.ot-mini a:hover h3 { text-decoration: underline; }
.ot-mini h3 { font-family: var(--sans); font-size: 15px; line-height: 1.35; margin: 0; color: var(--navy); border-left: 4px solid var(--bronze); padding-left: 10px; }
.ot-mini span { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-2); margin-top: auto; }

@media (max-width: 860px) {
  .ot-audience .inner, .ot-updates .inner > div { grid-template-columns: 1fr; }
  .ot-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ot-stats { flex-direction: column; gap: 14px; align-items: center; }
  .ot-stats li { border-left: 0; padding: 0; }
  .ot-hero .inner { padding-block: 48px 104px; }
}
@media (max-width: 480px) { .ot-mini { grid-template-columns: 1fr; } }
