:root {
  --blue-950: #172554;
  --blue-900: #1e3a8a;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-400: #4ade80;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --header-offset: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--white);
  color: var(--slate-900);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.mobile-menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a.button {
  font: inherit;
}

.section-anchor {
  scroll-margin-top: var(--header-offset);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.site-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-logo {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-copy {
  min-width: 0;
}

.brand-title {
  margin: 0;
  color: var(--green-600);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-subtitle {
  margin: 0.2rem 0 0;
  color: var(--slate-500);
  font-size: 0.75rem;
  line-height: 1.25;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--slate-200);
  border-radius: 0.9rem;
  background: var(--white);
  color: var(--blue-950);
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before {
  top: -0.42rem;
}

.menu-toggle-lines::after {
  top: 0.42rem;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  transform: translateY(0.42rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  transform: translateY(-0.42rem) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 1rem;
  right: 1rem;
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-nav a {
  display: block;
  padding: 0.8rem 0.95rem;
  color: var(--slate-900);
  text-decoration: none;
  border-radius: 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 180ms ease, background-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--green-600);
  background: var(--slate-50);
}

.container {
  width: min(100% - 2rem, 1280px);
  margin: 0 auto;
}

.container-narrow {
  width: min(100% - 2rem, 1024px);
  margin: 0 auto;
}

.hero {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-900), var(--green-700));
  color: var(--white);
  padding: 3.5rem 0;
}

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

.eyebrow {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.85rem;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}

.hero-title {
  margin: 0 0 1.5rem;
  font-size: clamp(2.35rem, 10vw, 3.75rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero-copy {
  margin: 0 0 2rem;
  color: var(--slate-200);
  font-size: clamp(1rem, 4.2vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
  text-align: center;
  white-space: normal;
}

.button:hover {
  transform: translateY(-1px) scale(1.02);
}

.button-primary {
  background: var(--white);
  color: var(--blue-950);
  box-shadow: 0 15px 30px rgba(2, 6, 23, 0.2);
  font-weight: 700;
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.button-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.button-green {
  background: var(--green-500);
  color: var(--blue-950);
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.25);
  font-weight: 800;
}

.button-green:hover {
  background: var(--green-400);
}

.hero-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: var(--white);
  color: var(--slate-900);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: 0 25px 55px rgba(2, 6, 23, 0.25);
}

.hero-card-header {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-card h3 {
  margin: 0;
  color: var(--blue-950);
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-card p {
  margin: 0.25rem 0 0;
  color: var(--slate-500);
}

.status-pill {
  width: fit-content;
  max-width: 100%;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}

.forecast-desktop {
  display: none;
}

.forecast-mobile {
  display: grid;
  gap: 0.8rem;
}

.forecast-month {
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 0.95rem;
}

.forecast-month-title {
  color: var(--blue-950);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.forecast-row-mobile {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  color: var(--slate-600);
  font-size: 0.92rem;
  border-top: 1px solid var(--slate-200);
}

.forecast-value {
  font-weight: 800;
  color: var(--blue-950);
  text-align: right;
}

.positive {
  color: var(--green-600);
}

.negative {
  color: #ef4444;
}

.section {
  padding: 3.75rem 0;
}

.section-light {
  background: var(--slate-50);
}

.section-white {
  background: var(--white);
}

.section-dark {
  background: var(--blue-950);
  color: var(--white);
}

.section-heading {
  max-width: 768px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-heading h2,
.about-copy h2,
.contact h2 {
  margin: 0 0 1rem;
  color: var(--blue-950);
  font-size: clamp(2rem, 7vw, 2.5rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section-heading p,
.about-copy p,
.contact p {
  margin: 0;
  color: var(--slate-600);
  font-size: 1.05rem;
  line-height: 1.7;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  min-width: 0;
  background: var(--white);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--blue-900), var(--green-600));
}

.service-card h3 {
  margin: 0 0 1rem;
  color: var(--blue-950);
  font-size: 1.35rem;
  line-height: 1.22;
}

.service-card p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.7;
}

.industries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.industry-card {
  min-width: 0;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.industry-card:hover {
  border-color: var(--green-500);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.09);
}

.industry-card p {
  margin: 0;
  color: var(--blue-950);
  font-weight: 700;
  overflow-wrap: anywhere;
}

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

.about-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--slate-700);
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: var(--green-500);
  flex: 0 0 auto;
}

.stats-card {
  min-width: 0;
  background: var(--white);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
}

.stats-card > div + div {
  margin-top: 1.75rem;
}

.stats-label {
  margin: 0 0 0.5rem;
  color: var(--slate-500);
  font-size: 0.9rem;
}

.stats-number {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(2rem, 9vw, 2.5rem);
  line-height: 1.1;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.stats-number.green {
  color: var(--green-600);
}

.stats-number.small {
  font-size: clamp(1.45rem, 6vw, 1.5rem);
  line-height: 1.25;
}

.contact {
  text-align: center;
}

.contact h2 {
  color: var(--white);
  font-size: clamp(2rem, 8vw, 3rem);
}

.contact p {
  color: var(--slate-300);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0 2.25rem;
}

.contact-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}

.contact-label {
  margin: 0 0 0.5rem;
  color: var(--slate-300);
  font-size: 0.9rem;
}

.contact-value {
  margin: 0;
  color: var(--white);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.site-footer {
  background: var(--slate-950);
  color: var(--slate-400);
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.9rem;
}

.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 360px) {
  .brand-title {
    font-size: 1.08rem;
  }

  .brand-subtitle {
    display: none;
  }

  .site-logo {
    width: 2.85rem;
    height: 2.85rem;
  }
}

@media (min-width: 640px) {
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .button {
    width: auto;
  }

  .hero-card {
    padding: 2rem;
  }

  .hero-card-header {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

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

@media (min-width: 768px) {
  :root {
    --header-offset: 112px;
  }

  .header-inner {
    padding: 1rem 1.5rem;
  }

  .site-logo {
    width: 5rem;
    height: 5rem;
  }

  .site-brand {
    gap: 1rem;
  }

  .brand-title {
    font-size: 1.5rem;
  }

  .brand-subtitle {
    font-size: 0.875rem;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 2rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-nav a {
    padding: 0;
    font-size: 0.875rem;
    border-radius: 0;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: transparent;
  }

  .container,
  .container-narrow {
    width: min(100% - 3rem, 1280px);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  .service-card {
    padding: 2rem;
    border-radius: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 6rem 0;
  }

  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }

  .section {
    padding: 6rem 0;
  }

  .section-heading {
    margin-bottom: 4rem;
  }

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

  .industries-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
  }

  .stats-card {
    padding: 2.5rem;
  }

  .forecast-mobile {
    display: none;
  }

  .forecast-desktop {
    display: block;
  }

  .forecast-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid var(--slate-200);
    padding: 0.75rem 0;
    font-size: 0.9rem;
  }

  .forecast-grid.header {
    padding-top: 0;
    color: var(--slate-500);
    font-weight: 700;
  }

  .forecast-grid .month {
    font-weight: 700;
  }

  .forecast-grid .ending {
    color: var(--blue-950);
    font-weight: 800;
  }
}
