/* C4Y brand palette. Loaded last, including on recruiting pages. */
:root {
  --ink: #101f46;
  --navy: #07132e;
  --muted: #53627d;
  --paper: #ffffff;
  --soft: #f3f7ff;
  --line: #d9e3f2;
  --blue: #1764dc;
  --neon: #38cfff;
  --mint: #c2edd9;
  /* Keep the existing accent token compatible with the product illustrations. */
  --green: var(--blue);
}

::selection { background: var(--neon); color: var(--navy); }
a, button, input, select, textarea { accent-color: var(--blue); }
:is(button, a, summary):focus-visible { outline-color: var(--blue); }
:is(input, select, textarea):focus { outline-color: var(--blue); }
.text-link { border-color: #91b8eb; }
.button { background: var(--blue); border-color: var(--blue); color: #fff; }
.button:hover { background: #124caf; border-color: #124caf; }
.button-light { background: var(--neon); border-color: var(--neon); color: var(--navy); }
.button-light:hover { background: #8be4ff; border-color: #8be4ff; }

.site-header { background: #ffffffed; border-color: var(--line); }
.nav-dropdown { background: #fff; border-color: var(--line); box-shadow: 0 18px 55px #07132e18; }
.nav-dropdown a:hover { background: var(--soft); }
.reading-progress { background: var(--neon); opacity: 1; }

/* The opening frame takes its depth and electric highlights from the logo. */
.hero {
  background: radial-gradient(ellipse at 82% 35%, #144382 0, transparent 53%), var(--navy);
  color: #fff;
}
.hero-title h1 { color: #fff; }
.hero .green { color: var(--neon); }
.hero-title p { color: #c2cfe6; }
.hero .button { background: var(--neon); border-color: var(--neon); color: var(--navy); }
.hero .button:hover { background: #8be4ff; border-color: #8be4ff; }
.hero .quiet-link { color: #fff; }
.hero .quiet-link:hover { color: var(--neon); }
.hero-art { mix-blend-mode: screen; opacity: .72; }
.hero-bottom { border-color: #ffffff2b; color: #bbcae4; }
.hero .announcement { background: #10254b; border-color: #365582; color: #d8eaff; }
.hero .announcement-dot { background: var(--mint); }
.floating-card { background: #ffffffed; border-color: #cbeaff; color: var(--ink); box-shadow: 0 18px 50px #02091d35; }
.motion-kicker, .mini-agenda, .insight-caption { color: #53627d; }
.mini-agenda { border-color: var(--line); }
.mini-agenda small, .mini-agenda b { color: #63738f; }
.mini-progress { background: #dceaff; }
.mini-progress span { background: var(--blue); }

.journey-strip { background: #fff; }
.journey-strip i { color: var(--blue); }
.platform-grid > a:hover, .platform-grid > a:focus-visible { background: var(--soft); }
.platform-grid > a:focus-visible { outline-color: var(--blue); }
.showcase, .assembly-section { background: #edf4ff; }
.product-window { border-color: #c8d9f3; box-shadow: 0 30px 80px #102c571a; }
.window-bar { background: #f3f7ff; border-color: var(--line); color: #53627d; }
.product-sidebar { background: #eaf1ff; border-color: var(--line); color: #53627d; }
.side-muted { color: #61718e; }
.selected { background: #cee3ff; color: #124caf; }
.product-main, .board-visual { background: #fff; }
.board-visual, .board-top, .board-tools { border-color: var(--line); }
.board-top, .board-notes, .board-tools, .class-bottom { color: #53627d; }
.board-tag { color: #124caf; background: #eaf1ff; }
.board-tools .active { background: #d6edff; color: #124caf; }
.live-pill { background: #e6f6ee; color: #285e47; border-color: #bedecb; }
.status-dot { background: #3d8563; }

/* Mint remains a deliberate secondary surface around lesson planning. */
.mint-panel { background: #e5f3e9; }
.planner { background: #fff; border-color: #c9dfd3; }
.planner-head, .visual-caption { color: #52665c; }
.private-note { background: #edf7f0; color: #435f50; }
.ai-section, .career-invitation { background: var(--navy); color: #fff; }
.ai-section .eyebrow, .career-invitation .eyebrow { color: var(--neon); }
.ai-section p, .career-invitation p { color: #c2cfe6; }
.ai-section .text-link { color: #fff; border-color: var(--neon); }
.ai-section .text-link:hover { color: var(--neon); }
.ai-panel { background: radial-gradient(ellipse at 40% 40%, #18528a, transparent 70%); }
.ai-visual { background: #f3f7ff; border-color: #ccdef5; }
.ai-spark, .ai-response .eyebrow { color: var(--blue); }
.ai-request { background: #e3edff; color: #435675; }
.ai-response { border-color: var(--line); }
.ai-actions { color: #435675; }
.ai-actions b { background: var(--blue); color: #fff; }
.assignment-preview { background: #f0f7f2; }
.recap-preview { background: #eaf2ff; }
.recap-item { background: #fff; border-color: var(--line); color: #435675; }
.recap-button { color: #124caf; }
.solutions-band { background: #edf4ff; }
.resources-section { background: #f6f8fc; }
.art-one { background: #dcefe2; color: #284c3b; }
.art-two { background: var(--navy); color: var(--neon); }
.art-three { background: #dceaff; color: #224d86; }
.soft-section, .tour-panel { background: #f3f7ff; }
.ai-feature { background: #eaf2ff; }
.solution-number, .resource-index { color: #9ebde8; }
.back-link, .article-byline { color: #53627d; }

.closing {
  background: radial-gradient(ellipse at 100% 0, #153e78, transparent 65%), var(--navy);
  color: #fff;
  border-top: 1px solid #ffffff1f;
}
.closing .eyebrow { color: var(--neon); }
.closing p { color: #c2cfe6; }
.footer { background: var(--navy); color: #fff; border-top: 1px solid #ffffff24; }
.footer p, .footer-top > div > a:not(.brand) { color: #c2cfe6; }
.footer-top > div > a.text-link { color: var(--neon); border-color: #38cfff80; }
.footer-top > div > a:hover { color: var(--neon); }
.footer-bottom { border-color: #ffffff24; color: #b2c2de; }
.footer-big { color: #456ba0; }

/* Contact and recruiting share the same white and blue surfaces. */
.demo-form, .application-form { background: #f3f7ff; border-color: var(--line); }
.demo-form label, .demo-form legend { color: var(--ink); }
.demo-form label > span, .form-note { color: #53627d; }
.demo-form input:not([type=checkbox]), .demo-form select, .demo-form textarea {
  background: #fff; border-color: #b6c8e2; color: var(--ink);
}
.demo-form input::placeholder, .demo-form textarea::placeholder { color: #64738e; }
.form-status { color: #225c43; }
.form-status.error { color: #9d3131; }
.career-hero { background: #f3f7ff; }
.career-work { background: #edf4ff; }
.career-product-art { background: #e5f3e9; border-color: #c9dfd3; }
.career-board-art { background: #dceaff; border-color: #c8d9f3; }
.career-work-strip { border-color: var(--line); }
.career-word-graph { background: #e4f1ff; color: #1764dc; }
.career-perspectives span { border-color: #58739e; }
.job-filter-bar button { background: #f3f7ff; }
.job-filter-bar button[aria-pressed=true] { background: #dceaff; border-color: #91b8eb; color: #124caf; }
.job-list > a[aria-current=true] { background: #eaf2ff; border-color: #bdd5f6; }
.job-document-header { background: #f3f7ff; }
.motion-toggle { color: #435675; background: #fffffff2; border-color: var(--line); }
.motion-toggle:hover { background: #eaf2ff; }

@media (max-width: 1100px) {
  .site-header nav { background: #fff; }
  .nav-dropdown { background: #f3f7ff; }
}
@media (max-width: 600px) {
  .hero-art { opacity: .48; }
}
