.estimator-page {
  --navy: #101725;
  --blue: #3566b5;
  --orange: #fe8200;
  --page: #f5f7fb;
  background: var(--page);
  min-height: 100vh;
}

.estimator-shell {
  background: var(--navy);
  color: #fff;
}

.estimator-shell .site-header {
  background: rgba(16, 23, 37, 0.92);
}

.estimator-main {
  padding: 36px 0 88px;
}

.estimator-panel {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
}

.estimator-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 700;
}

.estimator-back:hover {
  color: #255fd0;
}

.estimator-back:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.progress-wrap {
  margin-bottom: 22px;
}

.progress-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(var(--step-count, 5), minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #8b95a8;
  font-size: 13px;
  font-weight: 600;
}

.progress-step button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.progress-step button:hover .progress-name,
.progress-step button:focus-visible .progress-name {
  color: var(--blue);
}

.progress-step button:focus-visible {
  outline: none;
}

.progress-index {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8edf5;
  color: #6b7289;
  font-size: 12px;
  flex: none;
}

.progress-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-step.is-current .progress-index {
  background: var(--blue);
  color: #fff;
}

.progress-step.is-done .progress-index {
  background: #fff3e8;
  color: var(--orange);
}

.progress-step.is-current,
.progress-step.is-done {
  color: var(--text);
}

.progress-bar {
  height: 4px;
  border-radius: 99px;
  background: #e8edf5;
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #5b86d6);
  transition: width 0.25s ease;
}

.wizard-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 16px 40px rgba(16, 23, 37, 0.05);
}

.step-heading {
  margin-bottom: 26px;
}

.step-heading .eyebrow {
  color: var(--blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.step-heading h1 {
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.step-heading p {
  color: var(--muted);
  max-width: 620px;
}

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

.option-grid-budget .option-card[data-value="not-sure"] {
  grid-column: 1 / -1;
}

.option-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.option-card:hover,
.option-card:focus-visible {
  border-color: #c9d6ea;
  box-shadow: 0 10px 24px rgba(16, 23, 37, 0.06);
  transform: translateY(-1px);
  outline: none;
}

.option-card.is-selected {
  border-color: var(--blue);
  background: #f7faff;
  box-shadow: 0 0 0 3px rgba(53, 102, 181, 0.16);
}

.option-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
  background: #f4f7fb;
  color: var(--blue);
}

.option-icon svg {
  width: 22px;
  height: 22px;
}

.option-card.is-selected .option-icon {
  background: rgba(53, 102, 181, 0.12);
}

.option-body {
  flex: 1;
  min-width: 0;
}

.option-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c5cede;
  flex: none;
  margin-top: 2px;
}

.option-card.is-selected .option-check {
  border-color: var(--blue);
  background: radial-gradient(circle, var(--blue) 45%, #fff 48%);
}

.option-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.option-label {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.option-range {
  display: block;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.option-copy {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
  min-height: 180px;
  background: #fbfcfe;
}

textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(53, 102, 181, 0.16);
}

.describe-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.describe-main textarea {
  min-height: 240px;
}

.char-count {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.char-count.is-ready {
  color: #187c50;
  font-weight: 600;
}

.hint-card {
  background: #f7f9fc;
  border: 1px solid #e8edf5;
  border-radius: 16px;
  padding: 18px 20px;
}

.hint-card p {
  font-weight: 700;
  margin-bottom: 10px;
}

.hint-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.hint-card li {
  display: grid;
  gap: 2px;
  font-size: 14px;
  color: var(--muted);
}

.hint-card strong {
  color: var(--text);
}

.form-error {
  margin-top: 18px;
  color: #b42318;
  font-weight: 600;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.btn-ghost,
.btn-secondary-light {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-ghost:disabled,
.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-primary:disabled:hover {
  background: var(--blue);
}

.btn-secondary-light:hover,
.btn-ghost:hover:not(:disabled) {
  background: #f4f6fa;
}

.summary-card,
.result-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  margin-bottom: 14px;
}

.summary-card h2,
.result-card h3 {
  font-size: 16px;
  margin-bottom: 14px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.summary-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.summary-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.summary-value {
  white-space: pre-wrap;
}

.text-link {
  background: none;
  border: 0;
  color: var(--blue);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
}

.empty-state {
  color: var(--muted);
  background: #f7f9fc;
  border-radius: 12px;
  padding: 14px 16px;
}

.pending-banner {
  background: #fff3e8;
  color: var(--navy);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 600;
  margin-bottom: 14px;
}

.feature-list,
.optional-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature-list li {
  background: #f7f9fc;
  border-radius: 12px;
  padding: 12px 14px;
}

.optional-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f7f9fc;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
}

.optional-item em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

.disclaimer {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.result-card .btn {
  margin-top: 12px;
}

.estimate-hero h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.estimate-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 16px 0;
}

.estimate-facts dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.estimate-facts dd {
  margin: 4px 0 0;
  font-weight: 600;
}

.estimate-expected {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 18px;
  margin: 16px 0 8px;
}

.estimate-expected strong {
  font-size: 28px;
}

.clarify-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 12px 0;
}

.clarify-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fbfcfe;
}

@media (max-width: 760px) {
  .estimate-facts {
    grid-template-columns: 1fr;
  }
}

.quote-card .btn {
  margin-top: 8px;
}

.quote-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}

.quote-fields > label {
  font-size: 13px;
  font-weight: 650;
  display: grid;
  gap: 7px;
  color: var(--text);
}

.quote-fields input:not([type="checkbox"]) {
  padding: 12px 14px;
  border: 1px solid #d4ddeb;
  border-radius: 10px;
  min-width: 0;
  width: 100%;
  font: inherit;
}

.quote-fields .quote-consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
  line-height: 1.5;
}

.quote-consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex: none;
}

.quote-fields .quote-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  left: -200vw;
}

.quote-fine {
  font-size: 12px !important;
  color: var(--muted);
  margin-top: 12px !important;
}

.quote-success {
  background: #e9f6f0;
  border: 1px solid #b8dfc7;
  padding: 16px;
  border-radius: 12px;
  color: #145c3b;
}

.quote-success p {
  margin: 6px 0 0 !important;
  color: #23644b !important;
}

#quote-response.form-error {
  color: #ab2e39;
  padding: 8px 0;
}

@media (max-width: 760px) {
  .estimator-panel {
    width: min(860px, calc(100% - 32px));
  }

  .wizard-form {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .option-grid,
  .option-grid-budget,
  .describe-layout {
    grid-template-columns: 1fr;
  }

  .option-grid-budget .option-card[data-value="not-sure"] {
    grid-column: auto;
  }

  .progress-list {
    gap: 6px;
  }

  .progress-name {
    display: none;
  }

  .progress-step,
  .progress-step button {
    justify-content: center;
  }

  .quote-fields {
    grid-template-columns: 1fr;
  }

  .wizard-actions {
    flex-direction: column-reverse;
  }

  .wizard-actions .btn {
    width: 100%;
  }
}

.catalogue-toolbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.catalogue-toolbar label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.catalogue-toolbar input,
.catalogue-toolbar select {
  min-width: 0;
  width: 100%;
  font: inherit;
  font-size: 14px;
  padding: 13px 14px;
  border: 1px solid #d4ddeb;
  border-radius: 11px;
  background: #fbfcfe;
  color: var(--text);
}

.catalogue-toolbar input:focus-visible,
.catalogue-toolbar select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.catalogue-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}

.catalogue-tab {
  border: 1px solid #dfe6f1;
  background: white;
  border-radius: 100px;
  padding: 9px 14px;
  font: 600 13px Inter, system-ui, sans-serif;
  color: #4f5d73;
  cursor: pointer;
}

.catalogue-tab.is-active {
  background: #3566b5;
  color: #fff;
  border-color: #3566b5;
}

.catalogue-tab:focus-visible {
  outline: 2px solid #fe8200;
  outline-offset: 2px;
}

.catalogue-counter {
  color: #627189;
  font-size: 13px;
  margin: 10px 0 20px;
}

.catalogue-counter strong {
  color: #101725;
}

.catalogue-group {
  margin: 0 0 22px;
}

.catalogue-group h2 {
  font-size: 15px;
  letter-spacing: -0.01em;
  margin: 0 0 11px;
}

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

.catalogue-feature {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  padding: 14px;
  border: 1px solid #e0e7f1;
  border-radius: 13px;
  background: #fff;
  min-width: 0;
}

.catalogue-feature:has(input:checked) {
  border-color: #3566b5;
  background: #f5f8fe;
}

.catalogue-feature input {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: #3566b5;
}

.catalogue-feature span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.catalogue-feature strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #18223a;
}

.catalogue-feature small {
  font-size: 12px;
  line-height: 1.45;
  color: #697991;
}

.catalogue-feature em {
  font-size: 11px;
  color: #99550c;
  font-style: normal;
  font-weight: 650;
}

.catalogue-selected {
  font-size: 12px;
  line-height: 1.7;
  color: #4e6080;
  background: #f4f7fc;
  padding: 12px 14px;
  border-radius: 11px;
  margin: 0 0 15px;
}

.catalogue-feature[hidden],
.catalogue-group[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
  .catalogue-toolbar,
  .catalogue-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-tabs {
    gap: 6px;
  }

  .catalogue-tab {
    padding: 8px 11px;
    font-size: 12px;
  }
}

.classification-card {
  border: 1px solid #dbe6f6;
  background: #f6f9fe;
  border-radius: 16px;
  padding: 20px 22px;
  margin: 0 0 18px;
}

.classification-card h2 {
  font-size: 21px;
  line-height: 1.2;
  margin: 5px 0 7px;
  color: #101725;
}

.classification-card p {
  font-size: 13px;
  color: #51627c;
  line-height: 1.55;
  margin: 8px 0;
}

.classification-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #3566b5;
}

.classification-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 16px;
  border: 1px solid #e1e7f0;
  border-radius: 12px;
  margin-bottom: 13px;
}

.classification-current div {
  display: grid;
  gap: 3px;
}

.classification-current small {
  font-size: 10px;
  color: #7d8ba2;
  letter-spacing: 0.1em;
  font-weight: 750;
}

.classification-current strong {
  font-size: 14px;
  color: #101725;
}

.classification-link {
  font: 650 13px Inter, system-ui, sans-serif;
  background: transparent;
  border: 0;
  color: #3566b5;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.classification-link:focus-visible,
.classification-add:focus-visible {
  outline: 2px solid #3566b5;
  outline-offset: 3px;
}

.classification-manual {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: #53627b;
  font-weight: 650;
  margin: 8px 0 14px;
}

.classification-manual select {
  font: inherit;
  font-size: 14px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #cfd9e9;
  max-width: 100%;
}

.classification-search {
  grid-template-columns: 1fr;
}

.classification-suggestion-group {
  margin-top: 18px;
}

.classification-suggestion-group h3 {
  font-size: 13px;
  color: #18233b;
  margin-bottom: 9px;
}

.classification-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.classification-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #d7e3f3;
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  cursor: pointer;
  color: #26344c;
  font-size: 12px;
  font-weight: 650;
}

.classification-feature label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.classification-feature:has(input:checked) {
  background: #eaf2ff;
  border-color: #3566b5;
}

.classification-feature input {
  accent-color: #3566b5;
  width: 16px;
  height: 16px;
}

.classification-add {
  border: 1px solid #3566b5;
  border-radius: 9px;
  background: #fff;
  color: #3566b5;
  font: 700 12px Inter, system-ui, sans-serif;
  padding: 9px 13px;
  cursor: pointer;
  margin-top: 12px;
}

.classification-note {
  font-size: 12px !important;
  color: #63738a !important;
  margin-top: 14px !important;
}

@media (max-width: 680px) {
  .classification-current {
    align-items: flex-start;
    flex-direction: column;
  }

  .classification-chip-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .classification-feature {
    min-height: 44px;
  }
}

.estimator-panel:has(.features-layout) {
  width: min(1140px, calc(100% - 48px));
}

.features-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(295px, 355px);
  gap: 22px;
  align-items: start;
}

.features-main {
  min-width: 0;
}

.catalogue-feature {
  display: grid;
  gap: 10px;
  cursor: default;
}

.catalogue-feature-main {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  cursor: pointer;
}

.catalogue-feature-main input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  justify-self: center;
}

.catalogue-feature.is-later {
  border-style: dashed;
  background: #fbfcfe;
}

.feature-scope-choice {
  display: grid;
  gap: 6px;
  color: #35507a;
  font-size: 12px;
  font-weight: 700;
}

.feature-scope-choice select {
  width: 100%;
  border: 1px solid #d7e0ee;
  border-radius: 10px;
  background: #fff;
  color: #162940;
  font: 500 13px/1.4 Inter, system-ui, sans-serif;
  padding: 8px 10px;
}

.feature-later-btn {
  justify-self: start;
  border: 1px solid #d7e0ee;
  background: #fff;
  color: #35507a;
  border-radius: 999px;
  padding: 7px 12px;
  font: 700 12px Inter, system-ui, sans-serif;
  cursor: pointer;
}

.feature-later-btn.is-later {
  background: #eef4ff;
  border-color: #3566b5;
  color: #234a8a;
}

.feature-origin {
  color: #3566b5;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.catalogue-feature.is-described {
  border-color: #b9ccef;
}

.live-estimate {
  position: sticky;
  top: 12px;
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, auto) auto;
  grid-template-areas:
    "lead figure counts"
    "note note note";
  align-items: center;
  column-gap: 32px;
  row-gap: 8px;
  margin: 0 0 18px;
  padding: 16px 20px;
  background: #0f2744;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15, 39, 68, 0.16);
}

.live-estimate-lead {
  grid-area: lead;
  display: grid;
  gap: 3px;
  min-width: 0;
}

.live-estimate h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  color: #fff;
}

.live-estimate-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #9eb4d4;
}

.live-estimate-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3dd68c;
  box-shadow: 0 0 0 4px rgba(61, 214, 140, 0.18);
}

.live-estimate-figure {
  grid-area: figure;
  margin: 0;
  text-align: left;
}

.live-estimate-price,
.live-estimate-pending {
  display: block;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.live-estimate-type {
  margin: 4px 0 0;
  color: #c5d2e4;
  font-size: 13px;
  line-height: 1.3;
}

.live-estimate-explain,
.live-estimate-budget {
  grid-area: note;
  margin: 0;
  color: #c5d2e4;
  font-size: 13px;
  line-height: 1.45;
}

.live-estimate-counts {
  grid-area: counts;
  display: flex;
  gap: 22px;
  margin: 0;
  font-size: 13px;
  color: #d5e0ee;
  white-space: nowrap;
}

.live-estimate-counts span {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.live-estimate-counts strong {
  display: inline;
  font-size: 20px;
  line-height: 1;
  color: #fff;
}

.wait-panel {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff3e8;
  color: var(--navy);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.wait-panel strong {
  display: block;
  margin-bottom: 4px;
}

.wait-panel p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.wait-spinner {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 3px solid #f0d3b4;
  border-top-color: #fe8200;
  border-radius: 50%;
  animation: wait-spin 0.8s linear infinite;
}

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

@media (max-width: 760px) {
  .live-estimate {
    grid-template-columns: 1fr;
    grid-template-areas:
      "lead"
      "figure"
      "counts"
      "note";
    row-gap: 10px;
  }

  .live-estimate-price,
  .live-estimate-pending {
    font-size: 22px;
  }
}

.idea-budget {
  margin: 0 0 18px;
}

.idea-budget h2 {
  margin: 6px 0 4px;
  font-size: 20px;
  color: var(--navy);
}

.scope-target {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.scope-target strong {
  color: var(--navy);
}

.scope-target .classification-link {
  margin-left: 8px;
}

.budget-comparison {
  margin: 0 0 18px;
}

.budget-selector h2 {
  margin: 6px 0 4px;
  font-size: 20px;
  color: var(--navy);
}

.budget-selector > p,
.scope-disclaimer,
.scope-guidance {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.scope-kicker {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.budget-choice-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.budget-choice {
  display: grid;
  gap: 3px;
  text-align: left;
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
}

.budget-choice strong {
  font-size: 13px;
}

.budget-choice small {
  font-size: 11px;
  color: var(--muted);
}

.budget-choice.is-selected {
  background: var(--blue-soft);
  border-color: var(--blue);
}

.budget-choice:focus-visible,
.budget-apply:focus-visible,
.budget-undo:focus-visible {
  outline: 3px solid #fe8200;
  outline-offset: 2px;
}

.scope-result {
  position: sticky;
  top: 12px;
  z-index: 6;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
  padding: 8px 0;
  background: #fff;
}

.scope-price-card,
.scope-budget-plan {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

.scope-full {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.scope-caption {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #5d7090;
}

.scope-full .scope-caption {
  color: #b8c8df;
}

.scope-price,
.scope-price-fallback {
  display: block;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.scope-price-card p,
.scope-full p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.scope-full p,
.scope-full .scope-feature-list,
.scope-full .budget-kept strong,
.scope-full .budget-deferred strong {
  color: #d5e0ef;
}

.scope-full .budget-kept,
.scope-full .budget-deferred {
  border-top-color: #38506b;
}

.scope-feature-list {
  margin: 6px 0 0;
  padding-left: 16px;
  font-size: 12px;
  line-height: 1.45;
}

.budget-kept,
.budget-deferred {
  margin-top: 10px;
}

.scope-uncertainty {
  margin-top: 8px;
  padding: 8px 10px;
  border-left: 3px solid #fe8200;
  background: #fff5e8;
  color: #875611;
  font-size: 12px;
}

.budget-apply,
.budget-undo {
  display: block;
  width: 100%;
  margin-top: 10px;
  border-radius: 9px;
  padding: 10px 12px;
  font: 700 13px Inter, system-ui, sans-serif;
  cursor: pointer;
}

.budget-apply {
  border: none;
  background: var(--blue);
  color: #fff;
}

.budget-undo {
  border: 1px solid #adc5e8;
  background: #edf4ff;
  color: #284f8e;
}

.scope-disclaimer {
  margin-top: 10px;
}

.launch-priorities {
  margin: 16px 0 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafd;
}

.launch-priorities h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.launch-priorities p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.launch-priorities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.priority-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
}

.priority-choice span {
  flex: 1;
  min-width: 0;
}

.priority-choice small {
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 760px) {
  .budget-choice-grid,
  .scope-result,
  .features-layout,
  .launch-priorities-grid {
    grid-template-columns: 1fr;
  }

  .scope-result,
  .investment-panel {
    position: static;
  }

  .investment-panel {
    grid-row: 1;
  }
}

.investment-panel {
  position: static;
  min-width: 0;
  border-radius: 18px;
  border: 1px solid #dbe5f0;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(18, 35, 57, 0.07);
}

.investment-estimate {
  background: #111e31;
  padding: 22px 20px 17px;
  color: #fff;
}

.investment-eyebrow {
  display: block;
  margin-bottom: 9px;
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 750;
  color: #b7c8e1;
}

.investment-price {
  display: block;
  font-size: clamp(22px, 2.4vw, 27px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.investment-price-placeholder {
  display: block;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.35;
}

.investment-caption {
  margin: 8px 0 0;
  color: #bdc9dc;
  font-size: 12px;
  line-height: 1.5;
}

.investment-counts {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 17px;
  padding-top: 12px;
  border-top: 1px solid #34465f;
}

.investment-counts span {
  color: #c3cde0;
  font-size: 12px;
}

.investment-counts strong {
  color: #fff;
  font-size: 15px;
}

.investment-budget {
  padding: 20px 19px 10px;
}

.investment-budget h2 {
  margin: 0 0 5px;
  color: #18283f;
  font-size: 17px;
  line-height: 1.3;
}

.investment-budget p {
  margin: 0 0 13px;
  color: #66758a;
  font-size: 12px;
  line-height: 1.5;
}

.investment-budget .scope-target {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.investment-budget .scope-target strong {
  color: #18283f;
  overflow-wrap: anywhere;
}

.investment-guidance {
  margin: 9px 19px 0;
  padding: 13px 14px;
  background: #f3f6fb;
  border-radius: 10px;
  border: 1px solid #e0e8f2;
}

.investment-guidance strong {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: #223a57;
}

.investment-guidance p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #5c6d84;
}

.investment-guidance.is-attention {
  background: #fff7ed;
  border-color: #efcf9e;
}

.investment-guidance.is-attention strong {
  color: #89500d;
}

.investment-guidance.is-within {
  background: #f2f7fc;
}

.investment-footnote {
  margin: 0;
  padding: 12px 19px 20px;
  font-size: 11px;
  line-height: 1.6;
  color: #728096;
}

.essential-details {
  margin: 19px 0 10px;
  border: 1px solid #dde6f0;
  border-radius: 11px;
  padding: 12px 14px;
  background: #f8fafd;
}

.essential-details summary {
  cursor: pointer;
  color: #28456b;
  font-size: 13px;
  font-weight: 650;
}

.essential-details p {
  margin: 9px 0 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #60728a;
}

.scope-full {
  background: #fff;
  color: #172741;
  border: 1px solid #cfdbeb;
}

.scope-full .scope-caption,
.scope-full p,
.scope-full h3 {
  color: #1d3050;
}

.scope-full .scope-price {
  color: #16263e;
}

.scope-why {
  grid-column: 1 / -1;
  border: 1px solid #e0e7f1;
  border-radius: 12px;
  background: #fff;
  padding: 15px;
}

.scope-option-title {
  margin: 4px 0 10px;
  font-size: 16px;
  line-height: 1.3;
  color: #172e51;
}

.scope-story-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 4px;
  display: grid;
  gap: 9px;
}

.scope-story-list li {
  display: grid;
  gap: 3px;
  background: #f4f7fc;
  border: 1px solid #e7edf5;
  padding: 10px 11px;
  border-radius: 9px;
  color: #20334e;
}

.scope-story-list li strong {
  font-size: 12px;
  line-height: 1.4;
}

.scope-story-list li span {
  font-size: 11px;
  line-height: 1.55;
  color: #5c6f88;
}

.scope-feature-detail {
  border-top: 1px solid #e7ecf3;
  margin-top: 12px;
  padding-top: 10px;
}

.scope-feature-detail summary {
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
  color: #3566b5;
}

.scope-feature-detail ul {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.55;
  color: #52647c;
}

.scope-tradeoff {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e5ebf3;
  border-radius: 10px;
  background: #f7f9fc;
}

.scope-review-help {
  margin: 12px 0 0;
  padding: 10px;
  border-left: 3px solid #fe8200;
  border-radius: 6px;
  background: #fff6eb;
  color: #855719;
  font-size: 12px;
  line-height: 1.55;
}

.scope-why h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.scope-why p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.55;
  color: #52647d;
}

.scope-why span {
  display: block;
  border-top: 1px solid #edf1f5;
  padding-top: 10px;
  font-size: 12px;
  color: #71829a;
}
