:root {
  --sc-bg: #ffffff;
  --sc-bg-muted: #f4f5f7;
  --sc-text: #17191f;
  --sc-text-muted: #646b78;
  --sc-line: #e4e7ec;
  --sc-dark: #111827;
  --sc-dark-soft: #1f2937;
  --sc-accent: #cc1f2f;
  --sc-accent-dark: #a21724;
  --sc-radius: 18px;
  --sc-shadow: 0 20px 60px rgba(17, 24, 39, 0.08);
  --sc-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: var(--sc-text); background: var(--sc-bg); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sc-accent); }
img { max-width: 100%; height: auto; display: block; }
.sc-container { width: min(var(--sc-container), calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--sc-line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand, .site-brand-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.03em; }
.custom-logo-link img { max-height: 54px; width: auto; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; background: var(--sc-dark); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; letter-spacing: .04em; }
.brand-text { font-size: 19px; }
.primary-nav ul { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; margin: 0; }
.primary-nav a { font-weight: 650; color: var(--sc-dark-soft); }
.nav-toggle { display: none; border: 1px solid var(--sc-line); background: #fff; padding: 9px 12px; border-radius: 999px; font-weight: 700; }
.sc-hero { background: radial-gradient(circle at 88% 15%, rgba(204,31,47,.18), transparent 25%), linear-gradient(135deg, #10141d, #202838 68%, #0f1117); color: #fff; padding: 94px 0 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) 420px; gap: 52px; align-items: center; }
.sc-eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; color: var(--sc-accent); margin: 0 0 12px; }
.sc-hero .sc-eyebrow { color: #ffb6be; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.04em; }
h1 { font-size: clamp(42px, 6vw, 72px); margin: 0 0 20px; }
h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 14px; }
h3 { font-size: 22px; margin: 0 0 10px; }
.hero-lead, .section-heading p, .sc-page-hero p { color: var(--sc-text-muted); max-width: 720px; font-size: 18px; }
.sc-hero .hero-lead { color: rgba(255,255,255,.76); font-size: 20px; }
.hero-actions, .product-actions, .resource-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.sc-button, .sc-link-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 20px; border-radius: 999px; background: var(--sc-accent); color: #fff; font-weight: 800; border: 1px solid transparent; box-shadow: 0 12px 24px rgba(204, 31, 47, .18); }
.sc-button:hover, .sc-link-button:hover { background: var(--sc-accent-dark); color: #fff; }
.sc-button.secondary, .sc-link-button.ghost { background: transparent; color: inherit; border-color: rgba(255,255,255,.26); box-shadow: none; }
.sc-link-button.ghost { color: var(--sc-dark); border-color: var(--sc-line); }
.hero-panel { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: var(--sc-radius); padding: 26px; box-shadow: var(--sc-shadow); }
.panel-label { display: block; color: #ffb6be; font-weight: 800; margin-bottom: 16px; text-transform: uppercase; font-size: 12px; letter-spacing: .16em; }
.recent-list { display: grid; gap: 12px; }
.recent-list a { display: block; padding: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; }
.recent-list strong { display: block; font-size: 18px; }
.recent-list span { display: block; color: rgba(255,255,255,.68); font-size: 14px; margin-top: 4px; }
.sc-section { padding: 82px 0; }
.sc-section-muted { background: var(--sc-bg-muted); }
.section-heading { margin-bottom: 34px; }
.split-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sc-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sc-category-card { min-height: 190px; display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); background: #fff; box-shadow: 0 10px 30px rgba(17,24,39,.04); }
.sc-category-card:hover { transform: translateY(-2px); box-shadow: var(--sc-shadow); color: var(--sc-text); }
.sc-category-icon { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--sc-dark), var(--sc-accent)); display: inline-block; margin-bottom: 8px; }
.sc-category-card strong { font-size: 20px; }
.sc-category-card p { color: var(--sc-text-muted); margin: 0; }
.sc-category-card em { margin-top: auto; color: var(--sc-accent); font-style: normal; font-weight: 800; font-size: 13px; }
.sc-product-grid { display: grid; gap: 22px; }
.sc-product-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sc-product-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sc-product-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sc-product-card { background: #fff; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); overflow: hidden; box-shadow: 0 8px 24px rgba(17,24,39,.04); transition: transform .18s ease, box-shadow .18s ease; }
.sc-product-card:hover { transform: translateY(-3px); box-shadow: var(--sc-shadow); }
.sc-card-media { display: block; background: #f8f9fb; aspect-ratio: 4 / 3; overflow: hidden; }
.sc-card-media img { width: 100%; height: 100%; object-fit: cover; }
.sc-product-placeholder { min-height: 100%; width: 100%; background: radial-gradient(circle at 50% 50%, rgba(204,31,47,.12), transparent 34%), linear-gradient(135deg, #f7f8fb, #e9edf3); display: grid; place-items: center; }
.sc-product-placeholder.large { min-height: 520px; border-radius: var(--sc-radius); }
.sc-product-placeholder span { width: 42%; aspect-ratio: 1; border: 20px solid #161b25; border-radius: 50%; display: block; box-shadow: inset 0 0 0 30px #cfd5df; position: relative; }
.sc-product-placeholder span:after { content: ''; position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--sc-accent); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.sc-card-body { padding: 22px; }
.sc-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.sc-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 9px; border-radius: 999px; font-size: 11px; letter-spacing: .08em; font-weight: 900; background: #eef2f7; color: var(--sc-dark); }
.sc-badge-new { background: #ffe8eb; color: var(--sc-accent-dark); }
.sc-badge-archive { background: #ebeef3; color: #687282; }
.sc-card-kicker { color: var(--sc-accent); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.sc-card-type { color: var(--sc-text-muted); margin: 4px 0 14px; }
.sc-mini-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 20px; }
.sc-mini-specs div { background: #f7f8fb; border-radius: 12px; padding: 10px; }
.sc-mini-specs dt { color: var(--sc-text-muted); font-size: 12px; font-weight: 700; }
.sc-mini-specs dd { margin: 2px 0 0; font-weight: 800; }
.sc-card-actions { display: flex; justify-content: flex-start; }
.sc-page-hero { background: linear-gradient(135deg, #f7f8fb, #fff); border-bottom: 1px solid var(--sc-line); padding: 70px 0 58px; }
.sc-page-hero h1 { color: var(--sc-dark); }
.product-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 34px; }
.product-sidebar { align-self: start; position: sticky; top: 100px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); padding: 20px; background: #fff; }
.product-sidebar h2 { font-size: 18px; margin: 0 0 14px; }
.filter-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; }
.filter-list a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #f7f8fb; color: var(--sc-dark-soft); font-weight: 700; }
.filter-list a.is-active, .filter-list a:hover { background: var(--sc-dark); color: #fff; }
.filter-list.compact a { font-size: 14px; padding: 8px 10px; }
.product-hero { padding: 64px 0; background: #f7f8fb; border-bottom: 1px solid var(--sc-line); }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 46px; align-items: center; }
.product-media-large img { width: 100%; border-radius: var(--sc-radius); box-shadow: var(--sc-shadow); }
.product-breadcrumb { display: flex; gap: 8px; color: var(--sc-text-muted); margin-bottom: 18px; font-size: 14px; font-weight: 700; }
.product-subtitle { color: var(--sc-text-muted); font-size: 20px; margin-top: -4px; }
.product-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.product-chips div { background: #fff; border: 1px solid var(--sc-line); border-radius: 14px; padding: 14px; }
.product-chips span { display: block; color: var(--sc-text-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.product-chips strong { display: block; font-size: 18px; margin-top: 3px; }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.product-main-content { min-width: 0; }
.product-side-card { position: sticky; top: 100px; background: #fff; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); padding: 24px; box-shadow: 0 8px 24px rgba(17,24,39,.04); }
.product-side-card h2 { font-size: 20px; margin-top: 0; }
.download-stack { display: grid; gap: 10px; margin-bottom: 28px; }
.download-stack a { padding: 12px 14px; border-radius: 12px; background: #f7f8fb; font-weight: 800; }
.sc-spec-section { margin: 0 0 38px; }
.sc-spec-section h2 { font-size: 30px; margin-bottom: 18px; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; list-style: none; padding: 0; }
.feature-list li { padding: 14px 16px; background: #f7f8fb; border-radius: 14px; border-left: 3px solid var(--sc-accent); }
.sc-spec-table { border: 1px solid var(--sc-line); border-radius: var(--sc-radius); overflow: hidden; background: #fff; }
.sc-spec-row { display: grid; grid-template-columns: minmax(160px, .8fr) minmax(0, 1fr); border-bottom: 1px solid var(--sc-line); }
.sc-spec-row:last-child { border-bottom: 0; }
.sc-spec-label, .sc-spec-value { padding: 14px 18px; }
.sc-spec-label { background: #f7f8fb; color: var(--sc-text-muted); font-weight: 800; }
.sc-spec-value { font-weight: 800; }
.resource-band { background: var(--sc-dark); color: #fff; }
.resource-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.resource-grid p { color: rgba(255,255,255,.72); }
.sc-download-list { display: grid; gap: 14px; }
.sc-download-item { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); background: #fff; }
.sc-download-item p { margin: 4px 0 0; color: var(--sc-text-muted); }
.sc-download-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.content-area { max-width: 900px; }
.content-area h2, .content-area h3 { margin-top: 1.6em; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; }
.contact-card { background: #f7f8fb; border-radius: var(--sc-radius); padding: 24px; border: 1px solid var(--sc-line); }
.post-list { display: grid; gap: 20px; }
.post-card { padding: 24px; border: 1px solid var(--sc-line); border-radius: var(--sc-radius); background: #fff; }
.sc-pagination { margin-top: 30px; }
.sc-empty { padding: 18px; border: 1px dashed var(--sc-line); border-radius: var(--sc-radius); background: #fff; color: var(--sc-text-muted); }
.site-footer { background: #0f1117; color: rgba(255,255,255,.78); padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .6fr .8fr; gap: 36px; }
.footer-brand { color: #fff; margin-bottom: 16px; }
.site-footer h3 { color: #fff; font-size: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.76); }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; color: rgba(255,255,255,.52); }

@media (max-width: 980px) {
  .hero-grid, .product-hero-grid, .product-detail-grid, .product-layout, .resource-grid, .contact-grid { grid-template-columns: 1fr; }
  .product-sidebar, .product-side-card { position: static; }
  .sc-category-grid, .sc-product-grid-cols-3, .sc-product-grid-cols-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-panel { max-width: 560px; }
  .primary-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--sc-line); padding: 18px 20px; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; gap: 14px; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .sc-container { width: min(100% - 28px, var(--sc-container)); }
  .sc-hero { padding: 70px 0 56px; }
  .sc-section { padding: 58px 0; }
  .sc-category-grid, .sc-product-grid, .sc-product-grid-cols-2, .sc-product-grid-cols-3, .sc-product-grid-cols-4, .feature-list, .product-chips { grid-template-columns: 1fr; }
  .split-heading, .sc-download-item, .footer-bottom { display: block; }
  .sc-download-actions { margin-top: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .sc-spec-row { grid-template-columns: 1fr; }
  .sc-spec-value { border-top: 1px solid var(--sc-line); }
}

.scc-home-module { position: relative; }
.scc-module-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.scc-module-content { color: inherit; }
.scc-module-content > *:first-child { margin-top: 0; }
.scc-module-content > *:last-child { margin-bottom: 0; }
.resource-band .sc-eyebrow { color: #ffb6be; }
.resource-band h2 { color: #fff; }
.resource-band .scc-module-content { color: rgba(255,255,255,.78); margin-top: 18px; }
.resource-band .sc-button.secondary { color: #fff; border-color: rgba(255,255,255,.28); }
.resource-band .sc-button.secondary:hover { background: rgba(255,255,255,.1); }
.site-footer .custom-logo-link img { max-height: 54px; width: auto; }
