/* Safety management system software page (template-solution-sms.php, brief H08).
 * Loaded only on that page. The rest of the page uses the ab-* and gp-* styles in style.css. */

/* Hero illustration */
.sm-hero .sm-hero-art img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 24px 48px rgba(0, 0, 0, .25); }

/* Section 4: signature section (dark band, distinct from other product pages) */
.sm-standard { padding: 88px 0; background: radial-gradient(circle at 85% 0%, #0d4a33 0%, #083423 55%, #062a1c 100%); color: #fff; }
.sm-eyebrow { display: inline-block; margin-bottom: 14px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 99px; color: #7fd4a6; font: 600 12px/1 var(--font-mono, "IBM Plex Mono", monospace); letter-spacing: .12em; text-transform: uppercase; }
.sm-standard h2 { max-width: 760px; margin: 0 0 14px; color: #fff; font: 600 clamp(30px, 3.4vw, 44px)/1.1 var(--font-display); letter-spacing: -.02em; }
.sm-intro { max-width: 760px; margin: 0 0 32px; color: #cfe7da; font: 400 17px/1.65 var(--font-body); }
.sm-standard-art { display: block; width: 100%; height: auto; margin: 0 0 32px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; }
.sm-table { overflow-x: auto; border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.sm-table table { width: 100%; min-width: 640px; border-collapse: collapse; color: #10291f; font: 400 15px/1.5 var(--font-body); }
.sm-table th, .sm-table td { padding: 18px 20px; border-bottom: 1px solid #edf1ee; text-align: left; vertical-align: top; }
.sm-table thead th { background: #f1f8f4; color: #0f6b3f; font: 600 12px/1.3 var(--font-mono, "IBM Plex Mono", monospace); letter-spacing: .08em; text-transform: uppercase; }
.sm-table tbody th { width: 22%; color: #103f2e; font: 600 17px/1.3 var(--font-display); }
.sm-table tbody td:last-child { background: #fbf6f2; border-left: 3px solid var(--orange, #ff6b2c); color: #103f2e; font-weight: 500; }
.sm-table tbody tr:last-child > * { border-bottom: 0; }
.sm-note { max-width: 820px; margin: 20px 0 0; color: #a9c9b7; font: 400 13.5px/1.6 var(--font-body); }
.sm-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Section 5: feature cards */
.sm-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.sm-features li { display: flex; flex-direction: column; padding: 22px; border: 1px solid #e3ebe6; border-radius: 20px; background: #fff; }
.sm-features li.has-art { grid-column: span 2; }
.sm-features img { width: 100%; height: auto; margin: 0 0 16px; border-radius: 14px; }
.sm-features h3 { margin: 0 0 8px; color: #103f2e; font: 600 19px/1.25 var(--font-display); }
.sm-features p { margin: 0 0 14px; color: #5f6c64; font: 400 14.5px/1.6 var(--font-body); }
.sm-features .gp-card-link { margin-top: auto; }

/* Section 9: security list */
.sm-security { margin: 0; padding-left: 18px; color: #4e5c55; font: 400 16px/1.8 var(--font-body); }
.sm-security strong { color: #103f2e; }

/* Section 12: final call to action */
.sm-final { padding: 72px 0 88px; }
.sm-final-panel { padding: 56px; border-radius: 34px; background: linear-gradient(135deg, #083423, #0d4a33); color: #fff; text-align: center; }
.sm-final-panel h2 { margin: 0 0 12px; color: #fff; font: 600 clamp(28px, 3vw, 40px)/1.15 var(--font-display); }
.sm-final-panel p { max-width: 620px; margin: 0 auto 26px; color: #cfe7da; font: 400 17px/1.6 var(--font-body); }
.sm-final-panel .gp-actions { justify-content: center; margin-bottom: 0; }

@media (max-width: 1100px) {
	.sm-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	/* The five-elements diagram is unreadable this small; the table below carries the same content. */
	.sm-standard-art { display: none; }
}
@media (max-width: 800px) {
	.sm-standard { padding: 56px 0; }
	.sm-standard-art { margin-bottom: 24px; border-radius: 14px; }
	.sm-features { grid-template-columns: 1fr; }
	.sm-features li.has-art { grid-column: auto; }
	.sm-final-panel { padding: 36px 22px; border-radius: 24px; }
}
