:root {
    --ink: #202523;
    --muted: #59655f;
    --teal: #00796b;
    --coral: #c84b41;
    --blue: #477dc0;
    --gold: #9b761b;
    --line: #dde4e0;
    --surface: #f4f6f5;
    --pale: #e9f4f1;
    --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font: 16px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}
a { color: var(--teal); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a, button, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.18; text-wrap: balance; }
h1 { font-size: 46px; font-weight: 700; }
h2 { font-size: 30px; font-weight: 650; }
h3 { font-size: 20px; font-weight: 650; }
button, input { font: inherit; }
.skip-link {
    position: absolute;
    left: 20px;
    top: -100px;
    z-index: 10;
    background: var(--white);
    padding: 12px 18px;
}
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .wrap, .site-footer {
    width: min(1120px, calc(100% - 64px));
    margin-inline: auto;
}
.header-inner {
    min-height: 98px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.35;
}
.brand img { border-radius: 8px; flex-shrink: 0; }
.brand-note { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 3px; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.site-header nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 550;
}
.site-header nav a:hover { background: var(--surface); color: var(--ink); }
.site-header nav a[aria-current='page'] { background: var(--pale); color: var(--teal); }
.page-intro { padding-block: 54px 38px; max-width: 840px; }
.eyebrow { color: var(--teal); font-weight: 650; font-size: 13px; margin-bottom: 18px; }
.lead { color: var(--muted); font-size: 20px; line-height: 1.6; margin-top: 22px; max-width: 720px; }
.availability { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; font-size: 13px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 5px; font-size: 12px; font-weight: 650; }
.tag-coral { color: #95372f; background: #fceeea; }
.tag-teal { color: var(--teal); background: var(--pale); }
.muted { color: var(--muted); }
.section { padding-block: 42px 48px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 26px; }
.section-heading p { color: var(--muted); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.step-number { display: block; color: var(--teal); font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.steps article + article { border-left: 1px solid var(--line); padding-left: 30px; }
.steps p { color: var(--muted); margin-top: 14px; }
.index-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.task-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; margin: 24px 0 0; gap: 0 40px; }
.task-list li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.task-list span { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; padding-top: 2px; }
.band { background: var(--surface); border-block: 1px solid var(--line); padding-block: 44px; }
.levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; margin-top: 28px; }
.levels p { color: var(--muted); margin-top: 14px; }
.level-label { margin-bottom: 14px; font-size: 13px; color: var(--teal); font-weight: 600; }
.level-label.advanced { color: var(--coral); }
.dimension-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-block: 28px; }
.dimension-list div { border-top: 3px solid var(--teal); padding-top: 18px; }
.dimension-list div:nth-child(2) { border-color: var(--blue); }
.dimension-list div:nth-child(3) { border-color: var(--coral); }
.dimension-list div:nth-child(4) { border-color: var(--gold); }
.dimension-list dt { font-size: 16px; font-weight: 650; }
.dimension-list dd { color: var(--muted); margin: 8px 0 0; font-size: 14px; }
.note { border-left: 3px solid var(--coral); padding: 4px 0 4px 18px; color: var(--muted); font-size: 14px; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.resource {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
    transition: border-color 150ms ease, background-color 150ms ease;
}
.resource:hover { border-color: var(--teal); background: var(--pale); }
.resource .link-label { color: var(--teal); font-size: 14px; font-weight: 600; margin-top: auto; }
.resource p { color: var(--muted); font-size: 14px; padding-bottom: 10px; }
.resource h3 { font-size: 19px; }
.site-footer { padding-block: 32px 28px; border-top: 1px solid var(--line); margin-top: 32px; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { font-size: 14px; }
.site-footer nav { gap: 20px; font-size: 13px; }
.site-footer nav a { color: var(--muted); }
.disclaimer { max-width: 820px; margin-top: 24px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.footer-bottom { color: var(--muted); font-size: 12px; margin-top: 20px; }
.footer-bottom a { color: var(--muted); }
.document-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 64px; align-items: start; }
.toc { position: sticky; top: 28px; font-size: 14px; padding-block: 6px 24px; }
.toc h2 { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.toc a { display: block; padding: 7px 0; text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--teal); text-decoration: underline; }
.prose { min-width: 0; padding-bottom: 24px; }
.prose section { border-top: 1px solid var(--line); padding-block: 26px 30px; }
.prose h2 { font-size: 23px; margin-bottom: 18px; }
.prose p + p, .prose p + ul, .prose p + ol { margin-top: 16px; }
.prose ul, .prose ol { margin-bottom: 0; padding-left: 22px; }
.prose li { padding: 4px 0 4px 4px; }
.prose .note { margin-bottom: 20px; }
.updated { color: var(--muted); font-size: 13px; margin-top: 18px; }
.summary-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 44px; }
.summary-points p { border-top: 2px solid var(--teal); padding-top: 16px; font-size: 14px; }
.summary-points strong { display: block; margin-bottom: 8px; font-size: 16px; }
.summary-points p:nth-child(2) { border-color: var(--coral); }
.summary-points p:nth-child(3) { border-color: var(--blue); }
.search-box { padding-block: 26px 30px; border-top: 1px solid var(--line); }
.search-box label { display: block; font-weight: 600; margin-bottom: 12px; }
.search-row { display: flex; gap: 10px; max-width: 720px; }
input[type='search'] { min-width: 0; flex: 1; padding: 12px 16px; border: 1px solid #abb9b1; border-radius: 6px; background: var(--white); color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; background: var(--teal); color: var(--white); border: 1px solid var(--teal); border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; text-align: center; }
.button:hover { background: #006557; }
.button.secondary { color: var(--ink); background: var(--white); border-color: var(--line); }
.button.secondary:hover { background: var(--surface); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.fine-print { color: var(--muted); font-size: 13px; margin-top: 12px; }
.faq { margin-top: 24px; }
details { border-bottom: 1px solid var(--line); padding-block: 20px; }
summary { cursor: pointer; font-size: 17px; font-weight: 550; padding-right: 12px; }
details p { color: var(--muted); margin-top: 16px; max-width: 800px; }
.deletion-steps { padding-left: 24px; margin-top: 24px; }
.deletion-steps li { padding: 10px 0 10px 10px; }

@media (max-width: 850px) {
    .header-inner { flex-wrap: wrap; padding-block: 20px 12px; gap: 18px; }
    .document-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 30px; }
    .dimension-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { gap: 20px; }
    .steps article + article { padding-left: 20px; }
    .footer-top { flex-wrap: wrap; }
}
@media (max-width: 600px) {
    .header-inner, .wrap, .site-footer { width: calc(100% - 40px); }
    .header-inner { gap: 16px; }
    .site-header nav { width: 100%; justify-content: space-between; gap: 0; }
    .site-header nav a { padding: 9px 12px; }
    .page-intro { padding-block: 36px 28px; }
    h1 { font-size: 34px; }
    h2 { font-size: 25px; }
    .lead { font-size: 18px; margin-top: 18px; }
    .section { padding-block: 30px 36px; }
    .section-heading { display: block; }
    .section-heading p { margin-top: 10px; }
    .steps, .levels, .resource-grid, .summary-points, .task-list { grid-template-columns: 1fr; }
    .steps { gap: 24px; }
    .steps article + article { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
    .step-number { margin-bottom: 10px; }
    .steps p { margin-top: 10px; }
    .levels { gap: 28px; }
    .levels article + article { padding-top: 28px; border-top: 1px solid var(--line); }
    .task-list { margin-top: 16px; }
    .band { padding-block: 32px; }
    .summary-points { gap: 20px; margin-bottom: 32px; }
    .document-layout { display: block; }
    .toc { position: static; border-top: 1px solid var(--line); padding-top: 22px; }
    .toc a { display: inline-block; padding: 6px 14px 6px 0; }
    .toc h2 { margin-bottom: 8px; }
    .resource { padding: 22px; }
    .footer-top, .footer-bottom { align-items: flex-start; flex-wrap: wrap; }
    .site-footer nav { gap: 12px 20px; }
    .index-row { flex-wrap: wrap; gap: 12px; }
    .search-row { flex-wrap: wrap; }
    .search-row input { flex-basis: 100%; }
    .search-row .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .resource { transition: none; }
}
