/* myceon — nyheter. Samma uttryck som landningssidan (/about/): salviaton, grönsvart bläck,
   varumärkets blå bara i de levande punkterna. Tyst och läsbar — texten är huvudsaken. */
:root {
  --bg: #EEF1EE; --stage: #E5EBE6; --ink: #1E2B24; --soft: #4A5C52; --faint: #6E7F75;
  --line: #2E3F37; --rule: rgba(46, 63, 55, .16); --lit: #1F5CFF; --lit-ink: #FFFFFF;
  --dark: #121A16; --dark-ink: #E6EEE8; --dark-soft: #9DB0A5;
  --w: 1120px; --measure: 40rem; --gutter: clamp(20px, 5vw, 56px);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0F1512; --stage: #121A16; --ink: #E6EEE8; --soft: #9DB0A5; --faint: #7F948A;
    --line: #B9CBBF; --rule: rgba(185, 203, 191, .16); --lit: #7AA6FF; --lit-ink: #0A0D12; --dark: #0A100D; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--gutter); }
.wordmark { font-weight: 700; letter-spacing: -0.045em; line-height: 1; text-decoration: none; color: var(--ink); }
:focus-visible { outline: 2px solid var(--lit); outline-offset: 3px; border-radius: 6px; }

/* Topp — som landningssidan */
.top { background: var(--stage); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.top .wordmark { font-size: 28px; }
.top nav { display: flex; align-items: center; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 38px; padding: 0 14px; border-radius: 10px;
  font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--lit); color: var(--lit-ink); }
.btn-quiet { color: var(--ink); }
.lang { display: inline-flex; padding: 3px; margin-right: 4px; border: 1px solid var(--rule); border-radius: 999px; }
.lang button { height: 28px; min-width: 36px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; color: var(--faint); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* Rubrikband */
.head { background: var(--stage); border-bottom: 1px solid var(--rule); }
.head .wrap { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(36px, 5vw, 64px); }
.head h1 { margin: 0; max-width: 18ch; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.head p { margin: 16px 0 0; max-width: var(--measure); color: var(--soft); font-size: clamp(17px, 1.4vw, 19px); text-wrap: pretty; }
.head time, .item time { display: block; margin-bottom: 14px; color: var(--faint); font-size: 14px; font-weight: 600; }

/* Lista — en tråd längs vänsterkanten, en levande punkt per nyhet */
.list { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 110px); }
.list ol { list-style: none; margin: 0; padding: 0; max-width: 46rem; }
.list li { position: relative; padding: 0 0 44px 28px; }
.list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--lit); box-shadow: 0 0 0 6px color-mix(in srgb, var(--lit) 16%, transparent); }
.list li:not(:last-child)::after { content: ""; position: absolute; left: 4px; top: 26px; bottom: 6px; width: 1px; background: var(--line); opacity: .3; }
.list li time { display: block; margin-bottom: 6px; color: var(--faint); font-size: 14px; font-weight: 600; line-height: 1.3; }
.list h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.25; font-weight: 650; letter-spacing: -0.015em; }
.list h2 a { text-decoration: none; }
.list h2 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.list p { margin: 0; color: var(--soft); text-wrap: pretty; }

/* En nyhet */
.item { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 110px); }
.item .body { max-width: var(--measure); }
.item .body p { margin: 0 0 20px; font-size: 18px; line-height: 1.7; text-wrap: pretty; }
.item .back { display: inline-block; margin-top: 16px; color: var(--soft); font-size: 15px; font-weight: 600; text-underline-offset: 3px; }

footer { background: var(--dark); color: var(--dark-soft); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 28px; padding-bottom: 32px; }
footer a { color: var(--dark-ink); text-underline-offset: 3px; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .top .btn-quiet { display: none; }
  .item .body p { font-size: 17px; }
}
