/* Home policy search panel */
.policy-search-intro{color:#66778c;margin:.2rem 0 1rem}.policy-search-form .input-group{border:1px solid #dce5ef;border-radius:12px;overflow:hidden}.policy-search-form .input-group-text{background:#fff;border:0;color:#65809b;padding-left:14px}.policy-search-form .form-control{border:0;box-shadow:none;min-width:0}.policy-search-form .btn{border-radius:0;padding-inline:18px}.policy-keywords{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:14px 0;color:#738196;font-size:.84rem}.policy-keywords button{border:1px solid #dce5ef;background:#f6f9fc;border-radius:999px;padding:5px 11px;color:#24577f}.policy-keywords button:hover{background:#e9f3fc}.policy-search-results{border-top:1px solid #e8edf2;margin-top:12px;padding-top:4px}.policy-search-result{display:flex;flex-direction:column;gap:4px;border-bottom:1px solid #edf0f4;padding:12px 2px}.policy-search-result strong{color:#173b70}.policy-search-result span{font-size:.86rem;color:#6b7b8d}.policy-search-result a{font-size:.83rem;text-decoration:none;color:#1769b0;margin-top:2px}.policy-search-footnote{font-size:.78rem;color:#78879a;margin:14px 0 0}

/* Home page layout */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: 400;
  font-style: normal;
  font-size: 1.15em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.home-main { padding: 26px 0 30px; }
.home-hero { padding: 34px 0 30px; }
.home-hero .hero-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
.home-hero .hero-copy h1 { margin: 12px 0 12px; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.home-hero .hero-copy p { font-size: .92rem; }
.home-hero .hero-visual { min-height: 205px; }

.start-guide {
  width: min(100%, 390px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
}

.start-guide h2 { margin: 0 0 12px; color: #d8eaf5; font-size: .78rem; font-weight: 500; }
.start-step { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.start-step-number { display: grid; flex: 0 0 27px; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; font-size: .73rem; }
.start-step b, .start-step small { display: block; }
.start-step b { font-size: .78rem; }
.start-step small { margin-top: 1px; color: #d6e4ef; font-size: .66rem; }

/* Recent in-progress scenario card */
.home-recent-progress {
  width: 100%;
  padding: 25px;
  border: 1px solid #dce5ef;
  border-radius: 20px;
  color: #173b70;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 44, 73, .14);
}
.home-recent-progress-heading,
.home-progress-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.home-recent-progress h2 { margin: 0; color: #173b70; font-size: 1.35rem; font-weight: 800; }
.home-sim-progress { margin-top: 18px; }
.home-sim-progress-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.home-sim-progress-heading strong { color: #173b70; font-size: 1rem; }
.home-sim-progress-heading > span { color: #49627a; font-size: .88rem; white-space: nowrap; }
.home-sim-progress-track { height: 9px; margin: 0; background: #e9eff4; }
.home-sim-progress-track .progress-bar { background: #164166; }
.home-sim-step-labels { display: flex; justify-content: space-between; gap: 8px; margin: 9px 0 0; padding: 0; list-style: none; color: #6c7f91; }
.home-sim-step-label { flex: 1 1 0; min-width: 0; color: #66798b; font-size: .78rem; line-height: 1.45; text-align: center; white-space: nowrap; }
.home-sim-step-label:first-child { text-align: left; }
.home-sim-step-label:last-child { text-align: right; }
.home-sim-step-label.active { color: #1769aa; font-weight: 800; }
.home-sim-step-label.completed { color: #164166; font-weight: 700; }

.home-content { display: grid; gap: 22px; padding-top: 26px; }
.home-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.home-service-card { min-height: 174px; padding: 16px; border-radius: 16px; }
.home-service-card .service-icon { width: 38px; height: 38px; border-radius: 12px; font-size: 1.05rem; }
.home-service-card .service-kicker { margin-top: 9px; }
.home-service-card h2 { margin: 3px 0 5px; font-size: .98rem; font-weight: 800; }
.home-service-card p { font-size: .72rem; }
.home-service-card .service-action { padding-top: 9px; font-size: .72rem; }

.policy-panel { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 7px 20px rgba(31, 58, 84, .035); }
.policy-panel h2 { margin: 0 0 5px; font-size: .98rem; font-weight: 800; }
.policy-search-intro { font-size: .76rem; }
.policy-search-form .form-control, .policy-search-form .btn { min-height: 40px; font-size: .78rem; }
.policy-search-form .input-group { border-radius: 9px; }
.policy-keywords { margin: 9px 0 0; font-size: .7rem; }
.policy-keywords button { padding: 3px 9px; font-size: .68rem; }
.policy-search-footnote { margin: 0; padding: 11px 15px; border: 1px solid #e8edf2; border-radius: 10px; background: #f7f9fb; font-size: .68rem; }

@media (max-width: 767.98px) {
  .home-main { padding-top: 0; }
  .home-hero { padding: 38px 0 30px; }
  .home-hero .hero-grid { grid-template-columns: 1fr; gap: 18px; }
  .home-hero .hero-visual { min-height: 0; }
  .start-guide { width: 100%; }
  .home-recent-progress { width: 100%; }
  .home-sim-step-labels { gap: 5px; }
  .home-sim-step-label { font-size: .72rem; white-space: normal; }
  .home-content { padding-top: 18px; }
  .home-service-grid { grid-template-columns: 1fr; }
}
