/* Core reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #e6edf5;
  /* Background matched to logo edge tones for a seamless blend */
  background: radial-gradient(1100px 700px at 50% -200px, #1e3a5a 0%, #11253b 45%, #0b1e31 100%);
  background-attachment: fixed;
}

/* Header with centered logo */
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 1rem 0.2rem;
}
.logo-wrap {
  width: min(1200px, 92vw);
}
.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
  border-radius: 18px; /* softens any hard image edge */
}

/* Layout */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
}
.card {
  background: rgba(15, 34, 54, 0.6);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
h1 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  letter-spacing: 0.4px;
}
.tagline {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #cfd8e3;
}

/* Grid form */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
@media (min-width: 720px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}

.field span {
  display: block;
  font-size: 0.9rem;
  color: #cbd6e2;
  margin-bottom: 0.4rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.9rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(18, 33, 53, 0.8);
  color: #f6f7fb;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: #ff9a2f;
  box-shadow: 0 0 0 3px rgba(255,154,47,0.22);
}
textarea { resize: vertical; }

.hidden { display: none; }

.btn {
  display: inline-block;
  border: 0;
  padding: 0.9rem 1.15rem;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  background-image: linear-gradient(135deg, #ff8a00, #ffb347);
  color: #1a1f29;
  margin-top: 0.4rem;
  text-decoration: none;
}
.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.small.print {
  font-size: 0.8rem;
  color: #b8c4d6;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 1rem 2.6rem;
  color: #9fb0c6;
}

/* Thanks page alignment */
.thanks .card {
  margin-top: 15vh;
  text-align: center;
}
