:root{
  color-scheme:dark;
  --background:#07111f;
  --card:#101c30;
  --card-soft:#14243d;
  --text:#f8fafc;
  --muted:#cbd5e1;
  --blue:#2563eb;
  --blue-light:#60a5fa;
  --gold:#f59e0b;
  --green:#16a34a;
  --red:#dc2626;
  --border:rgba(255,255,255,.14);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(circle at top left,rgba(37,99,235,.24),transparent 34rem),
    var(--background);
  color:var(--text);
  font-family:Montserrat,Arial,Helvetica,sans-serif;
  line-height:1.65;
}

a{color:#93c5fd}
a:hover{color:#bfdbfe}

.page{
  width:min(920px,calc(100% - 30px));
  margin:0 auto;
  padding:28px 0 55px;
}

.back{
  display:inline-block;
  margin-bottom:18px;
  color:#fff;
  text-decoration:none;
  font-weight:800;
}

.card{
  padding:clamp(22px,5vw,46px);
  border:1px solid var(--border);
  border-radius:24px;
  background:rgba(16,28,48,.97);
  box-shadow:0 18px 55px rgba(0,0,0,.28);
}

h1{
  margin:0 0 10px;
  font-size:clamp(30px,6vw,48px);
  line-height:1.15;
}

h2{
  margin:34px 0 10px;
  font-size:clamp(21px,4vw,28px);
  line-height:1.25;
}

h3{margin:24px 0 8px}
p,ul,ol{margin:0 0 16px}
li+li{margin-top:6px}

.lead{
  margin-bottom:26px;
  color:var(--muted);
  font-size:17px;
}

.notice{
  margin:22px 0;
  padding:16px 18px;
  border:1px solid rgba(96,165,250,.5);
  border-radius:14px;
  background:rgba(37,99,235,.15);
}

.notice.warning{
  border-color:rgba(245,158,11,.55);
  background:rgba(245,158,11,.13);
}

.notice.success{
  border-color:rgba(34,197,94,.55);
  background:rgba(22,163,74,.14);
}

.notice.error{
  border-color:rgba(239,68,68,.55);
  background:rgba(220,38,38,.14);
}

.contact{
  padding:18px;
  border-radius:14px;
  background:var(--card-soft);
}

.form-card{
  margin-top:28px;
  padding:clamp(18px,4vw,30px);
  border:1px solid var(--border);
  border-radius:18px;
  background:var(--card-soft);
}

.field{margin-bottom:20px}

label{
  display:block;
  margin-bottom:7px;
  font-weight:800;
}

input,select,textarea{
  width:100%;
  min-height:48px;
  padding:12px 14px;
  border:2px solid transparent;
  border-radius:11px;
  background:#fff;
  color:#111827;
  font:inherit;
}

textarea{
  min-height:115px;
  resize:vertical;
}

input:focus,select:focus,textarea:focus{
  outline:0;
  border-color:var(--blue-light);
}

.hint{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
}

.honeypot{
  position:absolute!important;
  left:-10000px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}

.button{
  display:inline-flex;
  min-height:50px;
  align-items:center;
  justify-content:center;
  padding:13px 20px;
  border:0;
  border-radius:12px;
  background:var(--blue);
  color:#fff;
  font:800 16px Montserrat,Arial,sans-serif;
  text-decoration:none;
  cursor:pointer;
}

.button:hover{color:#fff;filter:brightness(1.08)}
.button:disabled{cursor:not-allowed;opacity:.58}
.button.danger{background:var(--red)}
.button.wide{width:100%}

.result{
  display:none;
  margin-top:24px;
}

.result.show{display:block}

.legal-footer{
  width:min(920px,calc(100% - 30px));
  margin:0 auto;
  padding:0 0 35px;
  text-align:center;
  color:var(--muted);
  font-size:14px;
}

.legal-footer nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:9px 15px;
  margin-bottom:12px;
}

.legal-footer a{font-weight:700}

.important-link{
  color:#fde68a!important;
  font-weight:900!important;
}

.model-form{
  padding:18px;
  border-left:4px solid var(--blue-light);
  background:rgba(255,255,255,.06);
  white-space:pre-line;
}

@media(max-width:600px){
  .page{width:min(100% - 20px,920px);padding-top:15px}
  .card{border-radius:18px}
  .legal-footer{width:min(100% - 20px,920px)}
}
