:root {
    --sweden-blue: #005293;
    --sweden-yellow: #ffcd00;
    --navy: #1a3050;
    --navy-dark: #142638;
    --canvas: #fafafa;
    --surface: #ffffff;
    --surface-alt: #f3edf9;
    --highlight: #e9ddf8;
    --text-secondary: #424242;
    --text-muted: #757575;
    --border: #e7ddf3;
    --shadow: 0 18px 45px rgba(26, 48, 80, .1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text-secondary);
    background: var(--canvas);
    font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a {
    color: var(--sweden-blue);
    text-underline-offset: .18em;
    text-decoration-thickness: .08em;
}
a:hover { color: var(--navy); }
a:focus-visible {
    outline: 3px solid var(--sweden-yellow);
    outline-offset: 4px;
    border-radius: 4px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
    color: var(--navy);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.03em;
}
h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.28rem; }
.icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    inset-inline-start: 12px;
    padding: 10px 14px;
    color: var(--surface);
    background: var(--navy);
    transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--border);
}
.header-inner, .footer-inner {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
}
.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-weight: 650;
    text-decoration: none;
}
.brand img {
    border: 1px solid rgba(20, 38, 56, .08);
    border-radius: 4px;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 30px);
}
.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-inline-start: 18px;
    border-inline-start: 1px solid var(--border);
}
.language-switcher a {
    min-width: 28px;
    padding: 3px 5px;
    text-align: center;
    border-radius: 5px;
}
.language-switcher a[aria-current="true"] {
    color: var(--surface);
    background: var(--sweden-blue);
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.site-nav a {
    color: var(--text-secondary);
    font-size: .94rem;
    font-weight: 600;
    text-decoration: none;
}
.site-nav a[aria-current="page"] { color: var(--sweden-blue); }
.hero {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
    padding: 88px 0 56px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
    align-items: center;
    gap: clamp(48px, 8vw, 96px);
}
.eyebrow {
    margin-bottom: 16px;
    color: var(--sweden-blue);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.hero h1 {
    max-width: 700px;
    margin-bottom: 24px;
}
.hero-lead {
    max-width: 640px;
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-size: clamp(1.08rem, 2vw, 1.24rem);
}
.store-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.store-badge {
    display: inline-flex;
    border-radius: var(--radius-sm);
    transition: transform .16s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge img {
    display: block;
    width: auto;
    height: 52px;
}
.availability-note, .fine-print, .updated {
    color: var(--text-muted);
    font-size: .88rem;
}
.availability-note { margin: 14px 0 0; }
.app-carousel {
    position: relative;
    min-width: 0;
    height: clamp(500px, 52vw, 590px);
    display: grid;
    place-items: center;
    isolation: isolate;
}
.app-carousel__glow {
    position: absolute;
    z-index: -1;
    width: 90%;
    aspect-ratio: 1;
    background:
        radial-gradient(circle at 35% 38%, rgba(255, 205, 0, .34), transparent 31%),
        radial-gradient(circle at 67% 62%, rgba(0, 82, 147, .24), transparent 42%);
    filter: blur(12px);
    animation: carousel-glow 8s ease-in-out infinite alternate;
}
.app-carousel__stage {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1200px;
}
.app-carousel__slide {
    position: absolute;
    inset: 50% auto auto 50%;
    width: clamp(220px, 26vw, 282px);
    margin: 0;
    padding: 0;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 36px;
    cursor: pointer;
    will-change: transform, opacity, filter;
    animation: carousel-shuffle 12s cubic-bezier(.65, 0, .35, 1) infinite;
}
.app-carousel__slide:focus-visible,
.app-carousel__control:focus-visible,
.app-carousel__dots button:focus-visible {
    outline: 3px solid var(--sweden-yellow);
    outline-offset: 4px;
}
.app-carousel__slide img {
    display: block;
    width: 100%;
    filter: drop-shadow(0 22px 24px rgba(20, 38, 56, .22));
}
.app-carousel__slide--one { animation-delay: -8s; }
.app-carousel__slide--two { animation-delay: -4s; }
.app-carousel__slide--three { animation-delay: 0s; }
.app-carousel:hover .app-carousel__slide,
.app-carousel:hover .app-carousel__glow {
    animation-play-state: paused;
}
.app-carousel__controls {
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(231, 221, 243, .8);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(26, 48, 80, .08);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
}
.app-carousel.is-enhanced .app-carousel__controls {
    opacity: 1;
    pointer-events: auto;
}
.app-carousel__control {
    width: 32px;
    height: 32px;
    padding: 0;
    display: grid;
    place-items: center;
    color: var(--navy);
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}
.app-carousel__control:hover {
    color: var(--surface);
    background: var(--sweden-blue);
}
.app-carousel__pause-icon {
    width: 10px;
    height: 12px;
    border-inline: 3px solid currentColor;
}
.app-carousel__play-icon {
    display: none;
    width: 0;
    height: 0;
    margin-inline-start: 2px;
    border-block: 6px solid transparent;
    border-inline-start: 9px solid currentColor;
}
.app-carousel__toggle[aria-pressed="true"] .app-carousel__pause-icon { display: none; }
.app-carousel__toggle[aria-pressed="true"] .app-carousel__play-icon { display: block; }
.app-carousel__dots {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-inline: 3px;
}
.app-carousel__dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    appearance: none;
    background: var(--sweden-blue);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    opacity: .25;
    transition: width .2s ease, opacity .2s ease;
}
.app-carousel__dots button[aria-current="true"] {
    width: 22px;
    opacity: 1;
}
.app-carousel.is-enhanced .app-carousel__slide {
    animation: none;
    transition: transform .65s cubic-bezier(.22, 1, .36, 1), opacity .45s ease, filter .45s ease;
}
.app-carousel.is-enhanced .app-carousel__slide[data-position="active"] {
    z-index: 3;
    opacity: 1;
    filter: saturate(1);
    transform: translate(-50%, -50%) translateX(0) rotateY(0) rotateZ(0) scale(1);
}
.app-carousel.is-enhanced .app-carousel__slide[data-position="next"] {
    z-index: 2;
    opacity: .72;
    filter: saturate(.72);
    transform: translate(-50%, -50%) translateX(45%) rotateY(-14deg) rotateZ(3deg) scale(.78);
}
.app-carousel.is-enhanced .app-carousel__slide[data-position="previous"] {
    z-index: 1;
    opacity: .48;
    filter: saturate(.56);
    transform: translate(-50%, -50%) translateX(-45%) rotateY(14deg) rotateZ(-3deg) scale(.78);
}
[dir="rtl"] .app-carousel__previous span,
[dir="rtl"] .app-carousel__next span {
    transform: scaleX(-1);
}
@keyframes carousel-shuffle {
    0%, 27% {
        z-index: 3;
        opacity: 1;
        filter: saturate(1);
        transform: translate(-50%, -50%) translateX(0) rotateY(0) rotateZ(0) scale(1);
    }
    33%, 60% {
        z-index: 2;
        opacity: .72;
        filter: saturate(.72);
        transform: translate(-50%, -50%) translateX(45%) rotateY(-14deg) rotateZ(3deg) scale(.78);
    }
    66%, 93% {
        z-index: 1;
        opacity: .48;
        filter: saturate(.56);
        transform: translate(-50%, -50%) translateX(-45%) rotateY(14deg) rotateZ(-3deg) scale(.78);
    }
    100% {
        z-index: 3;
        opacity: 1;
        filter: saturate(1);
        transform: translate(-50%, -50%) translateX(0) rotateY(0) rotateZ(0) scale(1);
    }
}
@keyframes carousel-glow {
    from { transform: rotate(-5deg) scale(.95); }
    to { transform: rotate(7deg) scale(1.06); }
}
.section {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
    padding: 88px 0;
}
.hero + .section {
    padding-top: 64px;
}
.section-heading {
    max-width: 650px;
    margin-bottom: 38px;
}
.section-heading h2 { margin-bottom: 14px; }
.section-heading > p:last-child {
    color: var(--text-secondary);
    font-size: 1.1rem;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.feature-card {
    min-height: 220px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.feature-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    margin-bottom: 28px;
    align-items: center;
    justify-content: center;
    color: var(--sweden-blue);
    background: var(--surface-alt);
    border-radius: var(--radius-md);
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: .96rem;
}
.access-section {
    padding: 56px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: clamp(40px, 7vw, 80px);
    align-items: center;
    background: var(--surface-alt);
    border-radius: 32px;
}
.access-copy h2 { margin-bottom: 20px; }
.access-copy > p:not(.eyebrow):not(.fine-print) { font-size: 1.08rem; }
.access-card {
    padding: 32px;
    color: var(--surface);
    background: var(--navy);
    border-radius: var(--radius-xl);
}
.access-label {
    display: block;
    margin-bottom: 22px;
    font-size: 1.28rem;
    font-weight: 600;
}
.check-list {
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}
.check-list li {
    position: relative;
    padding-inline-start: 28px;
}
.check-list li + li { margin-top: 10px; }
.check-list li::before {
    content: "✓";
    position: absolute;
    inset-inline-start: 0;
    color: var(--sweden-yellow);
    font-weight: 700;
}
.text-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-weight: 600;
}
.access-card .text-link { color: var(--surface); }
.source-section {
    margin-top: 24px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    padding: 40px;
    background: var(--highlight);
    border-radius: var(--radius-xl);
}
.source-mark {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    color: var(--sweden-blue);
    background: var(--surface);
    border-radius: 999px;
}
.source-section h2 {
    max-width: 720px;
    margin-bottom: 16px;
}
.source-section p:not(.eyebrow) { max-width: 820px; }
.download-section {
    padding: 96px 20px 106px;
    text-align: center;
}
.download-section h2 { margin-bottom: 12px; }
.download-section > p:not(.eyebrow) { color: var(--text-secondary); }
.centered-store-links {
    justify-content: center;
    margin-top: 28px;
}
.content-page {
    width: min(740px, calc(100% - 40px));
    margin: 0 auto;
    padding: 72px 0 100px;
}
.page-intro {
    padding-bottom: 42px;
    border-bottom: 1px solid var(--border);
}
.page-intro h1 {
    margin-bottom: 18px;
    font-size: clamp(2.5rem, 7vw, 4rem);
}
.page-intro > p:last-child {
    color: var(--text-secondary);
    font-size: 1.08rem;
}
.content-page section { padding: 42px 0 12px; }
.content-page section + section { border-top: 1px solid var(--border); }
.content-page h2 {
    margin-bottom: 18px;
    font-size: clamp(1.6rem, 4vw, 2rem);
}
.content-page h3 {
    margin-top: 28px;
    margin-bottom: 9px;
}
.content-page li + li { margin-top: 8px; }
.notice {
    margin-top: 26px;
    padding: 24px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.notice p { margin: 7px 0 0; }
.link-list { padding-inline-start: 22px; }
.not-found {
    width: min(720px, calc(100% - 40px));
    min-height: 62vh;
    margin: 0 auto;
    padding: 96px 0;
}
.button {
    display: inline-flex;
    margin-top: 18px;
    padding: 13px 20px;
    color: var(--surface);
    background: var(--sweden-blue);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
}
.button:hover {
    color: var(--surface);
    background: var(--navy);
}
.site-footer {
    padding: 56px 0 22px;
    color: #e8edf2;
    background: var(--navy-dark);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.footer-brand {
    color: var(--surface);
    font-size: 1.18rem;
    font-weight: 650;
    text-decoration: none;
}
.footer-inner p {
    max-width: 470px;
    margin: 11px 0 0;
    color: #b8c2cd;
    font-size: .88rem;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    align-content: start;
    gap: 11px 26px;
}
.footer-links a { color: var(--surface); }
.copyright {
    width: min(1080px, calc(100% - 40px));
    margin: 40px auto 0;
    padding-top: 20px;
    color: #98a6b5;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: .8rem;
}
[dir="rtl"] .text-link span[aria-hidden="true"] {
    transform: scaleX(-1);
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3 {
    letter-spacing: normal;
}
@media (max-width: 820px) {
    .hero {
        padding-top: 64px;
        grid-template-columns: 1fr;
    }
    .app-carousel {
        width: min(100%, 520px);
        justify-self: center;
    }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .access-section { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .header-inner { min-height: 70px; }
    .brand span { display: none; }
    .brand img { width: 36px; height: 24px; }
    .site-nav { gap: 10px; }
    .site-nav a { font-size: .8rem; }
    .language-switcher {
        gap: 3px;
        padding-inline-start: 8px;
    }
    .language-switcher a {
        min-width: 24px;
        padding-inline: 3px;
        font-size: .7rem;
    }
    .hero { padding: 52px 0 36px; }
    .hero + .section { padding-top: 48px; }
    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }
    .app-carousel {
        width: 100%;
        height: 520px;
        overflow: hidden;
    }
    .app-carousel__slide { width: min(64vw, 250px); }
    .section { padding: 68px 0; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: auto; }
    .access-section {
        width: calc(100% - 24px);
        padding: 32px 20px;
        border-radius: var(--radius-xl);
    }
    .source-section {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }
    .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .store-badge { transition: none; }
    .app-carousel__slide,
    .app-carousel__glow {
        animation: none;
    }
    .app-carousel__slide--one {
        z-index: 3;
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    .app-carousel__slide--two {
        z-index: 2;
        opacity: .58;
        transform: translate(-50%, -50%) translateX(42%) rotateZ(3deg) scale(.78);
    }
    .app-carousel__slide--three {
        z-index: 1;
        opacity: .42;
        transform: translate(-50%, -50%) translateX(-42%) rotateZ(-3deg) scale(.78);
    }
}
