/* ============================================
   Juhend v2: PDF-stiilis struktuur, tume-kuld
   Laeb style.css JÄREL. Piloot: setup/manfred.html
   ============================================ */

:root {
    --gold: #d9b45a;
    --gold-bright: #e8c675;
    --gold-dim: #a8893f;
    --gold-soft: rgba(217, 180, 90, 0.09);
    --gold-line: rgba(217, 180, 90, 0.28);
    --card: rgba(18, 18, 24, 0.82);
    --border: rgba(255, 255, 255, 0.07);
    --border-hi: rgba(255, 255, 255, 0.13);
    --text-soft: #b9b9c3;
}

/* --- Kirjatüübid õhemaks --- */
.part h2 { font-weight: 600; letter-spacing: -0.4px; }
.step-title { font-weight: 600; letter-spacing: -0.2px; font-size: clamp(1.3rem, 2.4vw, 1.75rem); padding-top: 4px; }
.topbar-brand, .topbar-brand strong { font-weight: 600; }
.hero-meta-num { font-weight: 600; }
.hero-cta { font-weight: 600; letter-spacing: 1px; box-shadow: 0 10px 28px rgba(217, 180, 90, 0.18); }
.hero-cta:hover { box-shadow: 0 14px 34px rgba(217, 180, 90, 0.28); }
.step-body strong { font-weight: 600; }
.side-strip-label, .side-strip-heading { font-weight: 600 !important; }
.step-body code { font-weight: 600; }

.hero-eyebrow {
    color: var(--gold);
    background: transparent;
    border: 0;
    padding: 0;
    letter-spacing: 3px;
    font-weight: 600;
}

/* --- Teekonna ülevaade (nagu PDF-i kaanel) --- */
.v2-route {
    max-width: 640px;
    margin: 8px auto 36px;
    text-align: left;
}
.v2-route-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}
.v2-route a {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.v2-route a:last-child { border-bottom: 0; }
.v2-route a:hover { color: var(--text); background: rgba(255, 255, 255, 0.02); }
.v2-route-num {
    flex-shrink: 0;
    width: 44px;
    height: 38px;
    border-radius: 10px;
    background: var(--gold-soft);
    border: 1px solid var(--gold-line);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
}
.v2-route-title { flex: 1; font-weight: 500; font-size: 1.02rem; line-height: 1.3; }
.v2-route-sub { display: block; color: var(--text-dim); font-size: 0.85rem; font-weight: 400; margin-top: 2px; }
.v2-route-arrow { color: var(--gold-dim); font-size: 0.9rem; }

/* --- Faasi päis: väiksem number, rohkem õhku --- */
.part { margin: 110px auto 28px; text-align: left; max-width: 820px; padding: 0 16px; }
.part-num { display: none; }
.part-tag { margin-bottom: 10px; letter-spacing: 3px; font-weight: 600; }
.part h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.part-sub { margin: 0; max-width: none; }
.part-line { margin: 22px 0 0; width: 100%; height: 1px; background: var(--border-hi); }

/* --- Samm --- */
.step {
    padding: 34px 36px 32px;
    border-radius: 20px;
    margin-bottom: 26px;
    backdrop-filter: none;
}

/* Faasiriba iga sammu kohal */
.v2-progress { margin-bottom: 26px; }
.v2-progress-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}
.v2-progress-bar { display: flex; gap: 8px; }
.v2-progress-bar span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); }
.v2-progress-bar span.done { background: var(--gold-line); }
.v2-progress-bar span.on { background: var(--gold); }

.step-head { gap: 20px; margin-bottom: 20px; align-items: center; }
.step-num {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gold-soft);
    border: 1px solid var(--gold-line);
    color: var(--gold);
    font-weight: 600;
    font-size: 1.25rem;
    box-shadow: none;
}
.step-body { font-size: 1.02rem; line-height: 1.7; }

/* --- Märkuse kastid --- */
.callout, .callout.cyan, .callout-warn {
    border-left: 0;
    border-radius: 14px;
    padding: 18px 22px;
    margin: 18px 0;
    font-size: 0.96rem;
    line-height: 1.6;
}
.callout { background: var(--gold-soft); border: 1px solid rgba(217, 180, 90, 0.16); }
.callout.cyan { background: rgba(255, 255, 255, 0.035); border: 1px solid var(--border-hi); }
.callout.cyan strong { color: var(--text); }
.callout-warn { background: rgba(255, 107, 107, 0.06); border: 1px solid rgba(255, 107, 107, 0.22); }

.callout::before, .callout-warn::before {
    display: block;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
:lang(et) .callout::before { content: "Märkus"; color: var(--gold); }
:lang(et) .callout.cyan::before { content: "Nipp"; color: var(--text-dim); }
:lang(et) .callout-warn::before { content: "Tähtis"; color: var(--red); }
:lang(en) .callout::before { content: "Note"; color: var(--gold); }
:lang(en) .callout.cyan::before { content: "Tip"; color: var(--text-dim); }
:lang(en) .callout-warn::before { content: "Important"; color: var(--red); }
:lang(fi) .callout::before { content: "Huom"; color: var(--gold); }
:lang(fi) .callout.cyan::before { content: "Vinkki"; color: var(--text-dim); }
:lang(fi) .callout-warn::before { content: "Tärkeää"; color: var(--red); }

/* --- Ekraanipilt raamis + silt --- */
.step-shot {
    margin-top: 26px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}
.step-shot:hover { transform: none; }
.step-shot img { border-radius: 14px; border: 1px solid var(--border-hi); transition: border-color 0.2s var(--ease); }
.step-shot:hover img { border-color: var(--gold-line); }
.step-shot::before {
    display: block;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin: 2px 4px 12px;
}
:lang(et) .step-shot::before { content: "Platvormi vaade"; }
:lang(en) .step-shot::before { content: "Platform view"; }
:lang(fi) .step-shot::before { content: "Näkymä alustalla"; }

/* --- Lingikaart --- */
.link-card { background: var(--gold-soft); border-color: var(--gold-line); border-radius: 16px; }
.link-card-label { font-weight: 600; }

@media (max-width: 700px) {
    .step { padding: 24px 18px 22px; border-radius: 16px; }
    .step-num { width: 46px; height: 46px; font-size: 1.05rem; }
    .part { margin-top: 80px; }
    .v2-route a { gap: 14px; }
}
