:root {
  --green: #58a83f;
  --green-dark: #3d8730;
  --blue: #3f78d4;
  --teal: #2bb8b3;
  --amber: #f0a437;
  --violet: #7567d8;
  --navy: #132033;
  --ink: #172033;
  --muted: #667085;
  --soft: #f5f8fb;
  --soft-green: #eef8f2;
  --surface: #ffffff;
  --line: #e2e9f1;
  --shadow: 0 22px 60px rgba(19, 32, 51, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#top,
section {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 233, 241, 0.8);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  box-shadow: 0 12px 30px rgba(19, 32, 51, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: var(--green);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 22px rgba(88, 168, 63, 0.24);
}

.brand-copy {
  display: grid;
  line-height: 1.08;
}

.brand-copy strong {
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 900;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a,
.login-link {
  border-radius: 999px;
  color: #344054;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 9px 13px;
}

.site-nav a:hover,
.site-nav a.is-active,
.login-link:hover {
  background: var(--soft-green);
  color: var(--green-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  line-height: 1.2;
  padding: 14px 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.button.primary {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 15px 28px rgba(88, 168, 63, 0.24);
}

.button.secondary {
  background: #ffffff;
  border-color: #d9e3ee;
  color: var(--navy);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  place-items: center;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.hero {
  overflow: hidden;
  background:
    linear-gradient(180deg, #f8fbff 0%, #ffffff 74%),
    linear-gradient(90deg, rgba(88, 168, 63, 0.12), rgba(63, 120, 212, 0.1));
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.05fr);
  gap: 52px;
  align-items: center;
  padding: 58px 0 32px;
  text-align: left;
}

.hero-copy {
  max-width: 610px;
}

.announcement {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 22px;
  color: #4b5d73;
  font-size: 0.95rem;
  font-weight: 800;
}

.announcement span {
  border-radius: 999px;
  background: #e9f6e5;
  color: var(--green-dark);
  padding: 5px 12px;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.8rem, 4.6vw, 4.85rem);
  letter-spacing: 0;
  line-height: 0.95;
  max-width: 660px;
}

.hero-lede {
  max-width: 620px;
  margin: 22px 0 0;
  color: #596a80;
  font-size: clamp(1.06rem, 1.4vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 30px;
}

.dashboard-stage {
  width: 100%;
  margin-top: 0;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: var(--shadow);
  padding: 10px;
}

.dashboard-stage img {
  width: 100%;
  border-radius: 20px;
}

.hero-metrics {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
  overflow: hidden;
}

.metric-strip {
  background: #ffffff;
  padding: 0 0 36px;
}

.hero-metrics div {
  min-height: 86px;
  display: grid;
  align-content: center;
  background: #ffffff;
  padding: 20px;
  text-align: left;
}

.hero-metrics dt {
  color: var(--navy);
  font-size: 1.8rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2,
.platform-copy h2,
.clients-grid h2,
.contact-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 3.3vw, 3.35rem);
  line-height: 1.08;
}

.section-head p,
.platform-copy > p,
.clients-grid p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section {
  padding: 84px 0;
}

.services-section,
.clients-section {
  background: #ffffff;
}

.services-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
}

.services-section::before {
  content: "";
  position: absolute;
  inset: 92px 0 auto 0;
  height: 260px;
  background: linear-gradient(135deg, rgba(88, 168, 63, 0.12), rgba(63, 120, 212, 0.1));
  pointer-events: none;
}

.services-section .shell {
  position: relative;
}

.section-head {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-top: 18px;
}

.service-directory {
  border-top: 1px solid #cfddea;
  border-bottom: 1px solid #cfddea;
}

.service-directory-head,
.service-row {
  display: grid;
  grid-template-columns: 90px minmax(230px, 0.7fr) minmax(0, 1fr) 180px;
  gap: 24px;
  align-items: center;
}

.service-directory-head {
  min-height: 46px;
  color: #7a8798;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-row {
  position: relative;
  min-height: 112px;
  border-top: 1px solid #dbe5ee;
  padding: 22px 0;
  transition: background 180ms ease;
}

.service-row:hover {
  background: rgba(255, 255, 255, 0.72);
}

.service-row.emphasis {
  color: #ffffff;
  background: linear-gradient(135deg, #132033, #1f3656);
  box-shadow: 0 22px 40px rgba(19, 32, 51, 0.16);
  margin: 0 -22px;
  padding-inline: 22px;
}

.service-row.emphasis + .service-row {
  border-top: 0;
}

.service-number {
  color: var(--green-dark);
  font-size: 1.15rem;
  font-weight: 900;
}

.service-row.emphasis .service-number {
  color: #9be37f;
}

.service-name span {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-row.emphasis .service-name span,
.service-row.emphasis a {
  color: #9be37f;
}

.service-name h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.2;
}

.service-row.emphasis .service-name h3 {
  color: #ffffff;
}

.service-row p {
  margin: 0;
  color: var(--muted);
}

.service-row.emphasis p {
  color: rgba(255, 255, 255, 0.74);
}

.service-row a {
  justify-self: start;
  color: var(--green-dark);
  font-weight: 900;
}

.platform-section {
  overflow: hidden;
  background: #122033;
  color: #ffffff;
}

.platform-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}

.platform-copy {
  max-width: 620px;
}

.platform-copy .section-kicker {
  color: #8edb76;
}

.platform-copy h2 {
  color: #ffffff;
}

.platform-copy > p {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 18px;
}

.platform-list {
  display: grid;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.platform-list li {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  color: rgba(255, 255, 255, 0.86);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.platform-list strong {
  color: #8edb76;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.platform-list span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.platform-visual img {
  width: min(760px, 100%);
  max-width: 100%;
  border-radius: 20px;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.3));
}

.insights-section,
.contact-section {
  background: var(--soft);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.insight-grid article {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  padding: 30px;
}

.insight-grid span {
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-grid h3 {
  margin: 16px 0 0;
  color: var(--navy);
  font-size: 1.16rem;
  line-height: 1.35;
}

.insight-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.clients-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 56px;
  align-items: center;
}

.clients-grid .section-head {
  margin-bottom: 0;
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sector-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #475467;
  font-weight: 800;
  padding: 12px 18px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
  gap: 58px;
  align-items: start;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(88, 168, 63, 0.14), rgba(63, 120, 212, 0.12)),
    #ffffff;
  box-shadow: 0 20px 60px rgba(19, 32, 51, 0.08);
  padding: 48px;
}

.contact-panel {
  display: grid;
  gap: 28px;
}

.contact-copy p {
  margin-top: 18px;
}

.contact-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-directory article {
  border: 1px solid #dbe5ee;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 18px;
}

.contact-directory h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
}

.contact-directory p {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-directory a {
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 30px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d7e0ea;
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  padding: 13px 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(88, 168, 63, 0.16);
}

.form-button {
  width: 100%;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease, padding 180ms ease;
}

.form-status.is-visible {
  min-height: 44px;
  border: 1px solid rgba(61, 135, 48, 0.2);
  border-radius: var(--radius);
  background: var(--soft-green);
  padding: 12px 14px;
  opacity: 1;
  transform: translateY(0);
}

.form-status.is-success {
  border-color: rgba(61, 135, 48, 0.24);
  color: var(--green-dark);
  background: var(--soft-green);
}

.form-status.is-error {
  border-color: rgba(191, 55, 55, 0.24);
  color: #9b2f2f;
  background: #fff4f4;
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  max-width: min(420px, calc(100% - 32px));
  border: 1px solid rgba(19, 32, 51, 0.14);
  border-radius: var(--radius);
  background: var(--navy);
  color: #ffffff;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  font-weight: 900;
  opacity: 0;
  padding: 12px 16px;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 220ms ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand .brand-symbol {
  width: 38px;
  height: 38px;
  font-size: 1.45rem;
}

.footer-brand .brand-copy strong {
  font-size: 1rem;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  color: #475467;
  font-weight: 800;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
    padding: 8px;
  }

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

  .site-nav a {
    padding: 12px;
  }

  .header-actions {
    display: none;
  }

  .hero-inner,
  .platform-layout,
  .clients-grid,
  .contact-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .platform-visual img {
    width: 100%;
    max-width: 100%;
  }

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

  .service-directory-head {
    display: none;
  }

  .service-row {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 10px 20px;
    align-items: start;
  }

  .service-row.emphasis {
    margin: 0;
    padding-inline: 0;
  }

  .service-row p,
  .service-row a {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 64px;
    padding: 10px 14px;
  }

  .brand-copy span {
    display: none;
  }

  .brand-copy strong {
    font-size: 1.08rem;
  }

  .brand-symbol {
    width: 40px;
    height: 40px;
  }

  .hero-inner {
    padding: 42px 0 28px;
  }

  .announcement {
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.1rem);
  }

  .hero-lede {
    font-size: 1.02rem;
    margin-top: 18px;
  }

  .hero-actions {
    display: grid;
    margin-top: 22px;
  }

  .button {
    width: 100%;
  }

  .dashboard-stage {
    margin-top: 28px;
    padding: 6px;
    border-radius: 18px;
  }

  .dashboard-stage img {
    width: 660px;
    max-width: none;
    transform: translateX(-138px);
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
  }

  .hero-metrics div {
    min-height: 92px;
    padding: 16px;
  }

  .section {
    padding: 64px 0;
  }

  #top,
  section {
    scroll-margin-top: 78px;
  }

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

  .service-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }

  .service-row p,
  .service-row a {
    grid-column: auto;
  }

  .service-number {
    font-size: 0.88rem;
  }

  .platform-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-card {
    padding: 24px;
  }

  .contact-directory {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-grid {
    flex-direction: column;
  }
}
