/*
 * One On One Sales Academy — brand tokens for the PCS pack
 * Source: academy.oneonone.com, captured 2026-09-29 from the compiled Tailwind theme
 * (build/assets/app-*.css, --color-brand-*) and computed styles on the dashboard.
 * Reference: "04 Research/One On One Brand Style Guide.md".
 *
 * Loaded after the engine's styles.css. The engine is built on tokens; this file maps them to the
 * Academy's exact values and adds the few Academy-specific chrome rules. Their brand, their pack.
 */

:root {
  /* ---- Brand palette (exact values from their Tailwind theme) ---- */
  --ooo-navy: #002b49;          /* global top bar */
  --ooo-blue: #005788;          /* card titles, account links, logo "one" */
  --ooo-teal: #18988b;          /* primary buttons */
  --ooo-dark-teal: #148075;     /* text links, outline buttons, script accents */
  --ooo-light-teal: #e7f4f3;    /* soft teal panels ("Get up to Speed") */
  --ooo-orange: #de6227;        /* active nav pill, tags ("JUMP BACK IN", "WEBINAR EVENT") */
  --ooo-light-orange: #ff6e52;
  --ooo-dark-orange: #af381e;   /* greetings ("Welcome, Michael!") */
  --ooo-dark-gray: #555256;     /* nav items, chips */
  --ooo-gray: #807f83;          /* card borders, logo "on" */
  --ooo-darker-gray: #a4a4ad;
  --ooo-subtle-gray: #d1d5db;   /* hairlines */
  --ooo-light-gray: #efefef;

  /* Neutrals they use from Tailwind's gray scale */
  --ooo-text: #1e2939;          /* body text (gray-800) */
  --ooo-text-2: #364153;        /* secondary text (gray-700) */
  --ooo-footer: #e5e7eb;        /* footer band (gray-200) */
  --ooo-notice: #18181b;        /* dark notice bar (zinc-900) */

  /* ---- Type ----
   * Body/headings: Avenir LT Pro (their Adobe Fonts kit, licensed to their domain; not used here).
   * macOS ships Avenir, so it renders natively on a Mac; Nunito Sans is the free fallback.
   * Script accent: FF Market with stylistic set ss08; Caveat is the free stand-in.
   */
  --ooo-font: "avenir-lt-pro", "Avenir", "Avenir Next", "Nunito Sans", system-ui, sans-serif;
  --ooo-font-script: "ff-market-web", "Caveat", "Bradley Hand", cursive;

  /* ---- Engine token mapping ---- */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: var(--ooo-light-gray);
  --surface-3: #f7f7f7;
  --ink: var(--ooo-text);
  --ink-2: var(--ooo-text-2);
  --ink-3: var(--ooo-dark-gray);
  --line: var(--ooo-subtle-gray);
  --line-strong: var(--ooo-gray);
  --primary: var(--ooo-teal);
  --primary-2: var(--ooo-dark-teal);
  --primary-soft: var(--ooo-light-teal);
  --accent: var(--ooo-orange);
  --accent-2: var(--ooo-dark-orange);
  --accent-soft: #fbece5;       /* orange at ~10%: their tinted event cards */
  --navy: var(--ooo-navy);
  --blue: var(--ooo-blue);
  --stage-denial: var(--ooo-dark-orange);
  --stage-thinking: var(--ooo-orange);
  --stage-planning: var(--ooo-teal);
  --stage-action: var(--ooo-blue);
  --radius-sm: 4px;             /* chips */
  --radius: 6px;                /* cards, pills, tags, outline buttons */
  --radius-lg: 12px;            /* primary buttons, notice bars */
  --font: var(--ooo-font);
  --font-script: var(--ooo-font-script);
  --avatar-1: var(--ooo-navy); --avatar-2: var(--ooo-dark-orange); --avatar-3: var(--ooo-blue);
  --avatar-4: var(--ooo-dark-teal); --avatar-5: var(--ooo-orange); --avatar-6: var(--ooo-dark-gray);
}

/* ---- Academy chrome: their logo and nav replace the engine's product mark ---- */
body.branded .brand-mark,
body.branded .brand-name,
body.branded .proto-badge { display: none; }
body.branded .topbar { grid-template-columns: auto 1fr; padding-top: 10px; padding-bottom: 10px; }
body.branded .main-nav { justify-content: center; margin-right: 150px; }
.footer { background: var(--ooo-footer); }

/* Their nav items are 16px bold uppercase dark-gray, 4×8 padding, 6px radius */
.main-nav a { font-size: 16px; color: var(--ooo-dark-gray); }

/* Card titles in brand blue, like "The 2025 Sales Summit" */
.pcard-body h3 { font-size: 18px; }

@media (max-width: 1080px) { body.branded .main-nav { margin-right: 0; } }
