/* Börsbloggen – stilmall
   Färger och typsnitt kommer från mockuperna i design/mockups/. */

/* ---------- Typsnitt (självhostade, SIL Open Font License) ---------- */

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/sora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Variabler ---------- */

:root {
  /* Profilfärger */
  --navy: #0B1F33;
  --yellow: #FFCC00;
  --blue: #0B4F8A;
  --green: #13703F;
  --red: #A61B1B;
  --slate: #4A5868;
  --line: #DCE1E6;
  --mist: #F3F5F7;
  --white: #FFFFFF;

  /* Hjälpfärger ur mockuperna */
  --blue-dark: #06335C;
  --steel: #9AA6B2;
  --steel-light: #C9D3DD;
  --steel-dark: #5B6F84;
  --on-navy: #DCE3EA;
  --navy-line: #2A3D52;
  --navy-card: #10283F;
  --navy-stripe: #1B3149;
  --stripe: #EAEEF1;
  --hold-bg: #F5E6B8;
  --hold-fg: #5C3D00;

  --font-sans: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --max-width: 1240px;
  --gutter: 24px;
  --tap: 44px;
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
}

/* ---------- Grund ---------- */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

img, svg { max-width: 100%; }

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.mono { font-family: var(--font-mono); }
.up { color: var(--green); }
.down { color: var(--red); }
.neutral { color: var(--slate); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 10;
  padding: 12px 16px; background: var(--yellow); color: var(--navy); font-weight: 700;
}
.skip-link:focus { top: 8px; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Annonsytor (döljs tills ADS_ENABLED=true) ---------- */

.ad-band {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  padding: 12px var(--gutter);
  display: flex;
  justify-content: center;
}
.ad {
  width: 100%;
  border: 1px dashed var(--steel);
  background: repeating-linear-gradient(135deg, var(--mist) 0, var(--mist) 10px, var(--stripe) 10px, var(--stripe) 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--slate);
}
.ad__label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.ad__size { font-family: var(--font-mono); font-size: 13px; }
.ad--leaderboard { max-width: 970px; height: 90px; }
.ad--rectangle { max-width: 300px; height: 250px; }
.ad--halfpage { max-width: 300px; height: 600px; }
.ad--billboard { max-width: 970px; min-height: 250px; margin: 56px auto 0; }

@media (max-width: 640px) {
  .ad--leaderboard { max-width: 320px; height: 100px; }
  .ad--billboard { max-width: 320px; min-height: 320px; }
}

/* ---------- Sidhuvud ---------- */

.site-header { border-bottom: 3px solid var(--navy); }
.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__word { font-size: 30px; letter-spacing: -0.03em; }
.brand__strong { font-weight: 700; }
.brand__light { font-weight: 400; color: var(--blue); }
.brand__tagline { font-size: 13px; color: var(--slate); letter-spacing: 0.04em; margin-top: 6px; font-weight: 600; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav__link {
  padding: 12px 14px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  text-decoration: none;
}
.nav__link:hover { color: var(--blue); }
.nav__link[aria-current="page"] { font-weight: 700; box-shadow: inset 0 -3px 0 var(--yellow); }
.nav__cta {
  margin-left: 8px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 15px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}
.nav__cta:hover { background: var(--blue-dark); color: var(--white); }

@media (max-width: 760px) {
  .site-header__inner { padding-top: 16px; padding-bottom: 12px; gap: 12px; }
  .brand__word { font-size: 26px; }
  .nav { width: calc(100% + 20px); gap: 0; margin: 0 -10px; }
  .nav__link { padding: 10px; font-size: 14px; }
  .nav__cta { margin: 6px 0 0; width: calc(100% - 20px); margin-left: 10px; text-align: center; }
}

/* ---------- Gul slogan-remsa ---------- */

.strip { background: var(--yellow); border-bottom: 1px solid var(--navy); }
.strip__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.strip__title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.strip__text { font-size: 14px; font-weight: 600; }

/* ---------- Knappar, etiketter och betyg ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: #FFD633; color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--blue-dark); color: var(--white); }
.btn--ghost { border: 1px solid var(--steel-dark); color: var(--white); font-weight: 600; background: transparent; }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--outline { background: var(--white); border: 2px solid var(--navy); color: var(--navy); font-size: 15px; }
.btn--outline:hover { background: var(--mist); color: var(--navy); }
.btn--block { width: 100%; }
.btn--start { align-self: flex-start; }

.tag {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
}
.tag--yellow { background: var(--yellow); color: var(--navy); }

.badge {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  white-space: nowrap;
}
.badge--lg { font-size: 13px; padding: 6px 10px; }
.badge--buy { background: var(--green); color: var(--white); }
.badge--hold { background: var(--hold-bg); color: var(--hold-fg); }
.badge--sell { background: var(--red); color: var(--white); }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow--mono {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
}
.eyebrow--on-dark { color: var(--yellow); letter-spacing: 0.12em; }

.h2 { font-size: 32px; font-weight: 700; }
.h2--lg { font-size: clamp(32px, 4.5vw, 44px); line-height: 1.05; letter-spacing: -0.025em; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 16px;
  border-bottom: 3px solid var(--navy);
  padding-bottom: 12px;
}
.section-head__sub { font-size: 15px; color: var(--slate); margin-top: 6px; }

/* Filter- och periodflikar (vanliga länkar, ingen JavaScript) */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}
.tab:hover { border-color: var(--navy); color: var(--navy); }
.tab[aria-current="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tabs--compact .tab { padding: 0 11px; }

/* ---------- Startsidans hero ---------- */

.page-main { max-width: var(--max-width); margin: 0 auto; padding: 32px var(--gutter) 0; }

.hero { display: flex; flex-wrap: wrap; gap: 24px; }

.feature {
  flex: 999 1 560px;
  min-width: 0;
  background: var(--navy);
  color: var(--white);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.feature__date { font-size: 14px; color: var(--steel-light); }
.feature__heading { display: flex; flex-direction: column; gap: 8px; }
.feature__ticker { font-family: var(--font-mono); font-size: 15px; color: var(--yellow); }
.feature__title { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.05; font-weight: 700; }
.feature__title a { color: inherit; text-decoration: none; }
.feature__lead { font-size: 18px; line-height: 1.55; color: var(--on-navy); max-width: 640px; }
.feature__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--navy-line);
  border: 1px solid var(--navy-line);
}
.stat { background: var(--navy); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.stat__label { font-size: 12px; color: var(--steel-light); text-transform: uppercase; letter-spacing: 0.08em; }
.stat__value { font-family: var(--font-mono); font-size: 22px; font-weight: 600; white-space: nowrap; }
.stat__value--accent { color: var(--yellow); }
.stat__value--text { font-family: var(--font-sans); font-size: 18px; font-weight: 700; white-space: normal; }
.stat__note { font-size: 12px; color: var(--steel-light); }

@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .feature { padding: 28px 20px; }
  .stat__value { font-size: 19px; }
}

/* Facit i korthet */
.record-box {
  flex: 1 1 340px;
  min-width: 0;
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.record-box__title { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; margin-top: 6px; }
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tile { background: var(--white); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.tile__label { font-size: 12px; color: var(--slate); text-transform: uppercase; letter-spacing: 0.06em; }
.tile__value { font-family: var(--font-mono); font-size: 26px; font-weight: 700; white-space: nowrap; }
.note { font-size: 14px; color: var(--slate); line-height: 1.5; }
.note--sm { font-size: 13px; }
.arrow-link { font-weight: 700; font-size: 15px; }

/* Mätpunkterna som tidslinje i tomt läge */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); }
.timeline li { padding: 12px 8px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); min-width: 0; }
.timeline li:first-child { border-left: 0; }
.timeline__when { font-family: var(--font-mono); font-size: 15px; font-weight: 700; white-space: nowrap; }
.timeline__what { font-size: 12px; color: var(--slate); }
.timeline li:last-child { background: var(--yellow); }
.timeline li:last-child .timeline__what { color: var(--navy); }

/* ---------- Tomma lägen ---------- */

.empty {
  border: 1px dashed var(--steel);
  background: var(--mist);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.empty__title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.empty__text { color: var(--slate); max-width: 560px; }
.empty--dark { background: var(--navy-card); border-color: var(--steel-dark); color: var(--white); }
.empty--dark .empty__text { color: var(--on-navy); }

/* ---------- Aktuella analyser ---------- */

.analyses { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 56px; scroll-margin-top: 16px; }
.analyses__main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.analyses__main > .empty { flex: 1; justify-content: center; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card__ticker { font-family: var(--font-mono); font-size: 13px; color: var(--slate); }
.card__sector { font-size: 13px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; }
.card__title { font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; margin-top: 6px; }
.card__title a { color: var(--navy); text-decoration: none; }
.card__title a:hover { color: var(--blue); }
.card__numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.card__number { display: flex; flex-direction: column; gap: 2px; }
.card__label { font-size: 12px; color: var(--slate); }
.card__value { font-family: var(--font-mono); font-size: 14px; font-weight: 600; white-space: nowrap; }
.card__date { font-size: 13px; color: var(--slate); }

.sidebar { flex: 1 1 300px; min-width: 0; max-width: 340px; display: flex; flex-direction: column; gap: 24px; }

@media (max-width: 960px) {
  .sidebar { max-width: none; }
}

/* ---------- Kommande analyser ---------- */

.upcoming {
  margin-top: 64px;
  background: var(--navy);
  color: var(--white);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  scroll-margin-top: 16px;
}
.upcoming__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.upcoming__intro { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.upcoming__title { font-size: 36px; font-weight: 700; }
.upcoming__text { font-size: 17px; line-height: 1.5; color: var(--on-navy); }
.upcoming__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.upcoming-card { border: 1px solid var(--navy-line); background: var(--navy-card); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.upcoming-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.upcoming-card__countdown { font-family: var(--font-mono); font-size: 14px; color: var(--yellow); font-weight: 600; }
.upcoming-card__date { font-size: 13px; color: var(--steel-light); }
.upcoming-card__teaser { font-size: 19px; line-height: 1.35; font-weight: 700; }
.redacted {
  height: 56px;
  background: repeating-linear-gradient(90deg, var(--navy-line) 0, var(--navy-line) 14px, var(--navy-stripe) 14px, var(--navy-stripe) 18px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}
.redacted__text { font-family: var(--font-mono); font-size: 15px; letter-spacing: 0.1em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 600; padding: 4px 8px; border: 1px solid var(--steel-dark); color: var(--on-navy); }

@media (max-width: 640px) {
  .upcoming { padding: 28px 20px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .upcoming__title { font-size: 30px; }
}

/* ---------- Facit-tabell ---------- */

.track { margin-top: 64px; display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 16px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.record-table { width: 100%; min-width: 920px; border-collapse: collapse; font-size: 15px; }
.record-table th {
  background: var(--mist);
  text-align: left;
  padding: 14px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  white-space: nowrap;
}
.record-table td { padding: 14px 16px; border-top: 1px solid var(--line); }
.record-table .num { text-align: right; font-family: var(--font-mono); white-space: nowrap; }
.record-table .num--strong { font-weight: 700; }
.record-table__company { display: flex; flex-direction: column; gap: 2px; }
.record-table__company a { font-weight: 700; color: var(--navy); }
.record-table__ticker { font-family: var(--font-mono); font-size: 12px; color: var(--slate); }
.record-table__date { color: var(--slate); font-family: var(--font-mono); font-size: 14px; white-space: nowrap; }
.record-table__status { color: var(--slate); white-space: nowrap; }
.record-table__empty td { padding: 32px 16px; color: var(--slate); text-align: center; background: var(--white); }
.track__foot { max-width: 760px; }

/* ---------- Nyhetsbrev ---------- */

.newsletter-band { margin-top: 56px; border: 3px solid var(--navy); display: flex; flex-wrap: wrap; scroll-margin-top: 16px; }
.newsletter-band__intro {
  flex: 1 1 360px;
  min-width: 0;
  background: var(--yellow);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.newsletter-band__title { font-size: clamp(30px, 3.4vw, 38px); line-height: 1.05; font-weight: 700; }
.newsletter-band__text { font-size: 17px; line-height: 1.5; }
.newsletter-band__form { flex: 1 1 360px; min-width: 0; padding: 40px; display: flex; flex-direction: column; justify-content: center; }

@media (max-width: 640px) {
  .newsletter-band__intro, .newsletter-band__form { padding: 28px 20px; }
}

.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 14px; font-weight: 600; }
.input {
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--steel);
  background: var(--white);
  color: var(--navy);
  font-family: inherit;
  font-size: 16px;
  width: 100%;
}
.input:focus { border-color: var(--navy); }
.input[aria-invalid="true"] { border-color: var(--red); border-width: 2px; }
.fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.fieldset legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.check { display: flex; align-items: center; gap: 8px; font-size: 15px; min-height: var(--tap); }
.check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--navy); }
.check--consent { align-items: flex-start; gap: 10px; font-size: 13px; color: var(--slate); line-height: 1.45; min-height: 0; }
.check--consent input { margin-top: 1px; }
.form-error { font-size: 14px; font-weight: 600; color: var(--red); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Kompakt gul variant i sidokolumnen */
.newsletter-side { background: var(--yellow); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.newsletter-side__title { font-size: 22px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.newsletter-side .form { gap: 12px; }
.newsletter-side .input { border: 2px solid var(--navy); min-height: var(--tap); font-size: 15px; }
.newsletter-side .check--consent { color: var(--navy); }

/* ---------- Sidfot ---------- */

.site-footer { margin-top: 72px; background: var(--navy); color: var(--on-navy); }
.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.site-footer__about { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.site-footer__brand { display: flex; align-items: center; gap: 12px; }
.site-footer__word { font-size: 26px; letter-spacing: -0.03em; color: var(--white); }
.site-footer__word .brand__light { color: var(--yellow); }
.site-footer__tagline { font-size: 16px; font-weight: 700; color: var(--white); }
.site-footer__text { font-size: 14px; line-height: 1.6; }
.site-footer__link { font-size: 14px; color: var(--yellow); }
.site-footer__link:hover { color: var(--white); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 48px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer__heading { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-light); }
.site-footer__col a { color: var(--white); text-decoration: none; }
.site-footer__col a:hover { color: var(--yellow); }
.site-footer__company { border-top: 1px solid var(--navy-line); padding: 20px var(--gutter); font-size: 14px; color: var(--on-navy); }
.site-footer__company-inner { max-width: var(--max-width); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; }
.site-footer__company a { color: var(--white); }
.site-footer__company a:hover { color: var(--yellow); }

/* ---------- Om oss ---------- */

.about-hero { background: var(--navy); color: var(--white); }
.about-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 88px var(--gutter) 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.about-hero__kicker { font-family: var(--font-mono); font-size: 14px; color: var(--yellow); letter-spacing: 0.08em; }
.about-hero__title { font-size: clamp(44px, 7.5vw, 80px); line-height: 0.98; font-weight: 700; letter-spacing: -0.035em; max-width: 1000px; }
.about-hero__title span { color: var(--yellow); }
.about-hero__lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: var(--on-navy); max-width: 720px; }

@media (max-width: 640px) {
  .about-hero__inner { padding-top: 56px; padding-bottom: 64px; }
}

.story { display: flex; flex-wrap: wrap; gap: 64px; padding: 88px 0 72px; align-items: flex-start; }
.story__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.story__text p { font-size: 19px; line-height: 1.65; }
.story__punch { font-size: 24px !important; line-height: 1.4 !important; font-weight: 700; padding: 20px 24px; background: var(--yellow); }

@media (max-width: 640px) {
  .story { padding: 56px 0 48px; gap: 48px; }
  .story__text p { font-size: 17px; }
}

/* Kvittot */
.receipt-figure { flex: 1 1 340px; min-width: 0; max-width: 400px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.receipt {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(11, 31, 51, 0.14);
  padding: 28px 26px;
  font-family: var(--font-mono);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: rotate(1.5deg);
}
.receipt__head { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.receipt__brand { font-size: 18px; font-weight: 700; }
.receipt__no { font-size: 12px; color: var(--slate); }
.receipt__rule { border-top: 2px dashed var(--steel); }
.receipt__row { display: flex; justify-content: space-between; gap: 8px; }
.receipt__row > span:last-child { white-space: nowrap; text-align: right; }
.receipt__row--total { font-size: 16px; font-weight: 700; }
.receipt__strong { font-weight: 700; }
.receipt__foot { text-align: center; font-size: 12px; color: var(--slate); margin-top: 6px; }
.receipt__stamp {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-14deg);
  border: 4px solid var(--red);
  color: var(--red);
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 4px 18px;
  opacity: 0.8;
  pointer-events: none;
}
.receipt-figure figcaption { font-size: 13px; color: var(--slate); text-align: center; line-height: 1.5; }

/* Löften */
.principles { border-top: 3px solid var(--navy); padding: 72px 0; display: flex; flex-direction: column; gap: 36px; }
.principles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.principle { background: var(--white); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.principle__no {
  width: 80px; height: 80px;
  border-radius: 18px;
  background: var(--navy);
  color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 46px; font-weight: 800; line-height: 1;
}
.principle__title { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.principle__text { font-size: 16px; line-height: 1.55; color: var(--slate); }

/* Process */
.process { background: var(--mist); padding: 72px 0; }
.process__inner { display: flex; flex-direction: column; gap: 36px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.step__no {
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 3px solid var(--navy);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; font-weight: 800; line-height: 1;
}
.step:last-child .step__no { background: var(--yellow); }
.step__title { font-size: 21px; font-weight: 700; }
.step__text { font-size: 16px; line-height: 1.55; color: var(--slate); }

.team { padding: 72px 0; display: flex; flex-direction: column; gap: 36px; }

/* ---------- Textsidor (metod, integritet, analys) ---------- */

.page-hero { background: var(--navy); color: var(--white); }
.page-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px var(--gutter) 64px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.page-hero__title { font-size: clamp(36px, 5.5vw, 56px); line-height: 1.02; font-weight: 700; letter-spacing: -0.03em; max-width: 900px; }
.page-hero__lead { font-size: 19px; line-height: 1.55; color: var(--on-navy); max-width: 720px; }
.page-hero__meta { font-size: 14px; color: var(--steel-light); }

.prose { max-width: 760px; padding: 56px 0 0; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 28px; font-weight: 700; margin-top: 48px; scroll-margin-top: 16px; }
.prose h3 { font-size: 20px; font-weight: 700; margin-top: 28px; }
.prose p, .prose li { font-size: 17px; line-height: 1.65; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose strong { font-weight: 700; }
.prose .lead { font-size: 20px; line-height: 1.55; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th { text-align: left; background: var(--mist); padding: 12px 14px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); }
.prose td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.prose .table-wrap { margin-top: 18px; }
.prose .table-wrap table { min-width: 520px; }
.callout { border-left: 4px solid var(--yellow); background: var(--mist); padding: 18px 22px; }
.callout p { font-size: 16px; }
.formula { font-family: var(--font-mono); font-size: 15px; background: var(--navy); color: var(--white); padding: 18px 22px; overflow-x: auto; }

/* Analys */
.analysis-facts { margin-top: 32px; }
.analysis-facts .stat-grid { max-width: 900px; }
.analysis-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--slate); margin-top: 32px; }

/* Enkel sida för nyhetsbrevsflödet */
.flow { max-width: 640px; margin: 0 auto; padding: 64px 0 0; display: flex; flex-direction: column; gap: 20px; }
.flow__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; }
.flow__icon--neutral { background: var(--navy); }
.flow__title { font-size: clamp(30px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em; }
.flow__text { font-size: 17px; line-height: 1.6; color: var(--slate); }
.flow .newsletter-band { margin-top: 8px; }
