/* Public landing page — focused product story */

.hero {
}

.hero::before {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -34%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(125, 223, 245, 0.11), transparent 66%);
    pointer-events: none;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
    gap: clamp(34px, 6vw, 76px);
    align-items: center;
}

.hero-heading-block {
    min-width: 0;
    align-self: start;
}

.hero-eyebrow {
    color: var(--accent);
}

.hero-product {
    margin: 0;
    font-family: var(--font-ui);
    font-size: clamp(1.95rem, 2.7vw, 2.45rem);
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.04;
}

.hero-byline {
    margin: 10px 0 0;
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1.4;
}

.hero-byline strong {
    color: var(--text-soft);
}

.hero-message {
    max-width: 15ch;
    margin: clamp(22px, 2.8vw, 32px) 0 0;
    font-family: var(--font-ui);
    font-size: clamp(2.15rem, 3.3vw, 2.95rem);
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.14;
}

.hero-supporting {
    max-width: 610px;
    margin: 16px 0 0;
    color: var(--text-soft);
    font-size: clamp(1.05rem, 1.2vw, 1.12rem);
    line-height: 1.6;
}

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

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.035);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

/* Hero comparison */

.hero-preview {
    padding: clamp(24px, 3vw, 32px);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(125, 223, 245, 0.075), transparent 42%),
        rgba(3, 9, 13, 0.42);
    box-shadow: var(--shadow);
}

.hero-preview__kicker {
    margin: 0 0 22px;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero-preview__match {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.hero-preview__team {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.hero-preview__team--away {
    justify-content: flex-end;
}

.hero-preview__crest {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.22));
}

.hero-preview__team-name {
    min-width: 0;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.hero-preview__versus {
    color: var(--text-muted);
}

.hero-preview__outcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    color: var(--text-muted);
    font-size: 0.84rem;
}

.hero-preview__outcome strong {
    color: var(--text-soft);
    font-size: 0.94rem;
}

.hero-preview__outcome b {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-right: 4px;
    border: 1px solid rgba(125, 223, 245, 0.35);
    border-radius: var(--radius-sm);
    background: var(--accent-wash);
    color: var(--accent);
    font-family: var(--font-display);
}

.comparison-bars {
    display: grid;
    gap: 16px;
    padding: 18px 0 22px;
    border-top: 1px solid var(--line);
}

.comparison-bar {
    display: grid;
    gap: 8px;
}

.comparison-bar__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    color: var(--text-soft);
    font-size: 0.84rem;
}

.comparison-bar__head strong {
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.6vw, 2.35rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.035em;
}

.comparison-bar__track {
    height: 9px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
}

.comparison-bar__fill {
    display: block;
    height: 100%;
    min-width: 2px;
    border-radius: inherit;
}

.comparison-bar__fill--model {
    background: var(--accent);
}

.comparison-bar__fill--market {
    background: var(--bet);
}

.hero-preview__difference {
    display: grid;
    gap: 7px;
    padding: 18px 20px;
    border: 1px solid rgba(125, 223, 245, 0.24);
    border-radius: var(--radius-md);
    background: var(--accent-wash);
}

.hero-preview__difference strong {
    color: var(--accent-strong);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.hero-preview__difference span {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.5;
}

.hero-preview__note {
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Shared landing sections */

.marketing-section {
    padding: clamp(28px, 4vw, 48px);
}

.section-head {
    margin-bottom: 26px;
}

.section-title--large {
    max-width: 26ch;
    font-size: clamp(1.55rem, 2.1vw, 1.85rem);
}

.section-ingress strong {
    color: var(--text);
    font-weight: 700;
}

.section-link {
    margin-top: 18px;
}

/* Desire / analysis glimpse */

.desire-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1.22fr);
    align-items: center;
    gap: clamp(34px, 6vw, 78px);
}

.desire-copy .btn-tertiary,
.proof-copy .btn-tertiary {
    margin-top: 18px;
}

.analysis-glimpse,
.performance-glimpse {
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(125, 223, 245, 0.06), transparent 45%),
        rgba(255, 255, 255, 0.035);
}

.analysis-glimpse__top,
.performance-glimpse__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.analysis-glimpse__labels {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0 18px 18px;
}

.analysis-glimpse__labels span {
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
}

/* Three-step story */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.step {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.035);
}

.step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 28px;
    margin-bottom: 24px;
    padding: 0 9px;
    border: 1px solid rgba(125, 223, 245, 0.22);
    border-radius: var(--radius-sm);
    background: rgba(125, 223, 245, 0.1);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
}

.step__title {
    margin: 0 0 9px;
    font-family: var(--font-ui);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.step__body {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.6;
}

/* Proof glimpse */

.proof-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
    align-items: center;
    gap: clamp(34px, 6vw, 76px);
}

.proof-copy {
    display: grid;
    align-content: start;
}

.proof-copy .section-ingress + .section-ingress {
    margin-top: 10px;
}

.performance-glimpse__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 18px;
}

.performance-glimpse__metrics > div {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.035);
}

.performance-glimpse__metrics span,
.performance-glimpse__metrics small {
    color: var(--text-muted);
    font-size: 0.7rem;
    line-height: 1.4;
}

.performance-glimpse__metrics strong {
    color: var(--accent-strong);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    letter-spacing: -0.05em;
    line-height: 1;
}

.performance-glimpse__note {
    margin: 0;
    padding: 0 18px 18px;
    color: var(--text-muted);
    font-size: 0.74rem;
    line-height: 1.5;
}

.proof-disclaimer {
    margin: 24px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

/* Final conversion */

.end-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: clamp(30px, 4vw, 46px);
    border: 1px solid rgba(125, 223, 245, 0.2);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(125, 223, 245, 0.11), transparent 42%),
        var(--panel);
    box-shadow: var(--shadow);
}

.end-cta__copy {
    max-width: 650px;
}

.end-cta__title {
    margin: 0 0 12px;
    font-family: var(--font-ui);
    font-size: clamp(1.75rem, 2.4vw, 2.05rem);
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.14;
}

.end-cta__body {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.65;
}

.end-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

@media (max-width: 1000px) {
    .hero__grid,
    .desire-grid,
    .proof-layout {
        grid-template-columns: 1fr;
    }

    .hero-message {
        max-width: 16ch;
    }

    .analysis-glimpse,
    .performance-glimpse {
        max-width: 760px;
    }
}

@media (max-width: 760px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .performance-glimpse__metrics {
        grid-template-columns: 1fr;
    }

    .step__number {
        margin-bottom: 16px;
    }
}

@media (max-width: 600px) {
    .hero__grid {
        gap: 22px;
    }

    /* Produktidentiteten på en rad. Som två block kostade den drygt 60px
       höjd innan H1 ens börjat — samma varumärke, en bråkdel av ytan. */
    .hero-product,
    .hero-byline {
        display: inline;
        font-size: 1.02rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        line-height: 1.3;
    }

    .hero-product {
        color: var(--text);
        text-transform: uppercase;
    }

    .hero-byline {
        margin: 0;
        color: var(--text-muted);
        text-transform: none;
    }

    .hero-byline::before {
        content: " ";
    }

    .hero-byline strong {
        font-weight: 700;
    }

    .hero-message {
        margin-top: 14px;
        font-size: clamp(2.05rem, 8.8vw, 2.25rem);
        line-height: 1.08;
    }

    .hero-supporting {
        margin-top: 12px;
    }

    /* Badgesen upprepar ingressens tre påståenden. På mobil kostar de två
       rader i det utrymme där aha-exemplet behöver komma fram. */
    .hero-badges {
        display: none;
    }

    .hero-actions,
    .end-cta__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 20px;
    }

    .hero-actions .btn-primary,
    .end-cta__actions .btn-primary {
        width: 100%;
    }

    .hero-actions .btn-tertiary,
    .end-cta__actions .btn-tertiary {
        justify-content: center;
        min-height: 40px;
    }

    .hero-preview {
        padding: 21px;
    }

    .hero-preview__crest {
        width: 34px;
        height: 34px;
    }

    .hero-preview__team-name {
        font-size: 0.95rem;
    }

    .marketing-section {
        padding: 22px 18px;
        border-radius: 24px;
    }

    /* Tre steg: numrerad sekvens i stället för tre fullbreddskort med stor
       padding kring två rader text. */
    .step {
        padding: 14px 0 0;
        border: 0;
        border-top: 1px solid var(--line);
        border-radius: 0;
        background: none;
    }

    .step:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .step__title {
        font-size: 1rem;
    }

    .step__body {
        margin-top: 4px;
        font-size: 0.92rem;
        line-height: 1.5;
    }

    /* Slut-CTA ska läsa som avslut, inte som en andra hero. */
    .end-cta {
        padding: 22px 18px;
        border-radius: 24px;
    }

    .end-cta__title {
        font-size: 1.6rem;
    }

    .analysis-glimpse__labels {
        padding-inline: 14px;
    }

    .end-cta {
        align-items: stretch;
        padding: 26px 22px;
    }
}
