﻿:root {
  --bg: #f3f4ef;
  --paper: #fcfcf8;
  --ink: #0f1720;
  --muted: #55616d;
  --line: #d5dbd2;
  --accent: #0b7a75;
  --accent-ink: #e6fffa;
  --danger: #b42318;
  --ok: #087443;
  --shadow: 0 18px 36px rgba(8, 21, 35, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(1400px 800px at 85% -15%, #c7f4e7 0%, transparent 60%),
    radial-gradient(1200px 700px at -10% 30%, #f7ebc4 0%, transparent 60%),
    var(--bg);
  min-height: 100vh;
}

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(11, 122, 117, 0.04), rgba(255, 153, 51, 0.05));
}

.shell {
  position: relative;
  width: min(980px, calc(100% - 2rem));
  margin: 2rem auto 3rem;
}

.hero {
  margin-bottom: 1.25rem;
}

.eyebrow {
  margin: 0;
  color: #0f5f59;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

h1 {
  margin: 0.35rem 0 0.55rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 2.7vw, 2.7rem);
  line-height: 1.1;
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
}

#intake-form {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.card h2 {
  margin: 0 0 0.9rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.06rem;
}

.hint {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.grid {
  display: grid;
  gap: 0.85rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.94rem;
}

label.full {
  grid-column: 1 / -1;
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c7cfc4;
  background: #fff;
  border-radius: 12px;
  padding: 0.64rem 0.72rem;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(11, 122, 117, 0.28);
  outline-offset: 1px;
  border-color: #6ec2b6;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.check-grid label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  background: #f7f8f3;
  border: 1px solid #d4dccf;
  border-radius: 10px;
  padding: 0.46rem 0.56rem;
}

.check-grid input {
  width: 16px;
  height: 16px;
}

.captcha-slot {
  border: 1px dashed #b8c6ba;
  border-radius: 12px;
  padding: 0.8rem;
  background: #f8faf8;
}

.captcha-row {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  flex-wrap: wrap;
}

.captcha-row strong {
  font-family: "Sora", "Segoe UI", sans-serif;
}

button {
  border: 0;
  border-radius: 12px;
  padding: 0.7rem 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

button[type="submit"] {
  background: linear-gradient(90deg, #0b7a75, #14928a);
  color: var(--accent-ink);
}

button.secondary {
  background: #e8ece6;
  color: #20303f;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.9rem;
  font-weight: 500;
}

.consent input {
  width: 17px;
  height: 17px;
  margin-top: 0.15rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.actions {
  margin-top: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.status {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

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

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

@media (max-width: 920px) {
  .grid.two,
  .check-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 660px) {
  .shell {
    width: min(960px, calc(100% - 1rem));
    margin-top: 1rem;
  }

  .card {
    border-radius: 14px;
    padding: 0.9rem;
  }

  .grid.two,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    align-items: stretch;
  }

  button[type="submit"] {
    width: 100%;
  }
}
