:root {
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --bg: #f8fafb;
  --surface: #ffffff;
  --surface-2: #eef4f6;
  --ink: #071827;
  --muted: #5d6876;
  --soft: #83909a;
  --line: #d8e1e7;
  --accent: #00a8c6;
  --accent-2: #557b50;
  --warm: #b9852f;
  --danger: #7c3232;
  --shadow: 0 18px 48px rgba(8, 24, 39, 0.10);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  line-height: 1.55;
  letter-spacing: 0;
}

body.m3-site {
  --bg: #fbfcfd;
  --surface: #ffffff;
  --surface-2: #f0f6f8;
  --ink: #081928;
  --muted: #596a73;
  --line: #d7e3e8;
  --accent: #00a8c6;
  --accent-2: #637a38;
  --warm: #c28926;
  background:
    linear-gradient(90deg, rgba(0, 168, 198, 0.07) 0 1px, transparent 1px 100%),
    #fbfcfd;
  background-size: 96px 96px;
}

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

a {
  color: inherit;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  font-weight: 720;
}

h1 {
  max-width: 940px;
  font-size: 78px;
}

h2 {
  font-size: 44px;
}

h3 {
  font-size: 22px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

main [id] {
  scroll-margin-top: 112px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 251, 0.94);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 760;
  white-space: nowrap;
}

.brand-mark {
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(8, 24, 39, 0.08);
}

.brand-mark img {
  width: 96px;
  max-width: none;
  transform: translate(-27px, -36px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.brand:hover {
  color: var(--accent);
}

.header-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  color: var(--surface);
  background: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.hero,
.section {
  width: 100%;
}

.hero {
  padding: clamp(54px, 8vw, 90px) 0 clamp(44px, 6vw, 76px);
}

.section {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.50);
}

.section-inner,
.hero-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-inner {
  padding: clamp(54px, 8vw, 96px) 0;
}

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.kicker::before,
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 21px;
}

.copy {
  color: var(--muted);
  font-size: 16px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  color: var(--surface);
  background: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 720;
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.two-column,
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

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

.four-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.section-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
}

.outputs-heading {
  margin-top: 32px;
}

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.60) inset;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
}

.list {
  display: grid;
  gap: 10px;
}

.list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  color: var(--muted);
}

.list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-pill,
.output-pill {
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
}

.output-pill {
  color: var(--muted);
  font-weight: 600;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.process-step {
  min-height: 128px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
}

.process-step span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
}

.process-step strong {
  display: block;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--muted);
  font-size: 14px;
}

.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--soft);
  font-size: 13px;
}

.meta-strip span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}

.m3-site .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.workbench {
  display: grid;
  gap: 14px;
}

.profile-panel {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.profile-panel img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 36%;
}

.profile-panel figcaption {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.profile-panel strong {
  color: var(--ink);
  font-size: 16px;
}

.profile-panel span {
  color: var(--muted);
  font-size: 14px;
}

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

.score {
  min-height: 100px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.score strong {
  display: block;
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
}

.score span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.verticals-section {
  background:
    linear-gradient(90deg, rgba(0, 168, 198, 0.08), rgba(99, 122, 56, 0.08)),
    rgba(255, 255, 255, 0.72);
}

.verticals-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  margin-bottom: 28px;
}

.vertical-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.vertical-feature {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.vertical-feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: var(--accent);
}

.grid-feature::before {
  background: var(--accent-2);
}

.vertical-label {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 24px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  background: var(--surface-2);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.vertical-feature h3 {
  font-size: 36px;
}

.vertical-feature p {
  max-width: 560px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

.vertical-feature .list {
  margin-top: 26px;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.capability-grid {
  display: grid;
  gap: 12px;
}

.capability {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.capability strong {
  display: block;
  margin-bottom: 6px;
}

.capability span {
  color: var(--muted);
}

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.contact-info a {
  color: var(--accent);
  font-weight: 760;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: var(--bg);
  font: inherit;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.privacy {
  color: var(--soft);
  font-size: 13px;
}

.form-status {
  display: none;
  padding: 12px;
  border: 1px solid rgba(0, 168, 198, 0.35);
  border-radius: 5px;
  color: var(--ink);
  background: rgba(0, 168, 198, 0.10);
  font-size: 14px;
}

.form-status.is-visible {
  display: block;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner a {
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 980px) {
  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 36px;
  }

  .lead {
    font-size: 19px;
  }

  .nav-shell {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .m3-site .nav-shell {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .m3-site .nav-links {
    order: 3;
    width: 100%;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 0 2px;
    scrollbar-width: none;
  }

  .m3-site .nav-links::-webkit-scrollbar {
    display: none;
  }

  .m3-site .nav-links a {
    flex: 0 0 auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
    color: var(--ink);
  }

  .two-column,
  .split-grid,
  .m3-site .hero-inner,
  .about-panel,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .three-grid,
  .four-grid,
  .process,
  .verticals-intro,
  .vertical-feature-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .vertical-feature {
    min-height: auto;
  }

  .profile-panel img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .section-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 20px;
  }

  .lead {
    font-size: 17px;
  }

  .hero {
    padding: 38px 0 42px;
  }

  .section-inner {
    padding: 46px 0;
  }

  .hero-copy {
    gap: 18px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    padding: 0 12px;
  }

  .m3-site .nav-shell {
    width: min(100% - 24px, var(--max));
  }

  .m3-site .nav-links {
    margin: 0 -2px;
    padding-bottom: 4px;
  }

  .m3-site .nav-links a {
    min-height: 42px;
    padding: 0 11px;
    font-size: 13px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .meta-strip span {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
    text-align: center;
  }

  .profile-panel img {
    aspect-ratio: 4 / 3;
    object-position: center center;
  }

  .profile-panel figcaption {
    padding: 15px;
  }

  .vertical-feature {
    padding: 24px 18px;
  }

  .vertical-feature h3 {
    font-size: 26px;
  }

  .vertical-feature p {
    font-size: 16px;
  }

  .vertical-label {
    margin-bottom: 18px;
  }

  .card,
  .contact-form {
    padding: 18px;
  }

  .process-step {
    min-height: 112px;
  }

  .services-list,
  .field-grid,
  .score-grid {
    grid-template-columns: 1fr;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 0;
  }
}
