@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/assets/fonts/fredoka-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --ink: #1f2933;
  --green: #2f5d50;
  --green-dark: #24483e;
  --paper: #f6f5f2;
  --white: #fffdf8;
  --mustard: #ffd000;
  --river: #8ebfd3;
  --muted: #5f6870;
  --line: 2px solid var(--ink);
  --radius: 24px;
  --shadow: 6px 6px 0 var(--ink);
  --heading: "Fredoka", Arial, Helvetica, sans-serif;
  --body: "Inter", Arial, Helvetica, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
h1 { max-width: 9ch; font-size: clamp(3.25rem, 7vw, 6rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }

.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding-block: clamp(76px, 10vw, 132px); }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border: var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: var(--line);
  background: rgba(246, 245, 242, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.site-header-centered .header-inner { justify-content: center; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .045em;
  text-decoration: none;
}
.wordmark-logo {
  display: block;
  width: 190px;
  height: auto;
}
.wordmark svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.header-inner nav, .footer-inner nav { display: flex; align-items: center; gap: 28px; }
.header-inner nav > a:not(.button), .footer-inner nav a { font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 22px;
  border: var(--line);
  border-radius: 999px;
  background: var(--green);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--paper);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}
.button:hover { transform: translate(-1px, -1px); background: var(--green-dark); box-shadow: 5px 5px 0 var(--ink); }
.button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.button:disabled { cursor: wait; opacity: .7; transform: none; }
.button-small { min-height: 42px; padding: 9px 18px; }
.button-mustard { background: var(--mustard); color: var(--ink); }
.button-mustard:hover { background: #d1b35f; }

.hero {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 690px;
  align-items: center;
  padding-block: 60px 68px;
  border-bottom: var(--line);
  background: var(--paper);
  scroll-margin-top: 82px;
  overflow: hidden;
}
/* Sektionen har även klassen shell (för hero-copy), som i smal vy sätter width: 100% - 28px.
   Hero ska alltid gå kant i kant. */
.hero.shell { width: 100%; margin-inline: 0; }
.hero::before {
  content: "";
  position: absolute;
  /* Bilden skjuts nedåt genom att lagret är högre än hero (hero klipper det). Med
     background-position kvar på 100% + offset blev det en tom remsa överst. */
  inset: 0 0 -58px 0;
  background: url("/assets/images/hero_host.png") center bottom / cover no-repeat;
  background-image: image-set(
    url("/assets/images/hero_host.webp") type("image/webp"),
    url("/assets/images/hero_host.jpg") type("image/jpeg"),
    url("/assets/images/hero_host.png") type("image/png")
  );
  opacity: 1;
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .95fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
  transform: translateY(-135px);
}
.hero-signup {
  padding: 28px;
  border: 3px solid var(--green);
  border-radius: var(--radius);
  background: rgba(246, 245, 242, .94);
  box-shadow: 8px 8px 0 var(--green);
  transform: none;
}
.hero-signup-copy { margin-bottom: 20px; }
.hero-signup-copy h2 { font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.08; }
.hero-signup .signup { max-width: none; margin-top: 0; }
.hero-message h1 {
  max-width: none;
  color: var(--mustard);
  font-size: clamp(3.6rem, 6.4vw, 7.7rem);
  -webkit-text-stroke: 8px var(--green);
  paint-order: stroke fill;
}
.hero-message h1 span { white-space: nowrap; }
@media (min-width: 931px) and (max-width: 1280px) {
  /* Två kolumner med formuläret fast på minst 430 px: rubriken följer sin kolumn
     (8vw) i stället för att krympa snabbare än den har plats att fylla. */
  .hero-message h1 { font-size: clamp(3.6rem, 8vw, 5.1rem); }
}
@media (max-width: 930px) {
  /* En rad: <br> döljs och orden får ett mellanslag. Raden bryts bara om den inte ryms. */
  .hero-message h1 { font-size: clamp(2.1rem, 11.2vw, 5.6rem); -webkit-text-stroke: .11em var(--green); }
  .hero-message h1 br { display: none; }
  .hero-message h1 span:first-child::after { content: " "; }
}
.eyebrow, .section-kicker {
  display: inline-block;
  margin-bottom: 18px;
  border: var(--line);
  border-radius: 999px;
  background: var(--mustard);
  padding: 5px 12px 4px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .085em;
  line-height: 1.25;
}
.hero-lead { max-width: 34rem; margin-top: 24px; font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
/* Texten under hero-rubriken: bredden följer rubriken (width: 0 + min-width: 100% gör att den
   inte påverkar kolumnens bredd), så rubrik och kort behåller sitt avstånd. */
.hero-message .hero-lead { width: 0; min-width: 100%; margin-top: 18px; color: var(--ink); font-weight: 600; line-height: 1.45; }
@media (max-width: 930px) {
  .hero-message .hero-lead { width: auto; min-width: 0; max-width: 34rem; margin-top: 14px; }
}
.signup { max-width: 620px; margin-top: 30px; }
.signup label { display: block; margin: 0 0 8px 16px; font-size: .78rem; font-weight: 700; }
.signup-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.signup-row input,
.formkit-input {
  min-width: 0;
  width: 100%;
  border: var(--line);
  border-radius: 999px;
  outline: 0;
  background: var(--white);
  color: var(--ink);
  padding: 14px 18px;
  font-size: 1rem;
}
.signup-row input:focus,
.formkit-input:focus { outline: 4px solid rgba(196, 162, 77, .48); outline-offset: 2px; }
.signup-row input::placeholder,
.formkit-input::placeholder { color: #747b80; }
.formkit-field { display: flex; min-width: 0; flex: 1; }
.formkit-submit { width: 100%; }
.formkit-submit > span { display: inline-flex; align-items: center; gap: 7px; }
.formkit-alert {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  color: #913a2d;
  font-size: .85rem;
  font-weight: 700;
}
.formkit-alert:empty { display: none; }
.formkit-powered-by-convertkit-container { display: none; margin-top: 9px; text-align: center; }
.formkit-powered-by-convertkit {
  color: inherit;
  font-size: .7rem;
  font-weight: 700;
  opacity: .42;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.signup-note {
  max-width: 36ch;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}
.signup-note-light {
  color: rgba(246, 245, 242, .82);
}
.form-message { min-height: 1.6em; margin: 9px 16px 0; font-size: .85rem; font-weight: 600; }
.form-message[data-state="error"] { color: #913a2d; }
.form-message[data-state="success"] { color: var(--green); }
.proof-points { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin: 17px auto 0; padding: 0; list-style: none; text-align: center; }
.proof-points li { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .05em; }
.proof-points li::before { content: ""; width: 8px; height: 8px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--mustard); }

.issue-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-top: var(--line);
}
.issue-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: image-set(
    url("/assets/images/birch-leaves-pattern.webp") type("image/webp"),
    url("/assets/images/birch-leaves-pattern.png") type("image/png")
  );
  background-size: 520px auto;
  background-position: center top;
  opacity: .09;
  pointer-events: none;
}
.issue-section > * {
  position: relative;
  z-index: 1;
}
.issue-section > .section-heading,
.issue-section > .story-grid {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.section-heading p { max-width: 44ch; margin-top: 12px; color: var(--muted); }
.section-heading.compact { margin-bottom: 34px; }
.section-kicker { margin-bottom: 13px; background: var(--river); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.story-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  overflow: hidden;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.story-card:first-child { grid-row: span 2; min-height: 0; }
.story-card-featured { background: #dfeae5; }
.story-card-featured::before {
  content: "";
  position: absolute;
  top: 34px;
  right: 42px;
  width: 138px;
  height: 138px;
  border: var(--line);
  border-radius: 50%;
  background: var(--mustard);
  display: none;
}
.story-media { aspect-ratio: 16 / 8; overflow: hidden; border-bottom: var(--line); background: var(--river); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 25px 26px 24px; }
.story-card:first-child .story-content { position: relative; z-index: 1; justify-content: flex-start; padding: 34px; }
.story-card:first-child h3 { max-width: 13ch; font-size: clamp(1.85rem, 2.8vw, 2.7rem); }
.story-tag { margin-bottom: 13px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--mustard); padding: 3px 9px; font-size: .68rem; font-weight: 800; letter-spacing: .07em; }
.story-card p { margin-top: 12px; color: var(--muted); }
.story-link { margin-top: auto; padding-top: 18px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-underline-offset: 4px; }
.story-card:not(:first-child) .story-content { display: grid; grid-template-columns: 1fr auto; column-gap: 18px; }
.story-card:not(:first-child) .story-tag, .story-card:not(:first-child) p, .story-card:not(:first-child) .story-link { grid-column: 1 / -1; }
.story-card:not(:first-child) .story-marker { display: none; }
.demo-note { margin-top: 18px; color: var(--muted); font-size: .78rem; }

.mid-cta {
  border-block: var(--line);
  background: var(--green);
  color: var(--paper);
}
.mid-cta-inner { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 60px; padding-block: 58px; }
.mid-cta h2 { font-size: clamp(2.5rem, 4.5vw, 4rem); }
.mid-cta p { margin-top: 10px; }
.eyebrow-light { background: var(--mustard); color: var(--ink); }
.signup-dark { margin-top: 0; }
.signup-dark .form-message { color: var(--paper); }

.thanks-page {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: clamp(44px, 8vw, 86px) 20px clamp(72px, 10vw, 128px);
  border-bottom: var(--line);
}
.thanks-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: image-set(
    url("/assets/images/birch-leaves-pattern.webp") type("image/webp"),
    url("/assets/images/birch-leaves-pattern.png") type("image/png")
  );
  background-size: 520px auto;
  background-position: center top;
  opacity: .09;
  pointer-events: none;
}
.thanks-card {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  border: 3px solid var(--green);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .96);
  box-shadow: 8px 8px 0 var(--green);
  padding: clamp(30px, 6vw, 56px);
  text-align: center;
}
.thanks-card h1 {
  max-width: none;
  color: var(--green);
  font-size: clamp(3.2rem, 8vw, 6.4rem);
}
.thanks-card p {
  max-width: 48ch;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}
.thanks-card .thanks-note {
  margin-top: 22px;
  border: 2px solid rgba(47, 93, 80, .28);
  border-radius: 16px;
  background: #f0f6ef;
  padding: 12px 16px;
  color: var(--green);
  font-size: .96rem;
  font-weight: 700;
}
.thanks-card .button {
  margin-top: 28px;
}
.confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.confetti span {
  position: absolute;
  top: -24px;
  left: var(--x);
  width: 10px;
  height: 16px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  background: var(--c);
  opacity: .9;
  transform: rotate(var(--r));
  animation: confetti-fall var(--d) linear var(--delay) both;
}
.confetti span:nth-child(1) { --x: 6%; --c: var(--mustard); --r: 12deg; --d: 2.8s; --delay: 0s; }
.confetti span:nth-child(2) { --x: 12%; --c: var(--river); --r: -22deg; --d: 3.2s; --delay: .1s; }
.confetti span:nth-child(3) { --x: 18%; --c: #8ed8a8; --r: 35deg; --d: 2.6s; --delay: .18s; }
.confetti span:nth-child(4) { --x: 24%; --c: var(--mustard); --r: -8deg; --d: 3.4s; --delay: .04s; }
.confetti span:nth-child(5) { --x: 31%; --c: #ff8c6b; --r: 28deg; --d: 2.9s; --delay: .22s; }
.confetti span:nth-child(6) { --x: 38%; --c: var(--river); --r: -38deg; --d: 3.1s; --delay: .08s; }
.confetti span:nth-child(7) { --x: 44%; --c: var(--mustard); --r: 18deg; --d: 2.7s; --delay: .28s; }
.confetti span:nth-child(8) { --x: 51%; --c: #8ed8a8; --r: -18deg; --d: 3.3s; --delay: .13s; }
.confetti span:nth-child(9) { --x: 58%; --c: #ff8c6b; --r: 42deg; --d: 2.8s; --delay: .03s; }
.confetti span:nth-child(10) { --x: 64%; --c: var(--river); --r: -12deg; --d: 3.5s; --delay: .2s; }
.confetti span:nth-child(11) { --x: 70%; --c: var(--mustard); --r: 30deg; --d: 2.9s; --delay: .11s; }
.confetti span:nth-child(12) { --x: 76%; --c: #8ed8a8; --r: -30deg; --d: 3.2s; --delay: .26s; }
.confetti span:nth-child(13) { --x: 82%; --c: var(--river); --r: 8deg; --d: 2.7s; --delay: .06s; }
.confetti span:nth-child(14) { --x: 88%; --c: #ff8c6b; --r: -42deg; --d: 3.4s; --delay: .16s; }
.confetti span:nth-child(15) { --x: 94%; --c: var(--mustard); --r: 24deg; --d: 3s; --delay: .24s; }
.confetti span:nth-child(16) { --x: 34%; --c: #ff8c6b; --r: -26deg; --d: 3.6s; --delay: .32s; }
.confetti span:nth-child(17) { --x: 67%; --c: #8ed8a8; --r: 14deg; --d: 3.7s; --delay: .36s; }
.confetti span:nth-child(18) { --x: 49%; --c: var(--mustard); --r: -16deg; --d: 3.8s; --delay: .4s; }
.confetti span:nth-child(19) { --x: 3%; --c: #8ed8a8; --r: 18deg; --d: 3.9s; --delay: .44s; }
.confetti span:nth-child(20) { --x: 9%; --c: #ff8c6b; --r: -34deg; --d: 3.1s; --delay: .52s; }
.confetti span:nth-child(21) { --x: 15%; --c: var(--mustard); --r: 48deg; --d: 3.5s; --delay: .48s; }
.confetti span:nth-child(22) { --x: 21%; --c: var(--river); --r: -18deg; --d: 3.7s; --delay: .58s; }
.confetti span:nth-child(23) { --x: 28%; --c: #8ed8a8; --r: 32deg; --d: 4s; --delay: .5s; }
.confetti span:nth-child(24) { --x: 36%; --c: var(--mustard); --r: -46deg; --d: 3.3s; --delay: .62s; }
.confetti span:nth-child(25) { --x: 42%; --c: #ff8c6b; --r: 22deg; --d: 3.8s; --delay: .56s; }
.confetti span:nth-child(26) { --x: 55%; --c: var(--river); --r: -28deg; --d: 4.1s; --delay: .46s; }
.confetti span:nth-child(27) { --x: 61%; --c: #8ed8a8; --r: 38deg; --d: 3.4s; --delay: .64s; }
.confetti span:nth-child(28) { --x: 73%; --c: var(--mustard); --r: -20deg; --d: 4s; --delay: .54s; }
.confetti span:nth-child(29) { --x: 79%; --c: #ff8c6b; --r: 16deg; --d: 3.6s; --delay: .66s; }
.confetti span:nth-child(30) { --x: 85%; --c: var(--river); --r: -40deg; --d: 3.9s; --delay: .5s; }
.confetti span:nth-child(31) { --x: 91%; --c: #8ed8a8; --r: 26deg; --d: 3.2s; --delay: .6s; }
.confetti span:nth-child(32) { --x: 97%; --c: var(--mustard); --r: -14deg; --d: 3.8s; --delay: .7s; }
.confetti span:nth-child(33) { --x: 46%; --c: #ff8c6b; --r: 44deg; --d: 4.2s; --delay: .72s; }
.confetti span:nth-child(34) { --x: 1%; --c: var(--river); --r: -22deg; --d: 4.4s; --delay: .12s; }
.confetti span:nth-child(35) { --x: 5%; --c: var(--mustard); --r: 36deg; --d: 4.1s; --delay: .82s; }
.confetti span:nth-child(36) { --x: 11%; --c: #ff8c6b; --r: -50deg; --d: 4.5s; --delay: .76s; }
.confetti span:nth-child(37) { --x: 17%; --c: #8ed8a8; --r: 20deg; --d: 4.3s; --delay: .9s; }
.confetti span:nth-child(38) { --x: 23%; --c: var(--river); --r: -10deg; --d: 4.6s; --delay: .68s; }
.confetti span:nth-child(39) { --x: 30%; --c: var(--mustard); --r: 52deg; --d: 4.2s; --delay: .86s; }
.confetti span:nth-child(40) { --x: 39%; --c: #ff8c6b; --r: -32deg; --d: 4.7s; --delay: .78s; }
.confetti span:nth-child(41) { --x: 48%; --c: #8ed8a8; --r: 12deg; --d: 4.5s; --delay: .88s; }
.confetti span:nth-child(42) { --x: 53%; --c: var(--mustard); --r: -44deg; --d: 4.2s; --delay: .94s; }
.confetti span:nth-child(43) { --x: 59%; --c: var(--river); --r: 34deg; --d: 4.8s; --delay: .74s; }
.confetti span:nth-child(44) { --x: 66%; --c: #ff8c6b; --r: -24deg; --d: 4.4s; --delay: .84s; }
.confetti span:nth-child(45) { --x: 71%; --c: #8ed8a8; --r: 46deg; --d: 4.6s; --delay: .92s; }
.confetti span:nth-child(46) { --x: 78%; --c: var(--mustard); --r: -6deg; --d: 4.3s; --delay: .8s; }
.confetti span:nth-child(47) { --x: 84%; --c: var(--river); --r: 28deg; --d: 4.9s; --delay: .98s; }
.confetti span:nth-child(48) { --x: 89%; --c: #ff8c6b; --r: -36deg; --d: 4.5s; --delay: .72s; }
.confetti span:nth-child(49) { --x: 96%; --c: #8ed8a8; --r: 18deg; --d: 4.7s; --delay: .96s; }
.confetti span:nth-child(50) { --x: 14%; --c: var(--mustard); --r: -18deg; --d: 5s; --delay: 1.04s; }
.confetti span:nth-child(51) { --x: 57%; --c: #ff8c6b; --r: 40deg; --d: 5.1s; --delay: 1.08s; }
.confetti span:nth-child(52) { --x: 74%; --c: var(--river); --r: -48deg; --d: 5s; --delay: 1.02s; }
.confetti span:nth-child(53) { --x: 26%; --c: #8ed8a8; --r: 30deg; --d: 5.2s; --delay: 1.1s; }
@keyframes confetti-fall {
  0% { translate: 0 -20px; rotate: 0deg; }
  75% { opacity: .9; }
  100% { translate: var(--drift, 18px) 78vh; rotate: 520deg; opacity: 0; }
}

@media (min-width: 760px) {
  .mid-cta .signup-row {
    grid-template-columns: minmax(0, .75fr) minmax(0, 1fr) auto;
  }
  .mid-cta .formkit-submit {
    width: auto;
  }
}

.site-footer { position: relative; overflow: hidden; border-top: var(--line); background: var(--ink); color: var(--paper); }
.footer-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; min-height: 250px; gap: 30px; padding-block: 70px 56px; }
.wordmark-light { color: var(--paper); }
.footer-inner p { margin-top: 10px; color: #d6d8d5; }
.footer-birches { position: absolute; right: 5%; bottom: -45px; width: 310px; height: 260px; opacity: .12; background: repeating-linear-gradient(90deg, transparent 0 54px, var(--paper) 54px 72px, transparent 72px 108px); transform: skewX(-5deg); }

:focus-visible { outline: 4px solid var(--mustard); outline-offset: 3px; }

@media (min-width: 931px) {
  /* Rubriken och kortet är en grupp med fast avstånd, centrerad i hero. Då följer
     rubriken kortet och driver inte iväg åt vänster när fönstret blir bredare. */
  .hero-copy { grid-template-columns: auto minmax(430px, 480px); justify-content: center; column-gap: clamp(36px, 5vw, 80px); }
  .hero-message { transform: translateY(-34px); }
  .hero-signup { width: min(100%, 480px); justify-self: end; transform: translateY(36px); }
}

@media (max-width: 930px) {
  .hero { min-height: 700px; padding-block: 58px 68px; }
  .hero::before { inset: 0 0 -42px 0; }
  .hero-copy { max-width: 760px; grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { transform: translateY(-70px); }
  .hero-signup { max-width: 650px; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-card:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 360px; }
  .story-card:not(:first-child) .story-content { display: flex; }
  .story-marker { display: none; }
  .mid-cta-inner { grid-template-columns: 1fr; gap: 28px; }
  .signup-dark { width: 100%; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1160px); }
  .section { padding-block: 72px; }
  .header-inner { min-height: 70px; }
  .header-inner nav > a:not(.button) { display: none; }
  .header-inner .button { min-height: 40px; padding-inline: 14px; font-size: .75rem; }
  .wordmark { font-size: 1.1rem; }
  .wordmark-logo { width: 158px; }
  .wordmark svg { width: 22px; }
  .hero { min-height: 660px; padding-block: 52px 62px; }
  .hero::before { inset: 0 0 -30px 0; }
  .hero-copy { width: min(100% - 28px, 1160px); }
  .hero-copy { transform: none; }
  .hero-signup { padding: 22px; transform: none; }
  h1 { font-size: clamp(3.25rem, 15vw, 4.5rem); }
  .formkit-field { width: 100%; }
  .signup-row .button { width: 100%; }
  .proof-points { gap: 7px 14px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card:first-child { min-height: 330px; }
  .story-card:first-child .story-content { padding: 26px; }
  .story-card:not(:first-child) .story-content { padding: 24px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner nav { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .confetti { display: none; }
}

/* The archive: one sent issue, and the list of every issue. */
.issue-page,
.archive-page { max-width: 760px; padding-block: 48px 64px; }
.issue-meta,
.archive-week { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.issue-page h1,
.archive-page h1 { margin: 8px 0 16px; font-size: clamp(34px, 6vw, 56px); }
.issue-preheader { margin: 0 0 32px; color: var(--muted); font-size: 19px; }
.issue-body h2 { margin: 40px 0 12px; font-size: 28px; }
.issue-body ul { padding-left: 20px; }
.issue-body li { margin-bottom: 10px; }
.issue-body a { color: var(--green); text-underline-offset: 3px; overflow-wrap: anywhere; }
.issue-back { margin-top: 48px; font-weight: 600; }
.archive-list { display: grid; gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.archive-list a { display: grid; gap: 4px; padding: 20px 24px; border: var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); text-decoration: none; }
.archive-list strong { font-family: var(--heading); font-size: 22px; line-height: 1.15; }
.archive-empty { margin-top: 32px; font-weight: 600; }

/* The newest issues on the homepage: a green band with the archive's white cards. */
.recent-issues { padding-block: clamp(64px, 8vw, 104px); border-top: var(--line); background: var(--green); color: var(--paper); }
.recent-issues .section-heading { margin-bottom: 32px; }
.recent-list { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; color: var(--ink); }
.recent-more { margin: 32px 0 0; font-weight: 700; }
.recent-more a { color: var(--paper); text-underline-offset: 5px; }
@media (max-width: 759px) {
  .recent-list { grid-template-columns: 1fr; }
}

/* The homepage's last signup band is white after the green issues band. The
   archive pages keep the green band, so the shared form is recoloured here. */
.mid-cta-light { background: var(--white); color: var(--ink); }
.mid-cta-light .button-mustard { background: var(--green); color: var(--paper); }
.mid-cta-light .button-mustard:hover { background: var(--green-dark); }
.mid-cta-light .signup-note-light { color: var(--muted); }
.mid-cta-light .signup-dark .form-message:not([data-state]) { color: var(--ink); }
.mid-cta-light .signup-dark .form-message[data-state="error"] { color: #913a2d; }
.mid-cta-light .signup-dark .form-message[data-state="success"] { color: var(--green); }
.mid-cta-light :focus-visible { outline-color: var(--ink); }

.contact-form { display: grid; gap: 8px; margin-top: 28px; max-width: 560px; }
.contact-form label { font-weight: 600; margin-top: 8px; }
.contact-form input,
.contact-form textarea { width: 100%; border: var(--line); border-radius: 16px; outline: 0; background: var(--white); color: var(--ink); padding: 14px 18px; font: inherit; }
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 4px solid rgba(196, 162, 77, .48); outline-offset: 2px; }
.contact-form .cf-turnstile { margin-top: 12px; min-height: 65px; }
.contact-form .button { justify-self: start; margin-top: 8px; }
.contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-status { margin-top: 20px; font-weight: 700; }
.contact-ok { color: var(--green); }
.contact-error { color: #913a2d; }

.ad-page { max-width: 1040px; padding-block: 48px 64px; }
.ad-page h1 { max-width: none; margin: 8px 0 16px; font-size: clamp(34px, 6vw, 56px); }
.ad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 8px; align-items: start; }
.ad-copy h2,
.ad-form h2 { margin: 32px 0 10px; font-size: 26px; }
.ad-copy h2:first-child,
.ad-form h2:first-child { margin-top: 0; }
.ad-copy ul { padding-left: 20px; }
.ad-copy li { margin-bottom: 8px; }
.ad-form .contact-form { margin-top: 0; max-width: none; }
@media (max-width: 760px) { .ad-grid { grid-template-columns: 1fr; gap: 32px; } }
