:root {
  color-scheme: dark;
  --bg: #0b0c0e;
  --surface: #141518;
  --text: #f5f4f0;
  --muted: #b0afb8;
  --line: #2c2d33;
  --accent: #dac9ff;
  --signal: #8be5b6;
  --mono: "JetBrains Mono", Consolas, monospace;
  font-family: "Golos Text", "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(ellipse 620px 450px at 79% 275px, #22182e, transparent 96%), var(--bg);
  color: var(--text);
  line-height: 1.55;
}
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #161022; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
.shell { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 86px; border-bottom: 1px solid var(--line); }
.topbar nav { display: flex; align-items: center; gap: clamp(12px, 4vw, 36px); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; }
.brand-mark {
  display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px;
  background: linear-gradient(145deg, #ef439d, #7125c9 82%); color: white; font-size: 12px;
}
.site-link, .nav-demo { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: .875rem; }
.site-link { color: var(--muted); }
.nav-demo { border: 1px solid #51475d; padding-inline: 14px; border-radius: 100px; }
.site-link:hover, .nav-demo:hover { color: var(--accent); }
.hero { display: grid; grid-template-columns: 1.28fr 1fr; align-items: center; gap: clamp(30px, 5.2vw, 80px); padding-block: clamp(72px, 9vw, 120px); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font: 500 .74rem/1.45 var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.signal { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--signal); box-shadow: 0 0 14px #8be5b65c; }
h1 { font-size: clamp(3rem, 5.5vw, 5.3rem); line-height: .99; font-weight: 700; letter-spacing: -.07em; margin-block: 22px; }
h1 span { display: block; color: var(--accent); }
.lead { max-width: 49ch; color: var(--muted); font-size: clamp(1rem, 1.55vw, 1.2rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 28px; }
.button, .text-link {
  display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px;
  font-size: .9375rem; font-weight: 600; transition: background .2s, color .2s, transform .2s;
}
.button { padding: 10px 18px; border: 1px solid transparent; border-radius: 10px; }
.primary { color: #171124; background: var(--accent); }
.primary:hover { background: #ebe1ff; transform: translateY(-2px); }
.primary:active { transform: translateY(0); }
.text-link { color: var(--muted); }
.text-link:hover { color: var(--text); }
.hero-copy { animation: enter .58s cubic-bezier(.22,1,.36,1) both; }
.ac-landing .ac-card { animation: enter .68s .08s cubic-bezier(.22,1,.36,1) both; }
@keyframes enter { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.section { border-top: 1px solid var(--line); padding-block: 65px 76px; }
section[id] { scroll-margin-top: 14px; }
h2 { margin-top: 12px; font-size: clamp(2rem, 3.8vw, 3.6rem); line-height: 1.07; letter-spacing: -.054em; }
.section-lead { color: var(--muted); max-width: 65ch; margin-top: 13px; }
.demo-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 25px 0 0; }
.demo-steps li { padding: 8px 0 2px; border-top: 2px solid var(--line); color: var(--muted); font-size: .82rem; }
.demo-steps [aria-current="step"] { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.workbench { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 29px; }
.panel { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.panel-head {
  display: flex; align-items: center; flex-wrap: wrap; gap: 9px; min-height: 62px; padding: 10px 18px;
  border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 600;
}
.panel-head h3 { font-size: inherit; font-weight: inherit; }
.panel-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #292334; color: var(--accent); }
.panel-icon svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.panel-body { padding: 18px; }
.examples { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.examples button { min-height: 44px; padding-inline: 12px; background: transparent; border: 1px solid #40394a; color: var(--accent); border-radius: 8px; font-size: .8rem; }
.examples button:hover { background: #282134; }
textarea {
  resize: vertical; display: block; width: 100%; min-height: 170px; padding: 14px; border: 1px solid #44414c;
  border-radius: 10px; background: #101014; color: var(--text); font-size: 1rem; line-height: 1.6;
}
textarea::placeholder { color: var(--muted); }
.form-actions { display: flex; gap: 10px 16px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.form-actions > span { color: var(--muted); font-size: .78rem; }
.panel-body noscript p { margin-top: 10px; color: var(--muted); }
.result-state { margin-inline-start: auto; color: var(--muted); font: 400 .67rem/1.25 var(--mono); }
.result-panel[data-status="ready"] .result-state { color: var(--signal); }
.empty-state { min-height: 225px; display: grid; place-items: center; text-align: center; border: 1px dashed #484351; border-radius: 10px; padding: 20px; color: var(--muted); font-size: .9375rem; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.result-grid > div { min-width: 0; padding: 11px 12px; border-radius: 8px; background: #1d1c22; overflow-wrap: anywhere; }
.result-grid dt { margin-bottom: 4px; color: var(--muted); font: 400 .72rem/1.3 var(--mono); }
.result-grid dd { font-size: .875rem; }
.result-grid .missing { color: var(--muted); }
.follow-up { margin-top: 14px; padding: 12px; background: #262036; border-radius: 9px; }
.follow-up h4 { color: var(--accent); font-size: .875rem; }
.follow-up ul { margin: 6px 0 0; padding-inline-start: 18px; font-size: .875rem; }
.follow-up li + li { margin-top: 4px; }
.moving-stage { margin-top: 17px; padding-top: 16px; border-top: 1px solid var(--line); }
.moving-stage h4 { font-size: 1.06rem; }
.moving-stage h4:focus { outline: none; }
.moving-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.moving-fields:not(:empty) { margin-top: 12px; }
.moving-fields label { display: grid; align-content: start; gap: 5px; min-width: 0; color: var(--muted); font-size: .82rem; }
.moving-fields input, .moving-fields select {
  width: 100%; min-width: 0; min-height: 44px; padding: 8px; border: 1px solid #484351; border-radius: 8px;
  background: #101014; color: var(--text); font: inherit; font-size: 1rem;
}
.moving-wide { grid-column: 1 / -1; }
.button.secondary { background: transparent; border-color: #51475d; color: var(--accent); }
.button.secondary:hover { background: #282134; }
.quote-lines { margin-top: 9px; font-size: .875rem; }
.quote-lines > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.quote-lines > div:last-child { padding-block: 10px; color: var(--accent); font-weight: 700; }
.quote-lines dd { white-space: nowrap; }
.slot-fieldset { min-width: 0; border: 0; margin: 14px 0 0; padding: 0; }
.slot-fieldset legend { padding: 0; font-size: .875rem; font-weight: 600; }
.moving-note { margin: 6px 0 10px; color: var(--muted); font-size: .82rem; }
.slot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.slot-grid label {
  display: flex; gap: 8px; align-items: center; min-height: 44px; padding: 7px 9px; border: 1px solid #51475d;
  border-radius: 8px; font-size: .875rem; cursor: pointer;
}
.slot-grid label:has(:checked) { border-color: var(--accent); background: #282134; }
.slot-grid label:has(:disabled) { color: var(--muted); border-style: dashed; cursor: default; }
.slot-grid input { margin: 0; accent-color: var(--accent); }
.booking h4 { color: var(--signal); }
#result-data.show { animation: enter .34s cubic-bezier(.22,1,.36,1) both; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.integration-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.integration-grid article { padding: 17px 16px 4px 0; border-top: 1px solid #625175; }
.integration-grid h3 { font-size: 1.08rem; }
.integration-grid p { margin-top: 7px; color: var(--muted); }
.contact {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; border: 1px solid #504458;
  border-radius: 18px; padding: clamp(20px, 4vw, 46px); background: radial-gradient(ellipse at 95% 110%, #382644, #17141b 80%);
}
.contact p:not(.eyebrow) { margin-top: 12px; max-width: 49ch; color: var(--muted); }
.contact-actions { display: grid; justify-items: start; gap: 5px; flex-shrink: 0; }
.footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; min-height: 104px; margin-top: 38px; border-top: 1px solid var(--line); }

@media (max-width: 980px) {
  .shell { width: calc(100% - 48px); }
  .hero { gap: 26px; padding-block: 54px 64px; }
  h1 { letter-spacing: -.06em; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .topbar { min-height: 66px; }
  .hero, .workbench { grid-template-columns: 1fr; }
  .hero { padding-block: 38px 65px; gap: 28px; }
  h1 { font-size: clamp(2.65rem, 8.3vw, 4.2rem); margin-block: 16px; }
  .actions { margin-top: 18px; }
  .section { padding-block: 47px; }
  .contact { align-items: flex-start; flex-direction: column; gap: 19px; }
}
@media (max-width: 460px) {
  .shell { width: calc(100% - 30px); }
  .actions { gap: 3px 16px; }
  .integration-grid { grid-template-columns: 1fr; }
  .panel-head, .panel-body { padding-inline: 12px; }
  .result-state { margin-inline-start: 0; }
  .empty-state { min-height: 115px; }
  .demo-steps { gap: 6px; }
  .demo-steps li { font-size: .73rem; }
  .moving-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
