.hero {
    padding-top: 0;
    padding-bottom: 48px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--ink-mute);
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,0.015);
}

.eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--good);
    box-shadow: 0 0 0 3px rgba(95,191,138,0.18);
    flex-shrink: 0;
}

.hero h1 {
    font-family: var(--font-sans);
    font-size: clamp(40px, 6.4vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.035em;
    margin: 22px 0 0;
    max-width: 16ch;
    font-weight: 600;
    text-wrap: balance;
}

.hero h1 em {
    font-style: normal;
    font-weight: 200;
    color: var(--ink-mute);
}

.hero .lede {
    margin-top: 22px;
    max-width: 56ch;
    color: var(--ink-mute);
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.55;
}

.hero .ctas {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.open-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 28px;
    background: rgba(50, 54, 57, 0.45);
    border-radius: var(--radius-md);
    color: var(--ink-mute);
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
    position: relative;
    /* gestrichelte Border via outline-offset trick — SVG-Ansatz */
    outline: 1.5px dashed var(--line-strong);
    outline-offset: 0px;
}

.open-btn::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(50, 54, 57, 0.45);
    transition: border-top-color .2s;
}

.open-btn:hover {
    background: rgba(50, 54, 57, 0.75);
    outline-color: var(--accent);
    color: var(--ink);
}

.open-btn:hover::after {
    border-top-color: rgba(50, 54, 57, 0.75);
}

.open-btn svg {
    color: var(--ink-mute);
    transition: color .2s;
    margin-bottom: 2px;
}

.open-btn:hover svg { color: var(--accent); }

.open-btn-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.open-btn-sub {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--ink-soft);
}

.hero .ctas .meta {
    color: var(--ink-soft);
    font-size: 13px;
    font-family: var(--font-mono);
    margin-left: 6px;
}

/* ── Stage preview ── */
.stage {
    margin-top: 56px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.03) inset,
        0 30px 80px -30px rgba(0,0,0,0.65);
}

.stage-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
}

.stage-tools {
    display: flex;
    align-items: center;
    gap: 2px;
}

.stage-tools .sep {
    width: 1px;
    height: 20px;
    background: var(--line);
    margin: 0 8px;
}

.stage-tool {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    color: var(--ink);
    border: 1px solid transparent;
    background: transparent;
}

.stage-tool:hover { background: var(--bg-3); }
.stage-tool.is-active { background: var(--bg-3); border-color: var(--line-strong); }
.stage-tool svg { width: 18px; height: 18px; }

.stage-canvas {
    position: relative;
    height: 480px;
    background:
        radial-gradient(1200px 500px at 50% 110%, rgba(43,127,255,0.10), transparent 60%),
        var(--bg-1);
    overflow: hidden;
}

@media (max-width: 720px) { .stage-canvas { height: 380px; } }

.stage-doc {
    position: absolute;
    top: 38px;
    left: 50%;
    transform: translateX(-50%);
    width: min(560px, 80%);
    aspect-ratio: 4/3;
    background: #f4f5f6;
    border-radius: var(--radius-sm);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
    overflow: hidden;
    color: #20242a;
}

.stage-doc-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid #e3e6e9;
}

.stage-doc-head .pip {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d4d8dd;
}

.stage-doc-head .title {
    margin-left: 4px;
    color: #6c757e;
    font-size: 11px;
    font-family: var(--font-mono);
}

.stage-doc-body {
    padding: 20px 24px;
    font-size: 13px;
    line-height: 1.6;
}

.stage-doc-body h3 {
    margin: 0 0 8px;
    font-size: 16px;
    letter-spacing: -0.01em;
    color: #1c2024;
}

.stage-doc-body p {
    margin: 0 0 10px;
    color: #3a4047;
}

.stage-doc-body .row {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.stage-doc-body .card {
    flex: 1;
    height: 80px;
    background: #fff;
    border: 1px solid #e3e6e9;
    border-radius: var(--radius-sm);
}

.stage-doc-body .card.alt { background: #eef1f4; }

/* annotations */
.stage-anno { position: absolute; pointer-events: none; }

.stage-anno-rect {
    left: calc(50% - min(560px,80%)/2 + 24px);
    top: 120px;
    width: 200px;
    height: 32px;
    border: 2px solid #ff5d5d;
    border-radius: 3px;
    box-shadow: 0 0 0 4px rgba(255,93,93,0.12);
}

.stage-anno-rect-tag {
    position: absolute;
    top: -20px;
    left: -2px;
    background: #ff5d5d;
    color: white;
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
}

.stage-anno-arrow {
    left: 60%;
    top: 210px;
    width: 200px;
    height: 80px;
}

.stage-anno-arrow svg { overflow: visible; }

.stage-anno-circle {
    left: calc(50% - 50px);
    top: 320px;
    width: 110px;
    height: 110px;
    border: 2px dashed #ffbe3b;
    border-radius: 50%;
}

.stage-anno-text {
    left: calc(50% + 65px);
    top: 340px;
    font-family: var(--font-sans);
    font-style: italic;
    font-size: 18px;
    color: #ffbe3b;
    transform: rotate(-3deg);
}

/* collaborator pins */
.stage-pin {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-3);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 4px 10px 4px 4px;
    color: var(--ink);
    font-size: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.stage-pin .avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 600;
    font-size: 11px;
}

.stage-pin-1 { top: 80px; left: 5%; }
.stage-pin-1 .avatar { background: #ff7a59; }
.stage-pin-2 { top: 340px; right: 5%; }
.stage-pin-2 .avatar { background: var(--accent); }
.stage-pin-3 { bottom: 24px; left: 10%; }
.stage-pin-3 .avatar { background: var(--good); }
