:root {
  --blue: #3b82f6;
  --blue-deep: #2563eb;
  --blue-soft: #eff6ff;
  --blue-mist: #dbeafe;
  --ink: #0f172a;
  --heading: #0b1220;
  --muted: #64748b;
  --label: #334155;
  --bg: #f8fbff;
  --card: #ffffff;
  --line: #e2e8f0;
  --input-border: #dbe3ef;
  --danger: #dc2626;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 50px rgba(37, 99, 235, 0.08);
  --sans: "Plus Jakarta Sans", sans-serif;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--blue-deep);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(59, 130, 246, 0.16), transparent 60%),
    linear-gradient(180deg, #f4f8ff 0%, #f8fbff 42%, #ffffff 100%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.page-glow {
  position: fixed;
  inset: auto -10% 10% auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.header-inner,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-inner {
  min-height: 84px;
}

.brand img {
  display: block;
  height: 48px;
  width: auto;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
  transition: transform 180ms var(--ease), background 180ms var(--ease), box-shadow 180ms var(--ease);
}

.header-cta svg {
  width: 14px;
  height: 14px;
}

.header-cta:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
}

main {
  flex: 1;
  padding: 52px 20px 72px;
}

.column {
  width: min(720px, 100%);
  margin: 0 auto;
}

.intro {
  text-align: center;
  margin: 0 auto 34px;
  max-width: 620px;
  animation: rise 700ms var(--ease) both;
}

.badge {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--blue-mist);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.08);
}

h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--heading);
}

h1 span {
  color: var(--blue);
  font-style: italic;
  font-weight: 700;
}

.lede {
  margin: 16px auto 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.card {
  background: var(--card);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 34px 34px 28px;
  animation: rise 800ms var(--ease) 80ms both;
}

.card-head {
  margin-bottom: 8px;
}

.card h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--heading);
}

.card-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.section {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.section h3 {
  margin: 0 0 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex: none;
}

.step-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 2px;
}

.step-copy strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
}

.step-copy small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.field {
  margin-bottom: 16px;
}

.field label,
.delivery legend {
  display: block;
  margin-bottom: 8px;
  color: var(--label);
  font-size: 13.5px;
  font-weight: 600;
}

.field label em {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  height: 52px;
  border: 1px solid var(--input-border);
  border-radius: 14px;
  background: #fff;
  padding: 0 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), background 160ms var(--ease);
}

input::placeholder {
  color: #94a3b8;
}

input:hover {
  border-color: #c7d5ea;
}

input:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

.field.invalid input,
.delivery.invalid .choice,
.consent.invalid {
  border-color: #fecaca;
}

.field.invalid input {
  background: #fff7f7;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.field-error {
  margin: 7px 0 0;
  color: var(--danger);
  font-size: 12.5px;
  line-height: 1.35;
}

.delivery {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
}

.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.choice {
  display: block;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), background 160ms var(--ease), transform 160ms var(--ease);
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 104px;
  padding: 16px;
}

.choice-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.choice-icon svg {
  width: 20px;
  height: 20px;
}

.choice strong,
.choice small {
  display: block;
}

.choice strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--heading);
}

.choice small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.choice:hover {
  border-color: #bfdbfe;
  transform: translateY(-1px);
}

.choice:has(input:checked) {
  border-color: var(--blue);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 0 0 1px var(--blue), 0 12px 28px rgba(37, 99, 235, 0.1);
}

.choice:has(input:checked) .choice-icon {
  background: var(--blue);
  color: #fff;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 22px 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fafcff;
  color: var(--label);
  font-size: 13.5px;
  line-height: 1.5;
}

.consent input {
  margin-top: 2px;
  accent-color: var(--blue);
  width: 17px;
  height: 17px;
  flex: none;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-error {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--danger);
  font-size: 13.5px;
  line-height: 1.4;
}

.submit {
  position: relative;
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #4b8dff, var(--blue-deep));
  color: #fff;
  font: inherit;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), filter 180ms var(--ease);
}

.submit-arrow {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  transition: opacity 160ms var(--ease);
}

.submit-spinner {
  position: absolute;
  left: 22px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 160ms var(--ease);
}

.submit.is-loading .submit-spinner {
  opacity: 1;
  animation: spin 700ms linear infinite;
}

.submit.is-loading .submit-arrow {
  opacity: 0;
}

.submit:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.32);
}

.submit:disabled {
  opacity: 0.72;
  cursor: progress;
  transform: none;
}

.after-submit {
  margin: 14px 0 2px;
  text-align: center;
  color: #94a3b8;
  font-size: 12.5px;
}

.success {
  text-align: center;
  padding: 48px 18px 36px;
  animation: rise 500ms var(--ease) both;
}

.success-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.14);
}

.success-mark svg {
  width: 28px;
  height: 28px;
}

.success h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.success p {
  margin: 12px auto 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.success-cta {
  display: inline-flex;
  margin-top: 22px;
  height: 44px;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.success-cta:hover {
  background: var(--blue-deep);
}

.trust {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  animation: rise 900ms var(--ease) 120ms both;
}

.trust div {
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.95);
  backdrop-filter: blur(8px);
}

.trust strong,
.trust span {
  display: block;
}

.trust strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--heading);
}

.trust span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.site-footer {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.65);
  padding: 20px 0 24px;
  color: #94a3b8;
  font-size: 12.5px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 760px) {
  .header-inner,
  .footer-inner {
    width: min(1120px, calc(100% - 28px));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    height: 40px;
  }

  .header-cta {
    height: 38px;
    padding: 0 14px;
    font-size: 12.5px;
  }

  main {
    padding: 34px 14px 56px;
  }

  .card {
    padding: 24px 18px 20px;
    border-radius: 22px;
  }

  .grid,
  .choices,
  .trust {
    grid-template-columns: 1fr;
  }

  .choice-body {
    min-height: 0;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
