:root{
  --yellow: #fddc02;
  --card: #ffffff;
  --text: #111111;
  --muted: #666666;
  --border: #d9d9d9;
  --shadow: 0 14px 40px rgba(0,0,0,0.12);
  --radius-xl: 24px;
  --radius: 14px;
  --gap: 14px;
  --btn: #f3a007;
  --btn-hover: #e59200;
}

*{ box-sizing: border-box; }

html, body{
  height: 100%;
}

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--yellow);
}

.container{
  max-width: 920px;
  margin: 0 auto;
  padding: 34px 18px 60px;
}

.hero{
  text-align: center;
  margin: 6px 0 18px;
}

h1{
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
}

.lead{
  margin: 0 auto;
  max-width: 860px;
  font-size: 18px;
  line-height: 1.45;
}

.form-card{
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow);
}

.form-group{
  margin: 0 0 var(--gap);
}

label{
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}

.req{
  color: #c30000;
  font-weight: 900;
}

.muted{
  color: var(--muted);
  font-weight: 700;
}

.helper{
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea{
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 16px;
  outline: none;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus{
  border-color: #111;
}

/* Grid */
.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

@media (max-width: 760px){
  .grid-2{
    grid-template-columns: 1fr;
  }
}

/* Radio */
.radio-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.radio-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  font-weight: 800;
}

.radio-pill input{
  transform: scale(1.08);
}

/* Checkbox */
.check-row{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.35;
  font-weight: 700;
}

.check-row input{
  margin-top: 3px;
  transform: scale(1.05);
}

a{
  color: #0b57d0;
  text-decoration: underline;
}

/* Error */
.error{
  background: #ffe6e6;
  border: 1px solid #ffb3b3;
  color: #7a0000;
  border-radius: 12px;
  padding: 12px;
  font-weight: 800;
  margin-top: 10px;
}

/* Button */
.btn{
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  background: var(--btn);
  color: #111;
  margin-top: 8px;
}

.btn:hover{
  background: var(--btn-hover);
}

.btn:disabled{
  opacity: 0.7;
  cursor: not-allowed;
}

/* Footer */
.footer{
  margin-top: 18px;
  text-align: center;
}

.tiny{
  font-size: 13px;
  color: rgba(0,0,0,0.65);
}
