:root{
  --blue:#0c48bf;
  --green:#7cc241;
  --orange:#ed7600;
  --white:#ffffff;
  --text:#0b1220;
  --muted:#4b5563;
  --card: rgba(255,255,255,.88);
  --ring: rgba(12,72,191,.18);
  --shadow: 0 18px 45px rgba(2, 6, 23, .18);
  --radius: 20px;
  --max: 980px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 10% 10%, rgba(12,72,191,.20), transparent 60%),
    radial-gradient(900px 600px at 90% 25%, rgba(237,118,0,.18), transparent 55%),
    radial-gradient(1000px 600px at 40% 95%, rgba(124,194,65,.20), transparent 60%),
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 55%, #fbfff7 100%);
}

a{ color:var(--blue); text-decoration:none; }
a:hover{ text-decoration:underline; }

.page{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 16px;
}

.shell{
  width:100%;
  max-width:var(--max);
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
}

.logo{
  width:min(1200px, 94vw);
  height:auto;
  filter: drop-shadow(0 10px 22px rgba(12,72,191,.18));
}

.card{
  background:var(--card);
  backdrop-filter: blur(10px);
  border:1px solid rgba(15, 23, 42, .08);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:28px;
  overflow:hidden;
}

.hero{
  text-align:center;
  padding:6px 8px 18px;
}

.badge{
  display:inline-flex;
  gap:10px;
  align-items:center;
  border:1px solid rgba(12,72,191,.18);
  background: rgba(12,72,191,.06);
  padding:8px 12px;
  border-radius:999px;
  font-size:14px;
  color:#0f2f7a;
}

.dot{
  width:10px; height:10px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--green), var(--orange));
  box-shadow:0 0 0 6px rgba(124,194,65,.18);
}

h1{
  margin:14px 0 6px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height:1.08;
  letter-spacing:-.02em;
}

.sub{
  margin:0 auto;
  max-width: 48rem;
  color:var(--muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height:1.6;
}

.grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  margin-top:18px;
}

.panel{
  border-radius:16px;
  border:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.72);
  padding:18px;
}

.panel h2{
  margin:0 0 10px;
  font-size:18px;
  letter-spacing:-.01em;
}

.panel p{
  margin:0 0 12px;
  color:var(--muted);
  line-height:1.65;
  font-size:15px;
}

.hr{
  height:1px;
  background:rgba(15,23,42,.10);
  margin:12px 0 14px;
}

ul{
  padding-left:18px;
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.form-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.form-head .kicker{
  font-size:13px;
  color:#0f2f7a;
  background: rgba(124,194,65,.14);
  border:1px solid rgba(124,194,65,.25);
  padding:6px 10px;
  border-radius:999px;
  white-space:nowrap;
}

label{
  display:block;
  font-size:13px;
  color:#111827;
  margin:12px 0 6px;
}

input, textarea{
  width:100%;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.92);
  padding:12px 12px;
  outline:none;
  font-size:15px;
  transition: box-shadow .15s ease, border-color .15s ease;
}

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

input:focus, textarea:focus{
  border-color: rgba(12,72,191,.45);
  box-shadow: 0 0 0 6px var(--ring);
}

.row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}

.actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:14px;
}

.btn{
  appearance:none;
  border:0;
  cursor:pointer;
  padding:12px 16px;
  border-radius:14px;
  font-weight:700;
  font-size:15px;
  color:var(--white);
  background: linear-gradient(135deg, var(--blue), #0a67ff);
  box-shadow: 0 10px 18px rgba(12,72,191,.22);
  transition: transform .08s ease, filter .15s ease;
}

.btn:hover{ filter:saturate(1.07); }
.btn:active{ transform: translateY(1px); }
.btn[disabled]{ opacity:.6; cursor:not-allowed; }

.meta{
  font-size:12px;
  color:var(--muted);
  line-height:1.5;
}

.flash{
  margin: 0 auto 12px;
  max-width: var(--max);
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: rgba(255,255,255,.78);
}

.flash.ok{
  border-color: rgba(124,194,65,.35);
  background: rgba(124,194,65,.12);
}

.flash.err{
  border-color: rgba(237,118,0,.35);
  background: rgba(237,118,0,.10);
}

footer{
  text-align:center;
  color:var(--muted);
  font-size:12px;
  margin-top:14px;
}

.smallprint{
  opacity:.9;
}

@media (max-width: 900px){
  .grid{ grid-template-columns: 1fr; }
  .row{ grid-template-columns: 1fr; }
  .card{ padding:20px; }
}
