:root{
  --navy:#000080;
  --bg0:#f8f9ff;
  --bg1:#eef1fb;
  --bg2:#e8ecf8;
  --card:rgba(255,255,255,.92);
  --stroke:rgba(16,20,44,.10);
  --stroke2:rgba(16,20,44,.16);
  --text:#0b0d1d;
  --muted:rgba(11,13,29,.72);
  --radius:18px;
  --shadow: 0 14px 60px rgba(16,20,44,.12);
  --max: 920px;
}

*{ 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;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 18% -10%, rgba(0,0,128,.14), transparent 60%),
    radial-gradient(900px 600px at 85% 0%, rgba(0,0,128,.10), transparent 55%),
    radial-gradient(1000px 650px at 65% 75%, rgba(0,0,128,.08), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 40%, var(--bg2));
}

a{ color: inherit; }
.wrap{ width:min(var(--max), calc(100% - 40px)); margin:0 auto; }

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(248,249,255,.78);
  border-bottom: 1px solid var(--stroke);
}
.topbarInner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:900; letter-spacing:.01em;
  text-decoration:none;
}
.brandMark{
  width:34px; height:34px; border-radius:10px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.72), transparent 55%),
    linear-gradient(135deg, rgba(0,0,128,.95), rgba(0,0,128,.70));
  box-shadow: 0 12px 40px rgba(0,0,128,.18);
  display:grid; place-items:center;
  border:1px solid rgba(16,20,44,.10);
}
.brandLogo{
  width:100%;
  height:100%;
  border-radius:10px;
  object-fit:cover;
  display:block;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:11px 14px;
  border-radius:999px;
  border:1px solid var(--stroke2);
  background: rgba(255,255,255,.70);
  color:rgba(11,13,29,.9);
  font-weight:800;
  font-size:13px;
  text-decoration:none;
  white-space:nowrap;
}
.btnPrimary{
  border-color: rgba(0,0,128,.45);
  background: linear-gradient(135deg, rgba(0,0,128,.95), rgba(0,0,128,.70));
  color:#fff;
}

main{ padding:42px 0 54px; }
.card{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px;
}
h1{ margin:0 0 10px; font-size: clamp(28px, 3.6vw, 40px); letter-spacing:-.02em; }
h2{ margin:22px 0 10px; font-size: 18px; letter-spacing:-.01em; }
p,li{ color: var(--muted); line-height:1.65; }
li + li{ margin-top:6px; }
.meta{ color: rgba(11,13,29,.62); font-weight:800; font-size:13px; margin:0 0 18px; }

/* Legal content blocks: preserve author formatting without monospace */
.legalText{
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--muted);
  line-height: 1.7;
  font-family: inherit;
  font-size: 15px;
}

@media (min-width: 860px){
  .card{ padding: 32px; }
  h2{ font-size: 19px; }
}
pre{
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--muted);
  line-height: 1.65;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
}

.form{
  display:grid; gap:12px; margin-top: 14px;
}
label{ display:grid; gap:6px; font-weight:800; color: rgba(11,13,29,.86); font-size:13px; }
input, textarea{
  width:100%;
  border-radius: 14px;
  border: 1px solid var(--stroke2);
  background: rgba(255,255,255,.86);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}
textarea{ min-height: 140px; resize: vertical; }
.formRow{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
@media (max-width: 720px){ .formRow{ grid-template-columns: 1fr; } }
.actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 6px; }
.note{ margin-top: 10px; font-size: 13px; color: rgba(11,13,29,.62); }

.footer{
  padding: 28px 0 40px;
  color: rgba(11,13,29,.62);
}
.footerLinks{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top: 10px;
}
.footerLinks a{
  padding:8px 10px;
  border-radius:12px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.65);
  text-decoration:none;
  color: rgba(11,13,29,.78);
  font-weight:750;
  font-size:13px;
}
