/* ─────────────────────────────────────────
   Tiny Magiq — style.css
   World class rebuild — same colour palette
   Purple / teal / dark — Tiny Magiq identity
   ───────────────────────────────────────── */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --purple: #7c3aed;
    --purple-light: #9f67f5;
    --purple-dark: #5b21b6;
    --teal: #0d9488;
    --teal-light: #14b8a6;
    --teal-dark: #0f766e;
    --white: #ffffff;
    --off-white: #f0f4ff;
    --muted: rgba(255, 255, 255, 0.65);
    --faint: rgba(255, 255, 255, 0.12);
    --card-bg: rgba(255, 255, 255, 0.06);
    --card-border: rgba(255, 255, 255, 0.12);
    --bg: #0a0a14;
    --bg-mid: #0f0f1e;
    --radius: 14px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --transition: 0.22s ease;

    /* Construct accent colours */
    --iws: #7c3aed;
    --pux: #0d9488;
    --aifl: #2563eb;
    --fsa: #d97706;
}

html {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}


/* ─── HEADER ─── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--faint);
    transition: padding var(--transition);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 44px;
    width: auto;
    border-radius: 8px;
}

.brand-name {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.03em;
}

.brand-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--teal-light);
    background: rgba(20, 184, 166, 0.12);
    border: 1px solid rgba(20, 184, 166, 0.3);
    padding: 2px 8px;
    border-radius: 99px;
    text-transform: uppercase;
}

.header-cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--purple), var(--teal));
    padding: 9px 20px;
    border-radius: 99px;
    text-decoration: none;
    transition: opacity var(--transition), transform var(--transition);
    letter-spacing: 0.01em;
}

.header-cta:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ─── HERO ─── */

.hero {
    background: linear-gradient(135deg, #7c3aed 0%, #0d9488 100%);
    padding: 80px 32px 72px;
    min-height: 520px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--purple-light), var(--teal-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 18px;
    font-weight: 400;
    color: var(--muted);
    margin-bottom: 40px;
    line-height: 1.65;
}

/* ─── INPUT ─── */

.input-wrap {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    max-width: 780px;
}

.input-wrap input {
    flex: 1;
    padding: 18px 24px;
    font-size: 16px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    color: var(--white);
    outline: none;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.input-wrap input:focus {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(124, 58, 237, 0.6);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.input-wrap button {
    padding: 18px 32px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    background: linear-gradient(135deg, var(--purple), var(--teal));
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.01em;
    transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.input-wrap button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(124, 58, 237, 0.4);
}

.input-wrap button:active {
    transform: translateY(0);
}


.input-wrap button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ─── CHIPS ─── */

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.chip {
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: var(--white);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 9px 18px;
    border-radius: 99px;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
    position: relative;
    overflow: hidden;
}

.chip::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
}

.chip-iws::before {
    background: var(--iws);
}

.chip-pux::before {
    background: var(--pux);
}

.chip-aifl::before {
    background: var(--aifl);
}

.chip-fsa::before {
    background: var(--fsa);
}

.chip:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* ─── SAMPLES ─── */

.samples {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.samples-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
}

.sample {
    font-size: 12px;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.45);
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.2);
    transition: color var(--transition);
    text-align: left;
}

.sample:hover {
    color: var(--white);
}

/* ─── RESPONSE AREA ─── */

.response-area {
    background: var(--bg-mid);
    min-height: 60vh;
    padding: 56px 32px 100px;
}

.response-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* ─── THINKING ANIMATION ─── */

.thinking {
    padding: 40px 0 32px;
}

.thinking-nodes {
    display: flex;
    align-items: center;
    gap: 0;
}

.tnode {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tnode.visible {
    opacity: 1;
    transform: scale(1);
}

.tnode-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.tnode.active .tnode-dot {
    background: var(--purple-light);
    border-color: var(--purple-light);
    box-shadow: 0 0 12px rgba(159, 103, 245, 0.6);
    animation: nodePulse 1s ease infinite;
}

.tnode.done .tnode-dot {
    background: var(--teal-light);
    border-color: var(--teal-light);
    box-shadow: 0 0 8px rgba(20, 184, 166, 0.4);
}

@keyframes nodePulse {

    0%,
    100% {
        box-shadow: 0 0 12px rgba(159, 103, 245, 0.6);
    }

    50% {
        box-shadow: 0 0 20px rgba(159, 103, 245, 0.9);
    }
}

.tnode-label {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.tnode.active .tnode-label {
    color: var(--purple-light);
}

.tnode.done .tnode-label {
    color: rgba(255, 255, 255, 0.7);
}

.tnode-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    min-width: 60px;
    max-width: 140px;
    margin-bottom: 24px;
    transition: background 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tnode-line.active::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--purple-light), transparent);
    animation: lineFlow 0.8s ease forwards;
}

@keyframes lineFlow {
    to {
        left: 100%;
    }
}

.tnode-line.done {
    background: rgba(20, 184, 166, 0.4);
}

/* ─── RESPONSE CANVAS — two panel ─── */

.response-canvas {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 900px) {
    .response-canvas {
        grid-template-columns: 1fr;
    }
}

/* ─── RESPONSE BLOCKS ─── */

.block {
    margin-bottom: 24px;
    animation: fadeUp 0.35s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Headline */
.block-headline h2 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--white);
    line-height: 1.2;
}

/* Acknowledgement */
.block-acknowledgement {
    padding: 14px 20px;
    background: rgba(124, 58, 237, 0.1);
    border-left: 3px solid var(--purple-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.block-acknowledgement p {
    font-size: 14px;
    color: var(--purple-light);
    font-style: italic;
}

/* Direct answer */
.block-direct-answer p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
}

/* Differentiator */
.block-differentiator {
    padding: 18px 22px;
    background: rgba(13, 148, 136, 0.1);
    border-left: 3px solid var(--teal-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.block-differentiator p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
}

/* Construct cards */
.block-construct-cards .cards-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 14px;
}

.construct-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.construct-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.construct-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
}

.construct-card[data-construct="construct:iws"]::before {
    background: var(--iws);
}

.construct-card[data-construct="construct:pux"]::before {
    background: var(--pux);
}

.construct-card[data-construct="construct:aifl"]::before {
    background: var(--aifl);
}

.construct-card[data-construct="construct:fsa"]::before {
    background: var(--fsa);
}

.construct-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.construct-card-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3px;
    letter-spacing: -0.01em;
}

.construct-card-full {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.38);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.construct-card-constraint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.5;
}

/* Credibility */
.block-credibility {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 22px 26px;
}

.credibility-headline {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 16px;
}

.credibility-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.credibility-bullets li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    padding-left: 18px;
    position: relative;
}

.credibility-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--teal-light);
    font-size: 12px;
    top: 2px;
}

/* What it is */
.block-what-it-is .wit-headline {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.38);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.block-what-it-is .wit-connective {
    font-size: 15px;
    color: var(--purple-light);
    font-style: italic;
    margin-bottom: 14px;
    padding: 12px 16px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--purple-light);
    line-height: 1.6;
}

.block-what-it-is .wit-content {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
}

/* Why it matters */
.block-why-it-matters .wim-headline {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.38);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.block-why-it-matters .wim-content {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: 16px;
}

.wim-patterns {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wim-patterns li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    padding-left: 18px;
    position: relative;
    font-style: italic;
    line-height: 1.5;
}

.wim-patterns li::before {
    content: '"';
    position: absolute;
    left: 0;
    color: var(--teal-light);
    font-style: normal;
}

/* Next step */
.block-next-step .ns-headline {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.38);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.ns-outputs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.ns-outputs li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    padding-left: 20px;
    position: relative;
    line-height: 1.55;
}

.ns-outputs li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal-light);
    font-size: 12px;
    top: 2px;
}

.ns-evidence {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
    padding: 10px 14px;
    background: rgba(13, 148, 136, 0.07);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--teal);
}

/* Fork */
.block-fork {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 24px;
}

.fork-question {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.fork-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fork-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: left;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
    width: 100%;
    font-family: inherit;
}

.fork-option:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.fork-option-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    min-width: 44px;
}

.fork-option-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

/* Boundary */
.block-boundary {
    padding: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
}

.boundary-content {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 14px;
    line-height: 1.65;
    font-weight: 500;
}

.boundary-redirect {
    font-size: 14px;
    color: var(--teal-light);
    line-height: 1.65;
}

/* People */
.block-people .people-headline {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 20px;
}

.people-acknowledgement {
    font-size: 14px;
    color: var(--purple-light);
    font-style: italic;
    margin-bottom: 20px;
    padding: 14px 18px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--purple-light);
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.person-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.person-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.person-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 14px;
    border: 2px solid var(--card-border);
    background: rgba(124, 58, 237, 0.2);
}

.person-photo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--purple), var(--teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    font-family: 'Syne', sans-serif;
}

.person-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.person-role {
    font-size: 11px;
    font-weight: 600;
    color: var(--teal-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.person-bio {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    margin-bottom: 16px;
}

.person-linkedin {
    font-size: 12px;
    font-weight: 600;
    color: var(--purple-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition);
}

.person-linkedin:hover {
    color: var(--white);
}

/* CTA */
.block-cta {
    margin-top: 8px;
}

.block-cta .cta-message {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 14px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    color: var(--white);
    background: linear-gradient(135deg, var(--purple), var(--teal));
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45);
}

.cta-button.urgent {
    background: linear-gradient(135deg, #dc2626, var(--purple));
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
    animation: urgentPulse 2.5s ease infinite;
}

@keyframes urgentPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
    }

    50% {
        box-shadow: 0 8px 32px rgba(220, 38, 38, 0.55);
    }
}

/* ─── CASELET PANEL (right column) ─── */

.response-aside {
    position: sticky;
    top: 90px;
}

.caselet-panel-inner {
    background: rgba(124, 58, 237, 0.07);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius);
    overflow: hidden;
    animation: slideInRight 0.4s ease forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(16px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.caselet-panel-header {
    padding: 14px 20px;
    background: rgba(124, 58, 237, 0.15);
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.caselet-panel-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--purple-light);
}

.caselet-panel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal-light);
    margin-left: auto;
    animation: dotBlink 2s ease infinite;
}

@keyframes dotBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.caselet-panel-body {
    padding: 20px;
}

.caselet-panel-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.caselet-panel-pain {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
    margin-bottom: 14px;
    line-height: 1.5;
}

.caselet-panel-summary {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 16px;
}

.caselet-panel-signals {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.caselet-panel-signals li {
    font-size: 12px;
    color: var(--teal-light);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.caselet-panel-signals li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-size: 11px;
}

/* Inline caselet (mobile / when no aside) */
.block-caselet {
    background: rgba(124, 58, 237, 0.07);
    border: 1px solid rgba(124, 58, 237, 0.18);
    border-radius: var(--radius);
    padding: 22px 24px;
    position: relative;
}

.block-caselet::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--purple), var(--teal));
    border-radius: 4px 0 0 4px;
}

.caselet-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(159, 103, 245, 0.7);
    margin-bottom: 8px;
}

.caselet-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--purple-light);
    margin-bottom: 10px;
    line-height: 1.4;
}

.caselet-pain {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
    margin-bottom: 10px;
}

.caselet-summary {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    margin-bottom: 12px;
}

.caselet-signals {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.caselet-signals li {
    font-size: 13px;
    color: var(--teal-light);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.caselet-signals li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-size: 11px;
}

/* ─── PROOF STACK ─── */

.proof-toggle-wrap {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.proof-toggle {
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.28);
    background: transparent;
    border: none;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: color var(--transition);
}

.proof-toggle:hover {
    color: rgba(255, 255, 255, 0.55);
}

.proof-stack {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Courier New', monospace;
}

.proof-stack h4 {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    margin-bottom: 8px;
    margin-top: 16px;
    font-family: inherit;
}

.proof-stack h4:first-child {
    margin-top: 0;
}

.proof-stack p,
.proof-stack li {
    margin-bottom: 4px;
    line-height: 1.5;
}

.proof-stack ul {
    list-style: none;
    padding-left: 12px;
}

.proof-stack li::before {
    content: '→ ';
    color: var(--teal);
}

/* ─── FOOTER ─── */

.site-footer {
    background: #060610;
    padding: 22px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-inner a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-inner a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ─── HERO COMPRESSED STATE ─── */

.hero.compressed {
    padding: 28px 32px;
    min-height: auto;
}

.hero.compressed .hero-label,
.hero.compressed .hero-headline,
.hero.compressed .hero-sub {
    display: none;
}

.hero.compressed .input-wrap {
    margin-bottom: 12px;
    max-width: 100%;
}

.hero.compressed .chips {
    margin-bottom: 0;
}

.hero.compressed .samples {
    display: none;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 768px) {
    .header-inner {
        padding: 14px 20px;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-logo {
        height: 36px;
    }

    .hero {
        padding: 48px 20px 40px;
        min-height: auto;
    }

    .hero.compressed {
        padding: 20px;
    }

    .response-area {
        padding: 32px 20px 80px;
    }

    .input-wrap {
        flex-direction: column;
    }

    .input-wrap button {
        width: 100%;
    }

    .construct-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .people-grid {
        grid-template-columns: 1fr;
    }

    .thinking-nodes {
        gap: 0;
    }

    .tnode-line {
        min-width: 30px;
    }

    .response-canvas {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .construct-cards-grid {
        grid-template-columns: 1fr;
    }

    .chips {
        gap: 8px;
    }

    .chip {
        font-size: 12px;
        padding: 8px 14px;
    }
}