:root {
  --navy: #131921;
  --navy-light: #232f3e;
  --background: #eaeded;
  --surface: #ffffff;
  --surface-soft: #f7f8f8;
  --text: #0f1111;
  --muted: #565959;
  --border: #d5d9d9;
  --accent: #ff9900;
  --accent-soft: #ffd814;
  --accent-hover: #f7ca00;
  --link: #007185;
  --link-hover: #c7511f;
  --green: #067d62;
  --max: 1180px;
  --shadow: 0 2px 8px rgba(15, 17, 17, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.55;
}

a { color: inherit; }
.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

/* Disable old decorative dark-theme glow elements. */
.page-glow { display: none; }

.nav {
  width: 100%;
  height: 72px;
  padding-inline: max(20px, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy);
  color: white;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--navy);
  background: var(--accent);
  font-weight: 800;
}

.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links > a:not(.button) { color: #fff; text-decoration: none; font-size: .92rem; }
.nav-links > a:not(.button):hover { text-decoration: underline; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 42px;
  padding: .72rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-small { min-height: 36px; padding: .48rem .85rem; }
.button-ghost { border-color: #fff; color: white; background: transparent; }
.button-ghost:hover { background: rgba(255,255,255,.08); }

.button-primary {
  color: #111;
  background: var(--accent-soft);
  border-color: #f0c14b;
  box-shadow: 0 1px 2px rgba(15,17,17,.15);
}
.button-primary:hover { background: var(--accent-hover); }

.hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 4rem;
  align-items: center;
  padding-block: 72px 82px;
}

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

.pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .38rem .7rem;
  border: 1px solid #b7d7dc;
  border-radius: 999px;
  color: #005f69;
  background: #edf7f8;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

h1, h2, h3 { margin-top: 0; }

h1 {
  margin: 1.1rem 0 1.2rem;
  font-size: clamp(2.8rem, 5.1vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
h1 span { color: var(--navy-light); }

.lead {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions { display: flex; align-items: center; gap: 1.3rem; margin-top: 1.9rem; }
.text-link { color: var(--link); text-decoration: none; font-weight: 700; font-size: .9rem; }
.text-link:hover { color: var(--link-hover); text-decoration: underline; }

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: .78rem;
}
.hero-notes span::before { content: "✓"; color: var(--green); margin-right: .35rem; font-weight: 700; }

.dashboard-wrap { position: relative; }

.dashboard {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(15,17,17,.12);
}

.dashboard-top,
.chart-head,
.dashboard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-label {
  margin: 0;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.dashboard h2 { margin: .12rem 0 0; font-size: 1.15rem; }

.status {
  color: var(--muted);
  font-size: .7rem;
  padding: .3rem .55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-soft);
}
.status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: .3rem;
  border-radius: 50%;
  background: var(--green);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .7rem;
  margin: 1.1rem 0;
}

.metric {
  padding: .9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
}
.metric span, .metric small { display: block; color: var(--muted); font-size: .68rem; }
.metric strong { display: block; margin: .12rem 0; font-size: 1.25rem; }

.chart-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
}

.chart-head { padding: .8rem .9rem 0; color: var(--muted); font-size: .7rem; }
.chart-key i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: .3rem;
  border-radius: 50%;
  background: var(--accent);
}

.chart { height: 190px; position: relative; padding-top: 15px; }
.chart svg { width: 100%; height: 100%; position: relative; z-index: 2; overflow: visible; }
.chart .line { fill: none; stroke: #e47911; stroke-width: 3; vector-effect: non-scaling-stroke; }
.chart .area { fill: rgba(255,153,0,.13); }
.grid-line { position: absolute; left: 0; right: 0; height: 1px; background: #e7e7e7; }
.g1 { top: 28%; } .g2 { top: 52%; } .g3 { top: 76%; }

.dashboard-foot {
  justify-content: flex-start;
  gap: 1.2rem;
  padding-top: .9rem;
  color: var(--muted);
  font-size: .67rem;
}
.dot { display: inline-block; width: 6px; height: 6px; margin-right: .3rem; border-radius: 50%; }
.dot-purple { background: #7f62a3; }
.dot-blue { background: #007185; }
.dot-green { background: var(--green); }

.trust-strip {
  border-block: 1px solid var(--border);
  background: var(--surface);
}
.trust-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: .82rem;
}
.trust-items { display: flex; align-items: center; gap: .9rem; color: #37475a; font-weight: 600; }
.trust-items i { color: #aaa; }

.section { padding-block: 90px; }
.section-heading {
  display: grid;
  grid-template-columns: 1.1fr .65fr;
  gap: 5rem;
  align-items: end;
  margin-bottom: 2.5rem;
}
.eyebrow {
  margin: 0 0 .6rem;
  color: var(--link);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.section h2, .contact h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.section-heading > p { margin: 0; color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }

.service-card {
  position: relative;
  min-height: 310px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 16px rgba(15,17,17,.14);
}
.service-card.featured { border-top: 4px solid var(--accent); }

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 800;
}
.icon-purple { color: #5f4779; background: #f1eafa; }
.icon-blue { color: #006f7a; background: #e8f5f6; }
.icon-green { color: #05664f; background: #e8f6f1; }

.card-number {
  position: absolute;
  top: 1.45rem;
  right: 1.45rem;
  margin: 0;
  color: #879596;
  font-size: .75rem;
}
.service-card h3 { margin: 2.7rem 0 .6rem; font-size: 1.28rem; }
.service-card > p:not(.card-number) { color: var(--muted); font-size: .92rem; }
.card-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: var(--link);
  font-size: .75rem;
  font-weight: 700;
}

.approach-panel {
  padding: clamp(2rem, 5vw, 3.6rem);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.approach-copy { max-width: 720px; }
.approach-copy > p:last-child { color: var(--muted); max-width: 680px; }

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: .7rem;
  margin-top: 2.7rem;
}
.step {
  min-height: 118px;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
}
.step span, .step strong, .step small { display: block; }
.step span { color: #879596; font-size: .7rem; }
.step strong { margin-top: .75rem; color: var(--navy-light); }
.step small { margin-top: .12rem; color: var(--muted); }
.step-arrow { color: #879596; font-size: 1.2rem; }

.contact {
  margin-bottom: 85px;
  padding: clamp(2rem, 5vw, 3.6rem);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.contact-copy > p:not(.eyebrow) { color: var(--muted); }
.contact-points { display: grid; gap: .65rem; margin-top: 1.8rem; color: var(--muted); font-size: .84rem; }

.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .38rem; color: #37475a; font-size: .78rem; font-weight: 700; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #888c8c;
  border-radius: 6px;
  padding: .78rem .85rem;
  color: var(--text);
  background: white;
  font: inherit;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #007185;
  box-shadow: 0 0 0 3px rgba(0,113,133,.15);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-submit { border-color: #f0c14b; }
.form-status { min-height: 1.4em; margin: 0; color: var(--muted); font-size: .78rem; }
.form-status--error   { color: #c0392b; }
.form-status--success { color: #05664f; }
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.footer {
  width: 100%;
  min-height: 155px;
  padding: 2.4rem max(20px, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  align-items: center;
  gap: 2rem;
  color: #ddd;
  background: var(--navy-light);
  font-size: .78rem;
}
.footer .brand { color: white; font-size: .9rem; }
.footer .brand-mark { width: 28px; height: 28px; font-size: .8rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-block: 60px 70px; }
  .dashboard-wrap { max-width: 680px; }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 255px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step-arrow { display: none; }
  .contact { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, var(--max)); }
  .nav { height: 66px; padding-inline: 14px; }
  .nav-links > a:not(.button) { display: none; }
  .brand { font-size: .9rem; }
  .hero { min-height: auto; padding-block: 48px 58px; }
  h1 { font-size: clamp(2.65rem, 13vw, 3.8rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .metrics { grid-template-columns: 1fr; }
  .chart { height: 150px; }
  .dashboard-foot { flex-wrap: wrap; }
  .trust-inner { padding-block: 1rem; align-items: flex-start; flex-direction: column; gap: .5rem; }
  .trust-items { flex-wrap: wrap; gap: .5rem; }
  .section { padding-block: 65px; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact { margin-bottom: 55px; }
}
