/* Shared typography. Use the existing local font; no external font requests. */
:root {
  --type-body: 'Golos Text', Arial, sans-serif;
  --type-display: var(--type-body);
}
html, body { font-family: var(--type-body); }
body { -webkit-text-size-adjust: 100%; }
button, input, textarea, select { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--type-display); font-weight: 500; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
.eyebrow, .card-number, .scale-kicker, .scale-map-label,
.scale-question > span, .security-layers article > span,
.source-badge, .header-label, #header-label, .crisis-scenario dt {
  text-transform: none;
  letter-spacing: .015em;
  line-height: 1.55;
}
.eyebrow, .hero-v2 .eyebrow, .library-copy .eyebrow, .plan-card .eyebrow,
.card-number, .scale-kicker { font-size: 13px; font-weight: 500; letter-spacing: .015em; }
.hero-v2 h1 {
  font-family: var(--type-display);
  font-size: clamp(44px, 5.3vw, 76px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.04em;
}
.hero-v2 h1 em { font-style: normal; }
.hero-v2 .hero-lead { font-size: 18px; line-height: 1.65; max-width: 44ch; }
.hero-system > p, .hero-system small { letter-spacing: 0; }
.reading-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: 26px; }
.reading-routes a { display: flex; align-items: center; gap: 16px; font-size: 15px; line-height: 1.5; min-height: 44px; }
.reading-routes span { color: #8d6c33; font-size: 12px; font-variant-numeric: tabular-nums; }
.reading-routes a:hover { text-decoration: underline; text-underline-offset: 5px; }
.section h2, .scale-top h2, .intelligence-intro h2,
.contact-inner h2, .book-collection > .section-heading h2 {
  font-family: var(--type-display);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.03em;
}
.section-heading > p, .scale-top > p { max-width: 42ch; line-height: 1.65; }
.service-card h3, .demo-callout h3, .plan-card h3, .library-copy h3,
.shop-edition h2, .order-panel h2, .purchase-details h2,
.working-area .result-summary h2, .un-context h3 {
  font-family: var(--type-display);
  font-weight: 500;
  font-size: clamp(23px, 2.25vw, 29px);
  line-height: 1.3;
  letter-spacing: -.025em;
}
.bookshop h1, .working-area h1 { font-family: var(--type-display); font-weight: 500; line-height: 1.2; }
.service-card h3 { margin: 20px 0 16px; }
.service-card > p:not(.card-number) { min-height: 0; line-height: 1.65; }
.service-card .text-link { padding-top: 24px; }
.method-grid h3, .platform-grid h3, .security-layers h3 {
  font-size: 21px; line-height: 1.35; letter-spacing: -.02em;
}
.method-grid p, .platform-grid p, .security-layers p,
.library-copy > p:not(.eyebrow):not(.library-subtitle) { font-size: 16px; line-height: 1.65; }
.method-grid h3, .platform-grid h3 { min-height: 0; }
.plan-card li, .plan-card > p:not(.eyebrow):not(.plan-price) { font-size: 15px; line-height: 1.65; }
.plans-status { font-size: 15px; padding: 18px 22px; }
.reading-details { border-top: 1px solid var(--line, #d6d9df); margin-top: 24px; }
.reading-details > summary {
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  list-style: none; padding: 18px 0; font-size: 15px; font-weight: 500;
  line-height: 1.5; cursor: pointer; color: inherit;
}
.reading-details > summary::-webkit-details-marker { display: none; }
.reading-details > summary::after { content: '+'; font-size: 22px; font-weight: 400; flex-shrink: 0; }
.reading-details[open] > summary::after { content: '−'; }
.reading-details > summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.reading-details > summary:focus-visible { outline: 2px solid #b89657; outline-offset: 4px; }
.service-card .reading-details { margin: 22px 0 0; }
.service-card .reading-details > summary { font-size: 14px; padding: 14px 0; }
.service-card .reading-details ul { margin: 0 0 12px; padding: 0; }
.service-card .reading-details li { font-size: 14px; line-height: 1.6; }
.service-card.featured .reading-details { border-color: #464a52; }
.service-card.featured .reading-details > summary { color: #d9bd83; }
.reading-details .platform-grid, .reading-details .un-grid { margin: 8px 0 24px; }
.reading-details .plans-status { margin: 8px 0 20px; }
.reading-details .plans-foot { margin: 0 0 16px; }
.plans-foot { flex-wrap: wrap; gap: 16px 36px; }
.plans-foot p { margin: 0; }
.un-context { margin-top: 44px; padding-top: 30px; }
.un-context .section-note { max-width: 80ch; }
.un-grid p { line-height: 1.65; }
.library-note, .section-note, .platform-note p { max-width: 90ch; font-size: 14px; line-height: 1.65; }
.faq-list summary { font-size: 17px; padding-block: 12px; }
.faq-list p { line-height: 1.7; }
.document-content { max-width: 76ch; font-size: 17px; line-height: 1.75; }
.document-content h1 { font-size: clamp(30px, 3vw, 42px); letter-spacing: -.03em; line-height: 1.2; }
.document-content h2 { font-size: 26px; }
.document-content p, .document-content li { max-width: 72ch; }
.document-content table, .document-content pre { max-width: 100%; }
.document-nav { line-height: 1.55; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 18px; background: white; color: #17181a; }
.skip-link:focus { top: 12px; }
.mobile-contents { display: none; }
.materials-index h1 { font-size: clamp(34px, 4.5vw, 56px); line-height: 1.2; letter-spacing: -.035em; }
.material-card h2 { font-size: 22px; letter-spacing: -.02em; }
.material-card p { line-height: 1.65; }
.footer .legal-links { display: flex; flex-wrap: wrap; gap: 12px 24px; line-height: 1.6; }
@media (min-width: 761px) {
  .hero-v2 { min-height: 600px; padding-block: 64px; }
  .hero-copy { max-width: 700px; }
  .hero-system { max-width: 360px; width: 360px; }
  .plans-grid:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .mobile-contents { display: block; margin: 0 0 32px; }
  .mobile-contents ul { padding-left: 20px; font-size: 15px; line-height: 1.6; }
  .mobile-contents li { margin: 12px 0; }
  .mobile-contents a { text-decoration: underline; text-underline-offset: 4px; }
  .reading-routes { grid-template-columns: 1fr; gap: 0; padding-block: 14px; }
  .reading-routes a { padding-block: 12px; }
  .reading-routes a + a { border-top: 1px solid #d6d9df; }
  .hero-v2 h1 { font-size: clamp(36px, 9.3vw, 56px); line-height: 1.14; letter-spacing: -.035em; }
  .hero-v2 .hero-lead { font-size: 17px; }
  .section h2, .scale-top h2, .intelligence-intro h2, .contact-inner h2 { font-size: clamp(29px, 7.2vw, 38px); }
  .section-heading h2 br, .scale-top h2 br, .contact-inner h2 br { display: none; }
  .section-heading h2, .scale-top h2, .contact-inner h2 { text-wrap: balance; }
  .service-card h3 { font-size: 25px; }
  .service-card, .plan-card { padding: 26px 24px; }
  .reading-details > summary { min-height: 48px; }
  .method-grid h3, .platform-grid h3 { font-size: 19px; }
  .bookshop h1 { font-size: 34px; }
}
@media (max-width: 420px) {
  .method-grid, #platform .platform-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p { font-size: 16px; }
}
