/*
 * Locale solution pages (/en/*, /tr/*), generated by scripts/dev/build-seo-pages.js.
 *
 * Layout only. Every colour, radius, space and type size is a token from
 * design-system.css, so both themes and check:contrast keep working without a
 * single new colour pair. The text on these pages is static HTML in one language
 * (nothing is translated after first paint), so no band needs a CLS reservation.
 */
.sx-page { background: var(--bg); color: var(--text); }
.sx-wrap { max-width: var(--container-lg, 1120px); margin: 0 auto; padding: 0 var(--space-6); }

.sx-crumbs { padding: var(--space-6) 0 0; font-size: var(--text-sm); color: var(--text-muted); }
.sx-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; }
.sx-crumbs li + li::before { content: "/"; margin-right: var(--space-2); color: var(--text-subtle); }
.sx-crumbs a { color: var(--text-muted); text-decoration: none; }
.sx-crumbs a:hover { color: var(--accent-text); text-decoration: underline; }

.sx-hero { padding: var(--space-10) 0 var(--space-12); }
.sx-eyebrow { display: inline-block; font-size: var(--text-sm); font-weight: 600; color: var(--accent-text); margin: 0 0 var(--space-3); }
.sx-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, var(--text-4xl)); line-height: var(--leading-tight); margin: 0 0 var(--space-5); max-width: 22ch; }
.sx-lead { font-size: var(--text-lg); line-height: var(--leading-relaxed); color: var(--text-muted); max-width: 65ch; margin: 0 0 var(--space-8); }
.sx-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.sx-section { padding: var(--space-12) 0; border-top: 1px solid var(--border); }
.sx-section h2 { font-family: var(--font-display); font-size: var(--text-2xl); line-height: var(--leading-snug); margin: 0 0 var(--space-4); }
.sx-section > .sx-wrap > p, .sx-prose p { font-size: var(--text-base); line-height: var(--leading-relaxed); color: var(--text-muted); max-width: 70ch; margin: 0 0 var(--space-4); }
.sx-section ul.sx-list { margin: 0 0 var(--space-4); padding-left: var(--space-5); max-width: 70ch; color: var(--text-muted); line-height: var(--leading-relaxed); }
.sx-section ul.sx-list li { margin-bottom: var(--space-2); }
.sx-section ul.sx-list strong { color: var(--text); }

.sx-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: var(--space-6); }
.sx-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); }
.sx-card h3 { font-size: var(--text-lg); margin: 0 0 var(--space-2); color: var(--text); }
.sx-card p { margin: 0; font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--text-muted); }
.sx-card a { color: var(--accent-text); }

.sx-steps { counter-reset: sx-step; list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-4); }
.sx-steps li { counter-increment: sx-step; position: relative; padding: var(--space-5) var(--space-5) var(--space-5) calc(var(--space-12) + var(--space-2)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--text-muted); line-height: var(--leading-relaxed); }
.sx-steps li::before { content: counter(sx-step); position: absolute; left: var(--space-5); top: var(--space-5); width: var(--space-8); height: var(--space-8); border-radius: var(--radius-full); background: var(--accent-soft); color: var(--accent-text); font-weight: 700; display: grid; place-items: center; }
.sx-steps strong { display: block; color: var(--text); margin-bottom: var(--space-1); }

.sx-note { margin-top: var(--space-6); padding: var(--space-4) var(--space-5); border-left: 3px solid var(--accent); background: var(--surface-muted); border-radius: var(--radius-md); color: var(--text-muted); font-size: var(--text-sm); line-height: var(--leading-relaxed); max-width: 75ch; }
.sx-note strong { color: var(--text); }

.sx-faq { margin-top: var(--space-6); display: grid; gap: var(--space-3); max-width: 80ch; }
.sx-faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); }
.sx-faq summary { cursor: pointer; font-weight: 600; color: var(--text); }
.sx-faq details p { margin: var(--space-3) 0 0; color: var(--text-muted); line-height: var(--leading-relaxed); }

.sx-related ul { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.sx-related a { display: block; height: 100%; padding: var(--space-4) var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--text); text-decoration: none; font-weight: 600; }
.sx-related a:hover { border-color: var(--accent); background: var(--surface-hover); }
.sx-related span { display: block; margin-top: var(--space-1); font-weight: 400; font-size: var(--text-sm); color: var(--text-muted); }

.sx-cta { text-align: center; }
.sx-cta h2 { margin-left: auto; margin-right: auto; }
.sx-cta p { margin-left: auto !important; margin-right: auto !important; }
.sx-cta .sx-actions { justify-content: center; }

@media (max-width: 640px) {
    .sx-wrap { padding: 0 var(--space-4); }
    .sx-hero { padding: var(--space-8) 0 var(--space-10); }
    .sx-section { padding: var(--space-10) 0; }
}
