/* Site-wide polish (2026-11-26), from an unslop audit (unslop by @heydamir, CC BY 4.0).
   Loaded last on every page, so it overrides style.css and the home page's inline styles.
   - one neutral text ramp: --text-dark, --text-muted, --text-light (all readable on white)
   - Thai is never letter-spaced and nothing is set in shouty capitals
   - weights stop at 600
   - motion only changes colour, surface or shadow; nothing lifts or zooms on hover */

:root {
    --text-light: #6b6b6b;
    --transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
    --transition-fast: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
    --transition-slow: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease, transform 0.15s ease;
}

/* Type */
h1, h2, h3, h4, h5, h6 { font-weight: 600; text-transform: none; letter-spacing: 0; }
.btn, .line-btn, .nav-links a, .mobile-nav-links a, .footer-col h4 { text-transform: none; letter-spacing: 0; }
.logo-text, .mobile-nav-logo { text-transform: none; letter-spacing: 0; }
.logo-accent { font-weight: inherit; }
.product-info .model { font-weight: 500; font-size: 14px; letter-spacing: 0; text-transform: none; }
.font-extrabold { font-weight: 600; }

/* Motion: no hover lifts or zooms; a small press instead */
.btn:hover, .btn-primary:hover, .btn-dark:hover, .btn-outline:hover, .btn-secondary:hover,
.line-btn:hover, .card:hover, .product-card:hover { transform: none; }
.product-card:hover .product-img img, .logo:hover img, .floating-line img:hover { transform: none; }
.trusted-logo:hover { transform: none !important; }
.btn:active, .line-btn:active { transform: scale(0.98); }
.product-card:hover { box-shadow: var(--shadow); }

/* Surfaces */
footer { background: var(--dark); }

/* Product photos are whole instruments on white: show all of it instead of cropping */
.product-img img { object-fit: contain; padding: 12px; }

/* Page heroes (About, Knowledge): the same quiet charcoal as the home page, no colour wash or grid */
.hero { background: #262626; background-image: none; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.hero::before { display: none; }
.hero h1, .hero p { text-shadow: none; }
.hero h1 { font-weight: 600; }
.hero p { color: rgba(255, 255, 255, 0.72); }
.hero .hero-kicker { display: block; margin-top: 12px; font-size: 20px; font-weight: 400; line-height: 1.5; color: rgba(255, 255, 255, 0.72); }
@media (max-width: 768px) { .hero .hero-kicker { font-size: 16px; margin-top: 8px; } }

/* Radius by size: controls 8, cards 12 */
.btn, .line-btn, .btn-primary, .btn-dark, .btn-outline, .btn-secondary { border-radius: 8px; }
.product-card, .card { border-radius: 12px; }

/* Signature: specs read like an instrument display */
.spec-readout {
    display: inline-block;
    margin-bottom: 8px;
    padding: 2px 8px;
    font-family: ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    line-height: 20px;
    font-variant-numeric: tabular-nums;
    color: var(--text-dark);
    background: var(--lighter);
    border: 1px solid rgba(44, 44, 44, 0.08);
    border-radius: 4px;
    white-space: nowrap;
}

/* Page heroes line up with the page grid; the text keeps a readable measure */
.hero .container.hero-content { max-width: 1200px; }
.hero .hero-content > h1, .hero .hero-content > p { max-width: 760px; }

/* Knowledge cards without a cover photo: a quiet neutral tile instead of the rust gradient */
.article-card-img-placeholder { background: var(--lighter) !important; }
.article-card-img-placeholder svg { stroke: var(--text-light); }
.article-card-img-placeholder span { font-size: 14px !important; font-weight: 400 !important; color: var(--text-muted) !important; text-transform: none !important; letter-spacing: 0 !important; }

/* Knowledge cards: hairline frame instead of a rust top bar, quiet category label, no lift */
.article-card { border-top: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.article-card:hover { transform: none; }

.article-card p { text-transform: none; font-weight: 500; font-size: 14px; color: var(--text-muted); }
.article-card-body p { color: var(--text-muted); font-size: 14px; font-weight: 400; }
.read-more { text-transform: none; font-size: 14px; font-weight: 600; color: var(--primary-dark); }

/* Home FAQ: collapsible questions, so the section reads as a list instead of a wall of cards */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border-light); border-radius: 12px; background: var(--white); padding: 0 20px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--text-dark); }
.faq-item summary::after { content: '+'; flex-shrink: 0; width: 20px; text-align: center; font-size: 20px; line-height: 1; color: var(--text-light); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover h3 { color: var(--primary-dark); }
.faq-item summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
.faq-item > p:last-child { padding-bottom: 16px; }

/* Weights stop at 600 everywhere, including the footer, links and the language switch */
strong, b, .font-bold, .text-primary.font-bold, .footer-col h4, .lt-active, .lt-inactive, .lt-sep { font-weight: 600; }
.logo-text, .logo-accent, .mobile-nav-logo, .mobile-nav-logo span { font-weight: 600; }
.hero h1 { font-weight: 600; }

/* Sizes on the scale: 12 / 14 / 16 / 18 / 24 */
.nav-links a { font-size: 16px; }
.mobile-nav-links a { font-size: 16px; }
@media (min-width: 769px) { .logo-text { font-size: 24px; } }
.manufacturer-brand-info { font-size: 14px; }

/* The home headline leads the page: larger than other page titles, scaling with the screen */
.hero h1 { font-size: clamp(28px, 3.2vw, 46px) !important; line-height: 1.25 !important; }
/* Header buttons read at the same size as the menu */
@media (min-width: 769px) { header .btn, header .line-btn { font-size: 16px; } }
/* With the larger menu the header LINE button moves out below 1240 px (the floating LINE button stays) */
@media (max-width: 1240px) { .header-cta .line-btn { display: none; } }

/* Skip link: hidden until a keyboard user tabs to it. */
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 1100; transform: translateY(-160%); padding: 12px 20px; background: #fff; color: #171717; border: 2px solid #a6472e; border-radius: 8px; font-weight: 600; }
.skip-link:focus { transform: translateY(0); }

/* Footer headings are h2 (they followed page h2s as h4, skipping a level); same look as before. */
.footer-col h2 { color: #fff; margin: 0 0 24px; font-size: 18px; font-weight: 600; line-height: 1.3; text-transform: none; letter-spacing: 0; }
@media (max-width: 768px) { .footer-col h2 { font-size: 16px; margin-bottom: 12px; } }
/* Accent links on the dark footer: the accent itself is 2.4:1 there, this tint is above 7:1. */
footer .text-primary, footer a.text-primary, footer a[style*="--primary"] { color: #f0b4a2 !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
