/* Magistudier landing page — standalone.
   Palette matcher login-siden (Victorian library: cream + burnt orange + brown).
   Kun én fil. Ingen build-step. */

:root {
    --c-bg:         #F4F1EC;  /* varm creme */
    --c-bg-alt:     #E2D8CF;  /* beige */
    --c-bg-dark:    #655A5A;  /* varm grå-brun (hero bund) */
    --c-panel:      #FBFAF7;  /* off-white */
    --c-text:       #2C2622;  /* mørk brun */
    --c-text-muted: #776A61;
    --c-accent:     #D97A4A;  /* burnt orange CTA */
    --c-accent-2:   #E58F61;  /* lysere orange */
    --c-border:     #CDBFB0;
    --c-shadow:     rgba(44, 38, 34, 0.12);
    --radius:       10px;
    --radius-lg:    16px;
    --font-display: 'Cinzel', Georgia, serif;
    --font-body:    'Noto Sans Display', system-ui, -apple-system, sans-serif;
    --maxw:         1180px;
    --maxw-narrow:  760px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    background: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--c-accent); text-decoration: none; }
a:hover { color: var(--c-accent-2); text-decoration: underline; }

/* ===== Top nav ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244, 241, 236, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-border);
}
.nav__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav__logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--c-text);
    letter-spacing: 0.5px;
}
.nav__logo:hover { color: var(--c-accent); text-decoration: none; }
.nav__links {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav__links a {
    color: var(--c-text);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.15s;
}
.nav__links a:hover { color: var(--c-accent); text-decoration: none; }
.nav__cta {
    padding: 8px 18px;
    border: 1.5px solid var(--c-accent);
    border-radius: 999px;
    color: var(--c-accent) !important;
}
.nav__cta:hover {
    background: var(--c-accent);
    color: #fff !important;
    text-decoration: none;
}

@media (max-width: 720px) {
    .nav__links { gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
    .nav__links a { font-size: 13px; }
    .nav__links a:not(.nav__cta) { display: none; }
    .nav__links .nav__cta { display: inline-flex; }
}

/* ===== Hero ===== */
.hero {
    padding: 80px 24px 60px;
    background:
        radial-gradient(circle at 80% 20%, rgba(217, 122, 74, 0.08), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(230, 143, 97, 0.06), transparent 50%),
        linear-gradient(180deg, var(--c-bg) 0%, #ECE4DB 100%);
    text-align: center;
}
.hero__inner {
    max-width: 880px;
    margin: 0 auto;
}
.hero__eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: var(--c-panel);
    border: 1px solid var(--c-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text-muted);
    letter-spacing: 0.3px;
    margin-bottom: 28px;
}
.hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(36px, 6vw, 62px);
    line-height: 1.1;
    margin: 0 0 24px;
    color: var(--c-text);
    letter-spacing: -0.5px;
}
.hero__accent {
    color: var(--c-accent);
    font-style: italic;
    font-weight: 600;
}
.hero__lede {
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.65;
    color: var(--c-text-muted);
    max-width: 640px;
    margin: 0 auto 36px;
}
.hero__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.hero__small {
    font-size: 13px;
    color: var(--c-text-muted);
    margin: 0;
}
.hero--compact {
    padding: 60px 24px 40px;
}
.hero--compact .hero__title {
    font-size: clamp(32px, 5vw, 52px);
}

/* ===== Features grid (funktioner-siden) ===== */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 20px;
}
.feature {
    padding: 32px;
    background: var(--c-panel);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s, transform 0.2s;
}
.feature:hover {
    border-color: var(--c-accent);
    transform: translateY(-2px);
}
.feature h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    margin: 0 0 14px;
    color: var(--c-text);
}
.feature p {
    color: var(--c-text);
    line-height: 1.65;
    margin: 0 0 12px;
}
.feature p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
    .features { grid-template-columns: 1fr; gap: 20px; }
    .feature { padding: 24px; }
}

/* ===== Screenshot showcase ===== */
.screenshot-showcase { padding: 60px 24px; }
.screenshot {
    margin: 0 0 40px;
    text-align: center;
}
.screenshot img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: block;
    margin: 0 auto;
}
.screenshot figcaption {
    margin-top: 14px;
    font-size: 14px;
    color: var(--c-text-muted);
    font-style: italic;
}
@media (max-width: 640px) {
    .screenshot { margin-bottom: 24px; }
}

/* ===== Values-grid (om-siden) ===== */
.values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 24px 0 32px;
}
.value {
    padding: 24px 26px;
    background: var(--c-panel);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    transition: border-color 0.15s, transform 0.15s;
}
.value:hover {
    border-color: var(--c-accent);
    transform: translateY(-2px);
}
.value h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    margin: 0 0 10px;
    color: var(--c-text);
}
.value p {
    margin: 0;
    color: var(--c-text-muted);
    line-height: 1.6;
    font-size: 14px;
}
@media (max-width: 720px) {
    .values { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== Prose-list + blockquote ===== */
.prose-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
}
.prose-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    line-height: 1.65;
    color: var(--c-text);
}
.prose-list li::before {
    content: '→';
    position: absolute;
    left: 4px;
    top: 0;
    color: var(--c-accent);
    font-weight: 600;
}
.prose h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    margin: 32px 0 12px;
    color: var(--c-text);
}
.prose h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    margin: 40px 0 14px;
    color: var(--c-text);
}
.prose h2:first-child { margin-top: 0; }
.prose blockquote {
    margin: 20px 0;
    padding: 20px 24px;
    background: var(--c-panel);
    border-left: 4px solid var(--c-accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--c-text);
    font-size: 16px;
    line-height: 1.7;
}

/* Vertical steps (bruges på kom-i-gang-siden) */
.steps--vertical {
    grid-template-columns: 1fr;
    max-width: 780px;
    margin: 0 auto;
    gap: 24px;
}
.steps--vertical li {
    padding: 32px 32px 28px;
}
.steps--vertical li h3 {
    margin-top: 18px;
    font-size: 22px;
}
.steps--vertical li p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--c-text);
    margin: 0 0 12px;
}
.steps--vertical li p:last-child { margin-bottom: 0; }
.steps--vertical li blockquote {
    margin: 16px 0;
    padding: 16px 20px;
    background: var(--c-bg);
    border-left: 3px solid var(--c-accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: normal;
    color: var(--c-text);
    font-size: 15px;
    line-height: 1.65;
}
.steps--vertical li blockquote em {
    font-style: italic;
    color: var(--c-text);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn--primary {
    background: var(--c-accent);
    color: #fff;
}
.btn--primary:hover {
    background: var(--c-accent-2);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(217, 122, 74, 0.3);
    text-decoration: none;
}
.btn--ghost {
    background: transparent;
    color: var(--c-text);
    border-color: var(--c-border);
}
.btn--ghost:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
    text-decoration: none;
}
.btn--lg {
    padding: 16px 36px;
    font-size: 16px;
}

/* ===== Stats strip ===== */
.stats {
    background: var(--c-panel);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    padding: 40px 24px;
}
.stats__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat__num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 44px);
    color: var(--c-accent);
    line-height: 1;
    margin-bottom: 6px;
}
.stat__label {
    font-size: 14px;
    color: var(--c-text-muted);
    font-weight: 500;
}
@media (max-width: 640px) {
    .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* ===== Sections ===== */
.section {
    padding: 80px 24px;
}
.section--alt {
    background: var(--c-panel);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}
.section__inner {
    max-width: var(--maxw);
    margin: 0 auto;
}
.section__inner--narrow {
    max-width: var(--maxw-narrow);
}
.section__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.section__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    margin: 0 0 40px;
    color: var(--c-text);
    letter-spacing: -0.3px;
}

/* ===== Prose ===== */
.prose p {
    font-size: 17px;
    line-height: 1.75;
    margin: 0 0 18px;
    color: var(--c-text);
}
.prose p:last-child { margin-bottom: 0; }

/* ===== Pillars ===== */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 20px;
}
.pillar {
    padding: 32px 28px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.pillar:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px var(--c-shadow);
    border-color: var(--c-accent);
}
.pillar__icon {
    font-size: 38px;
    margin-bottom: 16px;
    line-height: 1;
}
.pillar h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    margin: 0 0 12px;
    color: var(--c-text);
}
.pillar p {
    margin: 0;
    color: var(--c-text-muted);
    line-height: 1.65;
    font-size: 15px;
}
@media (max-width: 860px) {
    .pillars { grid-template-columns: 1fr; gap: 20px; }
}

/* ===== Steps ===== */
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.steps li {
    background: var(--c-panel);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
}
.step__num {
    position: absolute;
    top: -18px;
    left: 28px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-accent);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(217, 122, 74, 0.35);
}
.steps h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 19px;
    margin: 14px 0 10px;
    color: var(--c-text);
}
.steps p {
    margin: 0;
    color: var(--c-text-muted);
    line-height: 1.65;
    font-size: 15px;
}
.cta-row {
    margin-top: 40px;
    text-align: center;
}
@media (max-width: 720px) {
    .steps { grid-template-columns: 1fr; }
}

/* ===== FAQ ===== */
.faq {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    margin-bottom: 14px;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.15s;
}
.faq:hover { border-color: var(--c-accent); }
.faq summary {
    cursor: pointer;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 16px;
    color: var(--c-text);
    list-style: none;
    position: relative;
    user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-accent);
    font-size: 22px;
    font-weight: 400;
    transition: transform 0.2s;
}
.faq[open] summary::after {
    content: '−';
}
.faq p {
    padding: 0 24px 20px;
    margin: 0;
    color: var(--c-text-muted);
    line-height: 1.7;
    font-size: 15px;
}

/* ===== CTA-section ===== */
.section--cta {
    background:
        linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-2) 100%);
    color: #fff;
    text-align: center;
}
.cta__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 40px);
    color: #fff;
    margin: 0 0 18px;
    letter-spacing: -0.3px;
}
.cta__lede {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    max-width: 520px;
    margin: 0 auto;
}
.section--cta .btn--primary {
    background: #fff;
    color: var(--c-accent);
}
.section--cta .btn--primary:hover {
    background: var(--c-panel);
    color: var(--c-accent-2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ===== Footer ===== */
.footer {
    background: var(--c-bg-dark);
    color: #E2D8CF;
    padding: 60px 24px 24px;
}
.footer__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(226, 216, 207, 0.2);
}
.footer__brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    color: #fff;
    margin-bottom: 8px;
}
.footer__tag {
    color: rgba(226, 216, 207, 0.75);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}
.footer__col strong {
    display: block;
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}
.footer__col a {
    display: block;
    color: rgba(226, 216, 207, 0.8);
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.15s;
}
.footer__col a:hover {
    color: var(--c-accent);
    text-decoration: none;
}
.footer__bottom {
    max-width: var(--maxw);
    margin: 20px auto 0;
    font-size: 13px;
    color: rgba(226, 216, 207, 0.55);
    text-align: center;
}
@media (max-width: 760px) {
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
    .footer__inner { grid-template-columns: 1fr; }
}
