:root {
    --green: #08df87;
    --green-dark: #00bf72;
    --ink: #101827;
    --muted: #59677e;
    --border: #e5eaf0
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    width: min(1240px, calc(100% - 48px));
    margin: auto
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #edf1f4
}

.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 35px;
    justify-content: space-between
}

.brand {
    font-size: 27px;
    letter-spacing: -1.6px;
    font-weight: 800;
    white-space: nowrap
}

.brand span {
    background: var(--green);
    padding: 0 3px;
    border-radius: 2px;
    color: #071b14
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 13px;
    color: #455268
}

.site-nav a:hover {
    color: #00a968
}

.nav-actions,
.hero-actions,
.audience-actions {
    display: flex;
    gap: 12px;
    align-items: center
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 9px;
    padding: 12px 19px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .2s, background .2s
}

.button:hover {
    transform: translateY(-2px)
}

.button-primary {
    background: var(--green);
    color: #052319;
    box-shadow: 0 8px 25px #00d88322
}

.button-primary:hover {
    background: var(--green-dark)
}

.button-outline {
    border: 1px solid #dce4ea;
    background: #fff
}

.button-lg {
    padding: 16px 25px
}

.hero-section {
    padding: 95px 0 85px;
    background: radial-gradient(ellipse at 82% 36%, #e6fff4 0, transparent 53%), #fff
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center
}

.eyebrow {
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 2px;
    color: #64748b
}

.hero-copy h1 {
    font-size: clamp(40px, 4.6vw, 69px);
    line-height: 1.1;
    letter-spacing: -2.9px;
    margin: 20px 0
}

.hero-copy h1 span {
    color: #00c979
}

.lead {
    font-size: 19px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 600px
}

.hero-actions {
    margin-top: 29px;
    flex-wrap: wrap
}

.trust {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: #526075;
    font-size: 12px;
    margin-top: 35px
}

.trust span:first-letter {
    color: #00c979
}

.dashboard {
    background: #fff;
    border: 1px solid #e9edf0;
    border-radius: 17px;
    padding: 28px;
    box-shadow: 0 25px 80px #163c2c18;
    transform: rotate(1deg)
}

.dash-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 18px
}

.brand-small {
    font-size: 20px
}

.dash-top small,
.chart-head small {
    color: var(--muted)
}

.dashboard h2 {
    font-size: 22px
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px
}

.dash-stats div {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px
}

.dash-stats small {
    display: block;
    color: var(--muted);
    font-size: 11px
}

.dash-stats strong {
    display: block;
    font-size: 24px;
    margin-top: 9px
}

.chart-head {
    display: flex;
    justify-content: space-between;
    margin-top: 28px;
    font-size: 13px
}

.dashboard svg {
    width: 100%;
    height: 185px;
    margin-top: 15px
}

.features-section {
    padding: 36px 0 52px
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px
}

.feature-grid article {
    display: flex;
    gap: 15px;
    align-items: flex-start
}

.feature-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #e0fbef;
    color: #00b873;
    border-radius: 12px;
    font-size: 24px
}

.feature-grid h3 {
    margin: 3px 0 6px;
    font-size: 16px
}

.feature-grid p,
.steps-grid p,
.audience-section p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0
}

.steps-section {
    padding: 75px 0;
    background: #f8fafc;
    border-top: 1px solid var(--border)
}

.steps-section h2,
.audience-section h2 {
    font-size: 32px;
    letter-spacing: -1px;
    margin: 12px 0 34px
}

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

.steps-grid article {
    display: flex;
    align-items: flex-start;
    gap: 18px
}

.steps-grid article>span {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #d9faeb;
    color: #00b873;
    display: grid;
    place-items: center;
    font-size: 23px;
    font-weight: 700
}

.steps-grid h3 {
    margin: 3px 0 6px
}

.audience-section {
    padding: 75px 0
}

.audience-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px
}

.audience-grid>div:first-child {
    max-width: 650px
}

.audience-section h2 {
    margin-bottom: 16px
}

.site-footer {
    background: #041a1b;
    color: #e8f0ef;
    padding: 65px 0 20px
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 45px
}

.footer-brand {
    color: #fff
}

.footer-grid h3 {
    font-size: 14px;
    margin: 0 0 20px
}

.footer-grid p {
    max-width: 310px;
    font-size: 13px;
    line-height: 1.7;
    color: #b4c4c6
}

.footer-grid a:not(.brand) {
    display: block;
    margin: 0 0 12px;
    color: #b4c4c6;
    font-size: 13px
}

.footer-grid a:hover {
    color: var(--green)
}

.footer-bottom {
    border-top: 1px solid #ffffff22;
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #a9b8b9;
    font-size: 12px
}

@media(max-width:1100px) {
    .nav-wrap {
        flex-wrap: wrap;
        padding: 16px 0
    }

    .site-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap
    }

    .hero-grid {
        gap: 28px
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:760px) {
    .container {
        width: min(100% - 32px, 1240px)
    }

    .site-header .nav-wrap {
        gap: 15px
    }

    .site-nav {
        gap: 14px;
        font-size: 12px
    }

    .nav-actions {
        gap: 6px
    }

    .nav-actions .button {
        padding: 10px
    }

    .hero-section {
        padding: 55px 0
    }

    .hero-grid {
        grid-template-columns: 1fr
    }

    .hero-copy h1 {
        letter-spacing: -1.5px
    }

    .dashboard {
        transform: none
    }

    .feature-grid,
    .steps-grid,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .audience-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px
    }

    .footer-bottom {
        flex-direction: column
    }

    .steps-section,
    .audience-section {
        padding: 50px 0
    }
}

/* Gemensamma undersidor – isolerade från portalens CSS */
.inner-hero {
    padding: 100px 0 105px;
    background: radial-gradient(ellipse at 85% 25%, #dffcef 0%, transparent 53%), #f8fafc;
    border-bottom: 1px solid var(--border)
}

.inner-hero-content {
    max-width: 950px
}

.inner-hero h1 {
    font-size: clamp(38px, 5vw, 68px);
    letter-spacing: -2.6px;
    line-height: 1.1;
    margin: 18px 0 22px
}

.inner-hero .lead {
    max-width: 750px
}

.inner-content {
    padding: 85px 0 100px
}

.section-intro {
    max-width: 740px;
    margin-bottom: 38px
}

.section-intro h2 {
    font-size: clamp(26px, 3vw, 39px);
    letter-spacing: -1.1px;
    margin: 12px 0
}

.section-intro>p:last-child {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.75
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px
}

.info-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 40px #10281a08
}

.info-card-mark {
    display: inline-grid;
    place-items: center;
    width: 45px;
    height: 45px;
    background: #ddfaeb;
    border-radius: 12px;
    color: #009e61;
    font-weight: 800
}

.info-card h2 {
    font-size: 19px;
    margin: 22px 0 9px
}

.info-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    margin: 0
}

.inner-cta {
    background: #f8fafc;
    padding: 65px 0;
    border-top: 1px solid var(--border)
}

.inner-cta-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px
}

.inner-cta h2 {
    font-size: 30px;
    letter-spacing: -1px;
    margin: 12px 0
}

.inner-cta p:last-child {
    color: var(--muted)
}

.site-nav a[aria-current="page"] {
    color: #009e61;
    font-weight: 700
}

@media(max-width:760px) {
    .inner-hero {
        padding: 65px 0
    }

    .inner-hero h1 {
        letter-spacing: -1.4px
    }

    .inner-content {
        padding: 55px 0
    }

    .info-grid {
        grid-template-columns: 1fr
    }

    .inner-cta-grid {
        flex-direction: column;
        align-items: flex-start
    }
}

/* 2026: Återhållsam, modern Adtrade-profil. Delas av samtliga publika sidor. */
:root {
    --green: #08df87;
    --green-dark: #05b66e;
    --ink: #101c22;
    --muted: #586778
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif
}

.site-header {
    position: relative;
    z-index: 5
}

.nav-wrap {
    min-height: 78px
}

.site-nav a[aria-current="page"] {
    color: #078b57;
    border-bottom: 2px solid #08c47a;
    padding-bottom: 7px
}

.site-nav a:focus-visible,
.button:focus-visible,
.text-link:focus-visible {
    outline: 3px solid #087b54;
    outline-offset: 3px
}

.refined-hero {
    padding: 76px 0 62px;
    background: radial-gradient(ellipse at 81% 30%, #e6fff4 0, transparent 50%), #fff
}

.refined-hero .hero-grid {
    grid-template-columns: 1.02fr 1fr;
    gap: 52px
}

.refined-hero .hero-copy h1 {
    font-size: clamp(39px, 4.1vw, 62px);
    letter-spacing: -2.3px
}

.refined-hero .lead {
    font-size: 18px
}

.refined-hero .trust {
    margin-top: 30px
}

.portal-preview {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    min-width: 0;
    border: 1px solid #e8eef0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(19, 51, 39, .09);
    overflow: hidden;
    min-height: 355px
}

.preview-sidebar {
    border-right: 1px solid #edf1f3;
    padding: 19px 10px
}

.preview-sidebar .brand {
    display: block;
    font-size: 15px;
    letter-spacing: -.8px;
    margin: 0 0 30px 5px
}

.preview-nav {
    padding: 10px 7px;
    font-size: 10px;
    color: #667789;
    white-space: nowrap;
    border-radius: 6px
}

.preview-nav.active {
    background: #e6f8ef;
    color: #057d4d;
    font-weight: 700
}

.preview-main {
    padding: 22px;
    min-width: 0
}

.preview-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px
}

.preview-head strong {
    font-size: 19px
}

.preview-head span {
    font-size: 10px;
    color: #6b7888
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px
}

.preview-stats>div {
    border: 1px solid #e9eef1;
    border-radius: 9px;
    padding: 13px 9px
}

.preview-stats small {
    display: block;
    font-size: 10px;
    color: #69788a
}

.preview-stats strong {
    display: block;
    font-size: 12px;
    margin-top: 8px
}

.preview-chart {
    margin-top: 13px;
    border: 1px solid #edf1f3;
    border-radius: 10px;
    padding: 14px
}

.preview-chart-title {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center
}

.preview-chart-title strong {
    font-size: 12px
}

.preview-chart-title small {
    font-size: 9px;
    color: #84909c;
    text-align: right
}

.preview-chart svg {
    display: block;
    width: 100%;
    height: 155px;
    margin-top: 9px
}

.features-section {
    padding: 24px 0 40px
}

.feature-grid {
    gap: 20px
}

.feature-grid article {
    padding: 8px 0
}

.feature-grid h3 {
    font-size: 15px
}

.feature-grid p {
    font-size: 13px
}

.feature-icon {
    background: #e7f9f0;
    color: #07a96a
}

.audience-cards-section {
    padding: 22px 0 30px
}

.audience-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px
}

.audience-card {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 33px;
    border: 1px solid #eef2f2;
    border-radius: 13px;
    background: #f5faf8
}

.audience-card:nth-child(2) {
    background: #f7f9fb
}

.audience-card-icon {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #e4f8ed;
    color: #08a96a;
    font-size: 32px
}

.audience-card .eyebrow {
    letter-spacing: 1.2px;
    font-size: 10px;
    margin: 0 0 9px
}

.audience-card h2 {
    font-size: 25px;
    letter-spacing: -.7px;
    margin: 0 0 10px
}

.audience-card p:not(.eyebrow) {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 17px
}

.text-link {
    color: #078f5b;
    font-size: 13px;
    font-weight: 750
}

.launch-section {
    padding: 0 0 52px
}

.launch-panel {
    border: 1px solid #e5ecea;
    border-radius: 13px;
    padding: 31px 37px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
    background: #fff;
    box-shadow: 0 8px 32px #10281a08
}

.launch-label {
    display: inline-block;
    border-radius: 999px;
    background: #d5f8e8;
    color: #087d50;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
    padding: 6px 10px
}

.launch-panel h2 {
    font-size: 26px;
    letter-spacing: -.7px;
    margin: 12px 0 7px
}

.launch-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    max-width: 740px
}

.launch-panel .button {
    flex-shrink: 0
}

.site-footer {
    background: #071f1b
}

.inner-hero {
    padding: 78px 0 82px;
    background: radial-gradient(ellipse at 85% 25%, #e7faf1 0, transparent 53%), #f9fbfa
}

.inner-hero h1 {
    font-size: clamp(36px, 4.2vw, 57px)
}

.inner-content {
    padding: 70px 0 85px
}

.info-card {
    box-shadow: 0 6px 24px #10281a06
}

.inner-cta {
    padding: 55px 0
}

@media(max-width:1100px) {
    .refined-hero .hero-grid {
        gap: 26px
    }

    .portal-preview {
        grid-template-columns: 95px minmax(0, 1fr)
    }

    .preview-sidebar .brand {
        font-size: 13px
    }

    .preview-main {
        padding: 14px
    }

    .audience-card {
        padding: 25px;
        gap: 15px
    }
}

@media(max-width:760px) {
    .refined-hero {
        padding: 48px 0 42px
    }

    .refined-hero .hero-grid {
        grid-template-columns: 1fr
    }

    .refined-hero .hero-copy h1 {
        font-size: clamp(36px, 9vw, 49px);
        letter-spacing: -1.4px
    }

    .portal-preview {
        grid-template-columns: 90px minmax(0, 1fr);
        min-height: 0
    }

    .preview-sidebar {
        padding: 14px 6px
    }

    .preview-sidebar .brand {
        font-size: 12px
    }

    .preview-nav {
        font-size: 9px;
        padding: 8px 4px
    }

    .preview-main {
        padding: 12px
    }

    .preview-stats {
        gap: 5px
    }

    .preview-stats>div {
        padding: 9px 6px
    }

    .preview-stats strong {
        font-size: 10px
    }

    .preview-chart {
        padding: 9px
    }

    .preview-chart svg {
        height: 110px
    }

    .audience-card-grid {
        grid-template-columns: 1fr
    }

    .launch-panel {
        padding: 25px;
        flex-direction: column;
        align-items: flex-start
    }

    .launch-panel h2 {
        font-size: 23px
    }

    .features-section {
        padding: 20px 0 35px
    }
}

/* Responsiv publik huvudmeny */
.mobile-menu-toggle,
.mobile-menu {
    display: none
}

.mobile-menu[hidden] {
    display: none !important
}

@media(max-width:900px) {
    .site-header {
        position: relative;
        z-index: 50
    }

    .site-header .nav-wrap {
        display: flex;
        flex-wrap: wrap;
        min-height: 72px;
        padding: 12px 0;
        gap: 12px
    }

    .site-header .brand {
        font-size: 26px
    }

    .site-header .site-nav,
    .site-header .nav-actions {
        display: none
    }

    .mobile-menu-toggle {
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        gap: 9px;
        padding: 10px 12px;
        border: 1px solid #dce4ea;
        border-radius: 9px;
        background: #fff;
        color: #17251f;
        font: inherit;
        font-size: 13px;
        font-weight: 650;
        cursor: pointer
    }

    .mobile-menu-toggle:focus-visible,
    .mobile-menu a:focus-visible {
        outline: 3px solid #078b54;
        outline-offset: 3px
    }

    .menu-toggle-bars {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 18px
    }

    .menu-toggle-bars span {
        height: 2px;
        width: 100%;
        background: currentColor;
        border-radius: 2px;
        transition: transform .2s, opacity .2s
    }

    .mobile-menu-toggle[aria-expanded="true"] .menu-toggle-bars span:first-child {
        transform: translateY(6px) rotate(45deg)
    }

    .mobile-menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) {
        opacity: 0
    }

    .mobile-menu-toggle[aria-expanded="true"] .menu-toggle-bars span:last-child {
        transform: translateY(-6px) rotate(-45deg)
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
        flex-basis: 100%;
        width: 100%;
        padding: 8px 0 14px;
        border-top: 1px solid #e8edf0;
        background: #fff
    }

    .mobile-menu>a {
        display: block;
        padding: 13px 14px;
        font-size: 15px;
        color: #334155;
        border-radius: 8px
    }

    .mobile-menu>a:hover,
    .mobile-menu>a[aria-current="page"] {
        background: #eaf8f1;
        color: #057c4e
    }

    .mobile-menu>a[aria-current="page"] {
        font-weight: 700
    }

    .mobile-menu-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 10px;
        padding-top: 15px;
        border-top: 1px solid #e8edf0
    }

    .mobile-menu-actions .button {
        width: 100%;
        padding: 13px 8px
    }
}

@media(max-width:380px) {
    .mobile-menu-actions {
        grid-template-columns: 1fr
    }

    .site-header .brand {
        font-size: 23px
    }
}