:root {
  color-scheme: light;
  --bg: #f4f7f3;
  --bg-alt: #edf3ef;
  --surface: #ffffff;
  --surface-soft: #f9fbf8;
  --ink: #17211f;
  --muted: #5f6d68;
  --quiet: #7d8985;
  --line: #dce3dd;
  --line-strong: #c4cec6;
  --teal: #2d7771;
  --teal-dark: #1f5d59;
  --teal-soft: #dcefed;
  --blue: #416f8e;
  --blue-soft: #e5eef4;
  --sage: #7f9d8c;
  --sage-soft: #e8f0ea;
  --sand: #ece5d7;
  --sand-strong: #d8c7a8;
  --shadow: 0 20px 56px rgba(23, 33, 31, .08);
  --shadow-soft: 0 10px 28px rgba(23, 33, 31, .06);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Aptos, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--teal-soft);
  color: var(--ink);
}

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

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

.wrap {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius);
  transition: top .18s ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(217, 224, 218, .88);
  background: rgba(244, 247, 243, .92);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(23, 33, 31, .07);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  display: grid;
  gap: 1px;
}

.brand-name strong {
  font-size: 1rem;
  line-height: 1.1;
}

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

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 10px;
  color: #394743;
  font-size: .925rem;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--surface);
  outline: 1px solid var(--line);
  outline-offset: 0;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.language-switcher a {
  min-width: 34px;
  padding: 6px 8px;
  border-radius: 4px;
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 800;
  text-align: center;
}

.language-switcher a[aria-current="page"] {
  background: var(--ink);
  color: var(--surface);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(23, 33, 31, .14);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  width: 18px;
  height: 2px;
  display: block;
  background: var(--ink);
  border-radius: 99px;
}

.nav-toggle {
  gap: 4px;
  flex-direction: column;
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(237, 243, 239, .5)),
    repeating-linear-gradient(0deg, rgba(23, 33, 31, .032) 0 1px, transparent 1px 58px);
}

.hero-inner {
  padding: 30px 0 30px;
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 38px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-weight: 750;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--teal);
}

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

h1 {
  max-width: 900px;
  margin-bottom: 16px;
  font-size: 4.25rem;
  line-height: 1;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 790px;
  margin-bottom: 14px;
  color: #33433f;
  font-size: 1.2rem;
  line-height: 1.5;
}

.hero-support {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.035rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 750;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  background: var(--ink);
  color: var(--surface);
  box-shadow: 0 16px 34px rgba(23, 33, 31, .16);
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}

.operations-panel {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.panel-top strong {
  display: block;
  line-height: 1.2;
}

.panel-top span {
  color: var(--muted);
  font-size: .875rem;
}

.panel-badge {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 850;
  white-space: nowrap;
}

.desk-rows {
  display: grid;
}

.desk-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 64px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}

.desk-row:last-child {
  border-bottom: 0;
}

.desk-row strong {
  display: block;
  margin-bottom: 3px;
}

.desk-row small {
  color: var(--muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: .8125rem;
  font-weight: 850;
  white-space: nowrap;
}

.chip.blue {
  background: var(--blue-soft);
  color: #274f69;
}

.chip.sage {
  background: var(--sage-soft);
  color: #45604d;
}

.chip.sand {
  background: var(--sand);
  color: #6a5730;
}

.chip.dark {
  background: var(--ink);
  color: var(--surface);
}

.process-board {
  margin-top: 24px;
  border: 1px solid rgba(196, 206, 198, .9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.process-board header {
  display: grid;
  grid-template-columns: 1.15fr repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: rgba(249, 251, 248, .92);
}

.board-head,
.board-cell {
  min-width: 0;
  padding: 12px 14px;
  border-right: 1px solid rgba(220, 227, 221, .75);
}

.board-head:last-child,
.board-cell:last-child {
  border-right: 0;
}

.board-head {
  color: #40504c;
  font-size: .84rem;
  font-weight: 850;
}

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

.board-cell {
  min-height: 74px;
  border-bottom: 1px solid rgba(220, 227, 221, .75);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.board-cell:nth-last-child(-n+5) {
  border-bottom: 0;
}

.row-title {
  color: var(--ink);
  font-weight: 850;
}

.micro {
  color: var(--muted);
  font-size: .86rem;
}

main section {
  padding: 46px 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .55fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 20px;
}

.section-intro h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 1.07;
  letter-spacing: 0;
}

.section-intro p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.035rem;
}

.dark-band {
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.what-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}

.what-statement {
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, .13);
}

.what-statement h2 {
  margin-bottom: 14px;
  font-size: 2.75rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.what-statement p {
  margin-bottom: 0;
  color: #d7e3df;
  font-size: 1.035rem;
}

.what-list {
  display: grid;
}

.what-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.what-item:last-child {
  border-bottom: 0;
}

.what-index {
  color: #9fc9c4;
  font-weight: 850;
}

.what-item h3 {
  margin-bottom: 7px;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.what-item p {
  margin-bottom: 0;
  color: #d7e3df;
}

.service-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.service {
  min-height: 198px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.service:nth-child(3n) {
  border-right: 0;
}

.service:nth-last-child(-n+3) {
  border-bottom: 0;
}

.service-code {
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: .8125rem;
  font-weight: 850;
}

.service h3 {
  margin-bottom: 9px;
  font-size: 1.32rem;
  line-height: 1.18;
  letter-spacing: 0;
}

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

.workflow-interface {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.workflow-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.workflow-toolbar strong {
  display: block;
}

.workflow-toolbar span {
  color: var(--muted);
  font-size: .875rem;
}

.workflow-table {
  display: grid;
}

.workflow-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 150px;
  gap: 18px;
  align-items: center;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(220, 227, 221, .86);
}

.workflow-row:last-child {
  border-bottom: 0;
}

.workflow-step {
  color: var(--blue);
  font-weight: 850;
}

.workflow-copy h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.workflow-copy p {
  margin-bottom: 0;
  color: var(--muted);
}

.systems-layout {
  display: grid;
  grid-template-columns: minmax(280px, .62fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.systems-note {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.systems-note h2 {
  margin-bottom: 14px;
  font-size: 2.55rem;
  line-height: 1.08;
  letter-spacing: 0;
}

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

.systems-note p:last-child {
  margin-bottom: 0;
}

.systems-table {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.systems-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 132px;
  border-bottom: 1px solid var(--line);
}

.systems-row:last-child {
  border-bottom: 0;
}

.systems-row > * {
  padding: 15px 16px;
  border-right: 1px solid var(--line);
}

.systems-row > *:last-child {
  border-right: 0;
}

.systems-row span {
  color: var(--teal-dark);
  font-weight: 850;
}

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

.systems-row b {
  color: var(--ink);
}

.scope-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.scope-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.scope-card.emphasis {
  background: var(--teal-soft);
  border-color: #bad9d5;
}

.scope-card h2 {
  margin-bottom: 12px;
  font-size: 2rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.scope-card p {
  color: #42514d;
}

.scope-card p:last-child {
  margin-bottom: 0;
}

.support-list {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.support-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
}

.support-item:last-child {
  border-bottom: 0;
}

.support-item span {
  color: var(--blue);
  font-weight: 850;
}

.support-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 16px;
  align-items: stretch;
}

.details-card,
.contact-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.details-card h2,
.contact-card h2 {
  margin: 0;
  padding: 21px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 1.9rem;
  letter-spacing: 0;
}

.details {
  margin: 0;
}

.details div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
}

.details div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  font-weight: 750;
}

.contact-card {
  display: flex;
  flex-direction: column;
}

.contact-body {
  padding: 21px 24px;
  display: grid;
  gap: 16px;
  flex: 1;
}

.contact-body p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-soft);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.contact-links a::after {
  content: ">";
  color: var(--teal);
  flex: 0 0 auto;
}

.site-footer {
  padding: 22px 0 34px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 3.55rem;
  }

  .hero-top,
  .section-intro,
  .what-grid,
  .systems-layout,
  .scope-layout,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .operations-panel {
    max-width: 620px;
  }

  .what-statement {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
  }

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

  .service:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .service:nth-child(2n) {
    border-right: 0;
  }

  .service:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }

  .service:nth-last-child(-n+1) {
    border-bottom: 0;
  }
}

@media (max-width: 860px) {
  .wrap {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-header[data-open="true"] .nav-links {
    display: flex;
  }

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

  .header-cta {
    display: none;
  }

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

  h1 {
    font-size: 2.9rem;
  }

  .section-intro h2,
  .what-statement h2 {
    font-size: 2.25rem;
  }

  .systems-note h2 {
    font-size: 2.05rem;
  }

  main section {
    padding: 38px 0;
  }

  .process-board header,
  .board-grid {
    grid-template-columns: 1fr;
  }

  .process-board header {
    display: none;
  }

  .board-cell {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px;
    background: var(--surface);
  }

  .board-cell::before {
    content: attr(data-label);
    color: var(--blue);
    font-size: .78rem;
    font-weight: 850;
  }

  .board-cell:nth-last-child(-n+5) {
    border-bottom: 1px solid var(--line);
  }

  .board-cell:last-child {
    border-bottom: 0;
  }

  .workflow-row {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .systems-row {
    grid-template-columns: 1fr;
  }

  .systems-row > * {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .systems-row > *:last-child {
    border-bottom: 0;
  }

  .details div,
  .support-item,
  .what-item {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  h1 {
    font-size: 2.36rem;
  }

  .hero-subtitle {
    font-size: 1.08rem;
  }

  .brand-name span {
    display: none;
  }

  .language-switcher {
    margin-left: auto;
  }

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

  .desk-row {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }

  .workflow-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-matrix {
    grid-template-columns: 1fr;
  }

  .service,
  .service:nth-child(2n),
  .service:nth-child(3n) {
    border-right: 0;
  }

  .service:nth-last-child(-n+1) {
    border-bottom: 0;
  }

  .what-statement,
  .what-item,
  .systems-note,
  .scope-card,
  .details-card h2,
  .contact-card h2,
  .contact-body,
  .details div {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
