:root {
  color-scheme: dark;
  --navy-950: #050d1c;
  --navy-900: #07152d;
  --panel: #0d2244;
  --blue: #1d4ed8;
  --cyan: #4fd1c5;
  --orange: #ff9b52;
  --white: #ffffff;
  --ink: #0a1730;
  --muted: #617087;
  --line: rgba(10, 36, 76, .13);
  --line-dark: rgba(255, 255, 255, .13);
  --wrap: min(980px, calc(100% - 36px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #f4f7fb; color: var(--ink); font-family: "DM Sans", system-ui, sans-serif; line-height: 1.7; }
.skip { position: fixed; left: 16px; top: -64px; z-index: 1000; padding: 10px 14px; border-radius: 10px; color: var(--ink); background: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 16px 38px rgba(3, 14, 35, .18); }
.skip:focus { top: 14px; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(79, 209, 197, .78); outline-offset: 4px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.top { background: var(--navy-950); color: white; border-bottom: 1px solid var(--line-dark); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: white; text-decoration: none; font: 800 17px "Manrope", sans-serif; letter-spacing: .08em; }
.brand img { width: 34px; height: 34px; }
.back { color: #afbdd2; text-decoration: none; font-size: 13px; font-weight: 700; }
.back:hover { color: white; }
.hero { position: relative; overflow: hidden; padding: 94px 0 82px; background: linear-gradient(145deg, var(--navy-950), #0a2148); color: white; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -280px; border-radius: 50%; background: rgba(29, 78, 216, .26); filter: blur(80px); }
.eyebrow { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: #b9c9e2; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255, 155, 82, .12); }
h1, h2, h3 { font-family: "Manrope", sans-serif; letter-spacing: -.035em; }
h1 { position: relative; z-index: 1; max-width: 760px; margin: 0 0 22px; font-size: clamp(42px, 7vw, 72px); line-height: 1; }
.lead { position: relative; z-index: 1; max-width: 720px; margin: 0; color: #aebdd3; font-size: 18px; }
.meta { position: relative; z-index: 1; margin-top: 26px; color: #8295b2; font-size: 12px; }
.content { padding: 72px 0 96px; }
.notice { margin-bottom: 34px; padding: 18px 20px; border: 1px solid rgba(29, 78, 216, .18); border-radius: 16px; background: #eaf0ff; color: #304463; font-size: 13px; }
.card { margin-bottom: 18px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 16px 50px rgba(7, 21, 45, .06); }
.card h2 { margin: 0 0 12px; font-size: 25px; }
.card h3 { margin: 24px 0 8px; font-size: 17px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p, .card li { color: var(--muted); }
.card ul, .card ol { padding-left: 22px; }
.card li { margin: 7px 0; }
.contact-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 25px; background: var(--navy-900); color: white; }
.contact-card p { color: #9eafc9; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 19px; border-radius: 13px; background: var(--blue); color: white; text-decoration: none; font-weight: 800; white-space: nowrap; box-shadow: 0 14px 32px rgba(29, 78, 216, .28); }
.button:hover { background: #245ce3; }
.demo-hero { padding-bottom: 128px; }
.demo-content { padding-top: 0; margin-top: -62px; position: relative; z-index: 2; }
.demo-layout { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1.55fr); gap: 24px; align-items: start; }
.demo-aside { display: grid; gap: 13px; }
.demo-aside .card { margin: 0; padding: 22px; }
.demo-aside .card h2 { margin-top: 7px; font-size: 18px; }
.demo-aside .card p { margin: 0; font-size: 13px; line-height: 1.6; }
.demo-step { color: var(--blue); font: 800 11px "Manrope", sans-serif; letter-spacing: .12em; }
.demo-direct { margin: 8px 5px 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.demo-direct a { color: var(--ink); }
.demo-form-card { margin: 0; padding: clamp(24px, 4vw, 42px); box-shadow: 0 28px 80px rgba(7, 21, 45, .13); }
.form-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.form-heading .eyebrow { color: var(--blue); margin-bottom: 8px; }
.form-heading h2 { margin: 0; font-size: clamp(26px, 4vw, 36px); }
.form-heading > span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.demo-form { display: grid; gap: 19px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.demo-form label { display: grid; gap: 7px; color: #263a59; font-size: 12px; font-weight: 800; }
.demo-form input, .demo-form select, .demo-form textarea { width: 100%; min-width: 0; border: 1px solid #cfdaea; border-radius: 12px; background: #f8fafd; color: var(--ink); font: 500 14px "DM Sans", sans-serif; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.demo-form input, .demo-form select { height: 49px; padding: 0 13px; }
.demo-form textarea { min-height: 126px; padding: 13px; resize: vertical; line-height: 1.55; }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { outline: 0; border-color: var(--blue); background: white; box-shadow: 0 0 0 4px rgba(29, 78, 216, .1); }
.demo-form input::placeholder, .demo-form textarea::placeholder { color: #8d9aaf; }
.privacy-check { grid-template-columns: 20px 1fr !important; align-items: start; gap: 11px !important; font-weight: 500 !important; line-height: 1.55; }
.privacy-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.privacy-check a { color: var(--blue); }
.form-submit { border: 0; min-height: 54px; cursor: pointer; font-family: "DM Sans", sans-serif; font-size: 14px; gap: 10px; }
.form-note { margin: -4px 0 0; color: var(--muted); text-align: center; font-size: 11px; }
.form-errors { margin-bottom: 22px; padding: 16px 18px; border: 1px solid #f0b8b8; border-radius: 13px; background: #fff2f2; color: #7a2525; font-size: 13px; }
.form-errors ul { margin: 6px 0 0; padding-left: 20px; }
.form-errors li { color: #7a2525; margin: 2px 0; }
.form-success { padding: clamp(30px, 7vw, 70px) 10px; text-align: center; }
.form-success > span { display: inline-grid; width: 62px; height: 62px; place-items: center; border-radius: 50%; background: #e4f7f3; color: #0c846f; font-size: 28px; font-weight: 800; }
.form-success h2 { margin: 22px 0 8px; font-size: clamp(28px, 5vw, 42px); }
.form-success p { max-width: 520px; margin: 0 auto 25px; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.error-hero { min-height: calc(100vh - 142px); display: grid; align-items: center; }
.error-action { position: relative; z-index: 1; margin-top: 30px; }
footer { padding: 30px 0; background: var(--navy-950); color: #8091ab; border-top: 1px solid var(--line-dark); font-size: 12px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot a { color: #aabbd3; text-decoration: none; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 620px) {
  .hero { padding: 72px 0 62px; }
  .lead { font-size: 16px; }
  .content { padding: 50px 0 72px; }
  .card { padding: 23px; border-radius: 18px; }
  .contact-card { grid-template-columns: 1fr; }
  .button { width: 100%; }
  .demo-hero { padding-bottom: 100px; }
  .demo-content { margin-top: -48px; }
  .demo-layout { grid-template-columns: 1fr; }
  .demo-aside { order: 2; }
  .demo-form-card { order: 1; }
  .form-heading { align-items: start; flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
