/* styles.css */
:root {
  --text: rgba(15, 15, 18, 0.95);
  --muted: rgba(15, 15, 18, 0.75);

  --card-bg: rgba(255, 255, 255, 0.92);
  --card-border: rgba(15, 15, 18, 0.10);

  --input-bg: #ffffff;
  --input-border: rgba(15, 15, 18, 0.25);

  --accent: #00bcd4;
  --accent-2: #00a5bb;

  --danger: #b00020;
  --success: #0a7a36;

  --shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  --orange: #ff9f45;
  --orange-soft: #ffb066;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: url("./desktopbackground.jpg") center center / cover no-repeat fixed;
}

.page {
  min-height: 100vh;
  position: relative;
}

/* Slight overlay to improve text legibility over bright photos */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(15, 15, 18, 0.10);
}

.topbar-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 18px;
}

.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(15, 15, 18, 0.95);
}

.content {
  min-height: calc(100vh - 56px);
  display: grid;
  place-items: center;
  padding: 26px 18px;
  position: relative;
  z-index: 1;
}

.card {
  width: min(640px, 100%);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.headline {
  margin: 0 0 10px 0;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.subhead {
  margin: 0 0 18px 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.field {
  display: grid;
  gap: 8px;
}

.label {
  font-size: 16px;
  font-weight: 700;
  color: rgba(15, 15, 18, 0.85);
}

.input {
  width: 100%;
  border: 1px solid var(--input-border);
  outline: none;
  border-radius: 12px;
  padding: 14px 14px;
  background: var(--input-bg);
  color: var(--text);
  font-size: 18px;
}

.input:focus {
  border-color: rgba(0, 188, 212, 0.70);
  box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.14);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 2px;
  user-select: none;
}

.checkbox {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.checkbox-text {
  font-size: 16px;
  line-height: 1.45;
  color: rgba(15, 15, 18, 0.88);
}

.button {
  border: 0;
  outline: none;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(0, 188, 212, 0.22);
  transition: transform 120ms ease, filter 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  filter: none;
}

.status {
  margin: 6px 0 0 0;
  font-size: 16px;
  line-height: 1.4;
}

.status.success {
  color: var(--success);
}

.status.error {
  color: var(--danger);
}

.fineprint {
  margin: 16px 0 0 0;
  color: rgba(15, 15, 18, 0.70);
  font-size: 14px;
  line-height: 1.4;
}

/* Mobile tightening */
@media (max-width: 520px) {
  .headline { font-size: 30px; }
  .card { padding: 22px; }
}

/* headline banner */
.headline-banner {
  background: linear-gradient(180deg, var(--orange), var(--orange-soft));
  border-radius: 14px;
  padding: 14px 18px;
  margin: -6px -6px 16px -6px;
}

.headline {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  color: #2a1a00;
  letter-spacing: -0.02em;
}