/*
 * Tela Network v2 — homepage-only sections.
 * Loads after v2_tokens, v2_typography, v2_components, v2_layout.
 */

.v2-home-section--hero {
    --v2-text-hero-sm: 2.125rem;
    --v2-text-hero-md: 2.75rem;
    --v2-text-hero-lg: 3.25rem;

    border-bottom: 1px solid var(--v2-rule);
    padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
    .v2-home-section--hero {
        padding-bottom: 5rem;
    }
}

.v2-home-hero-eyebrow {
    margin: 0;
}

.v2-home-hero-title {
    font-size: var(--v2-text-hero-sm);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin: 1.25rem 0 0;
    max-width: 48rem;
}

@media (min-width: 640px) {
    .v2-home-hero-title {
        font-size: var(--v2-text-hero-md);
    }
}

@media (min-width: 768px) {
    .v2-home-hero-title {
        font-size: var(--v2-text-hero-lg);
    }
}

.v2-home-hero-subline {
    color: var(--v2-muted-foreground);
    font-family: var(--v2-font-serif);
    font-size: var(--v2-text-md);
    line-height: 1.625;
    margin: 1.25rem 0 0;
    max-width: 36rem;
}

.v2-home-hero-cta-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.v2-home-glance {
    margin-top: 2.5rem;
    max-width: 42rem;
}

.v2-home-glance-label {
    margin: 0;
}

.v2-home-glance-grid {
    border-top: 1px solid var(--v2-rule);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0.75rem 0 0;
}

@media (min-width: 640px) {
    .v2-home-glance-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.v2-home-glance-grid > div {
    border-bottom: 1px solid var(--v2-rule);
    padding: 1rem 1rem 1rem 0;
}

.v2-home-glance-value {
    font-size: 1.375rem;
    line-height: 1;
    margin: 0;
}

.v2-home-glance-grid dt {
    margin: 0.5rem 0 0;
}

.v2-home-section--record {
    padding-block: 3rem;
}

@media (min-width: 768px) {
    .v2-home-section--record {
        padding-block: 3.5rem;
    }
}

.v2-home-grid-record {
    display: grid;
    gap: 1.5rem 2.5rem;
}

@media (min-width: 768px) {
    .v2-home-grid-record {
        grid-template-columns: 1fr 16rem;
    }
}

.v2-home-record-grid {
    border-bottom: 1px solid var(--v2-border);
    margin-top: 1.5rem;
    padding-bottom: 2rem;
}

.v2-home-record-parties {
    font-size: var(--v2-text-md);
    font-weight: 500;
    line-height: 1.375;
    margin: 0.75rem 0 0;
}

@media (min-width: 640px) {
    .v2-home-record-parties {
        font-size: 1.5rem;
    }
}

.v2-home-record-date {
    margin: 0.75rem 0 0;
}

.v2-home-record-summary {
    font-family: var(--v2-font-serif);
    font-size: 1.0625rem;
    line-height: 1.625;
    margin: 1rem 0 0;
    max-width: 36rem;
}

.v2-home-record-link {
    display: inline-block;
    margin-top: 1.5rem;
}

.v2-home-record-aside {
    border-top: 1px solid var(--v2-rule);
    padding-top: 1rem;
}

@media (min-width: 768px) {
    .v2-home-record-aside {
        border-left: 1px solid var(--v2-rule);
        border-top: 0;
        padding-left: 2rem;
        padding-top: 0;
    }
}

.v2-home-record-aside-copy {
    font-size: var(--v2-text-base);
    line-height: 1.5;
    margin: 1rem 0 0;
}

.v2-home-record-aside-disclaimer {
    font-size: var(--v2-text-sm);
    line-height: 1.625;
    margin: 1.25rem 0 0;
}

.v2-home-section--steps {
    padding-bottom: 3.5rem;
}

.v2-home-section--steps .v2-home-grid-steps {
    margin-top: 1.5rem;
}

.v2-home-grid-steps {
    border-bottom: 1px solid var(--v2-border);
    display: grid;
    gap: 0;
}

@media (min-width: 768px) {
    .v2-home-grid-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.v2-home-step {
    border-top: 1px solid var(--v2-border);
    padding-block: 1.25rem;
}

@media (min-width: 768px) {
    .v2-home-step {
        border-top: 0;
        padding-inline-end: 2rem;
    }
}

.v2-home-step-heading {
    align-items: baseline;
    display: flex;
    gap: 0.75rem;
}

.v2-home-step-num {
    font-size: var(--v2-text-sm);
}

.v2-home-step-title {
    font-size: var(--v2-text-base);
    font-weight: 600;
    margin: 0;
}

.v2-home-step-body {
    font-size: var(--v2-text-base);
    line-height: 1.625;
    margin: 0.625rem 0 0;
}

.v2-home-section--forum {
    padding-bottom: 1.5rem;
}

.v2-home-forum-bridge {
    font-size: var(--v2-text-base);
    line-height: 1.5;
    margin: 1rem 0 0;
    max-width: 32rem;
}

.v2-home-forum-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}
