/* GreenRose. Colours come from the rose logo; evidence colours are the only accents. */
:root {
  --paper: #F3F6F2;
  --paper-2: #E6EEE7;
  --ink: #17241E;
  --ink-2: #46564E;
  --stem: #1B4F35;
  --leaf: #3D8A5C;
  --petal: #87C29A;
  --documented: #24683F;
  --claimed: #8C6A12;
  --disputed: #A3364E;
  --rule: #CBD7CE;
  --grot: "Familjen Grotesk", "Inter Display", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", "Lora", Georgia, "Times New Roman", serif;
  --wrap: 74rem;
  --pad: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.62 var(--serif); font-optical-sizing: auto; }
img { max-width: 100%; height: auto; }
a { color: var(--stem); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--grot); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .5em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: var(--wrap); margin: 0 auto; padding: 1rem var(--pad); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font: 700 1.5rem/1 var(--grot); letter-spacing: -.03em; }
.brand img { width: 40px; height: 40px; }
.top nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font: 600 1rem/1.2 var(--grot); }
.top nav a { color: var(--ink); text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current="page"] { border-bottom-color: var(--leaf); }
.top nav .nav-sub { color: var(--stem); }

/* hero */
.hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(2rem, 7vw, 6rem) var(--pad) clamp(2.5rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: end; }
.slogan { font-size: clamp(3.4rem, 11vw, 9.5rem); line-height: .86; letter-spacing: -.055em; margin: 0; color: var(--stem); }
.slogan span { display: block; }
.slogan span:nth-child(2) { color: var(--ink); }
.hero-lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--ink-2); margin: 0 0 1.75rem; max-width: 34rem; }

/* subscribe */
.sub label { display: block; font: 600 .95rem/1.2 var(--grot); margin-bottom: .45rem; }
.sub-row { display: flex; gap: .5rem; }
.sub input { flex: 1; min-width: 0; font: 400 1.05rem var(--serif); padding: .8rem .9rem; border: 1.5px solid var(--ink); border-radius: 6px; background: #fff; color: var(--ink); }
.sub button { font: 700 1rem var(--grot); padding: .8rem 1.25rem; border: 0; border-radius: 6px; background: var(--stem); color: #fff; cursor: pointer; }
.sub button:hover { background: var(--ink); }
.sub-note { font-size: .9rem; color: var(--ink-2); margin: .6rem 0 0; }

/* evidence key: the one loud thing on the page */
.key { background: var(--ink); color: var(--paper); }
.key-in { max-width: var(--wrap); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) var(--pad); }
.key h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--petal); }
.key-intro { color: #C8D6CC; max-width: 40rem; }
.key-demo { font-size: clamp(1.35rem, 2.6vw, 2.1rem); line-height: 1.75; max-width: 60rem; margin: 1.5rem 0 2rem; }
.key-legend { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; font-size: 1rem; color: #C8D6CC; }
.key-legend strong { display: block; font: 700 1.05rem var(--grot); color: var(--paper); }
.dot { display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; margin-bottom: .5rem; }
.dot-documented { background: #5DBB86; } .dot-claimed { background: #E2B341; } .dot-disputed { background: #EF7C95; }

.ev { position: relative; white-space: normal; cursor: help; }
.ev-text { background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-size: 100% .14em; background-position: 0 100%; padding-bottom: .06em; }
.ev-tag { font: 600 .62em/1 var(--grot); letter-spacing: .01em; padding: .22em .45em; border-radius: 99px; margin-left: .35em; vertical-align: .18em; white-space: nowrap; }
.ev-documented .ev-text { background-image: linear-gradient(var(--documented), var(--documented)); }
.ev-claimed .ev-text { background-image: linear-gradient(var(--claimed), var(--claimed)); }
.ev-disputed .ev-text { background-image: linear-gradient(var(--disputed), var(--disputed)); background-size: 100% .14em; }
.ev-documented .ev-tag { background: #D5EADB; color: var(--documented); }
.ev-claimed .ev-tag { background: #F3E6C2; color: #6E520A; }
.ev-disputed .ev-tag { background: #F6D9E0; color: var(--disputed); }
.key .ev-documented .ev-text { background-image: linear-gradient(#5DBB86, #5DBB86); }
.key .ev-claimed .ev-text { background-image: linear-gradient(#E2B341, #E2B341); }
.key .ev-disputed .ev-text { background-image: linear-gradient(#EF7C95, #EF7C95); }
@media (prefers-reduced-motion: no-preference) {
  .key-demo .ev-text { background-size: 0 .14em; animation: draw .9s cubic-bezier(.2,.7,.2,1) forwards; }
  .key-demo .ev:nth-of-type(2) .ev-text { animation-delay: .5s; }
  .key-demo .ev:nth-of-type(3) .ev-text { animation-delay: 1s; }
  @keyframes draw { to { background-size: 100% .14em; } }
}

/* sections */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad); }
.narrow { max-width: 48rem; }
.page-title { font-size: clamp(2.6rem, 7vw, 4.75rem); letter-spacing: -.045em; line-height: .95; color: var(--stem); margin-bottom: 1.5rem; }
.lede { font-size: 1.3rem; color: var(--ink-2); }
.latest h2 { font-size: 2rem; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 2rem 2.5rem; }
.card { border-top: 3px solid var(--stem); padding-top: 1rem; }
.card a { text-decoration: none; color: var(--ink); }
.card-title { font: 700 1.45rem/1.15 var(--grot); letter-spacing: -.02em; }
.card a:hover .card-title { color: var(--stem); text-decoration: underline; text-decoration-thickness: 2px; }
.card-dek { margin: .5rem 0; color: var(--ink-2); font-size: 1.02rem; }
.card-meta { margin: 0; font: 500 .9rem var(--grot); color: var(--ink-2); }
.empty { background: var(--paper-2); border-radius: 8px; padding: 2rem; max-width: 44rem; }
.empty p { margin: 0; }
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 3rem; padding-top: 0; }
.promise h3 { font-size: 1.35rem; color: var(--stem); }
.promise p { margin: 0; color: var(--ink-2); font-size: 1.02rem; }

/* prose */
.prose { max-width: 40rem; }
.prose h2 { font-size: 1.75rem; margin-top: 2.2rem; color: var(--stem); }
.prose h3 { font-size: 1.3rem; margin-top: 1.8rem; }
.prose p, .prose li { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li::marker { color: var(--leaf); }
.prose strong { font-weight: 650; }
.prose blockquote { margin: 1.5rem 0; padding-left: 1.25rem; border-left: 3px solid var(--petal); color: var(--ink-2); }

/* article */
.art { max-width: var(--wrap); margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) var(--pad); }
.art-head { max-width: 50rem; margin-bottom: 2rem; }
.art-head h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); letter-spacing: -.04em; line-height: 1; }
.art-dek { font-size: 1.35rem; color: var(--ink-2); margin: 0 0 1rem; }
.art-meta { font: 500 .95rem var(--grot); color: var(--ink-2); }
.correction, .interest { background: var(--paper-2); border-left: 4px solid var(--claimed); padding: .8rem 1rem; font-size: 1rem; }
.interest { border-left-color: var(--leaf); }
.art-body { font-size: 1.18rem; }
.art-foot { max-width: 40rem; margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: 1rem; color: var(--ink-2); }
.band { background: var(--paper-2); }
.band-in { max-width: 40rem; margin: 0 auto; padding: 3rem var(--pad); }
.band h2 { font-size: 1.6rem; }

/* footer */
.foot { background: var(--stem); color: #DCE8DF; font-size: 1rem; }
.foot a { color: #fff; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 3rem var(--pad) 1.5rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-name { font: 700 1.6rem/1 var(--grot); color: #fff; margin: 0 0 .4rem; letter-spacing: -.03em; }
.foot-id p { margin: 0 0 .4rem; }
.foot-pub { font-size: .95rem; margin-top: 1rem !important; }
.foot-links, .foot-social { display: flex; flex-direction: column; gap: .45rem; font-family: var(--grot); }
.foot-links a, .foot-social a { text-decoration: none; }
.foot-links a:hover, .foot-social a:hover { text-decoration: underline; }
.foot-copy { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad) 2rem; font-size: .85rem; color: #B7CBBE; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; align-items: start; }
  .key-legend, .promises { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-id { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .sub-row { flex-direction: column; }
  .top nav { gap: .2rem 1rem; font-size: .95rem; }
}
