/* v21 sections (owner 2026-10-06): Why NexNode cards, "3D is not hard" banner, compatible tools.
   Self-contained: remove this file + its <link> + the three marked HTML blocks to revert. */
/* Design tokens live in css/tokens.css */

.center-head { max-width: none; text-align: center; }
.center-head .section-sub { margin-inline: auto; }

/* pixel voxel canvases: low-res bitmap scaled up crisp */
.vox { display: block; image-rendering: pixelated; image-rendering: crisp-edges; }

/* stepped "pixel" corners shared by the cards and the banner */
.px-corners {
  clip-path: polygon(
    0 calc(var(--px-step) * 2), var(--px-step) calc(var(--px-step) * 2), var(--px-step) var(--px-step), calc(var(--px-step) * 2) var(--px-step), calc(var(--px-step) * 2) 0,
    calc(100% - var(--px-step) * 2) 0, calc(100% - var(--px-step) * 2) var(--px-step), calc(100% - var(--px-step)) var(--px-step), calc(100% - var(--px-step)) calc(var(--px-step) * 2), 100% calc(var(--px-step) * 2),
    100% calc(100% - var(--px-step) * 2), calc(100% - var(--px-step)) calc(100% - var(--px-step) * 2), calc(100% - var(--px-step)) calc(100% - var(--px-step)), calc(100% - var(--px-step) * 2) calc(100% - var(--px-step)), calc(100% - var(--px-step) * 2) 100%,
    calc(var(--px-step) * 2) 100%, calc(var(--px-step) * 2) calc(100% - var(--px-step)), var(--px-step) calc(100% - var(--px-step)), var(--px-step) calc(100% - var(--px-step) * 2), 0 calc(100% - var(--px-step) * 2));
}

/* ---------- Why NexNode ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.why-card {
  position: relative; isolation: isolate; display: grid; align-content: start; gap: 14px;
  min-height: 330px; padding: 34px 32px 36px; color: #fff; overflow: hidden;
  transition: transform .35s var(--ease-spring, ease);
}
.why-card:hover { transform: translateY(-4px); }
.why-card::after { /* dithered pixel shade toward the bottom-right corner */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='2' height='2' fill='%23000'/%3E%3Crect x='2' y='2' width='2' height='2' fill='%23000'/%3E%3C/svg%3E");
  background-size: 6px 6px; image-rendering: pixelated; opacity: .16;
  -webkit-mask-image: linear-gradient(150deg, transparent 35%, #000 100%); mask-image: linear-gradient(150deg, transparent 35%, #000 100%);
}
.why-card h3 { margin: 10px 0 0; font-size: clamp(22px, 1.9vw, 27px); font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
.why-card p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.9); max-width: 38ch; }
.why-card .vox { width: 120px; height: 120px; margin: -8px 0 4px -10px; filter: drop-shadow(0 10px 10px rgba(0,0,0,.28)); }
.why-red { background: linear-gradient(150deg, var(--p-crimson), var(--p-blood)); }
.why-gold { background: linear-gradient(150deg, var(--p-gold), var(--p-orange)); color: #1f0f04; }
.why-gold p { color: rgba(31,15,4,.82); }
.why-brown { background: linear-gradient(150deg, var(--p-brown), #4a2008); }

/* ---------- 3D is not hard ---------- */
.easy {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 32px;
  padding: clamp(32px, 5vw, 64px) clamp(28px, 6vw, 88px); border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  background: radial-gradient(60% 90% at 0% 50%, rgba(139,0,0,.22), transparent 70%), var(--ink-2);
}
.easy-copy { display: grid; gap: 20px; justify-items: start; }
.easy-copy .display { font-size: clamp(34px, 4vw, 56px); margin: 0; }
.easy-copy .lead { margin: 0; }
.easy-art { position: relative; justify-self: center; width: min(360px, 100%); aspect-ratio: 1; }
.easy-art::before { /* disc + glow behind the character */
  content: ''; position: absolute; inset: 10% 6% 2%; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #3a0d12, #1d0a0c 70%); border: 1px solid var(--line-2);
  box-shadow: 0 0 80px 10px rgba(220,20,60,.18);
}
.easy-art .vox { position: relative; width: 100%; height: 100%; }

/* ---------- Works with your tools ---------- */
.compat .section-head { margin-bottom: 36px; }
.compat-title { margin: 0; font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.015em; }
.compat .section-sub { margin-top: 10px; font-size: 16px; }
.compat-logos { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 44px; max-width: 1000px; }
.compat-logos li { display: grid; justify-items: center; gap: 10px; color: var(--dim); opacity: .75; transition: color .2s, opacity .2s; }
.compat-logos li:hover { color: var(--bone); opacity: 1; }
.compat-logos svg { width: 34px; height: 34px; fill: currentColor; }
.compat-logos span { font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.compat-more { margin: 30px 0 0; text-align: center; color: var(--dim); font-size: 14px; }

@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-card { min-height: 0; }
  .easy { grid-template-columns: 1fr; text-align: left; }
  .easy-art { width: min(300px, 80%); }
}
@media (prefers-reduced-motion: reduce) { .why-card { transition: none; } .why-card:hover { transform: none; } }

/* v24 (owner 2026-10-06): Why cards live inside the "3D is not hard" panel */
.easy-combined { row-gap: clamp(32px, 4vw, 48px); }
.easy-cards { grid-column: 1 / -1; }
.easy-cards .why-card { min-height: 0; padding: 30px 28px 32px; }
.easy-cards .why-card .vox { width: 104px; height: 104px; }
