:root {
  --blue-900: #073b4c;
  --blue-800: #0b4f6c;
  --blue-600: #1677a3;
  --green-700: #247a4b;
  --green-500: #31a86b;
  --green-100: #e9f7ef;
  --ink: #17252f;
  --muted: #637381;
  --line: #dfe8ec;
  --bg: #f7fbfc;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(7, 59, 76, 0.14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 251, 252, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 232, 236, 0.8);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-800), var(--green-500));
  letter-spacing: -0.04em;
}
.brand-text { color: var(--blue-900); font-size: 1.05rem; }
.nav { display: flex; align-items: center; gap: 22px; color: var(--blue-900); font-weight: 600; }
.nav a { opacity: 0.82; }
.nav a:hover { opacity: 1; color: var(--green-700); }
.nav-cta { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.section { padding: 86px clamp(20px, 5vw, 72px); max-width: 1220px; margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 42px; align-items: center; min-height: 680px; }
.eyebrow { color: var(--green-700); font-weight: 800; text-transform: uppercase; letter-spacing: 0.13em; font-size: 0.78rem; margin: 0 0 14px; }
h1, h2, h3 { color: var(--blue-900); line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); letter-spacing: -0.06em; max-width: 920px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.045em; margin-bottom: 20px; }
h3 { font-size: 1.25rem; letter-spacing: -0.025em; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); max-width: 760px; margin: 26px 0 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  cursor: pointer;
}
.primary { background: linear-gradient(135deg, var(--blue-800), var(--green-500)); color: var(--white); box-shadow: 0 14px 30px rgba(49, 168, 107, 0.24); }
.secondary { background: var(--white); color: var(--blue-900); border: 1px solid var(--line); }
.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.metric { padding: 22px 0; border-bottom: 1px solid var(--line); }
.metric:last-child { border-bottom: 0; }
.metric strong { display: block; color: var(--green-700); font-size: 2.7rem; line-height: 1; }
.metric span { color: var(--muted); font-weight: 650; }
.intro { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 42px; align-items: start; }
.intro p:last-child, .section-lead { font-size: 1.1rem; color: var(--muted); }
.cards { display: grid; gap: 22px; margin-top: 28px; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 220px;
  box-shadow: 0 10px 30px rgba(7, 59, 76, 0.06);
}
.card p { color: var(--muted); margin-bottom: 0; }
.process { background: linear-gradient(180deg, rgba(233, 247, 239, 0.72), rgba(255,255,255,0)); border-radius: 36px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.steps div { background: rgba(255,255,255,0.78); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.steps span { display: inline-block; color: var(--green-700); font-weight: 900; margin-bottom: 18px; }
.steps p { color: var(--muted); margin-bottom: 0; }
.api-section { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.api-copy p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li { margin: 10px 0; padding-left: 28px; position: relative; font-weight: 650; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green-700); font-weight: 900; }
.code-card { overflow: hidden; background: #092d3a; color: #e8fbf2; border-radius: var(--radius); box-shadow: var(--shadow); }
.code-top { display: flex; gap: 8px; padding: 16px; background: #062531; }
.code-top span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.38); }
pre { margin: 0; padding: 24px; overflow: auto; font-size: 0.95rem; }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 30px; }
.team-grid span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 13px 16px; text-align: center; font-weight: 750; color: var(--blue-900); }
.clients { text-align: center; max-width: 920px; }
.clients p:last-child { color: var(--muted); font-size: 1.1rem; }
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 34px; align-items: start; }
.contact p { color: var(--muted); }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
label { display: grid; gap: 8px; margin-bottom: 16px; font-weight: 750; color: var(--blue-900); }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; font: inherit; background: #fbfdfe; }
input:focus, textarea:focus { outline: 3px solid rgba(49, 168, 107, 0.2); border-color: var(--green-500); }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 32px clamp(20px, 5vw, 72px); border-top: 1px solid var(--line); color: var(--muted); }
.site-footer a { color: var(--blue-800); font-weight: 800; }
@media (max-width: 920px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .nav { flex-wrap: wrap; gap: 14px; }
  .hero, .intro, .api-section, .contact { grid-template-columns: 1fr; min-height: auto; }
  .three, .steps { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .section { padding-block: 58px; }
  .three, .steps, .team-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
}
.language-switcher {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.language-switcher button {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  background: transparent;
  color: var(--blue-900);
  font-weight: 800;
  cursor: pointer;
}
.language-switcher button.active,
.language-switcher button:hover {
  background: var(--green-100);
  color: var(--green-700);
}
.inline-button { margin-top: 24px; }
.compact-hero { min-height: auto; padding-top: 96px; padding-bottom: 52px; }
.api-docs {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.api-docs p { color: var(--muted); }
.cards-section { padding-top: 44px; }
@media (max-width: 1080px) {
  .api-docs { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .language-switcher { margin-top: 2px; }
}
