/* Canary Constructs. The brand's colours come first, by name: they are the palette. */
:root {
  --canary-yellow: #F5C518;
  --coal: #1E2124;
  --concrete: #ECE8E1;
  --steel: #4F5B66;
  --brick: #B5512B;
  --signal-green: #2F7D5A;

  --paper: #FFFFFF;
  --ink: var(--coal);
  --muted: var(--steel);
  --line: #D6D0C6;
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 10px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--brick); }
a:hover { text-decoration-color: var(--canary-yellow); }
:focus-visible { outline: 3px solid var(--brick); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, .h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 7vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 800; margin-top: 1.4em; }
h3, .h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--canary-yellow); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }

/* demo notices */
.demo-banner { background: var(--canary-yellow); color: var(--coal); text-align: center; font-size: .95rem; padding: 8px var(--gutter); border-bottom: 2px solid var(--coal); }
.demo-note { background: #FFF6D1; border: 2px dashed var(--coal); border-radius: var(--radius); padding: 12px 16px; max-width: 70ch; }
.demo-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; max-width: 520px; }
.demo-form label { font-weight: 600; margin-top: 8px; }
.demo-form input, .demo-form textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #F3F1EC; color: var(--muted); }
.demo-form .btn { margin-top: 12px; justify-self: start; opacity: .6; cursor: not-allowed; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 10px; }
.brand { flex: 0 1 auto; min-width: 0; }
.brand .logo { width: 220px; height: auto; }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 0; padding: 0 0 10px; font-weight: 600; }
.nav a { text-decoration: none; display: inline-block; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--canary-yellow); }

/* buttons */
.btn { display: inline-block; background: var(--canary-yellow); color: var(--coal); font: 600 1rem/1 var(--font-head); padding: 14px 20px; border-radius: var(--radius); text-decoration: none; border: 2px solid var(--coal); }
.btn:hover { background: #FFD43B; }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-small { padding: 10px 14px; font-size: .9rem; white-space: nowrap; }

/* hero */
.hero { background: var(--coal); color: var(--paper); }
.hero a:not(.btn) { color: var(--paper); }
.hero-in { padding-top: 48px; padding-bottom: 48px; }
.hero h1 { color: var(--canary-yellow); max-width: 16ch; }
.hero-small .hero-in { padding-top: 36px; padding-bottom: 32px; }
.hero-art { display: none; }
.section > p { max-width: 70ch; }
.hero-small h1 { max-width: none; }
.eyebrow { font: 600 .85rem/1.4 var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--concrete); margin-bottom: .8em; }
.prose .eyebrow { color: var(--muted); }
.lede { font-size: 1.2rem; max-width: 60ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0 0; }
.stripe { height: 10px; background: repeating-linear-gradient(-45deg, var(--canary-yellow) 0 14px, var(--coal) 14px 28px); }

/* sections */
.section { padding-top: 40px; padding-bottom: 40px; }
.section > h2:first-child, .prose > h2:first-child { margin-top: 0; }
.band { background: var(--concrete); }
.band-soft { background: #F6F4F0; }
.prose { max-width: 760px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

.cards { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 14px; grid-template-columns: 1fr; }
.card { background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--canary-yellow); border-radius: var(--radius); padding: 18px; }
.card p:last-child { margin-bottom: 0; }
.person .role { color: var(--brick); font-weight: 600; margin-bottom: .4em; }
.meta { color: var(--muted); font-size: .95rem; margin-bottom: .5em; }

.chips { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; font-weight: 600; }
.chips a:hover { border-color: var(--coal); }
.tools { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.tools li { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--signal-green); border-radius: var(--radius); padding: 12px 16px; }
.tools a { font: 600 1.05rem/1.3 var(--font-head); }
.tools span { display: block; color: var(--muted); }

.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.news-list time { display: block; color: var(--muted); font-size: .95rem; }

.table-wrap { overflow-x: auto; margin: 0 0 1em; }
.compare { width: 100%; border-collapse: collapse; }
.compare caption { text-align: left; color: var(--muted); padding-bottom: 8px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-head); border-bottom: 2px solid var(--coal); }
.compare tbody th { font-family: var(--font-head); width: 34%; }
.compare tr.us { background: #FFF6D1; }

.contact { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 1.5em; }
.contact dt { font-weight: 600; }
.contact dd { margin: 0; }

/* footer */
.site-footer { background: var(--coal); color: var(--concrete); padding-top: 36px; }
.site-footer a { color: var(--paper); text-decoration-color: var(--canary-yellow); }
.foot { display: grid; gap: 24px; grid-template-columns: 1fr; padding-bottom: 24px; }
.foot-logo { width: 200px; margin-bottom: 12px; }
.foot-h { font-size: 1rem; margin: 0 0 .5em; color: var(--canary-yellow); }
.foot-links { list-style: none; padding: 0; margin: 0; columns: 2; }
.foot-links li { margin-bottom: 4px; }
.fiction { border-top: 1px solid #3A3F45; padding-top: 14px; padding-bottom: 20px; margin: 0 auto; font-size: .95rem; color: var(--canary-yellow); }

@media (min-width: 720px) {
  .brand .logo { width: 300px; }
  .hero-in { padding-top: 80px; padding-bottom: 80px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
  .hero-art { display: block; width: clamp(200px, 26vw, 320px); border-radius: 28px; }
  .cards-1 { grid-template-columns: 1fr; }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 980px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards-1 { grid-template-columns: 1fr; max-width: 760px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
