:root {
  --ink: #101411;
  --ink-soft: #252d28;
  --paper: #f7f8f5;
  --white: #ffffff;
  --muted: #5d6861;
  --muted-dark: #a9b5ad;
  --line: #dce2dc;
  --line-dark: #2b362f;
  --graphite: #0c100e;
  --graphite-2: #121814;
  --cyan: #22d3ee;
  --green: #6ee7b7;
  --green-deep: #13765f;
  --amber: #f2b84b;
  --focus: #9ff0d0;
  --shadow: 0 18px 55px rgba(11, 17, 14, 0.16);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

::selection {
  color: var(--graphite);
  background: var(--green);
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: var(--graphite);
  background: var(--green);
  border-radius: 6px;
  font-weight: 760;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(12, 16, 14, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link,
.footer-brand {
  display: inline-flex;
  align-items: center;
}

.brand-link img,
.footer-brand img {
  width: 158px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #edf4ee;
  font-size: 0.94rem;
  font-weight: 690;
}

.primary-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  color: rgba(247, 248, 245, 0.82);
  transition: color 180ms ease, background-color 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.primary-nav .nav-cta {
  margin-left: 4px;
  color: var(--graphite);
  background: var(--green);
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
  color: var(--graphite);
  background: #8ff1c8;
}

.lang-link {
  min-width: 40px;
  justify-content: center;
  color: rgba(247, 248, 245, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.lang-link:hover,
.lang-link:focus-visible {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--white);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 112px 0 64px;
  color: var(--white);
  background: var(--graphite);
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 10, 8, 0.95) 0%, rgba(6, 10, 8, 0.76) 40%, rgba(6, 10, 8, 0.32) 72%, rgba(6, 10, 8, 0.68) 100%),
    linear-gradient(0deg, rgba(6, 10, 8, 0.82) 0%, rgba(6, 10, 8, 0.08) 32%, rgba(6, 10, 8, 0.62) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-left: max(20px, calc((100vw - 1120px) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.hero h1,
.intro h2,
.section-heading h2,
.outcomes-copy h2,
.stack h2,
.fit h2,
.contact h2 {
  margin: 0;
  line-height: 1.03;
  font-weight: 820;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: 3.75rem;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(247, 248, 245, 0.82);
  font-size: 1.18rem;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 780;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button svg,
.text-link svg,
.card-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

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

.button-primary {
  color: var(--graphite);
  background: var(--green);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #8ff1c8;
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.13);
}

.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 42px 0 0;
  padding: 0;
}

.hero-signals div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-signals dt {
  color: var(--white);
  font-size: 0.96rem;
  font-weight: 820;
}

.hero-signals dd {
  margin: 5px 0 0;
  color: rgba(247, 248, 245, 0.66);
  font-size: 0.9rem;
}

.band-light,
.band-white,
.band-dark,
.band-accent {
  padding: 96px 0;
}

.band-light {
  background: var(--paper);
}

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

.band-dark {
  color: var(--white);
  background: var(--graphite-2);
}

.band-accent {
  background: #e5fbf2;
}

.intro-grid,
.outcomes-layout,
.stack-layout,
.fit-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.intro h2,
.section-heading h2,
.outcomes-copy h2,
.stack h2,
.fit h2,
.contact h2 {
  font-size: 2.55rem;
}

.intro-copy p,
.section-heading p,
.outcomes-copy p,
.stack p,
.contact-copy p,
.fit-list,
.faq p {
  color: var(--muted);
  font-size: 1.04rem;
}

.band-dark .outcomes-copy p,
.band-dark .contact-copy p {
  color: var(--muted-dark);
}

.intro-copy p:first-child,
.outcomes-copy p:first-of-type,
.stack p:first-child,
.contact-copy p:first-of-type {
  margin-top: 0;
}

.intro-copy p:last-child,
.outcomes-copy p:last-child,
.stack p:last-child,
.contact-copy p:last-child {
  margin-bottom: 0;
}

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

.section-heading p:last-child {
  margin: 18px 0 0;
}

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

.service-card {
  min-height: 292px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  box-shadow: 0 1px 0 rgba(16, 20, 17, 0.04);
}

.card-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--graphite);
  background: #dff9ef;
  border: 1px solid #c0ebda;
  border-radius: 8px;
}

.service-card h3,
.outcome-row h3,
.process-steps h3 {
  margin: 20px 0 10px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.24;
}

.service-card p,
.outcome-row p,
.process-steps p {
  margin: 0;
  color: var(--muted);
}

.outcomes-layout {
  align-items: center;
}

.outcomes-copy {
  max-width: 520px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--green);
  font-weight: 790;
}

.outcome-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.outcome-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
}

.outcome-row > span {
  color: var(--amber);
  font-weight: 820;
}

.outcome-row h3 {
  margin-top: 0;
  color: var(--white);
}

.outcome-row p {
  color: var(--muted-dark);
}

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

.process-steps article {
  position: relative;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.process-steps span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--graphite);
  background: var(--green);
  border-radius: 50%;
  font-weight: 820;
}

.stack-layout {
  align-items: start;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.tech-list li {
  padding: 8px 11px;
  color: var(--ink);
  background: #eef5ef;
  border: 1px solid #d5e5d9;
  border-radius: 6px;
  font-size: 0.94rem;
  font-weight: 720;
}

.fit-layout {
  align-items: center;
}

.fit h2 {
  max-width: 520px;
}

.fit-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-list li {
  position: relative;
  padding: 18px 18px 18px 44px;
  border: 1px solid #b9ead8;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink-soft);
  font-weight: 690;
}

.fit-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 25px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-deep);
  box-shadow: 0 0 0 5px rgba(19, 118, 95, 0.1);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 790;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--graphite);
  background: #e4f8ee;
  border-radius: 50%;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
}

.contact-layout {
  align-items: start;
}

.direct-contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
}

.direct-email,
.direct-phone {
  display: inline-flex;
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 790;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 26px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.contact-form label {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 780;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  margin-bottom: 8px;
  padding: 11px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form select {
  color: var(--white);
}

.contact-form option {
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.contact-form button:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(247, 248, 245, 0.5);
}

.form-button {
  margin-top: 4px;
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.site-footer {
  color: rgba(247, 248, 245, 0.74);
  background: #080b0a;
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  min-height: 160px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.footer-inner p {
  margin: 0;
}

.footer-meta {
  color: rgba(247, 248, 245, 0.52);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: 3rem;
  }

  .intro h2,
  .section-heading h2,
  .outcomes-copy h2,
  .stack h2,
  .fit h2,
  .contact h2 {
    font-size: 2.15rem;
  }

  .intro-grid,
  .outcomes-layout,
  .stack-layout,
  .fit-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 34px 0;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    width: min(100% - 24px, 1180px);
    min-height: 64px;
  }

  .brand-link img {
    width: 142px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 64px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: rgba(12, 16, 14, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .primary-nav a {
    justify-content: space-between;
  }

  .primary-nav .nav-cta {
    margin-left: 0;
  }

  .hero {
    min-height: 86svh;
    padding: 96px 0 44px;
  }

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

  .hero-content {
    margin-left: auto;
  }

  .hero h1 {
    font-size: 2.35rem;
    line-height: 1.06;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-signals,
  .service-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-signals {
    gap: 12px;
  }

  .band-light,
  .band-white,
  .band-dark,
  .band-accent {
    padding: 68px 0;
  }

  .intro h2,
  .section-heading h2,
  .outcomes-copy h2,
  .stack h2,
  .fit h2,
  .contact h2 {
    font-size: 1.9rem;
    line-height: 1.08;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .service-card,
  .process-steps article {
    min-height: auto;
  }

  .outcome-row {
    grid-template-columns: 42px 1fr;
  }

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

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

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