/*
  RouteRock brand colors.
  Deep navy is primary. Safety orange is for buttons and highlights.
  Hover colors are darker mixes of those two.
  Montserrat is self-hosted (SIL Open Font License), latin WOFF2, font-display swap.
*/
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/montserrat-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/montserrat-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/montserrat-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("assets/fonts/montserrat-900.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-navy: #1f2a44;
  --color-navy-dark: #162030;
  --color-orange: #f58220;
  --color-orange-hover: #d8721c;
  --color-steel: #6b7280;
  --color-bg: #f4f5f7;
  --color-white: #ffffff;
  --color-line: #e1e3e6;
  --color-ink: #1f2a44;
  --color-muted: #3f4a5a;
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 70rem;
  --shadow: 0 16px 40px rgba(22, 32, 48, 0.12);
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--color-navy);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

main {
  flex: 1;
  background: var(--color-white);
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.15rem);
}

h2 {
  margin-top: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
}

h2 + .intro + h2 {
  margin-top: 2.25rem;
}

h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
}

::selection {
  background: var(--color-navy);
  color: var(--color-white);
}

a {
  color: var(--color-navy);
  font-weight: 600;
  text-decoration-color: var(--color-orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--color-navy-dark);
}

.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;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  z-index: 6;
  text-decoration: none;
}

.skip-link:focus {
  position: fixed;
  top: 0.5rem;
  color: var(--color-white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: inset 0 -2px 0 var(--color-orange);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 72px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  background: var(--color-white);
  border-radius: 12px;
  padding: 4px 10px 4px 4px;
  line-height: 0;
  text-decoration: none;
  margin-right: auto;
}

.logo-link img {
  display: block;
  height: 40px;
  width: auto;
}

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

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-white);
  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-header.is-open .nav-toggle-bars {
  background: transparent;
}

.site-header.is-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav .nav-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 0.75rem;
  border-radius: 8px;
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
}

.site-nav .nav-list a:hover,
.site-nav .nav-list a[aria-current="page"] {
  color: var(--color-orange);
}

.site-nav .button {
  margin-top: 0.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border-radius: 10px;
  background: var(--color-orange);
  color: var(--color-navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  background: var(--color-orange-hover);
  color: var(--color-navy);
}

.button:focus-visible {
  outline-color: var(--color-white);
}

.button-lg {
  min-height: 56px;
  padding: 0.95rem 1.35rem;
  font-size: 1.05rem;
}

.quiet {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--color-white);
  font-weight: 700;
  text-decoration-color: var(--color-orange);
  text-underline-offset: 0.22em;
}

.quiet:hover {
  color: var(--color-white);
  text-decoration-color: var(--color-white);
}

.hero {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 2rem 0;
}

.hero h1,
.band-navy h2,
.cta-band h2 {
  color: var(--color-white);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.kicker {
  margin-bottom: 0.65rem;
  color: var(--color-navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .kicker,
.band-navy .kicker,
.cta-band .kicker {
  color: var(--color-orange);
}

.lede {
  margin-top: 0.85rem;
  max-width: 65ch;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.6;
}

.hero .lede {
  color: var(--color-white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.15rem;
  margin-top: 1.5rem;
}

.section,
.band-navy,
.cta-band {
  padding: 2rem 0;
}

.band-white {
  background: var(--color-white);
}

.band-gray {
  background: var(--color-bg);
}

.intro,
.timeline-copy p,
.pair p,
.trust p,
.band-navy p,
.cta-band p,
.card p {
  max-width: 65ch;
}

.intro {
  margin-top: 0.75rem;
  color: var(--color-muted);
}

.intro + .intro {
  margin-top: 0.65rem;
}

.cards {
  display: grid;
  align-items: stretch;
  gap: 1.25rem;
  margin-top: 1.4rem;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  padding: 1.15rem 1.15rem 1.2rem;
  box-shadow: 0 10px 28px rgba(22, 32, 48, 0.06);
}

.card h3,
.card h2 {
  font-size: 1.15rem;
  margin-top: 0.8rem;
}

.card p,
.card li {
  color: var(--color-muted);
  font-weight: 500;
}

.card ul,
.timeline-copy ul {
  margin-top: 0.7rem;
  padding-left: 1.15rem;
}

.card li + li,
.timeline-copy li + li {
  margin-top: 0.35rem;
}

.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--color-navy);
  color: var(--color-orange);
}

.icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.tag {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.12rem 0.42rem;
  border: 1px solid var(--color-orange);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-transform: uppercase;
  vertical-align: 0.12em;
  white-space: nowrap;
}

.road {
  background-color: var(--color-navy);
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0 14px,
      rgba(245, 130, 32, 0.55) 14px 26px,
      transparent 26px 40px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0 14px,
      rgba(255, 255, 255, 0.16) 14px 26px,
      transparent 26px 40px
    );
  background-repeat: repeat-x, repeat-x;
  background-size: auto 2px, auto 2px;
  background-position: center 14px, center calc(100% - 14px);
}

.band-navy,
.cta-band {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.band-navy p,
.cta-band p {
  margin-top: 0.75rem;
}

.signal {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  max-width: 16rem;
  height: 34px;
  margin-top: 1.3rem;
}

.signal i {
  display: block;
  width: 8px;
  border-radius: 2px;
  background: var(--color-orange);
  transform-origin: bottom;
  animation: signal-bar 1.6s ease-in-out infinite;
}

.signal i:nth-child(1) {
  height: 10px;
}

.signal i:nth-child(2) {
  height: 18px;
  animation-delay: 0.15s;
}

.signal i:nth-child(3) {
  height: 28px;
  animation-delay: 0.3s;
}

.road-dash {
  flex: 1;
  height: 4px;
  margin-bottom: 3px;
  margin-left: 8px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--color-orange) 0 12px,
    transparent 12px 22px
  );
  background-size: 44px 4px;
  animation: road-dash 1.1s linear infinite;
}

@keyframes signal-bar {
  0%,
  100% {
    opacity: 0.3;
  }

  45% {
    opacity: 1;
  }
}

@keyframes road-dash {
  to {
    background-position: 44px 0;
  }
}

.trust {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-orange);
  border-radius: 0 16px 16px 0;
  padding: 1.3rem 1.3rem 1.4rem;
}

.trust h2 {
  max-width: 65ch;
}

.trust p {
  margin-top: 0.75rem;
  color: var(--color-muted);
}

.faq h2 {
  margin-bottom: 0.85rem;
}

.section .button {
  margin-top: 1rem;
}

.steps {
  display: grid;
  align-items: stretch;
  gap: 1.25rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 10px 28px rgba(22, 32, 48, 0.06);
}

.steps p {
  margin-top: 0.45rem;
  color: var(--color-muted);
}

.faq details {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: 0.15rem 1rem;
}

.faq details + details {
  margin-top: 0.6rem;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 0.85rem 0;
  color: var(--color-navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--color-navy);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}

.phone {
  width: min(100%, 280px);
  margin-inline: auto;
}

.phone-frame {
  padding: 10px;
  border-radius: 36px;
  background: #121826;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
}

.offline-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.phone figcaption {
  margin-top: 0.55rem;
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

.hero .phone figcaption,
.band-navy .phone figcaption {
  color: rgba(255, 255, 255, 0.82);
}

.page-intro {
  padding: 0;
}

.section .pair,
.section .pricing-layout {
  padding: 0;
  border-top: 0;
}

.pair {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 2.2rem 0;
  border-top: 1px solid var(--color-line);
}

.pair h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.pair p {
  margin-top: 0.65rem;
  color: var(--color-muted);
}

.roadmap {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.roadmap li {
  background: var(--color-white);
  border: 1px dashed var(--color-orange);
  border-radius: 14px;
  padding: 0.35rem 1rem;
  font-weight: 800;
}

.roadmap a {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.timeline {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1rem;
  bottom: 1rem;
  width: 2px;
  background: var(--color-orange);
}

.timeline > li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.timeline-break .step-num {
  background: transparent;
  visibility: hidden;
}

.step-num {
  position: relative;
  z-index: 1;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-navy);
  font-weight: 800;
}

.step-body {
  display: grid;
  gap: 1rem;
  padding-bottom: 0.4rem;
}

.timeline-copy h2 {
  font-size: 1.35rem;
}

.timeline-copy p {
  margin-top: 0.45rem;
  color: var(--color-muted);
}

.price-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-top: 6px solid var(--color-orange);
  border-radius: 18px;
  padding: 1.4rem 1.3rem 1.5rem;
  box-shadow: var(--shadow);
}

.price-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.price-card .lede {
  margin-top: 0.55rem;
  font-weight: 800;
}

.price-card p {
  margin-top: 0.7rem;
  color: var(--color-muted);
}

.price-card .button {
  margin-top: 1.15rem;
}

.pricing-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.site-footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 2.4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-label {
  margin-bottom: 0.45rem;
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--color-orange);
  font-weight: 600;
  text-decoration-thickness: 2px;
}

.site-footer a:hover,
.site-footer a[aria-current="page"] {
  color: var(--color-white);
}

.operator {
  max-width: 22rem;
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

.footer-note {
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
}

html.can-reveal .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

html.can-reveal .reveal.is-in {
  opacity: 1;
  transform: none;
}

.prose {
  line-height: 1.6;
  overflow-wrap: break-word;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.prose > * {
  max-width: 65ch;
}

.prose h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.35rem);
}

.prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.prose p,
.prose ul,
.prose ol {
  margin-top: 0.55rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.callout {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-orange);
  background: var(--color-white);
}

.callout .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.subject {
  margin-top: 0.3rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy);
}

.brand-block {
  margin-top: 1.75rem;
}

.brand-block h2 {
  margin-bottom: 0.4rem;
}

.logo-frame {
  margin-top: 0.8rem;
  padding: 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 12px;
}

.logo-frame img {
  display: block;
  max-width: 100%;
  height: auto;
}

.logo-frame.icon img {
  width: min(100%, 280px);
}

.downloads {
  margin-top: 0.7rem;
  padding-left: 1.2rem;
}

.downloads li + li {
  margin-top: 0.25rem;
}

.swatches {
  list-style: none;
  margin-top: 0.8rem;
  padding: 0;
}

.swatches li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-line);
}

.swatch {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  border-radius: 8px;
  border: 1px solid var(--color-line);
}

.swatch-name {
  font-weight: 700;
  color: var(--color-navy);
}

.swatch code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.92rem;
}

.swatch-role {
  color: var(--color-muted);
  font-weight: 400;
}

.specimen {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.35rem 0.75rem 0.5rem;
  border-radius: 12px;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.specimen .rock {
  color: var(--color-orange);
}

@media (min-width: 720px) {
  .cards.icons {
    grid-template-columns: 1fr 1fr;
  }

  .roadmap {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }
}

@media (min-width: 1000px) {
  .cards.three,
  .cards.icons {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.mid-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  margin: 0.5rem 0 0;
  padding: 1.15rem 1.2rem;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-orange);
  border-radius: 0 16px 16px 0;
}

.mid-cta h2 {
  font-size: 1.35rem;
}

.mid-cta p {
  flex: 1 1 16rem;
  margin: 0;
  color: var(--color-muted);
}

.page-intro .button,
.page-intro .hero-actions,
.page-intro .demo-form {
  margin-top: 1.15rem;
}

.demo-form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
  margin-top: 1.25rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: var(--color-white);
  color: var(--color-ink);
  font: inherit;
  line-height: 1.5;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #7f1d1d;
}

.field-error {
  color: var(--color-navy);
  font-weight: 700;
}

.article-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.article-list a.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  height: 100%;
  color: inherit;
  font-weight: 500;
  text-decoration: none;
}

.article-list a.card h2 {
  margin-top: 0;
  color: var(--color-navy);
  text-decoration: underline;
  text-decoration-color: var(--color-orange);
  text-underline-offset: 0.16em;
}

.article p,
.article li {
  max-width: 65ch;
}

.article h2 {
  max-width: 65ch;
}

.article p + h2 {
  margin-top: 2.25rem;
}

@media (min-width: 800px) {
  .article-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 859px) {
  .header-inner {
    flex-wrap: wrap;
  }

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

  .site-nav {
    flex-basis: 100%;
  }

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    width: auto;
    padding: 0.45rem;
    background: var(--color-navy-dark);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .js .site-header.is-open .site-nav {
    display: flex;
  }

  .js .site-nav .nav-list a {
    padding: 0.75rem;
  }
}

@media (min-width: 860px) {
  .logo-link {
    margin-right: 0;
  }

  .site-nav {
    flex-direction: row;
    align-items: center;
    gap: 0.2rem;
    margin-left: auto;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
  }

  .site-nav .nav-list a {
    padding: 0.45rem 0.7rem;
  }

  .site-nav .button {
    margin-top: 0;
    margin-left: 0.45rem;
    min-height: 44px;
    padding: 0.55rem 0.9rem;
  }

  .hero {
    padding: 3.5rem 0;
  }

  .section,
  .band-navy,
  .cta-band,
  .prose {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .steps.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-grid,
  .offline-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.75fr);
  }

  .hero .phone {
    margin-right: 0;
  }

  .pair {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .pair.flip {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .pair.flip .pair-copy {
    order: 2;
  }

  .step-body {
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: center;
  }

  .pricing-layout {
    grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.15fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .signal i,
  .road-dash,
  html.can-reveal .reveal {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .site-header,
  .site-footer,
  .hero,
  .band-navy,
  .cta-band {
    position: static;
    background: #fff;
    color: #000;
    box-shadow: none;
  }

  .hero h1,
  .band-navy h2,
  .cta-band h2,
  .site-nav .nav-list a,
  .site-footer a {
    color: #000;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    width: auto;
    background: transparent;
    box-shadow: none;
  }

  .skip-link,
  .signal {
    display: none;
  }

  html.can-reveal .reveal {
    opacity: 1;
    transform: none;
  }
}
