:root {
  --brand: #0d61f2;
  --brand-2: #2f7bfe;
  --brand-deep: #09336a;
  --ink: #142033;
  --muted: #4d5b6e;
  --line: #e4eaf3;
  --card: #ffffff;
  --bg: #e7eef8;
  --ok: #0c9a4b;
  --radius: 16px;
  --shadow: 0 18px 40px -24px rgba(9, 51, 106, 0.55);
  --max: 480px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 50% -80px, #d7e6ff 0%, transparent 70%),
    var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

.page {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 18px 12px 40px;
}

.hero {
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero__banner {
  border-radius: 20px 20px 0 0;
}

.hero__banner {
  width: 100%;
  height: 148px;
  object-fit: cover;
  object-position: center;
}

.hero__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
}

.hero__logo {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  background: #fff;
  object-fit: cover;
}

.hero__bar p {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
}

.sheet {
  background: var(--card);
  padding: 22px 18px 8px;
  box-shadow: var(--shadow);
}

.intro p,
.block li,
.cta p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14.5px;
}

.intro p:last-child {
  margin-bottom: 4px;
}

.block {
  margin-top: 22px;
}

.block h2,
.form-block legend {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--brand);
}

.checks,
.dots,
.jobs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.checks li,
.dots li,
.jobs li {
  margin: 0;
  padding: 10px 12px 10px 40px;
  border-radius: 12px;
  background: #f6f9fe;
  color: var(--ink);
  position: relative;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 13px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ok)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M6.4 11.2 3.6 8.4l1.1-1.1 1.7 1.7 4.9-4.9 1.1 1.1z'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.dots li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-2);
}

.jobs {
  grid-template-columns: 1fr 1fr;
}

.jobs li {
  padding-left: 12px;
  font-weight: 600;
  font-size: 13.5px;
  counter-increment: job;
}

.jobs {
  counter-reset: job;
}

.jobs li::before {
  content: counter(job, decimal-leading-zero);
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand);
}

.cta {
  margin: 22px 0 18px;
  padding: 16px;
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(13, 97, 242, 0.1), rgba(47, 123, 254, 0.04)),
    #f4f8ff;
  border: 1px solid #d7e4fb;
}

.cta__kicker {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.cta strong {
  color: var(--ink);
  font-weight: 700;
}

.cta__link {
  display: inline-flex;
  align-items: center;
  margin: 4px 0 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 18px -10px var(--brand-deep);
}

.note {
  margin: 0;
  font-size: 12px;
  color: #7b8798;
}

.form-wrap {
  margin-top: 14px;
}

.form-head {
  padding: 18px 18px 16px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(120deg, #09336a 0%, var(--brand) 55%, var(--brand-2) 100%);
  color: #fff;
  text-align: center;
}

.form-head h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
}

.form-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.form-card {
  background: #fff;
  padding: 18px 16px 22px;
  border-radius: 0 0 18px 18px;
  box-shadow: var(--shadow);
}

.form-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.form-block legend {
  padding: 0;
}

.field {
  display: block;
  margin-bottom: 10px;
}

.field span {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #607089;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-2);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 123, 254, 0.15);
}

.field select:disabled {
  color: #98a4b5;
  background: #f3f6fa;
}

.pill-row,
.radio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  clear: both;
}

.radio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pill,
.radio-card {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.radio-card {
  align-items: flex-start;
}

.pill input,
.radio-card input {
  accent-color: var(--brand);
  margin: 2px 0 0;
}

.pill:has(input:checked),
.radio-card:has(input:checked) {
  border-color: var(--brand);
  background: #eef4ff;
  color: var(--brand-deep);
}

.btn-submit {
  width: 100%;
  margin-top: 4px;
  padding: 15px 16px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 14px 24px -12px var(--brand-deep);
}

.btn-submit:hover {
  filter: brightness(1.05);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(440px, calc(100% - 24px));
  padding: 13px 14px;
  border-radius: 14px;
  background: #0f7a3d;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
  z-index: 20;
  box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.6);
}

.toast--error {
  background: #c62828;
}

@media (min-width: 720px) {
  .page {
    padding-top: 28px;
  }

  .hero__banner {
    height: 168px;
  }
}
