/* IC theme "Wired" (Steve picked D, Nov 12 2026; mockups
   claude.ai/artifact/NVhRwzngawbPtiJ9XU7YGv). Warm white pages, Sora titles
   over Inter text, dark pill buttons that bounce when pressed, and three
   cables (blue, orange, green) with data moving along them.
   Loaded last, from _partials/nav.html, so it wins over the page files without
   editing each of them. Replaces the black-band theme of earlier the same day. */
:root {
  --w-bg: #fbfaf6;
  --w-panel: #ffffff;
  --w-ink: #111827;
  --w-mut: #4b5563;
  --w-line: #e3e0d8;
  --w-soft: #f3f1ea;
  --w-b: #1f6feb;
  --w-o: #f97316;
  --w-g: #16a34a;
  --w-bounce: cubic-bezier(0.2, 1.9, 0.4, 1);
  /* The page files read these. */
  --steel-dark: #fbfaf6;
  --steel: #f3f1ea;
  --steel-mid: #e3e0d8;
  --text: #111827;
  --text-mid: #4b5563;
  --text-dim: #6b7280;
  --border: #e3e0d8;
  --accent: #1f6feb;
  --accent-dim: #0b57d0;
  --accent-hover: #3b82f6;
}
html, body { background: var(--w-bg); }
body { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; color: var(--w-ink); }
h1, h2, h3 { font-family: 'Sora', 'Inter', system-ui, sans-serif; letter-spacing: -0.02em; }
@keyframes w-wire-flow { from { stroke-dashoffset: 44; } to { stroke-dashoffset: 0; } }
@keyframes w-flow-y { from { background-position: 2px 0, 0 0; } to { background-position: 2px 22px, 0 0; } }
@keyframes w-blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0.3; } }

/* ── 1. Header: white, the logo on its own dark chip, tabs as pills. The
        cables come out from under it (js/ic-wires.js draws them). ── */
.ic-head { background: var(--w-panel); border-bottom: 1.5px solid var(--w-line); }
.ic-brand img.ic-brand-mark { height: 50px; padding: 5px 9px; border-radius: 14px; background: #0a0a0a; }
.ic-brand-name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 12px; letter-spacing: 0.08em; color: var(--w-ink); }
.ic-search input { height: 42px; border-radius: 999px; border: 1.5px solid var(--w-line); background: var(--w-soft); color: var(--w-ink); padding-left: 16px; }
.ic-search input::placeholder { color: var(--w-mut); }
.ic-search kbd { top: 11px; right: 12px; border-color: var(--w-line); color: var(--w-mut); }
.ic-search-results { border-color: var(--w-line); border-radius: 16px; }
.ic-search-results a:hover, .ic-search-results a[aria-selected="true"] { background: var(--w-soft); color: var(--w-b); }
.ic-head .header-nav a.ic-link { color: var(--w-ink); border-radius: 999px; }
.ic-head .header-nav a.ic-link:hover { color: var(--w-ink); background: var(--w-soft); }
.ic-head .header-nav a.ic-account, .ic-out .ic-head .header-nav a.ic-account { height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--w-ink); background: var(--w-panel) !important; color: var(--w-ink) !important; font-size: 13px; font-weight: 700; }
.ic-head .header-nav a.ic-account:hover, .ic-out .ic-head .header-nav a.ic-account:hover { background: var(--w-soft); color: var(--w-ink); }
.ic-head .header-nav a.ic-go-head { height: 42px; padding: 0 18px; border-radius: 999px; background: var(--w-ink); color: #fff; font-size: 13px; font-weight: 700; }
.ic-head .header-nav a.ic-go-head:hover { background: #000; color: #fff; }
.ic-tabs { height: 58px; align-items: center; gap: 8px; padding: 0 24px 8px; }
.ic-tab { height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--w-line); border-bottom: 1.5px solid var(--w-line); background: var(--w-panel); color: var(--w-ink); font-size: 13px; font-weight: 700; transition: transform 0.25s var(--w-bounce), background-color 0.2s, color 0.2s, border-color 0.2s; }
.ic-tab:hover { color: var(--w-ink); border-color: var(--w-ink); transform: translateY(-3px); }
.ic-tab:active { transform: scale(0.94); }
.ic-tab[aria-current="page"] { background: var(--w-ink); color: #fff; border-color: var(--w-ink); font-weight: 700; }
.ic-head .hamburger span { background: var(--w-ink); }
.ic-search-toggle { border-radius: 999px; border: 1.5px solid var(--w-line); background: var(--w-soft); color: var(--w-ink); }
.mobile-nav { background: var(--w-panel); }
.mobile-nav a, .mobile-nav button.mobile-nav-more { color: var(--w-ink); border-color: var(--w-line); }
.mobile-nav a.nav-mobile-cta, .mobile-nav a.nav-mobile-cta.ic-go-m { background: var(--w-ink); color: #fff; border-radius: 999px; font-weight: 700; }
.mobile-nav a.nav-mobile-cta.nav-mobile-cta-outline { background: var(--w-panel); color: var(--w-ink); border: 1.5px solid var(--w-ink); }
.mobile-nav-more-panel { background: var(--w-soft); }

/* ── 2. The left menu: pills, with a cable down its side that plugs into
        the page you are on. ── */
.ic-side { top: 130px; background: var(--w-panel); border-right: 1.5px solid var(--w-line); padding-left: 30px; }
.ic-side::before { content: ""; position: absolute; left: 13px; top: 0; bottom: 0; width: 6px; border-radius: 3px; min-height: 100%; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0 4px, transparent 4px 22px), var(--w-b); background-size: 2px 22px, auto; background-position: 2px 0, 0 0; background-repeat: repeat-y, repeat; animation: w-flow-y 1.1s linear infinite; }
.ic-side-head, .ic-side-group { color: var(--w-mut); }
.ic-side-item { position: relative; border-radius: 20px; color: var(--w-ink); font-weight: 600; transition: background-color 0.2s, transform 0.25s var(--w-bounce); }
.ic-side-item small { color: var(--w-mut); }
.ic-side-item:hover { background: var(--w-soft); color: var(--w-ink); transform: translateX(4px); }
.ic-side-item[aria-current="page"] { background: var(--w-ink); color: #fff; font-weight: 700; box-shadow: none; }
.ic-side-item[aria-current="page"]::before { content: ""; position: absolute; left: -12px; top: 50%; width: 12px; height: 3px; margin-top: -1px; background: var(--w-b); }
.ic-side-foot { border-top-color: var(--w-line); }
.ic-side-foot a, .ic-crumbs nav a, .ic-back { color: var(--w-b); }
.ic-crumbs { color: var(--w-mut); }
.ic-crumbs nav b { color: var(--w-ink); }
.ic-mside { border-color: var(--w-line); border-radius: 16px; }
.ic-mside summary { color: var(--w-ink); }

/* ── 3. Page titles: no dark bands. A big Sora title on the page itself, its
        second half in cable blue. ── */
.ic-band, .page-hero, .board-hero, .edu-hero, .membership-hero, .bsp-hero, .dmb-hero, .finder-hero,
.library-header, .proposal-header, .cl-header, .tb-header, .comp-tool .ct-header {
  background: transparent !important;
  color: var(--w-ink);
  border: 0 !important;
}
.ic-band { padding: 26px 0 14px; }
.library-header, .proposal-header, .cl-header, .tb-header { text-align: left !important; padding: 8px 0 0 !important; border-radius: 0; }
:is(.library-header, .proposal-header, .cl-header, .tb-header) :is(h1, p, div) { text-align: left !important; margin-left: 0 !important; margin-right: 0 !important; }
:is(.ic-band, .page-hero, .board-hero, .edu-hero, .membership-hero, .bsp-hero, .dmb-hero, .finder-hero, .library-header, .proposal-header, .cl-header, .tb-header, .ica > div:first-child, .comp-tool .ct-header) h1 {
  color: var(--w-ink) !important;
  font-family: 'Sora', 'Inter', system-ui, sans-serif !important;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem) !important;
  font-weight: 800 !important;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
:is(.ic-band, .page-hero, .board-hero, .edu-hero, .membership-hero, .bsp-hero, .dmb-hero, .finder-hero, .library-header, .proposal-header, .cl-header, .tb-header, .ica > div:first-child, .comp-tool .ct-header) h1 span {
  color: var(--w-b) !important;
}
:is(.ic-band, .page-hero, .board-hero, .edu-hero, .membership-hero, .bsp-hero, .dmb-hero, .finder-hero, .library-header, .proposal-header, .cl-header, .tb-header, .comp-tool .ct-header) h1 span:first-child:not(:last-child) {
  color: var(--w-ink) !important;
}
:is(.ic-band, .page-hero, .board-hero, .edu-hero, .membership-hero, .bsp-hero, .dmb-hero, .finder-hero, .library-header, .proposal-header, .cl-header, .tb-header, .ica > div:first-child, .comp-tool .ct-header) :is(p, li) {
  color: var(--w-mut) !important;
}
:is(.ic-band, .page-hero, .board-hero, .edu-hero, .membership-hero, .bsp-hero, .dmb-hero, .finder-hero, .library-header, .proposal-header, .cl-header, .tb-header, .ica > div:first-child, .comp-tool .ct-header) :is(.section-label, .section-label *, .ica-eyebrow, .eyebrow, .cl-header-logo, .tb-header-logo) {
  color: var(--w-mut) !important;
  font-weight: 700;
  letter-spacing: 0.14em;
}
:is(.ic-band, .page-hero, .board-hero, .edu-hero, .membership-hero, .bsp-hero, .dmb-hero, .finder-hero, .library-header, .proposal-header, .cl-header, .tb-header, .ica > div:first-child, .comp-tool .ct-header) a:not([class]) {
  color: var(--w-b) !important;
}
:is(.ic-band, .page-hero, .board-hero, .edu-hero, .membership-hero, .bsp-hero, .dmb-hero, .finder-hero) :is(h2, h3, h4, strong, b, label, span:not([class]), div:not([class])) {
  color: var(--w-ink) !important;
}
/* Buttons and notes that were drawn for a dark band. */
.btn.btn-outline-white { color: var(--w-ink); border: 2px solid var(--w-ink); background: var(--w-panel); }
.btn.btn-outline-white:hover { background: var(--w-soft); border-color: var(--w-ink); }
.edu-hero::after { color: rgba(17, 24, 39, 0.05); }
.ich h1 { color: var(--w-ink) !important; }

/* ── 4. Buttons: pills that lift on hover and squish when pressed. ── */
:is(.btn, .ica-btn, .cl-btn, .pg-btn, .bsp-btn, .lib-watch-btn, .ic-go, .ic-go-head, .ich-alt, .nav-mobile-cta, .ic-account) {
  border-radius: 999px;
  box-shadow: none;
  transition: transform 0.35s var(--w-bounce), box-shadow 0.3s, background-color 0.2s, color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
:is(.btn, .ica-btn, .cl-btn, .pg-btn, .bsp-btn, .lib-watch-btn, .ic-go, .ic-go-head, .ich-alt, .nav-mobile-cta, .ic-account):hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(17, 24, 39, 0.2);
}
:is(.btn, .ica-btn, .cl-btn, .pg-btn, .bsp-btn, .lib-watch-btn, .ic-go, .ic-go-head, .ich-alt, .nav-mobile-cta, .ic-account):active {
  transform: scale(0.93);
  box-shadow: none;
  transition: transform 0.05s;
}
/* The main look: dark pill, white words. */
.btn.btn-accent, .btn.btn-desktop, .btn.btn-orange, .ic-go, .btn.btn-go, a.ica-btn.ica-btn-main, .cl-btn.cl-btn-primary, .pg-btn.pg-btn--primary, .lib-watch-btn, .is-primary {
  background: var(--w-ink);
  color: #fff;
  border: 2px solid var(--w-ink);
}
.btn.btn-accent:hover, .btn.btn-desktop:hover, .btn.btn-orange:hover, .ic-go:hover, .btn.btn-go:hover, a.ica-btn.ica-btn-main:hover, .cl-btn.cl-btn-primary:hover, .pg-btn.pg-btn--primary:hover, .lib-watch-btn:hover {
  background: #000;
  color: #fff;
}
.btn.btn-go, a.ica-btn.ica-btn-main, .ic-go { box-shadow: none; }
.btn.btn-go:hover, a.ica-btn.ica-btn-main:hover, .ic-go:hover { box-shadow: 0 14px 26px rgba(17, 24, 39, 0.2); transform: translateY(-3px); }
.btn.btn-go:active, a.ica-btn.ica-btn-main:active, .ic-go:active { box-shadow: none; transform: scale(0.93); }
/* Business Goals' two jump buttons. */
.dmb .dmb-jump a { border-radius: 999px; border: 2px solid var(--w-ink); background: var(--w-panel); color: var(--w-ink) !important; transition: transform 0.35s var(--w-bounce); }
.dmb .dmb-jump a.is-primary { background: var(--w-ink); border-color: var(--w-ink); color: #fff !important; }
.dmb .dmb-jump a:hover { transform: translateY(-3px); }
.dmb .dmb-jump a:active { transform: scale(0.93); }
/* The one big action on a screen carries a lit orange dot. */
.ic-go::before, .btn.btn-go::before, a.ica-btn.ica-btn-main::before, .ic-head .header-nav a.ic-go-head::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--w-o); margin-right: 10px; flex: none; }
.ic-go:hover::before, .btn.btn-go:hover::before, a.ica-btn.ica-btn-main:hover::before, .ic-head .header-nav a.ic-go-head:hover::before { animation: w-blink 0.5s steps(1) infinite; }
/* The quiet look: white pill, dark outline. */
.btn.btn-outline-accent, .btn.btn-steel, .ich-alt, a.ica-btn.ica-btn-ghost, .pg-btn.pg-btn--secondary, .bsp-btn {
  background: var(--w-panel);
  color: var(--w-ink) !important;
  border: 2px solid var(--w-ink);
}
.btn.btn-outline-accent:hover, .btn.btn-steel:hover, .ich-alt:hover, a.ica-btn.ica-btn-ghost:hover, .pg-btn.pg-btn--secondary:hover, .bsp-btn:hover {
  background: var(--w-soft);
  color: var(--w-ink) !important;
  border-color: var(--w-ink);
}
.btn:focus-visible, .ic-tab:focus-visible, .ic-side-item:focus-visible { outline: 3px solid var(--w-b); outline-offset: 3px; }

/* ── 5. Cards: round, soft, and each one plugged into a cable. ── */
.ica-tool, .ica-panel, .ich-card, .pw-panel, .ic-mside { border-radius: 20px; border: 2px solid var(--w-line); box-shadow: 0 6px 18px rgba(17, 24, 39, 0.05); }
a.ica-tool, a.ich-card { position: relative; --w-c: var(--w-b); transition: transform 0.35s cubic-bezier(0.2, 1.7, 0.4, 1), box-shadow 0.3s, border-color 0.2s; }
a.ica-tool:nth-child(3n + 2), a.ich-card:nth-child(3n + 2) { --w-c: var(--w-o); }
a.ica-tool:nth-child(3n), a.ich-card:nth-child(3n) { --w-c: var(--w-g); }
a.ica-tool::before, a.ich-card::before { content: ""; position: absolute; left: 50%; top: -11px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--w-c); border: 4px solid var(--w-bg); box-shadow: 0 0 0 2px var(--w-c); }
a.ica-tool:hover, a.ich-card:hover { transform: translateY(-8px); border-color: var(--w-c); box-shadow: 0 22px 40px rgba(17, 24, 39, 0.14); }
a.ica-tool:hover::before, a.ich-card:hover::before { animation: w-blink 0.5s steps(1) infinite; }
a.ica-tool:active, a.ich-card:active { transform: translateY(-2px) scale(0.98); }
.ich-area-pw, .ich-card.ich-area-pw { border-color: var(--w-line) !important; }
.ich-stats b { color: var(--w-b) !important; }
.ich-area-pw .ich-ico svg { stroke: var(--w-b); }

/* The cables themselves: js/ic-wires.js draws one from under the header to
   the jack on each card in the first row. The row makes room for them. */
.w-wires { position: absolute; left: 0; top: 0; margin: 0 !important; z-index: 40; pointer-events: none; overflow: visible; }
.w-wire { stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.w-wire-flow { stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 18; animation: w-wire-flow 1.1s linear infinite; }
.w-wired { margin-top: 64px !important; }
a.icd-area { border-radius: 20px; border: 2px solid var(--w-line); }

/* ── 6. Earnings Roadmap: the same paper, ink and cable colours. ── */
.comp-tool {
  --bg-deep: #fbfaf6;
  --grid-line: #efece4;
  --surface: #ffffff;
  --surface-2: #f3f1ea;
  --copper: #1f6feb;
  --copper-bright: #1f6feb;
  --teal: #15803d;
  --amber: #b45309;
  --danger: #b91c1c;
  --text-primary: #111827;
  --text-muted: #4b5563;
  --text-faint: #6b7280;
  --border: #e3e0d8;
  background-blend-mode: normal;
}
.comp-tool, .comp-tool * { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif !important; }
.comp-tool h1, .comp-tool h2 { font-family: 'Sora', 'Inter', sans-serif !important; }
.comp-tool .ct-header { padding-left: 0; padding-right: 0; border-radius: 0; }

@media (max-width: 1000px) {
  .ic-tabs { padding: 0 10px 8px; gap: 6px; }
  .ic-tab { padding: 0 14px; }
  .ic-brand img.ic-brand-mark { height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .w-wire-flow, .ic-side::before, a.ica-tool:hover::before, a.ich-card:hover::before, .ic-go:hover::before, .btn.btn-go:hover::before { animation: none; }
  :is(.btn, .ica-btn, .cl-btn, .pg-btn, .bsp-btn, .lib-watch-btn, .ic-go, .ic-go-head, .ich-alt, .nav-mobile-cta, .ic-account, .ic-tab, .ic-side-item, a.ica-tool, a.ich-card) { transition: none; }
  :is(.btn, .ica-btn, .cl-btn, .pg-btn, .bsp-btn, .lib-watch-btn, .ic-go, .ic-go-head, .ich-alt, .nav-mobile-cta, .ic-account, .ic-tab, a.ica-tool, a.ich-card):hover, :is(.btn, .ica-btn, .cl-btn, .pg-btn, .bsp-btn, .lib-watch-btn, .ic-go, .ic-go-head, .ich-alt, .nav-mobile-cta, .ic-account, .ic-tab):active { transform: none; }
}
