/* Isolated redesign of the existing #result section only. */
#result.result-plan {
  padding: 70px 0 68px !important;
  background: #f4f8fc !important;
  scroll-margin-top: 68px;
}

#result.result-plan > .container {
  display: block !important;
}

#result .result-plan-top {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

#result .result-plan-intro {
  min-width: 0;
}

#result .result-plan-intro .eyebrow {
  margin: 0 0 16px;
  color: #1769d8;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

#result .result-plan-intro h2 {
  max-width: 520px !important;
  margin: 0 !important;
  color: #111a2b !important;
  font-family: "Bitter", Georgia, "Times New Roman", serif !important;
  font-size: clamp(42px, 4vw, 58px) !important;
  font-weight: 800 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.025em !important;
  text-wrap: balance;
}

#result .result-plan-lead {
  max-width: 500px;
  margin: 24px 0 0;
  color: #647187;
  font-size: 16px;
  line-height: 1.62;
}

#result .result-plan-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

#result .result-plan-item {
  min-width: 0;
  min-height: 154px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px;
  border: 1px solid #dbe6f3;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(42, 70, 105, 0.05);
}

#result .result-plan-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #edf5ff;
}

#result .result-plan-icon img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

#result .result-plan-item h3 {
  margin: 1px 0 8px !important;
  color: #111a2b !important;
  font-family: var(--font-body) !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.22 !important;
}

#result .result-plan-item p {
  margin: 0 !important;
  color: #667389 !important;
  font-size: 15px !important;
  line-height: 1.48 !important;
}

#result .result-paths {
  margin-top: 36px;
  scroll-margin-top: 68px;
}

#result .result-paths > h3 {
  margin: 0 0 16px;
  color: #111a2b;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.12;
}

#result .result-paths-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 8px;
  border: 1px solid #dbe6f3;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(42, 70, 105, 0.05);
}

#result .result-path {
  min-width: 0;
  padding: 24px 26px;
}

#result .result-path + .result-path {
  border-left: 1px solid #dbe6f3;
}

#result .result-path h4 {
  margin: 0 0 9px;
  color: #1769d8;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

#result .result-path p {
  margin: 0;
  color: #667389;
  font-size: 15px;
  line-height: 1.45;
}

#result .result-path strong {
  display: block;
  margin-top: 12px;
  color: #25354b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

#result .result-paths-note {
  margin: 16px 0 0;
  color: #667389;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  #result.result-plan {
    padding: 60px 0 !important;
  }

  #result .result-plan-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #result .result-plan-intro h2 {
    max-width: 680px !important;
  }

  #result .result-plan-lead {
    max-width: 680px;
  }

  #result .result-paths {
    margin-top: 34px;
  }

  #result .result-paths-panel {
    grid-template-columns: 1fr;
    padding: 0;
  }

  #result .result-path {
    padding: 20px 24px;
  }

  #result .result-path + .result-path {
    border-top: 1px solid #dbe6f3;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  #result.result-plan {
    padding: 46px 0 48px !important;
  }

  #result.result-plan > .container {
    width: calc(100% - 40px) !important;
  }

  #result .result-plan-intro .eyebrow {
    margin-bottom: 13px;
    font-size: 14px;
  }

  #result .result-plan-intro h2 {
    max-width: 100% !important;
    font-size: clamp(32px, 9vw, 36px) !important;
    line-height: 1.07 !important;
    letter-spacing: -0.02em !important;
    text-wrap: balance;
  }

  #result .result-plan-lead {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.52;
  }

  #result .result-plan-top {
    gap: 24px;
  }

  #result .result-plan-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    overflow: hidden;
    border: 1px solid #dbe6f3;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(42, 70, 105, 0.045);
  }

  #result .result-plan-item {
    min-height: 0;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 13px;
    padding: 16px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #result .result-plan-item + .result-plan-item {
    border-top: 1px solid #e1eaf5;
  }

  #result .result-plan-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  #result .result-plan-icon img {
    width: 29px;
    height: 29px;
  }

  #result .result-plan-item h3 {
    margin: 0 0 5px !important;
    font-size: 17px !important;
    line-height: 1.22 !important;
  }

  #result .result-plan-item p {
    font-size: 14px !important;
    line-height: 1.42 !important;
  }

  #result .result-paths {
    margin-top: 28px;
  }

  #result .result-paths > h3 {
    margin-bottom: 14px;
    font-size: 25px;
    line-height: 1.14;
  }

  #result .result-paths-panel {
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(42, 70, 105, 0.045);
  }

  #result .result-path {
    padding: 17px 18px;
  }

  #result .result-path h4 {
    margin-bottom: 6px;
    font-size: 18px;
  }

  #result .result-path p,
  #result .result-path strong {
    font-size: 14px;
    line-height: 1.4;
  }

  #result .result-path strong {
    margin-top: 8px;
  }

  #result .result-paths-note {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.45;
  }
}
