/* Screenshot-inspired rhythm for the product landing. Shared colors and type stay in styles.css. */
.site-nav { gap: 22px; }
.hero-grid { min-height: 445px; }
.hero-copy { padding: 50px 0 57px; }
.hero h1 { font-size: clamp(2.65rem, 4.25vw, 3.55rem); line-height: 1.04; }
.hero-lede { max-width: 540px; font-size: 1rem; }
.hero-lede-link { color: #1d64d8; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hero-visual { height: 400px; }
.visual-glow { width: 520px; height: 320px; top: 57px; }
.laptop { width: 545px; right: 38px; top: 28px; }
.tablet-shape { width: 175px; height: 220px; bottom: 26px; }
.phone-shape { width: 79px; height: 157px; right: 146px; bottom: 20px; }

.capability-ribbon {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: -29px;
  padding: 16px 10px;
}
.ribbon-item { min-width: 0; gap: 8px; padding: 0 9px; }
.ribbon-icon { width: 35px; height: 35px; font-size: 1.1rem; }
.ribbon-item strong { font-size: .71rem; line-height: 1.25; }
.ribbon-item small { font-size: .61rem; line-height: 1.35; }

.employee-story { padding-top: 62px; }
.tenant-model { margin: 24px 0 22px; border-radius: 16px; border: 1px solid #dce8f5; padding: 24px; background: linear-gradient(125deg, #f0f6ff, #f9fcff); }
.tenant-platform { text-align: center; max-width: 570px; margin: 0 auto 17px; padding: 16px; border-radius: 11px; background: #163058; color: white; }
.tenant-platform span, .tenant-branches article > span { display: block; font: 700 .65rem 'IBM Plex Mono', monospace; letter-spacing: .13em; }
.tenant-platform span { color: #9fcaff; }
.tenant-platform strong { display: block; font: 700 1.05rem 'Space Grotesk', sans-serif; margin: 5px 0 2px; }
.tenant-platform small { color: #cad8eb; }
.tenant-branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tenant-branches article { min-width: 0; border: 1px solid #d8e6f7; border-radius: 11px; background: white; padding: 20px 22px; }
.tenant-branches article:nth-child(2) { border-color: #d7ede4; }
.tenant-branches article > span { color: #3b6fac; }
.tenant-branches article:nth-child(2) > span { color: #108365; }
.tenant-branches h3 { margin: 10px 0 6px; }
.tenant-branches p { color: #506382; font-size: .83rem; margin-bottom: 0; }
.employee-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.employee-step { min-width: 0; padding: 23px; border: 1px solid #dce8f5; border-radius: 15px; background: linear-gradient(180deg, #f6faff 0%, #fff 100%); box-shadow: 0 8px 20px #153a7309; }
.employee-number { display: inline-block; margin-bottom: 23px; color: #1769e0; font: 700 .8rem 'IBM Plex Mono', monospace; letter-spacing: .08em; }
.employee-step h3 { margin-bottom: 8px; }
.employee-step p { margin-bottom: 0; color: #506382; font-size: .84rem; }
.employee-story-link { margin: 20px 0 0; }
.employee-story-link a { color: #1769e0; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.section { padding-block: 48px; }
.feature-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.feature-card { min-width: 0; min-height: 144px; gap: 9px; padding: 17px 12px; }
.feature-icon { width: 32px; height: 32px; font-size: 1rem; }
.feature-card h3 { font-size: .81rem; line-height: 1.22; }
.feature-card p { font-size: .7rem; line-height: 1.4; }
.feature-tag { font-size: .62rem; }
.dashboard-preview { min-height: 310px; }
.role-card { min-height: 240px; padding: 22px 23px; }
.role-card p, .role-card li { font-size: .78rem; }
.process-grid > div { padding-top: 15px; }
.process-grid h3 { margin-top: 9px; }
.process-grid p { font-size: .76rem; }

@media (max-width: 1100px) {
  .hero-grid { min-height: 445px; }
  .hero-visual { height: 390px; }
  .laptop { width: 470px; right: 0; }
  .tablet-shape { width: 145px; height: 190px; }
  .phone-shape { width: 70px; height: 143px; right: 122px; }
  .capability-ribbon { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; }
  .ribbon-item:nth-child(3) { border-right: 0; }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .employee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card { min-height: 135px; }
}

@media (max-width: 760px) {
  .hero-grid { min-height: 0; }
  .hero-copy { padding: 54px 0 24px; }
  .hero h1 { font-size: clamp(2.4rem, 8.5vw, 3.8rem); }
  .hero-visual { height: 320px; }
  .laptop { width: 465px; right: 14px; top: 0; }
  .tablet-shape { width: 130px; height: 170px; right: 0; bottom: 20px; }
  .phone-shape { width: 67px; height: 135px; right: 110px; bottom: 10px; }
  .capability-ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -10px; }
  .ribbon-item:nth-child(3) { border-right: 1px solid #e5eaf4; }
  .ribbon-item:nth-child(2n) { border-right: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .employee-story { padding-top: 48px; }
  .feature-card { min-height: 126px; }
  .role-card { min-height: 0; }
}

@media (max-width: 470px) {
  .hero-visual { height: 230px; }
  .laptop { width: 340px; right: 9px; top: 4px; }
  .tablet-shape { width: 90px; height: 120px; }
  .phone-shape { width: 48px; height: 99px; right: 78px; }
  .capability-ribbon, .feature-grid { grid-template-columns: 1fr; }
  .employee-grid { grid-template-columns: 1fr; }
  .tenant-model { padding: 16px; }
  .tenant-branches { grid-template-columns: 1fr; }
  .employee-step { padding: 20px; }
  .employee-number { margin-bottom: 12px; }
  .ribbon-item, .ribbon-item:nth-child(3) { border-right: 0; border-bottom: 1px solid #e8edf5; }
  .ribbon-item:last-child { border-bottom: 0; }
  .feature-card { min-height: 0; }
}
