:root {
  --red:    #c8102e;
  --red-d:  #a00d24;
  --black:  #111111;
  --dark:   #1e1e1e;
  --gray:   #6b7280;
  --light:  #f9fafb;
  --white:  #ffffff;
  --green:  #10b981;
  --border: #e5e7eb;
}

.app-disclosure {
  background: var(--light);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.app-disclosure-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  max-width: 760px;
  margin: 0 auto;
}
.app-disclosure-card h2 {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
  margin: 0 0 0.6rem;
}
.app-disclosure-card p {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.65;
  margin: 0 0 0.7rem;
}
.app-disclosure-card p:last-child {
  margin-bottom: 0;
}
.app-disclosure-card p strong {
  color: var(--black);
}
.app-disclosure-card .app-disclosure-highlight {
  color: var(--red);
}

.app-disclosure-note {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.6;
  margin-top: 0.75rem;
}
.app-disclosure-note .app-disclosure-highlight {
  color: var(--red);
  font-weight: 600;
}

@media (max-width: 480px) {
  .app-disclosure { padding: 1.5rem 0; }
  .app-disclosure-card { padding: 1.25rem 1.1rem; border-radius: 10px; }
}

/* ----- shared rules extracted from per-page <style> blocks (issue #1530) ----- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--black); background: var(--white); }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo img { height: 40px; width: 40px; border-radius: 8px; }
.nav-logo span { color: var(--white); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.nav-logo span em { color: var(--red); font-style: normal; }
.nav-actions { display: flex; gap: 0.75rem; align-items: center; }
.btn-ghost { color: #d1d5db; text-decoration: none; font-size: 0.9rem; font-weight: 500; padding: 0.4rem 0.75rem; border-radius: 6px; transition: color 0.15s; }
.btn-ghost:hover { color: var(--white); }
.btn-primary { background: var(--red); color: var(--white); text-decoration: none; font-size: 0.9rem; font-weight: 600; padding: 0.5rem 1.1rem; border-radius: 6px; transition: background 0.15s; }
.btn-primary:hover { background: var(--red-d); }
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-collapse { display: flex; align-items: center; gap: 0.75rem; }
.nav-hamburger { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 6px; cursor: pointer; color: #d1d5db; }
.nav-hamburger:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-hamburger svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; }
.nav-hamburger .ico-close { display: none; }
.nav-toggle:focus-visible + .nav-actions .nav-hamburger { outline: 2px solid var(--red); outline-offset: 2px; }
#nav-toggle:checked ~ .nav-actions .nav-hamburger .ico-open { display: none; }
#nav-toggle:checked ~ .nav-actions .nav-hamburger .ico-close { display: block; }
.hero h1 span { color: var(--red); }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-hero { background: var(--red); color: var(--white); text-decoration: none; font-size: 1rem; font-weight: 700; padding: 0.85rem 2rem; border-radius: 8px; transition: background 0.15s; display: inline-block; }
.btn-hero:hover { background: var(--red-d); }
.btn-hero-ghost { color: #d1d5db; text-decoration: none; font-size: 1rem; font-weight: 500; padding: 0.85rem 2rem; border-radius: 8px; border: 1px solid #374151; transition: border-color 0.15s, color 0.15s; display: inline-block; }
.btn-hero-ghost:hover { border-color: #6b7280; color: var(--white); }
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.container { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 0.75rem; }
.btn-white { background: var(--white); color: var(--red); text-decoration: none; font-weight: 700; font-size: 1rem; padding: 0.85rem 2rem; border-radius: 8px; display: inline-block; transition: opacity 0.15s; }
.btn-white:hover { opacity: 0.92; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { display: flex; align-items: center; gap: 0.6rem; }
.footer-logo img { height: 32px; width: 32px; border-radius: 6px; }
.footer-logo span { color: #d1d5db; font-weight: 700; font-size: 0.9rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a:hover { color: #d1d5db; }
.footer-copy { font-size: 0.8rem; }
.footer-social { display: flex; gap: 1rem; align-items: center; }
.footer-social a { color: #6b7280; transition: color 0.15s; display: inline-flex; }
.footer-social a:hover { color: #d1d5db; }
.footer-social a svg { width: 20px; height: 20px; }
.footer-legal { max-width: 1100px; margin: 1.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid #1f1f1f; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a { color: #4b5563; text-decoration: none; font-size: 0.8rem; transition: color 0.15s; }
.footer-legal a:hover { color: #9ca3af; }
.btn-ghost[aria-current="page"] { color: var(--white); }
svg { width: 1em; height: 1em; stroke: currentColor; stroke-width: 2.5; }
/* Main nav: sticky. Breadcrumbs use <nav class="breadcrumb"> and must NOT be sticky
 * — they share the element name but not the role, and prior tie at z-index:50 let
 * the breadcrumb cover the mobile menu dropdown. */
nav:not(.breadcrumb) { position: sticky; top: 0; z-index: 50; background: var(--black);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 64px; border-bottom: 2px solid var(--red); }

.breadcrumb { background: var(--red-d); border-bottom: 2px solid var(--red); padding: 0.85rem 2rem; }
.breadcrumb ol { max-width: 1100px; margin: 0 auto; list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.95rem; color: #fee2e2; font-weight: 500; }
.breadcrumb a { color: #fee2e2; text-decoration: none; transition: color 0.15s; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb li[aria-current="page"] { color: var(--white); font-weight: 700; }
.breadcrumb svg { width: 14px; height: 14px; stroke: #fca5a5; stroke-width: 2; }
.hero .container { max-width: 760px; text-align: center; margin: 0 auto; }
.hero-eyebrow svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2.5; }
.shot-head-text { min-width: 0; }
.app-shot { margin: 2.5rem auto 0; max-width: 880px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.app-shot img { display: block; width: 100%; height: auto; }
.app-shot-ph { aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.85rem; color: #9ca3af; background:
        linear-gradient(135deg, #f9fafb 0%, #eef1f4 100%); }
.app-shot-ph svg { width: 40px; height: 40px; stroke: #c7ccd3; stroke-width: 1.5; }
.app-shot-ph span { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; }
.app-shot figcaption { font-size: 0.8rem; color: var(--gray); padding: 0.85rem 1.25rem; border-top: 1px solid var(--border); background: var(--light); }
.ps { background: var(--light); }
.ps-grid { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.75rem; }
.ps-card { display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--red); border-radius: 14px; padding: 1.75rem 1.9rem; }
.ps-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(200,16,46,0.1); border: 1px solid rgba(200,16,46,0.2); display: flex; align-items: center; justify-content: center; }
.ps-icon svg { width: 22px; height: 22px; stroke: var(--red); stroke-width: 2; }
.ps-card h3 { font-weight: 700; font-size: 1.08rem; margin-bottom: 0.5rem; }
.ps-problem { font-size: 0.92rem; color: var(--gray); line-height: 1.6; margin-bottom: 0.6rem; }
.ps-problem strong { color: var(--black); font-weight: 600; }
.ps-solution { font-size: 0.95rem; color: #374151; line-height: 1.65; }
.ps-solution strong { color: var(--red); font-weight: 600; }
.body-block { margin-top: 2.75rem; }
.body-block:first-child { margin-top: 2.25rem; }
.body-block h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 0.9rem; }
.body-block p { font-size: 1rem; color: #374151; line-height: 1.75; margin-bottom: 1rem; }
.body-block p:last-child { margin-bottom: 0; }
.body-block ul, .body-block ol { margin: 0 0 1rem 1.25rem; color: #374151; line-height: 1.7; font-size: 1rem; }
.body-block li { margin-bottom: 0.4rem; }
.body-block strong { color: var(--black); font-weight: 600; }
.body-table-wrap { margin: 1.25rem 0 1rem; overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
.body-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.body-table caption { text-align: left; font-size: 0.82rem; color: var(--gray); padding: 0.85rem 1.1rem 0; caption-side: top; }
.body-table th, .body-table td { text-align: left; padding: 0.7rem 1.1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.body-table thead th { background: var(--light); font-weight: 700; color: var(--black); font-size: 0.82rem; letter-spacing: 0.02em; text-transform: uppercase; }
.body-table tbody tr:last-child td { border-bottom: none; }
.body-table td code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88rem; color: var(--red-d); font-weight: 600; }
.faq-list { margin-top: 2.5rem; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list details:last-child { border-bottom: none; }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.2rem 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: 0.98rem; background: var(--white); user-select: none; transition: background 0.15s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { background: var(--light); }
.faq-chevron { flex-shrink: 0; width: 18px; height: 18px; stroke: var(--gray); stroke-width: 2; transition: transform 0.2s; }
.faq-list details[open] .faq-chevron { transform: rotate(90deg); }
.faq-answer { padding: 0 1.6rem 1.5rem; font-size: 0.93rem; color: #374151; line-height: 1.7; }
.related { background: var(--black); color: var(--white); }
.related .section-sub { color: #9ca3af; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2.75rem; }
.related-card { background: var(--dark); border: 1px solid #2a2a2a; border-radius: 14px; padding: 1.6rem; text-decoration: none; display: flex; flex-direction: column; gap: 0.6rem; transition: border-color 0.2s, transform 0.2s; }
.related-card:hover { border-color: var(--red); transform: translateY(-2px); }
.related-card .rc-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(200,16,46,0.12); border: 1px solid rgba(200,16,46,0.25); display: flex; align-items: center; justify-content: center; }
.related-card .rc-icon svg { width: 20px; height: 20px; stroke: var(--red); stroke-width: 2; }
.related-card h3 { font-size: 0.98rem; font-weight: 700; color: var(--white); }
.related-card p { font-size: 0.85rem; color: #9ca3af; line-height: 1.55; }
.related-card .rc-more { font-size: 0.82rem; font-weight: 600; color: var(--red); display: inline-flex; align-items: center; gap: 0.3rem; margin-top: auto; }
.related-card .rc-more svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.5; }
.hub-intro { max-width: none; }
.hub-intro p { font-size: 1.05rem; color: #374151; line-height: 1.75; margin-bottom: 1.1rem; }
.hub-intro p:last-child { margin-bottom: 0; }
.hub-intro strong { color: var(--black); font-weight: 600; }
.hub-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 1.9rem; text-decoration: none; display: flex; flex-direction: column; gap: 0.7rem; transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s; }
.hub-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.09); border-color: #d1d5db; transform: translateY(-2px); }
.hub-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(200,16,46,0.1); border: 1px solid rgba(200,16,46,0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 0.3rem; }
.hub-icon svg { width: 24px; height: 24px; stroke: var(--red); stroke-width: 1.9; }
.hub-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--black); }
.hub-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }
.hub-card .hub-more { font-size: 0.84rem; font-weight: 600; color: var(--red); display: inline-flex; align-items: center; gap: 0.3rem; margin-top: auto; }
.hub-card .hub-more svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.5; }
.section-sub { font-size: 1.02rem; color: var(--gray); line-height: 1.65; max-width: none; }
.cmp-intro { max-width: none; }
.cmp-intro p { font-size: 1.02rem; color: #374151; line-height: 1.75; margin-top: 1.1rem; }
.cmp-intro p:first-of-type { margin-top: 1.75rem; }
.cmp-table-wrap { margin-top: 2.75rem; overflow-x: auto; border: 1px solid var(--border); border-radius: 16px; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.92rem; }
table.cmp caption { text-align: left; padding: 1rem 1.25rem 1.5rem; color: var(--gray); font-size: 0.82rem; }
table.cmp th, table.cmp td { padding: 0.95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
table.cmp thead th { background: var(--black); color: var(--white); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.01em; position: sticky; top: 0; }
table.cmp thead th.cmp-mdg { background: var(--red); }
table.cmp tbody th { font-weight: 600; color: var(--black); width: 30%; }
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp td.col-mdg { background: rgba(200,16,46,0.045); }
.cmp-cell { display: flex; align-items: flex-start; gap: 0.55rem; }
.cmp-cell svg { width: 18px; height: 18px; stroke-width: 2.4; flex-shrink: 0; margin-top: 1px; }
.cmp-yes svg { stroke: var(--green); }
.cmp-partial svg { stroke: #d97706; }
.cmp-no svg { stroke: #9ca3af; }
.cmp-info svg { stroke: var(--gray); }
.cmp-note { color: var(--gray); font-size: 0.86rem; line-height: 1.5; }
.cmp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cmp-asof { margin-top: 1rem; font-size: 0.8rem; color: var(--gray); font-style: italic; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 2.75rem; }
.why-card { background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--red); border-radius: 14px; padding: 1.7rem 1.8rem; }
.why-card .why-ico { width: 44px; height: 44px; border-radius: 10px; background: rgba(200,16,46,0.1); border: 1px solid rgba(200,16,46,0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 0.9rem; }
.why-card .why-ico svg { width: 22px; height: 22px; stroke: var(--red); stroke-width: 2; }
.why-card h3 { font-weight: 700; font-size: 1.06rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.93rem; color: #374151; line-height: 1.65; }
.page-header .label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 0.75rem; }
.page-header .meta { font-size: 0.85rem; color: #6b7280; }
.content { padding: 4rem 2rem 6rem; }
.content .container { max-width: 760px; margin: 0 auto; }
.highlight-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
h2:first-of-type { border-top: none; }
p { font-size: 0.95rem; color: #374151; line-height: 1.75; margin-bottom: 0.85rem; }
ul { padding-left: 1.25rem; margin-bottom: 1rem; }
a:hover { text-decoration: underline; }
.hub-card .hub-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.hub-card .hub-meta svg { width: 13px; height: 13px; stroke: var(--gray); stroke-width: 2; }
.article { padding: 3.5rem 2rem 4.5rem; }
.article .container { max-width: 760px; }
.article .lead { font-size: 1.18rem; line-height: 1.7; color: #1f2937; font-weight: 500; margin-bottom: 2.25rem; padding-bottom: 2.25rem; border-bottom: 1px solid var(--border); }
.article h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; margin: 2.75rem 0 1rem; }
.article h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin: 2rem 0 0.75rem; }
.article p { font-size: 1.02rem; line-height: 1.75; color: #374151; margin-bottom: 1.15rem; }
.article ul { margin: 0 0 1.4rem 0; padding-left: 0; list-style: none; }
.article ul li { position: relative; padding-left: 1.6rem; font-size: 1.0rem; line-height: 1.7; color: #374151; margin-bottom: 0.75rem; }
.article ul li::before { content: ''; position: absolute; left: 0; top: 0.65rem; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.article strong { color: var(--black); font-weight: 700; }
.article em { font-style: italic; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; font-size: 0.86rem; color: var(--gray); margin-bottom: 2.25rem; }
.article-meta .am-author { color: var(--black); font-weight: 700; }
.article-meta .am-dot { width: 4px; height: 4px; border-radius: 50%; background: #cbd5e1; }
.callout { background: var(--light); border: 1px solid var(--border); border-left: 4px solid var(--red); border-radius: 12px; padding: 1.25rem 1.5rem; margin: 1.75rem 0 2rem; font-size: 0.98rem; line-height: 1.7; color: #374151; }
.soft-cta { background: var(--black); color: var(--white); border-radius: 16px; padding: 2rem 2.1rem; margin: 2.5rem 0; }
.soft-cta h3 { color: var(--white); font-size: 1.2rem; font-weight: 800; margin: 0 0 0.6rem; }
.soft-cta p { color: #c7ccd3; font-size: 0.98rem; line-height: 1.65; margin: 0 0 1.4rem; }
.soft-cta .soft-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.soft-cta a.scta-primary { background: var(--red); color: var(--white); text-decoration: none; font-weight: 700; font-size: 0.95rem; padding: 0.7rem 1.5rem; border-radius: 8px; display: inline-block; transition: background 0.15s; }
.soft-cta a.scta-primary:hover { background: var(--red-d); }
.soft-cta a.scta-ghost { color: #d1d5db; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.7rem 1.5rem; border-radius: 8px; border: 1px solid #374151; display: inline-block; transition: border-color 0.15s, color 0.15s; }
.soft-cta a.scta-ghost:hover { border-color: #6b7280; color: var(--white); }
.guide-related { background: var(--light); }
.guide-related .gr-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.guide-related .gr-links a { background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 0.55rem 1.1rem; font-size: 0.9rem; font-weight: 600; color: #374151; text-decoration: none; transition: border-color 0.15s, color 0.15s; }
.guide-related .gr-links a:hover { border-color: var(--red); color: var(--red); }
.glossary-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.1rem; }
.glossary-term { background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--red); border-radius: 14px; padding: 1.5rem 1.75rem; scroll-margin-top: 80px; }
.glossary-term h2 { font-size: 1.18rem; font-weight: 800; margin: 0 0 0.15rem; letter-spacing: -0.01em; }
.glossary-term .gt-abbr { font-size: 0.85rem; font-weight: 600; color: var(--gray); margin-bottom: 0.6rem; }
.glossary-term p { font-size: 0.98rem; line-height: 1.7; color: #374151; margin: 0; }
.glossary-term .gt-more { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.85rem; font-size: 0.85rem; font-weight: 600; color: var(--red); text-decoration: none; }
.glossary-term .gt-more svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.5; }
.glossary-index { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.glossary-index a { background: var(--light); border: 1px solid var(--border); border-radius: 8px; padding: 0.4rem 0.75rem; font-size: 0.85rem; font-weight: 600; color: #374151; text-decoration: none; transition: border-color 0.15s, color 0.15s; }
.glossary-index a:hover { border-color: var(--red); color: var(--red); }
.toc { background: var(--light); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem 1.75rem; margin-bottom: 3rem; }
.toc ol { padding-left: 1.25rem; }
.toc ol li { margin-bottom: 0.35rem; }
.toc ol li a { font-size: 0.9rem; color: var(--black); font-weight: 500; }
.toc ol li a:hover { color: var(--red); }

.hero-cta + .app-disclosure-note { margin-top: 1.5rem; }
