/* pages (Method, About). Scoped under #method / #about. Tokens only. */
#method .sec-head h2, #about .sec-head h2 { font-size: var(--t-display); letter-spacing: -0.03em; line-height: 1.07; font-weight: 700; }
#method .sec-head, #about .sec-head { border-bottom: 1px solid var(--hair); padding-bottom: 32px; margin-bottom: 8px; max-width: none; }
#method .sec-head p, #about .sec-head p { max-width: 680px; }

/* numbered steps: full width, title left, text right */
#method .flow { display: block; padding: 24px 0 0; max-width: none; }
#method .flow .st { background: none; border-radius: 0; padding: 28px 0; border-top: 1px solid var(--hair); display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: baseline; }
#method .flow .st:last-child { border-bottom: 1px solid var(--hair); }
#method .flow .st .n { font-style: normal; font-size: 40px; font-weight: 300; letter-spacing: -0.03em; color: var(--ink3); font-variant-numeric: tabular-nums; line-height: 1; }
#method .flow .st b { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
#method .flow .st span { font-size: 16px; line-height: 1.55; color: var(--ink2); }
@media (max-width: 760px) {
  #method .flow .st { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 12px; padding: 22px 0; }
  #method .flow .st .n { font-size: 30px; grid-row: 1 / span 2; }
  #method .flow .st span { grid-column: 2; }
}

#method .m-sec p, #method .m-sec ul, #method .m-col ul { max-width: 720px; }
#method [id^="m-"] { scroll-margin-top: 72px; }
#method .m-jump { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-block: 16px 4px; font-size: 15px; }
#method .m-jump a { color: var(--accent-ink); text-decoration: none; padding-block: 6px; }
#method .m-jump a:hover { text-decoration: underline; }
#method .m-jump a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#method .m-short { margin-top: 16px; padding: 20px 0 14px; max-width: 720px; background: none; border: 0; border-block: 1px solid var(--hair); border-radius: 0; box-shadow: none; }
#method .m-short b { font-size: 13px; font-weight: 600; color: var(--ink3); letter-spacing: .02em; }
#method .m-short ul { margin: 8px 0 0; }
#method .m-short li { border: 0; font-size: 17px; line-height: 1.5; color: var(--ink); padding-bottom: 6px; }
@media (max-width: 600px) { #method .m-jump a { padding-block: 12px; } }
#method .m-h { font-size: var(--t-h2); letter-spacing: -0.02em; font-weight: 600; margin: 0 0 8px; }
#method .m-sub { margin: 0 0 20px; color: var(--ink2); }
#method .m-sec { border-top: 1px solid var(--hair); padding-top: 40px; }

/* table: no box, hairline rows */
#method .tablewrap { background: none; border-radius: 6px; overflow-x: auto; }
#method table { font-variant-numeric: tabular-nums; }
#method thead th { font-size: 12px; font-weight: 500; color: var(--ink3); text-align: left; padding: 8px 16px 8px 0; border-bottom: 1px solid var(--rule); background: none; letter-spacing: .02em; }
#method tbody td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--hair); vertical-align: top; color: var(--ink2); background: none; }
#method tbody td:first-child { color: var(--ink); min-width: 140px; }
#method tbody tr:last-child td { border-bottom: 0; }
#method .pill { background: none; border: 1px solid var(--rule); color: var(--ink3); white-space: nowrap; }
#method .pill.v-ok { color: var(--ink); border-color: var(--ink3); }
#method .pill.v-bad { color: var(--neg); border-color: var(--neg); }
@media (max-width: 700px) {
  #method .tablewrap thead { display: none; }
  #method table, #method tbody, #method tbody tr, #method tbody td { display: block; width: 100%; }
  #method tbody tr { padding: 16px 0; border-bottom: 1px solid var(--hair); }
  #method tbody td { border: 0; padding: 3px 0; min-width: 0; }
  #method tbody td:first-child { padding-bottom: 6px; font-size: 16px; }
  #method tbody td[data-l]:not(:first-child)::before { content: attr(data-l) ": "; color: var(--ink3); font-size: 12px; }
  #method tbody td:last-child { padding-top: 8px; }
}

#method .m-two { gap: 48px; border-top: 1px solid var(--hair); padding-top: 40px; }
#method .m-col { background: none; padding: 0; border-radius: 0; box-shadow: none; }
#method ul.plain li { padding-bottom: 12px; color: var(--ink2); }
#method ul.plain a { color: var(--accent-ink); text-decoration: none; }
#method ul.plain a:hover { text-decoration: underline; }
@media (max-width: 860px) { #method .m-two { gap: 36px; } }

/* about */
#about .about-body, #method .about-body { max-width: 680px; gap: 20px; color: var(--ink2); font-size: 17px; line-height: 1.6; padding-bottom: 64px; }
#about .about-body p, #method .about-body p { margin: 0; }
#about .mail, #method .mail { color: var(--accent-ink); text-decoration: none; }
#about .mail:hover, #method .mail:hover { text-decoration: underline; }
#about .about-body .tiny, #method .about-body .tiny { border-top: 1px solid var(--hair); padding-top: 20px; margin-top: 12px; font-size: 13px; }

/* how sure: filed (solid dot), partly filed (half dot), estimated (dashed ring). Same marks on the boxes, the steps and the legend. */
#method .m-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--ink3); letter-spacing: .01em; white-space: nowrap; }
#method .m-tag i { width: 10px; height: 10px; border-radius: 50%; flex: none; box-sizing: border-box; }
#method .t-filed i { background: var(--ink); }
#method .t-part i { border: 1.5px solid var(--ink); background: linear-gradient(90deg, var(--ink) 50%, transparent 50%); }
#method .t-est i { border: 1.5px dashed var(--ink2); }
#method .flow .st b .m-tag { margin-left: 12px; vertical-align: 3px; }

/* diagram 1: the steps as boxes */
#method .m-fig { margin: 48px 0 0; padding-top: 40px; border-top: 1px solid var(--hair); }
#method .m-fig .ex-find { margin: 6px 0 20px; }
#method .m-fig .ex-src { margin-top: 18px; }
#method .m-cap { font-size: var(--t-h2); letter-spacing: -0.02em; font-weight: 600; color: var(--ink); margin-bottom: 24px; }
#method .m-flow { display: flex; align-items: stretch; gap: 0; }
#method .m-node { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 10px; border: 1.5px solid var(--ink3); background: var(--bg); }
#method .m-node.n-est, #method .m-split .n-est { border-style: dashed; }
#method .m-node.n-part { border-color: var(--ink3); background: linear-gradient(var(--surface), var(--surface)) padding-box; }
#method .m-node b { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
#method .m-node > span { font-size: 13px; line-height: 1.45; color: var(--ink2); flex: 1; }
#method .m-node.m-end { flex: 1.5 1 0; border-color: var(--ink); border-style: dashed; }
#method .m-split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#method .m-split > div { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 8px; border: 1.5px solid var(--ink3); }
#method .m-split b { font-size: 14px; }
#method .m-left { font-size: 12px; color: var(--ink3); }
#method .m-arrow { flex: 0 0 28px; position: relative; }
#method .m-arrow::before { content: ""; position: absolute; left: 4px; right: 8px; top: 50%; border-top: 1.5px solid var(--ink3); }
#method .m-arrow::after { content: ""; position: absolute; right: 4px; top: calc(50% - 4px); border: 4.5px solid transparent; border-left: 6px solid var(--ink3); border-right: 0; }
#method .m-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; align-items: center; }
#method .m-lnote { font-size: 12px; color: var(--ink3); }
@media (max-width: 860px) {
  #method .m-flow { flex-direction: column; }
  #method .m-arrow { flex: 0 0 24px; }
  #method .m-arrow::before { left: 50%; right: auto; top: 3px; bottom: 8px; border-top: 0; border-left: 1.5px solid var(--ink3); }
  #method .m-arrow::after { left: calc(50% - 4px); right: auto; top: auto; bottom: 3px; border: 4.5px solid transparent; border-top: 6px solid var(--ink3); border-bottom: 0; }
}

/* diagram 2: the growth split as one bar, 2px surface gaps between pieces; the least sure pieces are hatched */
#method .m-filed { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: -12px 0 16px; }
#method .m-bar { display: flex; gap: 2px; height: 44px; border-radius: 8px; overflow: hidden; }
#method .m-bar span { min-width: 4px; cursor: default; }
#method .b-market { background: var(--c-market); }
#method .b-clients { background: var(--c-clients); }
#method .b-deals { background: var(--c-deals); }
#method .b-recruit { background: repeating-linear-gradient(135deg, var(--c-recruit) 0 5px, color-mix(in srgb, var(--c-recruit) 45%, var(--bg)) 5px 9px); }
#method .b-other { background: repeating-linear-gradient(135deg, var(--ink3) 0 1.5px, var(--c-other) 1.5px 7px); }
#method .m-bar span:hover { filter: brightness(1.08); }
#method .m-key { list-style: none; margin: 20px 0 8px; padding: 0; max-width: 820px; }
#method .m-key li { display: grid; grid-template-columns: 14px 120px 64px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
#method .m-key li:last-child { border-bottom: 0; }
#method .m-key i { width: 14px; height: 14px; border-radius: 4px; align-self: center; }
#method .m-key b { font-weight: 600; color: var(--ink); }
#method .m-key .n { font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; }
#method .m-key .muted { color: var(--ink2); font-size: 14px; line-height: 1.45; }
@media (max-width: 600px) {
  #method .m-key li { grid-template-columns: 14px minmax(0, 1fr) auto; gap: 4px 10px; }
  #method .m-key .muted { grid-column: 2 / -1; }
}

/* the gaps table: the gap name column stays narrow */
#method table.m-gaps td:first-child { min-width: 130px; width: 16%; }
@media (max-width: 700px) { #method table.m-gaps td:first-child { width: 100%; } }

/* reference sections that start closed */
#method details.m-more { border-top: 1px solid var(--hair); }
#method details.m-more:last-child { border-bottom: 1px solid var(--hair); }
#method details.m-more > summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 18px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
#method details.m-more > summary::-webkit-details-marker { display: none; }
#method details.m-more > summary::after { content: "+"; font-weight: 300; font-size: 24px; line-height: 1; color: var(--ink3); }
#method details.m-more[open] > summary::after { content: "\2212"; }
#method details.m-more .m-body { padding-bottom: 24px; }
#method details.m-more .m-sub { margin-bottom: 12px; }
#method #m-more { padding-bottom: 64px; }

#method .m-sec .more, #method .m-sec details.m-more { max-width: none; }
#method .m-sec td.n { text-align: right; }
#method .m-claims-ex { margin: 24px 0 8px; gap: 12px; max-width: 760px; }
#method .m-claims-ex .ex-title { font-size: 14px; line-height: 20px; font-weight: 600; }
#method .m-claims-ex .ex-title span { color: var(--ink2); font-weight: 400; margin-left: 4px; }
