/* Two-service KO-DIT portal, layered over the existing shared theme. */
.hub-hero { padding-block: 76px; }
.hub-hero h1, :lang(en) .hub-hero h1, :lang(ja) .hub-hero h1 { font-size: clamp(38px, 4.25vw, 60px); }
.service-routes { display: grid; gap: 16px; min-width: 0; }
.route-card { display: grid; gap: 10px; padding: 26px 30px; border: 1px solid #3d4f50; border-radius: 20px; background: linear-gradient(125deg, #1b3030, #172021); transition: border-color .15s ease; }
.route-card:hover { border-color: #9ce8e4; }
.route-image { background: linear-gradient(125deg, #293322, #1b211b); border-color: #4a563d; }
.route-image:hover { border-color: var(--accent); }
.route-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: #9ce8e4; }
.route-image .route-top { color: var(--accent); }
.route-card strong { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; line-height: 1.35; }
.route-description { color: #c2cccf; font-size: 14px; }
.route-domain { color: #95a6aa; font-size: 12px; margin-top: 4px; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.services-grid .service-card { display: flex; flex-direction: column; margin: 0; min-width: 0; }
.service-visual { display: flex; flex-direction: column; margin: 0; border-bottom: 1px solid var(--line); background: #141e21; }
.service-visual img { width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: cover; display: block; }
.image-visual img { object-position: center 36%; }
.service-visual figcaption { display: grid; align-content: start; gap: 6px; padding: 18px 24px; min-height: 104px; background: #171e23; }
.service-visual figcaption strong { font-size: 15px; }
.service-visual figcaption span { color: #b1bcc5; font-size: 12px; line-height: 1.65; }
.services-grid .service-copy { display: flex; flex-direction: column; flex: 1; padding: 30px; }
.services-grid .service-meta { flex-wrap: wrap; gap: 10px; }
.services-grid .service-tagline { font-size: 23px; }
.services-grid .feature-tags { margin-bottom: 24px; }
.services-grid .service-actions { margin-top: auto; padding-top: 8px; }
.services-grid .fine-print { margin-top: 18px; }
.model-card .service-name span { color: #9ce8e4; }
.model-card .status { background: #233b3c; color: #b3ece9; border-color: #3e6666; }
.model-card .button { background: #9ce8e4; color: #112626; }
.model-card .button:hover { background: #bbf5f1; }
.step-grid article { min-width: 0; }
@media (max-width: 1050px) {
  .hub-hero { gap: 30px; }
  .services-grid { gap: 18px; }
  .services-grid .service-copy { padding: 26px; }
  .route-card { padding: 24px; }
}
@media (max-width: 800px) {
  .hub-hero { padding-block: 42px; }
  .service-routes { width: 100%; }
  .services-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .service-visual figcaption { min-height: 0; }
  .service-visual img { max-height: 360px; }
}
@media (max-width: 520px) {
  .hub-hero h1, :lang(en) .hub-hero h1, :lang(ja) .hub-hero h1 { font-size: clamp(31px, 8.3vw, 43px); }
  .hub-hero { padding-top: 34px; gap: 30px; }
  .route-card { padding: 22px; }
  .route-card strong { font-size: 24px; }
  .route-description { font-size: 13px; }
  .services-grid .service-copy { padding: 24px 20px; }
  .services-grid .service-tagline { font-size: 21px; }
  .service-visual figcaption { padding: 16px 20px; }
}
@media print {
  .service-routes, .service-visual { display: none; }
  .services-grid { display: block; }
  .services-grid .service-card { margin-block: 20px; }
}
