/* ==========================================================================
   CCAN — Home page
   Desktop layout uses fluid viewport scaling above 1100px.
   Tablet / mobile re-flow into stacked components.
   ========================================================================== */

:root {
  --green: #7ed321;
  --green-hover: #8fe03a;
  --green-dark: #2e7d10;
  --ink: #0a0f14;
  --ink-2: #0c1217;
  --ink-3: #0e151a;
  --ink-hover: #1c252d;
  --text: #1f2933;
  --muted-light: #d6d9dd;
  --line-dark: #232b31;
  --line-light: #d5d8dc;
  --surface: #f6f7f7;
  --field: #f3f4f6;
  --link: #2563eb;
  --radius: 3px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  background: var(--ink);
  color: var(--ink);
}

img,
svg {
  display: block;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: var(--link);
  text-decoration: none;
}
button {
  font: inherit;
}

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

.page {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background: #ffffff;
}

.visually-hidden {
  position: absolute !important;
  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: 12px;
  top: -60px;
  z-index: 100;
  background: var(--green);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
}

.nowrap {
  white-space: nowrap;
}
.text-green {
  color: var(--green);
}

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: clamp(9px, 0.98vw, 14px);
  font-weight: 600;
  letter-spacing: 0.22em;
  margin-bottom: 1vw;
}
.eyebrow--light {
  color: #ffffff;
}
.eyebrow--green {
  color: var(--green);
}
.eyebrow--green-dark {
  color: var(--green-dark);
}

.section-title {
  margin: 0 0 1.4vw;
  font-size: clamp(20px, 2.45vw, 36px);
  font-weight: 700;
  line-height: 1.06;
  color: var(--ink);
}
.section-title--light {
  color: #ffffff;
  line-height: 1.08;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 1.4vw;
  white-space: nowrap;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 500;
  font-size: clamp(12px, 1.25vw, 18px);
  padding: clamp(10px, 1.1vw, 16px) clamp(16px, 1.8vw, 26px);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn__arrow {
  width: 16px;
  height: 12px;
  flex: none;
}
.btn--lg {
  padding: clamp(10px, 1.15vw, 17px) clamp(16px, 1.9vw, 28px);
}

.btn--green {
  background: var(--green);
  color: var(--ink);
}
.btn--green:hover {
  background: var(--green-hover);
  color: var(--ink);
}

.btn--dark {
  background: var(--ink);
  color: #ffffff;
  gap: 1.6vw;
  font-size: clamp(12px, 1.3vw, 19px);
  padding: clamp(10px, 1.2vw, 18px) clamp(18px, 2.3vw, 34px);
}
.btn--dark:hover {
  background: var(--ink-hover);
  color: #ffffff;
}

.btn--outline-light {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  gap: 1.6vw;
  font-size: clamp(11px, 1.25vw, 18px);
  padding: clamp(9px, 1vw, 15px) clamp(14px, 1.7vw, 24px);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.btn--outline-dark {
  background: #ffffff;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  gap: 1.6vw;
  font-size: clamp(11px, 1.25vw, 18px);
  padding: clamp(9px, 1vw, 15px) clamp(16px, 2.4vw, 34px);
}
.btn--outline-dark:hover {
  background: #f4f6f8;
  color: var(--ink);
}

/* ---------- Brand ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 0.7vw;
  color: #ffffff;
}
.brand:hover {
  color: #ffffff;
}
.brand__mark {
  width: clamp(30px, 3.4vw, 50px);
  aspect-ratio: 40 / 46;
  height: auto;
}
.brand__text {
  display: block;
  line-height: 1;
}
.brand__name {
  display: block;
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 38px);
  letter-spacing: 0.02em;
}
.brand__tag {
  display: block;
  font-weight: 600;
  font-size: clamp(7px, 0.72vw, 10.5px);
  letter-spacing: 0.04em;
  margin-top: 0.25vw;
  white-space: nowrap;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 51.5vw; /* design ratio 1024:527 — grows if the copy needs more room */
  display: flex;
  background: var(--ink) right center / cover no-repeat;
  background-image: url("../assets/img/hero-bg-lettered.png");
  background-image: image-set(
    url("../assets/img/hero-bg-lettered.webp") type("image/webp"),
    url("../assets/img/hero-bg-lettered.png") type("image/png")
  );
  overflow: hidden;
}
.hero__shade,
.hero__shade::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__shade {
  background: linear-gradient(
    90deg,
    rgba(8, 12, 16, 0.96) 0%,
    rgba(8, 12, 16, 0.9) 26%,
    rgba(8, 12, 16, 0.55) 40%,
    rgba(8, 12, 16, 0.05) 55%,
    rgba(8, 12, 16, 0) 70%
  );
}
.hero__shade::after {
  content: "";
  background: linear-gradient(
    180deg,
    rgba(8, 12, 16, 0.55) 0%,
    rgba(8, 12, 16, 0) 18%
  );
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 84.5%;
  padding: 1.2vw 0 0 3.4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2vw;
  z-index: 10;
}
.primary-nav {
  display: contents;
}
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 2.3vw;
}
.primary-nav ul a {
  display: block;
  color: #ffffff;
  font-size: clamp(11px, 1.08vw, 16px);
  font-weight: 500;
  white-space: nowrap;
  padding-bottom: 0.5vw;
  border-bottom: 2px solid transparent;
}
.primary-nav ul a:hover {
  border-bottom-color: rgba(126, 211, 33, 0.55);
}
.primary-nav ul a[aria-current="page"] {
  border-bottom-color: var(--green);
}
.btn--header {
  gap: 0.9vw;
  font-weight: 600;
  font-size: clamp(12px, 1.2vw, 17px);
  padding: clamp(9px, 1vw, 15px) clamp(16px, 1.9vw, 28px);
}
.nav-toggle {
  display: none;
}

/* Copy column */
.hero__copy {
  position: relative;
  width: 40vw;
  min-width: 440px;
  margin-left: 4.2vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* top padding keeps the copy clear of the absolutely-positioned header */
  padding: max(8vw, 96px) 0 max(1.9vw, 22px);
  z-index: 3;
}
.hero__copy .eyebrow {
  font-size: clamp(11px, 1.02vw, 15px);
  margin-bottom: 0.9vw;
}
.hero__title {
  margin: 0 0 1.5vw;
  font-size: clamp(42px, 3.95vw, 60px);
  line-height: 1.12;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.hero__intro {
  margin: 0 0 1.5vw;
  max-width: max(36vw, 400px);
  font-size: clamp(15px, 1.28vw, 19px);
  line-height: 1.34;
  color: #ffffff;
  text-wrap: pretty;
}

.capabilities {
  display: flex;
  flex-direction: column;
  gap: max(1.1vw, 12px);
  margin-bottom: max(1.7vw, 20px);
}
.capability {
  display: flex;
  gap: max(1.9vw, 18px);
  align-items: center;
}
.capability__icon {
  width: 2.9vw;
  min-width: 22px;
  flex: none;
}
.capability__title {
  color: #ffffff;
  font-weight: 600;
  font-size: clamp(15px, 1.27vw, 19px);
  line-height: 1.2;
}
.capability__text {
  color: var(--muted-light);
  font-size: clamp(12.5px, 0.98vw, 14.5px);
  margin-top: 0.2vw;
  line-height: 1.35;
}

.hero__actions {
  display: flex;
  gap: max(1.1vw, 12px);
  flex-wrap: wrap;
}
.hero__actions .btn {
  gap: 1.1vw;
}

/* Phone + status card (absolutely placed on desktop) */
.hero__visual,
.hero__visual picture {
  display: contents;
}
.hero__phone {
  position: absolute;
  left: 55.4%;
  top: 30.5%;
  width: 25%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.status-card {
  position: absolute;
  left: 66.4%;
  top: 14.2%;
  width: 18.6%;
  background: linear-gradient(160deg, #0f1a1c 0%, var(--ink) 100%);
  border: 1px solid rgba(126, 211, 33, 0.35);
  border-radius: 0.6vw;
  padding: 1.1vw 1.1vw 1vw;
  z-index: 4;
  box-shadow: 0 1vw 2.4vw rgba(0, 0, 0, 0.55);
}
.status-card__head {
  display: flex;
  gap: 0.9vw;
  align-items: flex-start;
  line-height: 1.15;
}
.status-card__pin {
  width: 2.2vw;
  min-width: 18px;
  flex: none;
  filter: drop-shadow(0 0 6px rgba(126, 211, 33, 0.5));
}
.status-card__title {
  color: #ffffff;
  font-weight: 600;
  font-size: clamp(12px, 1.1vw, 17px);
  white-space: nowrap;
}
.status-card__verified {
  display: flex;
  align-items: center;
  gap: 0.35vw;
  margin-top: 0.1vw;
  color: var(--green);
  font-weight: 600;
  font-size: clamp(12px, 1.1vw, 17px);
}
.status-card__verified svg {
  width: 1vw;
  min-width: 10px;
}
.status-card__eta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1vw;
  padding-left: 0.3vw;
}
.status-card__label {
  color: #c9cdd2;
  font-size: clamp(10px, 0.78vw, 11.5px);
}
.status-card__value {
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.1;
}
.status-card__runner {
  width: 2.6vw;
  min-width: 22px;
}
.status-card__bar {
  height: 0.42vw;
  min-height: 3px;
  background: #3a4449;
  border-radius: 1vw;
  margin: 0.7vw 0.3vw 0;
  overflow: hidden;
}
.status-card__bar span {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: 1vw;
}

/* ==========================================================================
   AUDIENCE STRIP
   ========================================================================== */
.audience {
  background: #ffffff;
  padding: 1.1vw 4.2vw 1.4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2vw;
}
.audience__title {
  font-size: clamp(10px, 0.98vw, 14px);
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--ink);
  text-align: center;
}
.audience__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: 100%;
}
.audience__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8vw;
  padding: 0.3vw 0;
  text-align: center;
}
.audience__list li + li {
  border-left: 1px solid var(--line-light);
}
.audience__list svg {
  width: 3vw;
  min-width: 26px;
  height: auto;
  aspect-ratio: 32 / 30;
}
.audience__list span {
  font-size: clamp(14px, 1.25vw, 18px);
  color: var(--ink);
}

/* ==========================================================================
   HOW CCAN WORKS
   ========================================================================== */
.how {
  background: var(--ink-2);
  padding: 2.4vw 3.4vw 1.6vw 4.2vw;
  display: grid;
  grid-template-columns: 30vw minmax(0, 1fr);
  gap: 1vw;
  align-items: center;
}
.how .eyebrow {
  margin-bottom: 0.6vw;
}
.how__lede {
  margin: 0 0 1.5vw;
  color: #ffffff;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.36;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 2.2vw;
  align-items: stretch;
  padding-top: 1.4vw;
  counter-reset: step;
}
.step {
  position: relative;
  border: 1px solid var(--line-dark);
  border-radius: 0.3vw;
  padding: 3.3vw 1.2vw 1.6vw;
  text-align: center;
  background: var(--ink-3);
}
/* arrow between steps */
.step + .step::before {
  content: "";
  position: absolute;
  left: -2.2vw;
  top: 50%;
  width: 2.2vw;
  height: 12px;
  transform: translateY(-50%);
  background: center / 16px 12px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M1 6 H14 M9 1 L14 6 L9 11' fill='none' stroke='%237ED321' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.step--tight {
  padding: 2.6vw 1vw 1.6vw;
}
.step__num {
  position: absolute;
  top: -1.4vw;
  left: 50%;
  transform: translateX(-50%);
  width: 2.8vw;
  height: 2.8vw;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: var(--ink-2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: clamp(11px, 1.35vw, 20px);
}
.step__icon {
  width: 4.2vw;
  min-width: 34px;
  margin: 0 auto 1vw;
}
.step--tight .step__icon {
  margin-bottom: 0.8vw;
}
.step__title {
  font-weight: 600;
  font-size: clamp(15px, 1.35vw, 20px);
  color: #ffffff;
  margin-bottom: 1.2vw;
  line-height: 1.2;
}
.step--tight .step__title {
  margin-bottom: 0.9vw;
}
.step__text {
  font-size: clamp(13px, 1.12vw, 16px);
  color: var(--muted-light);
  line-height: 1.45;
}

/* ==========================================================================
   BUILDING MANAGERS
   ========================================================================== */
.managers {
  display: grid;
  grid-template-columns: 46.4% minmax(0, 1fr);
  background: var(--surface);
}
.managers__photo {
  position: relative;
  min-height: 27vw;
  background: var(--ink) left center / cover no-repeat;
  background-image: url("../assets/img/building-manager-lettered.png");
  background-image: image-set(
    url("../assets/img/building-manager-lettered.webp") type("image/webp"),
    url("../assets/img/building-manager-lettered.png") type("image/png")
  );
}
.managers__body {
  padding: 1.9vw 3.6vw 1vw 3.7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.managers__lede {
  margin: 0 0 1.6vw;
  color: var(--text);
  font-size: clamp(15px, 1.32vw, 19px);
  line-height: 1.34;
}

.benefits {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 0.75vw 2.5vw;
  margin-bottom: 1.7vw;
}
.benefits li {
  display: flex;
  gap: max(1.1vw, 10px);
  align-items: flex-start;
  font-size: clamp(13.5px, 1.12vw, 16px);
  color: var(--text);
  line-height: 1.3;
}
.benefits svg {
  width: 1.55vw;
  min-width: 14px;
  aspect-ratio: 1;
  height: auto;
  flex: none;
}

/* ==========================================================================
   BUILDING POLICY NETWORK
   ========================================================================== */
.policy {
  background: #ffffff;
  padding: 1.4vw 3vw 1.4vw 5.6vw;
  display: grid;
  grid-template-columns: minmax(0, 33fr) minmax(0, 28fr) minmax(0, 27fr);
  gap: 3.6vw;
  align-items: center;
  border-top: 1px solid #e5e7eb;
}
.policy .eyebrow {
  margin-bottom: 0.9vw;
}
.policy .section-title {
  margin-bottom: 1.1vw;
}
.policy__lede {
  margin: 0 0 1.4vw;
  color: var(--text);
  font-size: clamp(15px, 1.22vw, 18px);
  line-height: 1.3;
}

.policy-card {
  background: #ffffff;
  border: 1px solid #dadde1;
  border-radius: 0.5vw;
  padding: 1.1vw 1.6vw 1.2vw;
  box-shadow: 0 0.4vw 1.6vw rgba(10, 15, 20, 0.08);
}
.policy-card__title {
  display: flex;
  align-items: center;
  gap: 1vw;
  margin-bottom: 0.8vw;
  font-weight: 600;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink);
}
.policy-card__title svg {
  width: 1.6vw;
  min-width: 14px;
  aspect-ratio: 20 / 22;
  height: auto;
}
.policy-row {
  display: grid;
  grid-template-columns: 1.8vw minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 0.7vw;
  align-items: center;
  margin-bottom: 0.45vw;
  color: var(--ink);
}
.policy-row svg {
  width: 1.5vw;
  min-width: 13px;
  aspect-ratio: 1;
  height: auto;
}
.policy-row__label,
.policy-row__value {
  background: var(--field);
  border-radius: var(--radius);
  padding: max(0.5vw, 6px) max(0.8vw, 8px);
  font-size: clamp(12.5px, 0.98vw, 14px);
  color: var(--text);
}
.policy-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.8vw;
  margin-top: 0.6vw;
  font-size: clamp(13px, 0.98vw, 14px);
  font-weight: 500;
  color: var(--link);
}
.policy-card__link:hover {
  color: #0b3d2e;
}
.policy-card__link .btn__arrow {
  width: 14px;
  height: 10px;
}

.policy__benefits {
  display: flex;
  flex-direction: column;
  gap: 1.25vw;
}
.policy__benefits li {
  display: flex;
  gap: max(1.6vw, 14px);
  align-items: center;
  font-size: clamp(13.5px, 1.05vw, 15px);
  color: var(--text);
}
.policy__benefits svg {
  width: 1.8vw;
  min-width: 16px;
  height: auto;
  flex: none;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.cta {
  background: var(--green);
  padding: 1.3vw 3vw 1.3vw 4.1vw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 3.8vw;
  align-items: center;
}
.cta__title {
  margin: 0 0 0.5vw;
  font-size: clamp(16px, 1.95vw, 29px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
}
.cta__text {
  font-size: clamp(14px, 1.22vw, 18px);
  color: var(--ink);
}
.cta__values {
  display: grid;
  grid-template-columns: repeat(3, auto);
  align-items: center;
}
.cta__values li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4vw;
  padding: 0 1.6vw;
}
.cta__values li + li {
  border-left: 1px solid rgba(10, 15, 20, 0.35);
}
.cta__values svg {
  width: 2.5vw;
  min-width: 20px;
  height: auto;
}
.cta__values span {
  font-size: clamp(12px, 0.98vw, 14px);
  color: var(--ink);
  text-align: center;
  line-height: 1.25;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: #ffffff;
  padding: 1.8vw 3.4vw 2.8vw 3.6vw;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 3.5vw;
  align-items: start;
}
.brand--footer .brand__mark {
  width: clamp(28px, 3.3vw, 48px);
}
.brand--footer .brand__name {
  font-size: clamp(20px, 2.6vw, 38px);
}
.brand--footer .brand__tag {
  font-size: clamp(6.5px, 0.7vw, 10px);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2vw;
  padding-top: 1.4vw;
  padding-left: 2vw;
  white-space: nowrap;
}
.footer-nav a,
.legal a {
  color: #ffffff;
  font-size: clamp(13px, 1.05vw, 15px);
}
.footer-nav a {
  padding-bottom: 0.4vw;
  border-bottom: 1.5px solid transparent;
}
.footer-nav a[aria-current="page"],
.footer-nav a:hover {
  border-bottom-color: #ffffff;
  color: #ffffff;
}

.legal {
  padding-top: 1.2vw;
  font-size: clamp(12.5px, 0.98vw, 14px);
  line-height: 1.4;
}
.legal__links {
  display: flex;
  gap: 2.2vw;
  margin-top: 1.8vw;
}
.legal a {
  font-size: clamp(12.5px, 0.98vw, 14px);
}
.legal a:hover {
  color: var(--green);
}

/* ==========================================================================
   TABLET  (< 1100px)
   ========================================================================== */
@media (max-width: 1099px) {
  .eyebrow {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .section-title {
    font-size: clamp(26px, 4vw, 34px);
    margin-bottom: 14px;
  }
  .btn,
  .btn--lg,
  .btn--dark,
  .btn--outline-light,
  .btn--outline-dark,
  .btn--header {
    font-size: 16px;
    gap: 12px;
    padding: 13px 22px;
  }

  /* Header + mobile menu */
  .site-header {
    position: relative;
    width: 100%;
    padding: 16px 24px;
    gap: 16px;
  }
  .brand {
    gap: 10px;
  }
  .brand__mark {
    width: 40px;
  }
  .brand__name {
    font-size: 28px;
  }
  .brand__tag {
    font-size: 8px;
    margin-top: 3px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    cursor: pointer;
  }
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }
  .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;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars {
    background: transparent;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    border-top: 1px solid var(--line-dark);
    border-bottom: 2px solid var(--green);
    padding: 8px 24px 24px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  }
  .primary-nav.is-open {
    display: block;
  }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-bottom: 18px;
  }
  .primary-nav ul a {
    font-size: 17px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-dark);
  }
  .primary-nav ul a[aria-current="page"] {
    color: var(--green);
    border-bottom-color: var(--line-dark);
  }
  .primary-nav ul a:hover {
    border-bottom-color: var(--line-dark);
    color: var(--green);
  }

  /* Hero re-flow */
  .hero {
    display: block;
    min-height: 0;
    background-position: 62% center;
  }
  .hero__shade {
    background: linear-gradient(
      180deg,
      rgba(8, 12, 16, 0.92) 0%,
      rgba(8, 12, 16, 0.82) 55%,
      rgba(8, 12, 16, 0.6) 78%,
      rgba(8, 12, 16, 0.85) 100%
    );
  }
  .hero__shade::after {
    display: none;
  }
  .hero__copy {
    position: relative;
    width: auto;
    min-width: 0;
    margin-left: 0;
    padding: 28px 24px 8px;
    max-width: 720px;
  }
  .hero__copy .eyebrow {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .hero__title {
    font-size: clamp(34px, 7vw, 56px);
    margin-bottom: 18px;
  }
  .hero__intro {
    max-width: 60ch;
    font-size: 17px;
    margin-bottom: 26px;
  }
  .capabilities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
    margin-bottom: 28px;
  }
  .capability {
    gap: 14px;
    align-items: flex-start;
  }
  .capability__icon {
    width: 28px;
  }
  .capability__title {
    font-size: 16px;
  }
  .capability__text {
    font-size: 14px;
    margin-top: 3px;
  }
  .hero__actions {
    gap: 12px;
  }
  .hero__actions .btn {
    gap: 12px;
  }

  .hero__visual {
    display: grid;
    position: relative;
    z-index: 2;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 24px 24px 0;
    max-width: 720px;
  }
  .hero__visual picture {
    display: block;
  }
  .hero__phone {
    position: static;
    width: 100%;
    max-width: 360px;
    margin: 0 auto -40px;
  }
  .status-card {
    position: static;
    width: auto;
    max-width: 300px;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  }
  .status-card__head {
    gap: 12px;
  }
  .status-card__pin {
    width: 26px;
  }
  .status-card__title,
  .status-card__verified {
    font-size: 16px;
  }
  .status-card__verified {
    gap: 6px;
  }
  .status-card__verified svg {
    width: 14px;
  }
  .status-card__eta {
    margin-top: 14px;
    padding-left: 4px;
  }
  .status-card__label {
    font-size: 12px;
  }
  .status-card__value {
    font-size: 18px;
  }
  .status-card__runner {
    width: 32px;
  }
  .status-card__bar {
    height: 5px;
    margin: 10px 4px 0;
  }

  /* Audience */
  .audience {
    padding: 28px 24px;
    gap: 20px;
  }
  .audience__title {
    font-size: 12px;
  }
  .audience__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 24px;
  }
  .audience__list li {
    gap: 10px;
  }
  .audience__list li:nth-child(3n + 1) {
    border-left: none;
  }
  .audience__list svg {
    width: 34px;
  }
  .audience__list span {
    font-size: 15px;
  }

  /* How it works */
  .how {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 24px;
  }
  .how .eyebrow {
    margin-bottom: 10px;
  }
  .how__lede {
    font-size: 17px;
    margin-bottom: 22px;
    max-width: 60ch;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 20px;
    padding-top: 16px;
  }
  .step,
  .step--tight {
    border-radius: 6px;
    padding: 36px 18px 22px;
  }
  .step + .step::before {
    display: none;
  }
  .step__num {
    top: -17px;
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  .step__icon {
    width: 44px;
    margin-bottom: 14px;
  }
  .step--tight .step__icon {
    margin-bottom: 14px;
  }
  .step__title,
  .step--tight .step__title {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .step__text {
    font-size: 15px;
  }

  /* Managers */
  .managers {
    grid-template-columns: 1fr;
  }
  .managers__photo {
    min-height: 0;
    aspect-ratio: 16 / 9;
    background-position: left center;
  }
  .managers__body {
    padding: 40px 24px 44px;
  }
  .managers__lede {
    font-size: 17px;
    margin-bottom: 22px;
  }
  .benefits {
    gap: 12px 28px;
    margin-bottom: 26px;
  }
  .benefits li {
    font-size: 15px;
    gap: 12px;
  }
  .benefits svg {
    width: 20px;
  }

  /* Policy */
  .policy {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    padding: 44px 24px;
  }
  .policy__intro {
    grid-column: 1 / -1;
  }
  .policy .eyebrow {
    margin-bottom: 10px;
  }
  .policy__lede {
    font-size: 17px;
    margin-bottom: 22px;
    max-width: 60ch;
  }
  .policy-card {
    border-radius: 8px;
    padding: 18px 20px;
    box-shadow: 0 6px 24px rgba(10, 15, 20, 0.08);
  }
  .policy-card__title {
    font-size: 17px;
    gap: 10px;
    margin-bottom: 14px;
  }
  .policy-card__title svg {
    width: 20px;
  }
  .policy-row {
    grid-template-columns: 22px minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 10px;
    margin-bottom: 8px;
  }
  .policy-row svg {
    width: 18px;
  }
  .policy-row__label,
  .policy-row__value {
    font-size: 14px;
    padding: 8px 10px;
  }
  .policy-card__link {
    font-size: 14px;
    gap: 8px;
    margin-top: 8px;
  }
  .policy__benefits {
    gap: 18px;
  }
  .policy__benefits li {
    font-size: 15px;
    gap: 14px;
  }
  .policy__benefits svg {
    width: 22px;
  }

  /* CTA */
  .cta {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    padding: 36px 24px;
  }
  .cta__title {
    font-size: clamp(22px, 3.4vw, 28px);
    margin-bottom: 6px;
  }
  .cta__text {
    font-size: 16px;
  }
  .cta__values {
    grid-column: 1 / -1;
    justify-content: start;
  }
  .cta__values li {
    padding: 0 22px;
    gap: 6px;
  }
  .cta__values li:first-child {
    padding-left: 0;
  }
  .cta__values svg {
    width: 28px;
  }
  .cta__values span {
    font-size: 13px;
  }

  /* Footer */
  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 28px 24px;
    padding: 40px 24px;
  }
  .brand--footer .brand__mark {
    width: 40px;
  }
  .brand--footer .brand__name {
    font-size: 28px;
  }
  .brand--footer .brand__tag {
    font-size: 8px;
  }
  .footer-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 0;
    gap: 12px 24px;
  }
  .footer-nav a,
  .legal a {
    font-size: 15px;
  }

  .legal {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid var(--line-dark);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }
  .legal__links {
    margin-top: 0;
    gap: 22px;
  }
}

/* ==========================================================================
   MOBILE  (< 700px)
   ========================================================================== */
@media (max-width: 699px) {
  .site-header {
    padding: 14px 16px;
  }
  .primary-nav {
    padding: 8px 16px 20px;
  }
  .brand__mark {
    width: 34px;
  }
  .brand__name {
    font-size: 24px;
  }
  .brand__tag {
    font-size: 7px;
  }

  .hero__copy {
    padding: 20px 16px 4px;
  }
  .hero__title {
    font-size: clamp(32px, 10vw, 44px);
  }
  .hero__title .nowrap {
    white-space: normal;
  }
  .hero__intro {
    font-size: 16px;
  }
  .capabilities {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero__visual {
    grid-template-columns: 1fr;
    padding: 24px 16px 0;
    justify-items: center;
  }
  .status-card {
    width: 100%;
    max-width: 320px;
    grid-row: 1;
  }
  .hero__phone {
    max-width: 300px;
  }

  .audience {
    padding: 24px 16px;
  }
  .audience__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .audience__list li:nth-child(3n + 1) {
    border-left: 1px solid var(--line-light);
  }
  .audience__list li:nth-child(2n + 1) {
    border-left: none;
  }

  .how {
    padding: 40px 16px;
  }
  .how .btn {
    white-space: normal;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .managers__photo {
    aspect-ratio: 4 / 3;
    background-position: left center;
  }
  .managers__body {
    padding: 36px 16px 40px;
  }
  .benefits {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }
  .managers__body .btn {
    align-self: stretch;
    justify-content: center;
  }

  .policy {
    grid-template-columns: 1fr;
    padding: 40px 16px;
  }
  .policy__intro .btn {
    width: 100%;
    justify-content: center;
  }
  .policy-row {
    grid-template-columns: 20px minmax(0, 1fr);
  }
  .policy-row svg {
    grid-row: span 2;
    align-self: start;
    margin-top: 8px;
  }
  .policy-row__value {
    font-weight: 500;
  }
  .policy-row {
    margin-bottom: 12px;
    row-gap: 4px;
  }

  .cta {
    grid-template-columns: 1fr;
    padding: 32px 16px;
  }
  .cta .btn {
    justify-content: center;
  }
  .cta__values {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cta__values li,
  .cta__values li:first-child {
    padding: 0 8px;
  }

  .site-footer {
    padding: 36px 16px;
  }
  .footer-nav {
    gap: 12px 20px;
  }
}
/* Homepage details */
.policy-card__sample {
  color: #3c6d21;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}
@media (min-width: 1100px) {
  .site-footer {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}
/* Cover legacy code text embedded in the original phone artwork with current illustrative status. */
.hero__phone-wrap {
  position: absolute;
  left: 55.4%;
  top: 30.5%;
  width: 25%;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}
.hero__phone-wrap picture {
  display: block;
}
.hero__phone-wrap .hero__phone {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  filter: none;
}
.phone-screen-update {
  position: absolute;
  left: 23.6%;
  top: 40.8%;
  width: 48.7%;
  height: 21.7%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3vw;
  border-radius: 5%;
  background: #99f521;
  color: #0a0f14;
  text-align: center;
  line-height: 1.16;
}
.phone-screen-update strong {
  font-size: clamp(8px, 1.05vw, 17px);
}
.phone-screen-update span {
  font-size: clamp(12px, 1.8vw, 28px);
  font-weight: 800;
}
.phone-screen-update small {
  font-size: clamp(7px, 0.78vw, 13px);
  font-weight: 600;
}
@media (max-width: 1099px) {
  .hero__phone-wrap {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 360px;
    margin: 0 auto -40px;
  }
  .hero__phone-wrap .hero__phone {
    margin: 0;
    max-width: none;
  }
  .phone-screen-update {
    gap: 4px;
  }
  .phone-screen-update strong {
    font-size: clamp(8px, 1.5vw, 14px);
  }
  .phone-screen-update span {
    font-size: clamp(13px, 2.6vw, 23px);
  }
  .phone-screen-update small {
    font-size: clamp(7px, 1.2vw, 11px);
  }
}
@media (max-width: 699px) {
  .hero__phone-wrap {
    max-width: 300px;
  }
}

/* Text on a light surface uses the darker brand green for contrast. */
.managers .text-green {
  color: var(--green-dark);
}
