@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fonts/inter.woff2) format('woff2')}@font-face{font-family:'JetBrains Mono';font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/fonts/jetbrains-mono.woff2) format('woff2')}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: #E8E8E8; color: #1C1C1E; font-family: 'Inter', system-ui, sans-serif; line-height: 1.6; }
a { color: inherit; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 20px 16px 64px; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.brand { font-weight: 700; font-size: 2rem; letter-spacing: -0.085em; color: #3C3C3C; text-decoration: none; line-height: 1; }
.brand span { color: #EF5102; margin-left: -0.045em; }
.badges { display: flex; gap: 10px; }
.badge, .btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 12px;
  background: #111716; color: #EDEDED; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em;
  text-decoration: none; transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.badge:hover, .btn:hover { background: #EF5102; color: #111716; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(239,81,2,.25); }
.badge svg, .btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn { margin-top: 1rem; padding: 10px 18px; box-shadow: none; }
.btn.ghost { background: transparent; color: #111716; box-shadow: inset 0 0 0 2px #111716; }
.btn.ghost:hover { background: #111716; color: #EDEDED; box-shadow: inset 0 0 0 2px #111716; }
.tile.orange .btn:hover { background: #F0F0F0; color: #111716; box-shadow: none; }
a:focus-visible { outline: 2px solid #EF5102; outline-offset: 3px; border-radius: 6px; }

.frame {
  background: #111716; border: 4px solid #111716; border-radius: 16px; display: grid; gap: 4px;
  box-shadow: 0 16px 40px rgba(0,0,0,.10), 0 6px 12px rgba(0,0,0,.06); margin-bottom: 20px;
}
.frame.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.frame.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { background: #F0F0F0; border-radius: 12px; padding: 1.75rem 2rem; min-width: 0; }
.tile.wide { grid-column: 1 / -1; }
.tile.orange { background: #EF5102; }
.tile.metal {
  position: relative; overflow: hidden; padding: 0;
  background: conic-gradient(from 180deg at 50% 50%, #A8A49E 0deg, #F0EEEB 55deg, #94908A 110deg, #D5D2CD 165deg, #7E7A74 220deg, #B8B4AE 275deg, #C8C5C0 330deg, #A8A49E 360deg);
}
.tile.metal::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 48%, rgba(255,255,255,.7) 50%, rgba(255,255,255,.55) 52%, transparent 70%);
  transform: translateX(-100%); animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 45% { transform: translateX(-100%); } 55%, 100% { transform: translateX(100%); } }
.stripes { background: repeating-linear-gradient(-45deg, #1C1C1E, #1C1C1E 4px, #EF5102 4px, #EF5102 10px); }

.hero { grid-template-columns: 104px minmax(0, 1fr) 150px; }
.hero .side { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.hero .side .stripes { height: 34%; min-height: 70px; flex: none; }
.hero .vt {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px; margin: 0 auto; padding: 1rem 0;
  writing-mode: vertical-rl; transform: rotate(180deg); font-family: 'JetBrains Mono', monospace; font-weight: 700;
  font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1.15; color: #1C1C1E; white-space: nowrap;
}
.hero .title { padding: 2.25rem 2.5rem; }
.meta { font-size: 0.8125rem; color: #555B66; }
.meta a { color: #B33F00; text-decoration: underline; text-underline-offset: 3px; }
.hero h1 { font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.1; letter-spacing: -0.025em; color: #020202; margin: .75rem 0 0; text-wrap: balance; }
.lead { font-size: 1.125rem; color: #4B5563; margin-top: 1rem; max-width: 62ch; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.card { display: flex; flex-direction: column; text-decoration: none; transition: background .2s ease; }
.card:hover { background: #FAFAFA; }
.card h2 { font-weight: 600; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.02em; color: #020202; margin: .6rem 0 .5rem; text-wrap: balance; }
.card.feature h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.card p { color: #555B66; font-size: .975rem; }
.card .more { margin-top: auto; padding-top: 1rem; font-size: .8125rem; font-weight: 700; color: #B33F00; }
.card:hover .more { text-decoration: underline; }
.filler { padding: 0; overflow: hidden; background: #EF5102; }
.filler .stripes { height: 100%; min-height: 120px; }

.prose { padding: 2.5rem clamp(1.25rem, 5vw, 4rem) 3rem; }
.prose > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.prose p, .prose li { font-size: 1.0625rem; line-height: 1.7; color: #33383F; }
.prose p { margin-top: 1.1rem; }
.prose > p:first-child { margin-top: 0; font-size: 1.2rem; color: #1C1C1E; }
.prose h2 { font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.2; color: #020202; margin-top: 2.6rem; scroll-margin-top: 1rem; }
.prose h2::before { content: '› '; color: #EF5102; }
.prose h3 { font-family: 'JetBrains Mono', monospace; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-top: 2rem; color: #1C1C1E; }
.prose ul, .prose ol { margin-top: 1rem; padding-left: 1.3rem; }
.prose li { margin-top: .4rem; }
.prose li::marker { color: #EF5102; font-weight: 700; }
.prose a { color: #B33F00; text-underline-offset: 3px; }
.prose a:hover { color: #EF5102; }
.prose b { color: #1C1C1E; font-weight: 600; }
.prose code { font-family: 'JetBrains Mono', monospace; font-size: .86em; background: #E4E4E4; padding: .12em .38em; border-radius: 5px; color: #1C1C1E; overflow-wrap: anywhere; }
.prose pre { margin-top: 1.25rem; background: #111716; border-radius: 10px; padding: 1.1rem 1.3rem; overflow-x: auto; }
.prose pre code { background: none; padding: 0; color: #E8E8E8; font-size: .82rem; line-height: 1.65; overflow-wrap: normal; }
.note { margin-top: 1.5rem; padding: 1rem 1.25rem; background: #E8E8E8; border-left: 4px solid #EF5102; border-radius: 6px; font-size: 1rem; line-height: 1.6; color: #33383F; }
.fig { margin-top: 1.75rem; margin-bottom: .5rem; background: #FAFAFA; border: 1.5px solid #DCDCDC; border-radius: 12px; padding: 1.25rem 1.25rem 1rem; max-width: 780px; }
.fig-scroll { overflow-x: auto; }
.fig svg { display: block; max-width: none; height: auto; margin: 0 auto; }
@media (min-width: 860px) { .fig svg { max-width: 100%; } }
.fig figcaption { margin-top: .9rem; padding-top: .7rem; border-top: 1px solid #E4E4E4; font-family: 'JetBrains Mono', monospace; font-size: .75rem; line-height: 1.55; color: #555B66; }
.table-scroll { overflow-x: auto; margin-top: 1.5rem; }
.prose table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.prose th { font-family: 'JetBrains Mono', monospace; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; text-align: left; color: #555B66; padding: .5rem .75rem; border-bottom: 2px solid #1C1C1E; white-space: nowrap; }
.prose td { padding: .55rem .75rem; border-bottom: 1px solid #DCDCDC; color: #33383F; vertical-align: top; }
.prose td.n { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 4px; background: #111716; border: 4px solid #111716; border-radius: 14px; margin-top: 1.75rem; max-width: 780px; }
.stat { background: #F0F0F0; border-radius: 10px; padding: 1.1rem 1.25rem; }
.stat.hot { background: #EF5102; }
.stat-num { font-weight: 300; font-size: 2.6rem; line-height: 1; letter-spacing: -0.04em; color: #1C1C1E; font-variant-numeric: tabular-nums; }
.stat-label { font-family: 'JetBrains Mono', monospace; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin: .6rem 0 .2rem; }
.prose .stat-note { font-size: .82rem; line-height: 1.4; color: #555B66; margin: 0; }
.prose .stat.hot .stat-note { color: #1C1C1E; }

.navt { display: flex; flex-direction: column; gap: .4rem; text-decoration: none; transition: background .2s; }
.navt:hover { background: #FAFAFA; }
.navt .mono { font-size: .75rem; color: #B33F00; font-weight: 700; }
.navt b { font-size: 1.1rem; line-height: 1.3; color: #020202; font-weight: 600; }
.navt.right { text-align: right; }
.navt.empty { background: repeating-linear-gradient(-45deg, #1C1C1E, #1C1C1E 4px, #EF5102 4px, #EF5102 10px); }
.cta-frame h2 { font-family: 'JetBrains Mono', monospace; font-size: .8125rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .6rem; }
.cta-frame h2::before { content: '› '; color: #EF5102; }
.cta-frame .orange h2::before { color: #1C1C1E; }
.cta-frame p { font-size: .95rem; color: #4B5563; }
.cta-frame .orange p { color: #1C1C1E; }
.foot { text-align: center; font-family: 'JetBrains Mono', monospace; font-size: .75rem; color: #555B66; margin-top: 28px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero .side { flex-direction: row; height: 44px; }
  .hero .side .stripes { height: auto; width: 34%; min-height: 0; }
  .hero .vt { writing-mode: horizontal-tb; transform: none; flex-direction: row; gap: .6em; align-items: center; font-size: .75rem; padding: 0 1rem; margin: 0; }
  .hero .metal { display: none; }
  .hero .title { padding: 1.5rem; }
  .frame.cols-2, .frame.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .tile { padding: 1.4rem 1.5rem; }
  .prose { padding: 1.75rem 1.1rem 2.25rem; }
  .prose > p:first-child { font-size: 1.1rem; }
  .fig { padding: .9rem .75rem; }
  .navt.empty, .filler { display: none; }
  .navt.right { text-align: left; }
  .badge { padding: 10px 14px; font-size: .85rem; }
  .brand { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
