:root {
  --bg: #0b1d2a;
  --bg-2: #0f2738;
  --card: #122f44;
  --line: #24506c;
  --text: #e8f1f6;
  --muted: #9db6c6;
  --accent: #3fc1c9;
  --accent-ink: #062027;
  --error: #ff8a80;
  --ok: #7ee2b8;
  --radius: 10px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

html { background: var(--bg); }

body {
  background: radial-gradient(1200px 600px at 50% -10%, var(--bg-2), var(--bg)) no-repeat;
  min-height: 100vh;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(32px, 8vh, 80px) 20px 40px;
}

.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.brand h1 { font-size: 1.5rem; font-weight: 600; letter-spacing: 0.02em; margin: 0; }

/* Simple wave mark, pure CSS. Swap for a logo <img> whenever you like. */
.mark {
  width: 34px; height: 34px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 120%, var(--accent) 45%, transparent 46%),
    radial-gradient(circle at 50% 160%, #1f8a95 60%, transparent 61%),
    var(--line);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(20px, 5vw, 32px);
}

.card h2 { margin: 0 0 4px; font-size: 1.25rem; font-weight: 600; }
.lead { margin: 0 0 22px; color: var(--muted); }

.field { margin-bottom: 16px; }
label { display: block; font-size: 0.9rem; margin-bottom: 6px; }
.opt { color: var(--muted); font-weight: 400; }

input, textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { resize: vertical; min-height: 130px; }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(63, 193, 201, 0.25);
}
[aria-invalid="true"] { border-color: var(--error); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.cf-turnstile { margin: 6px 0 10px; min-height: 65px; }

.privacy { font-size: 0.82rem; color: var(--muted); margin: 0 0 16px; }

button {
  width: 100%;
  font: inherit;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent);
  border: 0;
  border-radius: var(--radius);
  padding: 12px 16px;
  cursor: pointer;
  transition: filter 0.15s, opacity 0.15s;
}
button:hover { filter: brightness(1.08); }
button:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
button[disabled] { opacity: 0.6; cursor: progress; }

.status { min-height: 1.6em; margin: 12px 0 0; font-size: 0.95rem; }
.status.error { color: var(--error); }
.status.ok { color: var(--ok); }

.sent { text-align: center; padding: 12px 0; }
.sent h3 { margin: 0 0 6px; font-size: 1.15rem; }
.sent p { margin: 0; color: var(--muted); }

.foot { margin-top: 28px; text-align: center; font-size: 0.85rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
