.entry-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 32px clamp(32px, 5vw, 80px);
  padding-block: var(--section-space);
}
.entry-intro h1 { font-size: clamp(2.1rem, 3.6vw, 3.6rem); }
.entry-lead { margin-top: 16px; line-height: 1.9; }
.entry-price { margin-top: 24px; color: var(--red); font-size: .88rem; }
.entry-price strong, .fee-price strong {
  font: 500 clamp(32px, 3vw, 46px)/1.3 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -.025em; font-variant-numeric: lining-nums tabular-nums;
}
.entry-aside { grid-area: 2 / 1; border-top: 1px solid var(--rule); padding-top: 22px; }
.entry-aside h2, .fee h2 { font-size: 1.2rem; }
.entry-steps { list-style: none; padding: 0; margin: 18px 0 0; counter-reset: step; }
.entry-steps li { counter-increment: step; padding-left: 34px; position: relative; }
.entry-steps li + li { margin-top: 16px; }
.entry-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 2px;
  width: 23px; height: 23px; display: grid; place-items: center;
  border-radius: 50%; background: var(--red); color: white; font: 600 .8rem/1 var(--sans);
}
.entry-steps strong { font-size: .92rem; }
.entry-steps p { margin-top: 2px; color: var(--mute); font-size: .85rem; }
.entry-panel {
  grid-area: 1 / 2 / span 2; min-width: 0; padding: clamp(22px, 3.4vw, 44px);
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow); scroll-margin-top: 16px;
}
.entry-panel fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.entry-panel fieldset + fieldset, .fee { margin-top: 30px; }
.entry-panel legend {
  width: 100%; margin-bottom: 18px; padding: 0 0 9px;
  border-bottom: 1px solid var(--rule); font: 500 1.4rem/1.5 var(--serif);
}
.entry-field { min-width: 0; }
.entry-field + .entry-field, .entry-pair + .entry-field { margin-top: 16px; }
.entry-field label { display: flex; align-items: baseline; gap: 8px; margin-bottom: 5px; font-size: .9rem; font-weight: 600; }
.entry-field small { font: 500 .73rem/1.4 var(--sans); color: var(--mute); }
.entry-field .required { color: var(--red); }
.entry-field input, .entry-field textarea {
  width: 100%; padding: 10px 12px; min-height: 46px; font: inherit; font-size: 1rem;
  color: var(--ink); border: 1px solid #aea9a4; border-radius: 6px; background: #fff;
}
.entry-field textarea { display: block; resize: vertical; }
.entry-panel :is(input,textarea,button):focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.entry-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.entry-pair .entry-field { margin: 0; }
.fee { padding: 20px; border-radius: 8px; background: var(--cream); }
.fee p, .fee dl { font-size: .86rem; }
.fee-price { color: var(--red); margin-block: 7px; }
.fee dl { margin-top: 14px; }
.fee dl div { border-top: 1px solid var(--rule); padding-top: 8px; margin-top: 8px; }
.fee dt { font-weight: 650; }
.entry-confirm { margin-top: 24px; }
.agreement { display: flex; align-items: flex-start; gap: 10px; font-size: .87rem; cursor: pointer; }
.agreement + .agreement { margin-top: 12px; }
.agreement input { accent-color: var(--red); width: 17px; height: 17px; margin: .25em 0 0; flex: none; }
.form-error { color: var(--red); margin-top: 16px; }
.entry-confirm button { width: 100%; min-height: 52px; margin-top: 24px; border: 0; font-family: inherit; cursor: pointer; }
.entry-confirm button:disabled { opacity: .7; cursor: wait; }
@media (max-width: 800px) {
  .entry-layout { display: flex; flex-direction: column; gap: 24px; max-width: 620px; padding-block: 32px 46px; }
  .entry-layout > * { width: 100%; }
  .entry-lead { margin-top: 10px; font-size: .94rem; }
  .entry-price { margin-top: 14px; }
  .entry-panel { padding: 22px clamp(14px, 3.5vw, 22px); }
  .entry-aside { padding-top: 18px; }
}
@media (max-width: 520px) {
  .entry-pair { grid-template-columns: 1fr; }
}
