/* UauCloud home — concise Decide/Learn surface */
.home-page { color: var(--ink-900); overflow: clip; }
.home-page .wp-hero { padding-bottom: 84px; }
.home-page .wp-hero-product { height: 560px; aspect-ratio: auto; object-position: 58% center; }
.home-price-note { margin: 20px 0 0; color: var(--blue-700); font: 600 13px/1.5 var(--font-mono); }
.home-solutions { background: #fff; }
.home-solution-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--ink-200); }
.home-solution-card { min-height: 260px; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid var(--ink-200); }
.home-solution-card:last-child { border-right: 0; }
.home-solution-card > span:first-child { color: var(--blue-700); font: 600 11px/1.4 var(--font-mono); letter-spacing: .07em; }
.home-solution-card h3 { margin: 52px 0 12px; font-size: 26px; letter-spacing: -.035em; }
.home-solution-card p { margin: 0; color: var(--ink-500); line-height: 1.6; }
.home-solution-card > span:last-child { margin-top: auto; padding-top: 24px; color: var(--blue-700); font-weight: 700; }
.home-solution-card:hover { background: var(--blue-50); }
.home-page .wp-plans { background: var(--bg-soft); }
.home-page .wp-common { margin-bottom: 0; }
.home-page .wp-manifesto h2 { max-width: 16ch; }
.home-service-links { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(15,111,156,.22); border-bottom: 1px solid rgba(15,111,156,.22); }
.home-service-links a { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px; border-right: 1px solid rgba(15,111,156,.22); font-weight: 650; }
.home-service-links a:last-child { border-right: 0; }
.home-service-links a:hover { background: rgba(255,255,255,.6); color: var(--blue-700); }

@media (max-width: 1000px) {
  .home-solution-grid { grid-template-columns: repeat(2,1fr); }
  .home-solution-card:nth-child(2) { border-right: 0; }
  .home-solution-card:nth-child(-n+2) { border-bottom: 1px solid var(--ink-200); }
}

@media (max-width: 850px) {
  .home-page .wp-hero-product { height: auto; aspect-ratio: 16 / 10; }
}

@media (max-width: 620px) {
  .home-solution-grid { grid-template-columns: 1fr; }
  .home-solution-card,
  .home-solution-card:nth-child(2) { min-height: 210px; border-right: 0; border-bottom: 1px solid var(--ink-200); }
  .home-solution-card:last-child { border-bottom: 0; }
  .home-solution-card h3 { margin-top: 34px; }
  .home-service-links { grid-template-columns: 1fr; }
  .home-service-links a { min-height: 82px; border-right: 0; border-bottom: 1px solid rgba(15,111,156,.22); }
  .home-service-links a:last-child { border-bottom: 0; }
}
