:root {
  color-scheme: light;
  --bg: #f7f8f6;
  --surface: #ffffff;
  --line: #d9e2de;
  --text: #122026;
  --muted: #63716e;
  --teal: #087f8c;
  --ink: #16252c;
  --amber: #c58a2a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 "Segoe UI", Arial, sans-serif; color: var(--text); background: var(--bg); }
a { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; justify-content: space-between; min-height: 68px; padding: 14px clamp(18px, 4vw, 56px); background: rgba(247, 248, 246, 0.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--teal); color: #fff; font-weight: 800; }
.site-header nav { display: flex; gap: 18px; color: var(--muted); font-size: 14px; }
.site-header nav a, .login-link { text-decoration: none; }
.login-link { border: 1px solid var(--line); border-radius: 7px; padding: 8px 12px; background: #fff; }
.hero { min-height: calc(100vh - 68px); display: grid; grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1.15fr); align-items: center; gap: clamp(20px, 4vw, 54px); padding: clamp(28px, 5vw, 72px) clamp(18px, 4vw, 56px); }
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 10px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
h1, h2 { margin: 0; line-height: 1.08; letter-spacing: 0; }
h1 { font-size: clamp(40px, 6vw, 74px); }
h2 { font-size: clamp(28px, 4vw, 46px); }
.hero p:not(.eyebrow), .section-title p, .integration p, .signup p { color: var(--muted); max-width: 620px; }
.hero img { width: 100%; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 24px 80px rgba(18, 32, 38, 0.16); object-fit: cover; aspect-ratio: 16 / 10; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button, button { border: 0; border-radius: 7px; padding: 11px 14px; font-weight: 800; text-decoration: none; cursor: pointer; }
.primary, button { background: var(--teal); color: #fff; }
.secondary { background: #e7f1f1; color: var(--teal); }
.section { padding: 64px clamp(18px, 4vw, 56px); }
.section-title { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.benefit-grid article { min-height: 142px; display: grid; align-content: start; gap: 10px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.benefit-grid span, .faq p { color: var(--muted); }
.steps ol { display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; background: var(--ink); color: #fff; border-radius: 8px; padding: 18px; min-height: 120px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 16px; border-radius: 999px; background: var(--amber); color: #111; font-weight: 800; }
.integration, .signup { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr); gap: 28px; align-items: start; }
pre { margin: 0; overflow: auto; background: #101a20; color: #d7f7f5; border-radius: 8px; padding: 22px; border: 1px solid #263842; }
code { font-family: Consolas, monospace; font-size: 14px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 800; }
input, select { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 10px; font: inherit; background: #fff; color: var(--text); }
form button { grid-column: 1 / -1; }
button:disabled { opacity: .58; cursor: not-allowed; }
.form-message { grid-column: 1 / -1; min-height: 20px; margin: 0; color: #247a4d; font-size: 13px; font-weight: 800; }
.form-message.error { color: #b42318; }
.faq { display: grid; gap: 12px; max-width: 960px; margin: 0 auto; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
summary { cursor: pointer; font-weight: 800; }
footer { display: flex; justify-content: space-between; padding: 24px clamp(18px, 4vw, 56px); border-top: 1px solid var(--line); color: var(--muted); }

@media (max-width: 920px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .site-header nav { flex-wrap: wrap; }
  .hero, .integration, .signup { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  h1 { font-size: 38px; }
  .benefit-grid, .steps ol, form { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 6px; }
}
