/* Outclass marketing pages — static tenant CSS.
   Brand tokens ported from client/src/pages/public/OutclassLanding.css (the live React landing
   page). This file styles pre-rendered HTML served directly by tenants/outclass/routes.json, so
   it deliberately skips the framer-motion scroll demos — those need a JS bundle no crawler runs
   anyway (see 2026-08-11 GEO audit). Reveal animation here is CSS-only, gated behind
   prefers-reduced-motion, and every element is visible with no JS at all. */

:root {
  --oc-paper: #fbfaf6;
  --oc-surface: #f3f2ee;
  --oc-ink: #111111;
  --oc-ink-soft: #1c1c1c;
  --oc-muted: #686763;
  --oc-body: #55544f;
  --oc-rule: #d8d7d3;
  --oc-rule-dark: #3d3c39;
  --oc-blue: #003a7c;
  --serif: "EB Garamond", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Courier Prime", "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body.oc-page {
  margin: 0;
  background: var(--oc-paper);
  color: var(--oc-ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.oc-shell {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

/* ── Header ── */
.oc-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
  background: rgb(10 10 10 / 92%);
  backdrop-filter: blur(14px);
}
.oc-header__inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.oc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}
.oc-brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.oc-brand span {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.oc-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.oc-nav-links a,
.oc-header__sign-in {
  color: rgb(255 255 255 / 74%);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.oc-nav-links a:hover,
.oc-header__sign-in:hover {
  color: #fff;
}
.oc-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
@media (max-width: 760px) {
  .oc-nav-links {
    display: none;
  }
}

/* ── Buttons ── */
.oc-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--oc-ink);
  border-radius: 6px;
  background: var(--oc-ink);
  color: var(--oc-paper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  padding: 0 22px;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    transform 200ms ease;
}
.oc-button:hover,
.oc-button:focus-visible {
  background: #353535;
  border-color: #353535;
  color: #fff;
  transform: translateY(-1px);
}
.oc-button--light {
  border-color: #fff;
  background: #fff;
  color: var(--oc-ink);
}
.oc-button--light:hover,
.oc-button--light:focus-visible {
  background: #e4e4e4;
  border-color: #e4e4e4;
  color: var(--oc-ink);
}
.oc-button--header {
  min-height: 38px;
  border-color: rgb(255 255 255 / 55%);
  background: transparent;
  color: #fff;
  padding: 0 16px;
}
.oc-button--header:hover,
.oc-button--header:focus-visible {
  border-color: #fff;
  background: #fff;
  color: var(--oc-ink);
}
/* The filled header button.
   .oc-button--light is declared ABOVE .oc-button--header at equal specificity (0,1,0), so on
   an element carrying both, --header's `background: transparent` wins on source order and the
   white fill silently does nothing. Codex caught exactly that on #2180: the class was on all
   six hand-authored pages and every one of them still rendered the old outline. This combined
   selector is (0,2,0), so it wins regardless of where either single-class rule sits. Do not
   "simplify" it back to reordering: --light is also used on body CTAs on these pages, and
   moving it would drag those through the header rule's ordering too. */
.oc-button--header.oc-button--light {
  border-color: #fff;
  background: #fff;
  color: var(--oc-ink);
}
.oc-button--header.oc-button--light:hover,
.oc-button--header.oc-button--light:focus-visible {
  border-color: #e4e4e4;
  background: #e4e4e4;
  color: var(--oc-ink);
}

.oc-text-link {
  color: var(--oc-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.oc-text-link:hover {
  color: var(--oc-blue);
}

.oc-eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--oc-muted);
}

/* ── Hero ── */
.oc-hero {
  position: relative;
  display: grid;
  min-height: min(640px, 92svh);
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #1c1c1c 0%, #050505 62%);
  color: #fff;
  text-align: center;
}
.oc-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 980px;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 140px 24px 96px;
}
.oc-hero h1,
.oc-close h2,
.oc-platform h2,
.oc-proof h2,
.oc-product-section h2,
.oc-security h2,
.oc-page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
}
.oc-hero h1 {
  max-width: min(100%, 960px);
  font-size: clamp(42px, 6.2vw, 80px);
  line-height: 0.98;
}
.oc-hero p.oc-hero__sub {
  max-width: 640px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: rgb(255 255 255 / 78%);
}
.oc-hero .oc-button {
  margin-top: 6px;
}

/* ── Sub-page hero (for /for-schools, /for-agencies, etc.) ── */
.oc-page-hero {
  border-bottom: 1px solid #292929;
  background: #141414;
  color: #f5f5f2;
  padding: clamp(96px, 11vw, 148px) 24px clamp(56px, 6vw, 80px);
  text-align: center;
}
.oc-page-hero .oc-eyebrow {
  color: rgb(255 255 255 / 55%);
  margin-bottom: 20px;
}
.oc-page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  max-width: 820px;
  margin: 0 auto;
}
.oc-page-hero p {
  max-width: 640px;
  margin: 20px auto 0;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: rgb(255 255 255 / 78%);
}

/* ── Sections ── */
.oc-section {
  border-top: 1px solid var(--oc-rule);
  background: var(--oc-paper);
  padding: clamp(72px, 8vw, 112px) 0;
}
.oc-section--dark {
  border-top: 1px solid #292929;
  background: #141414;
  color: #f5f5f2;
}
.oc-section--dark .oc-eyebrow {
  color: rgb(255 255 255 / 55%);
}
.oc-section--dark p {
  color: rgb(255 255 255 / 74%);
}
.oc-section h2 {
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.02;
  max-width: 780px;
}
.oc-section > .oc-shell > p.oc-lead,
.oc-lead {
  max-width: 640px;
  color: var(--oc-body);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.62;
  letter-spacing: -0.008em;
}
.oc-section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 44px;
}

/* ── Feature grid ── */
.oc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--oc-rule);
  border: 1px solid var(--oc-rule);
  margin-top: 8px;
}
.oc-grid-3 > div {
  background: var(--oc-paper);
  padding: 30px 28px;
}
.oc-section--dark .oc-grid-3 {
  background: #292929;
  border-color: #292929;
}
.oc-section--dark .oc-grid-3 > div {
  background: #141414;
}
@media (max-width: 780px) {
  .oc-grid-3 {
    grid-template-columns: 1fr;
  }
}
.oc-grid-3 h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.oc-grid-3 p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--oc-body);
}
.oc-section--dark .oc-grid-3 p {
  color: rgb(255 255 255 / 68%);
}

/* ── Proof strip ── */
.oc-proof {
  border-top: 1px solid var(--oc-rule);
  background: var(--oc-surface);
  padding: 56px 0;
}
.oc-proof__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.oc-proof__identity {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.oc-proof__brand-row {
  display: flex;
  align-items: center;
  gap: 18px;
}
.oc-brighton-logo {
  height: 40px;
  width: auto;
}
.oc-proof__accolade span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oc-muted);
}
.oc-proof__accolade p {
  margin: 2px 0 0;
  font-weight: 600;
}
.oc-proof__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.oc-proof-metric__value {
  display: block;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.oc-proof-metric__label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oc-muted);
  margin-top: 4px;
}

/* ── Security / assurance list ── */
.oc-security-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--oc-rule);
  border: 1px solid var(--oc-rule);
}
@media (max-width: 780px) {
  .oc-security-list {
    grid-template-columns: 1fr;
  }
}
.oc-security-list li {
  background: var(--oc-paper);
  padding: 24px 26px;
}
.oc-security-list h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
}
.oc-security-list p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--oc-body);
  line-height: 1.5;
}

/* ── FAQ ── */
.oc-faq {
  max-width: 760px;
}
.oc-faq-item {
  border-top: 1px solid var(--oc-rule);
  padding: 22px 0;
}
.oc-faq-item:last-child {
  border-bottom: 1px solid var(--oc-rule);
}
.oc-faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
}
.oc-faq-item p {
  margin: 0;
  color: var(--oc-body);
  line-height: 1.6;
}

/* ── Close / final CTA ── */
.oc-close {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
  background: radial-gradient(circle at 70% 30%, #1c1c1c 0%, #050505 62%);
  color: #fff;
  text-align: center;
}
.oc-close__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 72px 24px;
}
.oc-close h2 {
  font-size: clamp(34px, 4vw, 54px);
}

/* ── Footer ── */
.oc-footer {
  border-top: 1px solid var(--oc-rule);
  background: var(--oc-paper);
  padding: 40px 0;
}
.oc-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.oc-footer .oc-brand {
  color: var(--oc-ink);
}
.oc-footer .oc-brand img {
  filter: none;
}
.oc-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.oc-footer__links a {
  color: var(--oc-muted);
  font-size: 13px;
  text-decoration: none;
}
.oc-footer__links a:hover {
  color: var(--oc-ink);
}
.oc-footer__meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--oc-muted);
}

/* ── AI-readable summary block (mirrors the tenants/oxbridgeai pattern) ── */
.oc-ai-summary {
  padding: 26px 0 6px;
}
.oc-ai-summary p {
  max-width: 680px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--oc-muted);
}
.oc-ai-summary strong {
  color: var(--oc-ink);
}

/* ── Reveal-on-scroll (progressive enhancement only; everything visible without JS) ── */
@media (prefers-reduced-motion: no-preference) {
  .up {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  .up.shown {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
}
