:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #52627a;
  --primary: #1f78d1;
  --primary-dark: #15589b;
  --surface: #ffffff;
  --soft: #eef7ff;
  --danger: #ba1a1a;
  --border: #d8e4ef;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(145deg, #eaf6fb 0%, #f7fbff 45%, #fff 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.75;
}
a { color: var(--primary-dark); }
.shell { width: min(900px, calc(100% - 32px)); margin: 0 auto; }
header {
  padding: 20px 0;
  border-bottom: 1px solid rgba(20, 33, 61, .08);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px);
}
nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.brand { margin-inline-end: auto; color: var(--ink); font-size: 1.25rem; font-weight: 800; text-decoration: none; }
nav a:not(.brand) { font-size: .93rem; text-decoration: none; }
main { padding: 56px 0 72px; }
.card {
  padding: clamp(24px, 5vw, 50px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 70px rgba(30, 93, 145, .12);
}
h1 { margin: 0 0 12px; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.12; }
h2 { margin: 36px 0 8px; font-size: 1.35rem; }
p, li { color: var(--muted); }
.lede { max-width: 720px; font-size: 1.08rem; }
.meta { color: var(--muted); font-size: .9rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button, button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button.secondary { background: var(--soft); color: var(--primary-dark); }
.notice { margin: 24px 0; padding: 16px 18px; border-inline-start: 4px solid var(--primary); border-radius: 12px; background: var(--soft); }
.danger { border-inline-start-color: var(--danger); background: #fff3f2; }
form { display: grid; gap: 18px; margin-top: 28px; }
label { display: grid; gap: 7px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #b7c8d8;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 110px; resize: vertical; }
.honeypot { position: absolute; left: -10000px; opacity: 0; pointer-events: none; }
.status { display: none; padding: 15px; border-radius: 12px; }
.status.visible { display: block; }
.status.success { color: #145c38; background: #e7f8ef; }
.status.error { color: #8c1515; background: #fff0ef; }
footer { padding: 28px 0 42px; color: var(--muted); text-align: center; font-size: .9rem; }
[dir="ltr"] { text-align: left; }
@media (max-width: 620px) {
  main { padding-top: 28px; }
  nav a:not(.brand) { display: none; }
}
