:root {
  color-scheme: light dark;
  --background: #f6f8fc;
  --surface: #ffffff;
  --text: #182139;
  --muted: #58647a;
  --accent: #3b59e3;
  --accent-soft: #edf1ff;
  --border: #e1e6ef;
  --shadow: 0 8px 32px rgb(28 48 97 / 3%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--background);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { color: var(--text); line-height: 1.2; text-wrap: balance; }
h1, h2 { font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
h1 { margin: 0; font-size: clamp(2.15rem, 5.2vw, 3.35rem); font-weight: 750; letter-spacing: -0.045em; }
h2 { margin: 0 0 0.85rem; font-size: 1.3rem; letter-spacing: -0.025em; }
h3 { margin: 0 0 0.65rem; font-size: 1rem; letter-spacing: -0.015em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
#main:focus { outline: none; }

.site-header, main, .site-footer { width: min(58rem, calc(100% - 3rem)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.6rem; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--text); font-size: 1.1rem; font-weight: 750; line-height: 1.25; text-decoration: none; }
.brand img { border-radius: 11px; }
.brand-detail { display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.75rem; font-weight: 400; }
.page-nav { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.page-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.5rem 0.9rem; border-radius: 12px; color: var(--muted); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.page-nav a:hover { color: var(--accent); background: var(--accent-soft); }
.page-nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.skip-link { position: fixed; top: 0.75rem; left: 1rem; z-index: 2; padding: 0.65rem 1rem; border-radius: 10px; background: var(--surface); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

main { padding-block: 3.5rem 4rem; }
.page-heading { margin-bottom: 2rem; }
.eyebrow { margin-bottom: 0.85rem; color: var(--accent); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.intro { max-width: 36rem; margin-top: 1rem; color: var(--muted); font-size: 1.1rem; line-height: 1.6; }
.effective { margin-top: 1.1rem; color: var(--muted); font-size: 0.8rem; }
.panel { padding: 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); }
.panel p, .note p { color: var(--muted); }
.overview .page-heading { margin-bottom: 1.4rem; }
.overview h1 { font-size: clamp(2.4rem, 6.3vw, 4rem); line-height: 1.1; }
.overview h1 span { color: var(--accent); }
.overview-facts { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin-bottom: 2.6rem; color: var(--muted); font-size: 0.8rem; }
.workflow > h2 { margin-bottom: 1.7rem; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; margin: 0; padding: 0; list-style: none; }
.step-number { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 1rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 0.85rem; font-weight: 700; }
.steps p { font-size: 0.9rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block: 1rem 1.75rem; }
.feature-grid h2 { font-size: 1.15rem; }
.feature-grid p { font-size: 0.95rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.65rem; min-height: 44px; font-size: 0.875rem; font-weight: 600; }
.note { padding: 0.25rem 0 0.25rem 1.25rem; border-left: 3px solid var(--border); font-size: 0.875rem; }
.note strong, .note h2 { display: block; margin-bottom: 0.5rem; color: var(--text); font-size: 0.95rem; }

.document { max-width: 46rem; }
.summary { padding: 1.4rem 1.6rem; border: 1px solid var(--border); border-radius: 20px; background: var(--accent-soft); }
.summary h2 { font-size: 1.1rem; }
.summary p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.contents { display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 1.2rem; margin-block: 1.1rem 1.5rem; font-size: 0.8rem; }
.contents span { color: var(--muted); }
.contents a { display: inline-flex; align-items: center; min-height: 44px; }
.legal-copy { padding: 2.25rem; }
.legal-copy section + section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.legal-copy section { scroll-margin-top: 1.5rem; }
.legal-copy h2 { font-size: 1.2rem; }
.legal-copy p { font-size: 0.95rem; line-height: 1.8; }

.contact-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 1.5rem; margin-bottom: 2.5rem; }
.contact-card h2 { margin-bottom: 0.5rem; }
.contact-card p { font-size: 0.95rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 0.9rem; min-height: 48px; padding: 0.7rem 1.2rem; border-radius: 15px; background: #3b59e3; color: #fff; font-size: 0.9rem; font-weight: 650; text-decoration: none; }
.button:hover { background: #304bc5; }
.contact-card .contact-address { grid-column: 1 / -1; margin-top: 1rem; color: var(--muted); font-size: 0.8rem; }
.faq { margin-bottom: 2rem; }
.faq > h2 { margin-bottom: 1rem; }
.faq-list { padding: 0 1.6rem; }
details + details { border-top: 1px solid var(--border); }
summary { padding-block: 1.2rem; cursor: pointer; color: var(--text); font-size: 0.95rem; font-weight: 600; }
summary::marker { color: var(--accent); }
.answer { padding: 0 0 1.3rem 1.1rem; font-size: 0.9rem; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; padding-block: 1.5rem 2.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.8rem; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); }

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0e1117;
    --surface: #191e29;
    --text: #f1f4fc;
    --muted: #adb7cc;
    --accent: #8da4ff;
    --accent-soft: #202b49;
    --border: #2c3548;
    --shadow: none;
  }
}

@media (max-width: 44rem) {
  .site-header { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .page-nav { display: grid; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-nav a { min-width: 0; padding-inline: 0.25rem; font-size: 0.8rem; }
  main { padding-top: 2.5rem; }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps li { position: relative; padding-left: 2.9rem; }
  .step-number { position: absolute; left: 0; top: 0; }
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 28rem) {
  .site-header, main, .site-footer { width: calc(100% - 2rem); }
  .panel, .legal-copy { padding: 1.4rem; border-radius: 20px; }
  .summary { padding: 1.25rem; }
  .intro { font-size: 1rem; }
  .contact-card { grid-template-columns: 1fr; gap: 1rem; }
  .contact-card .button { justify-self: start; }
  .contact-card .contact-address { margin-top: 0; }
  .faq-list { padding: 0 1.2rem; }
  .contents { column-gap: 1rem; }
  .contents span { width: 100%; }
  .legal-copy p { font-size: 1rem; }
}

@media print {
  :root { color-scheme: light; --background: #fff; --surface: #fff; --text: #000; --muted: #333; --accent: #000; --accent-soft: #fff; --border: #ccc; --shadow: none; }
  .skip-link, .page-nav, .contents, .site-footer { display: none; }
  .site-header, main { width: 100%; max-width: none; }
  main { padding-block: 1.5rem; }
  .panel, .summary { border: none; padding: 0; box-shadow: none; }
  .legal-copy section { break-inside: avoid; }
}
