:root {
  --bg: #030303;
  --bg-soft: #080706;
  --panel: #0d0b09;
  --panel-2: #15110d;
  --panel-3: #20170f;
  --text: #f1ece4;
  --text-steel: #c9c2b8;
  --muted: #9a9186;
  --dim: #665d54;
  --orange: #ff6a00;
  --orange-hot: #ff9a24;
  --ember: #c23b00;
  --gold: #c48a39;
  --green: #77d18f;
  --blue: #7aa2ff;
  --red: #ff5a3c;
  --line: rgba(255, 106, 0, 0.22);
  --line-strong: rgba(255, 106, 0, 0.48);
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 0 35px rgba(255, 84, 0, 0.12), 0 28px 80px rgba(0, 0, 0, 0.65);
  --glow: 0 0 12px rgba(255, 106, 0, 0.55), 0 0 32px rgba(255, 80, 0, 0.22);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 106, 0, 0.12), transparent 34%),
    radial-gradient(circle at 15% 18%, rgba(194, 59, 0, 0.12), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(255, 154, 36, 0.08), transparent 26%),
    linear-gradient(180deg, #030303 0%, #080604 45%, #030303 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 106, 0, 0.06) 42%, transparent 44%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 5px);
  mix-blend-mode: screen;
  z-index: -1;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 106, 0, 0.08), transparent 30%),
    linear-gradient(rgba(255, 106, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 106, 0, 0.035) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  z-index: -1;
}

.site-header {
  min-height: 100vh;
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -1px 0 rgba(255, 106, 0, 0.18);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 20;
}

.nav::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  box-shadow: var(--glow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  border: 1px solid rgba(255, 106, 0, 0.35);
  border-radius: 4px;
  background: #080706;
  padding: 2px;
  box-shadow: 0 0 12px rgba(255, 106, 0, 0.25), 0 0 28px rgba(255, 80, 0, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand:hover .brand-logo {
  transform: scale(1.04);
  box-shadow: 0 0 18px rgba(255, 106, 0, 0.45), 0 0 40px rgba(255, 80, 0, 0.2);
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  color: var(--orange-hot);
  font-weight: 900;
  letter-spacing: -0.08em;
  background: linear-gradient(135deg, #2b2925, #090807 60%, #21150d);
  border: 1px solid var(--line-strong);
  clip-path: polygon(16% 0, 100% 0, 100% 72%, 74% 100%, 0 100%, 0 18%);
  box-shadow: var(--glow);
  text-shadow: 0 0 12px rgba(255, 106, 0, 0.9);
}

.brand span {
  display: block;
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 0.96rem;
  color: var(--text);
  text-shadow: 0 0 12px rgba(255, 106, 0, 0.32);
}

.brand small {
  display: block;
  color: var(--orange);
  margin-top: 2px;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  font-size: 0.66rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-steel);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  transition: color 180ms ease, text-shadow 180ms ease;
}

.nav-links a:hover {
  color: var(--orange-hot);
  text-shadow: var(--glow);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #15110d, #070605);
  cursor: pointer;
  padding: 10px;
  box-shadow: inset 0 0 18px rgba(255, 106, 0, 0.06);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--orange-hot);
  border-radius: 999px;
  box-shadow: var(--glow);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px 28px 100px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 900;
  text-shadow: 0 0 14px rgba(255, 106, 0, 0.55);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  max-width: 900px;
  color: var(--text);
  text-transform: uppercase;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
  text-shadow: 0 2px 0 #100c08, 0 0 22px rgba(255, 106, 0, 0.18);
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--text);
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(255, 106, 0, 0.18);
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  color: var(--orange-hot);
}

h4 {
  margin: 16px 0 8px;
  color: var(--orange-hot);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.hero-copy {
  max-width: 700px;
  color: var(--text-steel);
  font-size: 1.12rem;
  line-height: 1.75;
  margin: 24px 0 0;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.btn,
.filter,
.details-toggle,
.release-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.btn {
  min-height: 50px;
  padding: 13px 22px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #160b02;
  background: linear-gradient(180deg, #ffb145, var(--orange) 55%, #9e2f00);
  border: 1px solid rgba(255, 179, 69, 0.85);
  box-shadow: var(--glow), inset 0 1px 0 rgba(255,255,255,0.32);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.1), rgba(255, 106, 0, 0.02)), #0b0907;
  box-shadow: inset 0 0 22px rgba(255, 106, 0, 0.08);
}

.btn-secondary:hover {
  border-color: var(--orange-hot);
  box-shadow: var(--glow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 46px;
  max-width: 760px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255,106,0,0.08), rgba(255,106,0,0.015)), #090807;
  box-shadow: var(--shadow);
  clip-path: polygon(2% 0, 100% 0, 100% 78%, 98% 100%, 0 100%, 0 22%);
}

.stats div {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  font-size: 1.4rem;
  color: var(--orange-hot);
  text-shadow: var(--glow);
}

.stats span {
  display: block;
  color: var(--muted);
  margin-top: 5px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-panel {
  align-self: stretch;
  display: flex;
  align-items: center;
}

.terminal-card {
  width: 100%;
  border-radius: var(--radius);
  background: radial-gradient(circle at top, rgba(255,106,0,0.13), transparent 44%), linear-gradient(180deg, #15110d, #070605);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
  clip-path: polygon(4% 0, 100% 0, 100% 92%, 94% 100%, 0 100%, 0 8%);
}

.terminal-top {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,106,0,0.06);
}

.terminal-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--dim);
}

.terminal-top span:nth-child(1) {
  background: #ff3300;
  box-shadow: 0 0 12px rgba(255,51,0,0.85);
}

.terminal-top span:nth-child(2) {
  background: var(--orange);
  box-shadow: var(--glow);
}

.terminal-top span:nth-child(3) {
  background: var(--gold);
}

pre {
  margin: 0;
  padding: 28px;
  overflow-x: auto;
}

code {
  color: #f1d7bd;
  font-size: 0.95rem;
  line-height: 1.8;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 28px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.featured-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at top right, rgba(255,106,0,0.18), transparent 34%), linear-gradient(180deg, rgba(255,106,0,0.08), rgba(255,106,0,0.018)), #080706;
  box-shadow: var(--shadow);
  clip-path: polygon(2% 0, 100% 0, 100% 94%, 97% 100%, 0 100%, 0 6%);
}

.featured-info {
  padding: 26px;
}

.featured-info h3 {
  margin-top: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  text-transform: uppercase;
}

.featured-info p {
  color: var(--text-steel);
  line-height: 1.75;
  font-size: 1.05rem;
}

.badge-row,
.tags,
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-row {
  margin-top: 10px;
  align-items: center;
}

.badge-row span,
.tags span,
.status {
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255,106,0,0.07);
  border: 1px solid rgba(255,106,0,0.32);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tags span,
.badge-row span {
  color: var(--orange-hot);
}

.status-stable {
  color: var(--green);
  border-color: rgba(119,209,143,0.42);
}

.status-active {
  color: var(--orange-hot);
}

.status-experimental {
  color: var(--blue);
  border-color: rgba(122,162,255,0.42);
}

.featured-visual,
.mod-image {
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 45%, rgba(255,106,0,0.22), transparent 35%), linear-gradient(135deg, #090807, #1b1510);
  box-shadow: inset 0 0 60px rgba(255,106,0,0.08);
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 12px;
  background: #080706;
  transition: transform 220ms ease, filter 220ms ease;
}

.image-frame:hover img {
  transform: scale(1.025);
  filter: brightness(1.08) saturate(1.08);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: none;
  place-items: center;
  color: rgba(255,154,36,0.72);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
  text-shadow: var(--glow);
}

.library-tools {
  display: grid;
  gap: 18px;
  margin-bottom: 26px;
}

#modSearch {
  width: 100%;
  padding: 16px 18px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,106,0,0.07), rgba(255,106,0,0.02)), #070605;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  box-shadow: inset 0 0 22px rgba(255,106,0,0.05);
}

#modSearch::placeholder {
  color: #766b61;
}

#modSearch:focus {
  border-color: var(--orange-hot);
  box-shadow: var(--glow), inset 0 0 22px rgba(255,106,0,0.08);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter,
.details-toggle {
  border: 1px solid var(--line);
  color: var(--text-steel);
  background: linear-gradient(180deg, rgba(255,106,0,0.06), rgba(255,106,0,0.015)), #080706;
  padding: 10px 15px;
  cursor: pointer;
}

.filter:hover,
.filter.active,
.details-toggle:hover,
.details-toggle.active {
  color: #160b02;
  background: linear-gradient(180deg, #ffb145, var(--orange) 55%, #9e2f00);
  border-color: var(--orange-hot);
  box-shadow: var(--glow);
}

.mod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.mod-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: radial-gradient(circle at top left, rgba(255,106,0,0.1), transparent 35%), linear-gradient(180deg, rgba(255,106,0,0.045), rgba(255,106,0,0.015)), #070605;
  box-shadow: 0 18px 55px rgba(0,0,0,0.42);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  clip-path: polygon(4% 0, 100% 0, 100% 94%, 96% 100%, 0 100%, 0 6%);
}

.mod-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: var(--shadow);
}

.mod-card.hidden {
  display: none;
}

.mod-image {
  min-height: 180px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.mod-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.mod-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mod-card-bottom {
  margin-top: auto;
}

.mod-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.mod-topline span {
  color: var(--orange-hot);
  font-size: 0.7rem;
  white-space: nowrap;
  border: 1px solid rgba(255,106,0,0.35);
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255,106,0,0.06);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mod-body p {
  color: var(--muted);
  line-height: 1.65;
}

.tags {
  min-height: 38px;
  align-content: flex-start;
}

.card-actions {
  margin-top: 20px;
}

.card-actions a {
  flex: 1;
  min-width: 104px;
  text-align: center;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #090807;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.card-actions a:hover {
  color: var(--orange-hot);
  border-color: var(--orange);
  background: rgba(255,106,0,0.08);
  box-shadow: var(--glow);
}

.details-toggle {
  width: 100%;
  margin-top: 14px;
}

.mod-details {
  display: none;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mod-details.open {
  display: block;
}

.mod-details ul {
  margin: 8px 0 0 18px;
  padding: 0;
  color: var(--muted);
  line-height: 1.7;
}

.mod-details p {
  color: var(--muted);
  margin: 0 0 8px;
}

.no-results {
  display: none;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  background: rgba(255,106,0,0.035);
}

.no-results.visible {
  display: block;
}

.compatibility,
.philosophy,
.tech-stack,
.roadmap,
.faq {
  border-top: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,106,0,0.08);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #080706;
  box-shadow: var(--shadow);
  clip-path: polygon(2% 0, 100% 0, 100% 94%, 98% 100%, 0 100%, 0 6%);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--orange-hot);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  background: rgba(255,106,0,0.08);
}

td {
  color: var(--text-steel);
}

tr:last-child td {
  border-bottom: 0;
}

.principles,
.stack-grid,
.support-actions,
.roadmap-grid {
  display: grid;
  gap: 16px;
}

.principles {
  grid-template-columns: repeat(4, 1fr);
}

.stack-grid {
  grid-template-columns: repeat(6, 1fr);
}

.support-actions {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 24px;
}

.roadmap-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.stack-grid div,
.principle,
.support-tile,
.roadmap-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: radial-gradient(circle at top, rgba(255,106,0,0.08), transparent 42%), #080706;
  clip-path: polygon(6% 0, 100% 0, 100% 92%, 94% 100%, 0 100%, 0 8%);
}

.stack-grid div {
  color: var(--orange-hot);
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: var(--glow);
}

.principle span {
  color: var(--orange);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: var(--glow);
}

.principle h3 {
  margin-top: 18px;
}

.principle p,
.support-tile p,
.roadmap-card p {
  color: var(--muted);
  line-height: 1.65;
}

.roadmap-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.roadmap-card span {
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.roadmap-card.active span {
  color: var(--green);
}

.roadmap-card.planned span {
  color: var(--orange-hot);
}

.roadmap-card.research span {
  color: var(--blue);
}

.support-tile {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.support-tile:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
  box-shadow: var(--shadow);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255,106,0,0.055), rgba(255,106,0,0.015)), #080706;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
  list-style: none;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--orange-hot);
  text-shadow: var(--glow);
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 28px;
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer strong {
  color: var(--orange-hot);
  text-shadow: var(--glow);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer p {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.footer-links a:hover {
  color: var(--orange-hot);
  text-shadow: var(--glow);
}

.legal {
  grid-column: 1 / -1;
  color: var(--dim);
  font-size: 0.86rem;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--orange-hot);
  background: rgba(8,7,6,0.88);
  backdrop-filter: blur(14px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: var(--glow);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .mod-card,
  .btn,
  .support-tile,
  .image-frame img {
    transition: none;
  }
}

@media (max-width: 1000px) {
  .hero,
  .featured-card {
    grid-template-columns: 1fr;
  }

  .mod-grid,
  .principles,
  .support-actions,
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stack-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    padding-top: 76px;
  }
}

@media (max-width: 720px) {
  .nav {
    padding: 18px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 74px 18px auto 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: rgba(8,7,6,0.98);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
    border-radius: var(--radius-sm);
    background: rgba(255,106,0,0.06);
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .stats,
  .mod-grid,
  .principles,
  .support-actions,
  .stack-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .featured-card {
    padding: 14px;
  }

  .featured-info {
    padding: 12px;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
