/* Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 20px; /* Fixar 150%-problemet */
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f7f8fa; /* Enhetlig bakgrund */
    color: #151515;
    line-height: 1.6;
}

/* Layout shells */
.shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.shell-wide {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
}

.shell-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #e3e5ee;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.brand {
    font-size: 1.2rem;
    font-weight: 600;
    color: #151515;
    text-decoration: none;
}

.topbar-links {
    display: flex;
    gap: 28px;
}

.topbar-links a {
    color: #444;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.topbar-links a:hover {
    color: #000;
}

/* Sections */
section {
    padding: 100px 0; /* Luftigt och professionellt */
}

/* Hero */
.hero {
    padding-top: 130px;
    padding-bottom: 110px;
    background: radial-gradient(circle at top left, #e7ecff 0, #f7f8fa 60%);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 48px;
    align-items: center;
}

.hero-text h1 {
    margin: 0 0 24px;
    font-size: 3rem;
    line-height: 1.1;
}

.hero-text p {
    margin: 0 0 32px;
    font-size: 1.05rem;
    color: #3a3a3a;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    gap: 14px;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 26px 26px 22px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.hero-card h2 {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.hero-card p {
    margin: 0 0 16px;
    font-size: 0.98rem;
    color: #444;
}

.hero-note {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

/* Intro */
.intro {
    text-align: center;
}

.intro h2 {
    margin: 0 0 16px;
    font-size: 1.8rem;
}

.intro p {
    margin: 0;
    color: #444;
    font-size: 1.05rem;
}

/* Principles */
.principles {
    background: transparent; /* Ingen färgväxling */
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    margin: 0 0 8px;
    font-size: 1.8rem;
}

.section-header p {
    margin: 0;
    color: #555;
    font-size: 1rem;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 26px 24px 22px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.card p {
    margin: 0;
    font-size: 0.98rem;
    color: #444;
}

/* Focus */
.focus {
    background: transparent; /* Ingen färgväxling */
}

.focus-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 60px;
}

.focus-text h2 {
    margin: 0 0 12px;
    font-size: 1.8rem;
}

.focus-text p {
    margin: 0;
    color: #444;
    font-size: 1.05rem;
}

.focus-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 24px 20px;
    border: 1px solid #e2e6ff;
}

.focus-label {
    margin: 0 0 12px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6a6fb0;
}

.focus-box ul {
    margin: 0;
    padding-left: 20px;
    font-size: 1rem;
    color: #444;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
}

.button.primary {
    background: #3A7AFE;
    color: #ffffff;
}

.button.ghost {
    background: #ffffff;
    color: #3A7AFE;
    border-color: #d0dcff;
}

.link-arrow {
    color: #3A7AFE;
    text-decoration: none;
    font-weight: 500;
}

/* Footer */
.footer {
    border-top: 1px solid #e0e0e0;
    background: #fafafa;
    padding: 20px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    gap: 10px;
    color: #555;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
}

/* Back to top */
.back-to-top {
    position: fixed;
    right: 6px;
    bottom: 66px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    color: #3A7AFE;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.button .icon {
    display: inline-flex;
    margin-left: 6px;
}
