/* LERN-inspired, clean corporate look */
:root{
  --brand-navy:#0b2c55;
  --brand-blue:#0e5aa7;
  --brand-accent:#f2a900;

  --ink-900:#0b1220;
  --ink-700:#2c3442;
  --ink-500:#5d6676;

  --bg-50:#f6f8fb;
  --card:#ffffff;
  --line:#e6ebf2;

  --radius:14px;
  --shadow:0 10px 24px rgba(14,90,167,.08), 0 2px 6px rgba(11,44,85,.06);
}

@media (prefers-color-scheme: dark){
  :root{
    --bg-50:#0c1420;
    --card:#0f1b2b;
    --ink-900:#f5f8ff;
    --ink-700:#d6def0;
    --ink-500:#a9b4c8;
    --line:#1e2a3d;
    --shadow:none;
  }
}

*{box-sizing:border-box}

html,body{height:100%}

body{
  margin:0;
  padding:40px 16px;
  background:linear-gradient(180deg, var(--bg-50), #fff 55%);
  color:var(--ink-900);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

h2,h3{
  text-align:center;
  color:var(--brand-navy);
  margin:0 0 14px;
  letter-spacing:.2px;
}

/* Card-ish sections */
.section{
  max-width:900px;
  margin:18px auto 28px;
  padding:18px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

/* Inline form layout on wide screens */
.section form{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
}
.section form input[type="text"]{min-width:0}

/* Inputs */
input[type="text"],
input[type="url"],
textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:var(--ink-900);
  outline:none;
  transition:border .15s, box-shadow .15s, background .15s;
}

input:focus, textarea:focus{
  border-color:#1f6fff;
  box-shadow:0 0 0 3px rgba(31,111,255,.12);
}

textarea{
  height:340px;
  resize:vertical;
  line-height:1.45;
  background:linear-gradient(180deg,#fdfefe,#f6f9ff);
}

/* Buttons */
button{
  padding:12px 18px;
  border:0;
  border-radius:10px;
  font-weight:600;
  color:#fff;
  background:linear-gradient(180deg, var(--brand-blue), #0b4a8a);
  box-shadow:0 2px 0 rgba(11,44,85,.15);
  cursor:pointer;
  transition:transform .03s, box-shadow .2s, background .2s;
  white-space:nowrap;
}
button:hover{ box-shadow:0 6px 16px rgba(14,90,167,.24); }
button:active{ transform:translateY(1px); }

/* Error + helper text */
.error{
  color:#b00020;
  text-align:center;
  font-weight:600;
}
.helper{
  text-align:center;
  color:var(--ink-500);
  font-size:.95rem;
  margin-top:6px;
}

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

/* Mobile tweaks */
@media (max-width:720px){
  .section form{ grid-template-columns:1fr; }
  button{ width:100%; }
}
