:root {
  --bg: #15171a;
  --bg-alt: #1a1d21;
  --panel: #1f2226;
  --panel-2: #2a2e34;
  --line: #353a41;
  --text: #c9ced4;
  --muted: #9aa2ab;
  --white: #f2f4f6;
  --copper: #e88c4c;
  --copper-hi: #f0a46a;
  --copper-deep: #b8622a;
  --warn: #f2b134;
  --head: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 82px; }

body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); }

svg { display: block; max-width: 100%; }
a { color: var(--copper-hi); text-underline-offset: 3px; }
a:hover { color: var(--white); }
:focus-visible { outline: 2px solid var(--copper-hi); outline-offset: 3px; }
h1, h2, h3 { margin: 0 0 1rem; font-family: var(--head); font-weight: 600; line-height: 1.05; color: var(--white); }
p { margin: 0 0 1rem; }
strong { font-weight: 600; color: var(--white); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.site-header { position: sticky; top: 0; z-index: 50; background: #101215; border-bottom: 2px solid var(--copper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-family: var(--head); font-size: 1.45rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--white); }
.nav-list { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.nav-list a {
  display: block; padding: 18px 0; font-family: var(--head); font-size: 1.05rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--text); text-decoration: none; box-shadow: inset 0 -3px 0 transparent;
}
.nav-list a:hover, .nav-list a.is-active { color: var(--copper-hi); box-shadow: inset 0 -3px 0 var(--copper); }

.nav-toggle { display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 1px solid #4a5058; border-radius: 2px; background: var(--panel-2); cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--white); transition: transform .25s, background .25s; }
.nav-toggle-bar { top: 20px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative; padding: clamp(52px, 7vw, 84px) 0 clamp(60px, 8vw, 96px);
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(55% 70% at 78% 50%, rgba(232, 140, 76, .13), transparent 70%),
    var(--bg);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(135deg, var(--copper) 0 14px, #101215 14px 28px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); line-height: 1; }
.hero h1::before { content: ""; display: block; width: 64px; height: 5px; margin-bottom: 22px; background: var(--copper); }
.lead { max-width: 600px; margin: 0; font-size: 1.05rem; }
.hero-fig { margin: 0; }
.xsec { width: 100%; height: auto; }
.xs-t { font-family: var(--head); font-size: 21px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; fill: var(--white); }
.xs-s { font-family: var(--body); font-size: 15px; fill: var(--muted); }

.sec { padding: clamp(56px, 7vw, 80px) 0; }
.sec-alt { background: var(--bg-alt); border-top: 1px solid #24282d; border-bottom: 1px solid #24282d; }
.sec-head { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: end; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sec-no { font-family: var(--head); font-size: 3.3rem; font-weight: 600; line-height: .85; color: var(--copper); }
.sec-head h2 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.sec-body { max-width: 1056px; padding-left: 96px; }
.sec-body > p { max-width: 76ch; }

.table-wrap { margin: 22px 0 26px; overflow-x: auto; border: 1px solid var(--line); }
.spec { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.45; }
.spec.wide { min-width: 640px; }
.spec th, .spec td { padding: 8px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid #30353b; border-right: 1px solid #2a2e34; }
.spec th:last-child, .spec td:last-child { border-right: 0; }
.spec thead th, .spec thead td {
  font-family: var(--head); font-size: .98rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--white); background: var(--panel-2); border-bottom: 2px solid var(--copper);
}
.spec tbody th { font-weight: 600; color: var(--white); background: var(--panel); }
.spec tbody tr:last-child > * { border-bottom: 0; }
.spec tbody tr:hover > * { background: rgba(232, 140, 76, .07); }
.grades tbody th, .std tbody th { white-space: nowrap; font-family: var(--head); font-size: 1.02rem; letter-spacing: .03em; color: var(--copper-hi); }

.plates { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.plates li { padding: 18px 20px 20px; border: 1px solid var(--line); border-top: 3px solid var(--copper); background: var(--panel); }
.plate-temp { display: block; margin-bottom: 8px; font-family: var(--head); font-size: 2.7rem; font-weight: 600; line-height: 1; color: var(--copper); }

.note { padding: 14px 18px; border-left: 4px solid var(--copper); background: var(--panel); color: #d5d9de; }
.callout { padding: 16px 20px; border: 1px solid #5a3a22; border-left: 4px solid var(--copper); background: #261c15; color: #e8ddd3; }

.factors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 1.4rem; padding: 0; list-style: none; counter-reset: f; }
.factors li { position: relative; counter-increment: f; padding: 18px 20px 18px 72px; border: 1px solid var(--line); background: var(--panel); }
.factors li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 18px; top: 12px; font-family: var(--head); font-size: 2.3rem; font-weight: 600; line-height: 1.1; color: var(--copper); }

.sheath {
  display: flex; align-items: center; height: 44px; margin: 6px 0 10px; overflow: hidden; border-radius: 22px;
  background: linear-gradient(180deg, #3d4249, #24282d 55%, #1a1d21); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .08), 0 6px 16px rgba(0, 0, 0, .35);
}
.sheath span { padding-left: 28px; white-space: nowrap; font-size: .8rem; font-weight: 600; letter-spacing: .16em; color: #d3d8de; }

.checks, .rows, .warn { margin: 0 0 1.4rem; padding: 0; list-style: none; }
.checks { columns: 2; column-gap: 36px; }
.checks li { position: relative; break-inside: avoid; padding: 10px 0 10px 34px; border-bottom: 1px dashed var(--line); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border: 2px solid var(--copper);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='%23e88c4c' stroke-width='3.4' stroke-linecap='square'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.rows li { margin-bottom: 8px; padding: 13px 18px; border-left: 3px solid var(--copper); background: var(--panel); }
.warn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.warn li { position: relative; padding: 13px 16px 13px 52px; border: 1px solid #3d3626; background: #1d1b16; }
.warn li::before {
  content: ""; position: absolute; left: 16px; top: 15px; width: 22px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 1L23 21H1z' fill='%23f2b134'/%3E%3Cpath d='M12 8v6M12 16.5v1.5' stroke='%2315171a' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.faq details { margin-bottom: 8px; border: 1px solid var(--line); background: var(--panel); }
.faq details[open] { border-color: var(--copper-deep); }
.faq summary { position: relative; padding: 15px 56px 15px 20px; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: var(--head); font-size: 1.9rem; line-height: 1; color: var(--copper); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary h3 { margin: 0; font-size: 1.28rem; letter-spacing: .01em; }
.faq summary:hover h3 { color: var(--copper-hi); }
.faq details p { margin: 0; padding: 0 20px 18px; }

.about { padding: 64px 0; }
.about-panel { position: relative; padding: 38px 36px 30px; border: 1px solid var(--line); background: var(--bg-alt); }
.about-panel::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 8px; background: repeating-linear-gradient(135deg, var(--copper) 0 12px, #101215 12px 24px); }
.about h2 { font-size: 1.8rem; }
.about p { max-width: 82ch; margin: 0; }

.site-footer { color: var(--muted); background: #0f1113; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; padding-top: 28px; padding-bottom: 28px; }
.footer-inner p { margin: 0; }
.footer-brand { font-family: var(--head); font-size: 1.3rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--white); }
.footer-copy { margin-left: auto !important; font-size: .92rem; }

.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 2px; color: var(--bg); background: var(--copper); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }

@media (max-width: 1100px) {
  .nav-list { gap: 16px; }
}

@media (max-width: 991.98px) {
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 4px 28px 16px; background: #101215; border-bottom: 2px solid var(--copper); }
  .primary-nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: 12px 0; border-bottom: 1px solid var(--line); box-shadow: none; }
  .nav-list a.is-active { box-shadow: inset 4px 0 0 var(--copper); padding-left: 12px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-fig { max-width: 560px; }
  .sec-head { grid-template-columns: 68px minmax(0, 1fr); }
  .sec-no { font-size: 2.6rem; }
  .sec-body { padding-left: 0; }
}

@media (max-width: 767.98px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .primary-nav { padding: 4px 18px 14px; }
  .plates, .factors, .warn { grid-template-columns: 1fr; }
  .checks { columns: 1; }
  .about-panel { padding: 32px 20px 24px; }
  .footer-copy { margin-left: 0 !important; }
  .back-to-top { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.release-not-found main { display: block; width: 100%; max-width: 640px; min-height: 0; margin: 10vh auto; padding: 32px; box-sizing: border-box; }
.release-not-found h1 { font-size: clamp(32px, 7vw, 48px); line-height: 1.2; letter-spacing: normal; }
