:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #252037;
  background: #f7f5fb;
  --text: #252037;
  --muted: #595269;
  --accent: #56379d;
  --line: #dcd5e8;
  --panel: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid #9b4b0b; outline-offset: 3px; }
h1, h2, h3, p, dl { margin: 0; }
p + p { margin-top: .65rem; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; }
h1 { max-width: 23ch; font-size: clamp(2.35rem, 6.5vw, 4.2rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.16rem; }
.wrap { width: min(100% - 2rem, 65rem); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; top: -8rem; left: 1rem; padding: .6rem; background: white; }
.skip:focus { top: .4rem; z-index: 1; }
.masthead { background: var(--panel); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; gap: 1rem 1.8rem; flex-wrap: wrap; padding-block: .9rem; }
.header-inner nav { margin-inline-start: auto; }
.brand { color: var(--text); font-weight: 800; text-decoration: none; white-space: nowrap; }
.disclosure { color: #4a306d; background: #eee6fc; border-radius: .45rem; font-size: .94rem; font-weight: 700; padding: .35rem .65rem; }
.hero { padding-block: clamp(2.25rem, 6vw, 4rem) 1.5rem; }
.hero > p { max-width: 65ch; margin-top: .8rem; }
.hero > a { display: inline-block; margin-bottom: 1rem; }
.topic h1 { max-width: 26ch; }
.panel { background: var(--panel); padding: clamp(1rem, 3vw, 1.6rem); border: 1px solid var(--line); border-radius: .9rem; }
.input-row { display: flex; gap: .65rem; align-items: stretch; margin-top: .35rem; }
label { font-weight: 650; }
input, button, select { font: inherit; }
input, select { border: 1px solid #ada0bd; border-radius: .5rem; padding: .62rem .75rem; background: white; color: var(--text); }
.input-row input { flex: 1 1 15rem; min-width: 0; }
button { background: var(--accent); border: 1px solid var(--accent); color: white; border-radius: .5rem; padding: .62rem .9rem; font-weight: 700; cursor: pointer; }
button:hover:not(:disabled) { background: #45247e; }
button:disabled { cursor: default; opacity: .6; }
.result { margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); background: #faf8fe; border-radius: .65rem; }
.result[data-verdict="verified"] { background: #eaf6ed; border-color: #9ac6a4; }
.result[data-verdict="verified"] h2 { color: #225c38; }
.result h2, .result p { margin-top: .55rem; }
.result > .disclosure { display: inline-block; margin-top: 0; }
.checked-host { overflow-wrap: anywhere; font-family: ui-monospace, monospace; font-size: .95rem; }
.result-fees { list-style: none; padding: 0; margin: .7rem 0 0; }
.result-fees li { display: flex; flex-wrap: wrap; gap: .25rem .8rem; align-items: baseline; padding: .58rem 0; border-top: 1px solid var(--line); }
.result-fees li span { color: var(--muted); }
.section { margin-block: 2.4rem; }
.section > .muted { margin-block: .4rem .75rem; }
.answers { margin-top: 1.15rem; max-width: 64ch; padding-left: 1rem; border-left: .25rem solid #a68cd7; }
.answers div + div { margin-top: .55rem; }
.answers dt { font-weight: 700; }
.answers dd { margin-left: 0; }
.official-list { margin-top: 1rem; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: .8rem; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; background: var(--panel); }
th, td { text-align: left; vertical-align: top; padding: .67rem .8rem; border-bottom: 1px solid var(--line); }
thead { background: #eee8f7; }
tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
.sources { font-size: .875rem; }
td .sources { display: block; }
.faq { margin-top: .7rem; border-block: 1px solid var(--line); }
.faq details + details { border-top: 1px solid var(--line); }
details { padding-block: .65rem; }
summary { font-weight: 650; cursor: pointer; }
details p { max-width: 82ch; margin-top: .5rem; }
.footer { padding-block: .7rem; margin-top: 2rem; border-top: 1px solid var(--line); background: white; }
.footer-inner { display: block; }
.footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.footer details { color: var(--muted); }
[hidden] { display: none !important; }
@media (max-width: 40rem) {
  .header-inner { column-gap: .7rem; row-gap: .45rem; }
  .header-inner .disclosure { order: 1; width: 100%; }
  .input-row { flex-direction: column; }
  .input-row input { flex: auto; }
  .table-wrap { overflow: visible; border: 0; }
  table { min-width: 0; background: transparent; }
  table, tbody, tr, th, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody tr { background: white; border: 1px solid var(--line); border-radius: .65rem; margin-block: .5rem; }
  td, th { padding: .35rem .7rem; border: 0; }
  td .sources { display: inline; }
}

.checklist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: .85rem 0; }
.checklist article p { margin-block: .5rem; color: var(--muted); }
.checklist article a, .button-link { font-weight: 650; }
.photo-sheet[open] summary { margin-bottom: .75rem; }
.photo-fields { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: .8rem; }
.photo-fields label { display: grid; min-width: 0; gap: .35rem; }
.photo-fields input { max-width: 100%; }
#photo-preview { display: block; width: min(100%, 32rem); height: auto; border: 1px solid var(--line); margin: .65rem 0; }
.button-link { display: inline-block; }
#report-site { padding-bottom: 0; margin-top: .45rem; }
#report-form, #subscribe-form { margin-top: .75rem; }
#report-form p[role="status"], #subscribe-form p[role="status"] { margin-top: .45rem; }
#etias-reminder > p { margin-top: .45rem; }
@media (max-width: 40rem) {
  .checklist { grid-template-columns: 1fr; }
}
