/* Free SMS tool pages: the SMS template (brief H11) and the SMS gap check (H12).
 * Section styles come from the breach checker (body class "breach-page"); these are the extras. */

/* Hero: copy and buttons left, illustration right (below the buttons on mobile). */
.sms-template-page .st-hero { padding: 150px 0 72px; background: radial-gradient(circle at 80% 10%, #0d4a33 0%, #083423 55%, #062a1c 100%); color: #fff; }
.sms-template-page .st-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 40px; }
.sms-template-page .st-eyebrow { display: inline-block; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 99px; color: #7fd4a6; font: 600 13px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.sms-template-page .st-hero h1 { margin: 18px 0 16px; color: #fff; font: 700 clamp(34px, 4.2vw, 54px)/1.06 var(--font-display); letter-spacing: -.02em; }
.sms-template-page .st-intro { max-width: 600px; margin: 0 0 28px; color: #cfe7da; font: 400 18px/1.6 var(--font-body); }
.sms-template-page .st-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.sms-template-page .st-small { margin: 16px 0 0; color: #a9c9b7; font: 400 14px/1.5 var(--font-body); }
.sms-template-page .st-hero-art img { display: block; width: 100%; height: auto; }

/* What's inside: eight cards, four across. */
.sms-template-page .st-inside article h3 { color: #083423; }

/* Steps: five cards, centred rows. */
.sms-template-page .st-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 1120px; margin-left: auto; margin-right: auto; }
.sms-template-page .st-steps article { grid-column: span 2; }
.sms-template-page .st-steps article:nth-child(4) { grid-column: 2 / span 2; }

/* Proportionality table and text sections. */
.sms-template-page .st-narrow { max-width: 900px; }
.sms-template-page .st-table { margin: 40px 0 0; overflow-x: auto; border-radius: 18px; background: #fff; box-shadow: 0 4px 12px rgba(11, 31, 22, .06); }
.sms-template-page .st-table table { width: 100%; border-collapse: collapse; color: #083423; font: 400 16px/1.5 var(--font-body); }
.sms-template-page .st-table th, .sms-template-page .st-table td { padding: 16px 20px; border-bottom: 1px solid #e3ebe6; text-align: left; vertical-align: top; }
.sms-template-page .st-table thead th { background: #083423; color: #fff; font: 600 15px/1.3 var(--font-display); }
.sms-template-page .st-table tbody th { width: 24%; font: 700 16px/1.4 var(--font-display); }
.sms-template-page .st-table tbody tr:last-child > * { border-bottom: 0; }
.sms-template-page .st-text { max-width: 720px; margin: 28px auto 0; color: #44544b; font: 400 16px/1.65 var(--font-body); text-align: center; }
.sms-template-page .st-links { max-width: 720px; margin: 28px auto 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.sms-template-page .st-links li { padding: 16px 20px; border-left: 3px solid #ff6b2c; border-radius: 12px; background: #fff; box-shadow: 0 4px 12px rgba(11, 31, 22, .05); color: #44544b; font: 400 16px/1.55 var(--font-body); }
.sms-template-page .st-links a { color: #0f6b3f; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* CTA: the breach checker's two cards, with a line of text and a button each. */
.sms-template-page .st-cta article { display: flex; flex-direction: column; align-items: flex-start; }
.sms-template-page .st-cta article p { margin: 14px 0 24px; color: #607168; font: 400 16px/1.6 var(--font-body); }
.sms-template-page .st-cta article:last-child p { color: #cfe7da; }
.sms-template-page .st-cta .pill-button { margin-top: auto; }

/* Related guides. */
.sms-template-page .st-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
.sms-template-page .st-related a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px; border-radius: 16px; background: #fff; box-shadow: 0 4px 12px rgba(11, 31, 22, .05); color: #083423; text-decoration: none; transition: transform .2s; }
.sms-template-page .st-related a:hover { transform: translateY(-2px); }
.sms-template-page .st-related strong { font: 700 19px/1.3 var(--font-display); }
.sms-template-page .st-related span { color: #607168; font: 400 15px/1.55 var(--font-body); }
.sms-template-page .st-related em { margin-top: auto; padding-top: 8px; color: #ff6b2c; font: 600 14px/1 var(--font-mono); font-style: normal; }

@media (max-width: 960px) {
	.sms-template-page .st-hero { padding: 120px 0 56px; }
	.sms-template-page .st-hero-grid { grid-template-columns: 1fr; gap: 24px; }
	.sms-template-page .st-hero-art { max-width: 520px; }
	.sms-template-page .st-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sms-template-page .st-steps article, .sms-template-page .st-steps article:nth-child(4) { grid-column: auto; }
	.sms-template-page .st-related { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.sms-template-page .st-steps { grid-template-columns: 1fr; }
	.sms-template-page .st-actions .pill-button { width: 100%; justify-content: space-between; }
	/* Stack the table: each row becomes a small card. */
	.sms-template-page .st-table thead { display: none; }
	.sms-template-page .st-table tr { display: block; padding: 14px 18px; border-bottom: 1px solid #e3ebe6; }
	.sms-template-page .st-table th, .sms-template-page .st-table td { display: block; width: auto !important; padding: 4px 0; border: 0; }
	.sms-template-page .st-table td::before { display: block; color: #0f6b3f; font: 600 12px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
	.sms-template-page .st-table td:nth-of-type(1)::before { content: "One or two trucks"; }
	.sms-template-page .st-table td:nth-of-type(2)::before { content: "Larger fleet"; }
}
