/* What Is EDDM? (independent explainer). Look: a picture dictionary. Warm cream, tomato red and navy with sunny
   yellow; rounded shapes, big friendly type, a small line drawing for every idea. Prefix wi-. */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/Fraunces-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/Nunito-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/Nunito-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --wi-cream: #fdf6e9;
  --wi-card: #ffffff;
  --wi-ink: #1d3557;
  --wi-ink-2: #55657e;
  --wi-tomato: #e4572e;
  --wi-sun: #f6c445;
  --wi-sky: #a8dadc;
  --wi-rule: #efe2c8;
  --wi-display: "Fraunces", Georgia, serif;
  --wi-body: "Nunito", "Segoe UI", system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --wi-cream: #121a2a;
    --wi-card: #1a2438;
    --wi-ink: #f1ede4;
    --wi-ink-2: #aab4c6;
    --wi-tomato: #ff7b57;
    --wi-sun: #f6c445;
    --wi-sky: #5aa3a7;
    --wi-rule: #2a3550;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--wi-cream); color: var(--wi-ink); font: 19px/1.7 var(--wi-body); overflow-x: clip; }
svg { max-width: 100%; height: auto; }
a { color: var(--wi-tomato); font-weight: 700; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--wi-sun); outline-offset: 3px; border-radius: 8px; }
.wi-skip { position: absolute; left: -999px; }
.wi-skip:focus { left: 10px; top: 10px; z-index: 40; background: var(--wi-card); padding: 8px 12px; }
.wi-wrap { max-width: 980px; margin: 0 auto; padding: 0 26px; }
h1, h2, h3 { font-family: var(--wi-display); font-weight: 700; letter-spacing: -.01em; }

/* header */
.wi-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 10px; flex-wrap: wrap; }
.wi-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--wi-ink); text-decoration: none; font: 700 1.4rem var(--wi-display); }
.wi-brand__q { width: 40px; height: 40px; border-radius: 50%; background: var(--wi-tomato); color: #fff; display: grid; place-items: center; font-size: 1.4rem; transform: rotate(-8deg); }
.wi-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.wi-nav a { display: block; color: var(--wi-ink); text-decoration: none; font-size: .9rem; padding: 6px 13px; border-radius: 999px; background: var(--wi-card); border: 2px solid var(--wi-rule); }
.wi-nav a:hover, .wi-nav a[aria-current] { border-color: var(--wi-tomato); color: var(--wi-tomato); }

/* hero */
.wi-hero { padding: 40px 0 22px; }
.wi-hero--home { padding: 56px 0 18px; }
.wi-hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.05; margin: 0 0 14px; }
.wi-hero--home h1 { font-size: clamp(3rem, 9vw, 5.6rem); color: var(--wi-tomato); }
.wi-lede { font-size: 1.25rem; margin: 0; max-width: 34em; }
.wi-checked { font-size: .85rem; color: var(--wi-ink-2); margin: 12px 0 0; }

/* article */
.wi-article { max-width: 760px; padding: 10px 0 80px; }
.wi-article h2 { font-size: 1.8rem; line-height: 1.15; margin: 1.8em 0 .5em; }
.wi-article h2::before { content: ""; display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: var(--wi-sun); margin-right: 12px; vertical-align: 3px; }
.wi-article li { margin: .3em 0; }
.wi-article ul li::marker { color: var(--wi-tomato); font-size: 1.2em; }
.wi-article b, .wi-article strong { font-weight: 700; }
.wi-fine { font-size: .82rem; color: var(--wi-ink-2); margin: 0; }

/* table */
.wi-table { overflow-x: auto; margin: 1.2em 0; background: var(--wi-card); border-radius: 18px; border: 2px solid var(--wi-rule); }
.wi-table table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.wi-table th, .wi-table td { padding: 11px 14px; text-align: left; border-bottom: 2px solid var(--wi-rule); vertical-align: top; }
.wi-table thead th { color: var(--wi-tomato); }
.wi-table tbody tr:last-child td { border-bottom: 0; }

/* drawings */
.wi-ic { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wi-ic--big { width: 44px; height: 44px; color: var(--wi-tomato); }
.wi-h { fill: var(--wi-card); stroke: var(--wi-ink); stroke-width: 2; stroke-linejoin: round; }
.wi-h--on { fill: var(--wi-sky); }
.wi-env { fill: var(--wi-sun); stroke: var(--wi-ink); stroke-width: 1.2; }
.wi-road { stroke: var(--wi-ink-2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 8; }

/* answer card */
.wi-answer { display: grid; grid-template-columns: 1fr 280px; gap: 22px; align-items: center; background: var(--wi-card); border-radius: 26px; padding: 26px 28px; border: 3px solid var(--wi-ink); box-shadow: 8px 8px 0 var(--wi-sun); margin: 0 0 1.6em; }
.wi-answer__k { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--wi-tomato); margin: 0 0 6px; }
.wi-answer__t { font: 700 1.45rem/1.4 var(--wi-display); margin: 0; }
.wi-answer__t b { color: var(--wi-tomato); }
.wi-answer__pic { width: 100%; }

/* name tiles */
.wi-name { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 1.2em 0 1.6em; }
.wi-name__t { background: var(--wi-card); border-radius: 22px; border: 2px solid var(--wi-rule); padding: 16px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.wi-name__l { font: 700 3.4rem/1 var(--wi-display); color: var(--wi-tomato); }
.wi-name__t b { font-family: var(--wi-display); font-size: 1.3rem; }
.wi-name__t span:last-child { font-size: .9rem; color: var(--wi-ink-2); line-height: 1.4; }

/* figures */
.wi-fig { margin: 1.4em 0 1.8em; }
.wi-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wi-two > div { background: var(--wi-card); border-radius: 20px; padding: 16px 16px 12px; border: 2px solid var(--wi-rule); }
.wi-two figcaption { font-size: .95rem; color: var(--wi-ink-2); margin-top: 6px; }
.wi-two figcaption b { color: var(--wi-ink); display: block; font-family: var(--wi-display); font-size: 1.15rem; }
.wi-cp { stroke: var(--wi-ink); stroke-width: 1.5; }
.wi-cp--0 { fill: var(--wi-sun); }
.wi-cp--1 { fill: var(--wi-sky); }
.wi-cp--2 { fill: #f4a582; }
.wi-envbig { fill: var(--wi-card); stroke: var(--wi-ink); stroke-width: 2; }
.wi-envline { fill: none; stroke: var(--wi-ink); stroke-width: 2; }
.wi-card { fill: var(--wi-sky); stroke: var(--wi-ink); stroke-width: 2; }
.wi-svg-h { font: 700 22px var(--wi-display); fill: var(--wi-ink); }

/* glossary */
.wi-gloss { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 1em 0 2em; }
.wi-g { background: var(--wi-card); border-radius: 20px; border: 2px solid var(--wi-rule); padding: 16px 18px; display: grid; grid-template-columns: 52px 1fr; gap: 2px 12px; }
.wi-g svg { grid-row: span 2; }
.wi-g dt { font: 700 1.2rem/1.25 var(--wi-display); }
.wi-g dd { margin: 0; font-size: .95rem; color: var(--wi-ink-2); line-height: 1.5; }

/* users */
.wi-users { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 1em 0 1.6em; }
.wi-users li { margin: 0; background: var(--wi-card); border-radius: 18px; border: 2px solid var(--wi-rule); padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-weight: 700; font-size: .95rem; }
.wi-users li::marker { content: none; }
.wi-users .wi-ic { width: 36px; height: 36px; color: var(--wi-tomato); }

/* myths */
.wi-myths { display: grid; gap: 10px; margin: 1em 0 2em; }
.wi-myth { background: var(--wi-card); border-radius: 18px; border: 2px solid var(--wi-rule); padding: 0 18px; }
.wi-myth[open] { border-color: var(--wi-ink); }
.wi-myth summary { cursor: pointer; list-style: none; padding: 14px 0; font: 700 1.15rem var(--wi-display); display: flex; align-items: center; gap: 12px; }
.wi-myth summary::-webkit-details-marker { display: none; }
.wi-myth summary::after { content: "Tap for the fact"; margin-left: auto; font: 700 .75rem var(--wi-body); color: var(--wi-ink-2); white-space: nowrap; }
.wi-myth[open] summary::after { content: ""; }
.wi-myth p { margin: 0 0 14px; display: flex; gap: 12px; align-items: baseline; }
.wi-myth__tag { flex: none; font: 700 .72rem var(--wi-body); text-transform: uppercase; letter-spacing: .1em; padding: 3px 10px; border-radius: 999px; background: var(--wi-tomato); color: #fff; text-decoration: line-through; }
.wi-myth__tag--fact { background: var(--wi-sky); color: #1d3557; text-decoration: none; }

/* faq, sources */
.wi-faq { margin-top: 2.4em; background: var(--wi-card); border-radius: 22px; padding: 18px 22px; border: 2px solid var(--wi-rule); }
.wi-faq__h { font: 700 1.3rem var(--wi-display); margin: 0 0 6px; }
.wi-faq details { border-top: 2px solid var(--wi-rule); }
.wi-faq summary { cursor: pointer; padding: 11px 0; font-weight: 700; list-style: none; }
.wi-faq summary::-webkit-details-marker { display: none; }
.wi-faq summary::before { content: "+"; color: var(--wi-tomato); font-weight: 700; margin-right: 10px; }
.wi-faq details[open] summary::before { content: "−"; }
.wi-faq details p { margin: 0 0 12px; }
.wi-sources { margin-top: 2.4em; font-size: .92rem; }
.wi-sources__h { font-weight: 700; margin: 0 0 4px; }
.wi-sources ul { margin: 0 0 6px; padding-left: 1.2em; }

/* footer */
.wi-foot { background: var(--wi-ink); color: #e8ecf3; padding: 40px 0 28px; font-size: .92rem; border-radius: 32px 32px 0 0; }
@media (prefers-color-scheme: dark) { .wi-foot { background: #0b1120; } }
.wi-foot a { color: var(--wi-sun); }
.wi-foot__name { font: 700 1.6rem var(--wi-display); color: #fff; margin: 0 0 4px; }
.wi-foot__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0; }
.wi-foot__legal { font-size: .8rem; color: #b7c0d0; border-top: 1px solid rgba(255,255,255,.15); padding-top: 14px; margin: 18px 0 0; }

@media (max-width: 760px) {
  .wi-wrap { padding-left: 16px; padding-right: 16px; }
  body { font-size: 18px; }
  .wi-answer { grid-template-columns: 1fr; }
  .wi-name { grid-template-columns: 1fr 1fr; }
  .wi-two { grid-template-columns: 1fr; }
  .wi-gloss { grid-template-columns: 1fr; }
  .wi-users { grid-template-columns: 1fr 1fr; }
  .wi-myth summary::after { content: none; }
}
