:root {
  color-scheme: dark;
  --night: #011619;
  --panel: #012d33;
  --teal: #01464b;
  --aqua: #06f4da;
  --gold: #f1d28b;
  --ink: #f3f9f9;
  --subtle: #b7cdce;
  --line: #245052;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--ink); font: 16px/1.6 "Segoe UI", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
a:hover, .account button:hover { color: var(--aqua); }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(calc(100% - 64px), 1392px); margin-inline: auto; }
.skip { position: absolute; left: 8px; top: 0; transform: translateY(-140%); background: var(--aqua); color: var(--night); padding: .6rem; z-index: 10; }
.skip:focus { transform: none; }
.utility { background: var(--night); color: var(--subtle); font-size: 13px; }
.utility-row, .nav-row, .footer-row, .account, .nav-row nav { display: flex; align-items: center; }
.utility-row, .footer-row { justify-content: space-between; }
.utility-row { min-height: 38px; }
.account { gap: 20px; }
.account button { background: transparent; border: 0; padding: 0; color: inherit; }
.masthead { background: var(--teal); border-block: 1px solid #168180; }
.nav-row { min-height: 72px; gap: clamp(24px,5vw,76px); }
.logo img { width: 158px; }
.nav-row nav { gap: clamp(16px,3vw,44px); font-weight: 600; }
.article-heading { padding-top: clamp(24px, 3.6vw, 56px); max-width: 980px; }
.lead { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(32px,5vw,82px); align-items: start; padding-block: clamp(18px,2.2vw,36px) clamp(30px,4vw,62px); border-bottom: 1px solid var(--line); }
.cover { margin: 0; }
.cover figcaption { padding: 7px 0; color: var(--subtle); font: 12px/1.5 "Segoe UI", Arial, sans-serif; }
.cover img { width: 100%; }
.section-name { border-left: 3px solid var(--aqua); color: var(--aqua); padding-left: 9px; font: 700 12px/1.1 "Segoe UI", sans-serif; letter-spacing: .10em; text-transform: uppercase; margin-bottom: 13px; }
h1, h2 { margin: 0; text-wrap: pretty; }
h1, .body-copy h2 { font-family: Georgia, "Times New Roman", serif; }
h1 { color: var(--ink); font: 750 clamp(30px,4.2vw,62px)/1.07 "Segoe UI", Arial, sans-serif; letter-spacing: -.035em; }
.intro p, .body-copy p { line-height: 1.7; margin: 1em 0 0; }
.body-grid { display: grid; grid-template-columns: minmax(170px, .62fr) minmax(0, 1.8fr); gap: clamp(36px,6vw,100px); padding: clamp(32px,4.5vw,70px) 0; }
.contents { position: sticky; top: 24px; border-top: 2px solid var(--aqua); max-width: 310px; padding-top: 14px; }
.contents h2 { font-size: 16px; margin-bottom: 12px; }
.contents a { display: block; color: var(--subtle); font-size: 15px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.contents a:hover { color: var(--aqua); }
.body-copy { max-width: 78ch; }
.body-copy section + section { margin-top: 2.6rem; }
.body-copy h2 { font-size: clamp(26px,2.5vw,38px); line-height: 1.18; color: var(--gold); letter-spacing: -.02em; }
section[id], article[id] { scroll-margin-top: 24px; }
.faq h2 { margin-bottom: 18px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 0; cursor: pointer; font-weight: 600; }
summary::after { content: "+"; color: var(--aqua); font-size: 22px; line-height: 1; }
details[open] > summary::after { content: "−"; }
summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0 0 18px; color: var(--subtle); }
footer { background: var(--panel); border-top: 1px solid var(--line); }
.footer-row { padding-block: 24px; gap: 12px; font-size: 14px; }
.footer-row img { width: 120px; }
dialog { padding: 0; width: min(390px,calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; background: var(--panel); border: 1px solid #148385; color: var(--ink); border-radius: 14px; }
dialog::backdrop { background: rgb(0 13 17 / 76%); }
body:has(dialog[open]) { overflow: hidden; }
.popup-container { position: relative; }
.close-btn { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; line-height: 1; font-size: 24px; color: white; background: #011619e8; border: 1px solid #689391; }
.popup-image { width: 100%; max-height: 46dvh; object-fit: contain; background: var(--night); }
.popup-copy { text-align: center; padding: 18px 20px 14px; }
.popup-copy h2 { font: bold 25px/1.2 Georgia,serif; color: var(--gold); }
.popup-copy p { color: var(--subtle); margin: 8px 0 15px; font-size: 14px; }
.popup-copy p span { color: var(--ink); }
.popup-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.popup-buttons a { display: grid; place-items: center; padding: 8px; border: 1px solid var(--aqua); border-radius: 5px; color: var(--aqua); font-weight: 650; }
.popup-buttons a:first-child { background: var(--aqua); color: var(--night); }
.read-on { border: 0; background: transparent; margin-top: 10px; padding: 5px; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 40px); }
  .lead { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 25px; }
  .body-grid { grid-template-columns: minmax(150px,.6fr) minmax(0,1.6fr); gap: 30px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .utility { font-size: 12px; }
  .utility-row { min-height: 34px; }
  .account { gap: 12px; }
  .nav-row { min-height: 62px; justify-content: space-between; gap: 8px; }
  .logo img { width: clamp(92px,26vw,142px); }
  .nav-row nav { gap: clamp(8px,2.8vw,18px); font-size: 13px; }
  .lead, .body-grid { grid-template-columns: minmax(0,1fr); gap: 22px; padding-block: 24px; }
  .contents { position: static; max-width: none; }
  .intro p, .body-copy p { line-height: 1.65; }
}
@media (max-height: 450px) and (min-width: 540px) {
  dialog { width: min(580px,calc(100% - 32px)); }
  .popup-container { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; }
  .popup-image { max-height: 85dvh; }
  .popup-copy { padding-top: 40px; }
}
.byline { margin-top: 14px; color: var(--subtle); font-size: 14px; }
.byline strong { color: var(--ink); }

.cover a { display: block; }
.access-link { display: inline-block; margin-top: 1.25rem; padding: .55rem 1rem; border-radius: 5px; background: var(--aqua); color: var(--night); font-weight: 650; }
.access-link:hover { color: var(--night); background: #a1fff3; }
.close-btn { display: grid; place-items: center; }
.read-on { display: inline-block; }
.footer-row { flex-wrap: wrap; }
dialog:target:not([open]) {
  display: block; position: fixed; inset: 0; margin: auto; height: fit-content;
  z-index: 10; box-shadow: 0 0 0 100vmax rgb(0 13 17 / 76%);
}


.intro > p:first-child { margin-top: 0; font-size: clamp(18px,1.45vw,22px); line-height: 1.5; }
article p a { color: var(--aqua); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .17em; }
.publication-footer .footer-row { padding-block: 17px; }
.imprint { border-top: 1px solid var(--line); padding-block: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--subtle); font-size: 12px; }
.imprint small { font-size: inherit; }
.imprint strong { color: var(--ink); font-weight: 600; }
