.pg-head { position: relative; padding: var(--s8) 0 var(--s6); text-align: center; }
.pg-head h1 { margin: 0 auto var(--s4); max-width: 18ch; font-size: clamp(2.4rem, 6.5vw, 4rem); letter-spacing: -0.04em; font-weight: 800; }
.pg-head p { margin: 0 auto; max-width: 36rem; color: var(--muted); font-size: 1.125rem; }
.pg-head .actions { justify-content: center; }






.rm-top { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); margin: var(--s5) 0 0; }
.rm-count { min-width: 7rem; padding: var(--s3) var(--s4); text-align: center; background: rgba(17, 19, 23, 0.75); border: 1px solid var(--border-strong); border-radius: var(--radius); }
.rm-count b { display: block; font: 800 1.9rem/1.1 var(--font); letter-spacing: -0.04em; }
.rm-count span { font: 500 0.75rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); }

.rm-board { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); padding-bottom: var(--s7); }
.rm-col { min-width: 0; padding: var(--s4); background: rgba(13, 15, 19, 0.82); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.rm-col header { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); padding-bottom: var(--s3); border-bottom: 1px solid var(--border); }
.rm-col h2 { margin: 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.035em; }
.rm-col header p { margin: 0 0 0 auto; font: 500 0.75rem/1.3 var(--mono); color: var(--faint); text-align: right; }
.rm-dot { flex: none; width: 0.9rem; height: 0.9rem; border-radius: 3px; }
.rm-done .rm-dot { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.rm-next .rm-dot { background: var(--diamond); box-shadow: 0 0 10px var(--diamond); }
.rm-later .rm-dot { background: transparent; border: 2px dashed var(--faint); }
.rm-col ul { display: grid; gap: var(--s2); margin: 0; padding: 0; list-style: none; }
.rm-col li { position: relative; padding: 0.6rem 0.8rem 0.6rem 2.1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.rm-col li::before { content: ""; position: absolute; left: 0.8rem; top: 0.95rem; width: 0.7rem; height: 0.7rem; border-radius: 2px; background: var(--accent); }
.rm-next li::before { background: var(--diamond); }
.rm-later li::before { background: transparent; border: 1.5px dashed var(--faint); }
.rm-col li strong { display: block; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.rm-col li span { display: block; margin-top: 0.15rem; font-size: 0.875rem; line-height: 1.45; color: var(--muted); }
.rm-done li:hover { border-color: rgba(45, 79, 216, 0.6); }
.rm-next li:hover { border-color: rgba(142, 166, 255, 0.5); }

.rm-research { margin-bottom: var(--s7); }
.rm-research h2 { margin: 0 0 var(--s2); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.035em; }
.rm-research > p { margin: 0 0 var(--s4); color: var(--muted); }
.rm-research ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--s3); margin: 0; padding: 0; list-style: none; }
.rm-research li { padding: var(--s4); background: rgba(17, 19, 23, 0.6); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.rm-research li strong { display: block; margin-bottom: 0.2rem; }
.rm-research li span { color: var(--muted); font-size: 0.9375rem; }

@media (min-width: 64rem) {
  .rm-board { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
}

.cp-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: var(--s4); padding: 0 0 var(--s7); }
.cp-fact { padding: var(--s5) var(--s4) var(--s4); background: linear-gradient(180deg, rgba(24, 27, 33, 0.85), rgba(13, 15, 19, 0.9)); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.cp-fact small { display: block; font: 600 0.6875rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-text); }
.cp-fact b { display: block; margin: var(--s2) 0; font: 800 2.1rem/1.05 var(--font); letter-spacing: -0.045em; }
.cp-fact p { margin: 0; font-size: 0.875rem; line-height: 1.5; color: var(--muted); }

.cp-block { padding-bottom: var(--s7); }
.cp-block h2 { margin: 0 0 var(--s2); font-size: clamp(1.7rem, 3.6vw, 2.25rem); font-weight: 800; letter-spacing: -0.04em; }
.cp-block > p { margin: 0 0 var(--s4); color: var(--muted); max-width: 40rem; }

.cp-clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--s4); margin: 0; padding: 0; list-style: none; }
.cp-client { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4); background: rgba(17, 19, 23, 0.85); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); }
.cp-client h3 { margin: 0; font-size: 1.1rem; }
.cp-client p { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.cp-client.yes { border-top: 3px solid var(--accent); }
.cp-client.via { border-top: 3px solid var(--diamond); }
.cp-client.no { border-top: 3px dashed var(--faint); }
.cp-pill { align-self: flex-start; padding: 0.1rem 0.65rem; font: 600 0.6875rem/1.7 var(--mono); text-transform: uppercase; letter-spacing: 0.07em; border-radius: 999px; border: 1px solid var(--border-strong); }
.yes .cp-pill { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.via .cp-pill { color: var(--diamond); border-color: var(--diamond); }
.no .cp-pill { color: #f0a0a8; border-color: rgba(240, 160, 168, 0.4); border-style: dashed; }

.cp-small { color: var(--faint); font-size: 0.875rem; margin: var(--s4) 0 0; }
.cp-help { padding: var(--s6) var(--s5); text-align: center; background: rgba(17, 19, 23, 0.8); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); margin-bottom: var(--s8); }
.cp-help h2 { margin: 0 0 var(--s2); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.035em; }
.cp-help p { margin: 0 auto; max-width: 34rem; color: var(--muted); }

.nf { position: relative; padding: var(--s8) 0 calc(var(--s9) + 3rem); text-align: center; overflow: hidden; }
.nf-code { display: flex; align-items: center; justify-content: center; gap: clamp(0.4rem, 2vw, 1.2rem); margin: 0 0 var(--s4); }
.nf-digit { display: grid; grid-template-columns: repeat(5, 1fr); width: clamp(4rem, 18vw, 8rem); aspect-ratio: 5 / 7; }
.nf-digit i.on { background: var(--accent-text); box-shadow: inset 0 -22% 0 rgba(20, 37, 122, 0.55), inset 0 0 0 1px rgba(10, 11, 13, 0.55); }
.nf-block { width: clamp(4rem, 18vw, 8rem); aspect-ratio: 1; display: grid; grid-template-columns: 1fr 1fr; animation: nf-bob 3.2s ease-in-out infinite; filter: drop-shadow(0 0 22px rgba(240, 90, 220, 0.35)); }
.nf-block i:nth-child(1), .nf-block i:nth-child(4) { background: #f800f8; }
.nf-block i:nth-child(2), .nf-block i:nth-child(3) { background: #101010; }
.nf-shadow { width: clamp(4rem, 16vw, 7rem); height: 10px; margin: 0 auto var(--s5); border-radius: 50%; background: rgba(0, 0, 0, 0.5); filter: blur(4px); animation: nf-shadow 3.2s ease-in-out infinite; }
@keyframes nf-bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@keyframes nf-shadow { 0%, 100% { transform: scaleX(1); opacity: 0.8; } 50% { transform: scaleX(0.7); opacity: 0.4; } }
.nf h1 { margin: 0 0 var(--s3); font-size: clamp(1.8rem, 4.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.04em; }
.nf p { margin: 0 auto var(--s2); max-width: 30rem; color: var(--muted); font-size: 1.0625rem; }
.nf .actions { justify-content: center; }
.nf-star { position: absolute; top: 12%; left: -10%; width: 4px; height: 4px; background: #fff; box-shadow: -4px 0 #cfd8ff, -8px 0 #8ea6ff, -12px 0 rgba(142, 166, 255, 0.5), -16px 0 rgba(142, 166, 255, 0.25); opacity: 0; animation: nf-shoot 7s linear infinite; }
.nf-star.b { top: 32%; animation-delay: 3.5s; animation-duration: 9s; }
@keyframes nf-shoot { 0% { transform: translate(0, 0); opacity: 0; } 4% { opacity: 1; } 22% { transform: translate(120vw, 18vw); opacity: 0; } 100% { transform: translate(120vw, 18vw); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nf-block, .nf-shadow, .nf-star { animation: none; } }


.cp-clients + .cp-small {
  margin-top: var(--s4);
}

.pg-make { padding: 0 0 var(--s8); }
.pg-make h2 { text-align: center; margin: 0 0 var(--s6); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.04em; }
.pg-make-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: var(--s4); }
.pg-make-card { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); padding: var(--s6); background: rgba(17, 19, 23, 0.85); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); }
.pg-make-card.soon { border-style: dashed; background: rgba(17, 19, 23, 0.6); }
.pg-make-card h3 { margin: 0; font-size: 1.375rem; }
.pg-make-card p { margin: 0 0 var(--s2); color: var(--muted); }
.pg-make-card .btn { margin-top: auto; }
.pg-make-tag { padding: 0.15rem 0.6rem; font: 600 0.75rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-text); border: 1px solid color-mix(in srgb, var(--accent-text) 45%, transparent); border-radius: 999px; }
.pg-make-tag.now { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }

.pg-head.models { padding-bottom: var(--s5); }
.pg-vanilla { display: flex; align-items: center; justify-content: center; gap: var(--s3); margin: var(--s5) auto 0; max-width: 38rem; color: var(--text); font-size: 1.0625rem; letter-spacing: -0.01em; text-align: left; }
.pg-vanilla .px { display: flex; flex: none; gap: 0.5rem; }
.pg-vanilla svg { width: 2rem; height: 2rem; image-rendering: pixelated; shape-rendering: crispEdges; }
.pg-vanilla .txt { color: var(--muted); }
.pg-vanilla .txt b { color: var(--text); font-weight: 700; }

.gal { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); padding: var(--s5) 0 var(--s8); }
.gcard { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: linear-gradient(180deg, rgba(20, 23, 29, 0.92), rgba(12, 14, 18, 0.95)); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transition: border-color 0.2s; }
.gcard:hover { border-color: rgba(142, 166, 255, 0.35); }
.gview { background: radial-gradient(ellipse at 50% 90%, rgba(45, 79, 216, 0.3), transparent 62%), #090b10; border-bottom: 1px solid var(--border); }
.gview .dm-viewer { max-width: 44rem; margin: 0 auto; }
.gbody { display: flex; flex: 1; flex-direction: column; padding: var(--s5); min-width: 0; }
.gtop { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s2); }
.gtop h2 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.2rem); font-weight: 800; letter-spacing: -0.04em; }
.gtool { flex: none; font: 600 0.6875rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.gline { margin: 0 0 var(--s4); color: var(--muted); font-size: 1.0625rem; }
.gfacts { display: flex; flex-wrap: wrap; gap: 0.25rem var(--s4); margin: 0 0 var(--s4); padding: 0; list-style: none; font: 500 0.8125rem/1.5 var(--mono); color: var(--faint); }
.gfacts b { color: var(--text); font-weight: 500; }
.gbody pre { margin: 0 0 var(--s4); }
.gbody pre code { font-size: 0.78rem; }
.gbody .gdl { margin-top: auto; display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }

@media (min-width: 62rem) {
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
  .gcard.feat { grid-column: 1 / -1; flex-direction: row; }
  .gcard.feat .gview { flex: 1.35; min-width: 0; border-bottom: 0; border-right: 1px solid var(--border); display: flex; align-items: center; }
  .gcard.feat .gview .dm-viewer { max-width: none; }
  .gcard.feat .gbody { flex: 1; justify-content: center; padding: var(--s7) var(--s6); }
  .gcard.feat .gbody .gdl { margin-top: 0; }
}

.pg-own { padding: var(--s6) 0 var(--s8); }
.pg-own h2 { margin: 0 0 var(--s5); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.04em; }
.pg-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--s5); margin: 0 0 var(--s5); padding: 0; list-style: none; counter-reset: step; }
.pg-steps li { padding: var(--s3) 0 0; border-top: 2px solid var(--accent); counter-increment: step; color: var(--muted); }
.pg-steps li::before { content: "0" counter(step); display: block; margin-bottom: var(--s2); font: 600 0.8125rem/1 var(--mono); color: var(--accent-text); letter-spacing: 0.08em; }
.pg-note { margin: 0 0 var(--s2); color: var(--muted); max-width: 40rem; }
.pg-make h2 { text-align: left; }

.pg-head p.pg-vanilla { max-width: 100%; width: fit-content; font-size: 1.0625rem; }
.pg-vanilla svg { width: 2.25rem; height: 2.25rem; }
@media (max-width: 39.99rem) { .pg-vanilla { flex-direction: column; text-align: center; gap: var(--s2); } }
