.team-guide {
    width: min(100% - 32px, 1080px);
    margin: 0 auto;
    padding: clamp(28px, 6vw, 72px) 0 80px;
}

.team-guide-hero {
    padding: clamp(24px, 5vw, 56px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-md);
}

.team-guide-kicker {
    margin-bottom: 10px;
    color: var(--accent-hover);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.team-guide-hero h1 {
    max-width: 820px;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.25;
}

.team-guide-lede {
    max-width: 790px;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.16rem);
    line-height: 1.9;
}

.team-guide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.team-guide-actions .btn,
.team-guide-planning > .btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.team-guide-note {
    max-width: 760px;
    margin-top: 24px;
    padding-left: 14px;
    border-left: 3px solid var(--accent);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.team-guide-section {
    margin-top: clamp(48px, 7vw, 76px);
}

.team-guide-section-heading {
    max-width: 740px;
    margin-bottom: 26px;
}

.team-guide-section-heading h2,
.team-guide-planning h2,
.team-guide-more h2 {
    margin-bottom: 10px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.35;
}

.team-guide-section-heading > p:last-child,
.team-guide-planning > div > p:last-child {
    color: var(--text-secondary);
    line-height: 1.8;
}

.team-guide-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.team-guide-fact {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-card);
}

.team-guide-fact h3,
.team-guide-steps h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.team-guide-fact p,
.team-guide-steps p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.team-guide-steps {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.team-guide-steps li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-card);
}

.team-guide-calculator {
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
}

.team-guide-calculator .team-guide-section-heading {
    margin-bottom: 22px;
}

.team-guide-calculator-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.team-guide-calculator-fields label {
    display: grid;
    gap: 8px;
    color: var(--text-primary);
    font-size: 0.94rem;
    font-weight: 600;
}

.team-guide-calculator-fields input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    color: var(--text-primary);
    font: inherit;
}

.team-guide-calculator-fields input:focus-visible {
    outline: 2px solid var(--accent-hover);
    outline-offset: 2px;
}

.team-guide-calculator-note,
.team-guide-calculator-results > p {
    margin: 16px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.team-guide-calculator-form > .btn,
.team-guide-calculator-results .btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.team-guide-calculator-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.team-guide-calculator-copy-status {
    min-height: 1.5em;
    margin: 12px 0 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.team-guide-calculator-copy-fallback label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.team-guide-calculator-copy-fallback textarea {
    width: 100%;
    min-height: 160px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font: inherit;
    line-height: 1.6;
}

.team-guide-calculator-copy-fallback textarea:focus-visible {
    outline: 2px solid var(--accent-hover);
    outline-offset: 2px;
}

.team-guide-calculator-error {
    margin-top: 14px;
    color: var(--danger);
    line-height: 1.7;
}

.team-guide-calculator-results {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-card);
}

.team-guide-calculator-results[hidden],
.team-guide-calculator-error[hidden] {
    display: none;
}

.team-guide-calculator-results dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.team-guide-calculator-results dt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.team-guide-calculator-results dd {
    margin: 6px 0 0;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.team-guide-step-number {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-subtle);
    color: var(--accent-hover);
    font-size: 0.82rem;
    font-weight: 700;
}

.team-guide-planning {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    gap: 14px 32px;
    align-items: center;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
}

.team-guide-planning ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.team-guide-planning > .btn {
    justify-self: start;
}

.team-guide-faq-list {
    border-top: 1px solid var(--border);
}

.team-guide-faq-list details {
    border-bottom: 1px solid var(--border);
}

.team-guide-faq-list summary {
    position: relative;
    padding: 18px 36px 18px 4px;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.6;
    cursor: pointer;
}

.team-guide-faq-list summary::marker {
    color: var(--accent-hover);
}

.team-guide-faq-list p {
    max-width: 850px;
    padding: 0 8px 20px 4px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.team-guide-more {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    align-items: baseline;
    margin-top: 52px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.team-guide-more h2 {
    width: 100%;
    margin-bottom: 2px;
}

.team-guide-more a {
    line-height: 1.7;
}

@media (max-width: 768px) {
    .team-guide-facts,
    .team-guide-planning,
    .team-guide-calculator-fields,
    .team-guide-calculator-results dl {
        grid-template-columns: 1fr;
    }

    .team-guide-planning > .btn {
        justify-self: stretch;
    }
}

@media (max-width: 480px) {
    .team-guide {
        width: min(100% - 24px, 1080px);
        padding-bottom: 56px;
    }

    .team-guide-steps li {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
        padding: 17px;
    }

    .team-guide-step-number {
        width: 36px;
        height: 36px;
    }
}
