:root {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #0b0d12;
  background: #f7f8fb;
  font-synthesis: none;
  --accent: #405bd6;
  --line: #c8cdd8;
  --muted: #505b6d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.65;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid #405bd6;
  outline-offset: 4px;
}
footer {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 20px max(24px, calc((100vw - 1120px) / 2));
}
.skip {
  position: absolute;
  top: -100px;
}
.skip:focus {
  top: 12px;
  background: white;
  padding: 12px;
  z-index: 100;
}
main {
  max-width: 1120px;
  margin: auto;
  padding: 52px 24px 80px;
}
.intro {
  max-width: 760px;
  margin-bottom: 28px;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 800;
}
h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 10px 0 20px;
}
h2 {
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}
h3 {
  font-size: 18px;
  margin: 0 0 12px;
}
p {
  margin: 0 0 16px;
}
.muted,
.hint {
  color: var(--muted);
}
.hint {
  font-size: 14px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}
.card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 22px;
  padding: clamp(20px, 4vw, 36px);
}
.notice {
  background: #edf0fb;
  border: 1px solid #bbc6ee;
  border-radius: 14px;
  padding: 18px;
  margin: 20px 0;
}
.steps {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.steps li {
  flex: 1;
  padding-top: 10px;
  border-top: 4px solid #d7dce7;
  font-size: 12px;
  color: var(--muted);
}
.steps li[aria-current="step"] {
  border-color: var(--accent);
  font-weight: 800;
  color: #0b0d12;
}
.step[hidden],
[hidden] {
  display: none !important;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
  min-width: 0;
}
legend {
  font-weight: 700;
  margin-bottom: 10px;
}
label {
  display: block;
  font-weight: 650;
  margin-bottom: 6px;
}
.field {
  margin-bottom: 22px;
}
input:not([type="radio"]):not([type="checkbox"]),
textarea,
select {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid #8994a6;
  border-radius: 9px;
  padding: 11px 13px;
  background: white;
  color: #0b0d12;
}
textarea {
  min-height: 105px;
  resize: vertical;
}
input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border: 2px solid #a22929;
}
.field-error {
  font-size: 14px;
  color: #912323;
  display: block;
}
.choice {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 12px;
  font-weight: 500;
  cursor: pointer;
  margin: 10px 0;
}
.choice:has(input:checked) {
  border: 2px solid var(--accent);
  background: #f3f5ff;
  padding: 15px;
}
.choice input {
  margin: 6px 0 0;
  flex-shrink: 0;
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}
.choice strong {
  display: block;
}
.choice small {
  display: block;
  color: var(--muted);
  font-size: 14px;
}
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}
.button,
button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 11px 20px;
  font-weight: 700;
  cursor: pointer;
  background: var(--accent);
  color: white;
  text-decoration: none;
}
.button:hover,
button:hover {
  background: #3149b6;
}
.button:active,
button:active {
  transform: translateY(1px);
}
.secondary {
  background: white;
  color: var(--accent);
}
.secondary:hover {
  background: #edf0fb;
}
.link-button {
  background: none;
  color: var(--accent);
  padding: 3px 0;
  min-height: 38px;
  border: 0;
  text-decoration: underline;
}
.link-button:hover {
  background: none;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.summary {
  margin: 0;
}
.summary dt {
  font-weight: 700;
  margin-top: 18px;
}
.summary dd {
  margin: 4px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.review-group {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.price {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.price small {
  font-size: 16px;
  letter-spacing: 0;
}
aside ul {
  padding-left: 20px;
  font-size: 14px;
}
.error {
  border: 1px solid #ba6868;
  background: #fff5f5;
  color: #792121;
  padding: 16px;
  border-radius: 10px;
  margin: 18px 0;
}
.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
footer {
  border-top: 1px solid var(--line);
  font-size: 14px;
}
footer a {
  margin-right: 18px;
}
#fallback-text {
  min-height: 250px;
}
@media (max-width: 800px) {
  .layout {
    grid-template-columns: 1fr;
  }
  aside {
    order: 2;
  }
  .steps li {
    font-size: 11px;
  }
  main {
    padding-top: 30px;
  }
  .card {
    border-radius: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

#fallback {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
