:root {
  color-scheme: light;
  --ink: #0b192a;
  --muted: #51617a;
  --brand: #075acb;
  --brand-hover: #06469d;
  --light-blue: #ebf4ff;
  --page: #f2f6fb;
  --border: #dbe4ef;
  --white: #fff;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; background: none; border: 0; padding: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button:not(:disabled), label[for] { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #087ae5; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.wrap { width: min(1184px, calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.topbar { background: var(--white); border-bottom: 1px solid #e2eaf3; }
.topbar-inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { object-fit: contain; width: 64px; height: 39px; flex-shrink: 0; border-radius: 8px; }
.brand strong { display: block; font-size: 1.07rem; letter-spacing: .025em; line-height: 1.2; font-weight: 800; }
.brand small { display: block; font-size: .75rem; font-weight: 500; color: var(--muted); line-height: 1.35; margin-top: 3px; }
.contact { border: 1px solid var(--border); padding: 8px 14px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; font-size: .9rem; font-weight: 700; white-space: nowrap; }
.contact:hover { border-color: #9abcea; background: #f6faff; }
.contact [data-icon] { color: var(--brand); }
.contact-narrow { display: none; }
svg { display: block; width: 20px; height: 20px; }
[data-icon] { display: inline-flex; flex-shrink: 0; }

.hero { position: relative; isolation: isolate; margin-top: 29px; overflow: hidden; background: #0d203a; border-radius: 24px; color: white; min-height: 284px; display: flex; align-items: center; }
.hero-image { position: absolute; inset: 0 0 0 auto; width: 65%; height: 100%; z-index: -2; object-fit: cover; object-position: 64% 53%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0b192a 0%, #10294a 39%, #10294ab8 56%, #0e244927 85%); }
.hero-copy { padding: 37px 52px 41px; }
.hero h1 { color: #fff; font-size: clamp(2.55rem, 5vw, 4.12rem); font-weight: 765; letter-spacing: -.055em; line-height: 1.035; }
.hero em { color: #80ccff; font-style: normal; }
.hero p { color: #e0eaf7; font-size: 1.05rem; margin-top: 17px; max-width: 385px; line-height: 1.62; }

.progress { margin: 24px 0; border: 1px solid var(--border); border-radius: 15px; background: var(--white); }
.progress ol { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; }
.progress li + li { border-left: 1px solid #e5edf6; }
.progress button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 61px; padding: 8px 12px; color: #57677b; font-size: .92rem; line-height: 1.25; font-weight: 650; }
.progress button:not(:disabled):hover { background: #f3f8ff; }
.progress li:first-child button { border-radius: 14px 0 0 14px; }
.progress li:last-child button { border-radius: 0 14px 14px 0; }
.step-number { display: grid; place-items: center; flex: 0 0 29px; height: 29px; border-radius: 50%; background: #eaf0f7; color: #4c5c71; font-size: .84rem; }
.progress [aria-current="step"] { color: #074897; background: #f1f7ff; }
.progress [aria-current="step"] .step-number { background: var(--brand); color: white; }
.progress .is-complete .step-number { background: #dcecff; color: #0755b7; }
.step-number svg { width: 16px; height: 16px; }

.workspace { display: grid; grid-template-columns: minmax(0, 1.96fr) minmax(310px, 1fr); gap: 24px; align-items: start; scroll-margin-top: 16px; }
.panel { background: var(--white); border: 1px solid var(--border); border-radius: 19px; box-shadow: 0 4px 14px #12335b08; min-width: 0; }
.form-panel { padding: 27px; }
.panel-intro { margin-bottom: 21px; }
.panel-intro h2 { font-size: clamp(1.45rem, 2.6vw, 1.78rem); font-weight: 760; line-height: 1.24; letter-spacing: -.038em; }
.panel-intro p { color: var(--muted); margin-top: 7px; }
.category-switch { display: inline-flex; gap: 4px; padding: 4px; background: #edf3f9; border: 1px solid #e8eef6; border-radius: 11px; margin-bottom: 19px; max-width: 100%; }
.category-switch button { border-radius: 7px; min-height: 42px; padding: 5px 13px; font-size: .88rem; font-weight: 650; color: #435670; line-height: 1.2; }
.category-switch button:hover { color: var(--brand); }
.category-switch button[aria-pressed="true"] { color: #084b9e; background: var(--white); box-shadow: 0 1px 4px #1f45611b; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service-choice { position: relative; }
.radio-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: center; min-height: 88px; padding: 12px; height: 100%; border: 1px solid var(--border); border-radius: 12px; background: white; cursor: pointer; }
.radio-card:hover { border-color: #94b8e6; background: #f8fbff; }
.choice-input:focus-visible + .radio-card, .choice-input:focus-visible + .frequency-card { outline: 3px solid #087ae5; outline-offset: 2px; }
.choice-input:checked + .radio-card, .choice-input:checked + .frequency-card { border-color: #1465ca; box-shadow: inset 0 0 0 1px #1465ca; background: #f1f7ff; }
.tile-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--light-blue); color: var(--brand); flex: 0 0 auto; }
.tile-icon svg { width: 21px; height: 21px; }
.service-name { display: block; font-size: .95rem; letter-spacing: -.018em; font-weight: 740; line-height: 1.25; }
.service-hint { display: block; color: var(--muted); margin-top: 4px; font-size: .875rem; line-height: 1.28; }
.radio-indicator { width: 17px; height: 17px; border: 1.5px solid #8096b1; border-radius: 50%; display: grid; place-items: center; }
.choice-input:checked + label .radio-indicator { border-color: var(--brand); }
.choice-input:checked + label .radio-indicator::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

.summary-column { min-width: 0; position: sticky; top: 22px; }
.summary-panel { padding: 23px; }
.summary-head { display: flex; align-items: center; gap: 11px; padding-bottom: 15px; border-bottom: 1px solid #e6edf5; }
.summary-head h2 { font-size: 1.2rem; font-weight: 760; letter-spacing: -.028em; }
.summary-head .tile-icon { width: 37px; height: 37px; }
.info-list { display: grid; gap: 12px; margin: 16px 0; }
.info-row { display: grid; grid-template-columns: minmax(90px, .9fr) minmax(0, 1.3fr); align-items: baseline; gap: 9px 12px; font-size: .9rem; line-height: 1.38; }
.info-row dt { color: var(--muted); }
.info-row dd { margin: 0; font-weight: 650; text-align: right; white-space: pre-wrap; overflow-wrap: anywhere; }
.info-row dd.empty-value { color: #526883; font-weight: 500; }
.price-box { display: flex; gap: 10px; padding: 13px; background: #edf5ff; border-radius: 10px; color: #174879; overflow-wrap: anywhere; }
.price-box > span { color: #0b60c7; margin-top: 2px; }
.price-box strong { font-weight: 740; font-size: .91rem; }
.price-box p { margin-top: 3px; color: #3b5677; font-size: .88rem; line-height: 1.44; }

.actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #e9eff6; }
.actions-end { justify-content: flex-end; }
.button { border-radius: 10px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 19px; border: 1px solid transparent; font-weight: 700; font-size: .92rem; line-height: 1.25; text-align: center; }
.primary { background: var(--brand); color: white; border-color: var(--brand); }
.primary:hover:not(:disabled) { background: var(--brand-hover); border-color: var(--brand-hover); }
.primary:disabled { background: #e4ebf4; color: #4b5d77; border-color: #dbe5f1; }
.secondary { border-color: var(--border); background: white; color: #174879; }
.secondary:hover { background: #f0f7ff; border-color: #9abcea; }

.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { min-width: 0; }
.form-field label, .frequency legend { display: block; color: var(--ink); font-weight: 700; margin-bottom: 7px; font-size: .92rem; }
.form-field label span { color: var(--muted); font-size: .8rem; font-weight: 500; margin-left: 6px; white-space: nowrap; }
.form-field input, .form-field select, .form-field textarea, .manual-copy { display: block; width: 100%; border: 1px solid #a9b9ce; border-radius: 9px; background: var(--white); padding: 10px 12px; color: var(--ink); min-height: 46px; font-size: 1rem; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #576981; }
.form-field select { appearance: none; padding-right: 34px; }
.select-wrap { position: relative; }
.select-wrap [data-icon] { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); color: #526883; pointer-events: none; }
.form-field textarea { resize: vertical; min-height: 94px; }
.extra-detail { margin-top: 16px; }
.frequency { margin-bottom: 20px; }
.frequency-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.frequency-card { display: flex; gap: 8px; align-items: center; padding: 7px 10px; border: 1px solid var(--border); border-radius: 9px; min-height: 47px; height: 100%; font-weight: 650; font-size: .88rem; cursor: pointer; }
.frequency-card .radio-indicator { flex-shrink: 0; }
.frequency-error { color: #943138; margin-top: 7px; font-size: .9rem; font-weight: 650; }
.detail-grid:empty { display: none; }
.review-box { padding: 16px; border: 1px solid var(--border); border-radius: 12px; }
.review-service { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; }
.review-service p { font-size: .88rem; color: var(--muted); }
.review-service h3 { font-size: 1.06rem; font-weight: 750; line-height: 1.3; overflow-wrap: anywhere; }
.review-box .info-list { margin: 14px 0 0; border-top: 1px solid var(--border); padding-top: 14px; }
.review-box .info-list:empty { display: none; }
.text-button { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; color: #0757ae; font-weight: 700; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover { color: #043878; }
.review-price { color: #174879; background: #edf5ff; border-radius: 10px; padding: 10px 13px; margin-top: 14px; font-size: .94rem; }
.share-note { display: flex; gap: 4px 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-top: 5px; }
.share-note small { font-size: .88rem; color: var(--muted); }
.manual-copy { margin-top: 10px; resize: vertical; }
.noscript { margin-top: 16px; }
.footer { color: #526883; font-size: .88rem; margin-top: 32px; }
.footer-inner { border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 5px 14px; padding: 19px 0 21px; }
.footer a { min-height: 32px; display: flex; align-items: center; }
.footer a:hover { text-decoration: underline; }

@media (max-width: 1020px) {
  .wrap { width: min(100% - 48px, 1184px); }
  .form-panel, .summary-panel { padding: 20px; }
  .workspace { gap: 16px; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); }
  .service-grid { gap: 9px; }
  .radio-card { gap: 8px; padding: 9px; }
  .radio-card .tile-icon { width: 35px; height: 35px; }
}
@media (max-width: 780px) {
  .wrap { width: min(100% - 32px, 620px); }
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .summary-column { position: static; }
  .workspace[data-current="3"] .summary-column { display: none; }
  .hero { min-height: 245px; margin-top: 19px; }
  .hero-copy { padding: 30px; }
  .hero-image { width: 73%; }
  .hero::before { background: linear-gradient(90deg, #0b192a 0%, #10294aed 45%, #10294aa6 70%, #0e24493c 100%); }
  .progress { margin-block: 16px; }
}
@media (max-width: 490px) {
  .topbar-inner { min-height: 64px; gap: 8px; }
  .brand img { width: 48px; height: 29px; }
  .brand { gap: 7px; }
  .brand strong { font-size: .94rem; }
  .brand small { font-size: .72rem; }
  .contact { padding: 7px 10px; gap: 6px; }
  .contact-wide { display: none; }
  .contact-narrow { display: inline; }
  .contact svg { width: 17px; height: 17px; }
  .hero { min-height: 217px; border-radius: 17px; }
  .hero-copy { padding: 24px 20px; }
  .hero h1 { font-size: clamp(1.95rem, 8.6vw, 2.55rem); line-height: 1.08; }
  .hero p { font-size: 1rem; margin-top: 11px; line-height: 1.48; max-width: 290px; }
  .hero-image { width: 93%; object-position: 77% 58%; }
  .hero::before { background: linear-gradient(90deg, #0b192a 0%, #10294ae8 48%, #10294a93 85%, #10294a76 100%); }
  .progress { border-radius: 12px; }
  .progress button { font-size: .78rem; padding: 7px 5px; gap: 5px; min-height: 54px; }
  .progress li:first-child button { border-radius: 11px 0 0 11px; }
  .progress li:last-child button { border-radius: 0 11px 11px 0; }
  .step-number { flex-basis: 21px; height: 21px; font-size: .72rem; }
  .form-panel, .summary-panel { padding: 16px; border-radius: 15px; }
  .panel-intro { margin-bottom: 16px; }
  .category-switch { display: flex; margin-bottom: 14px; }
  .category-switch button { flex: 1; padding-inline: 5px; }
  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .radio-card { min-height: 63px; padding: 9px 11px; column-gap: 11px; }
  .radio-card .tile-icon { width: 38px; height: 38px; }
  .service-name { font-size: .95rem; }
  .service-hint { margin-top: 3px; }
  .detail-grid { gap: 12px; }
  .detail-grid:has(.form-field:only-child) { grid-template-columns: 1fr; }
  .frequency-choices { grid-template-columns: minmax(0, 1fr); }
  .actions { margin-top: 17px; padding-top: 14px; }
  .actions-end .button { width: 100%; }
  .review-actions .button { padding-inline: 9px; }
  .review-actions .primary { white-space: nowrap; }
  .review-service { grid-template-columns: auto minmax(0, 1fr); }
  .review-service .text-button { grid-column: 2; justify-self: start; margin-top: -8px; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 24px); }
  .brand small { font-size: .66rem; }
  .detail-grid { grid-template-columns: 1fr; }
  .review-actions { display: grid; }
}
