/* Cartridge AI: design language v2
   Calm, light, editorial. Paper white and mist surfaces, near-black inset panels,
   one electric-blue accent, regular-weight oversized type, mono uppercase labels.
   The cartridge appears as a white line drawing: thin strokes, never filled shapes. */

:root {
    --ink: #0F0F0F;
    --paper: #FFFFFF;
    --mist: #EEF1F5;
    --mist-2: #E3E7ED;
    --slate: #5C6B7F;
    --hair: rgba(15, 15, 15, 0.12);
    --hair-dark: rgba(255, 255, 255, 0.15);
    --accent: #266BFF;
    --accent-deep: #1A55E0;
    --accent-soft: #DCE6FF;
    --accent-glow: rgba(var(--accent-rgb), 0.35);
    /* Theme tokens: blue by default, swapped wholesale by .theme-lime */
    --accent-rgb: 38, 107, 255;
    --accent-light: #8FB2FF;
    --accent-light-rgb: 143, 178, 255;
    --accent-pale: #9DB8FF;
    --accent-pale-rgb: 157, 184, 255;
    --accent-text: var(--accent);
    --accent-text-deep: var(--accent-deep);
    --on-accent: #FFFFFF;
    --accent-hover: #4D87FF;
    --accent-tint: #C9D8FF;
    --card-top: #1B2233;
    --card-bottom: #141821;
    --sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --display: 'DM Sans', 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
    --r-panel: 32px;
    --r-card: 24px;
    --ease-nk: cubic-bezier(0.625, 0.05, 0, 1);
    --electric-blue: var(--accent);
}

/* ---------- Base ---------- */
body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .section-headline {
    font-weight: 400;
    color: var(--ink);
}

section,
section.visible {
    opacity: 1;
    transform: none;
}

.container {
    max-width: 1280px;
    padding: 0 clamp(20px, 3.4vw, 48px);
}

/* ---------- Line-drawn mini cartridge mark ---------- */
.logo-mark {
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 23px;
    border: 1.5px solid currentColor;
    border-radius: 3px 3px 1px 1px;
    background: transparent;
}

.logo-mark::before {
    content: '';
    position: absolute;
    left: 2px;
    right: 2px;
    top: 6px;
    height: 8px;
    border: 1.5px solid currentColor;
    border-radius: 1px;
}

.logo-mark::after {
    content: '';
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: -5px;
    height: 4px;
    border: 1.5px solid currentColor;
    border-top: none;
    background: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 3px) 1px 0 / calc(100% - 2px) 100% no-repeat;
}

.cart-label-brand .logo-mark {
    width: 10px;
    height: 12px;
    border-width: 1px;
}

.cart-label-brand .logo-mark::before { left: 1px; right: 1px; top: 3px; height: 4px; border-width: 1px; }
.cart-label-brand .logo-mark::after { display: none; }

.led {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
    flex-shrink: 0;
}

/* ---------- Eyebrow labels: / MONO UPPERCASE ---------- */
.section-label {
    display: table;
    margin: 0 auto 20px;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
}

.section-label::before {
    content: '/';
    color: var(--accent-text);
    margin-right: 10px;
}

.section-headline,
.hero h1,
.problem-statement {
    text-wrap: balance;
}

.section-headline {
    font-size: clamp(34px, 4.4vw, 60px);
    letter-spacing: -0.035em;
    line-height: 1.02;
    margin-bottom: 20px;
}

.section-text {
    font-size: clamp(16px, 1.3vw, 19px);
    color: var(--slate);
    line-height: 1.55;
}

/* ---------- Buttons: pills with an arrow chip ---------- */
.btn,
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: none;
    transition: background-color 0.45s var(--ease-nk), color 0.45s var(--ease-nk), border-color 0.45s var(--ease-nk), transform 0.15s ease;
}

.btn-primary,
.btn-submit {
    padding: 6px 6px 6px 22px;
    min-height: 48px;
    background: var(--accent);
    color: var(--paper);
    border: 1px solid var(--accent);
}

.btn-primary::after,
.btn-submit::after {
    content: '';
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230F0F0F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12 L12 4 M6 4 H12 V10'/%3E%3C/svg%3E") center / 14px no-repeat;
    transition: transform 0.525s var(--ease-nk);
}

.btn-primary:hover,
.btn-submit:hover {
    background: var(--ink);
    border-color: var(--ink);
    transform: none;
    box-shadow: none;
}

.btn-primary:hover::after,
.btn-submit:hover::after {
    transform: rotate(45deg);
}

.btn-primary:active,
.btn-submit:active {
    transform: scale(0.97);
    box-shadow: none;
}

.btn-secondary {
    padding: 0 22px;
    min-height: 48px;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--hair);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--mist);
    border-color: var(--hair);
    transform: none;
    box-shadow: none;
}

.btn-secondary:active {
    transform: scale(0.97);
    box-shadow: none;
}

.btn-small {
    min-height: 40px;
    padding: 4px 4px 4px 16px;
    font-size: 12px;
}

.btn-small::after { width: 32px; height: 32px; background-size: 12px; }

.btn-submit {
    width: 100%;
    justify-content: space-between;
    margin-top: 4px;
}

/* ---------- Floating nav ---------- */
.site-header {
    position: sticky;
    top: 12px;
    padding: 0;
    margin: 12px 16px 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 8px 8px 22px;
    background: rgba(15, 15, 15, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.12);
}

.site-header .logo {
    color: var(--paper);
    font-weight: 500;
    font-size: 17px;
    letter-spacing: -0.01em;
    gap: 10px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 14px;
    padding: 12px 0;
    transition: color 0.3s ease;
}

.header-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 1px;
    background: var(--paper);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease-nk);
}

.header-nav a:hover { color: var(--paper); }
.header-nav a:hover::after { transform: scaleX(1); }

.site-header .logo,
.btn { white-space: nowrap; }

@media (max-width: 760px) {
    .header-nav a { display: none; }
    .site-header { margin: 8px 8px 0; top: 8px; }
    .header-inner { padding: 6px 6px 6px 16px; }
    .site-header .logo { font-size: 15px; }
    .btn-small { font-size: 11px; letter-spacing: 0.05em; padding-left: 14px; }
}

@media (max-width: 860px) {
    .cart-label { padding: 10px 12px; }
    .cart-title { font-size: 13px; margin: 8px 0 6px; }
    .hub-core-list { font-size: 10px; gap: 1px; }
    .hub-core-list li { padding: 4px 6px 4px 16px; }
}

/* ---------- Hero ---------- */
.hero {
    padding: 72px 0 80px;
    min-height: calc(100vh - 72px);
    min-height: calc(100svh - 72px);
    display: flex;
    align-items: center;
    text-align: left;
    overflow: visible;
}

.hero::before {
    background: radial-gradient(40% 50% at 78% 50%, rgba(var(--accent-rgb), 0.10) 0%, rgba(var(--accent-rgb), 0) 70%);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero > .container { width: 100%; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}

.hero h1 {
    font-size: clamp(44px, 6vw, 84px);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.98;
    margin-bottom: 28px;
}

.hero .subheadline {
    margin: 0 0 36px;
    max-width: 540px;
    font-size: clamp(17px, 1.45vw, 20px);
    color: var(--slate);
    line-height: 1.55;
}

.hero .cta-group {
    justify-content: flex-start;
    gap: 12px;
}

.timeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 10px;
    margin-bottom: 28px;
    background: var(--paper);
    border: 1px solid var(--hair);
    border-radius: 999px;
    box-shadow: none;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rotator { color: var(--accent-text); }

.rotator::after {
    height: 0.05em;
    background: var(--accent);
}

@media (max-width: 1023px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero { padding: 48px 0 64px; min-height: 0; }
}

/* ---------- Hero demo window: structure ---------- */

.demo-type { min-height: 4.65em; }
.demo-type::after {
    content: '';
    display: inline-block;
    height: 1.05em;
    margin-left: 2px;
    vertical-align: -0.15em;
    animation: cursor-blink 0.9s steps(2) infinite;
}
.demo.is-done .demo-type::after { display: none; }

/* Demo sequence states (set by motion.js) */

/* ---------- Hero demo window: look ---------- */

.demo-type::after { background: var(--accent); width: 2px; }

/* ---------- Problem ---------- */
.problem {
    padding: 72px 0 88px;
}

.problem-statement {
    font-size: clamp(24px, 2.6vw, 38px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.3;
    color: var(--ink);
    max-width: 980px;
}

.problem-statement strong { color: var(--accent-text); font-weight: 400; }

.strike::after { background: var(--ink); height: 1.5px; }
.problem.visible .strike { color: #A3ABB8; }

/* ---------- Dark inset panels (hub, Player 2) ---------- */
.how-it-fits,
.audience-tinted {
    margin: 0 16px;
    border-radius: var(--r-panel);
    background: var(--ink);
    color: var(--paper);
    padding: 112px 0;
}

.how-it-fits .section-headline,
.audience-tinted .section-headline { color: var(--paper); }

.how-it-fits .section-text,
.audience-tinted .section-text { color: rgba(255, 255, 255, 0.62); }

.how-it-fits .section-label,
.audience-tinted .section-label { color: rgba(255, 255, 255, 0.62); }

/* Hub on the dark panel */
.hub {
    background-color: transparent;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 32px 32px;
    border: 1px solid var(--hair-dark);
    border-radius: var(--r-card);
    box-shadow: none;
    max-width: 1060px;
}

.hub-group-label {
    font-family: var(--mono);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
}

.slot {
    background: rgba(15, 15, 15, 0.85);
    border: 1px dashed rgba(255, 255, 255, 0.22);
    border-left-width: 1px;
    border-left-style: dashed;
    border-left-color: rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    box-shadow: none;
    padding: 14px 14px 14px 18px;
}

.slot-name { color: var(--paper); font-weight: 400; font-size: 16px; }

.slot .slot-type {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.5);
}

.slot.is-connected,
.reduce-motion .slot {
    background: rgba(15, 15, 15, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: none;
    animation: plug-in-line 0.55s var(--ease-spring);
}

.slot.is-connected .slot-type,
.reduce-motion .slot .slot-type {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--paper);
}

.slot.is-connected:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.2);
}

@keyframes plug-in-line {
    0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.6); }
    100% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); }
}

.wire-track { stroke: rgba(255, 255, 255, 0.14); stroke-width: 1; stroke-dasharray: 2 5; }
.wire { stroke: var(--accent); stroke-width: 1.5; opacity: 0.8; }
.hub.has-hot .wire { opacity: 0.2; }
.hub.has-hot .wire.is-hot { opacity: 1; stroke-width: 2.5; }
.packet { fill: var(--accent-light); }
.terminal { fill: var(--ink); stroke: var(--accent); stroke-width: 1.5; }

/* ---------- Steps on mist ---------- */
.how-it-works {
    background: var(--paper);
}

.step,
.feature-card {
    position: relative;
    background: var(--mist);
    border: 1px solid transparent;
    border-radius: var(--r-card);
    box-shadow: none;
    text-align: left;
    padding: 32px 30px 34px;
    transition: background-color 0.45s var(--ease-nk), border-color 0.45s var(--ease-nk), transform 0.2s ease;
}

.step::after,
.feature-card::before,
.feature-card::after {
    display: none;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 0;
    margin-bottom: 56px;
    background: none;
    box-shadow: none;
    border-radius: 0;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.08em;
    line-height: 1;
    color: var(--accent-text);
}

.step-number::before {
    content: '/';
    margin-right: 8px;
}

.how-it-works.visible .step-number::after { display: none; }

.step h3,
.feature-card h3 {
    font-size: clamp(22px, 1.9vw, 28px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.step p,
.feature-card p {
    color: var(--slate);
    font-size: 15px;
    line-height: 1.55;
}

.steps::before {
    top: 44px;
    left: 30px;
    right: 30px;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px);
}

.motion-ready section.visible .feature-card:hover,
.motion-ready section.visible .step:hover,
.feature-card:hover,
.step:hover {
    transform: translateY(-2px);
    background: var(--mist-2);
    border-color: transparent;
    box-shadow: none;
}

/* Card index numbers, mono */
.features-grid { counter-reset: card; }
.feature-card { counter-increment: card; padding-top: 30px; }

.feature-card h3::before {
    content: '/ ' counter(card, decimal-leading-zero);
    display: block;
    margin-bottom: 44px;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--accent-text);
}

/* Player 2 cards on the dark panel */
.audience-tinted .feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hair-dark);
    box-shadow: none;
}

.audience-tinted .feature-card h3 { color: var(--paper); }
.audience-tinted .feature-card p { color: rgba(255, 255, 255, 0.6); }

.motion-ready .audience-tinted.visible .feature-card:hover,
.audience-tinted .feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: none;
}

.audience .features-grid { gap: 16px; }

/* ---------- Compatibility ---------- */
.works-with {
    background: var(--paper);
}

.connector-table {
    max-width: 760px;
    background: var(--paper);
    border: 1px solid var(--hair);
    border-radius: var(--r-card);
    box-shadow: none;
}

.connector-row {
    padding: 18px 28px;
    border-bottom: 1px solid var(--hair);
    font-size: 16px;
}

.connector-row span:first-child { font-weight: 400; }

.connector-head {
    background: var(--mist);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
}

.connector-head span:last-child { color: var(--slate); }

.connector-row:not(.connector-head) span:first-child {
    display: flex;
    align-items: center;
    gap: 14px;
}

.connector-row:not(.connector-head) span:first-child::before {
    content: '';
    width: 13px;
    height: 15px;
    flex-shrink: 0;
    border: 1.3px solid var(--ink);
    border-radius: 2px 2px 1px 1px;
    background: linear-gradient(var(--ink), var(--ink)) 50% 40% / 7px 1.3px no-repeat;
}

.connector-row span:last-child {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate);
}

.conn-dot { width: 7px; height: 7px; }

.works-with.visible .conn-dot {
    background: var(--accent);
    animation: live-ping-blue 2.4s ease-out infinite;
    animation-delay: calc(0.6s + var(--i, 0) * 0.15s);
}

@keyframes live-ping-blue {
    0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.45); }
    70% { box-shadow: 0 0 0 7px rgba(var(--accent-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

.connector-row:not(.connector-head):hover { background: var(--mist); }

.platforms-label {
    font-family: var(--mono);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--slate);
}

.works-with .platform-tag {
    background: transparent;
    border: 1px dashed rgba(15, 15, 15, 0.3);
    color: var(--slate);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
}

/* ---------- Trust row ---------- */
.trust {
    padding: 0;
    background: var(--paper);
}

.trust::before { display: none; }

.trust-signals {
    margin: 0;
    padding: 28px 0;
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
    gap: 16px 40px;
}

.trust-badge {
    gap: 10px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
}

.trust .trust-badge span { font-size: 12px; }

.trust .led { box-shadow: none; }

/* ---------- FAQ: hairline list ---------- */
.faq-container { max-width: 880px; }

.faq-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--hair);
    border-radius: 0;
    box-shadow: none;
    margin: 0;
}

.faq-item:first-child { border-top: 1px solid var(--hair); }

.faq-question {
    padding: 26px 0;
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 400;
    letter-spacing: -0.015em;
}

.faq-question:hover { background: transparent; color: var(--accent-text); }

.faq-icon {
    width: 34px;
    height: 34px;
    line-height: 32px;
    border-radius: 50%;
    border: 1px solid var(--hair);
    background: var(--paper);
    box-shadow: none;
    color: var(--ink);
    font-family: var(--mono);
    font-size: 16px;
    text-align: center;
    margin-left: 20px;
    transition: transform 0.45s var(--ease-nk), background-color 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--paper);
}

.faq-answer {
    padding: 0;
    color: var(--slate);
    font-size: 16px;
}

.faq-item.active .faq-answer { padding: 0 54px 26px 0; }

/* ---------- Waitlist ---------- */

.checkbox-group input[type="checkbox"] { accent-color: var(--accent); }

/* ---------- Modal ---------- */
.modal { background-color: rgba(15, 15, 15, 0.5); }

.modal-content {
    background: var(--paper);
    border: 1px solid var(--hair);
    border-radius: var(--r-card);
}

.modal-content h2 { color: var(--ink) !important; font-weight: 400; letter-spacing: -0.03em; font-size: 32px; }
.modal-content > p { color: var(--slate) !important; }
.modal-close { color: var(--slate); }
.modal-close:hover { color: var(--ink); }
.modal-content .form-group label {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
}
.modal-content .checkbox-group label { color: var(--slate); }
.modal-content .form-group input {
    background: var(--paper);
    border: 1px solid var(--hair);
    color: var(--ink);
    border-radius: 14px;
}
.modal-content .form-group input::placeholder { color: #A3ABB8; }
.modal-content .form-group input:focus { background: var(--paper); border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.modal-content .form-microcopy { color: var(--slate); }
.modal-content .confirmation-message { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
    margin: 16px;
    padding: 72px 0 36px;
    border-radius: var(--r-panel);
    border: none;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer .container { position: relative; }

.footer-word {
    font-size: clamp(56px, 11vw, 168px);
    font-weight: 400;
    letter-spacing: -0.06em;
    line-height: 0.9;
    color: var(--paper);
    margin-bottom: 56px;
}

.site-footer .logo { color: var(--paper); font-weight: 500; }
.site-footer .footer-copyright {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}
.site-footer .footer-links a {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 0;
}
.site-footer .footer-links a:hover { color: var(--paper); }
.site-footer .social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.75);
}
.site-footer .social-link:hover { border-color: var(--paper); color: var(--paper); transform: none; }

/* ---------- Phone ---------- */
@media (max-width: 760px) {
    .how-it-fits,
    .audience-tinted,
    .waitlist-form-section { margin: 0 8px; border-radius: 24px; padding: 72px 0; }
    .site-footer { margin: 8px; border-radius: 24px; }
}

@media (max-width: 600px) {
    .hero .cta-group { flex-direction: column; align-items: stretch; }
    .hero .cta-group .btn { justify-content: space-between; }
    .btn-secondary { justify-content: center; }

}

/* =====================================================================
   Signal glow: the footer's look as a shared system.
   A near-black panel lit from one edge by an electric-blue bloom, with a
   blue pixel dot grid that fades out as it leaves the light source.
   Each panel sets where its light comes from (--gx/--gy) and how big it is.
   ===================================================================== */

.how-it-fits,
.audience-tinted,
.waitlist-form-section,
.site-footer {
    --gx: 70%;
    --gy: 110%;
    --gw: 60%;
    --gh: 90%;
    --gi: 0.55;
    --dot: rgba(var(--accent-light-rgb), 0.38);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--ink);
}

.how-it-fits::before,
.audience-tinted::before,
.waitlist-form-section::before,
.site-footer::before,
.how-it-fits::after,
.audience-tinted::after,
.waitlist-form-section::after,
.site-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    transform-origin: var(--gx) var(--gy);
    animation: glow-breathe 11s ease-in-out infinite alternate;
}

/* The bloom */
.how-it-fits::before,
.audience-tinted::before,
.waitlist-form-section::before,
.site-footer::before {
    background: radial-gradient(var(--gw) var(--gh) at var(--gx) var(--gy), rgba(var(--accent-rgb), var(--gi)) 0%, rgba(var(--accent-rgb), 0) 70%);
}

/* The pixel grid, visible only where the light falls */
.how-it-fits::after,
.audience-tinted::after,
.waitlist-form-section::after,
.site-footer::after {
    background: radial-gradient(circle at 1.5px 1.5px, var(--dot) 1.5px, transparent 2px) 0 0 / 10px 10px;
    -webkit-mask-image: radial-gradient(var(--gw) var(--gh) at var(--gx) var(--gy), #000 0%, transparent 70%);
    mask-image: radial-gradient(var(--gw) var(--gh) at var(--gx) var(--gy), #000 0%, transparent 70%);
}

@keyframes glow-breathe {
    0% { transform: scale(1); opacity: 0.85; }
    100% { transform: scale(1.08); opacity: 1; }
}

/* Where each panel's light comes from */
.how-it-fits {           /* rises from under the cartridge, brightens when it boots */
    --gx: 50%;
    --gy: 104%;
    --gw: 70%;
    --gh: 70%;
    --gi: 0.35;
}

@property --gi {
    syntax: "<number>";
    inherits: true;
    initial-value: 0.55;
}

.how-it-fits { transition: --gi 1.6s ease; }

.how-it-fits:has(.hub.is-live) { --gi: 0.6; }

.audience-tinted {        /* spills in from the top-right corner */
    --gx: 92%;
    --gy: -12%;
    --gw: 55%;
    --gh: 95%;
    --gi: 0.5;
}

/* Light-surface version: same pixel grid in blue on white, as a whisper */
.hero,
.works-with {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero::before {
    z-index: -1;
    background: radial-gradient(45% 60% at 80% 55%, rgba(var(--accent-rgb), 0.12) 0%, rgba(var(--accent-rgb), 0) 70%);
}

.hero::after,
.works-with::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 1.5px 1.5px, rgba(var(--accent-rgb), 0.28) 1.5px, transparent 2px) 0 0 / 10px 10px;
    -webkit-mask-image: radial-gradient(45% 60% at 80% 55%, #000 0%, transparent 70%);
    mask-image: radial-gradient(45% 60% at 80% 55%, #000 0%, transparent 70%);
}

.works-with::after {
    -webkit-mask-image: radial-gradient(50% 55% at 50% 100%, #000 0%, transparent 70%);
    mask-image: radial-gradient(50% 55% at 50% 100%, #000 0%, transparent 70%);
}

/* ---------- Oversized type, like the footer wordmark ---------- */
.how-it-fits .section-headline,
.audience-tinted .section-headline,
.waitlist-form-section .section-headline {
    font-size: clamp(40px, 6.2vw, 96px);
    letter-spacing: -0.05em;
    line-height: 0.95;
    color: var(--paper);
}

.how-it-fits .section-headline { margin-bottom: 24px; }

/* Waitlist on its dark panel */

/* Breathing room between the waitlist and footer panels */

@media (max-width: 760px) {
    .how-it-fits { --gw: 120%; --gh: 40%; }
    .audience-tinted { --gw: 110%; --gh: 60%; }

    .site-footer { --gw: 120%; --gh: 60%; }
}

/* ---------- Headings: DM Sans ---------- */
h1, h2, h3,
.section-headline,
.hero h1,
.footer-word,
.modal-content h2 {
    font-family: var(--display);
    font-optical-sizing: auto;
}

/* DM Sans runs wider-spaced than Geist: lighter negative tracking keeps word gaps open */
.hero h1 { letter-spacing: -0.03em; }
.section-headline { letter-spacing: -0.022em; }
.how-it-fits .section-headline,
.audience-tinted .section-headline,
.waitlist-form-section .section-headline { letter-spacing: -0.03em; }
.footer-word { letter-spacing: -0.04em; }
.step h3,
.feature-card h3 { letter-spacing: -0.012em; }
.modal-content h2 { letter-spacing: -0.02em; }

/* Intro headline: DM Sans Bold */
.hero h1 {
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.95;
}

@media (max-width: 400px) {
    .hero h1 { font-size: 40px; }
}

/* =====================================================================
   Flow: cartridge -> AI tools -> on-brand output (top to bottom)
   ===================================================================== */
.hub.flow {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 72px;
    padding: 44px 40px 48px;
    max-width: 1180px;
}

.flow-stage {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.flow-label {
    position: relative;
    z-index: 3;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--ink);
    box-shadow: 0 0 0 1px var(--hair-dark);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.flow-label span {
    color: var(--accent-text);
    margin-right: 10px;
}

.flow-label span::before { content: '/ '; }

.flow-stage-cart .hub-core {
    display: flex;
    justify-content: center;
}

/* Stage 2: tools */
.flow-tools {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.flow-tools .slot {
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 10px 16px;
    text-align: center;
    cursor: default;
}

.flow-tools .slot-name { font-size: 15px; white-space: nowrap; }

/* Stage 3: outputs */
.flow-outs {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.out {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 8px 16px;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    background: rgba(15, 15, 15, 0.9);
    color: rgba(255, 255, 255, 0.4);
    transition: border-color 0.5s ease, color 0.5s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.out-icon {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.out-icon path { stroke-dasharray: 1; stroke-dashoffset: 0; }

.motion-ready .out-icon path {
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 0.9s var(--ease-out-expo);
}

.motion-ready .out-icon path:nth-child(2) { transition-delay: 0.12s; }
.motion-ready .out-icon path:nth-child(3) { transition-delay: 0.24s; }
.motion-ready .out-icon path:nth-child(n+4) { transition-delay: 0.36s; }

.out-name {
    font-size: 13px;
    color: inherit;
    white-space: nowrap;
}

/* "Made": the tile receives the brand and draws itself */
.out.is-made,
.reduce-motion .out {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.26);
    color: var(--paper);
    animation: plug-in-line 0.55s var(--ease-spring);
}

.out.is-made .out-icon,
.reduce-motion .out .out-icon { color: var(--accent-light); }

.out.is-made .out-icon path,
.reduce-motion .out .out-icon path { stroke-dashoffset: 0; }

.out::after {
    content: '';
    position: absolute;
    top: 9px;
    right: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.3s ease, transform 0.4s var(--ease-spring);
}

.out.is-made::after,
.reduce-motion .out::after { opacity: 1; transform: none; }

/* Second-stage wires are finer */
.wire.wire-b { stroke-width: 1.1; opacity: 0.55; }
.wire-track.wire-b { stroke-dasharray: 1 5; }

/* Hover: trace one path through the system */
.hub.flow.has-hot .slot:not(.is-hot),
.hub.flow.has-hot .out:not(.is-hot) { opacity: 0.35; }

.hub.flow.has-hot .slot.is-hot,
.hub.flow.has-hot .out.is-hot {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.18);
}

.hub.flow.has-hot .wire { opacity: 0.12; }
.hub.flow.has-hot .wire.is-hot { opacity: 1; stroke-width: 2; }
.hub.flow.has-hot .packet { opacity: 0.25; }

.out { cursor: default; }

@media (max-width: 1100px) {
    .flow-outs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .hub.flow { padding: 28px 14px 32px; gap: 56px; }
    .flow-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .flow-outs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .flow-tools .slot-name { font-size: 14px; }
}

/* =====================================================================
   Players: tabbed "who it's for" (pills above, split panel below)
   ===================================================================== */
.players { background: var(--paper); }

.player-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 44px 0 20px;
}

.player-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 6px 20px 6px 6px;
    border-radius: 999px;
    border: 1px solid var(--hair);
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.45s var(--ease-nk), color 0.45s var(--ease-nk), border-color 0.45s var(--ease-nk);
}

.player-tab:hover { background: var(--mist); }

.player-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--mono);
    font-size: 13px;
    transition: background-color 0.45s var(--ease-nk), color 0.45s var(--ease-nk);
}

.player-tab.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--paper);
}

.player-tab.is-active .player-num {
    background: var(--paper);
    color: var(--ink);
}

.player-tab:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.player-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: stretch;
    padding: 20px;
    border-radius: var(--r-panel);
    background: var(--mist);
    min-height: 560px;
}

.player-panel[hidden] { display: none; }

.player-panel.is-active { animation: panel-in 0.6s var(--ease-out-expo); }

@keyframes panel-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.player-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 8px 28px 28px;
}

.player-title {
    position: relative;
    padding-left: 22px;
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 18px;
}

.player-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

.player-body {
    font-size: 17px;
    line-height: 1.55;
    color: var(--slate);
    max-width: 440px;
    margin-bottom: 26px;
}

.player-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.player-points li {
    position: relative;
    padding-left: 24px;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate);
}

.player-points li::before {
    content: '+';
    position: absolute;
    left: 2px;
    top: -1px;
    color: var(--accent-text);
    font-size: 15px;
}

.player-chip {
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent-text-deep);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Right: the product flow on our dark glow panel */
.player-visual {
    --gx: 50%;
    --gy: 105%;
    --gw: 80%;
    --gh: 70%;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 28px;
    border-radius: 26px;
    background: var(--ink);
}

.player-visual::before,
.player-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.player-visual::before {
    background: radial-gradient(var(--gw) var(--gh) at var(--gx) var(--gy), rgba(var(--accent-rgb), 0.5) 0%, rgba(var(--accent-rgb), 0) 70%);
}

.player-visual::after {
    background: radial-gradient(circle at 1.5px 1.5px, rgba(var(--accent-light-rgb), 0.35) 1.5px, transparent 2px) 0 0 / 10px 10px;
    -webkit-mask-image: radial-gradient(var(--gw) var(--gh) at var(--gx) var(--gy), #000 0%, transparent 70%);
    mask-image: radial-gradient(var(--gw) var(--gh) at var(--gx) var(--gy), #000 0%, transparent 70%);
}

#panel-p2 .player-visual { --gx: 100%; --gy: 0%; }
#panel-p3 .player-visual { --gx: 0%; --gy: 100%; }

@keyframes bar-grow { from { transform: scaleX(0); } to { transform: none; } }

/* Line-art icons inside cards */

/* The cable between cards, with a packet running down it */

@keyframes pv-packet {
    0% { transform: translateY(-4px); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(32px); opacity: 0; }
}

/* Cards arrive in order when a panel opens */

@keyframes pv-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pv-in-line { from { transform: scaleY(0); } to { transform: none; } }

@media (max-width: 960px) {
    .player-panel { grid-template-columns: 1fr; min-height: 0; }
    .player-copy { padding: 20px 8px 4px; }
}

@media (max-width: 700px) {
    .player-tabs { grid-template-columns: 1fr; gap: 8px; }
    .player-tab { min-height: 50px; font-size: 16px; }
    .player-num { width: 38px; height: 38px; }
    .player-panel { padding: 12px; border-radius: 24px; }
    .player-visual { padding: 28px 14px; border-radius: 18px; }
}

/* ---------- Players as a peeking slider ---------- */
.player-viewport {
    position: relative;
    overflow: hidden;
    padding: 4px 0 8px;
}

.player-track {
    display: flex;
    gap: 24px;
    transition: transform 0.75s cubic-bezier(0.625, 0.05, 0, 1);
    will-change: transform;
}

.player-panel {
    flex: 0 0 auto;
    width: min(1100px, calc(100vw - 300px));
    scale: 0.79;
    opacity: 0.55;
    transition: opacity 0.6s cubic-bezier(0.215, 0.61, 0.355, 1), scale 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
    cursor: pointer;
}

.player-panel.is-active {
    scale: 1;
    opacity: 1;
    cursor: auto;
    animation: none;
}

.player-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    border: 1px solid var(--hair);
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(15, 15, 15, 0.08);
    transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease, transform 0.15s ease;
}

.player-nav svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.player-prev { left: calc((100vw - min(1100px, calc(100vw - 300px))) / 2 - 84px); }
.player-next { right: calc((100vw - min(1100px, calc(100vw - 300px))) / 2 - 84px); }

.player-nav:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.player-nav:active:not(:disabled) { transform: scale(0.94); }
.player-nav:disabled { opacity: 0.35; cursor: default; }
.player-nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 960px) {
    .player-panel { width: calc(100vw - 120px); }
    .player-prev { left: 12px; }
    .player-next { right: 12px; }
}

@media (max-width: 700px) {
    .player-track { gap: 12px; }
    .player-panel { width: calc(100vw - 48px); scale: 0.94; }
    .player-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .player-track, .player-panel { transition: none; }
}

/* Inactive slides shrink toward the active one, so their near edge stays one gap away */
.player-panel.is-next { transform-origin: left center; }
.player-panel.is-prev { transform-origin: right center; }

/* ---------- Slider motion: slower, even ease, no snap ----------
   One gentle ease-in-out for the track and the slides so they move together.
   transform-origin also transitions, so a slide changing sides never jumps. */
:root { --slide-ease: cubic-bezier(0.45, 0, 0.2, 1); }

.player-track {
    transition: transform 1.1s var(--slide-ease);
}

.player-panel {
    transition:
        opacity 1.1s var(--slide-ease),
        scale 1.1s var(--slide-ease),
        transform-origin 1.1s var(--slide-ease);
}

/* Cards and cables settle in after the slide arrives, unhurried */

@keyframes pv-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Tabs and arrows ease at the same pace */
.player-tab,
.player-num { transition-duration: 0.6s; transition-timing-function: var(--slide-ease); }

/* =====================================================================
   Photo hero: full-bleed image behind the nav, copy bottom-left
   Stand-in photo: Ivan Kazlouskij on Unsplash. Swap the <img> src
   for a client shoot; keep the subject right of centre.
   ===================================================================== */
.hero.hero-photo {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    min-height: 100svh;
    margin-top: -74px;
    padding: 0;
    background: #0B0910;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.hero.hero-photo::before,
.hero.hero-photo::after { display: none; }

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 42% 42%;
    transform: scale(1.08);
    animation: hero-push 14s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes hero-push { to { transform: scale(1); } }

/* Legibility: shade the left and the bottom, keep the subject bright */
.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 8, 16, 0.78) 0%, rgba(10, 8, 16, 0.42) 38%, rgba(10, 8, 16, 0) 62%),
        linear-gradient(0deg, rgba(10, 8, 16, 0.8) 0%, rgba(10, 8, 16, 0.25) 34%, rgba(10, 8, 16, 0) 55%),
        linear-gradient(180deg, rgba(10, 8, 16, 0.45) 0%, rgba(10, 8, 16, 0) 18%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    padding-top: 160px;
    padding-bottom: clamp(40px, 6vh, 72px);
}

.hero-photo .hero-copy {
    max-width: 660px;
    animation: fadeInUp 1s var(--ease-out-expo) 0.3s both;
}

.hero-photo .timeline-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-photo .timeline-badge .led { background: var(--accent-light); box-shadow: 0 0 0 3px rgba(var(--accent-light-rgb), 0.25); }

.hero.hero-photo h1 {
    color: #fff;
    font-size: clamp(46px, 5.8vw, 92px);
    margin-bottom: 22px;
}

.hero-photo .rotator { color: var(--accent-pale); }

.hero.hero-photo .subheadline {
    max-width: 540px;
    margin: 0 0 32px;
    color: rgba(255, 255, 255, 0.82);
}

.hero-photo .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-photo .btn-secondary:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; }

/* Bottom-right glass pill */
.hero-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    max-width: 560px;
    padding: 7px 7px 7px 8px;
    border-radius: 999px;
    background: rgba(15, 15, 15, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    text-decoration: none;
    animation: fadeInUp 1s var(--ease-out-expo) 0.7s both;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.hero-pill:hover { background: rgba(15, 15, 15, 0.6); border-color: rgba(255, 255, 255, 0.35); }

.hero-pill-k {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-pill-k .logo-mark { width: 11px; height: 13px; border-width: 1.2px; color: #fff; }
.hero-pill-k .logo-mark::before { left: 1px; right: 1px; top: 3px; height: 4px; border-width: 1.2px; }
.hero-pill-k .logo-mark::after { display: none; }

.hero-pill-v {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(255, 255, 255, 0.85);
}

.hero-pill-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    font-size: 15px;
    transition: transform 0.4s var(--ease-nk);
}

.hero-pill:hover .hero-pill-go { transform: rotate(45deg); }

@media (max-width: 1023px) {
    .hero-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
    .hero.hero-photo { margin-top: -66px; }
    .hero-media img { object-position: 46% 50%; }
    .hero-media::after {
        background:
            linear-gradient(0deg, rgba(10, 8, 16, 0.9) 0%, rgba(10, 8, 16, 0.55) 45%, rgba(10, 8, 16, 0.1) 75%),
            linear-gradient(180deg, rgba(10, 8, 16, 0.5) 0%, rgba(10, 8, 16, 0) 22%);
    }
    .hero-pill { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-media img { animation: none; transform: none; }
}

/* ---------- Problem + demo side by side ---------- */
.problem-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 80px);
    align-items: center;
}

.problem-grid .problem-statement {
    margin: 0;
    max-width: none;
    text-align: left;
    font-size: clamp(22px, 2.2vw, 32px);
}

@media (max-width: 960px) {
    .problem-grid { grid-template-columns: 1fr; }
}

/* Hub: note under the AI tools row */
.flow-note {
    margin-top: 14px;
    text-align: center;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.flow-note {
    position: relative;
    z-index: 2;
    width: fit-content;
    max-width: calc(100% - 32px);
    margin: 16px auto 0;
    padding: 6px 14px;
    border: 1px solid var(--hair-dark);
    border-radius: 999px;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.62);
}
@media (max-width: 760px) { .flow-note { border-radius: 16px; text-align: center; } }

/* =====================================================================
   Time to scale: two runs on one shared clock.
   --p (0 to 100) is the clock. Each segment reveals its fill as the
   clock passes through it; each tile lights when the clock reaches it.
   ===================================================================== */
@property --p {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

/* The clock */

/* Track and segments */

/* The playhead, shared by both tracks */

/* Shipped tiles */

/* Legend */

/* Players: four tabs */
.player-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.player-tab { font-size: 16px; }
@media (max-width: 760px) { .player-tabs { grid-template-columns: 1fr; } }

/* =====================================================================
   Connectors: two rails of logo chips drifting past a lit slot.
   Live connectors carry a glowing LED; roadmap ones sit dimmer.
   ===================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.connectors {
    position: relative;
    margin: 0 16px;
    padding: 112px 0 104px;
    border-radius: var(--r-panel);
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
    isolation: isolate;
}

.connectors::before,
.connectors::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.connectors::before {
    background: radial-gradient(60% 75% at 50% 112%, rgba(var(--accent-rgb), 0.5) 0%, rgba(var(--accent-rgb), 0) 70%);
}

.connectors::after {
    background: radial-gradient(circle at 1.5px 1.5px, rgba(var(--accent-light-rgb), 0.35) 1.5px, transparent 2px) 0 0 / 10px 10px;
    -webkit-mask-image: radial-gradient(60% 75% at 50% 112%, #000 0%, transparent 70%);
    mask-image: radial-gradient(60% 75% at 50% 112%, #000 0%, transparent 70%);
}

.connectors-head { max-width: 760px; text-align: left; }
.connectors .section-label { color: rgba(255, 255, 255, 0.62); justify-content: flex-start; text-align: left; }

.connectors .section-headline {
    color: var(--paper);
    text-align: left;
    font-size: clamp(40px, 6.2vw, 96px);
    letter-spacing: -0.03em;
    line-height: 0.95;
}

.connectors .section-text {
    margin: 24px 0 0;
    max-width: 560px;
    text-align: left;
    color: rgba(255, 255, 255, 0.62);
}

.connectors-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin-top: 36px;
}

.conn-legend {
    list-style: none;
    display: flex;
    gap: 20px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.conn-legend li { display: inline-flex; align-items: center; gap: 8px; }
.conn-legend .conn-led { position: static; }

/* Rails */
.conn-rails {
    position: relative;
    display: grid;
    gap: 16px;
    margin-top: 72px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.conn-rail { overflow: hidden; }

.conn-track {
    list-style: none;
    display: flex;
    gap: 16px;
    width: max-content;
    padding: 4px 0;
    animation: conn-drift 46s linear infinite;
}

.conn-rail-rev .conn-track { animation-duration: 54s; animation-direction: reverse; }
.conn-rails:hover .conn-track { animation-play-state: paused; }

@keyframes conn-drift {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 8px)); }
}

/* Chips */
.conn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    height: 76px;
    padding: 0 28px 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    white-space: nowrap;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.conn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(var(--accent-light-rgb), 0.5);
    transform: translateY(-2px);
}

.conn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--paper);
}

.conn-icon i {
    width: 26px;
    height: 26px;
    background: var(--c);
    -webkit-mask: var(--i) center / contain no-repeat;
    mask: var(--i) center / contain no-repeat;
}

.conn-mono {
    font-family: 'Press Start 2P', var(--mono);
    font-size: 15px;
    color: var(--c);
}

.conn-name { font-size: 20px; color: var(--paper); }

.conn-type {
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.18);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-pale);
}

.conn-led {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

/* Roadmap chips: dimmer, hollow LED */
.conn-soon { background: rgba(255, 255, 255, 0.03); }
.conn-soon .conn-icon { opacity: 0.75; }
.conn-soon .conn-name { color: rgba(255, 255, 255, 0.6); }
.conn-soon .conn-type { background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.5); }
.conn-soon .conn-led,
.conn-legend .is-soon .conn-led { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); }

/* The lit slot every chip passes through */
.conn-slot {
    position: absolute;
    top: -24px;
    bottom: -24px;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: linear-gradient(180deg, transparent, rgba(var(--accent-light-rgb), 0.9) 20%, rgba(var(--accent-light-rgb), 0.9) 80%, transparent);
    box-shadow: 0 0 18px 2px rgba(var(--accent-rgb), 0.6);
    pointer-events: none;
    opacity: 0.55;
}

@media (max-width: 760px) {
    .connectors { margin: 0 8px; border-radius: 24px; padding: 72px 0; }
    .conn-rails { margin-top: 48px; gap: 10px; }
    .conn-track { gap: 10px; }
    .conn { height: 60px; gap: 10px; padding: 0 20px 0 7px; }
    .conn-icon { width: 46px; height: 46px; }
    .conn-icon i { width: 22px; height: 22px; }
    .conn-mono { font-size: 12px; }
    .conn-name { font-size: 16px; }
    .conn-type { display: none; }
    .conn-led { top: 9px; right: 11px; }
    @keyframes conn-drift { to { transform: translateX(calc(-50% - 5px)); } }
}

@media (prefers-reduced-motion: reduce) {
    .conn-track { animation: none; }
    .conn-rail { overflow-x: auto; }
}

/* ---------- Time to scale v2: slower clock, day counter, live counts ---------- */
@property --day { syntax: "<integer>"; inherits: false; initial-value: 1; }
@property --rev { syntax: "<integer>"; inherits: false; initial-value: 1; }
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }

/* Day counter above the runs */

@keyframes led-blink { to { visibility: hidden; } }

/* Tool 1 setup keeps going round: revision counter */

/* Shipped row: label, tiles across the full width, live count */

.count-without { --n: clamp(0, (var(--p) - 91) * 0.67, 6); color: #8A94A3; }
.count-with { --n: clamp(0, (var(--p) - 5) * 2.53, 240); color: var(--accent-text); }

/* ---------- Time to scale v3: 30 days, slower first run, stat column ---------- */
@property --q { syntax: "<number>"; inherits: true; initial-value: 0; }

/* 30-day clock */

/* Without: progress crawls (eases in) and never finishes inside the month */

/* Assets only start once Tool 1 is set up (day 25) */
.count-without { --n: clamp(0, (var(--p) - 84) * 0.375, 6); }

/* Run layout: track on the left, scoreboard on the right */

/* Plug in segment is too narrow for text: a tiny cartridge glyph instead */

/* Hub cartridge: wider, squatter NES proportions (viewBox 300 x 268) */
.cart { width: 380px; aspect-ratio: 300 / 268; }
.cart-label { left: 9.33%; top: 20.15%; width: 81.33%; height: 55.97%; padding: 14px 18px; }
.cart-pins { left: 26%; width: 48%; top: 93.28%; bottom: 0.75%; }
@media (max-width: 860px) { .cart { width: 340px; } }
@media (max-width: 400px) { .cart-label { padding: 10px 12px; } }
@media (max-width: 760px) { .cart-label { padding: 10px 14px; } }

/* Hero on desktop: two-thirds of the screen, never more unless the copy needs it */
@media (min-width: 901px) {
    .hero.hero-photo {
        height: 66.667vh;
        height: 66.667svh;
        min-height: fit-content;
    }
    .hero-inner {
        padding-top: 112px;
        padding-bottom: clamp(32px, 5vh, 56px);
    }
    .hero.hero-photo h1 {
        font-size: clamp(42px, min(5.6vw, 8.2vh), 88px);
        margin-bottom: 18px;
    }
    .hero.hero-photo .subheadline { max-width: 600px; margin-bottom: 26px; }
    .hero-photo .timeline-badge { margin-bottom: 18px; }
}
@media (min-width: 901px) {
    .hero-inner { padding-top: calc(74px + 2vh); }
    .hero.hero-photo h1 { font-size: clamp(40px, min(5.6vw, 7.4vh), 88px); }
}
@media (min-width: 901px) and (max-height: 760px) {
    .hero.hero-photo .subheadline { font-size: 16px; margin-bottom: 20px; }
    .hero-photo .timeline-badge { margin-bottom: 12px; }
}

/* Hero photo crop: keep the lit face right of centre, the left dark for copy */
/* desktop keeps the base 42% 42% crop */
@media (max-width: 900px) { .hero-media img { object-position: 64% 30%; } }

/* =====================================================================
   Hub stage 3: the format cloud. One brief fans out into 48 formats,
   dealt in pill by pill once the tool wires land on the cloud's top edge.
   ===================================================================== */
.flow-wall {
    position: relative;
    width: 100%;
    padding-top: 28px;
}
.wall-port { position: absolute; top: 0; width: 2px; height: 1px; pointer-events: none; }
.wall-port:nth-child(1) { left: 12.5%; }
.wall-port:nth-child(2) { left: 37.5%; }
.wall-port:nth-child(3) { left: 62.5%; }
.wall-port:nth-child(4) { left: 87.5%; }

.wall-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.wt {
    padding: 11px 18px;
    border-radius: 999px;
    background: rgba(var(--accent-rgb), 0.1);
    box-shadow: inset 0 0 0 1px rgba(var(--accent-light-rgb), 0.3);
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(8px) scale(0.92);
    transition: opacity 0.45s var(--ease-nk), transform 0.45s var(--ease-nk);
}
.wt::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    vertical-align: 2px;
}
.wt-hi {
    background: var(--accent);
    box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.35);
    color: #fff;
    font-weight: 500;
}
.wt-hi::before { background: #fff; box-shadow: none; }
.wt.is-made,
.reduce-motion .wt { opacity: 1; transform: none; }

/* Punchline under the cloud */
.wall-h {
    margin: 18px 0 0;
    font-family: var(--display);
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-align: center;
    text-wrap: balance;
    color: rgba(255, 255, 255, 0.62);
}
.wall-h b { font-weight: 500; color: #fff; }

@media (max-width: 600px) {
    .wall-pills { gap: 8px; }
    .wt { padding: 9px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .wt { transition: none; }
}

/* Keep the runs inside the gutter on narrow screens */

/* =====================================================================
   Logo mark: the wide hub cartridge, notched corner, label, contact tab.
   Source: /logo-mark.svg (drawn as a mask so it takes currentColor).
   ===================================================================== */
.logo-mark,
.demo-chip .logo-mark,
.hero-pill-k .logo-mark,
.cart-label-brand .logo-mark {
    width: 25px;
    height: auto;
    aspect-ratio: 32 / 30;
    border: 0;
    border-radius: 0;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 30' fill='none' stroke='%23000' stroke-width='2.4' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M4.5 1.7H25L30.3 7V23.5Q30.3 24.8 29 24.8H24.5V28.3H7.5V24.8H3Q1.7 24.8 1.7 23.5V4.5Q1.7 1.7 4.5 1.7Z'/%3E%3Crect x='5.6' y='7.4' width='20.8' height='11' rx='1' fill='%23000' stroke='none'/%3E%3Cpath d='M11.5 24.8V26.5M16 24.8V26.5M20.5 24.8V26.5' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 30' fill='none' stroke='%23000' stroke-width='2.4' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M4.5 1.7H25L30.3 7V23.5Q30.3 24.8 29 24.8H24.5V28.3H7.5V24.8H3Q1.7 24.8 1.7 23.5V4.5Q1.7 1.7 4.5 1.7Z'/%3E%3Crect x='5.6' y='7.4' width='20.8' height='11' rx='1' fill='%23000' stroke='none'/%3E%3Cpath d='M11.5 24.8V26.5M16 24.8V26.5M20.5 24.8V26.5' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.logo-mark::before,
.logo-mark::after { display: none; }

.hero-pill-k .logo-mark { width: 14px; }
.cart-label-brand .logo-mark { width: 13px; }

/* =====================================================================
   Made with Cartridge AI: a media wall of one sample launch (Northline),
   each tile a real format made in a different tool. Photos and video
   carry the section; the brand system (serif, forest, rust, cream) is
   what ties the tiles together.
   ===================================================================== */
.made {
    --nl-forest: #1F3A2E;
    --nl-rust: #C8553D;
    --nl-cream: #F1EBDD;
    --nl-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    padding: 120px 0 96px;
    background: var(--paper);
}

.made-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 48px;
}
.made-head .section-label { margin: 0 0 20px; }
.made-head .section-headline { text-align: left; margin: 0; }
.made-head .section-text { text-align: left; margin: 0; max-width: 46ch; }

.mw-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 236px;
    gap: 12px;
}

.mw {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-card);
    background: #15171A;
    color: #fff;
    container-type: inline-size;
    isolation: isolate;
    transition: transform 0.4s var(--ease-nk), box-shadow 0.4s var(--ease-nk);
}
.mw:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(15, 15, 15, 0.45); }

.mw-film   { grid-column: span 2; grid-row: span 2; }
.mw-story  { grid-row: span 2; }
.mw-pdp    { grid-row: span 2; background: #E4E4E2; color: var(--ink); }
.mw-ooh    { grid-row: span 2; }
.mw-email  { grid-row: span 2; background: var(--nl-forest); }
.mw-banner { grid-column: span 2; }
.mw-cut    { grid-column: span 2; }

/* Media fills the tile and zooms a touch on hover */
.mw-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.mw-media img,
.mw-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.1s var(--ease-nk);
}
.mw:hover .mw-media img,
.mw:hover .mw-media video { transform: scale(1.03); }

/* Shade so overlaid type reads */
.mw-film .mw-media::after,
.mw-story .mw-media::after,
.mw-banner .mw-media::after,
.mw-cut .mw-media::after,
.mw-ooh .mw-media::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.mw-film .mw-media::after   { background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 45%, rgba(0,0,0,0.62) 100%); }
.mw-story .mw-media::after  { background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 45%, rgba(0,0,0,0.7) 100%); }
.mw-banner .mw-media::after { background: linear-gradient(90deg, rgba(10,20,15,0.72) 0%, rgba(10,20,15,0.25) 50%, rgba(0,0,0,0) 75%), linear-gradient(0deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 40%); }
.mw-cut .mw-media::after    { background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.6) 100%); }
.mw-ooh .mw-media::after    { background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.55) 100%); }

/* Tool chip, top left (Flora's "Open in" pill) */
.mw-chip {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px 6px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font: 500 12px/1 var(--sans);
    letter-spacing: -0.005em;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.mw-chip i {
    width: 15px;
    height: 15px;
    background: var(--c);
    -webkit-mask: var(--i) center / contain no-repeat;
    mask: var(--i) center / contain no-repeat;
}

/* Format label, bottom left */
.mw-meta {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 2;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    font: 500 13px/1.2 var(--sans);
    color: #fff;
}
.mw-meta span {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}
.mw-pdp .mw-meta { color: var(--ink); }
.mw-pdp .mw-meta span { color: rgba(15, 15, 15, 0.55); }

/* ---------- Northline brand pieces ---------- */
.mw-ad { position: absolute; z-index: 1; }
.nl-mark {
    display: inline-block;
    font-family: var(--nl-serif);
    font-size: 15px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1;
}
.nl-head {
    margin: 0;
    font-family: var(--nl-serif);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.01em;
    text-wrap: balance;
}
.nl-cta {
    display: inline-block;
    font: 500 11px/1 var(--mono);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.nl-btn {
    display: inline-block;
    padding: 9px 14px;
    border-radius: 2px;
    background: var(--nl-rust);
    color: #fff;
    font: 500 12px/1 var(--sans);
    letter-spacing: 0.01em;
}
.nl-btn-block { display: block; text-align: center; background: var(--nl-forest); }

/* 1. Video ad */
.mw-ad-film { left: 28px; right: 28px; bottom: 54px; }
.mw-ad-film .nl-mark { position: absolute; left: 0; bottom: calc(100% + 18px); display: none; }
.mw-ad-film .nl-head { font-size: clamp(32px, 8.2cqw, 56px); margin-bottom: 14px; }
.mw-ad-film .nl-cta { color: var(--nl-cream); }
.mw-film::before {
    content: 'NORTHLINE';
    position: absolute;
    top: 20px;
    right: 22px;
    z-index: 1;
    font-family: var(--nl-serif);
    font-size: 15px;
    letter-spacing: 0.22em;
    color: #fff;
}

/* 2. Story */
.mw-ad-story { inset: 0; padding: 54px 18px 52px; display: flex; flex-direction: column; }
.nl-bars { position: absolute; top: 8px; left: 10px; right: 10px; display: flex; gap: 4px; }
.nl-bars i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.4); }
.nl-bars i:first-child { background: #fff; }
.mw-ad-story .nl-mark { align-self: flex-end; font-size: 12px; }
.mw-ad-story .nl-head { margin-top: auto; font-size: clamp(26px, 13cqw, 38px); margin-bottom: 14px; }
.mw-ad-story .nl-btn { align-self: flex-start; }

/* 3. Product page */
.mw-pdp .mw-media { bottom: 42%; }
.mw-pdp .mw-media img { object-position: 50% 30%; }
.mw-ad-pdp {
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    padding: 14px 16px 44px;
    background: #FBF9F4;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.pdp-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mw-ad-pdp .nl-head { font-size: clamp(20px, 10cqw, 26px); color: var(--nl-forest); }
.pdp-row b { font: 500 13px/1 var(--sans); }
.pdp-sub { margin: 0; font: 400 12px/1.35 var(--sans); color: #5B5F58; }
.pdp-sw { display: flex; gap: 6px; }
.pdp-sw i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08); }
.pdp-sw i.on { box-shadow: 0 0 0 2px #FBF9F4, 0 0 0 3px var(--nl-forest); }
.mw-ad-pdp .nl-btn { margin-top: auto; }
.mw-pdp .mw-meta { bottom: 14px; }

/* 4. Out-of-home: the poster drops into the blank panel of a real street frame */
.ooh-stage {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 135%;
    aspect-ratio: 3 / 2;
    transform: translate(-50%, -42.5%);
}
.ooh-stage img { position: absolute; inset: 0; }
.mw:hover .ooh-stage img { transform: none; }
.mw-ooh:hover .ooh-stage { transform: translate(-50%, -42.5%) scale(1.03); }
.ooh-stage { transition: transform 1.1s var(--ease-nk); }
.ooh-poster {
    position: absolute;
    left: 41.6%;
    top: 19.6%;
    width: 16.9%;
    height: 45.7%;
    container-type: inline-size;
    background: var(--nl-forest);
    color: var(--nl-cream);
    display: flex;
    flex-direction: column;
    padding: 9cqw 8cqw;
    box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.35);
}
.ooh-poster::after {   /* glass glare on the panel */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0) 38%);
    pointer-events: none;
}
.ooh-poster .nl-mark { font-size: 6.5cqw; letter-spacing: 0.2em; }
.ooh-poster .nl-head { margin-top: auto; font-size: 17cqw; color: #fff; }
.ooh-poster .nl-head + .nl-cta { margin-top: 7cqw; font-size: 5.5cqw; color: #E89A84; }

/* 5. Launch email */
.mw-ad-email {
    left: 16px;
    right: 16px;
    top: 56px;
    bottom: 44px;
    padding: 12px;
    border-radius: 6px;
    background: #FBF9F4;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    gap: 9px;
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}
.em-head { display: flex; flex-direction: column; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid rgba(0,0,0,0.08); }
.em-head b { font: 600 11px/1.2 var(--sans); }
.em-head span { font: 400 11px/1.2 var(--sans); color: #6A6E68; }
.em-img { position: relative; inset: auto; z-index: 0; flex: 1 1 auto; min-height: 60px; border-radius: 3px; }
.mw-ad-email .nl-head { font-size: clamp(17px, 8.4cqw, 22px); color: var(--nl-forest); }
.mw-ad-email .nl-btn { align-self: flex-start; }

/* 6. Display banner */
.mw-banner .mw-media img { object-position: 50% 92%; }
.mw-ad-banner { left: 26px; top: 56px; bottom: 44px; display: flex; flex-direction: column; align-items: flex-start; }
.mw-ad-banner .nl-mark { font-size: 12px; }
.mw-ad-banner .nl-head { margin: auto 0 12px; font-size: clamp(26px, 5.4cqw, 36px); }

/* 7. Social cutdown */
.mw-ad-cut { inset: 0; }
.mw-ad-cut .nl-mark { position: absolute; top: 20px; right: 22px; font-size: 12px; }
.nl-caption {
    position: absolute;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
    margin: 0;
    padding: 6px 12px;
    border-radius: 4px;
    background: rgba(15, 15, 15, 0.72);
    font: 500 clamp(13px, 3cqw, 16px)/1.2 var(--sans);
    white-space: nowrap;
}

.mw-note {
    margin: 18px 0 0;
    font: 400 12px/1.4 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
}

/* Footer: a slow loop under the glow */
.footer-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.32;
    pointer-events: none;
}

@media (max-width: 1000px) {
    .made-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .mw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
}

@media (max-width: 600px) {
    .made { padding: 88px 0 72px; }
    .mw-grid { grid-auto-rows: 190px; gap: 8px; }
    .mw-film { grid-row: span 1; grid-column: span 2; }
    .mw-ad-film { left: 18px; bottom: 46px; }
    .mw-ad-film .nl-head { font-size: 26px; margin-bottom: 8px; }
    .mw-chip { top: 10px; left: 10px; font-size: 11px; padding: 5px 9px 5px 6px; }
    .mw-meta { left: 12px; right: 12px; bottom: 10px; font-size: 12px; }
    .mw-meta span { display: none; }
    .mw-ad-story { padding: 46px 12px 40px; }
    .mw-ad-pdp { padding: 10px 12px 36px; gap: 5px; }
    .pdp-sub { display: none; }
    .mw-ad-email { left: 10px; right: 10px; top: 46px; bottom: 36px; padding: 9px; }
    .mw-ad-banner { left: 16px; top: 46px; bottom: 36px; }
    .mw-ad-banner .nl-head { font-size: 24px; }
    .nl-caption { bottom: 40px; }
    .ooh-stage { height: 118%; }
}

@media (prefers-reduced-motion: reduce) {
    .mw, .mw-media img, .mw-media video, .ooh-stage { transition: none; }
}

/* =====================================================================
   Canvas hero: dark dot-grid ground lit by a cursor spotlight, centred
   headline with a serif accent, then a live node canvas: a brief wires
   into the cartridge, the cartridge wires out to on-brand work in each
   tool. The rotator in the headline lights the matching output.
   ===================================================================== */
.hero.hero-canvas {
    --hc-bg: #0B0C0F;
    --nl-forest: #1F3A2E;
    --nl-rust: #C8553D;
    --nl-cream: #F1EBDD;
    --nl-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    position: relative;
    display: block;
    min-height: 0;
    margin-top: -74px;
    padding: 128px 0 0;
    background: var(--hc-bg);
    border-radius: 0 0 var(--r-panel) var(--r-panel);
    color: #fff;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.hero.hero-canvas::before,
.hero.hero-canvas::after { display: none; }

/* Ground: fine dot grid, a blue bloom behind the cartridge, a spotlight on the cursor */
.hc-ground {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(38% 34% at 50% 74%, rgba(var(--accent-rgb), 0.30) 0%, rgba(var(--accent-rgb), 0) 70%),
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.13) 1px, transparent 1.4px) 0 0 / 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
}
.hc-spot {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(circle at 1px 1px, rgba(var(--accent-pale-rgb), 0.75) 1px, transparent 1.6px) 0 0 / 22px 22px;
    -webkit-mask-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), #000 0%, transparent 70%);
    mask-image: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), #000 0%, transparent 70%);
}
.hero-canvas.is-pointing .hc-spot { opacity: 1; }

/* Copy */
.hc-copy { display: flex; flex-direction: column; align-items: center; }
.hero-canvas .timeline-badge {
    margin: 0 auto 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.82);
}
.hero-canvas .timeline-badge .led { background: var(--accent-light); box-shadow: 0 0 0 3px rgba(var(--accent-light-rgb), 0.25); }

.hero.hero-canvas h1 {
    margin: 0 0 22px;
    font-size: clamp(42px, 5.6vw, 84px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.035em;
    color: #fff;
}
.hero-canvas .rotator {
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
    font-size: 1.12em;
    line-height: 0.95;
    color: var(--accent-pale);
    justify-items: center;
}
.hero.hero-canvas .subheadline {
    max-width: 640px;
    margin: 0 auto 30px;
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.66);
}
.hero-canvas .cta-group { justify-content: center; gap: 12px; }
.hero-canvas .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.24);
    color: #fff;
}
.hero-canvas .btn-secondary:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

.hc-works {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 0;
    font: 400 12px/1 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.hc-works i {
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.78);
    -webkit-mask: var(--i) center / contain no-repeat;
    mask: var(--i) center / contain no-repeat;
}

/* ---------- The canvas ---------- */
.hc-stage-wrap { margin-top: 44px; }
.hc-stage {
    position: relative;
    height: 506px;
    text-align: left;
}
.hc-wires {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}
.hc-wire {
    fill: none;
    stroke: rgba(var(--accent-pale-rgb), 0.28);
    stroke-width: 1.5;
    stroke-dasharray: 3 6;
    animation: hc-flow 1.4s linear infinite;
}
.hc-pulse {
    fill: none;
    stroke: var(--accent-light);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 0.12 1;
    stroke-dashoffset: 0.12;
    opacity: 0;
    filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), 0.9));
}
.hc-pulse.is-firing { animation: hc-fire 0.9s cubic-bezier(0.5, 0, 0.3, 1) forwards; }
@keyframes hc-flow { to { stroke-dashoffset: -18; } }
@keyframes hc-fire {
    0% { opacity: 1; stroke-dashoffset: 0.12; }
    90% { opacity: 1; }
    100% { opacity: 0; stroke-dashoffset: -1; }
}
.hc-port {
    fill: var(--hc-bg);
    stroke: rgba(var(--accent-pale-rgb), 0.55);
    stroke-width: 1.5;
}

/* Nodes */
.hc-node {
    position: absolute;
    border-radius: 16px;
    background: #16181D;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    transition: opacity 0.7s var(--ease-nk), transform 0.7s var(--ease-nk), border-color 0.4s ease, box-shadow 0.4s ease;
}
.hc-stage.is-live .hc-node { opacity: 1; transform: none; }
.hc-stage.is-live .hc-brief { transition-delay: 0.1s; }
.hc-stage.is-live .hc-cart  { transition-delay: 0.45s; }
.hc-stage.is-live .hc-film  { transition-delay: 0.85s; }
.hc-stage.is-live .hc-post  { transition-delay: 1.0s; }
.hc-stage.is-live .hc-pdp   { transition-delay: 1.15s; }
.hc-stage.is-live .hc-sms   { transition-delay: 1.3s; }
.hc-stage.is-live .hc-node.is-hot {
    border-color: rgba(var(--accent-light-rgb), 0.85);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.18), 0 24px 50px -24px rgba(0, 0, 0, 0.8);
    transform: translateY(-3px);
    transition-delay: 0s;
}

.hc-node-k {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font: 500 11px/1 var(--mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.hc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-light); }

/* Brief */
.hc-brief { left: 0; top: 180px; width: 250px; padding: 16px 16px 14px; }
.hc-brief-text { margin: 0 0 12px; font: 400 15px/1.45 var(--sans); color: rgba(255, 255, 255, 0.92); }
.hc-brief-by { font: 400 12px/1 var(--sans); color: rgba(255, 255, 255, 0.45); }

/* Cartridge node: notched corner, blue edge, LED */
.hc-cart {
    left: 310px;
    top: 118px;
    width: 250px;
    padding: 16px 18px 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%);
    border-color: rgba(var(--accent-light-rgb), 0.45);
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.15), 0 30px 70px -20px rgba(var(--accent-rgb), 0.45);
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.hc-cart-top { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 500 12px/1 var(--sans); color: rgba(255, 255, 255, 0.75); }
.hc-cart-top .logo-mark { width: 16px; color: var(--accent-light); }
.hc-cart-top b { font-weight: 500; }
.hc-led {
    margin-left: auto;
    margin-right: 14px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3A3F4B;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.hc-stage.is-live .hc-led { background: #5CFF9D; box-shadow: 0 0 10px #5CFF9D; transition-delay: 0.8s; }
.hc-cart-name { margin: 0 0 12px; font: 400 30px/1 var(--nl-serif); color: #fff; letter-spacing: 0; }
.hc-cart-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hc-cart-rows li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font: 400 12px/1.2 var(--sans);
}
.hc-cart-rows span { color: rgba(255, 255, 255, 0.45); }
.hc-cart-rows em { font-style: normal; color: rgba(255, 255, 255, 0.88); }
.hc-sw { display: inline-flex; gap: 4px; }
.hc-sw i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); }

/* Outputs */
.hc-outs { position: absolute; left: 630px; right: 0; top: 0; bottom: 0; }
.hc-out { overflow: hidden; }
.hc-media { position: absolute; inset: 0; z-index: 0; }
.hc-media img,
.hc-media video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease-nk); }
.hc-out:hover .hc-media img,
.hc-out:hover .hc-media video { transform: scale(1.03); }

.hc-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px 5px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font: 500 11px/1 var(--sans);
}
.hc-tag i {
    width: 13px;
    height: 13px;
    background: var(--c);
    -webkit-mask: var(--i) center / contain no-repeat;
    mask: var(--i) center / contain no-repeat;
}

.hc-film { left: 0; top: 0; width: 330px; aspect-ratio: 16 / 9; }
.hc-film::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 60%); }
.hc-film-head { position: absolute; left: 14px; bottom: 12px; z-index: 2; margin: 0; font: 400 26px/0.95 var(--nl-serif); color: #fff; }
.hc-film-mark { position: absolute; right: 14px; bottom: 14px; z-index: 2; font: 400 10px/1 var(--nl-serif); letter-spacing: 0.22em; color: rgba(255, 255, 255, 0.85); }

.hc-post { left: 350px; top: 26px; width: 200px; aspect-ratio: 4 / 5; }
.hc-post::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 55%); }
.hc-post-head { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; margin: 0; font: 400 24px/0.98 var(--nl-serif); color: #fff; }

.hc-pdp { left: 30px; top: 214px; width: 210px; height: 250px; background: #FBF9F4; }
.hc-pdp .hc-media { bottom: 74px; background: #E9E6DF; }
.hc-pdp-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 74px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-content: start;
    gap: 8px 6px;
    color: var(--ink);
}
.hc-pdp-body b { font: 400 19px/1 var(--nl-serif); color: var(--nl-forest); }
.hc-pdp-body span { font: 500 12px/1.4 var(--sans); }
.hc-pdp-body em {
    grid-column: 1 / -1;
    font: 500 11px/1 var(--sans);
    font-style: normal;
    text-align: center;
    padding: 8px 0;
    border-radius: 2px;
    background: var(--nl-forest);
    color: #fff;
}

.hc-sms { left: 266px; top: 300px; width: 300px; padding: 44px 14px 14px; background: #16181D; }
.hc-bubble {
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 14px 14px 14px 4px;
    background: #2A2E37;
    font: 400 13px/1.45 var(--sans);
    color: rgba(255, 255, 255, 0.92);
}
.hc-bubble b { font-weight: 600; }
.hc-checks { display: flex; align-items: center; gap: 6px; font: 400 11px/1 var(--mono); letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.55); }
.hc-checks i { width: 6px; height: 6px; border-radius: 50%; background: #5CFF9D; margin-left: 6px; }
.hc-checks i:first-child { margin-left: 0; }

/* Narrower desktops: shrink the canvas proportionally */
@media (max-width: 1240px) and (min-width: 901px) {
    .hc-stage { zoom: 0.86; }
}
@media (max-width: 1060px) and (min-width: 901px) {
    .hc-stage { zoom: 0.76; }
}

/* Tablet and phone: the canvas stacks, wires run downward */
@media (max-width: 900px) {
    .hero.hero-canvas { padding-top: 116px; border-radius: 0 0 24px 24px; }
    .hc-stage-wrap { margin-top: 44px; }
    .hc-stage {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 34px;
        padding-bottom: 40px;
    }
    .hc-node { position: relative; left: auto; top: auto; }
    .hc-brief { width: min(100%, 420px); }
    .hc-cart { width: min(100%, 420px); }
    .hc-outs {
        position: relative;
        inset: auto;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .hc-film { grid-column: 1 / -1; width: 100%; }
    .hc-post { width: 100%; }
    .hc-pdp { width: 100%; height: auto; aspect-ratio: 4 / 5; }
    .hc-sms { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 600px) {
    .hero.hero-canvas h1 { font-size: clamp(38px, 10.5vw, 48px); }
    .hero-canvas .rotator-line { display: block; }
    .hc-works { gap: 10px; flex-wrap: wrap; justify-content: center; }
    .hc-cart-rows li:nth-child(3) { display: none; }
    .hc-post-head { font-size: 19px; }
    .hc-pdp-body b { font-size: 16px; }
    .hc-sms { display: none; }
    .hc-stage { gap: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .hc-node { opacity: 1; transform: none; transition: none; }
    .hc-wire { animation: none; }
    .hc-spot { display: none; }
}

/* =====================================================================
   Setup: Build. Plug in. Govern.
   Paper section, three dark canvas cards that each play their step:
   files load into the cartridge, tools switch on, the log fills.
   Plays once when the section is reached; hovering a card replays it.
   ===================================================================== */
.bpg { padding: 120px 0 104px; background: var(--paper); }

.bpg-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 48px;
}
.bpg-head .section-label { margin: 0 0 20px; }
.bpg-head .section-headline { text-align: left; margin: 0; }
.bpg-head-r { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.bpg-head .section-text { text-align: left; margin: 0; max-width: 46ch; }

.bpg-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.bpg-step { position: relative; min-width: 0; }

/* Wire between neighbouring cards */
.bpg-step + .bpg-step::before {
    content: '';
    position: absolute;
    top: 180px;
    left: -20px;
    width: 20px;
    border-top: 1.5px dashed rgba(var(--accent-rgb), 0.55);
}
.bpg-step + .bpg-step::after {
    content: '';
    position: absolute;
    top: 176px;
    left: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--paper);
    border: 1.5px solid var(--accent);
    box-sizing: border-box;
    z-index: 1;
}

.bpg-k {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 22px 0 8px;
    font: 700 24px/1.1 var(--display);
    letter-spacing: -0.02em;
    color: var(--ink);
}
.bpg-k span {
    font: 500 12px/1 var(--mono);
    letter-spacing: 0.08em;
    color: var(--accent-text);
}
.bpg-p { margin: 0; max-width: 38ch; font-size: 15px; line-height: 1.55; color: var(--slate); }

/* ---------- The card: a small canvas ---------- */
.bp-card {
    --sig: var(--accent-light);
    --ok: #5CFF9D;
    --warn: #F2B35B;
    position: relative;
    height: 360px;
    padding: 18px;
    box-sizing: border-box;
    border-radius: var(--r-card);
    background:
        radial-gradient(70% 55% at 50% 100%, rgba(var(--accent-rgb), 0.22) 0%, rgba(var(--accent-rgb), 0) 70%),
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.11) 1px, transparent 1.4px) 0 0 / 22px 22px,
        #0B0C0F;
    color: #fff;
    overflow: hidden;
    transition: transform 0.4s var(--ease-nk), box-shadow 0.4s var(--ease-nk);
    cursor: default;
}
.bp-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(15, 15, 15, 0.45); }

.bp-fn { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bp-fn b { font: 500 12px/1.15 var(--sans); color: rgba(255, 255, 255, 0.92); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-fn small { font: 400 11px/1.15 var(--sans); color: rgba(255, 255, 255, 0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.bp-wire {
    fill: none;
    stroke: rgba(var(--accent-pale-rgb), 0.28);
    stroke-width: 1.5;
    stroke-dasharray: 3 5;
    vector-effect: non-scaling-stroke;
}

/* Build */
.bp-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bp-file {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 12px;
    background: #16181D;
    border: 1px solid rgba(255, 255, 255, 0.09);
    min-width: 0;
}
.bp-ft {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    font: 600 9px/1 var(--mono);
    letter-spacing: 0.04em;
}
.bp-ft-pdf { background: rgba(242, 92, 84, 0.16); color: #FF8A80; }
.bp-ft-doc { background: rgba(var(--accent-rgb), 0.2); color: var(--accent-pale); }
.bp-ft-csv { background: rgba(92, 255, 157, 0.14); color: #7DFFB4; }
.bp-thumbs { flex: 0 0 auto; display: flex; }
.bp-thumbs img { width: 22px; height: 30px; object-fit: cover; border-radius: 5px; border: 1.5px solid #16181D; }
.bp-thumbs img + img { margin-left: -8px; }

.bp-merge { display: block; width: 100%; height: 34px; }

.bp-cart {
    padding: 14px 16px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%);
    border: 1px solid rgba(var(--accent-light-rgb), 0.45);
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.15), 0 24px 60px -20px rgba(var(--accent-rgb), 0.5);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}
.bp-cart-top { display: flex; align-items: center; gap: 8px; font: 500 12px/1 var(--sans); color: rgba(255, 255, 255, 0.75); }
.bp-cart-top b { font-weight: 500; }
.bp-card .logo-mark { width: 15px; color: var(--sig); }
.bp-led {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3A3F4B;
}
.bp-cart-top .bp-led { margin-left: auto; margin-right: 12px; }
.bp-cart-name { margin: 10px 0 10px; font: 400 26px/1 'Instrument Serif', Georgia, serif; color: #fff; }
.bp-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.bp-rows li { display: grid; grid-template-columns: 104px 1fr 12px; align-items: center; gap: 10px; font: 400 12px/1 var(--sans); }
.bp-rows span { color: rgba(255, 255, 255, 0.6); white-space: nowrap; }
.bp-bar { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bp-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--sig); transform: scaleX(0); transform-origin: left; }
.bp-ok { width: 12px; height: 12px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230B0C0F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.2 6.2 5.1 8 8.8 4.2'/%3E%3C/svg%3E") center / 12px no-repeat; opacity: 0; transform: scale(0.4); }

/* Plug in */
.bp-plug { display: grid; grid-template-columns: 108px 36px minmax(0, 1fr); align-items: center; }
.bp-plug-cart {
    position: relative;
    padding: 14px 12px;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%);
    border: 1px solid rgba(var(--accent-light-rgb), 0.45);
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.15), 0 24px 60px -20px rgba(var(--accent-rgb), 0.5);
    clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
.bp-plug-cart .bp-cart-name { margin: 10px 0 6px; font-size: 22px; }
.bp-plug-cart .bp-led { position: absolute; top: 15px; right: 22px; }
.bp-plug-cart small { font: 400 10px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.bp-fan { display: block; width: 100%; height: 276px; }
.bp-tools { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bp-tools li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 9px;
    height: 63px;
    padding: 0 10px;
    box-sizing: border-box;
    border-radius: 12px;
    background: #16181D;
    border: 1px solid rgba(255, 255, 255, 0.09);
}
.bp-ti { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #fff; }
.bp-ti i { width: 16px; height: 16px; background: var(--c); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.bp-sw { position: relative; width: 32px; height: 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }
.bp-sw i { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }

/* Govern */
.bp-govern { display: flex; flex-direction: column; gap: 10px; }
.bp-policy, .bp-log {
    padding: 12px 12px;
    border-radius: 14px;
    background: #16181D;
    border: 1px solid rgba(255, 255, 255, 0.09);
}
.bp-policy { border-color: rgba(var(--accent-light-rgb), 0.45); background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%); }
.bp-kick {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font: 500 10px/1 var(--mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}
.bp-kick em { margin-left: auto; font-style: normal; letter-spacing: 0.04em; text-transform: none; font-family: var(--sans); font-size: 11px; color: rgba(255, 255, 255, 0.75); }
.bp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sig); }
.bp-rules { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.bp-rules li { padding: 4px 8px; border-radius: 999px; background: rgba(var(--accent-light-rgb), 0.12); color: var(--accent-tint); font: 500 11px/1 var(--sans); }
.bp-log { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.bp-log ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bp-log li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 5px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.bp-log li:first-child { border-top: 0; }
.bp-log img, .bp-txt { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; }
.bp-txt { display: grid; place-items: center; background: #2A2E37; font: 400 15px/1 'Instrument Serif', Georgia, serif; color: rgba(255, 255, 255, 0.8); }
.bp-st { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--sans); color: rgba(255, 255, 255, 0.78); }
.bp-st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.bp-st-warn { color: var(--warn); }
.bp-st-warn::before { background: var(--warn); }

/* ---------- The play: each card runs once when the section is reached ---------- */
.motion-ready .bp-a { opacity: 0; transform: translateY(8px); }
.bpg.visible .bp-a { animation: bp-in 0.6s var(--ease-nk) calc(var(--base) + var(--t)) forwards; }
.bpg.visible .bp-wire { animation: bp-wire 0.5s ease calc(var(--base) + var(--t)) forwards, bp-flow 1.4s linear calc(var(--base) + var(--t)) infinite; }
.bpg.visible .bp-bar i { animation: bp-fill 0.5s var(--ease-nk) calc(var(--base) + var(--t)) forwards; }
.bpg.visible .bp-ok { animation: bp-pop 0.35s var(--ease-nk) calc(var(--base) + var(--t)) forwards; }
.bpg.visible .bp-led { animation: bp-led 0.4s ease calc(var(--base) + var(--t)) forwards; }
.bpg.visible .bp-sw { animation: bp-sw 0.35s ease calc(var(--base) + var(--t)) forwards; }
.bpg.visible .bp-sw i { animation: bp-knob 0.35s var(--ease-nk) calc(var(--base) + var(--t)) forwards; }

.bpg.visible .bp-card.is-replay,
.bpg.visible .bp-card.is-replay * { animation: none !important; }

@keyframes bp-in { to { opacity: 1; transform: none; } }
@keyframes bp-wire { to { stroke: var(--accent-light); } }
@keyframes bp-flow { to { stroke-dashoffset: -16; } }
@keyframes bp-fill { to { transform: scaleX(1); } }
@keyframes bp-pop { to { opacity: 1; transform: none; } }
@keyframes bp-led { to { background: #5CFF9D; box-shadow: 0 0 10px #5CFF9D; } }
@keyframes bp-sw { to { background: var(--accent); } }
@keyframes bp-knob { to { transform: translateX(14px); } }

@media (max-width: 1000px) {
    .bpg-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .bpg-steps { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 460px; }
    .bpg-step + .bpg-step::before,
    .bpg-step + .bpg-step::after { display: none; }
}
@media (max-width: 600px) {
    .bpg { padding: 88px 0 72px; }
    .bp-card { height: auto; min-height: 340px; padding: 14px; }
    .bp-plug { grid-template-columns: 92px 28px minmax(0, 1fr); }
    .bp-rows li { grid-template-columns: 108px 1fr 12px; gap: 8px; }
    .bp-file { gap: 7px; padding: 8px; }
    .bp-ft { width: 24px; height: 24px; font-size: 8px; }
    .bp-thumbs img { width: 18px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .motion-ready .bp-a, .bp-a { opacity: 1; transform: none; animation: none !important; }
    .bp-wire { stroke: var(--accent-light); animation: none !important; }
    .bp-bar i { transform: none; animation: none !important; }
    .bp-ok { opacity: 1; transform: none; animation: none !important; }
    .bp-led { background: #5CFF9D; animation: none !important; }
    .bp-sw { background: var(--accent); animation: none !important; }
    .bp-sw i { transform: translateX(14px); animation: none !important; }
    .bp-card { transition: none; }
}

/* =====================================================================
   Players, in the canvas brand. Each slide's visual is a dark canvas:
   an input node and the Northline cartridge wired across the top, the
   finished, real output below. Replaces the old icon flow (pv-*).
   ===================================================================== */
.players {
    --nl-forest: #1F3A2E;
    --nl-rust: #C8553D;
    --nl-cream: #F1EBDD;
    --nl-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    padding: 120px 0 104px;
}
.players-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: end;
}
.players-head .section-label { margin: 0 0 20px; }
.players-head .section-headline { text-align: left; margin: 0; }
.players-head .section-text { text-align: left; margin: 0; max-width: 46ch; }
.players .player-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 40px 0 24px; }
.players .player-tab { font-size: 16px; }

/* The visual: a canvas card */
.players .player-visual {
    display: flex;
    align-items: center;
    padding: 28px;
    border-radius: var(--r-card);
    background:
        radial-gradient(45% 45% at 76% 30%, rgba(var(--accent-rgb), 0.28) 0%, rgba(var(--accent-rgb), 0) 70%),
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.11) 1px, transparent 1.4px) 0 0 / 22px 22px,
        #0B0C0F;
}
.players .player-visual::before,
.players .player-visual::after { display: none; }

.pc {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    color: #fff;
}
.pc > .pc-in { grid-area: 1 / 1; }
.pc > .pc-cart { grid-area: 1 / 2; }
.pc > .pc-out, .pc > .pc-kit { grid-area: 2 / 1 / 3 / 3; }

/* Wires: brief to cartridge, cartridge down to the work */
.pc::before,
.pc::after {
    content: '';
    position: relative;
    z-index: 1;
    pointer-events: none;
    transform-origin: left center;
}
.pc::before {
    grid-area: 1 / 1;
    justify-self: end;
    align-self: center;
    width: 40px;
    margin-right: -40px;
    border-top: 1.5px dashed rgba(var(--accent-light-rgb), 0.75);
}
.pc::after {
    grid-area: 2 / 2;
    justify-self: center;
    align-self: start;
    height: 40px;
    margin-top: -40px;
    border-left: 1.5px dashed rgba(var(--accent-light-rgb), 0.75);
    transform-origin: center top;
}

.pc-n {
    position: relative;
    min-width: 0;
    padding: 13px 14px;
    border-radius: 14px;
    background: #16181D;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
}
.pc-k {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 9px;
    font: 500 10px/1 var(--mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}
.pc-k em {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    font: 400 11px/1 var(--sans);
    font-style: normal;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(255, 255, 255, 0.75);
}
.pc-k em i,
.pc-tag i,
.pc-ti {
    flex: 0 0 auto;
    width: 13px;
    height: 13px;
    background: var(--c);
    -webkit-mask: var(--i) center / contain no-repeat;
    mask: var(--i) center / contain no-repeat;
}
.pc-k em i { background: #fff; }
.pc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-light); }
.pc-text { margin: 0; font: 400 14px/1.45 var(--sans); color: rgba(255, 255, 255, 0.92); }
.pc-text s { color: #F2B35B; text-decoration-color: #F2B35B; text-decoration-thickness: 1.5px; }

.pc-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 7px 0 0;
    padding-top: 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font: 400 12px/1.25 var(--sans);
}
.pc-row span { flex: 0 0 auto; color: rgba(255, 255, 255, 0.45); }
.pc-row em { margin-left: auto; font-style: normal; color: rgba(255, 255, 255, 0.88); text-align: right; min-width: 0; }
.pc-sw { display: inline-flex; gap: 4px; }
.pc-sw i { width: 11px; height: 11px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); }
.pc-row .pc-was { margin-left: auto; opacity: 0.45; }
.pc-was + .pc-arrow + em { margin-left: 0; }
.pc-arrow { width: 14px; height: 1.5px; background: var(--accent-light); position: relative; }
.pc-arrow::after { content: ''; position: absolute; right: 0; top: -3px; border: 3.5px solid transparent; border-left: 5px solid var(--accent-light); border-right: 0; }
.pc-live { color: #5CFF9D !important; }
.pc-dim { color: rgba(255, 255, 255, 0.45) !important; text-decoration: underline; text-underline-offset: 3px; }

/* The cartridge node */
.pc-cart {
    background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%);
    border-color: rgba(var(--accent-light-rgb), 0.45);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.pc-cart-top { display: flex; align-items: center; gap: 8px; font: 500 12px/1 var(--sans); color: rgba(255, 255, 255, 0.75); }
.pc-cart .logo-mark { width: 15px; color: var(--accent-light); }
.pc-led { margin-left: auto; margin-right: 12px; width: 7px; height: 7px; border-radius: 50%; background: #3A3F4B; transition: background 0.4s ease, box-shadow 0.4s ease; }
.player-panel.is-active .pc-led { background: #5CFF9D; box-shadow: 0 0 10px #5CFF9D; transition-delay: 1s; }
.player-panel.is-active .pc-led-warn { background: #F2B35B; box-shadow: 0 0 10px #F2B35B; }
.pc-name { margin: 9px 0 2px; font: 400 24px/1 var(--nl-serif); color: #fff; }
.pc-guard { border-color: rgba(242, 179, 91, 0.55); }
.pc-guard .logo-mark { color: #F2B35B; }
.pc-rule { margin: 9px 0 0; font: 500 12px/1.35 var(--sans); color: #F2B35B; }

/* Outputs */
.pc-out { padding: 0; overflow: hidden; }
.pc-out > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px 5px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font: 500 11px/1 var(--sans);
    white-space: nowrap;
}

.pc-banner { height: 216px; }
.pc-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 20, 15, 0.75) 0%, rgba(10, 20, 15, 0.2) 55%, rgba(0, 0, 0, 0) 80%); }
.pc-banner > img { object-position: 50% 88%; }
.pc-ad { position: absolute; left: 20px; top: 48px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.pc-ad .nl-mark { font-size: 11px; }
.pc-ad .nl-head { margin: auto 0 12px; font-size: 32px; }
.pc-pass {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(11, 12, 15, 0.7);
    font: 500 11px/1 var(--sans);
    color: rgba(255, 255, 255, 0.9);
}
.pc-pass::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #5CFF9D; }

.pc-kit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pc-kit .pc-out { aspect-ratio: 3 / 4; }
.pc-kit .pc-tag { top: 8px; left: 8px; padding: 4px 8px 4px 5px; font-size: 10px; }
.pc-k1::after, .pc-k2::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 55%); }
.pc-k1 .nl-head, .pc-k2 .nl-head { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; font-size: 17px; }
.pc-k3 { background: #2A2E37; }
.pc-mail { display: flex; flex-direction: column; gap: 6px; margin: 34px 8px 8px; padding: 8px; border-radius: 5px; background: #FBF9F4; color: var(--ink); }
.pc-mail b { font: 600 9px/1 var(--sans); }
.pc-mail img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; display: block; }
.pc-mail .nl-head { font-size: 14px; color: var(--nl-forest); }
.pc-k4 { background: var(--nl-forest); }
.pc-slide { position: absolute; inset: 34px 10px 10px; display: flex; flex-direction: column; color: var(--nl-cream); }
.pc-slide .nl-mark { font-size: 8px; }
.pc-slide .nl-head { margin-top: auto; font-size: 22px; color: #fff; }
.pc-slide small { margin-top: 6px; font: 400 9px/1.3 var(--sans); color: rgba(241, 235, 221, 0.75); }

.pc-usage { padding: 14px 16px 16px; }
.pc-usage ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pc-usage li { display: grid; grid-template-columns: 22px 64px minmax(0, 1fr) 34px; align-items: center; gap: 10px; font: 400 12px/1 var(--sans); color: rgba(255, 255, 255, 0.8); }
.pc-ti { width: 22px; height: 22px; -webkit-mask: none; mask: none; border-radius: 6px; background: #fff; position: relative; }
.pc-ti::after { content: ''; position: absolute; inset: 4px; background: var(--c); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.pc-bar { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.pc-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--accent-light); transform-origin: left; }
.pc-usage em { font: 400 11px/1 var(--mono); font-style: normal; color: rgba(255, 255, 255, 0.55); text-align: right; }

.pc-fixed { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.pc-mail-wide { flex-direction: row; gap: 12px; margin: 0; padding: 10px; }
.pc-mail-wide img { width: 132px; aspect-ratio: 6 / 5; flex: 0 0 auto; }
.pc-mail-wide > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pc-mail-wide .nl-head { margin-top: auto; font-size: 24px; }
.pc-mail-wide small { font: 400 10px/1.3 var(--sans); color: #5B5F58; }
.pc-log { display: flex; align-items: center; gap: 10px; margin: 0; font: 400 11px/1.3 var(--mono); color: rgba(255, 255, 255, 0.6); }
.pc-st { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px; background: rgba(92, 255, 157, 0.12); color: #7DFFB4; font: 500 11px/1 var(--sans); }
.pc-st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #5CFF9D; }

/* Settle in when a slide becomes active: input, cartridge, then the work */
.player-panel.is-active .pc-n { animation: pv-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.player-panel.is-active .pc > .pc-in { animation-delay: 0.35s; }
.player-panel.is-active .pc > .pc-cart { animation-delay: 0.6s; }
.player-panel.is-active .pc > .pc-out { animation-delay: 0.95s; }
.player-panel.is-active .pc-kit > :nth-child(1) { animation-delay: 0.95s; }
.player-panel.is-active .pc-kit > :nth-child(2) { animation-delay: 1.05s; }
.player-panel.is-active .pc-kit > :nth-child(3) { animation-delay: 1.15s; }
.player-panel.is-active .pc-kit > :nth-child(4) { animation-delay: 1.25s; }
.player-panel.is-active .pc::before { animation: pc-wire-x 0.4s ease 0.5s both; }
.player-panel.is-active .pc::after { animation: pc-wire-y 0.4s ease 0.8s both; }
.player-panel.is-active .pc-bar i { animation: pc-bar 1s cubic-bezier(0.22, 1, 0.36, 1) 1.1s both; }
@keyframes pc-wire-x { from { transform: scaleX(0); } }
@keyframes pc-wire-y { from { transform: scaleY(0); } }
@keyframes pc-bar { from { transform: scaleX(0); } }

@media (max-width: 1000px) {
    .players-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .players .player-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .players { padding: 88px 0 72px; }
    .players .player-visual { padding: 16px; border-radius: 18px; }
    .pc { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .pc > .pc-in { grid-area: 1 / 1; }
    .pc > .pc-cart { grid-area: 2 / 1; }
    .pc > .pc-out, .pc > .pc-kit { grid-area: 3 / 1; }
    .pc::before { grid-area: 2 / 1; justify-self: center; align-self: start; width: 0; height: 28px; margin: -28px 0 0; border-top: 0; border-left: 1.5px dashed rgba(var(--accent-light-rgb), 0.75); transform-origin: center top; }
    .pc::after { grid-area: 3 / 1; height: 28px; margin-top: -28px; }
    .player-panel.is-active .pc::before { animation-name: pc-wire-y; }
    .pc-kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pc-banner { height: 190px; }
    .pc-pass { top: 10px; bottom: auto; }
    .pc-ad .nl-head { font-size: 26px; }
    .pc-mail-wide img { width: 96px; }
    .pc-mail-wide .nl-head { font-size: 19px; }
    .pc-log { flex-wrap: wrap; }
    .players .player-tab { font-size: 14px; padding-right: 12px; gap: 10px; }
    .players .player-num { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    .player-panel.is-active .pc-n,
    .player-panel.is-active .pc::before,
    .player-panel.is-active .pc::after,
    .player-panel.is-active .pc-bar i { animation: none; }
    .pc-led { transition: none; }
}

/* =====================================================================
   Time to scale, in the canvas brand: one 30-day clock, two canvas
   lanes. Without Cartridge AI the month goes into setup; with it the
   grid fills with real, on-brand creative. Driven by motion.js (.race).
   ===================================================================== */
.race { padding: 120px 0 104px; background: var(--paper); }
.race-top {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 40px;
}
.race-top .section-label { margin: 0 0 20px; }
.race-top .section-headline { text-align: left; margin: 0; }
.race-top .section-text { text-align: left; margin: 0; max-width: 52ch; }

.race-board {
    --sig: var(--accent-light);
    padding: 22px;
    border-radius: var(--r-panel);
    background:
        radial-gradient(55% 60% at 70% 100%, rgba(var(--accent-rgb), 0.26) 0%, rgba(var(--accent-rgb), 0) 70%),
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.11) 1px, transparent 1.4px) 0 0 / 22px 22px,
        #0B0C0F;
    color: #fff;
    display: grid;
    gap: 14px;
}

/* The shared clock */
.race-clock {
    display: grid;
    grid-template-columns: auto auto auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 4px 6px 8px;
}
.race-led { width: 8px; height: 8px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 10px var(--sig); }
.race-day { font: 700 28px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; min-width: 4.4ch; }
.race-of { font: 400 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.race-track { position: relative; height: 2px; margin-left: 12px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); }
.race-pos { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); border-radius: inherit; background: var(--sig); }
.race-pos::after { content: ''; position: absolute; right: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 12px var(--sig); }

/* A lane: source, output grid, count */
.race-lane {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 150px;
    gap: 22px;
    align-items: center;
    padding: 18px;
    border-radius: var(--r-card);
    background: rgba(22, 24, 29, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.race-with { border-color: rgba(var(--accent-light-rgb), 0.35); box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.12), 0 30px 70px -30px rgba(var(--accent-rgb), 0.5); }

.race-src { display: grid; gap: 8px; min-width: 0; }
.race-k {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px;
    font: 500 11px/1 var(--mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}
.race-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.race-with .race-dot { background: var(--sig); }

/* Without: setups that eat the month */
.rs {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    grid-template-areas: "ico t" "bar bar";
    gap: 8px 10px;
    align-items: center;
    padding: 9px 10px;
    border-radius: 12px;
    background: #16181D;
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.45;
    transition: opacity 0.4s ease;
}
.rs.is-on { opacity: 1; }
.rs-ico { grid-area: ico; width: 24px; height: 24px; border-radius: 6px; background: #2A2E37; position: relative; }
.rs-ico::after { content: ''; position: absolute; inset: 5px; background: var(--c); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.rs-t { grid-area: t; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rs-t b { font: 500 12px/1.1 var(--sans); }
.rs-t small { font: 400 11px/1.1 var(--sans); color: rgba(255, 255, 255, 0.5); white-space: nowrap; }
.rs-rev { color: #F2B35B !important; }
.rs-bar { grid-area: bar; display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.rs-bar i { display: block; height: 100%; width: calc(var(--f, 0) * 100%); background: rgba(255, 255, 255, 0.45); }

/* With: the cartridge, plugged in on day one */
.race-cart {
    padding: 14px 16px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%);
    border: 1px solid rgba(var(--accent-light-rgb), 0.45);
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}
.race-cart-top { display: flex; align-items: center; gap: 8px; font: 500 12px/1 var(--sans); color: rgba(255, 255, 255, 0.75); }
.race-cart .logo-mark { width: 15px; color: var(--sig); }
.race-cart-led { margin-left: auto; margin-right: 12px; width: 7px; height: 7px; border-radius: 50%; background: #3A3F4B; transition: background 0.3s ease, box-shadow 0.3s ease; }
.race.is-plugged .race-cart-led { background: #5CFF9D; box-shadow: 0 0 10px #5CFF9D; }
.race-cart-name { margin: 10px 0 2px; font: 400 26px/1 'Instrument Serif', Georgia, serif; }
.race-cart-sub { margin: 0 0 12px; font: 400 12px/1.2 var(--sans); color: rgba(255, 255, 255, 0.55); }
.race-tools { display: flex; gap: 6px; }
.race-tools i { width: 26px; height: 26px; border-radius: 7px; background: #2A2E37; position: relative; opacity: 0.4; transition: opacity 0.3s ease, background 0.3s ease; }
.race-tools i::after { content: ''; position: absolute; inset: 6px; background: var(--c); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.race.is-plugged .race-tools i { opacity: 1; background: #343A46; }
.race.is-plugged .race-tools i:nth-child(2) { transition-delay: 0.06s; }
.race.is-plugged .race-tools i:nth-child(3) { transition-delay: 0.12s; }
.race.is-plugged .race-tools i:nth-child(4) { transition-delay: 0.18s; }
.race.is-plugged .race-tools i:nth-child(5) { transition-delay: 0.24s; }

/* The output grid: real creative, lit as it ships */
.race-grid { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 4px; min-width: 0; }
.rt {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 5px;
    overflow: hidden;
    background: #1D2027;
    opacity: 0.12;
    transform: scale(0.86);
    transition: opacity 0.35s ease, transform 0.45s var(--ease-nk);
}
.rt.on { opacity: 1; transform: none; }
.rt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rt::after { content: ''; position: absolute; left: 3px; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--tc, #fff); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35); }
.rt b {
    position: absolute;
    inset: 4px 4px 8px;
    display: flex;
    align-items: flex-end;
    font: 400 9px/1 'Instrument Serif', Georgia, serif;
    overflow: hidden;
}
.rt-f { background: #1F3A2E; color: #F1EBDD; }
.rt-c { background: #F1EBDD; color: #1F3A2E; }
.rt-r { background: #C8553D; color: #fff; }
.rt-s { background: #2A2E37; color: rgba(255, 255, 255, 0.85); }
.rt-s b { font: 400 7px/1.2 var(--sans); }
.rt-empty { background: transparent; border: 1px dashed rgba(255, 255, 255, 0.14); opacity: 1; transform: none; }
.rt-empty::after { display: none; }

.race-stat { display: flex; flex-direction: column; gap: 6px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.race-n { font: 700 56px/0.9 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.55); }
.race-with .race-n { color: var(--sig); }
.race-stat span { font: 400 11px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.race-stat small { font: 500 12px/1.2 var(--sans); color: rgba(255, 255, 255, 0.45); }
.race-with .race-stat small { color: #5CFF9D; }
.race-note { margin: 16px 0 0; font: 400 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }

@media (max-width: 1000px) {
    .race-top { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .race-lane { grid-template-columns: minmax(0, 1fr) 120px; grid-template-areas: "src stat" "grid grid"; }
    .race-src { grid-area: src; }
    .race-grid { grid-area: grid; }
    .race-stat { grid-area: stat; }
    .race-src { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .race-src .race-k { grid-column: 1 / -1; }
    .race-with .race-src { grid-template-columns: minmax(0, 1fr); max-width: 300px; }
}
@media (max-width: 600px) {
    .race { padding: 88px 0 72px; }
    .race-board { padding: 12px; border-radius: 24px; }
    .race-clock { grid-template-columns: auto auto minmax(0, 1fr); }
    .race-of { display: none; }
    .race-day { font-size: 22px; }
    .race-lane { padding: 14px; gap: 14px; grid-template-columns: minmax(0, 1fr) 84px; }
    .race-src { grid-template-columns: minmax(0, 1fr); }
    .race-without .rs:not(:first-of-type) { display: none; }
    .race-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .race-grid .rt:nth-child(n+25) { display: none; }
    .race-n { font-size: 40px; }
    .race-stat { padding-left: 12px; }
}

/* =====================================================================
   Join: the waitlist as a canvas. The form is a cartridge node, wired
   to a stream of on-brand work flowing past.
   ===================================================================== */
.join {
    position: relative;
    margin: 0 16px;
    padding: 112px 0;
    border-radius: var(--r-panel);
    background:
        radial-gradient(40% 55% at 64% 55%, rgba(var(--accent-rgb), 0.30) 0%, rgba(var(--accent-rgb), 0) 70%),
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.12) 1px, transparent 1.4px) 0 0 / 22px 22px,
        #0B0C0F;
    color: #fff;
    overflow: hidden;
}
.join + .site-footer { margin-top: 16px; }
.join-copy { grid-area: 1 / 1; }
.join-node { grid-area: 1 / 2; }
.join-stream { grid-area: 1 / 3; }

.join-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px 220px;
    gap: 40px;
    align-items: center;
}
.join .section-label { margin: 0 0 20px; color: rgba(255, 255, 255, 0.62); }
.join-h {
    margin: 0 0 20px;
    font: 700 clamp(40px, 4.6vw, 64px)/1 var(--display);
    letter-spacing: -0.035em;
    color: #fff;
    text-wrap: balance;
}
.join-h em {
    font: italic 400 1.12em/0.95 'Instrument Serif', Georgia, serif;
    letter-spacing: -0.01em;
    color: var(--accent-pale);
}
.join-text { margin: 0 0 26px; max-width: 42ch; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, 0.66); }
.join-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.join-facts li {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 400 12px/1.2 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}
.join-facts li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #5CFF9D; box-shadow: 0 0 8px rgba(92, 255, 157, 0.6); }

/* The form node */
.join-node {
    position: relative;
    margin: 0;
    max-width: none;
    padding: 18px 22px 22px;
    border-radius: 18px 0 18px 18px;
    background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%);
    border: 1px solid rgba(var(--accent-light-rgb), 0.45);
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.15), 0 40px 90px -30px rgba(var(--accent-rgb), 0.55);
    color: #fff;
}
.join-node { clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.join-grid::after {    /* wire from the form node out to the stream */
    content: "";
    grid-area: 1 / 3;
    justify-self: start;
    align-self: center;
    width: 40px;
    margin-left: -40px;
    border-top: 1.5px dashed rgba(var(--accent-light-rgb), 0.75);
    position: relative;
    z-index: 1;
}
.join-node-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font: 500 13px/1 var(--sans);
    color: rgba(255, 255, 255, 0.85);
}
.join-node-top .logo-mark { width: 16px; color: var(--accent-light); }
.join-node-k { margin-left: 4px; font: 400 10px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.join-led { margin-left: auto; margin-right: 24px; width: 7px; height: 7px; border-radius: 50%; background: #5CFF9D; box-shadow: 0 0 10px #5CFF9D; }

.join-node .form-group { margin-bottom: 14px; }
.join-node .form-group label {
    display: block;
    margin-bottom: 7px;
    font: 500 11px/1 var(--mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}
.join-node .form-group input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0F1115;
    color: #fff;
    font: 400 15px/1.2 var(--sans);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.join-node .form-group input::placeholder { color: rgba(255, 255, 255, 0.35); }
.join-node .form-group input:focus { outline: none; border-color: var(--accent-light); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.3); background: #0F1115; }
.join-node .checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 10px; }
.join-node .checkbox-group input { margin-top: 2px; accent-color: var(--accent); width: 16px; height: 16px; flex: 0 0 auto; }
.join-node .checkbox-group label { font: 400 13px/1.4 var(--sans); color: rgba(255, 255, 255, 0.75); }
.join-node .form-microcopy { margin: 0 0 16px; font: 400 12px/1.3 var(--sans); color: rgba(255, 255, 255, 0.5); }
.join-node .form-microcopy div::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #5CFF9D; vertical-align: 1px; }
.join-node .btn-submit { width: 100%; justify-content: space-between; }
.join-node .btn-submit:hover { background: #fff; border-color: #fff; color: var(--ink); }
.join-node .confirmation-message { margin: 0; padding: 16px; border-radius: 12px; background: rgba(92, 255, 157, 0.1); border: 1px solid rgba(92, 255, 157, 0.35); color: #fff; font: 400 15px/1.5 var(--sans); }

/* The stream: two columns of finished work drifting up */
.join-stream {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: 520px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.js-col { display: grid; gap: 10px; align-content: start; animation: join-up 28s linear infinite; }
.js-col-b { animation-duration: 22s; margin-top: -60px; }
.join-stream .rt { opacity: 1; transform: none; border-radius: 10px; }
.join-stream .rt::after { left: 6px; bottom: 6px; width: 7px; height: 7px; }
.join-stream .rt b { inset: 8px 8px 16px; font-size: 15px; }
.join-stream .rt-s b { font-size: 10px; }
@keyframes join-up { to { transform: translateY(-50%); } }

@media (max-width: 1100px) {
    .join-grid { grid-template-columns: minmax(0, 1fr) 400px; }
    .join-stream { display: none; }
    .join-grid::after { display: none; }
}
@media (max-width: 860px) {
    .join-copy, .join-node { grid-area: auto; }
    .join { margin: 0 8px; padding: 72px 0; border-radius: 24px; }
    .join-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .join-node { padding: 16px 16px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .js-col { animation: none; }
    .rt { transition: none; }
}

/* =====================================================================
   Problem demo, in the canvas brand: Claude with the cartridge loaded.
   A dark chat card: the ask, the brand loading, the typed answer with a
   finished post attached, then the checks. States s1-s4 come from
   motion.js (the demo script).
   ===================================================================== */
.problem { --nl-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif; --nl-cream: #F1EBDD; }
.problem .demo.pd {
    position: relative;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-card);
    background:
        radial-gradient(60% 50% at 80% 100%, rgba(var(--accent-rgb), 0.24) 0%, rgba(var(--accent-rgb), 0) 70%),
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 1.4px) 0 0 / 22px 22px,
        #0B0C0F;
    box-shadow: 0 30px 70px -30px rgba(15, 15, 15, 0.55);
    color: #fff;
    overflow: hidden;
    animation: none;
}
.pd-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.pd-tool { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--sans); color: rgba(255, 255, 255, 0.85); }
.pd-tool i { width: 16px; height: 16px; background: var(--c); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.pd-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(var(--accent-light-rgb), 0.12);
    border: 1px solid rgba(var(--accent-light-rgb), 0.3);
    font: 500 11px/1 var(--mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-tint);
}
.pd-chip .logo-mark, .pd-cart .logo-mark { width: 13px; color: var(--accent-light); }
.pd-led { width: 6px; height: 6px; border-radius: 50%; background: #3A3F4B; transition: background 0.3s ease, box-shadow 0.3s ease; }
.demo.s2 .pd-led { background: #5CFF9D; box-shadow: 0 0 8px #5CFF9D; transition-delay: 1.2s; }

.pd-body { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.pd-user, .pd-load, .pd-ai, .pd-checks li { opacity: 0; transform: translateY(6px); transition: opacity 0.5s ease, transform 0.5s var(--ease-nk); }
.demo.s1 .pd-user, .demo.s2 .pd-load, .demo.s3 .pd-ai, .demo.s4 .pd-checks li { opacity: 1; transform: none; }
.pd-user {
    align-self: flex-end;
    max-width: 82%;
    margin: 0;
    padding: 10px 14px;
    border-radius: 16px 16px 4px 16px;
    background: #2A2E37;
    font: 400 14px/1.45 var(--sans);
}
.pd-load { display: flex; align-items: center; gap: 10px; font: 400 12px/1 var(--mono); letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.6); }
.pd-load b { color: #fff; font-weight: 500; }
.pd-cart {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%);
    border: 1px solid rgba(var(--accent-light-rgb), 0.45);
    clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 0 100%);
}
.pd-fill { flex: 0 0 64px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.pd-fill i { display: block; height: 100%; width: 0; background: var(--accent-light); }
.demo.s2 .pd-fill i { width: 100%; transition: width 1.1s ease-in-out 0.3s; }

.pd-ai {
    max-width: 96%;
    padding: 14px;
    border-radius: 16px 16px 16px 4px;
    background: #16181D;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.pd-ai .demo-type { margin: 0 0 12px; font: 400 14px/1.55 var(--sans); color: rgba(255, 255, 255, 0.92); min-height: 4.65em; }
.pd-post {
    position: relative;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s var(--ease-nk);
}
.demo.s4 .pd-post { opacity: 1; transform: none; }
.pd-post img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.pd-post::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 20, 15, 0.7) 0%, rgba(10, 20, 15, 0.1) 60%); }
.pd-post-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font: 500 10px/1 var(--sans);
}
.pd-post-ad { position: absolute; left: 14px; top: 12px; bottom: 12px; z-index: 1; display: flex; flex-direction: column; color: #fff; }
.pd-post-ad .nl-mark { font: 400 10px/1 var(--nl-serif); letter-spacing: 0.22em; text-transform: uppercase; color: var(--nl-cream); }
.pd-post-ad .nl-head { margin: auto 0 0; font: 400 26px/0.98 var(--nl-serif); }

.pd-checks { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 8px; }
.pd-checks li { display: flex; align-items: center; gap: 10px; font: 400 13px/1.35 var(--sans); color: rgba(255, 255, 255, 0.8); }
.demo.s4 .pd-checks li:nth-child(2) { transition-delay: 0.25s; }
.demo.s4 .pd-checks li:nth-child(3) { transition-delay: 0.5s; }
.pd-ok {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #5CFF9D url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%230B0C0F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.2 6.2 5.1 8 8.8 4.2'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.pd-fix { background-color: #F2B35B; }
.pd-checks li:has(.pd-fix) { color: #F2B35B; }

@media (max-width: 600px) {
    .pd-body { padding: 14px; }
    .pd-post-ad .nl-head { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .pd-user, .pd-load, .pd-ai, .pd-checks li, .pd-post { opacity: 1; transform: none; transition: none; }
}

/* Govern log: an off-palette fix shown as the swap */
.bp-swatch { display: flex; gap: 0; overflow: hidden; padding: 0; }
.bp-swatch i { flex: 1; height: 100%; background: var(--c); }
.bp-swatch i:first-child { opacity: 0.55; }

/* =====================================================================
   How it fits, hybrid: the hub's mechanics (insert, boot, wires,
   packets, eject, the 48-format cloud) on the canvas brand. Dot grid,
   the notched cartridge in node colours, tool slots as nodes with real
   icons, highlighted formats as chips with real creative.
   ===================================================================== */
.how-it-fits.hf2 { padding: 112px 0 96px; }
.how-it-fits.hf2::after {
    background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.11) 1px, transparent 1.4px) 0 0 / 22px 22px;
    -webkit-mask-image: none;
    mask-image: none;
    animation: none;
}
.hf-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 48px;
    text-align: left;
}
.hf2 .hf-head .section-label { margin: 0 0 20px; }
.hf2 .hf-head .section-headline { margin: 0; text-align: left; font-size: clamp(40px, 5.2vw, 76px); }
.hf2 .hf-head .section-text { margin: 0; max-width: 46ch; text-align: left; }
.hf-head em { font: italic 400 1.1em/0.95 'Instrument Serif', Georgia, serif; letter-spacing: -0.01em; color: var(--accent-pale); }

.hf2 .hub,
.hf2 .hub.flow {
    background: none;
    border: 0;
    max-width: none;
    padding: 8px 0 0;
    gap: 60px;
}

/* Stage labels as canvas kickers */
.hf2 .flow-label {
    padding: 6px 12px;
    background: #16181D;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
}
.hf2 .flow-label span { color: var(--accent-light); }

/* The cartridge: same shape, node colours, it glows when it boots */
.hf2 .cart { --cart-ink: #fff; }
.hf2 .ca-fill { fill: url(#hfCartFill); }
.hf2 .ca-lines { color: rgba(var(--accent-light-rgb), 0.75); }
.hf2 .cart-art { filter: drop-shadow(0 30px 50px rgba(var(--accent-rgb), 0.0)); transition: filter 1.2s ease; }
.hf2 .hub.is-live .cart-art { filter: drop-shadow(0 24px 60px rgba(var(--accent-rgb), 0.45)); }
.hf2 .ca-led { fill: #3A3F4B; transition: fill 0.4s ease; }
.hf2 .hub.is-live .ca-led { fill: #5CFF9D; filter: drop-shadow(0 0 6px #5CFF9D); }
.hf2 .cart-label-head { color: rgba(255, 255, 255, 0.6); }
.hf2 .cart-label-brand .logo-mark { color: var(--accent-light); }
.hf2 .cart-title {
    margin: 10px 0 8px;
    font: 400 34px/1 'Instrument Serif', Georgia, serif;
    color: #fff;
    text-shadow: none;
}
.hf2 .hub-core-list { font-size: 10.5px; }
.hf2 .hub-core-list li { color: rgba(255, 255, 255, 0.72); }
.hf2 .hub-core-list li::before { border-left-color: var(--accent-light); }
.hf2 .hub-core-list li.is-selected { background: rgba(var(--accent-light-rgb), 0.16); color: #fff; }

/* Tool slots: nodes with the tool's real icon and a live LED */
.hf2 .flow-tools { gap: 12px; }
.hf2 .flow-tools .slot {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 8px;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-align: left;
    border-radius: 14px;
    background: #16181D;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.3s ease;
}
.hf2 .flow-tools .slot.is-connected { background: #16181D; border-color: rgba(var(--accent-light-rgb), 0.55); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12), 0 24px 50px -24px rgba(0, 0, 0, 0.8); }
.hf2 .slot-ico { grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 9px; background: #fff; position: relative; }
.hf2 .slot-ico::after { content: ''; position: absolute; inset: 8px; background: var(--c); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.hf2 .flow-tools .slot-name { grid-column: 2; font: 500 15px/1.1 var(--sans); color: #fff; }
.hf2 .slot .slot-type,
.hf2 .slot.is-connected .slot-type {
    grid-column: 2;
    padding: 0;
    background: none;
    border: 0;
    font: 400 11px/1 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.hf2 .slot-led { grid-column: 3; grid-row: 1 / 3; width: 8px; height: 8px; border-radius: 50%; background: #3A3F4B; transition: background 0.3s ease, box-shadow 0.3s ease; }
.hf2 .slot.is-connected .slot-led { background: #5CFF9D; box-shadow: 0 0 10px #5CFF9D; }

/* Wires in the canvas palette */
.hf2 .wire-track { stroke: rgba(var(--accent-pale-rgb), 0.22); stroke-dasharray: 3 6; }
.hf2 .wire { stroke: var(--accent-light); }
.hf2 .terminal { fill: #0B0C0F; stroke: var(--accent-light); }
.hf2 .terminal.is-on { fill: var(--accent-light); }

/* The format cloud: quiet pills, real work on the highlighted ones */
.hf2 .wt {
    padding: 9px 15px;
    background: #16181D;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}
.hf2 .wt::before { width: 6px; height: 6px; margin-right: 8px; background: rgba(var(--accent-light-rgb), 0.7); box-shadow: none; }
.hf2 .wt-hi {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 5px 15px 5px 5px;
    background: linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%);
    box-shadow: inset 0 0 0 1px rgba(var(--accent-light-rgb), 0.5), 0 10px 30px -12px rgba(var(--accent-rgb), 0.6);
    color: #fff;
}
.hf2 .wt-hi::before { display: none; }
.hf2 .wt-hi img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: block; }
.hf2 .wall-h b { color: #fff; }
.hf2 .wall-h em { font: italic 400 1.12em/1 'Instrument Serif', Georgia, serif; color: var(--accent-pale); }

@media (max-width: 1000px) {
    .hf-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 760px) {
    .how-it-fits.hf2 { padding: 72px 0; }
    .hf2 .hub.flow { gap: 44px; }
    .hf2 .flow-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hf2 .flow-tools .slot { padding: 12px; gap: 10px; grid-template-columns: 30px minmax(0, 1fr) 8px; }
    .hf2 .slot-ico { width: 30px; height: 30px; }
    .hf2 .cart-title { font-size: 28px; }
    .hf2 .wt { font-size: 12px; padding: 8px 12px; }
    .hf2 .wt-hi { padding: 4px 12px 4px 4px; }
    .hf2 .wt-hi img { width: 24px; height: 24px; }
    .hf2 .wt:nth-child(n+25):not(.wt-hi) { display: none; }
}

/* Time to scale, legibility pass: big lane names, the losing lane muted,
   the Cartridge AI lane lit, and only shipped work shown in the grids. */
.race-k {
    margin: 0;
    font: 700 22px/1.1 var(--display);
    letter-spacing: -0.02em;
    text-transform: none;
    color: #fff;
}
.race-k .logo-mark { width: 22px; color: var(--accent-light); }
.race-sub { margin: 0 0 10px; font: 400 13px/1.35 var(--sans); color: rgba(255, 255, 255, 0.55); }

.race-without { background: rgba(22, 24, 29, 0.55); border-style: dashed; border-color: rgba(255, 255, 255, 0.1); }
.race-without .race-k { color: rgba(255, 255, 255, 0.55); }
.race-without .rs, .race-without .race-stat { filter: grayscale(1); }

.race-with {
    background: linear-gradient(180deg, rgba(27, 34, 51, 0.95) 0%, rgba(17, 21, 31, 0.95) 100%);
    border: 1.5px solid rgba(var(--accent-light-rgb), 0.6);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12), 0 40px 90px -30px rgba(var(--accent-rgb), 0.65);
}
.race-with .race-sub { color: var(--accent-tint); }

/* Unshipped slots are empty; shipped work pops in */
.rt:not(.on) { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); opacity: 1; transform: none; }
.rt:not(.on) > *, .rt:not(.on)::after { opacity: 0; }
.rt > * { transition: opacity 0.3s ease; }
.rt.on { animation: rt-pop 0.45s var(--ease-nk); }
@keyframes rt-pop { from { transform: scale(0.6); opacity: 0; } }
.race-without .rt:not(.on) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }

.race-n { font-size: 64px; }
.race-without .race-n { color: rgba(255, 255, 255, 0.4); }

@media (max-width: 600px) {
    .race-k { font-size: 18px; }
    .race-n { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { .rt.on { animation: none; } }

/* FAQ teaser on the homepage: four real questions, each linking to its answer on /faq/ */
.faq-teaser { padding: 104px 0; background: var(--paper); }
.faq-teaser-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.faq-teaser .section-label { margin: 0 0 20px; }
.faq-teaser .section-headline { margin: 0 0 28px; text-align: left; }
.faq-teaser-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.faq-teaser-list li { border-bottom: 1px solid var(--hair); }
.faq-teaser-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0;
    color: var(--ink);
    font: 500 19px/1.35 var(--sans);
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: color 0.2s ease;
}
.faq-teaser-list a:hover { color: var(--accent-text); }
.faq-teaser-list i {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--hair);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230F0F0F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12 L12 4 M6 4 H12 V10'/%3E%3C/svg%3E") center / 13px no-repeat;
    transition: transform 0.4s var(--ease-nk), background-color 0.3s ease, border-color 0.3s ease;
}
.faq-teaser-list a:hover i { transform: rotate(45deg); border-color: var(--accent); }
@media (max-width: 900px) {
    .faq-teaser { padding: 80px 0; }
    .faq-teaser-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .faq-teaser-list a { font-size: 17px; }
}

/* Time to scale: both lanes share one height, and the setup cards are compact
   so the Without lane doesn't outgrow the cartridge */
.race-board { grid-template-rows: auto 1fr 1fr; }
.race-lane { height: 100%; box-sizing: border-box; }
.race-without .rs { padding: 7px 10px 8px; gap: 6px 10px; border-radius: 10px; }
.race-without .race-src { gap: 6px; }

/* Without: drafts come back off-brand, get revised, and most are scrapped */
.race-without .rt.is-draft { box-shadow: inset 0 0 0 2px #F2B35B; }
.race-without .rt.is-draft img { filter: hue-rotate(150deg) saturate(1.6); }
.race-without .rt.is-cut img { filter: grayscale(1) brightness(0.55); }
.race-without .rt.is-cut { box-shadow: inset 0 0 0 2px #FF6B5B; animation: rt-cut 0.55s ease forwards; }
.race-without .rt.is-cut::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(45deg, transparent calc(50% - 1px), #FF6B5B calc(50% - 1px), #FF6B5B calc(50% + 1px), transparent calc(50% + 1px)),
        linear-gradient(-45deg, transparent calc(50% - 1px), #FF6B5B calc(50% - 1px), #FF6B5B calc(50% + 1px), transparent calc(50% + 1px));
}
@keyframes rt-cut { 0%, 45% { transform: none; opacity: 1; } 100% { transform: scale(0.5); opacity: 0; } }
.race-without .race-stat small.is-scrapped { color: #FF8A7D; }
@media (prefers-reduced-motion: reduce) { .race-without .rt.is-cut { animation: none; opacity: 0; } }

/* =====================================================================
   Buttons, v2: bigger rounded rectangles, sentence case, a plain arrow
   that slides on hover. Overrides the pill-and-chip buttons above.
   ===================================================================== */
.btn,
.btn-submit {
    gap: 10px;
    border-radius: 12px;
    font: 600 18px/1 var(--sans);
    letter-spacing: -0.01em;
    text-transform: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.btn-primary,
.btn-submit,
.btn-secondary {
    min-height: 56px;
    padding: 0 26px;
}
.btn-primary,
.btn-submit,
.btn-primary:hover,
.btn-submit:hover {
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 18px -8px rgba(var(--accent-rgb), 0.55);
}
.btn-primary::after,
.btn-submit::after,
.header-nav a.btn::after {
    position: static;
    width: 18px;
    height: 18px;
    border-radius: 0;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8 H13 M9 4 L13 8 L9 12'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8 H13 M9 4 L13 8 L9 12'/%3E%3C/svg%3E") center / contain no-repeat;
    transform: none;
    transition: transform 0.35s var(--ease-nk);
}
.btn-primary:hover::after,
.btn-submit:hover::after,
.header-nav a.btn:hover::after { transform: translateX(4px); }
.btn:hover,
.btn-submit:hover { transform: translateY(-2px); }
.btn:active,
.btn-submit:active { transform: translateY(0) scale(0.98); }

.btn-small,
.header-nav a.btn {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 11px;
    font-size: 15px;
    letter-spacing: -0.01em;
}
.btn-small::after,
.header-nav a.btn::after { width: 15px; height: 15px; }

.btn-submit { justify-content: center; }
.join-node .btn-submit { justify-content: center; }

@media (max-width: 760px) {
    .btn-small,
    .header-nav a.btn { min-height: 40px; padding: 0 14px; font-size: 14px; letter-spacing: -0.01em; }
}
@media (max-width: 600px) {
    .hero .cta-group .btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .btn:hover, .btn-submit:hover, .btn:active, .btn-submit:active { transform: none; }
}

/* =====================================================================
   Hero, v2: left-aligned copy and a typewriter line with the platform
   logo before each name. The canvas below stays centred.
   ===================================================================== */
.hero.hero-canvas { text-align: left; }
.hc-copy { align-items: flex-start; }
.hero-canvas .timeline-badge { margin: 0 0 22px; }
.hero.hero-canvas .subheadline { margin: 0 0 30px; }
.hero-canvas .cta-group { justify-content: flex-start; }
.hero-canvas .rotator-line { display: block; }

.hero-canvas .rotator-type {
    display: inline-flex;
    align-items: center;
    min-height: 1.05em;
    white-space: nowrap;
}
.hero-canvas .rotator-type::after { display: none; }
.rt-logo {
    flex: 0 0 auto;
    width: 0.72em;
    height: 0.72em;
    margin-right: 0.2em;
    background: var(--c, var(--accent-pale));
    -webkit-mask: var(--i) center / contain no-repeat;
    mask: var(--i) center / contain no-repeat;
    transition: transform 0.3s var(--ease-nk), opacity 0.2s ease;
}
.rt-logo.is-mark {
    --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 30' fill='none' stroke='%23000' stroke-width='2.4' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M4.5 1.7H25L30.3 7V23.5Q30.3 24.8 29 24.8H24.5V28.3H7.5V24.8H3Q1.7 24.8 1.7 23.5V4.5Q1.7 1.7 4.5 1.7Z'/%3E%3Crect x='5.6' y='7.4' width='20.8' height='11' rx='1' fill='%23000' stroke='none'/%3E%3Cpath d='M11.5 24.8V26.5M16 24.8V26.5M20.5 24.8V26.5' stroke-width='1.8'/%3E%3C/svg%3E");
}
.rt-logo.is-img {
    background: var(--i) center / contain no-repeat;
    -webkit-mask: none;
    mask: none;
}
.rt-logo.is-out { transform: scale(0.4); opacity: 0; }
.rt-text { display: inline-block; }
.rt-cursor {
    flex: 0 0 auto;
    width: 3px;
    height: 0.82em;
    margin-left: 0.06em;
    border-radius: 2px;
    background: var(--accent-pale);
    animation: rt-blink 1.1s steps(1) infinite;
}
.rotator-type.is-typing .rt-cursor { animation: none; }
@keyframes rt-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rt-cursor { animation: none; } }

@media (max-width: 600px) {
    .hc-works { justify-content: flex-start; }
    .hero .cta-group .btn { justify-content: center; }
}

/* =====================================================================
   Main menu, v2: a taller bar, 16px links, a 48px button.
   ===================================================================== */
.header-inner {
    min-height: 72px;
    box-sizing: border-box;
    padding: 12px 12px 12px 24px;
    border-radius: 20px;
}
.site-header .logo { font-size: 19px; gap: 11px; }
.site-header .logo .logo-mark { width: 28px; }
.header-nav { gap: 34px; }
.header-nav a { font-size: 16px; }
.header-nav .btn-small,
.header-nav a.btn {
    min-height: 48px;
    padding: 0 20px;
    font-size: 16px;
    border-radius: 12px;
}
.hero.hero-canvas,
.fq-hero,
.lg-hero { margin-top: -86px; }

@media (max-width: 760px) {
    .header-inner { min-height: 60px; padding: 8px 8px 8px 16px; border-radius: 16px; }
    .site-header .logo { font-size: 16px; }
    .site-header .logo .logo-mark { width: 24px; }
    .header-nav .btn-small,
    .header-nav a.btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
}

/* Typed tool name: same face as the headline, kept in the accent blue */
.hero-canvas .rotator.rotator-type {
    font-family: inherit;
    font-style: normal;
    font-weight: inherit;
    font-size: 1em;
    letter-spacing: inherit;
    line-height: 1;
}

/* Plug in card: a "Connected" status replaces the old install switch */
.bp-tools li { grid-template-columns: 30px minmax(0, 1fr) auto; }

/* Primary hover: a brighter accent instead of black, so it reads on dark and light grounds */
.btn-primary:hover,
.btn-submit:hover,
.join-node .btn-submit:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--on-accent);
}
