:root {
  --background: #f4f7ff;
  --paper: #ffffff;
  --text: #172033;
  --muted: #5d687c;
  --accent: #2563eb;
  --danger: #b42318;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: radial-gradient(circle at 10% 10%, rgba(37,99,235,.11), transparent 35%), linear-gradient(105deg, rgba(255,255,255,.22), rgba(238,244,255,.45)), var(--background);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
}
.page-shell { width: min(650px, calc(100% - 32px)); margin: 0 auto; padding: clamp(68px, 10.4vh, 124px) 0 70px; }
.intro { text-align: center; }
.brand-mark { display: block; width: 74px; height: 74px; margin: 0 auto 14px; object-fit: contain; mix-blend-mode: multiply; }
h1 { margin: 0; font-family: "Lora", Georgia, serif; font-size: clamp(2rem, 3vw, 2.55rem); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; }
h1 span { color: #2563eb; }
.lead { margin: 15px 0 13px; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.benefits { width: fit-content; margin: 0 auto 13px; padding: 0; list-style: none; text-align: left; color: #536174; font-size: .94rem; line-height: 1.72; }
.benefits li { display: flex; align-items: center; gap: 8px; }
.benefits li > span { font-size: .91rem; line-height: 1; }
.form-card { width: 100%; padding: 24px 22px 21px; background: rgba(255,255,255,.94); border: 1px solid rgba(148,163,184,.42); border-radius: 20px; box-shadow: 0 15px 36px rgba(37,68,132,.09); }
form { display: block; }
.field { margin-bottom: 10px; }
label { display: block; margin: 0 0 7px; color: #4b5870; font-size: .88rem; font-weight: 700; }
label span { color: inherit; }
input[type="text"], input[type="email"], input[type="tel"] { width: 100%; height: 48px; padding: 0 15px; border: 1px solid #cbd5e1; border-radius: 11px; outline: none; background: rgba(248,250,255,.78); color: var(--text); font: inherit; font-size: .96rem; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
input::placeholder { color: #94a0b3; }
input:focus { border-color: #3b82f6; background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.13); }
input[aria-invalid="true"] { border-color: var(--danger); }
.error { display: block; min-height: 0; margin: 4px 0 -2px; color: var(--danger); font-size: .74rem; }
.error:not(:empty) { min-height: 1em; }
button { position: relative; overflow: hidden; width: 100%; height: 62px; margin-top: 1px; border: 0; border-radius: 999px; background: #2563eb; color: white; box-shadow: 0 18px 44px -14px rgba(37,99,235,.55); font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; opacity: 0; animation: optRise .5s cubic-bezier(.2,.7,.2,1) .62s forwards; transition: transform .18s cubic-bezier(.2,.7,.2,1), box-shadow .22s, background .2s, color .2s, border-color .2s; }
button::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: optPulse 2.6s ease-in-out 1.6s infinite; }
.button-shine { position: absolute; inset: 0 auto 0 -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent); transform: skewX(-18deg); animation: optShine 3.4s ease-in-out 2s infinite; pointer-events: none; }
button:hover { background: #1d4ed8; transform: translateY(-2px); }
button:active { transform: translateY(0); }
button:focus-visible { outline: 3px solid rgba(37,99,235,.28); outline-offset: 3px; }
@keyframes optRise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes optShine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
@keyframes optPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,.42); } 50% { box-shadow: 0 0 0 9px rgba(37,99,235,0); } }
.form-message { min-height: 0; margin-top: 5px; text-align: center; color: var(--danger); font-size: .78rem; }
.redirect-note { margin: 13px 0 0; text-align: center; color: #8792a6; font-size: .78rem; }
@media (max-width: 680px) {
  .page-shell { padding: 42px 0 45px; }
  .brand-mark { width: 68px; height: 68px; }
  h1 { font-size: clamp(2rem, 9.3vw, 2.55rem); }
  .lead { font-size: .98rem; }
  .lead br { display: none; }
  .benefits { font-size: .84rem; line-height: 1.55; }
  .benefits li { align-items: flex-start; margin-bottom: 5px; }
  .form-card { padding: 22px 18px 18px; }
}
@media (max-width: 420px) {
  .page-shell { width: min(100% - 20px, 650px); padding-top: 28px; }
  .benefits { width: 100%; }
  input[type="text"], input[type="email"], input[type="tel"] { height: 46px; }
  button { height: 57px; font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } button { opacity: 1; } .button-shine { display: none; } }
