Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
feat: add features page with scroll-driven animations and responsive layout
nirholas1e9ba455a947
diff --git a/features.css b/features.cssnew file mode 100644index 000000000..88eab8229--- /dev/null+++ b/features.css@@ -0,0 +1,1062 @@+/******************************************************************************+ * Features Page — Scroll-Driven Animations + Golden Ratio Layout+ *+ * Uses phi-based spacing from style.css :root custom properties.+ * Every reveal uses IntersectionObserver + CSS transitions.+ */++/* ── Page shell ─────────────────────────────────────────────────────────── */++.features-page {+ overflow-y: auto;+ overflow-x: hidden;+ height: 100%;+ scroll-behavior: smooth;+}++/* ── Skip link (a11y) ───────────────────────────────────────────────────── */++.skip-link {+ position: absolute;+ top: -40px;+ left: 8px;+ padding: 0.5rem 0.9rem;+ background: #fff;+ color: #000;+ font-size: var(--text-sm);+ font-weight: 500;+ text-decoration: none;+ border-radius: var(--radius-sm);+ z-index: 1000;+ transition: top 0.15s ease;+}++.skip-link:focus,+.skip-link:focus-visible {+ top: 8px;+ outline: 2px solid #ffd76a;+ outline-offset: 2px;+}++/* ── Focus-visible treatment (a11y) ─────────────────────────────────────── */++.features-page a:focus-visible,+.features-page button:focus-visible {+ outline: 2px solid #ffd76a;+ outline-offset: 2px;+ border-radius: var(--radius-sm);+}++.features-main {+ width: 100%;+}++/* ── Navigation ─────────────────────────────────────────────────────────── */++.features-nav {+ margin-left: auto;+ display: flex;+ gap: var(--space-lg);+ -webkit-app-region: no-drag;+}++.features-nav a {+ color: rgba(255, 255, 255, 0.4);+ text-decoration: none;+ font-size: var(--text-sm);+ font-weight: 400;+ letter-spacing: 0.04em;+ transition: color 0.2s ease;+}++.features-nav a:hover,+.features-nav a.active {+ color: #fff;+}++/* ── Scroll reveal base ─────────────────────────────────────────────────── */++.scroll-reveal {+ opacity: 0;+ transform: translateY(24px);+ transition:+ opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),+ transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);+}++.scroll-reveal.revealed {+ opacity: 1;+ transform: translateY(0);+}++/* ── Hero ────────────────────────────────────────────────────────────────── */++.hero {+ position: relative;+ display: grid;+ /* Stronger weight on the avatar — 1 : φ */+ grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);+ align-items: center;+ gap: var(--space-2xl);+ min-height: 100vh;+ max-width: 1280px;+ margin: 0 auto;+ padding: calc(var(--space-2xl) + 2rem) var(--space-lg) var(--space-2xl);+ overflow: hidden;+ isolation: isolate;+}++/* ── Hero Background Layers ─────────────────────────────────────────────── */++.hero-bg {+ position: absolute;+ inset: 0;+ pointer-events: none;+ z-index: 0;+ overflow: hidden;+}++.hero-grid {+ position: absolute;+ inset: -1px;+ background-image:+ linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),+ linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);+ background-size: 64px 64px;+ mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);+ -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);+}++.hero-mesh {+ position: absolute;+ inset: -20%;+ background:+ radial-gradient(40% 50% at 70% 40%, rgba(255, 200, 60, 0.14) 0%, transparent 60%),+ radial-gradient(35% 45% at 25% 70%, rgba(80, 200, 255, 0.09) 0%, transparent 65%),+ radial-gradient(60% 40% at 50% 100%, rgba(120, 80, 255, 0.06) 0%, transparent 60%);+ filter: blur(40px);+ animation: heroMeshDrift 18s ease-in-out infinite alternate;+}++@keyframes heroMeshDrift {+ 0% {+ transform: translate3d(0, 0, 0) scale(1);+ }+ 50% {+ transform: translate3d(-2%, 1.5%, 0) scale(1.05);+ }+ 100% {+ transform: translate3d(2%, -1%, 0) scale(1.02);+ }+}++.hero-glow {+ position: absolute;+ border-radius: 50%;+ pointer-events: none;+ filter: blur(20px);+}++.hero-glow-gold {+ width: 720px;+ height: 720px;+ background: radial-gradient(circle, rgba(255, 200, 60, 0.12) 0%, transparent 65%);+ top: 38%;+ right: -8%;+ transform: translateY(-50%);+ animation: heroBreath 6s ease-in-out infinite;+}++.hero-glow-cyan {+ width: 420px;+ height: 420px;+ background: radial-gradient(circle, rgba(80, 220, 255, 0.08) 0%, transparent 65%);+ bottom: -10%;+ left: -4%;+ animation: heroBreathCyan 8s ease-in-out infinite;+}++@keyframes heroBreath {+ 0%,+ 100% {+ opacity: 0.85;+ transform: translateY(-50%) scale(1);+ }+ 50% {+ opacity: 1;+ transform: translateY(-50%) scale(1.06);+ }+}++@keyframes heroBreathCyan {+ 0%,+ 100% {+ opacity: 0.7;+ transform: scale(1);+ }+ 50% {+ opacity: 1;+ transform: scale(1.08);+ }+}++/* ── Hero Content (left column) ─────────────────────────────────────────── */++.hero-content {+ position: relative;+ z-index: 2;+ max-width: 36em;+ text-align: left;+}++.hero-chip {+ display: inline-flex;+ align-items: center;+ gap: var(--space-sm);+ padding: 0.382rem 0.9rem;+ background: rgba(255, 255, 255, 0.035);+ border: 1px solid rgba(255, 255, 255, 0.08);+ border-radius: 999px;+ font-family: 'JetBrains Mono', 'SF Mono', monospace;+ font-size: 0.7rem;+ color: rgba(255, 255, 255, 0.7);+ letter-spacing: 0.08em;+ text-transform: uppercase;+ margin-bottom: var(--space-lg);+ backdrop-filter: blur(12px);+ -webkit-backdrop-filter: blur(12px);+}++.hero-chip-dot {+ width: 6px;+ height: 6px;+ border-radius: 50%;+ background: #4ade80;+ box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);+ animation: heroChipPulse 2.4s ease-out infinite;+}++@keyframes heroChipPulse {+ 0% {+ box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);+ }+ 70% {+ box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);+ }+ 100% {+ box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);+ }+}++.hero-chip-divider {+ width: 1px;+ height: 10px;+ background: rgba(255, 255, 255, 0.15);+}++.hero-chip-spec {+ color: rgba(255, 215, 0, 0.9);+}++.hero-title {+ /* Display-scale — the hero's whole job is to feel big */+ font-size: clamp(2.6rem, 7.2vw, 5.4rem);+ font-weight: 600;+ color: #fff;+ line-height: 1.02;+ margin: 0 0 var(--space-lg);+ letter-spacing: -0.035em;+}++.hero-title em {+ font-style: normal;+ background: linear-gradient(100deg, #ffd76a 0%, #ffb347 35%, #7df9ff 75%, #9d8cff 100%);+ background-size: 200% 100%;+ -webkit-background-clip: text;+ background-clip: text;+ color: transparent;+ animation: heroTitleShimmer 8s ease-in-out infinite;+}++@keyframes heroTitleShimmer {+ 0%,+ 100% {+ background-position: 0% 50%;+ }+ 50% {+ background-position: 100% 50%;+ }+}++.hero-subtitle {+ font-size: clamp(1.05rem, 1.35vw, 1.25rem);+ color: rgba(255, 255, 255, 0.58);+ font-weight: 300;+ line-height: 1.5;+ max-width: 32em;+ margin: 0 0 var(--space-xl);+}++.hero-cta {+ display: flex;+ gap: var(--space-md);+ justify-content: flex-start;+ flex-wrap: wrap;+ margin-bottom: var(--space-xl);+}++.btn-arrow {+ display: inline-block;+ margin-left: 0.5em;+ transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);+}++.btn-primary:hover .btn-arrow {+ transform: translateX(3px);+}++.hero-signin-hint {+ margin: calc(var(--space-md) * -0.5) 0 var(--space-xl);+ font-size: var(--text-sm);+ color: rgba(255, 255, 255, 0.38);+}++.hero-signin-link {+ color: rgba(255, 255, 255, 0.6);+ text-decoration: none;+ transition: color 0.2s;+}++.hero-signin-link:hover {+ color: #fff;+}++.hero-proof {+ list-style: none;+ padding: 0;+ margin: 0;+ display: flex;+ flex-wrap: wrap;+ gap: var(--space-md) var(--space-lg);+ font-family: 'JetBrains Mono', monospace;+ font-size: 0.72rem;+ color: rgba(255, 255, 255, 0.35);+ letter-spacing: 0.14em;+ text-transform: uppercase;+}++.hero-proof li {+ position: relative;+}++.hero-proof li + li::before {+ content: '';+ position: absolute;+ left: calc(var(--space-lg) * -0.5);+ top: 50%;+ width: 2px;+ height: 2px;+ border-radius: 50%;+ background: rgba(255, 255, 255, 0.25);+ transform: translateY(-50%);+}++/* ── Hero Avatar (right column) ─────────────────────────────────────────── */++.hero-avatar {+ position: relative;+ z-index: 1;+ width: 100%;+ aspect-ratio: 1 / 1;+ max-width: 640px;+ justify-self: end;+ display: flex;+ align-items: center;+ justify-content: center;+}++.hero-avatar-link {+ position: relative;+ z-index: 2;+ display: block;+ width: 100%;+ height: 100%;+ border-radius: 50%;+ cursor: pointer;+ text-decoration: none;+ outline: none;+ transition: transform 0.3s ease;+}++.hero-avatar-link:hover {+ transform: scale(1.02);+}++.hero-avatar-link:focus-visible {+ box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.55);+}++.hero-avatar-viewer {+ width: 100%;+ height: 100%;+ background: transparent;+ --poster-color: transparent;+ border-radius: 50%;+ outline: none;+ position: relative;+ z-index: 2;+ pointer-events: none;+}++.hero-avatar-ring {+ position: absolute;+ inset: 4%;+ border-radius: 50%;+ background: conic-gradient(+ from 140deg,+ rgba(255, 200, 60, 0) 0deg,+ rgba(255, 200, 60, 0.25) 60deg,+ rgba(125, 249, 255, 0.18) 180deg,+ rgba(157, 140, 255, 0.12) 260deg,+ rgba(255, 200, 60, 0) 360deg+ );+ filter: blur(1px);+ opacity: 0.7;+ animation: heroRingSpin 28s linear infinite;+ mask: radial-gradient(circle, transparent 58%, #000 59%, #000 63%, transparent 64%);+ -webkit-mask: radial-gradient(circle, transparent 58%, #000 59%, #000 63%, transparent 64%);+ pointer-events: none;+ z-index: 1;+}++@keyframes heroRingSpin {+ to {+ transform: rotate(360deg);+ }+}++.hero-avatar-pulse {+ position: absolute;+ inset: 8%;+ border-radius: 50%;+ background:+ radial-gradient(circle at 50% 50%, rgba(255, 200, 60, 0.14) 0%, transparent 60%),+ radial-gradient(circle at 40% 70%, rgba(125, 249, 255, 0.08) 0%, transparent 55%);+ box-shadow:+ inset 0 1px 0 rgba(255, 255, 255, 0.05),+ 0 40px 120px -20px rgba(255, 200, 60, 0.18);+ animation: heroBreath 5s ease-in-out infinite;+ pointer-events: none;+ z-index: 0;+}++.hero-avatar-tag {+ position: absolute;+ bottom: 8%;+ right: 0;+ display: inline-flex;+ align-items: baseline;+ gap: 0.5em;+ padding: 0.5rem 0.85rem;+ background: rgba(10, 10, 14, 0.7);+ border: 1px solid rgba(255, 255, 255, 0.08);+ border-radius: var(--radius-lg);+ font-family: 'JetBrains Mono', monospace;+ font-size: 0.7rem;+ color: rgba(255, 255, 255, 0.8);+ backdrop-filter: blur(12px);+ -webkit-backdrop-filter: blur(12px);+ z-index: 3;+ box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6);+}++.hero-avatar-tag-label {+ color: rgba(255, 215, 0, 0.7);+ letter-spacing: 0.08em;+ text-transform: uppercase;+ font-size: 0.6rem;+}++.hero-avatar-tag-value {+ color: #fff;+ letter-spacing: 0.02em;+}++/* ── Scroll hint ─────────────────────────────────────────────────────────── */++.hero-scroll-hint {+ position: absolute;+ bottom: var(--space-lg);+ left: 50%;+ transform: translateX(-50%);+ display: flex;+ flex-direction: column;+ align-items: center;+ gap: 0.5rem;+ font-family: 'JetBrains Mono', monospace;+ font-size: 0.6rem;+ color: rgba(255, 255, 255, 0.25);+ letter-spacing: 0.25em;+ text-transform: uppercase;+ z-index: 2;+ pointer-events: none;+}++.hero-scroll-line {+ width: 1px;+ height: 32px;+ background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);+ animation: heroScrollLine 2.2s ease-in-out infinite;+ transform-origin: top;+}++@keyframes heroScrollLine {+ 0% {+ transform: scaleY(0);+ opacity: 0;+ }+ 40% {+ opacity: 1;+ }+ 100% {+ transform: scaleY(1);+ opacity: 0;+ }+}++@media (prefers-reduced-motion: reduce) {+ .hero-mesh,+ .hero-glow,+ .hero-avatar-ring,+ .hero-avatar-pulse,+ .hero-chip-dot,+ .hero-title em,+ .hero-scroll-line {+ animation: none !important;+ }+}++/* ── Buttons ─────────────────────────────────────────────────────────────── */++.btn-primary {+ display: inline-block;+ padding: var(--space-sm) var(--space-xl);+ background: #fff;+ color: #000;+ font-size: var(--text-sm);+ font-weight: 500;+ border-radius: var(--radius-lg);+ text-decoration: none;+ letter-spacing: 0.02em;+ transition: all 0.25s ease;+}++.btn-primary:hover {+ background: rgba(255, 255, 255, 0.9);+ transform: translateY(-1px);+ box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);+}++.btn-ghost {+ display: inline-block;+ padding: var(--space-sm) var(--space-xl);+ color: rgba(255, 255, 255, 0.5);+ font-size: var(--text-sm);+ font-weight: 400;+ text-decoration: none;+ letter-spacing: 0.02em;+ border: 1px solid rgba(255, 255, 255, 0.1);+ border-radius: var(--radius-lg);+ transition: all 0.25s ease;+}++.btn-ghost:hover {+ color: #fff;+ border-color: rgba(255, 255, 255, 0.3);+ background: rgba(255, 255, 255, 0.05);+}++/* ── Sections ────────────────────────────────────────────────────────────── */++.section {+ padding: var(--space-2xl) var(--space-lg);+ max-width: 1080px;+ margin: 0 auto;+}++.section-dark {+ max-width: none;+ background: rgba(255, 255, 255, 0.02);+ border-top: 1px solid rgba(255, 255, 255, 0.04);+ border-bottom: 1px solid rgba(255, 255, 255, 0.04);+}++.section-dark > * {+ max-width: 1080px;+ margin-left: auto;+ margin-right: auto;+}++.section-label {+ font-family: 'JetBrains Mono', 'SF Mono', monospace;+ font-size: var(--text-xs);+ color: rgba(255, 215, 0, 0.6);+ letter-spacing: 0.15em;+ text-transform: uppercase;+ margin: 0 0 var(--space-xl);+ text-align: center;+}++.section-desc {+ font-size: var(--text-lg);+ color: rgba(255, 255, 255, 0.45);+ font-weight: 300;+ text-align: center;+ max-width: 38.2em;+ margin: 0 auto var(--space-xl);+ line-height: var(--leading-normal);+}++/* ── Steps (How It Works) ────────────────────────────────────────────────── */++.steps {+ display: grid;+ grid-template-columns: repeat(3, 1fr);+ gap: var(--space-xl);+}++.step {+ padding: var(--space-lg);+ border: 1px solid rgba(255, 255, 255, 0.06);+ border-radius: var(--radius-lg);+ transition: border-color 0.3s ease;+}++.step:hover {+ border-color: rgba(255, 255, 255, 0.12);+}++.step-num {+ font-family: 'JetBrains Mono', monospace;+ font-size: var(--text-2xl);+ font-weight: 600;+ color: rgba(255, 215, 0, 0.15);+ line-height: 1;+ margin-bottom: var(--space-sm);+}++.step h4 {+ color: #fff;+ font-size: var(--text-lg);+ font-weight: 500;+ margin: 0 0 var(--space-sm);+}++.step p {+ color: rgba(255, 255, 255, 0.45);+ font-size: var(--text-sm);+ line-height: var(--leading-normal);+ margin: 0;+}++.step code {+ font-family: 'JetBrains Mono', monospace;+ font-size: 0.85em;+ color: rgba(255, 215, 0, 0.6);+ background: rgba(255, 215, 0, 0.06);+ padding: 0.1em 0.4em;+ border-radius: var(--radius-sm);+}++/* ── Code Block ──────────────────────────────────────────────────────────── */++.code-block {+ background: #0a0a0a;+ border: 1px solid rgba(255, 255, 255, 0.06);+ border-radius: var(--radius-lg);+ overflow: hidden;+ max-width: 680px;+ margin: 0 auto;+}++.code-header {+ display: flex;+ align-items: center;+ gap: var(--space-2xs);+ padding: var(--space-sm) var(--space-md);+ background: rgba(255, 255, 255, 0.03);+ border-bottom: 1px solid rgba(255, 255, 255, 0.04);+}++.code-dot {+ width: 10px;+ height: 10px;+ border-radius: 50%;+}++.code-dot.red {+ background: #ff5f56;+}+.code-dot.yellow {+ background: #ffbd2e;+}+.code-dot.green {+ background: #27c93f;+}++.code-filename {+ margin-left: var(--space-sm);+ font-family: 'JetBrains Mono', monospace;+ font-size: var(--text-xs);+ color: rgba(255, 255, 255, 0.35);+}++.code-body {+ margin: 0;+ padding: var(--space-lg);+ overflow-x: auto;+ font-family: 'JetBrains Mono', monospace;+ font-size: 0.8rem;+ line-height: var(--leading-loose);+ color: rgba(255, 255, 255, 0.6);+}++.json-key {+ color: #7ec8e3;+}+.json-str {+ color: #a8cc8c;+}+.json-bool {+ color: #e88388;+}++/* ── Registry Cards ──────────────────────────────────────────────────────── */++.registry-grid {+ display: grid;+ grid-template-columns: repeat(3, 1fr);+ gap: var(--space-lg);+}++.registry-card {+ padding: var(--space-lg);+ background: rgba(255, 255, 255, 0.02);+ border: 1px solid rgba(255, 255, 255, 0.06);+ border-radius: var(--radius-lg);+ transition: all 0.3s ease;+}++.registry-card:hover {+ background: rgba(255, 255, 255, 0.04);+ border-color: rgba(255, 255, 255, 0.12);+ transform: translateY(-2px);+}++.registry-icon {+ font-size: 2rem;+ margin-bottom: var(--space-sm);+}++.registry-card h4 {+ color: #fff;+ font-size: var(--text-base);+ font-weight: 500;+ margin: 0 0 var(--space-xs);+}++.registry-card p {+ color: rgba(255, 255, 255, 0.4);+ font-size: var(--text-sm);+ line-height: var(--leading-normal);+ margin: 0 0 var(--space-md);+}++.registry-card code {+ font-family: 'JetBrains Mono', monospace;+ font-size: 0.8em;+ color: rgba(255, 215, 0, 0.6);+ background: rgba(255, 215, 0, 0.06);+ padding: 0.1em 0.4em;+ border-radius: var(--radius-sm);+}++.registry-details {+ list-style: none;+ padding: 0;+ margin: 0;+ display: flex;+ flex-direction: column;+ gap: var(--space-2xs);+}++/* ── Integration Grid ────────────────────────────────────────────────────── */++.integration-grid {+ display: grid;+ grid-template-columns: repeat(2, 1fr);+ gap: var(--space-lg);+ max-width: 1080px;+ margin: 0 auto;+}++.integration-item {+ padding: var(--space-lg);+ border-left: 2px solid rgba(255, 215, 0, 0.15);+}++.integration-item h4 {+ color: #fff;+ font-size: var(--text-base);+ font-weight: 500;+ margin: 0 0 var(--space-xs);+}++.integration-item p {+ color: rgba(255, 255, 255, 0.4);+ font-size: var(--text-sm);+ line-height: var(--leading-normal);+ margin: 0;+}++.integration-item code {+ font-family: 'JetBrains Mono', monospace;+ font-size: 0.85em;+ color: rgba(255, 215, 0, 0.6);+ background: rgba(255, 215, 0, 0.06);+ padding: 0.1em 0.4em;+ border-radius: var(--radius-sm);+}++/* ── CTA Section ─────────────────────────────────────────────────────────── */++.cta-section {+ text-align: center;+ padding: var(--space-2xl) var(--space-lg);+}++.cta-content h3 {+ color: #fff;+ font-size: var(--text-xl);+ font-weight: 500;+ margin: 0 0 var(--space-sm);+}++.cta-content p {+ color: rgba(255, 255, 255, 0.4);+ font-size: var(--text-base);+ margin: 0 0 var(--space-lg);+}++/* ── Footer ──────────────────────────────────────────────────────────────── */++.features-footer {+ position: static;+ text-align: center;+ padding: var(--space-xl) var(--space-lg);+ border-top: 1px solid rgba(255, 255, 255, 0.04);+ pointer-events: all;+}++.features-footer p {+ color: rgba(255, 255, 255, 0.25);+ font-size: var(--text-xs);+ font-family: 'JetBrains Mono', monospace;+ margin: 0;+}++.features-footer a {+ color: rgba(255, 255, 255, 0.35);+ text-decoration: none;+ transition: color 0.2s ease;+}++.features-footer a:hover {+ color: #fff;+}++/* ── Pretext overlay ─────────────────────────────────────────────────────── */++/*+ * Absolute overlay rendered by src/features/hero-pretext.js when ?pretext>=2.+ * Typography mirrors .hero-subtitle so the swap is visually continuous.+ * Only activates once .pretext-active lands on .hero — if the layout pass+ * throws before painting, the class is never added and the original subtitle+ * stays visible.+ */+.hero-subtitle-pretext {+ position: absolute;+ font-size: clamp(1.05rem, 1.35vw, 1.25rem);+ color: rgba(255, 255, 255, 0.58);+ font-weight: 300;+ line-height: 1.5;+ pointer-events: none;+ display: none;+}++.pretext-active .hero-subtitle-pretext {+ display: block;+}++.hero-subtitle-pretext-line {+ position: absolute;+ left: 0;+ white-space: pre;+}++/* Reserve the original subtitle's space so the CTA stack doesn't jump. */+.pretext-active .hero-subtitle {+ visibility: hidden;+}++/* ── Dragon mode (?pretext=4) ────────────────────────────────────────────── */++/*+ * Activated by src/features/hero-dragon.js. The avatar detaches from its grid+ * column and is positioned absolutely within .hero so it can chase the cursor+ * via transform. The content column expands to full hero width so Pretext has+ * more room to reflow the subtitle around the moving silhouette.+ */+.hero--dragon {+ position: relative;+}++.hero--dragon .hero-content {+ grid-column: 1 / -1;+ max-width: none;+ z-index: 2;+}++.hero--dragon .hero-subtitle-pretext {+ max-width: none;+}++.hero--dragon .hero-avatar {+ position: absolute;+ top: 0;+ right: 0;+ z-index: 3;+ justify-self: auto;+ transform: translate3d(0, 0, 0);+ transition: none;+}++/* The ring/pulse/tag decorations read as static UI chrome — hide them while+ * the avatar roams so the silhouette reads as the hero of the composition. */+.hero--dragon .hero-avatar-ring,+.hero--dragon .hero-avatar-pulse,+.hero--dragon .hero-avatar-tag {+ opacity: 0;+ transition: opacity 0.4s ease;+}++/* ── Responsive ──────────────────────────────────────────────────────────── */++/* Tablet — keep two columns but tighten the split */+@media screen and (max-width: 1024px) {+ .hero {+ grid-template-columns: 1fr 1fr;+ gap: var(--space-xl);+ }++ .hero-avatar {+ max-width: 420px;+ }+}++@media screen and (max-width: 768px) {+ /* Pretext overlay disables itself below this breakpoint; bring the+ original subtitle back in case .pretext-active was set before the+ resize into mobile. */+ .pretext-active .hero-subtitle {+ visibility: visible;+ }++ .hero {+ grid-template-columns: 1fr;+ gap: var(--space-xl);+ min-height: auto;+ padding: calc(var(--space-xl) + 1rem) var(--space-md) var(--space-xl);+ text-align: center;+ }++ .hero-content {+ max-width: 100%;+ text-align: center;+ order: 2;+ }++ .hero-avatar {+ order: 1;+ max-width: 360px;+ margin: 0 auto;+ justify-self: center;+ }++ .hero-avatar-tag {+ right: 4%;+ bottom: 4%;+ }++ .hero-cta {+ justify-content: center;+ }++ .hero-proof {+ justify-content: center;+ }++ .hero-glow-gold {+ right: 50%;+ top: 30%;+ transform: translate(50%, -50%);+ width: 480px;+ height: 480px;+ }++ .hero-glow-cyan {+ left: 50%;+ transform: translateX(-50%);+ width: 320px;+ height: 320px;+ }++ .hero-scroll-hint {+ display: none;+ }++ .hero-title {+ font-size: clamp(2.2rem, 10vw, 3.2rem);+ }++ .steps {+ grid-template-columns: 1fr;+ gap: var(--space-md);+ }++ .registry-grid {+ grid-template-columns: 1fr;+ gap: var(--space-md);+ }++ .integration-grid {+ grid-template-columns: 1fr;+ }++ .section {+ padding: var(--space-xl) var(--space-md);+ }++ .section-dark {+ padding: var(--space-xl) var(--space-md);+ }++ .code-body {+ font-size: 0.7rem;+ padding: var(--space-md);+ }++ .features-nav {+ gap: var(--space-md);+ }+}