﻿/* site files 2026-09-08 */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/montserrat-400.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/montserrat-500.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/montserrat-600.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/montserrat-700.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/montserrat-800.woff2") format("woff2");
}

:root {
  --blue: #608efa;
  --blue-2: #3b88f8;
  --blue-50: #eff6ff;
  --nav-accent: #608efa;
  --nav-bg: #1b3380; /* Brand 900 - navbar background */
  --navy: #1e293b;
  --night: #050817;
  --aqua: #039855;
  --sky: #eff6ff;
  --gray: #f8fafc;
  --slate: #64748b;
  --line: rgba(30, 41, 59, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.1);
  --radius: 16px;
  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --topbar-h: 2.5rem;
  --nav-h: 4.75rem;
  --header-offset: calc(var(--topbar-h) + var(--nav-h));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: #fbfdff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #1f4eeb;
  outline-offset: 2px;
}

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

.topbar {
  background: #ffffff;
  color: #1e293b;
  text-align: center;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.topbar a {
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 4px;
  color: #1f4eeb;
  opacity: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #020617; /* Gray 800 — matches footer */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
}

.nav {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
  transition: opacity 0.25s ease;
}

.brand:hover {
  opacity: 0.92;
}

.brand-mark {
  width: 150px;
  height: 44px;
  display: block;
  border-radius: 10px;
  background: #ffffff url("monthly-cards-logo.png") center / contain no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.brand:hover .brand-mark {
  transform: translateY(-1px);
}

.brand-mark::before {
  content: none;
}

.brand span:not(.brand-mark) {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.14); /* white tint on Brand 600 */
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 4px;
}

.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  border-radius: 999px;
  background: transparent;
  text-shadow: none;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.nav-links a::after {
  content: none;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  transform: none;
}

.nav-links a.active {
  color: #1f4eeb; /* Brand 600 text on white pill — inverted for blue strip */
  background: #ffffff;
}

.nav-cta {
  color: #1f4eeb; /* Brand 600 text on white button for blue strip */
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
  border: 1px solid #ffffff;
  padding: 12px 20px; /* space/3 + space/5 */
  border-radius: 10px; /* radius/medium */
  font-family: "Montserrat", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.nav-cta:hover {
  background: #eff4ff; /* Brand 50 */
  border-color: #ffffff;
  color: #1840c4; /* Brand 700 */
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.2);
}

.nav-cta:active {
  transform: translateY(0);
  box-shadow: none;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: none;
}

.nav.open .mobile-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.open .mobile-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.open .mobile-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .brand,
  .brand-mark,
  .nav-links a,
  .nav-links a::after,
  .nav-cta,
  .mobile-toggle {
    transition: none;
  }

  .brand:hover .brand-mark,
  .nav-links a:hover,
  .nav-cta:hover,
  .mobile-toggle:hover {
    transform: none;
  }
}

.hero {
  color: var(--white);
  background:
    radial-gradient(circle at 84% 22%, rgba(32, 199, 181, 0.22), transparent 28%),
    radial-gradient(circle at 22% 12%, rgba(139, 92, 246, 0.34), transparent 34%),
    linear-gradient(180deg, var(--night), #080c22 56%, #0b122c);
  padding: 92px 0 76px;
  overflow: hidden;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dfe8ff;
  background: rgba(139, 92, 246, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 18px rgba(139, 92, 246, 0.28);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h1 {
  margin-top: 22px;
  font-size: clamp(2.45rem, 5.6vw, 5rem);
  max-width: 850px;
}

.eyebrow + h1 {
  margin-top: 8px;
}

.hero:not(.home-hero) h1 span,
.gradient-text {
  display: inline;
  background: linear-gradient(90deg, #ffffff, #dbe8ff 40%, #99f6e4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.13rem;
  max-width: 650px;
  margin: 24px 0 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* space/2 */
  min-height: 48px;
  padding: 12px 24px; /* space/3 + space/6 */
  border-radius: 10px; /* radius/medium */
  font-family: "Montserrat", sans-serif;
  font-size: 1rem; /* 16px body medium */
  font-weight: 600; /* design system UI weight */
  line-height: 1.5;
  letter-spacing: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #ffffff;
  background: #1f4eeb; /* Brand 600 — primary interactive */
  box-shadow: none;
}

.button.primary:hover {
  background: #1840c4; /* Brand 700 — primary hover */
}

.button.secondary {
  color: #ffffff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.button.light {
  color: #1b3380;
  background: #ffffff;
  box-shadow: none;
  border: 1px solid #cbd5e1;
}

.button.ghost {
  color: #1f4eeb;
  background: #eff4ff; /* Brand 50 */
  border: 1px solid #bfd2fe;
}

.trust-line {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.dashboard-card {
  position: relative;
  padding: 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.dashboard {
  border-radius: 22px;
  overflow: hidden;
  background: #11152e;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dash-top {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.dash-pill {
  width: 94px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.dash-body {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  min-height: 330px;
}

.dash-side {
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.dash-side span,
.dash-panel span {
  display: block;
  height: 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.dash-panel {
  padding: 18px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.metric-mini {
  border-radius: 15px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-mini strong {
  color: var(--white);
  display: block;
  font-size: 1.25rem;
}

.chart {
  height: 160px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(75, 141, 255, 0.3), rgba(32, 199, 181, 0.04)),
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(255, 255, 255, 0.06) 36px 37px);
  position: relative;
}

.chart::after {
  content: "";
  position: absolute;
  inset: 38px 18px 35px;
  border-radius: 50%;
  border-top: 4px solid var(--aqua);
  transform: skewX(-18deg);
}

.section {
  padding: 92px 0;
}

.section.soft {
  background: var(--gray);
}

.section.dark {
  color: var(--white);
  background: #020617; /* Gray 800 — neutral dark, reserves blue for actions */
}

.section.dark .kicker {
  color: #bfd2fe; /* Brand 200 — readable on Gray 800 */
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.section-head.center {
  display: block;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.kicker {
  color: var(--blue);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.section h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.5rem);
}

.section-lede {
  color: var(--slate);
  max-width: 640px;
  margin: 16px 0 0;
  font-size: 1.05rem;
}

.dark .section-lede {
  color: rgba(255, 255, 255, 0.72);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  border-radius: var(--radius);
  padding: 28px;
  background: #bfd2fe; /* Brand 200 — card surface */
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(7, 27, 51, 0.07);
}

.card.highlight {
  color: #ffffff;
  background: #1f4eeb; /* Brand 600 — recommended/highlighted item, flat schema colour */
  border-color: #1f4eeb;
  transform: translateY(-10px);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--blue);
  background: var(--sky);
  font-weight: 950;
  margin-bottom: 20px;
}

.card.highlight .icon,
.dark .icon {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

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

.card h3 {
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.card p,
.card li {
  color: var(--slate);
}

.card.highlight p,
.card.highlight li,
.dark .card p,
.dark .card li {
  color: rgba(255, 255, 255, 0.76);
}

.list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.list li {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.list li::before {
  content: "\2713"; /* check mark */
  color: var(--aqua);
  font-weight: 950;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.stat {
  padding: 28px;
  border-radius: 16px; /* radius/large */
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.stat strong {
  display: block;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price {
  font-size: 2.5rem;
  font-weight: 950;
  letter-spacing: -0.06em;
  margin: 18px 0 4px;
}

.price small {
  font-size: 0.92rem;
  color: inherit;
  opacity: 0.72;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--blue);
  background: var(--sky);
  font-size: 0.76rem;
  font-weight: 950;
  margin-bottom: 8px;
}

.badge + h3 {
  margin-top: 0;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(7, 27, 51, 0.06);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: #ffffff;
  background: #1f4eeb; /* Brand 600 — single table-header colour */
  font-weight: 700;
}

td {
  color: #1e293b; /* Gray 700 — primary body text, no faint gray */
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.faq-item h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.cta-band {
  border-radius: 24px;
  padding: clamp(32px, 6vw, 70px);
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgba(32, 199, 181, 0.35), transparent 24%),
    linear-gradient(135deg, #071b33, #0b5fff);
  box-shadow: var(--shadow);
}

.cta-band .section-lede {
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  color: rgba(255, 255, 255, 0.72);
  background: #020617; /* Gray 800 — restored */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 70px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 30px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.footer a {
  display: block;
  margin-top: 9px;
}

.footer-bottom {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.page-hero {
  padding: 74px 0 64px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

.features-hero {
  padding: 0 0 48px;
  background: #ffffff;
  overflow: hidden;
}

.features-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 0;
  width: min(calc(1280px + 3cm), calc(100% - 48px));
  max-width: calc(1280px + 3cm);
  margin: 0 auto;
  min-height: calc(100svh - var(--header-offset, 120px));
  box-sizing: border-box;
}

.features-hero-copy {
  padding: 64px 24px 48px 0;
}

.features-hero-copy .eyebrow {
  color: #1f4eeb;
}

.features-hero-copy h1 {
  color: #1e293b;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-top: 16px;
}

.features-hero-copy h1 span {
  display: inline;
  color: #608efa; /* Brand 400 — same as home "simplified." */
  -webkit-text-fill-color: #608efa;
  background: none;
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  border-radius: 0;
  padding: 0;
}

.features-hero-copy .hero-copy {
  color: #475569;
  margin-top: 20px;
  max-width: 34rem;
}

.features-hero-copy .actions {
  margin-top: 32px;
}

.features-hero-copy .button.primary {
  background: #1f4eeb; /* Brand 600 */
  color: #ffffff;
}

.features-hero-media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding: 24px 0;
}

.features-hero-media img {
  width: 100%;
  max-width: calc(820px + 3cm);
  height: auto;
  max-height: min(calc(680px + 3cm), calc(100svh - var(--header-offset, 120px) - 48px));
  object-fit: contain;
  object-position: right center;
  display: block;
  margin-left: auto;
}

@media (max-width: 900px) {
  .features-hero-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    width: min(1280px, calc(100% - 48px));
    gap: 8px;
  }

  .features-hero-copy {
    padding: 48px 0 24px;
    order: 2;
  }

  .features-hero-media {
    order: 1;
    justify-content: center;
    padding: 24px 0 0;
  }

  .features-hero-media img {
    max-width: min(100%, calc(640px + 3cm));
    max-height: calc(420px + 3cm);
    margin: 0 auto;
    object-position: center;
  }

  .features-hero-copy h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }
}

.pricing-hero {
  padding: 0 0 48px;
  background: #ffffff;
  overflow: hidden;
}

.pricing-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 24px;
  width: min(calc(1280px + 3cm), calc(100% - 48px));
  max-width: calc(1280px + 3cm);
  margin: 0 auto;
  min-height: calc(100svh - var(--header-offset, 120px));
  box-sizing: border-box;
}

.pricing-hero-copy {
  padding: 64px 24px 48px 0;
}

.pricing-hero-copy .eyebrow {
  color: #1f4eeb;
}

.pricing-hero-copy h1 {
  color: #1e293b;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-top: 16px;
}

.pricing-hero-copy h1 span {
  display: inline;
  color: #608efa; /* Brand 400 */
  -webkit-text-fill-color: #608efa;
  background: none;
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.pricing-hero-copy .hero-copy {
  color: #475569;
  margin-top: 20px;
  max-width: 34rem;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
}

.pricing-hero-sub {
  margin: 10px 0 0;
  color: #1e293b;
  font-size: 1.05rem;
  font-weight: 600;
}

.pricing-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.pricing-hero-chips li {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eff4ff; /* Brand 50 */
  border: 1px solid #bfd2fe; /* Brand 200 */
  color: #1a37a1;
  font-size: 0.8125rem;
  font-weight: 600;
}

.pricing-hero-copy .actions {
  margin-top: 32px;
}

.pricing-hero-copy .button.primary {
  background: #1f4eeb; /* Brand 600 */
  color: #ffffff;
}

.pricing-hero-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 24px 0;
  background: #ffffff;
}

.pricing-hero-media img {
  width: 100%;
  max-width: calc(520px + 2cm);
  height: auto;
  max-height: min(calc(680px + 3cm), calc(100svh - var(--header-offset, 120px) - 48px));
  object-fit: contain;
  display: block;
}

@media (max-width: 900px) {
  .pricing-hero-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    width: min(1280px, calc(100% - 48px));
  }

  .pricing-hero-copy {
    padding: 48px 0 24px;
    order: 2;
  }

  .pricing-hero-media {
    order: 1;
    padding: 24px 0 0;
  }

  .pricing-hero-media img {
    max-width: min(100%, 420px);
    max-height: calc(420px + 3cm);
    margin: 0 auto;
  }
}

.how-hero {
  background: #ffffff;
  color: #1e293b;
  padding: 0 0 48px;
  overflow: hidden;
}

.how-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 0;
  width: min(calc(1280px + 3cm), calc(100% - 48px));
  max-width: calc(1280px + 3cm);
  margin: 0 auto;
  min-height: calc(100svh - var(--header-offset, 120px));
  box-sizing: border-box;
}

.how-hero-copy {
  padding: 64px 24px 48px 0;
}

.how-hero .eyebrow {
  color: #1f4eeb;
  background: #eff4ff;
  border: 1px solid #bfd2fe;
  box-shadow: none;
}

.how-hero-copy h1 {
  color: #1e293b;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-top: 16px;
}

.how-hero-copy .hero-copy {
  color: #475569;
  margin-top: 20px;
  max-width: 34rem;
}

.how-hero-copy .actions {
  margin-top: 32px;
}

.how-hero .button.primary {
  background: #1f4eeb; /* Brand 600 */
  color: #ffffff;
}

.how-hero .button.secondary {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #1e293b;
}

.how-hero-copy h1 span {
  display: inline;
  color: #608efa;
  -webkit-text-fill-color: #608efa;
  background: none;
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.how-hero-media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding: 24px 0;
}

.how-hero-media img {
  width: 100%;
  max-width: calc(820px + 3cm);
  height: auto;
  max-height: min(calc(680px + 3cm), calc(100svh - var(--header-offset, 120px) - 48px));
  object-fit: contain;
  object-position: right center;
  display: block;
  margin-left: auto;
}

@media (max-width: 900px) {
  .how-hero-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    width: min(1280px, calc(100% - 48px));
  }

  .how-hero-copy {
    padding: 48px 0 24px;
    order: 2;
  }

  .how-hero-media {
    order: 1;
    justify-content: center;
    padding: 24px 0 0;
  }

  .how-hero-media img {
    max-width: min(100%, calc(640px + 3cm));
    max-height: calc(420px + 3cm);
    margin: 0 auto;
    object-position: center;
  }
}

.vendors-hero {
  background: #ffffff;
  color: #1e293b;
  padding: 0 0 48px;
  overflow: hidden;
}

.vendors-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 0;
  width: min(calc(1280px + 3cm), calc(100% - 48px));
  max-width: calc(1280px + 3cm);
  margin: 0 auto;
  min-height: calc(100svh - var(--header-offset, 120px));
  box-sizing: border-box;
}

.vendors-hero-copy {
  padding: 64px 24px 48px 0;
}

.vendors-hero .eyebrow {
  color: #1f4eeb;
  background: #eff4ff;
  border: 1px solid #bfd2fe;
  box-shadow: none;
}

.vendors-hero-copy h1 {
  color: #1e293b;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-top: 16px;
}

.vendors-hero-copy h1 span {
  display: inline;
  color: #608efa;
  -webkit-text-fill-color: #608efa;
  background: none;
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.vendors-hero-copy .hero-copy {
  color: #475569;
  margin-top: 20px;
  max-width: 34rem;
}

.vendors-hero-copy .actions {
  margin-top: 32px;
}

.vendors-hero .button.primary {
  background: #1f4eeb; /* Brand 600 */
  color: #ffffff;
}

.vendors-hero .button.secondary {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #1e293b;
}

.vendors-hero-media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding: 24px 0;
}

.vendors-hero-media img {
  width: 100%;
  max-width: calc(820px + 3cm);
  height: auto;
  max-height: min(calc(680px + 3cm), calc(100svh - var(--header-offset, 120px) - 48px));
  object-fit: contain;
  object-position: right center;
  display: block;
  margin-left: auto;
}

@media (max-width: 900px) {
  .vendors-hero-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    width: min(1280px, calc(100% - 48px));
  }

  .vendors-hero-copy {
    padding: 48px 0 24px;
    order: 2;
  }

  .vendors-hero-media {
    order: 1;
    justify-content: center;
    padding: 24px 0 0;
  }

  .vendors-hero-media img {
    max-width: min(100%, calc(640px + 3cm));
    max-height: calc(420px + 3cm);
    margin: 0 auto;
    object-position: center;
  }
}

.distributors-hero {
  background: #ffffff;
  color: #1e293b;
  padding: 0 0 48px;
  overflow: hidden;
}

.distributors-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 0;
  width: min(calc(1280px + 6cm), calc(100% - 48px));
  max-width: calc(1280px + 6cm);
  margin: 0 auto;
  min-height: calc(100svh - var(--header-offset, 120px));
  box-sizing: border-box;
}

.distributors-hero-copy {
  padding: 64px 24px 48px 0;
}

.distributors-hero .eyebrow {
  color: #1f4eeb;
  background: #eff4ff;
  border: 1px solid #bfd2fe;
  box-shadow: none;
}

.distributors-hero-copy h1 {
  color: #1e293b;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-top: 16px;
}

.distributors-hero-copy h1 span {
  display: inline;
  color: #608efa;
  -webkit-text-fill-color: #608efa;
  background: none;
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

.distributors-hero-copy .hero-copy {
  color: #475569;
  margin-top: 20px;
  max-width: 34rem;
}

.distributors-hero-copy .actions {
  margin-top: 32px;
}

.distributors-hero .button.primary {
  background: #1f4eeb; /* Brand 600 */
  color: #ffffff;
}

.distributors-hero .button.secondary {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #1e293b;
}

.distributors-hero-media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  padding: 24px 0;
  background: #ffffff;
}

.distributors-hero-media img {
  width: 100%;
  max-width: calc(920px + 5cm);
  height: auto;
  max-height: min(calc(760px + 4cm), calc(100svh - var(--header-offset, 120px) - 32px));
  object-fit: contain;
  object-position: right center;
  display: block;
  margin-left: auto;
}

@media (max-width: 900px) {
  .distributors-hero-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    width: min(1280px, calc(100% - 48px));
  }

  .distributors-hero-copy {
    padding: 48px 0 24px;
    order: 2;
  }

  .distributors-hero-media {
    order: 1;
    justify-content: center;
    padding: 24px 0 0;
  }

  .distributors-hero-media img {
    max-width: min(100%, calc(720px + 3cm));
    max-height: calc(480px + 3cm);
    margin: 0 auto;
    object-position: center;
  }
}

.how-workflow {
  background: #eff4ff; /* Brand 50 */
  padding: 64px 0;
}

.how-workflow-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  text-align: left;
}

.how-workflow-brand-copy h2 {
  margin: 0;
  color: #1e293b; /* Gray 700 — normal heading black */
  font-size: clamp(2.1rem, 4.6vw, 4.5rem); /* matches .section h2 like "A daily workflow for water delivery" */
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.how-workflow-brand-copy p {
  margin: 6px 0 0;
  color: #608efa;
  font-size: 1rem;
  font-weight: 600;
}

.how-workflow-drop {
  flex: 0 0 auto;
}

.how-workflow-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
}

.how-workflow-step {
  flex: 1 1 0;
  min-width: 0;
  max-width: 200px;
}

.how-workflow-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(26, 55, 161, 0.08);
  padding: 24px 16px 20px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.how-workflow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(26, 55, 161, 0.12);
}

.how-workflow-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eff4ff;
  color: #1a37a1;
}

.how-workflow-card p {
  margin: 0;
  color: #1e293b;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}

.how-workflow-connector {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  line-height: 0;
  color: #608efa;
}

@media (max-width: 900px) {
  .how-workflow-track {
    flex-direction: column;
    gap: 12px;
  }

  .how-workflow-step {
    max-width: 280px;
    width: 100%;
  }

  .how-workflow-connector {
    transform: rotate(90deg);
  }
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  color: var(--navy);
  background: var(--white);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

@media (max-width: 1040px) {
  .hero-grid,
  .grid.two,
  .grid.three,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 820px) {
  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: inline-flex;
    padding: 10px 14px;
    font-size: 0.85rem;
    margin-left: auto;
    order: 2;
    flex: 0 0 auto;
  }

  .mobile-toggle {
    flex: 0 0 auto;
    order: 3;
    margin-left: 0;
  }

  .brand-mark {
    width: 120px;
    height: 36px;
  }

  .nav {
    gap: 10px;
  }

  .nav.open {
    align-items: center;
  }

  .nav.open .nav-links {
    display: grid;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    padding: 12px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    gap: 4px;
    z-index: 60;
  }

  .nav.open .nav-links a {
    color: #334155;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .nav.open .nav-links a:hover {
    color: #1f4eeb;
    background: #eff4ff;
  }

  .nav.open .nav-links a.active {
    color: #ffffff;
    background: #1f4eeb;
  }

  .nav.open .nav-cta {
    display: inline-flex;
  }

  .hero-grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .pricing-grid,
  .footer-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    display: block;
  }

  .dashboard-card {
    padding: 12px;
  }

  .dash-body {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: block;
  }
}

.home {
  --home-blue-50: #eff6ff;
  --home-blue-100: #dbeafe;
  --home-blue-200: #bfdbfe;
  --home-blue-300: #93c5fd;
  --home-blue-400: #60a5fa;
  --home-blue-500: #3b88f8;
  --home-blue-600: #1f4feb;
  --home-blue-700: #1b40c4;
  --home-blue-800: #1a37a1;
  --home-blue-900: #183380;
  --home-aqua-500: #039855;
  --home-warning-300: #ffb059;
  --home-gray-50: #f8fafc;
  --home-gray-100: #f1f5f9;
  --home-gray-200: #e2e8f0;
  --home-gray-300: #cbd5e1;
  --home-gray-400: #94a3b8;
  --home-gray-500: #64748b;
  --home-gray-600: #475569;
  --home-gray-700: #334155;
  --home-gray-800: #1e293b;
  --home-gray-900: #0f172a;
  --home-font: "Montserrat", ui-sans-serif, system-ui, sans-serif;
}

.home {
  background: var(--home-gray-50);
  color: var(--home-gray-800);
  font-family: var(--home-font);
}

.home a {
  -webkit-tap-highlight-color: transparent;
}

.home .topbar {
  background: #ffffff;
  color: #1e293b;
  box-shadow: none;
  font-size: 0.82rem;
  padding: 8px 20px;
}

.home .topbar a {
  margin-left: 4px;
  opacity: 1;
  color: var(--nav-accent);
}

.home .site-header {
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(27, 51, 128, 0.28);
}

.home .site-header {
  background: #020617; /* Gray 800 — matches footer */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
}

.home .brand {
  color: #ffffff;
  font-size: 1.25rem;
}

.home .brand-mark {
  background-color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

.home .nav-links {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.home .nav-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
}

.home .nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.home .nav-links a.active {
  color: #1f4eeb;
  background: #ffffff;
}

.home .nav-cta {
  background: #ffffff;
  color: #1f4eeb;
  border: 1px solid #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 10px;
}

.home .nav-cta:hover {
  background: #eff4ff;
  border-color: #ffffff;
  color: #1840c4;
}

.home .mobile-toggle {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.home .hero,
.home .home-hero {
  background: #ffffff;
  overflow: hidden;
  padding: 0 0 48px; /* space/12 below stats */
  position: relative;
  color: var(--home-gray-800);
}

.home .hero::before {
  content: none;
}

.home-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  /* Slightly wider than content container so +3cm image still fits */
  min-height: calc(100svh - var(--header-offset));
  width: min(calc(1280px + 3cm), calc(100% - 48px));
  max-width: calc(1280px + 3cm);
  margin: 0 auto;
  box-sizing: border-box;
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 80px 32px 72px 0; /* space/20, space/8 */
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 70%, rgba(255, 255, 255, 0.88) 86%, rgba(255, 255, 255, 0) 100%);
  position: relative;
  z-index: 2;
}

.home-hero-eyebrow {
  display: inline-block;
  width: fit-content;
  color: var(--nav-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px; /* space/2 */
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.home .home-hero h1 {
  color: #1e293b; /* Gray 700 */
  font-size: clamp(2.4rem, 4.8vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-top: 24px; /* space/6 */
  max-width: 560px;
}

.home .home-hero h1 .home-hero-accent {
  display: inline;
  color: #608efa; /* Brand 400 — matches all other hero sections */
  -webkit-text-fill-color: #608efa;
  background: none;
  background-image: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  border-radius: 0;
  padding: 0;
}

.home .home-hero .hero-copy {
  color: #475569;
  font-size: 1.125rem; /* body large 18px */
  font-weight: 500;
  line-height: 1.7;
  margin-top: 28px;
  max-width: 480px;
}

.home .home-hero .actions {
  margin-top: 40px; /* space/10 */
  gap: 16px; /* space/4 */
  flex-wrap: wrap;
}

.home .home-hero .button.primary {
  background: #1f4eeb; /* Brand 600 — design system primary */
  box-shadow: none;
  border-radius: 10px; /* radius/medium */
  color: #ffffff;
  font-weight: 600;
}

.home .home-hero .button.primary:hover {
  background: #1840c4; /* Brand 700 */
  box-shadow: none;
}

.home .home-hero .home-button-outline {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  border-radius: 10px; /* radius/medium */
  font-weight: 600;
}

.home .home-hero .home-button-outline:hover {
  border-color: var(--nav-accent);
  color: var(--nav-accent);
}

.home-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px; /* space/4, space/8 */
  list-style: none;
  margin: 32px 0 0; /* space/8 */
  padding: 0;
}

.home-hero-trust li {
  position: relative;
  padding-left: 22px;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}

.home-hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23039855' d='M6.5 11.2 3.2 7.9l1.1-1.1 2.2 2.2 4.7-4.7 1.1 1.1z'/%3E%3C/svg%3E")
    center / contain no-repeat,
    #e8f8ef;
}

.home-hero-media {
  position: relative;
  min-width: 0;
  overflow: visible;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #ffffff;
  padding: 24px 0; /* space/6 */
  box-sizing: border-box;
}

.home-hero-media::before {
  content: none; /* avoid covering/cutting the dashboard UI */
}

.home-hero-media img {
  width: 100%;
  max-width: calc(820px + 3cm);
  height: auto;
  max-height: min(calc(680px + 3cm), calc(100svh - var(--header-offset) - 48px));
  object-fit: contain;
  object-position: right center;
  display: block;
  margin-left: auto;
}

.home-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1280px, calc(100% - 48px));
  margin: 48px auto 0;
  border: 1px solid #cbd5e1;
  border-radius: 16px; /* radius/large */
  background: #eff4ff; /* Brand 50 */
  overflow: hidden;
  box-shadow: none;
}

.home-hero-stat {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid #cbd5e1;
  transition: background-color 0.2s ease;
}

.home-hero-stat:hover {
  background: rgba(191, 210, 254, 0.45); /* Brand 200 tint */
}

.home-hero-stat:last-child {
  border-right: 0;
}

.home-hero-stat strong {
  display: block;
  color: #1a37a1;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.home-hero-stat span {
  display: block;
  margin-top: 10px;
  color: #475569; /* Gray 600 */
  font-family: "Montserrat", sans-serif;
  font-size: 0.9375rem; /* 15px */
  font-weight: 500;
  line-height: 1.45;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .home-hero-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    width: min(1280px, calc(100% - 48px));
  }

  .home-hero-copy {
    padding: 56px 0 40px; /* space/12-ish on mobile */
  }

  .home .home-hero h1 {
    margin-top: 20px; /* space/5 */
  }

  .home .home-hero .hero-copy {
    margin-top: 24px; /* space/6 */
  }

  .home .home-hero .actions {
    margin-top: 32px; /* space/8 */
  }

  .home-hero-trust {
    margin-top: 28px;
  }

  .home-hero-media {
    min-height: 0;
    order: -1;
    width: 100%;
    padding: 16px 0 0;
    justify-content: center;
    overflow: visible;
  }

  .home-hero-media::before {
    content: none;
  }

  .home-hero-media img {
    object-fit: contain;
    object-position: center center;
    max-width: min(100%, calc(640px + 3cm));
    max-height: calc(420px + 3cm);
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero-stats {
    grid-template-columns: 1fr;
    width: calc(100% - 48px);
    margin-top: 40px; /* space/10 */
  }

  .home-hero-stat {
    border-right: 0;
    border-bottom: 1px solid #cbd5e1;
    text-align: center;
    padding: 24px;
  }

  .home-hero-stat:last-child {
    border-bottom: 0;
  }
}

.home .hero-grid {
  gap: 66px;
  position: relative;
  z-index: 1;
}

.home .eyebrow {
  background: rgba(255, 255, 255, 0.84);
  border-color: var(--home-blue-100);
  box-shadow: 0 10px 30px rgba(31, 79, 235, 0.09);
  color: var(--home-blue-700);
  font-size: 0.76rem;
}

.home .eyebrow-dot {
  background: var(--home-blue-500);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(59, 107, 246, 0.12);
  display: inline-block;
  height: 7px;
  width: 7px;
}

.home h1 {
  color: var(--home-gray-900);
  font-size: clamp(2.6rem, 5.2vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-top: 20px;
  max-width: 720px;
}

.home .hero-copy {
  color: var(--home-gray-600);
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 20px;
  max-width: 560px;
}

.home .button {
  font-size: 1rem;
  font-weight: 600;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
}

.home .button.primary {
  background: #1f4eeb; /* Brand 600 */
  box-shadow: none;
}

.home .button.primary:hover {
  background: #1840c4; /* Brand 700 */
  box-shadow: none;
}

.home-dashboard-shell {
  background: #ffffff;
  border: 1px solid var(--home-gray-200);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  transform: none;
  position: relative;
}

.home .actions {
  margin-top: 32px;
}

.home-button-outline {
  background: #ffffff;
  border: 1px solid var(--home-gray-200);
  color: var(--home-gray-800);
}

.home-button-outline:hover {
  border-color: var(--home-blue-200);
  color: var(--home-blue-700);
}

.home .trust-line {
  color: var(--home-gray-500);
  font-size: 0.9rem;
  margin-top: 20px;
}

.home-dashboard-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  position: relative;
}

.home-visual-glow {
  display: none;
}

.home-dashboard-top {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--home-gray-100);
  display: flex;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 22px;
}

.home-dashboard-title {
  align-items: center;
  color: var(--home-gray-900);
  display: flex;
  font-size: 0.92rem;
  font-weight: 900;
  gap: 10px;
}

.home-dashboard-logo {
  background: linear-gradient(135deg, var(--home-blue-500), var(--home-blue-600));
  border-radius: 9px;
  box-shadow: 0 7px 16px rgba(31, 79, 235, 0.22);
  display: inline-block;
  height: 24px;
  width: 24px;
}

.home-dashboard-date {
  background: var(--home-blue-50);
  border-radius: 999px;
  color: var(--home-blue-700);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 7px 11px;
}

.home-dashboard-content {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  min-height: 360px;
}

.home-dashboard-side {
  background: #f8fafc;
  border-right: 1px solid var(--home-gray-100);
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 12px;
}

.home-nav-item {
  align-items: center;
  border-radius: 11px;
  color: var(--home-gray-500);
  display: flex;
  font-size: 0.74rem;
  font-weight: 800;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
}

.home-nav-item i {
  background: var(--home-gray-300);
  border-radius: 5px;
  display: inline-block;
  height: 7px;
  width: 7px;
}

.home-nav-item.is-active {
  background: var(--home-blue-50);
  color: var(--home-blue-700);
}

.home-nav-item.is-active i {
  background: var(--home-blue-500);
}

.home-dashboard-panel {
  background: #ffffff;
  padding: 20px;
}

.home-dashboard-heading {
  align-items: start;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.home-dashboard-heading div {
  display: grid;
  gap: 2px;
}

.home-panel-label {
  color: var(--home-gray-400);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-dashboard-heading strong {
  color: var(--home-gray-800);
  font-size: 1rem;
  letter-spacing: -0.025em;
}

.home-live-pill {
  background: #e8f8ef;
  border-radius: 999px;
  color: var(--home-aqua-500);
  font-size: 0.66rem;
  font-weight: 950;
  padding: 6px 9px;
}

.home-metric-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 12px;
}

.home-metric {
  align-items: center;
  background: #fbfdff;
  border: 1px solid var(--home-gray-100);
  display: flex;
  gap: 10px;
  min-width: 0;
  padding: 12px;
}

.home-metric-icon {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.home-metric-icon-blue {
  background: var(--home-blue-50);
  color: var(--home-blue-600);
}

.home-metric-icon-aqua {
  background: #e8f8ef;
  color: var(--home-aqua-500);
}

.home-metric-icon-navy {
  background: #eef2ff;
  color: var(--home-blue-800);
}

.home-metric div {
  display: grid;
  min-width: 0;
}

.home-metric strong {
  color: var(--home-gray-900);
  font-size: 1rem;
  line-height: 1.15;
  white-space: nowrap;
}

.home-metric small {
  color: var(--home-gray-500);
  font-size: 0.66rem;
  margin-top: 3px;
  white-space: nowrap;
}

.home-chart-card {
  background: linear-gradient(145deg, #fbfdff, #f7faff);
  border: 1px solid var(--home-gray-100);
  border-radius: 17px;
  padding: 14px;
}

.home-chart-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.home-chart-heading span {
  color: var(--home-gray-600);
  font-size: 0.75rem;
  font-weight: 800;
}

.home-chart-heading strong {
  color: var(--home-aqua-500);
  font-size: 0.75rem;
}

.home-chart {
  align-items: end;
  background:
    repeating-linear-gradient(180deg, transparent 0, transparent 23px, var(--home-gray-200) 24px),
    linear-gradient(180deg, rgba(59, 107, 246, 0.06), rgba(255, 255, 255, 0));
  border-bottom: 1px solid var(--home-gray-200);
  display: flex;
  gap: 9px;
  height: 104px;
  padding: 8px 4px 0;
}

.home-chart span {
  background: linear-gradient(180deg, var(--home-blue-400), var(--home-blue-600));
  border-radius: 6px 6px 3px 3px;
  box-shadow: 0 5px 12px rgba(31, 79, 235, 0.16);
  display: block;
  flex: 1;
  height: var(--bar-height);
  min-height: 18px;
}

.home-chart span:nth-child(even) {
  background: linear-gradient(180deg, #62d8c5, #20b9a6);
  box-shadow: 0 5px 12px rgba(3, 152, 85, 0.12);
}

.home-chart-days {
  color: var(--home-gray-400);
  display: flex;
  font-size: 0.58rem;
  font-weight: 800;
  justify-content: space-between;
  padding: 7px 3px 0;
}

.home-delivery-row {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--home-gray-100);
  border-radius: 14px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-top: 12px;
  padding: 11px;
}

.home-delivery-avatar {
  align-items: center;
  background: var(--home-blue-50);
  border-radius: 10px;
  color: var(--home-blue-700);
  display: inline-flex;
  font-size: 0.62rem;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.home-delivery-row span:nth-child(2) {
  display: grid;
  min-width: 0;
}

.home-delivery-row strong {
  color: var(--home-gray-800);
  font-size: 0.76rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-delivery-row small {
  color: var(--home-gray-500);
  font-size: 0.64rem;
  margin-top: 2px;
}

.home-delivery-status {
  background: #e8f8ef;
  border-radius: 999px;
  color: var(--home-aqua-500);
  font-size: 0.62rem;
  padding: 6px 8px;
}

.home-float-card {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 17px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  display: flex;
  gap: 10px;
  padding: 12px 15px;
  position: absolute;
}

.home-float-card strong,
.home-float-card small {
  display: block;
}

.home-float-card strong {
  color: var(--home-gray-900);
  font-size: 0.82rem;
}

.home-float-card small {
  color: var(--home-gray-500);
  font-size: 0.66rem;
  margin-top: 1px;
}

.home-float-icon {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 950;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.home-float-card-one {
  bottom: 42px;
  left: -42px;
}

.home-float-card-one .home-float-icon {
  background: #e8f8ef;
  color: var(--home-aqua-500);
}

.home-float-card-two {
  right: -34px;
  top: 74px;
}

.home-float-card-two .home-float-icon {
  background: var(--home-blue-50);
  color: var(--home-blue-600);
}

.home .section {
  padding: 80px 0; /* section rhythm */
}

.home .section-head {
  margin-bottom: 48px; /* space/12 */
}

.home-section-head {
  max-width: 860px;
}

.home .section h2 {
  color: #1e293b; /* Gray 700 */
  font-size: clamp(1.75rem, 3vw, 2.25rem); /* ~Display Medium scaled */
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.home .home-features .kicker {
  display: inline-flex;
  align-items: center;
  color: #1f4eeb; /* Brand 600 */
  background: #eff4ff; /* Brand 50 */
  border: 1px solid #bfd2fe; /* Brand 200 */
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8125rem; /* 13px */
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px; /* space/4 */
}

.home .home-features .section-lede {
  color: #475569; /* Gray 500 */
  font-size: 1rem; /* 16px body medium */
  line-height: 1.5;
  margin-top: 16px; /* space/4 */
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.home-feature-grid {
  gap: 24px; /* space/6 */
  align-items: stretch;
}

.home-feature-card {
  background: #bfd2fe; /* Brand 200 — card surface */
  border: 1px solid #cbd5e1; /* Gray 200 */
  border-radius: 16px; /* radius/large */
  padding: 24px; /* card padding */
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 12px; /* tighter stack for icon → title → text */
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-feature-card:hover,
.home-feature-card:focus-within {
  border-color: #1f4eeb; /* Brand 600 */
  box-shadow: 0 12px 28px rgba(31, 78, 235, 0.1);
  transform: translateY(-4px);
}

.home-feature-card .icon {
  width: 44px;
  height: 44px;
  margin: 0 0 4px;
  border-radius: 10px; /* radius/medium */
  background: #eff4ff; /* Brand 50 */
  border: 1px solid #bfd2fe; /* Brand 200 */
  color: #1f4eeb; /* Brand 600 */
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home-feature-card h3 {
  margin: 0;
  color: #1e293b; /* Gray 700 */
  font-size: 1.25rem; /* 20px H3 */
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.home-feature-card p {
  margin: 4px 0 0;
  color: #475569; /* Gray 500 — readable body on white */
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.65;
}

.home-feature-card .list {
  margin: 0;
  color: #475569;
}

.home-feature-card .list li {
  color: #475569;
}

.home .section.dark h2 {
  color: #ffffff;
}

.home .section-lede {
  color: var(--home-gray-600);
  font-size: 1.04rem;
}

.home-kicker {
  color: var(--home-blue-600);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}

.home-kicker-light {
  color: #9cc9ff;
}

.home-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(226, 232, 240, 0.82);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.055);
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-card::after {
  background: linear-gradient(135deg, var(--home-blue-500), var(--home-blue-300));
  border-radius: 999px;
  bottom: 28px;
  content: "";
  height: 3px;
  opacity: 0;
  position: absolute;
  right: 28px;
  transform: scaleX(0.35);
  transform-origin: right;
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 34px;
}

.home-card:hover {
  border-color: var(--home-blue-200);
  box-shadow: 0 24px 56px rgba(31, 79, 235, 0.1);
  transform: translateY(-4px);
}

.home-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.home-icon {
  background: linear-gradient(135deg, var(--home-blue-50), #e8f8ef);
  border: 1px solid var(--home-blue-100);
  color: var(--home-blue-600);
  margin-bottom: 24px;
}

.home-card h3 {
  color: var(--home-gray-900);
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.home-card p {
  color: var(--home-gray-600);
}

.home .section.dark {
  background: #020617; /* Gray 800 — neutral dark, reserves blue for actions */
}

.home .section.dark .kicker {
  color: #bfd2fe; /* Brand 200 — readable on Gray 800 */
}

.home-workflow-head {
  align-items: end;
}

.home-workflow-head h2 {
  color: #ffffff;
}

.home .dark .section-lede {
  color: rgba(226, 232, 240, 0.74);
}

.home-stats {
  gap: 14px;
  margin-top: 42px;
}

.home-stat {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(226, 232, 240, 0.12);
  position: relative;
}

.home-stat::after {
  background: linear-gradient(90deg, var(--home-blue-500), transparent);
  bottom: 0;
  content: "";
  height: 3px;
  left: 28px;
  position: absolute;
  width: 34px;
}

.home-stat strong {
  background: linear-gradient(135deg, #9cc9ff, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 2.65rem;
}

.home-stat span {
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.94rem;
}

.home-table-wrap {
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.home table th {
  background: #1f4eeb; /* Brand 600 — single table-header colour */
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home table th:first-child {
  color: #ffffff;
}

.home table td {
  color: #1e293b; /* Gray 700 — primary body text, no faint gray */
  font-weight: 600;
}

.home table td:first-child {
  color: #1e293b;
  font-weight: 700;
}

.home table td:last-child {
  color: #1e293b;
  font-weight: 700;
}

.home .section.soft {
  background: #ffffff;
}

.home-pricing-grid {
  align-items: stretch;
  gap: 18px;
}

.pricing-grid .card {
  background: #bfd2fe; /* Brand 200 — card surface */
  border: 1px solid #cbd5e1; /* Gray 200 */
  border-radius: 16px;
  box-shadow: none;
  color: #1e293b;
}

.pricing-grid .card h3 {
  color: #1e293b; /* Gray 700 */
}

.pricing-grid .card .price {
  max-width: 100%;
  margin: 18px 0 4px;
  color: #1e293b; /* Gray 700 */
  font-family: "Montserrat", sans-serif;
  font-weight: 800; /* PRICE MEDIUM per system */
  font-style: normal;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: 0;
  opacity: 1;
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}

.pricing-grid .card .price small {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 40px;
  letter-spacing: 0;
  opacity: 0.72;
  margin-left: 6px;
}

.pricing-grid .card > p,
.pricing-grid .card .list li {
  color: #475569; /* Gray 600 */
}

.pricing-grid .card .badge {
  background: #eff4ff; /* Brand 50 */
  color: #1f4eeb; /* Brand 600 */
}

.pricing-grid .card.highlight {
  background: #1f4eeb; /* Brand 600 - recommended, passes white-text contrast */
  border-color: #1f4eeb;
  color: #ffffff;
  box-shadow: none;
  transform: translateY(-10px);
}

.pricing-grid .card.highlight h3,
.pricing-grid .card.highlight .price {
  color: #ffffff;
}

.pricing-grid .card.highlight > p,
.pricing-grid .card.highlight .list li {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-grid .card.highlight .badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.pricing-grid .card.highlight .button.light {
  background: #ffffff;
  color: #1b3380;
}

.home-price-card {
  background: #bfd2fe; /* Brand 200 — card surface */
  border-color: var(--home-gray-200);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  position: relative;
}

.home-price-card::before {
  background: linear-gradient(135deg, var(--home-blue-500), var(--home-blue-300));
  border-radius: 999px;
  content: "";
  height: 4px;
  left: 28px;
  position: absolute;
  right: 28px;
  top: 0;
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.home-price-card:hover::before {
  transform: scaleX(1);
}

.home-price-card-featured {
  background: linear-gradient(155deg, #101b3f, #07111f);
  border-color: #26345e;
  box-shadow: 0 30px 68px rgba(15, 23, 42, 0.2);
  transform: translateY(-10px);
}

.home-price-card-featured::before {
  background: linear-gradient(90deg, #20c7b5, #608efa);
  transform: scaleX(1);
}

.home-price-card h3 {
  color: var(--home-gray-900);
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.home-price-card-featured h3 {
  color: #ffffff;
}

.home-price-card .price {
  color: var(--home-gray-900);
}

.home-price-card-featured .price {
  color: #ffffff;
}

.home-price-card > p,
.home-price-card .list li {
  color: var(--home-gray-600);
}

.home-price-card-featured > p,
.home-price-card-featured .list li {
  color: rgba(226, 232, 240, 0.78);
}

.home-badge {
  align-self: flex-start;
  background: var(--home-blue-50);
  color: var(--home-blue-700);
}

.home-badge-light {
  align-self: flex-start;
  background: rgba(32, 199, 181, 0.16);
  color: #7ee8d8;
}

.home-price-card .actions {
  margin-top: auto;
  padding-top: 16px;
}

.home-faq-container {
  max-width: 920px;
}

.home-faq-item {
  background: #ffffff;
  border: 1px solid var(--home-gray-200);
  border-left: 4px solid var(--home-blue-200);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
  margin-bottom: 14px;
  padding: 24px 26px;
}

.home-faq-item h3 {
  color: var(--home-gray-900);
  font-size: 1.22rem;
  letter-spacing: -0.025em;
}

.home-faq-item p {
  color: var(--home-gray-600);
}

.home .cta-band,
.home-cta-band {
  background: #1f4eeb; /* Brand 600 — flat, passes white-text contrast */
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.home .cta-band::after,
.home-cta-band::after {
  display: none;
}

.home .cta-band .kicker {
  color: rgba(255, 255, 255, 0.88);
}

.home .cta-band h2,
.home-cta-band h2 {
  color: #ffffff;
}

.home .cta-band .section-lede,
.home-cta-band .section-lede {
  color: rgba(255, 255, 255, 0.88);
}

.home .cta-band .button.light {
  background: #ffffff;
  color: #1b3380;
  box-shadow: 0 14px 34px rgba(27, 51, 128, 0.16);
}

.home .cta-band .button.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.home .footer {
  background: #020617; /* Gray 800 — restored */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home .footer-grid {
  gap: 42px;
}

.home .footer a {
  color: rgba(226, 232, 240, 0.68);
}

.home .footer a:hover {
  color: #ffffff;
}

.home .footer-bottom {
  color: rgba(148, 163, 184, 0.72);
}

.home .nav.open .nav-links {
  background: rgba(255, 255, 255, 0.98);
}

.home .nav.open .nav-links a {
  color: var(--home-gray-700);
}

@media (max-width: 1040px) {
  .home-float-card-one {
    left: -12px;
  }

  .home-float-card-two {
    right: -10px;
  }
}

@media (max-width: 820px) {
  .home .home-hero {
    padding: 0;
  }

  .home .section {
    padding: 72px 0;
  }

  .home-float-card-one {
    bottom: -18px;
    left: 8px;
  }

  .home-float-card-two {
    right: 8px;
    top: -20px;
  }

  .home-price-card-featured {
    transform: none;
  }
}

@media (max-width: 560px) {
  .home .topbar {
    font-size: 0.72rem;
  }

  .brand-mark {
    width: 108px;
    height: 34px;
  }

  .nav-cta {
    padding: 9px 12px;
    font-size: 0.8rem;
  }

  .nav {
    gap: 8px;
  }

  .home .nav {
    min-height: 70px;
  }

  .home .home-hero {
    padding: 0;
  }

  .home-dashboard-content {
    grid-template-columns: 1fr;
  }

  .home-dashboard-side {
    border-bottom: 1px solid var(--home-gray-100);
    border-right: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 10px;
  }

  .home-nav-item {
    justify-content: center;
    padding: 0 6px;
  }

  .home-nav-item {
    font-size: 0;
  }

  .home-nav-item i {
    height: 8px;
    width: 8px;
  }

  .home-metric-grid {
    gap: 7px;
  }

  .home-metric {
    align-items: center;
    gap: 7px;
    padding: 9px;
  }

  .home-metric-icon {
    height: 29px;
    width: 29px;
  }

  .home-metric strong {
    font-size: 0.84rem;
  }

  .home-metric small {
    font-size: 0.58rem;
  }

  .home-chart {
    gap: 5px;
    height: 88px;
  }

  .home-chart-days {
    font-size: 0.5rem;
  }

  .home-float-card {
    padding: 9px 11px;
  }

  .home-float-card strong {
    font-size: 0.7rem;
  }

  .home-float-card small {
    font-size: 0.56rem;
  }

  .home .actions .button {
    flex: 1 1 100%;
  }

  .home-stats {
    gap: 12px;
  }

  .home-stat {
    padding: 22px;
  }
}
