:root {
  --blue: #1769aa;
  --orange: #f47a16;
  --ink: #18212f;
  --muted: #6c7785;
  --line: #dfe5ec;
  --bg: #f3f6fa;
  --white: #fff;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: Inter, Arial, sans-serif; color: var(--ink);
  background: radial-gradient(circle at 10% 0%, #eaf4ff 0, transparent 34%), var(--bg);
}
.page { min-height: 100vh; padding: 35px 16px 24px; }
.card {
  width: min(940px, 100%); margin: auto; background: var(--white);
  border-radius: 24px; box-shadow: 0 18px 55px rgba(24,33,47,.10);
  overflow: hidden; border: 1px solid #e8edf3;
}
.header {
  padding: 30px 34px; display: flex; align-items: center; gap: 26px;
  background: linear-gradient(135deg, #f8fbff, #fff);
  border-bottom: 1px solid var(--line);
}
.logo { width: 235px; height: auto; object-fit: contain; }
.eyebrow { color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: 1.6px; margin-bottom: 5px; }
h1 { margin: 0; font-size: clamp(27px, 4vw, 38px); letter-spacing: -.8px; }
.header p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
form { padding: 32px 34px 28px; }
.section-title {
  display: flex; align-items: center; gap: 12px; margin: 5px 0 20px;
  font-size: 17px; font-weight: 800;
}
.section-title span {
  display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px;
  background: #e9f3fb; color: var(--blue); font-size: 12px;
}
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 34px; }
.full { grid-column: 1 / -1; }
.field, fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, legend { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
b { color: var(--orange); }
input[type="text"], textarea, input[type="file"] {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px;
  background: #fbfcfe; color: var(--ink); font: inherit; font-size: 14px; outline: none;
  transition: .2s;
}
textarea { resize: vertical; min-height: 105px; }
input[type="file"] { padding: 10px; }
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23,105,170,.10); background: #fff; }
small { color: var(--muted); display: block; font-size: 11px; margin-top: 6px; line-height: 1.4; }
.choices { display: flex; gap: 10px; }
.choice {
  flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 13px;
  display: flex; gap: 9px; align-items: center; cursor: pointer; font-size: 14px;
}
.choice:has(input:checked) { border-color: var(--blue); background: #f1f8fd; }
.subscription { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 28px; }
.plan {
  display: flex; align-items: center; gap: 13px; padding: 17px; border: 1px solid var(--line);
  border-radius: 14px; cursor: pointer; transition: .2s;
}
.plan input { accent-color: var(--orange); }
.plan strong { display: block; font-size: 15px; }
.plan small { margin-top: 3px; }
.plan.selected { border-color: var(--orange); background: #fff8f1; box-shadow: 0 5px 18px rgba(244,122,22,.08); }
.submit {
  width: 100%; border: 0; border-radius: 13px; padding: 15px 18px; cursor: pointer;
  background: linear-gradient(90deg, var(--blue), #0d79b9); color: #fff;
  font: 800 14px Inter; display: flex; justify-content: space-between; align-items: center;
  box-shadow: 0 10px 24px rgba(23,105,170,.20);
}
.submit:hover { transform: translateY(-1px); }
.required-note { text-align: center; color: var(--muted); font-size: 11px; margin: 14px 0 0; }
.alert { margin: 20px 34px 0; padding: 13px 15px; border-radius: 11px; font-size: 13px; font-weight: 600; }
.alert.error { background: #fff0f0; color: #a12424; border: 1px solid #ffd4d4; }
.alert.success { background: #eefaf2; color: #21733e; border: 1px solid #c9efd5; }
footer { text-align: center; color: #7d8794; font-size: 11px; padding: 18px; }
@media (max-width: 680px) {
  .page { padding: 12px 8px; }
  .header { padding: 23px 20px; flex-direction: column; align-items: flex-start; gap: 17px; }
  .logo { width: 205px; }
  form { padding: 25px 20px; }
  .grid, .subscription { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .alert { margin-left: 20px; margin-right: 20px; }
}