:root {
  --ink: #222936;
  --slate: #59708f;
  --muted: #5f7188;
  --line: #d8e1eb;
  --control-border: #74879e;
  --soft: #f4f7fa;
  --blue: #006f9f;
  --success: #087d68;
  --shadow: 0 28px 80px rgb(38 60 83 / 12%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.site-header {
  height: 88px;
  padding: 0 clamp(24px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 92%);
  position: relative;
  z-index: 2;
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 750; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; }
nav { display: flex; align-items: center; gap: 32px; }
nav a { text-decoration: none; font-weight: 650; }
.header-cta { border: 1px solid var(--control-border); border-radius: 999px; padding: 12px 20px; }
h1, h2, h3, p { text-wrap: balance; }
.primary-cta { display: inline-flex; align-items: center; gap: 24px; padding: 17px 24px; border-radius: 999px; background: var(--ink); color: white; text-decoration: none; font-size: 17px; }
.primary-cta span { color: #5ee1df; font-size: 20px; }
.options { padding: 22px clamp(24px, 5vw, 72px) 120px; }
.section-heading { max-width: none; margin-bottom: 48px; }
h1, h2 { margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1.05; letter-spacing: -.045em; }
.mode-groups { display: grid; grid-template-columns: 2fr 3fr; gap: 16px; }
.group-label { height: 40px; display: flex; align-items: center; gap: 12px; color: var(--slate); font-size: 11px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.group-label::before, .group-label::after { content: ""; height: 8px; flex: 1; border-top: 1px solid #bfcddd; }
.group-label::before { border-left: 1px solid #bfcddd; }
.group-label::after { border-right: 1px solid #bfcddd; }
.mode-tabs { display: grid; border: 1px solid var(--control-border); border-radius: 16px; overflow: hidden; }
.mode-tabs--display { grid-template-columns: repeat(2, 1fr); }
.mode-tabs--behavior { grid-template-columns: repeat(3, 1fr); }
.mode-tab { min-height: 128px; padding: 19px 22px; display: grid; gap: 6px; text-align: left; border: 0; border-right: 1px solid var(--control-border); background: #fff; color: var(--ink); cursor: pointer; transition: background .2s ease, color .2s ease; }
.mode-tab:last-child { border-right: 0; }
.mode-tab:hover { background: var(--soft); }
.mode-tab.is-active { color: white; background: var(--ink); }
.mode-tab.is-active:focus-visible { outline-color: #5ee1df; outline-offset: -5px; }
.mode-number { color: var(--blue); font-size: 12px; font-weight: 760; letter-spacing: .08em; }
.is-active .mode-number { color: #5ee1df; }
.mode-tab strong { align-self: end; font-size: 20px; }
.mode-tab small { color: var(--muted); font-size: 13px; }
.is-active small { color: #b8c9da; }
.demo-panel { margin-top: 24px; min-height: 610px; display: grid; grid-template-columns: .88fr 1.12fr; overflow: hidden; border-radius: 22px; background: #eef3f7; }
.mode-explainer { padding: clamp(40px, 5vw, 72px); align-self: center; }
.mode-explainer h3 { margin: 0 0 18px; font-size: clamp(34px, 3.7vw, 54px); line-height: 1.04; letter-spacing: -.04em; }
.mode-explainer > p { color: var(--slate); font-size: 18px; line-height: 1.55; }
dl { margin: 34px 0 0; border-top: 1px solid #cbd7e2; }
dl div { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid #cbd7e2; }
dt { color: var(--muted); font-size: 13px; font-weight: 650; }
dd { margin: 0; font-size: 14px; font-weight: 650; }
code { color: #006e9e; background: #fff; padding: 4px 6px; border-radius: 5px; }
.integration-preview { margin: 40px; border: 1px solid #cbd7e2; border-radius: 16px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.preview-bar { height: 42px; display: flex; gap: 7px; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--line); background: #f8fafc; }
.preview-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #c3cfdb; }
.preview-bar small { margin: auto; padding-right: 43px; color: var(--muted); }
.demo-form { width: min(100% - 42px, 390px); margin: 0 auto; padding: 42px 0 30px; }
.demo-brand { color: var(--ink); font-size: 19px; font-weight: 850; letter-spacing: .15em; }.demo-brand span { color: var(--blue); font-size: 10px; vertical-align: top; }
.demo-form h3 { margin: 30px 0 7px; font-size: 31px; letter-spacing: -.035em; }.demo-form > p { color: var(--muted); }
label { display: grid; gap: 7px; margin-top: 18px; color: var(--slate); font-size: 13px; font-weight: 680; }
input { width: 100%; height: 47px; padding: 0 13px; border: 1px solid var(--control-border); border-radius: 8px; color: var(--ink); background: #fff; }
input:focus { border-color: var(--blue); outline: 3px solid var(--blue); outline-offset: 2px; }
.captcha-container { min-height: 0; overflow: hidden; }
.captcha-container.has-visible-widget { min-height: 98px; padding-top: 20px; }
.captcha-slot[hidden] { display: none; }
.submit-button { width: 100%; margin-top: 20px; padding: 14px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; cursor: pointer; font-weight: 720; }
.submit-button:hover { background: #344155; }
.demo-status { min-height: 36px; margin: 13px 0 0; font-size: 12px; line-height: 1.45; }.demo-status[data-state="success"] { color: var(--success); }.demo-status[data-state="warning"] { color: #9a6400; }.demo-status[data-state="error"] { color: #bb3043; }
.demo-status:empty { display: none; }
.legal { text-align: center; font-size: 11px; }.legal a { color: var(--slate); }
.comparison { padding: 110px clamp(24px, 5vw, 72px); background: var(--ink); color: white; }
.comparison-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 56px; border-top: 1px solid #4d5b6e; border-bottom: 1px solid #4d5b6e; }
.comparison-grid div { min-height: 180px; padding: 27px 20px; display: flex; flex-direction: column; border-right: 1px solid #4d5b6e; }.comparison-grid div:last-child { border: 0; }
.comparison-grid span { color: #9db1c9; font-size: 13px; }.comparison-grid strong { margin-top: auto; font-size: 23px; }.comparison-grid small { color: #9db1c9; margin-top: 7px; line-height: 1.4; }
.closing { padding: 120px 24px; text-align: center; }.closing h2 { max-width: 760px; padding-bottom: 30px; margin: auto; }.closing p { margin: 22px auto 30px; color: var(--slate); font-size: 20px; }.closing > div { display: flex; justify-content: center; align-items: center; gap: 28px; }.text-link { color: var(--blue); font-weight: 700; text-decoration: none; }
footer { padding: 30px clamp(24px, 5vw, 72px) calc(30px + env(safe-area-inset-bottom)); display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; border-top: 1px solid var(--line); color: var(--muted); background: #fff; font-size: 13px; position: relative; z-index: 1; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--slate); font-weight: 700; }
.footer-legal { display: grid; gap: 6px; text-align: right; }
.footer-legal strong { color: var(--slate); font-weight: 700; }

@media (max-width: 980px) {
  .mode-groups { grid-template-columns: 1fr; }
  .demo-panel { grid-template-columns: 1fr; }.integration-preview { min-height: 570px; }.comparison-grid { grid-template-columns: repeat(2, 1fr); }.comparison-grid div { border-bottom: 1px solid #4d5b6e; }
}
@media (max-width: 620px) {
  .site-header { height: 72px; }.brand span { display: none; }nav { gap: 18px; }.header-cta { padding: 9px 13px; }
  .options { padding-top: 16px; padding-bottom: 80px; }.comparison { padding-top: 78px; padding-bottom: 80px; }
  .mode-tab { min-height: 98px; padding: 14px 12px; }.mode-tab strong { font-size: 16px; }
  .mode-explainer { padding: 36px 24px; }.integration-preview { margin: 0 12px 24px; min-height: auto; }.demo-form { padding-top: 30px; }
  .comparison-grid { grid-template-columns: 1fr; }.comparison-grid div { min-height: 130px; }.closing { padding: 80px 24px 40px; }.closing > div { flex-direction: column; }
  footer { gap: 22px; flex-direction: column; padding-bottom: 200px; }
  .footer-legal { gap: 8px; text-align: left; }
}

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