@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;600&display=swap");

:root {
  --primary: #0f62fe;
  --primary-hover: #0050e6;
  --blue-60: #0043ce;
  --blue-80: #002d9c;
  --ink: #161616;
  --ink-strong: #161616;
  --ink-muted: #525252;
  --ink-subtle: #8c8c8c;
  --canvas: #ffffff;
  --surface-1: #f4f4f4;
  --surface-2: #e0e0e0;
  --surface-3: #f4f4f4;
  --inverse-canvas: #161616;
  --inverse-surface-1: #262626;
  --inverse-ink: #ffffff;
  --inverse-ink-muted: #c6c6c6;
  --border: #e0e0e0;
  --border-strong: #161616;
  --success: #24a148;
  --white: #ffffff;
  --shadow-card: none;
  --shadow-elevated: none;
  --max-width: 1312px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.16px;
  color: var(--ink);
  background: var(--canvas);
}

body.menu-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--blue-60);
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 220px;
}

.brand-name {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.16px;
}

.brand-subtitle {
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: 0.32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: var(--ink-muted);
  border-bottom: 2px solid transparent;
  font-size: 14px;
  line-height: 1.29;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  background: var(--surface-1);
  border-bottom-color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.language-switcher a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.29;
}

.language-switcher a:hover,
.language-switcher a.active {
  color: var(--ink);
  background: var(--surface-1);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-left: 1px solid var(--border);
  border-radius: 0;
  background: var(--canvas);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid var(--primary);
  border-radius: 0;
  color: var(--white);
  background: var(--primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.29;
  letter-spacing: 0.16px;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease;
}

.button::after {
  content: "→";
  font-size: 18px;
  line-height: 1;
}

.button:hover {
  color: var(--white);
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

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

.button.secondary:hover {
  color: var(--inverse-ink);
  background: #393939;
  border-color: #393939;
}

.button.ghost {
  color: var(--primary);
  background: var(--canvas);
  border-color: var(--primary);
}

.button.ghost:hover {
  color: var(--white);
  background: var(--primary);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 56%, #eef4ff 56%, #eef4ff 100%);
}

.hero::before {
  display: none;
}

.hero-media {
  position: absolute;
  inset: 0 0 0 56%;
  border-left: 1px solid var(--border);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--max-width));
  max-width: none;
  margin: 0 auto;
  padding: 96px 0 112px;
}

.hero-content > * {
  max-width: 720px;
}

.eyebrow {
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.29;
  letter-spacing: 0.16px;
  text-transform: none;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  margin-top: 16px;
  max-width: 820px;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 300;
  line-height: 1.17;
  letter-spacing: -0.5px;
}

h2 {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 300;
  line-height: 1.2;
}

h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.33;
}

p {
  margin: 0;
}

.hero-lead {
  margin-top: 24px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.hero-copy {
  margin-top: 16px;
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
}

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

.section {
  padding: 96px 0;
  background: var(--canvas);
}

.section.compact {
  padding: 64px 0;
}

.section.alt {
  background: var(--surface-1);
  border-block: 1px solid var(--border);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 32px;
}

.section-head p {
  max-width: 620px;
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0;
}

.grid {
  display: grid;
  gap: 0;
}

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

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

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

.card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}

.card:hover {
  background: var(--surface-1);
}

.stat-card {
  min-height: 152px;
  padding: 24px;
  background: var(--canvas);
}

.stat-value {
  color: var(--primary);
  font-size: 42px;
  font-weight: 300;
  line-height: 1.2;
}

.stat-label {
  margin-top: 16px;
  color: var(--ink);
  font-size: 16px;
}

.product-card,
.service-card,
.value-card,
.faq-card,
.contact-card {
  padding: 32px;
}

.product-card {
  position: relative;
  min-height: 248px;
  overflow: hidden;
  background: var(--canvas);
}

.product-card::before {
  display: none;
}

.product-card > * {
  position: relative;
}

.product-card p,
.service-card p,
.value-card p,
.faq-card p,
.contact-card p {
  margin-top: 16px;
  color: var(--ink-muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 24px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 400;
}

.card-link::after {
  content: " →";
  margin-left: 8px;
  font-size: 18px;
}

.card-link:hover {
  color: var(--blue-60);
}

.product-card h2,
.service-card h2 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.33;
}

.service-card {
  background: var(--canvas);
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 0;
  color: var(--primary);
  background: var(--surface-1);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 400;
}

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

.split > div:first-child:not(.image-panel) {
  padding: 48px;
  border: 1px solid var(--border);
  background: var(--canvas);
}

.check-list,
.plain-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-muted);
}

.check-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 0;
  background: var(--primary);
  box-shadow: none;
}

.image-panel {
  min-height: 430px;
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  filter: grayscale(100%);
}

.steps {
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 32px;
}

.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: var(--primary);
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 0;
  font-size: 14px;
  font-weight: 400;
}

.faq-card details {
  margin: 0;
}

.faq-card summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-weight: 400;
  cursor: pointer;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  margin-left: auto;
  color: var(--primary);
  font-size: 24px;
  font-weight: 300;
}

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

.cta-band {
  padding: 48px;
  background: var(--primary);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  max-width: 760px;
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.5;
}

.cta-band .button {
  margin-top: 32px;
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.cta-band .button:hover {
  color: var(--white);
  background: var(--blue-80);
  border-color: var(--blue-80);
}

.page-hero {
  padding: 96px 0 72px;
  background: linear-gradient(90deg, var(--canvas) 0%, var(--canvas) 62%, #eef4ff 62%, #eef4ff 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero p {
  max-width: 780px;
  margin-top: 24px;
  color: var(--ink-muted);
  font-size: 20px;
  line-height: 1.4;
}

.content-block {
  max-width: 840px;
}

.content-block p + p {
  margin-top: 16px;
}

.fact-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--canvas);
}

.fact-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 16px;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
}

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

.fact-row strong {
  color: var(--ink);
  font-weight: 600;
}

.product-note {
  padding: 48px;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  gap: 0;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 0;
}

.contact-card a {
  color: var(--primary);
}

.form-card {
  padding: 32px;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.29;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 16px;
  color: var(--ink);
  background: var(--surface-1);
  border: 0;
  border-bottom: 1px solid var(--ink-subtle);
  border-radius: 0;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  border-bottom-color: var(--primary);
}

.field textarea {
  min-height: 144px;
  resize: vertical;
}

.form-note {
  margin: 16px 0 24px;
  color: var(--ink-muted);
}

.site-footer {
  background: var(--inverse-canvas);
  border-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.4fr;
  gap: 32px;
  padding: 64px 0;
}

.footer-title {
  color: var(--inverse-ink);
  font-size: 16px;
  font-weight: 600;
}

.footer-col p,
.footer-col li {
  color: var(--inverse-ink-muted);
  font-size: 14px;
  line-height: 1.5;
}

.footer-col p {
  margin-top: 16px;
}

.footer-col ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 18px 0;
  color: var(--inverse-ink-muted);
  border-top: 1px solid var(--inverse-surface-1);
  font-size: 14px;
}

@media (max-width: 1056px) {
  .brand {
    min-width: 190px;
  }

  .nav a {
    padding: 0 10px;
  }

  .header-actions {
    gap: 8px;
  }

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

  .section-head {
    grid-template-columns: 1fr;
  }

  .split,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    background: var(--canvas);
  }

  .hero-media {
    position: relative;
    inset: auto;
    order: -1;
    height: 320px;
    border-left: 0;
    border-bottom: 1px solid var(--border);
  }

  .hero-content {
    padding: 64px 0 80px;
  }
}

@media (max-width: 672px) {
  .container,
  .hero-content {
    width: min(100% - 32px, var(--max-width));
  }

  .header-inner {
    min-height: 48px;
  }

  .brand {
    min-width: 0;
  }

  .brand-subtitle {
    display: none;
  }

  .nav {
    position: fixed;
    inset: 48px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--border);
  }

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

  .nav a {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border-top: 1px solid var(--border);
    border-bottom: 0;
  }

  .language-switcher {
    border-right: 0;
  }

  .language-switcher a {
    padding: 0 10px;
  }

  .menu-toggle {
    display: block;
  }

  .header-actions .button {
    display: none;
  }

  h1 {
    font-size: clamp(38px, 12vw, 48px);
  }

  h2 {
    font-size: 32px;
  }

  .hero-media {
    height: 260px;
  }

  .hero-content {
    padding: 48px 0 64px;
  }

  .hero-lead,
  .page-hero p {
    font-size: 18px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .section,
  .section.compact {
    padding: 64px 0;
  }

  .grid.cols-4,
  .grid.cols-3,
  .grid.cols-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .service-card,
  .value-card,
  .faq-card,
  .contact-card,
  .form-card,
  .product-note,
  .split > div:first-child:not(.image-panel) {
    padding: 24px;
  }

  .cta-band {
    padding: 32px 24px;
  }

  .page-hero {
    padding: 64px 0 48px;
    background: var(--canvas);
  }

  .fact-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
