:root {
  color-scheme: light;
  --ink: #151817;
  --muted: #5d6561;
  --paper: #f7f8f5;
  --white: #ffffff;
  --line: #d9ded9;
  --accent: #5ec421;
  --accent-deep: #237a22;
  --signal: #d84434;
  --secondary: #315b66;
  --header-height: 76px;
  --content: 1240px;
  --shadow: 0 20px 55px rgba(10, 18, 14, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input,
textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
}

.site-header.is-scrolled {
  position: fixed;
  background: rgba(16, 20, 18, 0.96);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 132px;
  max-height: 50px;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
}

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

.brand-copy small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: inherit;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

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

.nav-contact {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-button span {
  opacity: 0;
}

.menu-open .menu-button::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-button::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(86vh, 900px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: #111;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(5, 9, 7, 0.84) 0%, rgba(5, 9, 7, 0.46) 43%, rgba(5, 9, 7, 0.08) 75%);
  z-index: 1;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: calc(var(--header-height) + 92px) 0 90px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  background: currentColor;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin: 28px 0 0;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.38;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #0c140d;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--white);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.14);
  color: var(--white);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.intro-band {
  background: var(--white);
}

.intro-grid,
.section-inner,
.contact-inner {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 96px;
  padding: 90px 0;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  max-width: 920px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4.8vw, 68px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.intro-copy {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.intro-aside {
  align-self: end;
  padding: 26px 0 8px 28px;
  border-left: 4px solid var(--accent);
}

.intro-aside strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
}

.intro-aside p {
  margin: 0;
  color: var(--muted);
}

.content-section {
  padding: 100px 0;
}

.content-section.dark {
  background: #171b19;
  color: var(--white);
}

.content-section.dark .section-kicker {
  color: var(--accent);
}

.content-section.dark .section-copy {
  color: #c3cbc6;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 56px;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.service-list {
  border-top: 1px solid var(--line);
}

.dark .service-list {
  border-color: #3b443f;
}

.service-item {
  display: grid;
  grid-template-columns: 72px minmax(220px, 0.72fr) minmax(280px, 1fr);
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.dark .service-item {
  border-color: #3b443f;
}

.service-number {
  color: var(--accent-deep);
  font-weight: 850;
}

.dark .service-number {
  color: var(--accent);
}

.service-item h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.12;
}

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

.dark .service-item p {
  color: #b7c0ba;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-step {
  min-height: 280px;
  padding: 28px;
  background: var(--white);
}

.process-step .step-index {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 56px;
  border: 1px solid var(--accent-deep);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 800;
}

.process-step h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

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

.proof-band {
  background: var(--secondary);
  color: var(--white);
}

.proof-grid {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-item {
  min-height: 220px;
  padding: 46px 38px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-value {
  display: block;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.proof-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.capacity-section {
  background: #eef2f0;
}

.capacity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.capacity-item {
  min-width: 0;
  padding: 34px 28px 34px 0;
  border-right: 1px solid var(--line);
}

.capacity-item + .capacity-item {
  padding-left: 28px;
}

.capacity-item:last-child {
  border-right: 0;
}

.capacity-value {
  display: block;
  margin-bottom: 18px;
  color: var(--secondary);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
}

.capacity-item h3,
.storage-band h3,
.benchmark-heading h3,
.gl-example h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.15;
}

.capacity-item p,
.benchmark-heading p,
.gl-example p,
.agent-note {
  margin: 0;
  color: var(--muted);
}

.storage-band {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 52px;
  align-items: end;
  margin-top: 48px;
  padding: 34px;
  background: var(--secondary);
  color: var(--white);
}

.storage-band .section-kicker {
  color: #8ee0d9;
}

.storage-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: rgba(255, 255, 255, 0.24);
}

.storage-metrics div {
  padding: 18px;
  background: var(--secondary);
}

.storage-metrics dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.storage-metrics dd {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.benchmark-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 72px;
  align-items: end;
  margin: 76px 0 28px;
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

.comparison-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.comparison-table tr > :last-child {
  border-right: 0;
}

.comparison-table tbody tr:last-child > * {
  border-bottom: 0;
}

.comparison-table thead th {
  background: #202724;
  color: var(--white);
  font-size: 13px;
}

.comparison-table tbody th {
  color: var(--secondary);
  font-size: 15px;
}

.comparison-total > * {
  background: #e4eeeb;
  font-weight: 800;
}

.benchmark-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.benchmark-note a {
  color: var(--accent-deep);
  font-weight: 750;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

.feature-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #232826;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.feature-copy .section-title {
  font-size: clamp(36px, 4vw, 58px);
}

.feature-copy > p {
  color: var(--muted);
  font-size: 19px;
}

.principles {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.principles li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.principles li::before {
  content: "+";
  color: var(--accent-deep);
  font-weight: 900;
}

.agent-section {
  background: #e9efed;
}

.agent-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.agent-flow article {
  min-height: 300px;
  padding: 28px;
  background: var(--white);
}

.agent-flow .step-index {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 50px;
  border: 1px solid var(--secondary);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 800;
}

.agent-flow h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

.agent-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.gl-example {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 72px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.api-sequence {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.api-sequence li {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(240px, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.api-sequence code {
  overflow-wrap: anywhere;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 800;
}

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

.agent-note {
  margin-top: 34px;
  padding-left: 22px;
  border-left: 4px solid var(--accent);
}

.contact-band {
  background: var(--accent);
  color: #0e160f;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 80px;
  padding: 82px 0;
}

.contact-band .section-title {
  font-size: clamp(38px, 5vw, 68px);
}

.contact-details {
  align-self: end;
  display: grid;
  gap: 18px;
}

.contact-details p {
  margin: 0;
}

.contact-details a {
  font-weight: 800;
}

.site-footer {
  padding: 38px 0;
  background: #101311;
  color: #c4ccc7;
}

.footer-inner {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.footer-inner p {
  margin: 6px 0 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
}

.js .reveal {
  opacity: 1;
  transform: none;
}

.js .reveal.is-visible {
  animation: reveal-in 520ms ease both;
}

@keyframes reveal-in {
  from {
    opacity: 0.7;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

  .js .reveal {
    animation: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: none;
    min-height: calc(100vh - var(--header-height));
    padding: 34px 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: #101311;
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 18px 0;
    border-bottom: 1px solid #353c38;
    font-size: 18px;
  }

  .nav-contact {
    margin-top: 22px;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.74) !important;
  }

  .intro-grid,
  .section-heading-row,
  .contact-inner,
  .feature-split {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

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

  .capacity-item:nth-child(2) {
    border-right: 0;
  }

  .capacity-item:nth-child(3),
  .capacity-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .capacity-item:nth-child(3) {
    padding-left: 0;
  }

  .storage-band,
  .benchmark-heading,
  .gl-example {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .service-item {
    grid-template-columns: 52px 1fr;
  }

  .service-item p {
    grid-column: 2;
  }

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

  .proof-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .nav-shell,
  .hero-content,
  .intro-grid,
  .section-inner,
  .contact-inner,
  .proof-grid,
  .footer-inner {
    width: min(calc(100% - 32px), var(--content));
  }

  .brand img {
    width: 108px;
  }

  .hero {
    min-height: 720px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(5, 9, 7, 0.42), rgba(5, 9, 7, 0.88) 72%);
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-content {
    padding-bottom: 52px;
  }

  .hero h1 {
    font-size: clamp(46px, 16vw, 68px);
  }

  .intro-grid,
  .content-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

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

  .capacity-grid,
  .agent-flow,
  .storage-metrics {
    grid-template-columns: 1fr;
  }

  .capacity-item,
  .capacity-item + .capacity-item {
    padding: 26px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .capacity-item:first-child {
    border-top: 0;
  }

  .storage-band {
    padding: 26px;
  }

  .api-sequence li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .process-step {
    min-height: auto;
  }

  .process-step .step-index {
    margin-bottom: 30px;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-item p {
    grid-column: 1;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
