/* Laissez-faire microsite — editorial palette, Fraunces + Newsreader */

:root {
  --ink: #1a1f24;
  --ink-muted: #3d4650;
  --paper: #f6f2ea;
  --paper-deep: #ebe4d8;
  --accent: #8b4518;
  --accent-soft: rgba(139, 69, 24, 0.12);
  --rule: rgba(26, 31, 36, 0.12);
  --max: 38rem;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Newsreader", Georgia, serif;
}

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

html {
  font-size: 112.5%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(139, 69, 24, 0.06), transparent 55%),
    radial-gradient(ellipse 90% 60% at 0% 100%, rgba(26, 31, 36, 0.04), transparent 50%);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.skip-link:focus {
  left: 0.75rem;
}

.site-header {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: 3.5rem 1.75rem 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.site-header h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 3.35rem);
  font-weight: 700;
  font-variation-settings: "SOFT" 50, "WONK" 0.9;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
}

.lede {
  margin: 0;
  max-width: var(--max);
  font-size: 1.05rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

main {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: 2.25rem 1.75rem 3.5rem;
}

.section {
  margin-bottom: 2.75rem;
}

.section:last-of-type {
  margin-bottom: 0;
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  font-variation-settings: "SOFT" 40, "WONK" 0.5;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.section--intro p,
.section--note p {
  margin: 0 0 1rem;
  max-width: var(--max);
  color: var(--ink);
}

.section--intro p:last-child,
.section--note p:last-child {
  margin-bottom: 0;
}

.section--pros {
  padding-top: 0.5rem;
}

.pro-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pro;
  max-width: var(--max);
}

.pro-list > li {
  position: relative;
  margin-bottom: 1.75rem;
  padding: 1.35rem 1.35rem 1.35rem 1.25rem;
  background: var(--paper-deep);
  border-left: 3px solid var(--accent);
  box-shadow: 0 1px 0 var(--rule);
  counter-increment: pro;
}

.pro-list > li::before {
  content: counter(pro, decimal-leading-zero);
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--accent) 22%, transparent);
  line-height: 1;
  pointer-events: none;
}

.pro-list > li:last-child {
  margin-bottom: 0;
}

.pro-list h3 {
  margin: 0 0 0.5rem;
  padding-right: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  font-variation-settings: "SOFT" 35, "WONK" 0.6;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.pro-list p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-muted);
}

.section--note {
  margin-top: 2.5rem;
  padding: 1.5rem 1.35rem;
  background: var(--accent-soft);
  border: 1px solid var(--rule);
  border-radius: 2px;
}

.section--note h2 {
  font-size: 1.2rem;
}

.section--note p {
  color: var(--ink-muted);
}

.site-footer {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: 1.75rem 1.75rem 2.5rem;
  border-top: 1px solid var(--rule);
}

.site-footer p {
  margin: 0;
  max-width: var(--max);
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.site-footer .lang-switch {
  margin-bottom: 0.65rem;
}

.site-footer .lang-switch a {
  color: var(--accent);
  font-weight: 500;
}

.site-footer .lang-switch a:hover {
  text-decoration: underline;
}

.site-footer .lang-switch a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
