:root {
  color-scheme: light;
  --ink: #10213d;
  --muted: #55647a;
  --blue: #082b67;
  --blue-2: #0b438f;
  --aqua: #00a6a6;
  --aqua-soft: #e8f8f6;
  --cream: #f7f5ef;
  --white: #ffffff;
  --line: #d9e2ed;
  --focus: #f0a000;
  --shadow: 0 18px 50px rgba(8, 43, 103, .10);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--white); line-height: 1.65; }
a { color: var(--blue-2); text-decoration-thickness: .1em; text-underline-offset: .18em; }
a:hover { color: var(--aqua); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img, svg { max-width: 100%; }
.skip { position: absolute; left: 1rem; top: -6rem; z-index: 20; padding: .8rem 1rem; background: var(--white); border-radius: 8px; }
.skip:focus { top: 1rem; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--blue); font-weight: 850; letter-spacing: .04em; text-decoration: none; }
.mark { width: 42px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 13px; background: var(--blue); color: white; font-size: 1.35rem; font-weight: 900; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; padding: .55rem .75rem; color: var(--ink); text-decoration: none; border-radius: 10px; font-weight: 650; }
.nav-links a[aria-current="page"] { background: var(--aqua-soft); color: var(--blue); }
.menu { display: none; }
.hero { overflow: hidden; padding: clamp(4.5rem, 10vw, 8rem) 0; background: radial-gradient(circle at 80% 15%, #c9f4ef 0, transparent 34%), linear-gradient(145deg, #f8fbff 0%, #fff 55%, #f7f5ef 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .65fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero-grid > *, .tools-grid > * { min-width: 0; }
.eyebrow { margin: 0 0 .7rem; color: var(--aqua); font-size: .79rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { color: var(--blue); line-height: 1.1; text-wrap: balance; }
h1 { max-width: 860px; margin: 0; font-size: clamp(2.55rem, 6vw, 5.25rem); letter-spacing: -.055em; }
h2 { margin: 0 0 1rem; font-size: clamp(1.75rem, 3.5vw, 3rem); letter-spacing: -.035em; }
h3 { margin: 0 0 .65rem; font-size: 1.2rem; }
.lead { max-width: 740px; margin: 1.35rem 0 0; color: #35465f; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1.1rem; border: 2px solid var(--blue); border-radius: 999px; background: var(--blue); color: white; font-weight: 800; text-decoration: none; }
.button:hover { background: var(--blue-2); color: white; }
.button.secondary { background: transparent; color: var(--blue); }
.button.secondary:hover { background: var(--aqua-soft); }
.hero-note { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.82); box-shadow: var(--shadow); }
.hero-note strong { display: block; margin-bottom: .4rem; color: var(--blue); font-size: 1.15rem; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section.tint { background: var(--cream); }
.section.blue { background: var(--blue); color: white; }
.section.blue h2, .section.blue h3 { color: white; }
.section.blue a { color: #7ee7df; }
.section-intro { max-width: 700px; margin-bottom: 2rem; color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { min-width: 0; padding: 1.45rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 26px rgba(8,43,103,.06); }
.card p { color: var(--muted); }
.card .meta { color: var(--aqua); font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.card-link { display: inline-flex; min-height: 44px; align-items: center; font-weight: 800; }
.feature { border-top: 4px solid var(--aqua); }
.steps { list-style: none; padding: 0; margin: 2rem 0 0; counter-reset: step; }
.steps li { position: relative; padding: 1.1rem 1rem 1.1rem 4.5rem; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: .4rem; top: .85rem; color: var(--aqua); font-size: 1.4rem; font-weight: 900; }
.notice { padding: 1.2rem 1.35rem; border-left: 5px solid var(--aqua); border-radius: 0 14px 14px 0; background: var(--aqua-soft); }
.learn-hero { padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.topic-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; margin-top: 2rem; }
.topic-card { min-width: 0; min-height: 230px; display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 18px; background: var(--white); color: var(--ink); box-shadow: 0 8px 26px rgba(8,43,103,.06); text-decoration: none; }
.topic-card:hover { border-color: var(--aqua); color: var(--ink); transform: translateY(-2px); }
.topic-card strong { color: var(--blue); font-size: 1.15rem; line-height: 1.25; }
.topic-card > span:not(.topic-count):not(.topic-action) { color: var(--muted); }
.topic-count { color: var(--aqua); font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.topic-action { margin-top: auto; color: var(--blue-2); font-weight: 800; text-decoration: underline; text-decoration-thickness: .1em; text-underline-offset: .18em; }
.start-help { max-width: 760px; margin-top: 1.4rem; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); }
.start-help summary { min-height: 52px; display: flex; align-items: center; cursor: pointer; padding: .8rem 1rem; color: var(--blue); font-weight: 850; }
.start-help summary::-webkit-details-marker { display: none; }
.start-help summary::after { content: "+"; margin-left: auto; font-size: 1.35rem; }
.start-help[open] summary::after { content: "−"; }
.start-help > div { padding: 0 1rem 1rem; }
.start-help ul { margin-bottom: 0; }
.start-help a { display: inline-flex; min-height: 44px; align-items: center; }
.themes { background: var(--cream); }
.theme-section { scroll-margin-top: 96px; padding: clamp(3.5rem, 7vw, 6rem) max(1rem, calc((100% - 1120px) / 2)); border-top: 1px solid var(--line); }
.theme-section:nth-child(even) { background: var(--white); }
.theme-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.theme-heading p { max-width: 680px; color: var(--muted); }
.back-link { min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; }
.theme-relation { margin: 1.4rem 0 0; padding: 1rem 1.2rem; border-left: 4px solid var(--aqua); background: rgba(255,255,255,.7); }
.all-articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.all-articles-group { padding: 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.all-articles-group ul { margin: 0; padding-left: 1.2rem; }
.all-articles-group li + li { margin-top: .55rem; }
.all-articles-group a { display: inline-flex; min-height: 40px; align-items: center; }
.tools-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: clamp(2rem, 6vw, 4rem); align-items: start; }
.check-list { padding-left: 1.2rem; }
.check-list li + li { margin-top: .55rem; }
.limits-card { border-top: 4px solid var(--aqua); }
.limits-card ul { padding-left: 1.2rem; }
.article-context { margin-bottom: 1.1rem; padding: .7rem .9rem; border-radius: 12px; background: var(--aqua-soft); color: var(--muted); }
.article-context a { font-weight: 850; }
.article-end { margin-top: 3.2rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: #f8fbff; }
.article-end h2 { margin-top: 0; }
.related-list { padding-left: 1.2rem; }
.article-return { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.article-return a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 800; }
.article-shell { width: min(1040px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 0; display: grid; grid-template-columns: minmax(0, 680px) 250px; gap: clamp(2rem, 7vw, 5rem); align-items: start; }
.article h1 { font-size: clamp(2.2rem, 5vw, 4.35rem); }
.article .intro { margin: 1.25rem 0 2rem; font-size: 1.2rem; color: #35465f; }
.article h2 { margin-top: 2.6rem; font-size: 1.65rem; }
.article li + li { margin-top: .45rem; }
.article-meta { padding: 1.1rem 0; border-block: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.article-meta span { display: inline-block; margin-right: 1rem; }
.toc { position: sticky; top: 104px; padding: 1.1rem; border: 1px solid var(--line); border-radius: 16px; }
.toc strong { display: block; margin-bottom: .65rem; color: var(--blue); }
.toc a { display: block; min-height: 40px; padding: .35rem 0; text-decoration: none; }
.editorial { margin-top: 3rem; padding: 1.25rem; border-radius: 16px; background: var(--cream); font-size: .93rem; }
.editorial dl { margin: 0; }
.editorial dt { margin-top: .8rem; color: var(--blue); font-weight: 800; }
.editorial dd { margin: .15rem 0 0; color: var(--muted); }
.footer { padding: 3rem 0; background: #061d45; color: #dce7f7; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 2rem; }
.footer a { color: white; }
.footer-links { display: flex; flex-wrap: wrap; gap: .35rem 1rem; align-content: start; }
.small { font-size: .88rem; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; }
.status::before { content: ""; width: .65rem; height: .65rem; border-radius: 50%; background: var(--aqua); }
.legal { width: min(760px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 0; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.legal h2 { margin-top: 2.5rem; font-size: 1.6rem; }
.provider-hero { padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.provider-intro { padding-top: clamp(2.5rem, 5vw, 4rem); }
.provider-notice { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid #ecd8a8; border-left: 6px solid var(--focus); border-radius: 0 18px 18px 0; background: #fff9e9; }
.provider-notice h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.provider-notice p:last-child { margin-bottom: 0; }
.provider-category-nav { margin-top: 2rem; scroll-margin-top: 96px; }
.provider-category-nav > div { display: flex; flex-wrap: wrap; gap: .65rem; }
.provider-category-nav a { min-height: 46px; display: inline-flex; align-items: center; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 800; text-decoration: none; }
.provider-directory { background: var(--cream); }
.provider-section { scroll-margin-top: 96px; padding: clamp(3.5rem, 7vw, 6rem) max(1rem, calc((100% - 1120px) / 2)); border-top: 1px solid var(--line); }
.provider-section:nth-child(even) { background: var(--white); }
.provider-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.provider-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.provider-card { min-width: 0; height: 100%; display: flex; flex-direction: column; padding: clamp(1.2rem, 3vw, 1.6rem); border: 1px solid var(--line); border-top: 4px solid var(--aqua); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 26px rgba(8,43,103,.06); }
.provider-card h3 { font-size: 1.55rem; }
.provider-card > p:not(.provider-category):not(.provider-status):not(.provider-confirm) { color: var(--muted); }
.provider-category { margin: 0 0 .55rem; color: var(--aqua); font-size: .76rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.provider-details { margin: .5rem 0 1rem; }
.provider-details dt { margin-top: .85rem; color: var(--blue); font-weight: 850; }
.provider-details dd { margin: .15rem 0 0; color: var(--muted); }
.provider-status { margin: .35rem 0; padding: .7rem .8rem; border-radius: 12px; background: var(--aqua-soft); color: var(--blue); font-weight: 850; }
.provider-confirm { color: var(--ink); font-weight: 800; }
.provider-sources { margin-top: .5rem; padding-top: .8rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.provider-sources p { margin: .25rem 0; }
.provider-sources ul { margin: .4rem 0; padding-left: 1.15rem; }
.provider-sources a { overflow-wrap: anywhere; }
.provider-card .external-link { align-self: flex-start; margin-top: auto; }
.provider-actions .stacked { align-items: flex-start; }
.provider-actions .stacked .button { width: 100%; border-radius: 16px; }

@media (max-width: 820px) {
  .hero-grid, .grid, .grid.two, .article-shell, .footer-grid, .tools-grid, .all-articles, .provider-grid { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-card { min-height: 200px; }
  .theme-heading { grid-template-columns: 1fr; gap: .5rem; }
  .provider-section-heading { grid-template-columns: 1fr; gap: .5rem; }
  .toc { position: static; order: -1; }
  .nav { flex-wrap: wrap; padding-block: .65rem; }
  .nav-links { display: flex; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: .4rem; }
  .js .menu { display: inline-flex; min-height: 44px; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: white; padding: .5rem .8rem; color: var(--blue); font: inherit; font-weight: 800; }
  .js .nav-links { display: none; }
  .js .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
  h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
}

@media (max-width: 520px) {
  .hero h1, .hero .lead, .hero-note, .tools-grid, .tools-grid > *, .button { overflow-wrap: anywhere; }
  .button { max-width: 100%; white-space: normal; text-align: center; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 0; }
  .section, .theme-section { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
