/* Annonsernas landningssidor, först /vuxit-ur-fortnox (brief 2026-11-16, avsnitt 3–4).
   Prefix lp-. Typsnitt och knappar kommer från startsidans hp-stilar i style.css; färgerna
   följer briefens designreferens. Platta ytor, inga gradienter. */

.lp {
    --lp-primary: #6D3EFF;
    --lp-ink: #16004F;
    --lp-body: #2A1B5E;
    --lp-muted: #6B6480;
    --lp-soft: #ADA9FF;
    --lp-tint: #EFEDFF;
    --lp-gray: #FAFAFA;
    --lp-light: #F2F2F2;
    --lp-border: #E4E4E7;
    --lp-border-strong: #D4D4D8;
    color: var(--lp-body);
    font-family: var(--hp-sans);
    font-size: 16px;
    line-height: 1.6;
    background: #fff;
    overflow-x: clip;
}
.lp *:focus-visible { outline: 3px solid var(--lp-primary); outline-offset: 2px; }
/* FocusOnNavigate (Routes.razor) ger H1 tabindex="-1" och fokus vid laddning, för skärmläsarna.
   Regeln ovan gav då en lila ram runt rubriken för alla besökare (brief 4 A2). Fokus behålls. */
.lp h1[tabindex="-1"]:focus, .lp h1[tabindex="-1"]:focus-visible { outline: none; }
.lp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.lp-wrap--narrow { max-width: 800px; }
.lp-sec { padding: 88px 0; background: #fff; position: relative; }
.lp-sec--gray { background: var(--lp-gray); }
.lp-sec--light { background: var(--lp-light); }
.lp-sec--line { border-top: 1px solid var(--lp-border); }
.lp-sec--primary { background: var(--lp-primary); color: #fff; }
.lp-sec--ink { background: var(--lp-ink); color: #fff; overflow: hidden; }

.lp-eyebrow {
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500;
    color: var(--lp-primary); margin: 0 0 12px;
}
/* Lavendel på lila ger 2,6:1; vit ger 5,6:1. På bläck räcker lavendel (8:1). */
.lp-sec--primary .lp-eyebrow { color: #fff; }
.lp-sec--ink .lp-eyebrow { color: var(--lp-soft); }
.lp h1, .lp h2, .lp h3 { color: var(--lp-ink); font-weight: 400; margin: 0; }
.lp h1 { font-size: 48px; line-height: 1.15; letter-spacing: -0.01em; }
.lp h2 { font-size: 36px; line-height: 1.2; margin-bottom: 16px; }
.lp h3 { font-size: 20px; line-height: 1.3; font-weight: 500; margin-bottom: 8px; }
.lp-sec--primary h2, .lp-sec--ink h2, .lp-sec--ink h3 { color: #fff; }
.lp-lead { font-family: var(--hp-serif); font-size: 20px; line-height: 1.5; color: var(--lp-body); margin: 20px 0 0; }
.lp-head { max-width: 760px; margin-bottom: 40px; }
.lp-head p { margin: 0; }
.lp-nowrap { white-space: nowrap; }

/* Knappar: hp-btn-primary/hp-btn-ghost, med 44 px klickyta */
.lp .hp-btn-primary, .lp .hp-btn-ghost { min-height: 44px; }
.lp-btn-light { background: #fff; color: var(--lp-primary); border-color: #fff; }
.lp-btn-light:hover { background: var(--lp-tint); border-color: var(--lp-tint); color: var(--lp-primary); }

/* A1 Topprad */
.lp-top { border-bottom: 1px solid var(--lp-border); background: #fff; }
.lp-top .lp-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.lp-top img { height: 28px; width: auto; }
.lp-top-right { display: flex; align-items: center; gap: 20px; }
.lp-top-note { font-size: 14px; color: var(--lp-muted); }
.lp-top .hp-btn-primary { padding: 0.6rem 1.25rem; }
@media (max-width: 639px) { .lp-top-note { display: none; } }

/* A2 Hjälte */
.lp-hero { padding: 72px 0 88px; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.lp-hero-text { display: contents; }
.lp-hero-intro { grid-column: 1; grid-row: 1; }
.lp-hero-rest { grid-column: 1; grid-row: 2; }
.lp-hero-form { grid-column: 2; grid-row: 1 / span 2; }
.lp-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.lp-points li { display: flex; gap: 12px; align-items: flex-start; }
.lp-points i { color: var(--lp-primary); margin-top: 5px; }
.lp-proof { margin: 24px 0 0; }
.lp-proof a { color: var(--lp-primary); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.lp-form-card .saas-card { box-shadow: 0 12px 40px rgba(22, 0, 79, 0.10); border: 0 !important; border-radius: 12px; }
.lp-form-card h2 { font-size: 24px; margin: 0 0 8px; }
.lp-form-card .lp-form-text { margin: 0 0 20px; color: var(--lp-muted); }
.lp-form-after { margin: 14px 0 0; font-size: 14px; color: var(--lp-muted); text-align: center; }
.lp-form-card section { padding: 0 !important; }
.lp-form-card section > div { padding: 0 !important; }
.lp-form-card section > div > div { max-width: none !important; }

/* A3 Film */
.lp-film { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; align-items: center; }
.lp-film .nws-figure { margin: 0; }
.lp-film video { width: 100%; aspect-ratio: 16 / 9; height: auto; background: var(--lp-ink); border-radius: 8px; }

/* A4 Kort med siffra */
.lp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lp-card { background: #fff; border: 1px solid var(--lp-border); border-radius: 10px; padding: 28px; }
.lp-card-num { font-size: 40px; line-height: 1; color: var(--lp-primary); display: block; margin-bottom: 16px; }
.lp-card p { margin: 0; }
.lp-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-cards--two .lp-card h3 { margin-top: 0; }
.lp-story h3 { font-size: 26px; margin-bottom: 4px; }
.lp-story .lp-story-meta { font-size: 15px; color: var(--lp-muted); }
.lp-story .lp-story-label { margin: 18px 0 4px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lp-primary); }
.lp-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-chips li { border: 1px solid var(--lp-border); border-radius: 999px; padding: 4px 12px; font-size: 14px; background: var(--lp-gray); }

/* A5 Tre kolumner med bild */
.lp-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.lp-col .ds-shot { margin-bottom: 20px; }
.lp-col .ds-shot img { border: 1px solid var(--lp-border); border-radius: 8px; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; object-position: top left; background: var(--lp-gray); }
.lp-col .ds-shot figcaption { font-size: 13px; }
.lp-col p { margin: 0; }

/* A6 Tabell */
.lp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 24px; border: 1px solid var(--lp-border); border-radius: 8px; background: #fff; }
.lp-table { width: 100%; min-width: 620px; border-collapse: collapse; }
.lp-table th, .lp-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--lp-border); vertical-align: top; }
.lp-table thead th { font-weight: 500; color: var(--lp-ink); background: var(--lp-tint); }
.lp-table tbody th { font-weight: 500; color: var(--lp-ink); width: 22%; }
.lp-table tr:last-child th, .lp-table tr:last-child td { border-bottom: 0; }
.lp-link { color: var(--lp-primary); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* A7 Kundcase */
.lp-case { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lp-case--full { grid-template-columns: minmax(0, 1fr); }
.lp-case--full p { max-width: 640px; }
.lp-case-num { font-size: 56px; line-height: 1.1; color: #fff; display: block; margin: 4px 0 12px; }
.lp-case p { margin: 0 0 20px; color: #fff; }
.lp-case a { color: #fff; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* A8 Steg */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.lp-steps li { border-top: 2px solid var(--lp-border-strong); padding-top: 20px; }
.lp-step-when { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; color: var(--lp-primary); display: block; margin-bottom: 8px; }
.lp-steps p { margin: 0; }

/* A9 Pris */
.lp-price { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.lp-price p { margin: 0; max-width: 680px; }

/* A10 Frågor */
.lp-faq { margin: 24px 0 0; }
.lp-faq dt { font-weight: 500; color: var(--lp-ink); font-size: 18px; margin-top: 24px; }
.lp-faq dd { margin: 6px 0 0; }

/* A11 Avslutning */
.lp-end { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: center; position: relative; z-index: 1; }
.lp-end p { color: #fff; margin: 0 0 28px; }
.lp-end-person { display: flex; gap: 20px; align-items: center; }
.lp-end-person img { width: 96px; height: 96px; border-radius: 8px; object-fit: cover; }
.lp-end-person strong { display: block; color: #fff; font-weight: 500; }
.lp-end-person span { color: var(--lp-soft); font-size: 15px; }

/* Motivet: två lika stora kvadrater som trappar diagonalt i ett hörn */
.lp-motif { position: absolute; right: 24px; bottom: 24px; width: 80px; height: 80px; pointer-events: none; }
.lp-motif::before, .lp-motif::after { content: ""; position: absolute; width: 40px; height: 40px; }
.lp-motif::before { left: 0; top: 0; background: var(--lp-primary); }
.lp-motif::after { right: 0; bottom: 0; background: var(--lp-soft); }

/* A12 Sidfot */
.lp-foot { border-top: 1px solid var(--lp-border); padding: 24px 0; font-size: 14px; color: var(--lp-muted); }
.lp-foot .lp-wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.lp-foot a { color: var(--lp-muted); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 12px 0; }

@media (max-width: 960px) {
    .lp-cards, .lp-cols, .lp-steps { grid-template-columns: minmax(0, 1fr); }
    .lp-film, .lp-case, .lp-end { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .lp-price { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
    /* Formulärkortet direkt under ingressen, före punkterna. */
    .lp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .lp-hero-intro, .lp-hero-form, .lp-hero-rest { grid-column: 1; grid-row: auto; }
}
@media (max-width: 640px) {
    .lp h1 { font-size: 34px; }
    .lp h2 { font-size: 28px; }
    .lp-sec { padding: 72px 0; }
    .lp-hero { padding: 40px 0 72px; }
    .lp-case-num { font-size: 44px; }
}
/* Långa ord ("bokföringsprogrammet") får inte klippas på 375 px. */
.lp h1, .lp h2, .lp h3 { overflow-wrap: break-word; hyphens: auto; }

/* Klickytor minst 44 px för fristående länkar och knappen i formuläret. */
.lp-link, .lp-case a, .lp-proof a { display: inline-flex; align-items: center; min-height: 44px; }
.lp-form-card button[type=submit] { min-height: 48px; }
