/* Site-wide visual refresh. Shared semantics, content and accessible controls remain intact. */
:root {
  --ap-paper: #fff;
  --ap-ink: #123b2e;
  --ap-muted: #56645e;
  --ap-yellow: #f4d34e;
  --ap-line: #e0e7e2;
  --ap-width: 1200px;
  --ap-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
body { font-size: 1.0625rem; line-height: 1.7; }
h1,h2,h3 { letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.8rem); }
h3 { font-size: 1.35rem; line-height: 1.3; }
html { scroll-padding-top: 100px; }
:where(h1,h2,h3,h4,section,main)[id] { scroll-margin-top: 100px; }

/* One desktop row: logo, navigation, current language. */
.ap-site-header { position: relative; z-index: 60; background: #ffffffed; border-bottom: 1px solid #e5eae5; }
.ap-site-header > .ap-container { --ap-width: 1360px; --ap-gutter: 28px; }
.ap-header-row { display: grid; grid-template-columns: 154px minmax(0,1fr) auto; align-items: center; gap: 24px; min-height: 88px; padding: 14px 0; }
.ap-brand { display: flex; align-items: center; padding-block: 10px; }
.ap-brand img, .ap-footer-brand img { display: block; width: 154px; height: auto; }
.ap-primary-nav { padding: 0; }
.ap-nav-list { flex-wrap: nowrap; align-items: center; justify-content: center; gap: 0; }
.ap-nav-list > li > a, .ap-nav-group > summary { font-size: .82rem; font-weight: 550; padding: 12px 9px; min-height: 44px; white-space: nowrap; border-radius: 24px; }
.ap-nav-list a[aria-current="page"] { text-decoration: none; background: #edf4ee; }
.ap-nav-group > summary, .ap-language-menu > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; list-style: none; cursor: pointer; }
.ap-nav-group > summary::-webkit-details-marker, .ap-language-menu > summary::-webkit-details-marker { display: none; }
.ap-nav-group > summary::after, .ap-language-menu > summary::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); flex: 0 0 auto; }
.ap-nav-group[open] > summary::after, .ap-language-menu[open] > summary::after { transform: rotate(225deg); }
.ap-nav-group > ul { border: 1px solid var(--ap-line); box-shadow: 0 14px 50px #143c2b18; border-radius: 18px; padding: 10px; }
.ap-nav-group > ul a { text-decoration: none; border-radius: 10px; }
.ap-header-language { width: auto; order: initial; font-size: .84rem; }
.ap-language-menu { position: relative; }
.ap-language-menu > summary { min-height: 44px; padding: 10px 16px; border: 1px solid var(--ap-line); border-radius: 24px; font-weight: 600; }
.ap-language-menu > ul { display: block; position: absolute; right: 0; top: calc(100% + 10px); z-index: 65; width: 235px; max-width: calc(100vw - 32px); background: white; border: 1px solid var(--ap-line); padding: 8px; border-radius: 16px; box-shadow: 0 14px 50px #143c2b20; }
.ap-header-language a { border: 0; border-radius: 10px; text-decoration: none; padding: 10px 14px; }
.ap-header-language a:hover { background: #edf4ee; }
.ap-header-language [aria-current] { background: #edf4ee; color: var(--ap-forest); }
.ap-language-fallback { margin-top: 4px; }

/* Full-bleed artwork with real, selectable copy above it. */
main.ap-page { --ap-width: 1200px; width: 100%; margin: 0; }
main.ap-page .ap-hero-wrap { padding: 0; }
main.ap-page .ap-hero-crumbs { width: min(var(--ap-width),calc(100% - 64px)); margin: 0 auto; padding-block: 16px; }
main.ap-page .ap-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 640px; padding: 72px 0; gap: 0; border: 0; border-radius: 0; overflow: hidden; background: #f5f5f0; color: var(--ap-ink); }
main.ap-page.ap-layout-hub .ap-hero { min-height: 700px; }
main.ap-page .ap-hero__content { position: relative; z-index: 2; }
main.ap-page .ap-hero__copy { max-width: 51%; padding-right: 24px; }
main.ap-page .ap-hero h1 { font-size: clamp(2.4rem,4.25vw,4.1rem); max-width: 18ch; line-height: 1.07; font-weight: 720; letter-spacing: -.055em; }
main.ap-page .ap-hero__intro { font-size: clamp(1.05rem,1.4vw,1.22rem); line-height: 1.65; max-width: 45ch; color: #355345; }
main.ap-page .ap-hero__media { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; border: 0; border-radius: 0; overflow: hidden; }
main.ap-page .ap-hero__media picture { display: block; width: 100%; height: 100%; }
main.ap-page .ap-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 0; }
main.ap-page .ap-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#fafaf6dd 0%,#fafaf6b8 35%,#fafaf600 66%); pointer-events: none; }
main.ap-page .ap-hero__actions { gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.ap-btn { border-radius: 999px; font-weight: 650; padding: 13px 24px; min-height: 48px; transition: background .16s, box-shadow .16s; }
main.ap-page .ap-hero .ap-btn--secondary { color: var(--ap-ink); background: #ffffffd9; border-color: #819589; }
main.ap-page .ap-hero :focus-visible { outline-color: var(--ap-focus); }
.ap-btn:hover { box-shadow: 0 4px 14px #143c2b0d; }

/* Text rhythm, task links and numbered guides. */
.ap-content-shell { padding-top: 28px; }
#page-body > .ap-section { padding-block: 58px; }
#page-body > .ap-section > h2 { max-width: 100%; margin-bottom: 28px; }
.ap-stack > * + * { margin-top: 24px; }
.ap-stack h3 + p, .ap-steps h3 + p { margin-top: 10px; }
.ap-topic-list { gap: 32px; }
.ap-topic-list article { background: #f5f8f5; border: 0; border-radius: 22px; padding: 28px; }
.ap-topic-list h3 { margin-bottom: 14px; }
.ap-card, .ap-route, .ap-review { border-color: var(--ap-line); border-radius: 22px; box-shadow: none; }
.ap-route { border-top: 1px solid var(--ap-line); padding: 30px; }
.ap-layout-account .ap-grid .ap-card, .ap-layout-guide .ap-grid .ap-card { border: 1px solid var(--ap-line); background: #f7f9f6; border-radius: 22px; padding: 28px; }
.ap-layout-hub .ap-home-tasks { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.ap-layout-hub .ap-home-tasks a { padding: 24px; min-height: 88px; border-radius: 20px; border-color: var(--ap-line); background: #f5f8f5; font-size: 1.05rem; transition: background .16s; }
.ap-home-tasks a:hover { background: #eaf2e8; }
.ap-home-tasks a b { display: none; }
.ap-home-tasks a span { font-weight: 650; color: var(--ap-link); }
.ap-steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0; max-width: none; }
.ap-steps > li { position: relative; padding: 24px 28px 24px 86px; margin: 14px 0; background: #f5f8f5; border: 1px solid #e6ece5; border-radius: 20px; min-height: 90px; }
.ap-steps > li:last-child { padding-bottom: 24px; }
.ap-steps > li::before { counter-increment: step; content: counter(step,decimal-leading-zero); position: absolute; left: 26px; top: 25px; font-size: 1.15rem; line-height: 1.6; color: var(--ap-link); font-weight: 700; }
.ap-steps li > h3 { margin: 0 0 10px; }
.ap-steps li > p + p { margin-top: 12px; }
.ap-home-steps { max-width: none; }
.ap-facts-strip { background: #f5f8f5; border: 0; border-radius: 20px; overflow: hidden; }
.ap-facts-strip > div { padding: 24px; }
.ap-contents { border: 1px solid var(--ap-line); border-radius: 18px; padding-inline: 20px; margin-top: 12px; }
.ap-table-region { border-color: var(--ap-line); border-radius: 18px; }
.ap-table :where(th,td) { padding: 20px; }
.ap-table thead th { background: #eff5ee; }
.ap-note { border-left: 0; border-radius: 20px; background: #f1f6ec; padding: 28px; }
main.ap-page .ap-figure { width: 100%; max-width: none; padding: 0; border: 0; border-radius: 22px; background: #f7f8f3; overflow: hidden; }
main.ap-page .ap-figure img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 0; }
.ap-figure figcaption { margin: 0; padding: 20px 26px; background: #f5f8f3; color: #44594b; line-height: 1.6; }
.ap-image-key { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding: 4px 26px 26px; background: #f5f8f3; }
.ap-image-key > div { font-size: .94rem; }
.ap-image-key strong { display: block; margin-bottom: 8px; font-size: 1.12rem; }
.ap-figure figcaption .ap-image-key { padding: 20px 0 0; }
.ap-image-key:has(> div:nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.ap-image-key:has(> div:only-child) { grid-template-columns: 1fr; }
main.ap-page .ap-faq { width: 100%; }
main.ap-page .ap-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; list-style: none; padding: 24px 4px; font-size: 1.1rem; }
.ap-faq summary::-webkit-details-marker { display: none; }
.ap-faq summary::after { content: '+'; font-size: 1.55rem; font-weight: 400; flex: 0 0 auto; }
.ap-faq[open] summary::after { content: '−'; }
main.ap-page .ap-faq__answer { width: 100%; max-width: none; padding: 0 4px 28px; }
main.ap-page .ap-faq__answer :is(p,div,ul,ol) { max-width: none; }
.ap-faq__answer > * + * { margin-top: 14px; }
.ap-layout-document #page-body { max-width: none; }
.ap-layout-document #page-body > .ap-section { padding-block: 40px; }

/* Bottom-anchored consent, independent of document layout. */
.ap-consent { position: fixed; z-index: 100; inset: auto 24px 24px auto; width: min(560px,calc(100% - 48px)); max-height: min(78vh,720px); overflow-y: auto; overscroll-behavior: contain; background: white; border: 1px solid #d4dfd4; border-radius: 24px; padding: 24px; box-shadow: 0 14px 70px #13352530; }
.ap-consent > .ap-container { width: 100%; }
.ap-consent__head { gap: 16px; align-items: center; margin-bottom: 10px; }
.ap-consent__head h2 { font-size: 1.3rem; padding: 0; }
.ap-consent__close { border: 0; border-radius: 50%; background: #f1f5f0; min-width: 40px; min-height: 40px; }
.ap-consent__text { font-size: .86rem; line-height: 1.6; margin-top: 8px; max-width: none; }
.ap-consent__actions { gap: 8px; margin-top: 18px; }
.ap-consent__actions .ap-btn { font-size: .8rem; padding: 10px 14px; min-height: 44px; flex: 1 1 auto; }
.ap-consent__actions [data-consent-all] { background: var(--ap-yellow); border-color: transparent; }
.ap-consent__settings { padding: 18px; margin-top: 18px; background: #f5f8f5; border: 1px solid var(--ap-line); }
.ap-consent__status { font-size: .8rem; }
.ap-consent-message { position: fixed; z-index: 105; bottom: 20px; left: 20px; right: 20px; box-shadow: 0 4px 20px #123c2d22; }

/* Logo and disclosure remain separate: artwork above, site role in body copy. */
.ap-site-footer { background: #f2f6f0; color: var(--ap-ink); padding-top: 64px; border-top: 1px solid var(--ap-line); }
.ap-site-footer :is(a,h2,.ap-age-tag) { color: var(--ap-ink); }
.ap-site-footer a:hover { color: var(--ap-link); }
.ap-site-footer :focus-visible { outline-color: var(--ap-focus); }
.ap-footer-brand { display: inline-flex; background: transparent; padding-bottom: 8px; }
.ap-footer-brand img { width: 178px; }
.ap-footer-copy { font-size: .9rem; line-height: 1.75; }
.ap-footer-links a { text-decoration: none; font-size: .95rem; }
.ap-footer-links a:hover { text-decoration: underline; }
.ap-footer-bottom { border-color: #cedbcc; }
.ap-age-tag { border-color: #a4b69e; }

@media(max-width:1100px) {
  .ap-header-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 14px; min-height: 76px; padding-block: 10px; }
  .ap-site-header[data-nav-enhanced] .ap-nav-toggle { display: inline-flex; grid-column: 3; grid-row: 1; padding: 10px 16px; min-height: 44px; }
  .ap-brand { grid-column: 1; grid-row: 1; }
  .ap-header-language { grid-column: 2; grid-row: 1; }
  .ap-primary-nav { grid-row: 2; grid-column: 1/-1; padding: 8px 0 12px; }
  .ap-site-header[data-nav-enhanced] .ap-primary-nav { display: none; }
  .ap-site-header[data-nav-enhanced][data-nav-open] .ap-primary-nav { display: block; }
  .ap-nav-list { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .ap-nav-list > li > a,.ap-nav-group > summary { font-size: 1rem; padding: 12px 16px; white-space: normal; }
  .ap-nav-group > ul { position: static; width: 100%; max-width: none; box-shadow: none; border-radius: 16px; }
  main.ap-page .ap-hero__copy { max-width: 58%; }
  main.ap-page .ap-hero { min-height: 600px; }
}
@media(max-width:740px) {
  .ap-site-header > .ap-container { --ap-gutter: 18px; }
  .ap-header-row { gap: 8px; }
  .ap-brand img { width: 126px; }
  .ap-header-language { font-size: .77rem; }
  .ap-language-menu > summary { padding-inline: 12px; gap: 7px; }
  .ap-site-header[data-nav-enhanced] .ap-nav-toggle { font-size: .8rem; padding-inline: 12px; }
  main.ap-page .ap-hero-crumbs { width: calc(100% - 40px); padding-block: 12px; }
  main.ap-page .ap-hero,main.ap-page.ap-layout-hub .ap-hero { min-height: 820px; padding: 46px 0 340px; align-items: flex-start; }
  main.ap-page .ap-hero__copy { max-width: 100%; padding: 0; }
  main.ap-page .ap-hero h1 { font-size: clamp(2.35rem,8.6vw,3.6rem); max-width: 18ch; }
  main.ap-page .ap-hero__intro { font-size: 1.06rem; max-width: 100%; }
  main.ap-page .ap-hero__media { top: 0; height: 100%; }
  main.ap-page .ap-hero__media img { width: 200%; max-inline-size: none; object-fit: contain; object-position: right bottom; transform: translateX(-50%); }
  main.ap-page .ap-hero::after { background: linear-gradient(180deg,#f7f7f2 0%,#f7f7f2 40%,#f7f7f2ef 48%,#f7f7f200 69%); }
  main.ap-page .ap-hero__actions { flex-direction: row; align-items: center; margin-top: 24px; }
  .ap-hero__actions .ap-btn { flex: 1 1 150px; font-size: .9rem; }
  .ap-content-shell { padding-top: 16px; }
  #page-body > .ap-section { padding-block: 38px; }
  #page-body > .ap-section > h2 { margin-bottom: 22px; }
  .ap-layout-hub .ap-home-tasks { grid-template-columns: 1fr; gap: 10px; }
  .ap-layout-hub .ap-home-tasks a { padding: 20px; min-height: 70px; }
  .ap-topic-list article,.ap-card,.ap-route { padding: 24px; }
  .ap-steps > li { padding: 22px 20px 22px 64px; }
  .ap-steps > li::before { left: 20px; top: 22px; }
  .ap-steps > li:last-child { padding-bottom: 22px; }
  .ap-image-key, .ap-image-key:has(> div:nth-child(2):last-child) { grid-template-columns: 1fr; gap: 20px; padding-inline: 20px; }
  .ap-figure figcaption { padding: 18px 20px; }
  main.ap-page .ap-faq summary { padding-block: 22px; font-size: 1.02rem; gap: 18px; }
  .ap-consent { inset: auto 12px 12px; width: auto; padding: 20px; border-radius: 22px; max-height: 76vh; }
  .ap-consent__actions { flex-direction: row; align-items: center; }
  .ap-consent__actions .ap-btn { flex: 1 1 130px; }
  .ap-footer-grid { gap: 34px; }
}
@media(max-width:360px) {
  .ap-brand img { width: 104px; }
  .ap-header-row { gap: 6px; }
  .ap-language-menu > summary { padding-inline: 9px; }
  .ap-site-header[data-nav-enhanced] .ap-nav-toggle { padding-inline: 10px; }
}
@media(prefers-reduced-motion:reduce) { .ap-btn,.ap-home-tasks a { transition:none; } }
@media print {
  main.ap-page .ap-hero,main.ap-page.ap-layout-hub .ap-hero { min-height: 0; padding: 24px 0; }
  main.ap-page .ap-hero__copy { max-width: 100%; }
  main.ap-page .ap-hero__media,main.ap-page .ap-hero::after,.ap-consent { display: none; }
  .ap-site-footer { background: white; }
}
