/**
 * フィジカルAIレンタル - Stylesheet
 * Design: MacClaw-inspired, White base + Blue accent
 * Font: M PLUS 2 + Inter
 */

/* ============================================================
   1. CSS Variables
   ============================================================ */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-surface: #f1f5f9;
    --bg-dark: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
    --accent-light: #eff6ff;
    --accent-green: #16a34a;
    --accent-green-light: #f0fdf4;
    --accent-orange: #ea580c;
    --accent-orange-light: #fff7ed;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-sans: 'M PLUS 2', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Inter', 'M PLUS 2', sans-serif;
    --container: 1140px;
    --header-h: 64px;
    --transition: 0.2s ease;
}

[data-theme="dark"] {
    --bg-primary: #141418;
    --bg-secondary: #1c1c22;
    --bg-surface: #25252d;
    --bg-dark: #0a0a0e;
    --text-primary: #e8e8ed;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --border: #2a2a35;
    --border-light: #1e1e28;
    --accent-light: #1e2a4a;
}

/* ============================================================
   2. Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ============================================================
   3. Header
   ============================================================ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--header-h);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .site-header {
    background: rgba(20,20,24,0.92);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 100%; gap: 24px;
}
.header-logo {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 17px; color: var(--text-primary);
    text-decoration: none; white-space: nowrap;
}
.logo-icon { width: 26px; height: 26px; color: var(--accent); }
.logo-text { font-family: var(--font-display); }

.header-nav { display: flex; gap: 24px; }
.nav-link {
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    transition: color var(--transition);
}
.nav-link:hover { color: var(--text-primary); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); background: var(--bg-primary);
    cursor: pointer; color: var(--text-muted); transition: all var(--transition);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle .lucide-icon { width: 16px; height: 16px; }
.theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="dark"] .theme-icon-dark { display: block; }

/* ============================================================
   4. Buttons
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-sans); font-weight: 600; font-size: 14px;
    border: none; border-radius: var(--radius-sm); cursor: pointer;
    padding: 10px 20px; transition: all var(--transition);
    text-decoration: none; line-height: 1.4;
}
.btn-primary {
    background: var(--accent); color: var(--text-white);
}
.btn-primary:hover { background: var(--accent-dark); color: var(--text-white); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius-md); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-outline {
    background: transparent; border: 1px solid var(--border); color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost {
    background: transparent; color: var(--text-secondary);
}
.btn-ghost:hover { background: var(--bg-surface); color: var(--text-primary); }
.btn .lucide-icon { width: 18px; height: 18px; }

/* ============================================================
   5. Breadcrumb
   ============================================================ */
.breadcrumb {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 13px; color: var(--text-muted); margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { font-size: 11px; }

/* ============================================================
   6. Detail Page - MacClaw Style
   ============================================================ */
.detail-section {
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 80px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

/* Gallery */
.detail-gallery { margin-bottom: 24px; }
.gallery-main-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-surface);
    aspect-ratio: 4 / 3;
    display: flex; align-items: center; justify-content: center;
}
.gallery-main-img {
    width: 100%; height: 100%; object-fit: contain;
    padding: 24px;
}
.gallery-placeholder {
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
}
.gallery-placeholder-icon { width: 64px; height: 64px; }

.gallery-thumbs-wrap { margin-top: 12px; }
.gallery-thumbs {
    display: flex; gap: 8px; overflow-x: auto;
    scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
    flex: 0 0 72px; width: 72px; height: 72px;
    border-radius: var(--radius-sm);
    overflow: hidden; border: 2px solid var(--border);
    cursor: pointer; background: var(--bg-surface);
    padding: 0; transition: border-color var(--transition);
}
.gallery-thumb.active,
.gallery-thumb:hover { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Sidebar Card */
.sidebar-card {
    position: sticky; top: calc(var(--header-h) + 24px);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
}
.sidebar-card-sp { display: none; }

.spec-badges-row {
    display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.spec-badge-lg {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: var(--radius-sm);
    font-size: 12px; font-weight: 600;
    background: var(--bg-surface); color: var(--text-secondary);
    border: 1px solid var(--border-light);
}
.spec-badge-lg .lucide-icon { width: 13px; height: 13px; }
.badge-category {
    background: var(--accent-light); color: var(--accent);
    border-color: transparent;
}

.detail-title {
    font-size: 20px; font-weight: 700; line-height: 1.4;
    margin-bottom: 4px;
}
.detail-subtitle {
    font-size: 13px; color: var(--text-muted); margin-bottom: 16px;
}
.detail-price-row {
    display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
    margin-bottom: 20px;
}
.detail-price {
    font-size: 28px; font-weight: 700; color: var(--accent);
    font-family: var(--font-display);
}
.detail-price-sub { font-size: 13px; color: var(--text-muted); }
.detail-price-note { font-size: 12px; color: var(--text-muted); }

.sidebar-buy-btn {
    margin-bottom: 10px;
}
.sidebar-buy-btn .lucide-icon { width: 20px; height: 20px; }

.sidebar-meta {
    display: flex; gap: 16px; justify-content: center;
    font-size: 12px; color: var(--text-muted); margin-top: 16px;
}
.sidebar-meta .lucide-icon { width: 13px; height: 13px; vertical-align: -2px; }

/* Rental Plans in sidebar */
.rental-plans { margin-top: 20px; }
.rental-plans-title {
    font-size: 13px; font-weight: 600; color: var(--text-secondary);
    margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.rental-plans-title .lucide-icon { width: 15px; height: 15px; }
.rental-plan-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid var(--border-light);
    font-size: 13px;
}
.rental-plan-row:last-child { border-bottom: none; }
.rental-plan-period { font-weight: 600; color: var(--text-primary); }
.rental-plan-price { font-weight: 700; color: var(--accent); font-family: var(--font-display); }
.rental-plan-note { font-size: 11px; color: var(--text-muted); }

/* Detail Cards */
.detail-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}
.detail-card-title {
    font-size: 16px; font-weight: 700; margin-bottom: 16px;
    display: flex; align-items: center; gap: 8px;
}
.detail-card-title .lucide-icon { width: 18px; height: 18px; color: var(--accent); }

/* Spec Table */
.spec-table { width: 100%; }
.spec-row {
    display: flex; padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}
.spec-row:last-child { border-bottom: none; }
.spec-row dt {
    flex: 0 0 140px; font-size: 13px; color: var(--text-muted); font-weight: 500;
}
.spec-row dd { flex: 1; font-size: 14px; font-weight: 500; }

/* Description */
.detail-description {
    font-size: 14px; line-height: 1.8; color: var(--text-secondary);
    white-space: pre-wrap;
}

/* Use Cases */
.use-cases-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.use-case-card {
    padding: 20px; border-radius: var(--radius-md);
    background: var(--bg-secondary); border: 1px solid var(--border-light);
}
.use-case-icon {
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    background: var(--accent-light); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
}
.use-case-icon .lucide-icon { width: 20px; height: 20px; }
.use-case-title { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.use-case-text { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* Features list */
.features-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature-item {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 14px; color: var(--text-secondary);
}
.feature-item .lucide-icon { width: 16px; height: 16px; color: var(--accent-green); flex-shrink: 0; margin-top: 3px; }

/* Related Products */
.related-section { margin-top: 40px; }
.related-title {
    font-size: 18px; font-weight: 700; margin-bottom: 20px;
    display: flex; align-items: center; gap: 8px;
}
.related-title .lucide-icon { width: 20px; height: 20px; color: var(--accent); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.product-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden; transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none; color: var(--text-primary); display: block;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--text-primary); }
.product-card-image {
    aspect-ratio: 4 / 3; background: var(--bg-surface);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-card-image img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.product-card-image .lucide-icon { width: 48px; height: 48px; color: var(--text-muted); }
.product-card-body { padding: 14px; }
.product-card-badge {
    font-size: 11px; font-weight: 600; color: var(--accent);
    background: var(--accent-light); padding: 2px 8px;
    border-radius: var(--radius-sm); display: inline-block; margin-bottom: 6px;
}
.product-card-name { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.product-card-desc { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   7. Footer
   ============================================================ */
.site-footer {
    background: var(--bg-dark); color: var(--text-muted);
    padding: 60px 0 32px; font-size: 13px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px; margin-bottom: 40px;
}
.footer-logo {
    display: flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 16px; color: var(--text-white);
    margin-bottom: 12px;
}
.footer-logo .logo-icon { color: var(--accent); }
.footer-desc { font-size: 13px; line-height: 1.7; color: #94a3b8; }
.footer-links h4 { font-size: 13px; font-weight: 700; color: var(--text-white); margin-bottom: 14px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #94a3b8; transition: color var(--transition); }
.footer-links a:hover { color: var(--text-white); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 24px; border-top: 1px solid #1e293b;
    font-size: 12px; color: #64748b;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: #64748b; }
.footer-legal a:hover { color: #94a3b8; }

/* ============================================================
   8. Responsive
   ============================================================ */
.sp-only { display: none; }

@media (max-width: 768px) {
    .sp-only { display: block; }
    .pc-only { display: none; }

    .header-nav { display: none; }
    .header-cta { display: none; }

    .detail-grid {
        grid-template-columns: 1fr;
    }
    .sidebar-card { display: none; }
    .sidebar-card-sp { display: block; margin-bottom: 20px; }

    .spec-row dt { flex: 0 0 110px; }

    .use-cases-grid { grid-template-columns: 1fr; }
    .features-list { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .gallery-main-wrap { aspect-ratio: 1 / 1; }
}

/* ============================================================
   9. Article Layout
   ============================================================ */
.article-section {
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 80px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}

/* Article Header */
.article-header {
    margin-bottom: 32px;
}

.article-category-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700;
    background: var(--accent-light); color: var(--accent);
    padding: 4px 12px; border-radius: var(--radius-sm);
    margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.04em;
}

.article-title {
    font-size: 26px; font-weight: 700; line-height: 1.5;
    color: var(--text-primary); margin-bottom: 16px;
}

.article-meta {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    font-size: 13px; color: var(--text-muted);
}

.article-meta-item {
    display: flex; align-items: center; gap: 5px;
}

.article-meta-item .lucide-icon {
    width: 14px; height: 14px;
}

/* Article Body Typography */
.article-body {
    font-size: 15px; line-height: 1.85; color: var(--text-secondary);
}

.article-body h2 {
    font-size: 20px; font-weight: 700; color: var(--text-primary);
    background: var(--bg-secondary); border-radius: var(--radius-md);
    padding: 14px 20px; margin: 40px 0 20px;
    border-left: 4px solid var(--accent);
}

.article-body h3 {
    font-size: 17px; font-weight: 700; color: var(--text-primary);
    padding-bottom: 8px; margin: 28px 0 14px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.article-body p { margin-bottom: 18px; }

.article-body ul,
.article-body ol {
    margin: 14px 0 18px 20px; list-style: revert;
}

.article-body ul { list-style-type: disc; }
.article-body ol { list-style-type: decimal; }

.article-body li {
    margin-bottom: 8px; padding-left: 4px;
    color: var(--text-secondary);
}

.article-body table {
    width: 100%; border-collapse: collapse;
    margin: 20px 0; font-size: 14px;
    border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.article-body table thead th {
    background: var(--accent); color: var(--text-white);
    padding: 12px 16px; text-align: left;
    font-weight: 700; font-size: 13px;
}

.article-body table tbody tr {
    border-bottom: 1px solid var(--border);
}

.article-body table tbody tr:last-child { border-bottom: none; }

.article-body table tbody tr:nth-child(even) {
    background: var(--bg-secondary);
}

.article-body table tbody td {
    padding: 11px 16px; color: var(--text-secondary);
}

.article-body blockquote {
    border-left: 4px solid var(--accent);
    background: var(--accent-light);
    padding: 16px 20px; border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 20px 0; font-size: 14px; color: var(--text-secondary);
}

.article-body code {
    background: var(--bg-surface); color: var(--accent);
    padding: 2px 6px; border-radius: 4px;
    font-family: 'Courier New', monospace; font-size: 13px;
}

.article-body pre {
    background: var(--bg-dark); color: #e2e8f0;
    padding: 20px; border-radius: var(--radius-md);
    overflow-x: auto; margin: 20px 0;
    font-size: 13px; line-height: 1.6;
}

.article-body pre code {
    background: none; color: inherit; padding: 0;
}

/* Highlight Boxes */
.highlight-box {
    padding: 18px 22px; border-radius: var(--radius-md);
    margin: 20px 0; font-size: 14px; line-height: 1.7;
}

.highlight-box-title {
    font-weight: 700; margin-bottom: 8px;
    display: flex; align-items: center; gap: 8px;
}

.highlight-box-title .lucide-icon { width: 16px; height: 16px; }

.highlight-box.info {
    background: var(--accent-light); color: var(--accent-dark);
    border: 1px solid rgba(37,99,235,0.15);
}

.highlight-box.success {
    background: var(--accent-green-light); color: var(--accent-green);
    border: 1px solid rgba(22,163,74,0.15);
}

.highlight-box.warning {
    background: var(--accent-orange-light); color: var(--accent-orange);
    border: 1px solid rgba(234,88,12,0.15);
}

/* TOC Sidebar */
.article-toc {
    position: sticky; top: calc(var(--header-h) + 24px);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 22px;
    box-shadow: var(--shadow-md);
}

.toc-title {
    font-size: 13px; font-weight: 700; color: var(--text-primary);
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 14px; padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.toc-title .lucide-icon { width: 15px; height: 15px; color: var(--accent); }

.toc-list { list-style: none; }

.toc-item { margin-bottom: 6px; }

.toc-link {
    font-size: 13px; color: var(--text-secondary);
    display: block; padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    line-height: 1.4;
}

.toc-link:hover {
    color: var(--accent); background: var(--accent-light);
}

.toc-link.toc-h3 {
    padding-left: 20px; font-size: 12px;
}

.toc-link.active {
    color: var(--accent); font-weight: 700;
    background: var(--accent-light);
}

/* Article CTA */
.article-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: var(--radius-lg); padding: 32px;
    text-align: center; margin-top: 48px;
}

.article-cta-title {
    font-size: 20px; font-weight: 700; color: var(--text-white);
    margin-bottom: 8px;
}

.article-cta-desc {
    font-size: 14px; color: rgba(255,255,255,0.85);
    margin-bottom: 20px; line-height: 1.6;
}

.article-cta .btn {
    background: var(--text-white); color: var(--accent);
    font-size: 15px; padding: 14px 32px;
}

.article-cta .btn:hover {
    background: var(--bg-surface); color: var(--accent-dark);
}

/* FAQ Section */
.faq-section { margin-top: 48px; }

.faq-section-title {
    font-size: 22px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 24px; display: flex; align-items: center; gap: 10px;
}

.faq-section-title .lucide-icon { width: 22px; height: 22px; color: var(--accent); }

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px; overflow: hidden;
}

.faq-question {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 18px 20px;
    background: var(--bg-primary); border: none;
    cursor: pointer; text-align: left;
    font-family: var(--font-sans); font-size: 15px; font-weight: 600;
    color: var(--text-primary); transition: background var(--transition);
    gap: 12px;
}

.faq-question:hover { background: var(--bg-secondary); }

.faq-question.open { background: var(--accent-light); color: var(--accent); }

.faq-q-icon {
    flex-shrink: 0; width: 24px; height: 24px;
    background: var(--accent-light); color: var(--accent);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
}

.faq-q-text { flex: 1; }

.faq-toggle-icon {
    flex-shrink: 0; width: 18px; height: 18px;
    color: var(--text-muted); transition: transform var(--transition);
}

.faq-question.open .faq-toggle-icon { transform: rotate(180deg); }

.faq-answer {
    display: none; padding: 16px 20px 20px;
    font-size: 14px; line-height: 1.8; color: var(--text-secondary);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.faq-answer.open { display: block; }

/* Article Related */
.article-related {
    margin-top: 48px; padding-top: 32px;
    border-top: 1px solid var(--border);
}

.article-related-title {
    font-size: 18px; font-weight: 700; margin-bottom: 20px;
    color: var(--text-primary);
}

.article-related-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.article-related-card {
    display: block; padding: 16px 18px;
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-md); text-decoration: none;
    transition: all var(--transition);
}

.article-related-card:hover {
    border-color: var(--accent); transform: translateY(-2px);
    box-shadow: var(--shadow-md); color: var(--text-primary);
}

.article-related-badge {
    font-size: 11px; font-weight: 600; color: var(--accent);
    background: var(--accent-light); padding: 2px 8px;
    border-radius: var(--radius-sm); display: inline-block;
    margin-bottom: 8px;
}

.article-related-name {
    font-size: 14px; font-weight: 600; color: var(--text-primary);
    line-height: 1.5;
}

/* ============================================================
   10. Contact Form
   ============================================================ */
.contact-section {
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 80px;
}

.contact-hero {
    text-align: center; margin-bottom: 48px;
}

.contact-hero-title {
    font-size: 28px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 12px;
}

.contact-hero-desc {
    font-size: 15px; color: var(--text-secondary); line-height: 1.7;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px; align-items: start;
}

.contact-form {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.form-group { margin-bottom: 22px; }

.form-label {
    display: block; font-size: 14px; font-weight: 600;
    color: var(--text-primary); margin-bottom: 8px;
}

.form-required {
    font-size: 11px; color: var(--text-white);
    background: var(--accent); padding: 2px 6px;
    border-radius: 3px; margin-left: 6px; font-weight: 600;
}

.form-optional {
    font-size: 11px; color: var(--text-muted);
    background: var(--bg-surface); padding: 2px 6px;
    border-radius: 3px; margin-left: 6px;
}

.form-control {
    display: block; width: 100%;
    font-family: var(--font-sans); font-size: 15px;
    color: var(--text-primary); background: var(--bg-primary);
    border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 12px 16px; transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
}

.form-control:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-control::placeholder { color: var(--text-muted); }

textarea.form-control {
    resize: vertical; min-height: 120px; line-height: 1.6;
}

select.form-control { cursor: pointer; }

.form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}

.contact-sidebar-info {
    position: sticky; top: calc(var(--header-h) + 24px);
}

.contact-info-card {
    background: var(--bg-primary); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 24px;
    margin-bottom: 16px; box-shadow: var(--shadow-md);
}

.contact-info-title {
    font-size: 15px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}

.contact-info-title .lucide-icon { width: 17px; height: 17px; color: var(--accent); }

.contact-info-list { font-size: 14px; color: var(--text-secondary); }

.contact-info-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid var(--border-light);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-item .lucide-icon { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   11. FAQ Page
   ============================================================ */
.faq-page-section {
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 80px;
}

.faq-page-hero {
    text-align: center; margin-bottom: 48px;
}

.faq-page-hero-title {
    font-size: 28px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 12px;
}

.faq-page-hero-desc {
    font-size: 15px; color: var(--text-secondary);
}

.faq-categories {
    display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
    margin-bottom: 40px;
}

.faq-cat-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; border-radius: 999px;
    font-size: 13px; font-weight: 600; cursor: pointer;
    border: 1px solid var(--border);
    background: var(--bg-primary); color: var(--text-secondary);
    transition: all var(--transition);
}

.faq-cat-btn:hover,
.faq-cat-btn.active {
    background: var(--accent); color: var(--text-white);
    border-color: var(--accent);
}

.faq-group { margin-bottom: 40px; }

.faq-group-title {
    font-size: 18px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    display: flex; align-items: center; gap: 8px;
}

.faq-group-title .lucide-icon { width: 19px; height: 19px; color: var(--accent); }

/* ============================================================
   12. Utility & One-off classes
   ============================================================ */
/* フォームヒント */
.form-hint {
    font-size: 12px; color: var(--text-muted); margin-top: 4px;
}

/* チェックボックスラベル */
.form-check-label {
    display: flex; align-items: flex-start; gap: 10px;
    cursor: pointer; font-size: 14px; color: var(--text-secondary);
}

.form-check-input {
    margin-top: 3px; flex-shrink: 0; accent-color: var(--accent);
}

/* フォーム送信後メッセージ */
.form-submit-note {
    font-size: 12px; color: var(--text-muted);
    text-align: center; margin-top: 12px;
}

/* Contact info text */
.contact-info-text-bold {
    font-weight: 600; color: var(--text-primary);
}

.contact-info-text-sub {
    font-size: 12px; color: var(--text-muted);
}

.contact-info-text-body {
    font-size: 13px; color: var(--text-secondary); margin-bottom: 12px;
}

/* FAQ CTA margin */
.faq-cta-wrap {
    margin-top: 56px;
}

/* 404 / エラー表示 */
.not-found-section {
    padding: 80px 0; text-align: center;
}

.not-found-back-btn {
    margin-top: 20px;
}

/* ============================================================
   13. Article & Contact Responsive
   ============================================================ */
@media (max-width: 960px) {
    .article-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .article-toc {
        position: static;
        display: none;
    }
}

@media (max-width: 768px) {
    .article-title { font-size: 20px; }

    .article-body h2 { font-size: 17px; padding: 12px 16px; }
    .article-body h3 { font-size: 15px; }

    .article-cta { padding: 24px 20px; }
    .article-cta-title { font-size: 17px; }

    .contact-form { padding: 24px 20px; }
    .form-row { grid-template-columns: 1fr; }

    .contact-layout { grid-template-columns: 1fr; }
    .contact-sidebar-info { position: static; }

    .article-body table { font-size: 13px; }
    .article-body table thead th,
    .article-body table tbody td { padding: 9px 12px; }
}

/* ============================================================
   13. Products List Page
   ============================================================ */
.list-section {
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 80px;
}

/* ページヘッダー */
.list-page-header { margin-bottom: 32px; }

.list-page-title {
    font-size: 26px; font-weight: 700; color: var(--text-primary);
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 8px;
}

.list-page-title .lucide-icon { width: 26px; height: 26px; color: var(--accent); }

.list-page-desc {
    font-size: 14px; color: var(--text-secondary); line-height: 1.7;
}

/* カテゴリフィルター */
.category-filter {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-bottom: 24px;
}

.category-tab {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 18px; border-radius: 999px;
    font-size: 13px; font-weight: 600;
    border: 1px solid var(--border);
    background: var(--bg-primary); color: var(--text-secondary);
    text-decoration: none; transition: all var(--transition);
    white-space: nowrap;
}

.category-tab .lucide-icon { width: 15px; height: 15px; }

.category-tab:hover {
    border-color: var(--accent); color: var(--accent); background: var(--accent-light);
}

.category-tab.active {
    background: var(--accent); color: var(--text-white);
    border-color: var(--accent);
}

.category-tab.active:hover { color: var(--text-white); background: var(--accent-dark); }

.category-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 5px;
    background: rgba(0,0,0,0.1); border-radius: 999px;
    font-size: 11px; font-weight: 700;
}

.category-tab.active .category-count { background: rgba(255,255,255,0.25); }

/* 件数バー */
.list-result-bar {
    margin-bottom: 20px;
    font-size: 14px; color: var(--text-muted);
}

.list-result-count strong {
    color: var(--text-primary); font-weight: 700;
}

/* 大きめのグリッド（一覧ページ用） */
.products-grid-lg {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* 大きいカード */
.product-card-lg .product-card-image {
    aspect-ratio: 4 / 3;
}

.product-card-name-ja {
    font-size: 12px; color: var(--text-muted); margin-bottom: 4px;
}

.product-card-price {
    display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap;
    margin-top: 10px; padding-top: 10px;
    border-top: 1px solid var(--border-light);
}

.product-card-price-from {
    font-size: 11px; color: var(--text-muted);
}

.product-card-price-value {
    font-size: 18px; font-weight: 700; color: var(--accent);
    font-family: var(--font-display);
}

.product-card-price-unit {
    font-size: 11px; color: var(--text-muted);
}

.product-card-cta {
    display: flex; align-items: center; gap: 4px;
    font-size: 13px; font-weight: 600; color: var(--accent);
    margin-top: 12px; transition: gap var(--transition);
}

.product-card-cta .lucide-icon { width: 14px; height: 14px; }

.product-card:hover .product-card-cta { gap: 8px; }

/* 空状態 */
.list-empty {
    text-align: center; padding: 80px 20px;
    color: var(--text-muted);
}

.list-empty-icon { width: 48px; height: 48px; margin: 0 auto 16px; }

.list-empty p { font-size: 15px; margin-bottom: 20px; }

/* 404 Not Found */
.not-found-wrap {
    text-align: center; padding: 80px 20px;
    color: var(--text-muted);
}

.not-found-icon { width: 56px; height: 56px; margin: 0 auto 20px; }

.not-found-title {
    font-size: 22px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 12px;
}

.not-found-text {
    font-size: 14px; color: var(--text-secondary);
    margin-bottom: 24px; line-height: 1.7;
}

/* CTAバナー */
.list-cta-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: var(--radius-xl); padding: 36px 40px;
    margin-top: 56px;
}

.list-cta-title {
    font-size: 20px; font-weight: 700; color: var(--text-white);
    margin-bottom: 6px;
}

.list-cta-desc {
    font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.6;
}

.list-cta-actions {
    display: flex; gap: 12px; flex-shrink: 0;
}

.list-cta-actions .btn-primary {
    background: var(--text-white); color: var(--accent);
}

.list-cta-actions .btn-primary:hover {
    background: var(--bg-surface); color: var(--accent-dark);
}

.list-cta-actions .btn-outline {
    border-color: rgba(255,255,255,0.5); color: var(--text-white);
}

.list-cta-actions .btn-outline:hover {
    border-color: var(--text-white); background: rgba(255,255,255,0.1);
    color: var(--text-white);
}

/* List page responsive */
@media (max-width: 768px) {
    .list-page-title { font-size: 20px; }

    .products-grid-lg {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .list-cta-banner {
        flex-direction: column; text-align: center;
        padding: 28px 24px; gap: 20px;
    }

    .list-cta-actions {
        flex-direction: column; width: 100%;
    }

    .list-cta-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .products-grid-lg {
        grid-template-columns: 1fr 1fr;
    }

    .product-card-price-value { font-size: 15px; }
}

/* ============================================================
   12. TOP PAGE — Hero, Features, Categories, Flow, CTA
   ============================================================ */

/* ─── Hero ──────────────────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 680px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: var(--text-white);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-white);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.88);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
}

.hero-actions .btn {
    background: var(--text-white);
    color: var(--accent);
    border-color: var(--text-white);
}

.hero-actions .btn:hover {
    background: var(--bg-surface);
}

.hero-actions .btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,0.5);
    color: var(--text-white);
}

.hero-actions .btn-outline:hover {
    border-color: var(--text-white);
    background: rgba(255,255,255,0.1);
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

/* ─── Section共通 ───────────────────────────────────── */
.features-section,
.categories-section,
.articles-section {
    padding: 80px 0;
}

.flow-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 15px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 48px;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ─── Features ──────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.feature-card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card-icon .lucide-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.feature-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.feature-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ─── Category Cards ────────────────────────────────── */
.category-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.category-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: box-shadow var(--transition), transform var(--transition);
}

.category-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.category-card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.category-card-icon .lucide-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.category-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.category-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.category-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: gap var(--transition);
}

.category-card-link .lucide-icon {
    width: 16px;
    height: 16px;
}

.category-card-link:hover {
    gap: 10px;
}

/* ─── Flow Steps ────────────────────────────────────── */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.flow-step {
    text-align: center;
    position: relative;
}

.flow-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--text-white);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 16px;
}

.flow-step-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.flow-step-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ─── CTA Section ───────────────────────────────────── */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.cta-actions .btn {
    background: var(--text-white);
    color: var(--accent);
    border-color: var(--text-white);
}

.cta-actions .btn:hover {
    background: var(--bg-surface);
}

.cta-actions .btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,0.5);
    color: var(--text-white);
}

.cta-actions .btn-outline:hover {
    border-color: var(--text-white);
    background: rgba(255,255,255,0.1);
}

/* ─── Articles grid (top page) ──────────────────────── */
.articles-section .articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

/* ─── Page title / desc (static pages) ──────────────── */
.page-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.page-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* ─── Articles list page ────────────────────────────── */
.articles-list-section {
    padding: 40px 0 80px;
}

.articles-list-section .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.articles-cta {
    text-align: center;
    padding: 40px 20px;
}

.articles-cta p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ─── FAQ page ──────────────────────────────────────── */
.faq-page-section {
    padding: 40px 0 80px;
}

.faq-page-hero {
    text-align: center;
    margin-bottom: 40px;
}

.faq-page-hero-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.faq-page-hero-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-page-hero-desc a {
    color: var(--accent);
    text-decoration: underline;
}

.faq-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.faq-cat-btn {
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.faq-cat-btn:hover,
.faq-cat-btn.active {
    background: var(--accent);
    color: var(--text-white);
    border-color: var(--accent);
}

.faq-group {
    margin-bottom: 40px;
}

.faq-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.faq-group-title .lucide-icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.faq-cta {
    text-align: center;
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    margin-top: 40px;
}

.faq-cta-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.faq-cta p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ─── Contact page ──────────────────────────────────── */
.contact-section {
    padding: 40px 0 80px;
}

.contact-hero {
    text-align: center;
    margin-bottom: 48px;
}

.contact-hero-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.contact-hero-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: flex-start;
}

.contact-sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.contact-info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.contact-info-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.contact-info-title .lucide-icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.contact-info-item .lucide-icon {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

/* ─── Top / LP Responsive ───────────────────────────── */
@media (max-width: 768px) {
    .hero-section { padding: 72px 0 56px; }

    .hero-title { font-size: 28px; }

    .hero-desc { font-size: 14px; }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn { width: 100%; justify-content: center; }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero-stat-num { font-size: 22px; }

    .features-grid,
    .category-cards {
        grid-template-columns: 1fr;
    }

    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .articles-section .articles-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn { width: 100%; justify-content: center; }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-sidebar-info {
        position: static;
    }

    .section-title { font-size: 22px; }

    .cta-title { font-size: 22px; }

    .articles-list-section .articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .flow-steps {
        grid-template-columns: 1fr;
    }
}
