/* Veld — the campaign accents, over site.css.

   Every marketing page loads this straight after site.css. site.css is left
   exactly as the previous design had it, so this file is the whole change:
   take its <link> out of a page and that page is back to the old look.

   This is the hybrid. The classic frame stays: navy type, white cards with a
   thin line and a soft shadow, navy dark sections and footer. The campaign
   palette comes in as accents only: orange for the main action and a rule
   under each hero, a warm paper behind heroes and closing sections, cobalt
   for links and labels, and a thin coloured cap on card grids.

   Both whole designs are kept in git: the tag design-classic (and branch
   classic-design) for the old look, the tag design-campaign-bold for the
   all-orange version. The portal, the app, billing and the demo player do
   not load site.css and are not part of this. Text on orange is ink, never
   white, because white on #ff5b1f fails contrast. */
:root{
  --orange:#ff5b1f; --ink-c:#15120f; --yellow:#ffc72c; --cobalt:#2f5bdf; --lime:#9fd23a; --paper:#f5efe2;
  --paper-soft:#faf7f0;

  /* site.css tokens, nudged: links and labels go cobalt, ticks go lime */
  --steel:var(--cobalt); --steel-bg:#eef2fc;
  --ok-bg:#e3f3c4;
}
:focus-visible{outline-color:var(--cobalt)}

/* ---------- buttons: the main action is orange ---------- */
.btn-primary{background:var(--orange);color:var(--ink-c)}
.btn-primary:hover{background:#f04e12;color:var(--ink-c)}
.btn-steel:hover{background:#2449b8}
.btn-ghost:hover{border-color:var(--cobalt);color:var(--cobalt)}

/* ---------- header: the current page is underlined in orange ---------- */
nav.menu a::after{background:var(--orange)}

/* ---------- heroes: warm paper, closed by an orange rule ---------- */
.hero,.hero2{background:var(--paper);border-bottom:4px solid var(--orange)}
/* slate is too faint on paper for small print */
.hero .micro,.hero2-facts,.hero2-alt,.hero .lede,.hero2-lede{color:#4a4f57}
.hero2-cat span{color:var(--ink-c);border-color:#e3dccd}
.hero2-cat span::before{content:"";display:inline-block;width:8px;height:8px;margin-right:9px;border-radius:50%;
  background:var(--orange);vertical-align:1px}
/* the product shot sits on an orange block, the one hard edge on the page */
.hero2-shot{box-shadow:12px 12px 0 var(--orange)}
@media (max-width:700px){.hero2-shot{box-shadow:7px 7px 0 var(--orange)}}
.hero + section.u-pt-10,.hero + section.u-pt-20{padding-top:48px}

/* ---------- sections ---------- */
section.tint{background:var(--paper-soft);border-color:#ebe5d8}
section.dark .eyebrow{color:var(--yellow)}

/* ---------- card grids: a thin cap in the palette ---------- */
.cards>.card,.steps>.step{border-top:3px solid var(--orange)}
.cards>.card:nth-child(4n+2),.steps>.step:nth-child(4n+2){border-top-color:var(--cobalt)}
.cards>.card:nth-child(4n+3),.steps>.step:nth-child(4n+3){border-top-color:var(--lime)}
.cards>.card:nth-child(4n+4),.steps>.step:nth-child(4n+4){border-top-color:var(--yellow)}

/* ---------- small marks in orange ---------- */
.pin{background:var(--orange);color:var(--ink-c)}
.week-n{background:var(--orange);color:var(--ink-c)}
.annotated-key li::before{background:var(--orange);color:var(--ink-c)}
.demo-dots button[aria-current="true"]{background:var(--orange)}
.demo-bar .play{background:var(--orange);border-color:var(--orange);color:var(--ink-c)}
.demo-bar .play:hover{background:#f04e12;border-color:#f04e12;color:var(--ink-c)}
.rail-progress i{background:var(--orange)}
.lesson .aside{border-left-color:var(--orange)}
.callout.warn{border-left-color:var(--orange)}
.mock-row.is-picked{box-shadow:inset 3px 0 var(--orange)}

/* ---------- pricing: the recommended plan is edged in orange ---------- */
.tier.hot{border:2px solid var(--orange);box-shadow:0 14px 40px rgba(255,91,31,.16)}
.tier .flag{background:var(--orange);color:var(--ink-c)}
.tier.hot .btn-steel{background:var(--orange);color:var(--ink-c)}
.tier.hot .btn-steel:hover{background:#f04e12}
.compare th.is-hot,.compare td.is-hot{background:#fff4ec}

/* ---------- the last word sits on paper ---------- */
.closer{background:var(--paper);border-top:none}

/* ---------- footer: navy as before, with an orange top edge ---------- */
footer{border-top:4px solid var(--orange);margin-top:0}
/* site.css drops the side padding here, which leaves the links touching the
   screen edge once the window is narrower than the wrap */
@media (max-width:1148px){.foot-inner{padding:34px 24px}}
