:root {
  color-scheme: light;
  --pine: #102923;
  --leaf: #205747;
  --lime: #c9f67c;
  --ink: #182b24;
  --muted: #52675d;
  --paper: #f6f8f1;
  --line: #d7e2d6;
  font: 100%/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
h2, h3 { line-height: 1.2; }
h2 { font-size: clamp(1.55rem, 3vw, 2.05rem); letter-spacing: -.035em; }
h3 { font-size: 1.08rem; }
a { color: var(--leaf); font-weight: 650; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .14em; }
a, button, input { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid #6a8d38; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1120px, calc(100% - 56px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -8rem; padding: .75rem; background: white; z-index: 2; }
.skip:focus { top: 1rem; }
.top, .hero { background: var(--pine); color: white; }
.top { border-bottom: 1px solid #426156; }
.masthead { display: flex; align-items: center; justify-content: space-between; min-height: 75px; gap: .75rem; }
.brand { display: inline-flex; gap: .4rem; align-items: center; color: white; font-size: 1.27rem; font-weight: 760; text-decoration: none; letter-spacing: -.045em; }
.brand img { margin-right: .2rem; }
.brand span { color: var(--lime); }
.languages { display: flex; gap: .15rem; }
.languages a { display: grid; place-items: center; min-width: 44px; min-height: 44px; color: #dae9df; font-size: .77rem; text-decoration: none; border-radius: 999px; }
.languages a:hover, .languages [aria-current] { background: #325747; color: #e3ffa8; }
.hero { overflow: hidden; isolation: isolate; position: relative; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 760px;
  aspect-ratio: 1;
  right: -185px;
  top: -198px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 46px, #bff88120 47px 48px, transparent 49px 65px), conic-gradient(from 318deg, #90cd672a, transparent 55deg);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(28px, 6vw, 88px); padding-block: clamp(48px, 7vw, 104px); }
.country { color: var(--lime); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 760; }
.country::before { content: ""; display: inline-block; border-radius: 50%; width: .55rem; height: .55rem; background: var(--lime); margin-right: .65rem; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.7rem); line-height: .98; letter-spacing: -.074em; text-wrap: balance; margin-block: .27em .3em; }
.hero-copy > p:last-child { font-size: clamp(1rem, 2vw, 1.22rem); color: #d5e6dc; max-width: 33em; }
.lookup { border-radius: 24px; padding: clamp(20px, 3.4vw, 38px); color: var(--ink); background: #fff; box-shadow: 0 18px 55px #081d1670; min-width: 0; }
.lookup form { margin-top: 1.1rem; }
.lookup label { font-size: .88rem; font-weight: 700; }
.controls { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .35rem; }
input, button { min-height: 48px; padding: .6rem .8rem; font: inherit; border-radius: 9px; border: 1px solid #789185; }
input { width: 100%; flex: 1 1 10rem; min-width: 0; }
button { color: var(--pine); background: var(--lime); border-color: transparent; font-weight: 750; cursor: pointer; flex: 1 0 auto; }
button:hover { background: #b5e963; }
button:disabled { opacity: .6; cursor: wait; }
.micro, .stamp, [data-source] { color: var(--muted); font-size: .83rem; }
.micro { margin-top: .5rem; }
#result { margin-block: .95rem .75rem; border-left: 3px solid #a6c7a3; background: #eef5eb; padding: .65rem .75rem; overflow-wrap: anywhere; min-height: 3.5rem; }
#result[data-state="historical"], #result[data-state="warning"], #result[data-state="conflict"] { background: #fff4dc; border-color: #b37620; }
#evidence:not(:empty) { margin-bottom: .7rem; }
.content { padding-block: 21px 64px; }
.sections { display: flex; flex-wrap: wrap; gap: .55rem; padding-bottom: 22px; }
.sections a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem .82rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .88rem; }
.sections a:hover { background: #e8f1e2; }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { border: 1px solid var(--line); background: white; border-radius: 22px; padding: clamp(20px, 3vw, 34px); margin-bottom: 16px; scroll-margin-top: 18px; overflow-wrap: anywhere; }
.panel p { margin-top: .65rem; }
.panel h3 { margin-top: 1rem; }
.warnings { border-top: 4px solid #ce9a4e; }
.player { background: #eaf2e4; border-top: 4px solid #73a87e; }
.resources, .archive, .items, .source-list { list-style: none; padding: 0; margin: .85rem 0 0; }
.resources li + li, .archive li + li, .source-list li + li { margin-top: .75rem; }
.resources li p, .source-list li p { margin-top: .2rem; }
.items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.items li { border-top: 1px solid var(--line); padding-block: .85rem; }
.items h3 { margin: .28rem 0 .55rem; }
.items p { margin-top: 0; }
#privacy > a { display: inline-block; margin-top: .5rem; }
footer { padding-block: 28px 40px; background: var(--pine); color: #d5e6dc; }
footer p { margin-bottom: .6rem; }
footer a { color: var(--lime); }
@media (max-width: 740px) {
  .wrap { width: calc(100% - 32px); }
  .masthead { flex-wrap: wrap; padding-block: 10px; gap: 4px 12px; }
  .hero-grid, .columns, .items { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 36px 25px; gap: 24px; }
  .hero::before { width: 460px; right: -290px; top: -112px; }
  h1 { max-width: 12em; }
  .columns { gap: 0; }
}
@media (max-width: 420px) {
  .masthead { justify-content: center; }
  .controls button { flex-basis: 100%; }
}
.external { display: inline-block; width: .6em; height: .6em; margin-left: .1em; vertical-align: .12em; border-top: .11em solid; border-right: .11em solid; position: relative; }
.external::after { content: ""; position: absolute; right: -.06em; top: .17em; width: .7em; height: .1em; background: currentColor; transform: rotate(-45deg); }
@media (max-width: 350px) {
  h1 { font-size: 2.5rem; }
}
