/* selna.se – inga externa resurser (typsnitt, skript, spårning). Färger ur SelnaPalette. */

:root {
    --green: #112620;        /* background */
    --green-deep: #0D1F1A;   /* groundDeeper */
    --surface: #1B3A31;      /* surface */
    --border: #274C42;       /* surfaceBorder */
    --cream: #F4EFE3;        /* textPrimary */
    --sage: #A9B3AC;         /* textSecondary */
    --muted: #7D8A83;        /* textMuted */
    --gold: #C9A557;         /* gold400 */
    --gold-strong: #B58C33;  /* gold500 */
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--green);
    color: var(--cream);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.55;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 16px 24px;
}

a { color: var(--gold); text-underline-offset: 3px; }

.card {
    width: 100%;
    max-width: 440px;
    text-align: center;
}

.cover {
    display: block;
    width: min(100%, 320px);
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    margin: 8px auto 24px;
    border-radius: 18px;
    border: 0.5px solid var(--border);
}

.eyebrow {
    margin: 0 0 4px;
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 0.02em;
}

h1 {
    margin: 0 0 4px;
    font-family: var(--serif);
    font-weight: 600;
    font-size: 30px;
    line-height: 1.2;
}

.meta { margin: 0 0 12px; color: var(--sage); font-size: 15px; }
.description { margin: 0 0 24px; color: var(--sage); }
.notice { margin: 16px 0 4px; font-weight: 600; }

.player { margin: 0 0 12px; }
.player audio { width: 100%; margin-top: 4px; }
.status { min-height: 1.4em; margin: 8px 0 0; color: var(--sage); font-size: 15px; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
    min-height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: var(--gold-strong);
    color: var(--green);
    font: 600 17px var(--sans);
    text-decoration: none;
    cursor: pointer;
}
.button:hover { background: var(--gold); }
.button:disabled { opacity: 0.6; cursor: progress; }
.button:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }

.play-icon {
    width: 0; height: 0;
    border-left: 13px solid currentColor;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.button-secondary {
    background: transparent;
    color: var(--cream);
    border: 1px solid var(--border);
}
.button-secondary:hover { background: var(--surface); }

.valid { margin: 0; color: var(--muted); font-size: 14px; }

.get {
    margin-top: 32px;
    padding: 20px;
    background: var(--surface);
    border: 0.5px solid var(--border);
    border-radius: 14px;
}
.pitch { margin: 0 0 14px; color: var(--sage); font-size: 15px; }
.soon { margin: 0; color: var(--cream); font-size: 15px; }

footer { margin-top: auto; padding-top: 32px; color: var(--muted); font-size: 13px; }
footer a { color: var(--muted); }

/* Startsidan */
.home h1 { font-size: 40px; }
.home .tagline { color: var(--gold); margin: 0 0 16px; }
