@import url('fonts.css');

/* ==========================================================================
   TruBase marketing site
   Design tokens extracted from the original design-canvas prototype.
   ========================================================================== */

:root {
  /* Brand */
  --tb-blue: #1c5daa;
  --tb-blue-dark: #164a87;
  --tb-cyan: #2d9bd6;
  --tb-green: #79bf43;
  --tb-green-mid: #4a8a20;
  --tb-green-deep: #14582e;
  --tb-green-deeper: #0e4423;
  --tb-green-pale: #eef7e6;
  --tb-green-light: #cfe6b8;
  --tb-silver: #dbdadb;

  /* Neutrals */
  --tb-ink: #101828;
  --tb-body: #475467;
  --tb-muted: #98A2B3;
  --tb-border: #D0D5DD;
  --tb-surface: #ffffff;
  --tb-surface-alt: #F6F7F9;
  --tb-surface-alt2: #F2F4F7;

  /* Type */
  --font-display: Lato, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-ui: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: 40px;
  --radius: 6px;
  --radius-sm: 4px;
  --header-h: 76px;
}

/* --------------------------------------------------------------- Base ---- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--tb-surface);
  color: var(--tb-ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p { margin: 0; text-wrap: pretty; }
h1, h2 { text-wrap: balance; }

img, svg { max-width: 100%; }

a {
  color: var(--tb-blue);
  text-decoration: none;
}

a:hover { color: var(--tb-cyan); text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--tb-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--tb-blue);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
  color: #fff;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------- Structure ---- */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--tb-surface);
}

.site-main { flex: 1 1 auto; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: 96px; padding-bottom: 96px; }
.section--tight { padding-top: 88px; padding-bottom: 88px; }
.section--alt { background: var(--tb-surface-alt); }
.section--rule-t { border-top: 1px solid var(--tb-border); }
.section--rule-b { border-bottom: 1px solid var(--tb-border); }
.section--dark { background: var(--tb-ink); color: #fff; }
.section--green { background: var(--tb-green-deep); color: #fff; }

/* The five-bar brand rule, mirroring the logo mark. */
.colorbar > div { height: 3px; }
.colorbar > :nth-child(1) { background: var(--tb-silver); }
.colorbar > :nth-child(2) { height: 6px;  background: var(--tb-cyan); }
.colorbar > :nth-child(3) { height: 9px;  background: var(--tb-blue); }
.colorbar > :nth-child(4) { height: 12px; background: var(--tb-green); }
.colorbar > :nth-child(5) { height: 15px; background: var(--tb-green-deep); }

/* ------------------------------------------------------------- Header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
  backdrop-filter: saturate(1.2) blur(6px);
  border-bottom: 1px solid var(--tb-border);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-header__logo img { height: 32px; width: auto; display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a { color: var(--tb-ink); }
.site-nav a:hover { color: var(--tb-blue); }

/* Underline the label only, so the "Soon" badge is not swept up in it. */
.site-nav a[aria-current='page'] { color: var(--tb-blue); }

.site-nav a[aria-current='page'] .site-nav__label {
  box-shadow: inset 0 -2px 0 var(--tb-blue);
}

.site-nav__soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle { display: none; }

/* ------------------------------------------------------------ Badges ---- */

.badge {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tb-green-deep);
  background: var(--tb-green-pale);
  border: 1px solid var(--tb-green-light);
  border-radius: 999px;
  padding: 2px 7px;
  white-space: nowrap;
}

.badge--lg { font-size: 10px; letter-spacing: 0.08em; padding: 3px 8px; }

/* ------------------------------------------------------------ Buttons ---- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn:hover { text-decoration: none; }

.btn--primary { background: var(--tb-blue); color: #fff; }
.btn--primary:hover { background: var(--tb-blue-dark); color: #fff; }

.btn--secondary {
  background: var(--tb-surface);
  color: var(--tb-ink);
  border-color: var(--tb-border);
}
.btn--secondary:hover { background: var(--tb-surface-alt2); color: var(--tb-ink); }

.btn--green { background: var(--tb-green-deep); color: #fff; }
.btn--green:hover { background: var(--tb-green-deeper); color: #fff; }

.btn--lime { background: var(--tb-green); color: var(--tb-green-deeper); padding: 15px 26px; }
.btn--lime:hover { background: #8ccd57; color: var(--tb-green-deeper); }

.btn--sm { font-size: 14px; padding: 11px 18px; }
.btn--block { display: block; width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.header-cta { flex: 0 0 auto; }

/* --------------------------------------------------------- Typography ---- */

.eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tb-body);
}

.eyebrow--lime { color: var(--tb-green); }
.eyebrow--blue { color: var(--tb-blue); }
.eyebrow--cyan { color: var(--tb-cyan); }

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow-row__rule {
  width: 32px;
  height: 4px;
  flex: 0 0 auto;
}

.h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 58px;
  line-height: 64px;
  letter-spacing: -0.02em;
  color: var(--tb-ink);
}

.h1--sub {
  font-size: 50px;
  line-height: 58px;
  max-width: 900px;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: -0.015em;
  color: var(--tb-ink);
}

.h2--sm {
  font-size: 36px;
  line-height: 44px;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  line-height: 30px;
  color: var(--tb-ink);
}

.h4 {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  color: var(--tb-ink);
}

.lead {
  font-size: 20px;
  line-height: 32px;
  color: var(--tb-body);
  max-width: 560px;
}

.lead--wide { font-size: 19px; line-height: 31px; max-width: 720px; }

.prose { font-size: 18px; line-height: 30px; color: var(--tb-body); }
.prose--sm { font-size: 16px; line-height: 26px; }

.section-intro { max-width: 720px; }
.section-intro .h2 { margin-top: 14px; }
.section-intro .prose { margin-top: 18px; }

em { font-style: italic; }
.em-ink { color: var(--tb-ink); font-style: italic; }

/* --------------------------------------------------------------- Hero ---- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 88px;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__kicker img { height: 26px; width: auto; display: block; }

.hero .lead { margin-top: 24px; }

.hero--recruit {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  padding-top: 88px;
  padding-bottom: 80px;
}

.page-hero {
  padding-top: 80px;
  padding-bottom: 72px;
}

.page-hero .h1 { margin-top: 20px; }
.page-hero .lead--wide { margin-top: 22px; }
.page-hero .btn-row { margin-top: 32px; }

/* -------------------------------------------------------- Screenshots ---- */

.shot {
  border: 1px solid var(--tb-border);
  border-radius: var(--radius);
  background: var(--tb-surface);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.10);
  padding: 10px;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Sized stand-in for artwork that has not been supplied yet. Delete the
   .shot__placeholder element and drop in an <img> to replace. */
.shot__placeholder {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 32px;
  background:
    repeating-linear-gradient(
      135deg,
      var(--tb-surface-alt) 0,
      var(--tb-surface-alt) 12px,
      #eef0f3 12px,
      #eef0f3 24px
    );
  color: var(--tb-muted);
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 20px;
}

.shot__placeholder .colorbar { width: 56px; }
.shot__placeholder .colorbar > div { opacity: 0.55; }

.ratio-16-11 { aspect-ratio: 16 / 11; }
.ratio-16-8 { aspect-ratio: 16 / 8; }
.ratio-4-3 { aspect-ratio: 4 / 3; }

/* -------------------------------------------------------- Product grid ---- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--tb-surface);
  border: 1px solid var(--tb-border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card--recruit {
  background: var(--tb-surface-alt);
  border-color: var(--tb-green-light);
}

.card__rule { width: 40px; height: 4px; flex: 0 0 auto; }
.card__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.card p { flex: 1 1 auto; }

.card__link {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--tb-blue);
}

.card__link--green { color: var(--tb-green-deep); }

/* --------------------------------------------------- Hairline features ---- */

.feature-grid {
  display: grid;
  gap: 1px;
  margin-top: 40px;
  background: var(--tb-border);
  border: 1px solid var(--tb-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }

.feature {
  background: var(--tb-surface);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature__icon {
  width: 22px;
  height: 22px;
  stroke: var(--tb-ink);
  opacity: 0.85;
  flex: 0 0 auto;
}

.feature p {
  font-size: 15px;
  line-height: 24px;
  color: var(--tb-body);
}

/* --------------------------------------------------------- Data panel ---- */

.split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
}

.split--even { grid-template-columns: 1fr 1fr; }

/* Standalone modifier: carries its own display so it works without .split */
.split--contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.split__pairs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  align-self: center;
}

.section--dark .h2 { color: #fff; }
.section--dark .h4 { color: #fff; }
.section--dark p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 25px;
  color: var(--tb-muted);
}

/* -------------------------------------------------------- Score bands ---- */

.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.band {
  border: 1px solid var(--tb-border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--tb-surface);
  border-top: 4px solid var(--tb-border);
}

.band__value {
  font-family: var(--font-ui);
  font-size: 26px;
  font-weight: 700;
  color: var(--tb-ink);
}

.band__label {
  margin-top: 8px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
}

.band p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 22px;
  color: var(--tb-body);
}

.band--accept { border-top-color: var(--tb-green-deep); }
.band--accept .band__label { color: var(--tb-green-deep); }
.band--audited { border-top-color: var(--tb-green); }
.band--audited .band__label { color: var(--tb-green-mid); }
.band--human { border-top-color: var(--tb-cyan); }
.band--human .band__label { color: var(--tb-blue); }
.band--reject { border-top-color: var(--tb-muted); }
.band--reject .band__label { color: var(--tb-body); }

/* ------------------------------------------------------------- Panels ---- */

.panel {
  border: 1px solid var(--tb-border);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--tb-surface);
}

.panel--shadow { box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08); }
.panel--plain { border: none; border-radius: var(--radius); color: var(--tb-ink); }

.panel .h3 + p { margin-top: 10px; }

.panel__note {
  margin-top: 12px;
  font-family: var(--font-ui);
  font-size: 12px;
  line-height: 18px;
  color: var(--tb-muted);
}

.panel__body {
  font-size: 15px;
  line-height: 24px;
  color: var(--tb-body);
}

.panel__list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 24px;
  color: var(--tb-body);
}

.panel__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 4px;
  background: var(--tb-green);
}

/* ----------------------------------------------------------- Contact ---- */

.contact-methods {
  margin-top: 36px;
  border-top: 1px solid var(--tb-border);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-methods__label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tb-muted);
}

.contact-methods__value {
  display: inline-block;
  margin-top: 6px;
  font-size: 20px;
  font-weight: 700;
  color: var(--tb-blue);
}

.contact-methods__plain {
  margin-top: 6px;
  font-size: 16px;
  color: var(--tb-body);
}

.route-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--tb-border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: var(--tb-ink);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.route:hover {
  border-color: var(--tb-blue);
  background: var(--tb-surface-alt);
  color: var(--tb-ink);
  text-decoration: none;
}

.route__body { display: block; }

.route__title {
  display: block;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
}

.route__desc {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 21px;
  color: var(--tb-body);
}

.route__arrow {
  flex: 0 0 auto;
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--tb-blue);
}

/* -------------------------------------------------------- CTA banners ---- */

.cta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.cta-banner__text { max-width: 620px; }

.cta-banner .h2 {
  font-size: 32px;
  line-height: 40px;
  color: #fff;
  letter-spacing: 0;
}

.cta-banner p {
  margin-top: 12px;
  font-size: 17px;
  line-height: 28px;
  color: var(--tb-green-light);
}

/* --------------------------------------------------------- Who it's for -- */

.quote-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding-top: 64px;
  padding-bottom: 64px;
}

.quote-split__statement {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 38px;
  color: var(--tb-ink);
}

.quote-split__aside {
  border-left: 3px solid var(--tb-blue);
  padding-left: 24px;
}

.quote-split__aside p {
  font-size: 18px;
  line-height: 30px;
  color: var(--tb-body);
}

/* ---------------------------------------------------------- Principles -- */

.principles {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 28px;
}

.principles p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 26px;
  color: var(--tb-body);
}

.stack-24 { display: flex; flex-direction: column; gap: 24px; }

/* -------------------------------------------------------------- Roadmap -- */

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.roadmap {
  border: 1px solid var(--tb-border);
  border-radius: var(--radius);
  padding: 28px;
}

.roadmap p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 24px;
  color: var(--tb-body);
}

/* ------------------------------------------------------------- Footer ---- */

.site-footer {
  background: var(--tb-green-deep);
  color: #fff;
}

.site-footer__top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px var(--gutter) 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.site-footer__brand img { height: 30px; width: auto; display: block; }

.site-footer__brand p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 25px;
  color: var(--tb-green-light);
  max-width: 320px;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__heading {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tb-green);
}

.site-footer__col a { font-size: 15px; color: #fff; }
.site-footer__col a:hover { color: var(--tb-green); }

.site-footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--gutter) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--tb-green-light);
}

/* ------------------------------------------------------------ 404 page --- */

.notfound {
  padding-top: 120px;
  padding-bottom: 120px;
  text-align: center;
}

.notfound .colorbar {
  width: 120px;
  margin: 0 auto 32px;
}

.notfound .lead {
  margin: 20px auto 0;
  max-width: 520px;
}

.notfound .btn-row { justify-content: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .hero,
  .hero--recruit {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__media { max-width: 720px; }

  .split,
  .split--even {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1000px) {
  :root { --gutter: 32px; }

  .h1 { font-size: 46px; line-height: 54px; }
  .h1--sub { font-size: 40px; line-height: 48px; }
  .h2 { font-size: 34px; line-height: 42px; }
  .h2--sm { font-size: 30px; line-height: 38px; }

  .card-grid,
  .roadmap-grid,
  .feature-grid--3 { grid-template-columns: repeat(2, 1fr); }

  .band-grid { grid-template-columns: repeat(2, 1fr); }

  .quote-split,
  .split--contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Mobile navigation ---------------------------------------------------
   Without JS the nav renders as a normal stacked list, so the site is fully
   navigable. The .js class (set by nav.js) opts into the collapsible panel. */

@media (max-width: 860px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav-toggle {
    display: none;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--tb-border);
    border-radius: var(--radius-sm);
    color: var(--tb-ink);
    cursor: pointer;
  }

  .js .nav-toggle { display: inline-flex; }

  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .nav-toggle__bars { position: relative; }

  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    content: '';
    position: absolute;
    left: 0;
  }

  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }

  .site-nav {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-left: 0;
    font-size: 16px;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--tb-border);
  }

  .site-nav a[aria-current='page'] .site-nav__label { box-shadow: none; }

  .js .site-nav[hidden] { display: none; }

  .header-cta {
    order: 4;
    flex-basis: 100%;
    text-align: center;
  }

  .js .header-cta[hidden] { display: none; }
}

@media (max-width: 720px) {
  :root { --gutter: 24px; }

  .section,
  .section--tight {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero,
  .hero--recruit {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .page-hero { padding-top: 56px; padding-bottom: 48px; }

  .h1 { font-size: 36px; line-height: 44px; }
  .h1--sub { font-size: 32px; line-height: 40px; }
  .h2 { font-size: 28px; line-height: 36px; }
  .h2--sm { font-size: 26px; line-height: 34px; }
  .h3 { font-size: 21px; line-height: 28px; }

  .lead,
  .lead--wide { font-size: 17px; line-height: 28px; }

  .prose { font-size: 16px; line-height: 27px; }

  .card-grid,
  .roadmap-grid,
  .band-grid,
  .feature-grid--3,
  .feature-grid--4 {
    grid-template-columns: 1fr;
  }

  .card, .panel, .roadmap { padding: 24px; }

  .quote-split__statement { font-size: 22px; line-height: 32px; }

  .cta-banner { padding-top: 56px; padding-bottom: 56px; }
  .cta-banner .h2 { font-size: 26px; line-height: 34px; }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 48px;
  }

  .btn-row { margin-top: 28px; }
  .btn--block-sm { display: block; width: 100%; }
}

@media (max-width: 420px) {
  :root { --gutter: 20px; }
  .h1 { font-size: 31px; line-height: 39px; }
  .h1--sub { font-size: 28px; line-height: 36px; }
}

/* ------------------------------------------------------------- Print ---- */

@media print {
  .site-header, .nav-toggle, .cta-banner { display: none; }
  body { color: #000; }
  .section--dark, .section--green { background: #fff; color: #000; }
}
