/* Stack roadmap: local styles supplement the shared Trinary.ai design system. */
.st-page { --st-green: #176448; --st-green-soft: #eaf5ef; --st-amber: #855600; --st-amber-soft: #fff6df; }
.st-page .site-header { border-bottom: 1px solid var(--line); }
.st-page .navigation [aria-current] { color: var(--blue); }
.st-hero { padding-top: 45px; }
.st-kicker { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .66rem; letter-spacing: .035em; color: var(--blue); }
.st-live-dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.st-kicker-date { color: var(--muted); margin-left: auto; font-size: .625rem; }
.st-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 65px; padding-block: 42px 52px; align-items: center; }
.st-hero h1 { font-size: clamp(3.75rem, 6vw, 5.25rem); font-weight: 500; letter-spacing: -.055em; line-height: .99; }
.st-hero h1 span { color: var(--blue); }
.st-lede { max-width: 31ch; font-size: 1.28rem; line-height: 1.4; letter-spacing: -.018em; margin-top: 28px; }
.st-hero-support { color: var(--muted); max-width: 48ch; font-size: .925rem; line-height: 1.6; margin-top: 16px; }
.st-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.st-stack-visual { position: relative; background: #f0f4ff; border: 1px solid #dce5ff; padding: 23px 22px 14px; border-radius: 20px; overflow: hidden; }
.st-stack-visual::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(#aabded 1px, transparent 1px); background-size: 16px 16px; opacity: .3; pointer-events: none; }
.st-stack-visual > * { position: relative; }
.st-visual-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.st-visual-head .mono { font-size: .625rem; letter-spacing: .04em; color: #435376; }
.st-visual-symbol { display: inline-block; background: #fff; border: 1px solid #d4ddf3; border-radius: 5px; padding: 1px 7px; font: .75rem var(--mono); color: var(--blue); }
.st-visual-layers { display: grid; gap: 8px; padding-inline: 7px; }
.st-visual-layers a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 9px; background: #fff; border: 1px solid #d9e1f5; box-shadow: 0 3px 0 #dce4f6; transition: transform .15s ease, border-color .15s ease; }
.st-visual-layers a:hover { transform: translateX(4px); border-color: var(--blue); }
.st-visual-layers a:nth-last-child(-n+2) { background: #edf2ff; border-color: #bccfff; }
.st-visual-layers a:last-child { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 3px 0 #1636a2; }
.st-visual-num { color: #8795b2; font: .68rem var(--mono); }
.st-visual-layers a:last-child .st-visual-num { color: #d0dbff; }
.st-visual-layers strong { display: block; font-size: .95rem; font-weight: 550; line-height: 1.3; letter-spacing: -.015em; }
.st-visual-layers small { display: block; font-size: .7rem; color: #596780; margin-top: 3px; }
.st-visual-layers a:last-child small { color: #e0e8ff; }
.st-visual-arrow { font-size: 1rem; margin-left: auto; color: #7787a8; }
.st-visual-layers a:last-child .st-visual-arrow { color: #fff; }
.st-trit-foundation { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 19px 7px 0; text-align: center; }
.st-trit-foundation > span { font: 1.2rem var(--mono); letter-spacing: -.05em; border: 1px solid #d2ddf6; padding: 10px; border-radius: 6px; background: #e5ecff; color: var(--blue); }
.st-trit-foundation p { grid-column: 1/-1; font-size: .68rem; color: #526283; }
.st-visual-foot { text-align: center; color: #596780; font-size: .625rem; margin-top: 15px; }
.st-hero-strip { display: grid; grid-template-columns: .8fr .9fr 1.3fr; border-block: 1px solid var(--line); }
.st-hero-strip > div { display: flex; align-items: center; gap: 16px; padding-block: 25px; }
.st-hero-strip > div + div { border-left: 1px solid var(--line); padding-left: 30px; }
.st-strip-value { color: var(--blue); font-size: 1.5rem; white-space: nowrap; }
.st-hero-strip p { color: var(--muted); font-size: .7rem; line-height: 1.7; }
.st-hero-strip strong { color: var(--ink-2); font-weight: 500; }
.st-boundary { padding-top: 84px; padding-bottom: 75px; }
.st-section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 64px; align-items: end; }
.st-eyebrow { display: block; font: .625rem var(--mono); letter-spacing: .055em; color: var(--blue); }
.st-section-intro .st-eyebrow { grid-column: 1/-1; }
.st-section-intro h2, .st-section h2 { font-size: clamp(2.25rem, 3.3vw, 3rem); letter-spacing: -.045em; line-height: 1.08; }
.st-section-intro > p { max-width: 47ch; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.st-boundary-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 30px; gap: 12px; }
.st-boundary-grid article { background: #f5f6f9; padding: 26px 24px 22px; border-radius: 12px; display: flex; flex-direction: column; align-items: flex-start; }
.st-boundary-grid article.st-boundary-native { background: var(--navy); color: #fff; }
.st-boundary-code { font-size: .62rem; color: #66718b; background: #e9ecf2; padding: 4px 8px; border-radius: 4px; }
.st-boundary-native .st-boundary-code { color: #c2d2ff; background: #263765; }
.st-boundary-grid h3 { font-size: 1.3rem; margin-top: 24px; letter-spacing: -.025em; }
.st-boundary-grid p { color: var(--muted); font-size: .84rem; line-height: 1.7; margin-top: 13px; margin-bottom: 24px; }
.st-boundary-native p { color: #cad3ea; }
.st-boundary-note { border-top: 1px solid #dde1e9; width: 100%; padding-top: 13px; margin-top: auto; font-size: .68rem; color: #657087; }
.st-boundary-native .st-boundary-note { border-color: #34405f; color: #c2d2ff; }
.st-boundary-caption { color: var(--muted); font-size: .72rem; max-width: 90ch; margin-top: 17px; }
.st-body { display: grid; grid-template-columns: 205px minmax(0,1fr); gap: 62px; border-top: 1px solid var(--line); }
.st-sidebar-inner { position: sticky; top: 112px; padding-top: 52px; }
.st-sidebar .st-eyebrow { font-size: .56rem; }
.st-sidebar nav { display: grid; gap: 5px; margin-top: 23px; }
.st-sidebar nav a { display: flex; align-items: center; gap: 15px; font-family: var(--mono); font-size: .6rem; color: #8a94a9; padding-block: 10px; }
.st-sidebar nav a span { font-family: var(--font); font-size: .84rem; font-weight: 500; color: #4b566d; }
.st-sidebar nav a:hover, .st-sidebar nav a:hover span { color: var(--blue); }
.st-sidebar p { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 20px; font-size: .75rem; line-height: 1.7; color: var(--muted); }
.st-sidebar .st-utility { margin-top: 17px; }
.st-section { padding-block: 50px 60px; scroll-margin-top: 90px; }
.st-section + .st-section { border-top: 1px solid var(--line); }
.st-section h2 { margin-top: 17px; }
.st-section-lede { margin-top: 20px; color: var(--muted); font-size: .96rem; line-height: 1.65; max-width: 67ch; }
.st-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; padding: 19px 20px; background: #f5f6f9; border-radius: 9px; margin-top: 27px; }
.st-legend > span { font-size: .66rem; color: var(--muted); line-height: 1.7; }
.st-legend strong { color: var(--ink-2); font-weight: 550; }
.st-status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; }
.st-dot-encoded { background: var(--st-green); }
.st-dot-partial { background: var(--st-amber); }
.st-dot-planned { background: #6b768b; }
.st-dot-research { background: var(--blue); }
.st-layer-toolbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding-block: 24px 13px; }
.st-layer-toolbar p { color: var(--muted); font-size: .7rem; }
.st-utility { border: 0; padding: 0; background: transparent; color: var(--blue); font: .73rem var(--font); cursor: pointer; white-space: nowrap; }
.st-utility span { margin-left: 5px; }
.st-utility[hidden] { display: none; }
.st-layer { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: #fff; scroll-margin-top: 100px; overflow: hidden; }
.st-layer:target { border-color: var(--blue); }
.st-layer summary { list-style: none; display: grid; grid-template-columns: 27px minmax(0,1fr) auto 16px; gap: 13px; align-items: center; padding: 23px 20px; cursor: pointer; }
.st-layer summary::-webkit-details-marker { display: none; }
.st-layer summary:hover { background: #f8faff; }
.st-layer-number { align-self: start; margin-top: 3px; font-size: .65rem; color: #8590a5; }
.st-layer-heading strong { display: block; font-size: 1.08rem; font-weight: 550; letter-spacing: -.02em; line-height: 1.25; }
.st-layer-heading > span { display: block; color: var(--muted); margin-top: 6px; font-size: .73rem; }
.st-badge { display: inline-flex; font: .58rem var(--mono); border-radius: 4px; padding: 5px 7px; white-space: nowrap; line-height: 1.2; }
.st-encoded { color: var(--st-green); background: var(--st-green-soft); }
.st-partial { color: var(--st-amber); background: var(--st-amber-soft); }
.st-planned { color: #57637a; background: #edf0f5; }
.st-research { color: #244aca; background: #eaf0ff; }
.st-detail-icon { font: 1rem var(--mono); color: #6d7890; text-align: center; transition: transform .15s; }
.st-layer[open] .st-detail-icon { transform: rotate(45deg); }
.st-layer[open] summary { border-bottom: 1px solid var(--line); }
.st-layer-body { padding: 22px 26px 25px 60px; color: var(--ink-2); font-size: .84rem; line-height: 1.7; }
.st-layer-body dl { margin: 22px 0 0; display: grid; gap: 18px; }
.st-layer-body dl > div { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 14px; }
.st-layer-body dt { font-weight: 550; color: #233455; font-size: .72rem; padding-top: 2px; }
.st-layer-body dd { margin: 0; color: var(--muted); font-size: .78rem; }
.st-scope-note { border-left: 2px solid #bad0ff; padding: 2px 0 2px 14px; color: #4c6185; font-size: .74rem; margin-top: 23px; }
.st-gates { padding: 0; margin: 33px 0 0; list-style: none; }
.st-gates li { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 20px; position: relative; padding-bottom: 29px; }
.st-gates li::before { content: ''; position: absolute; left: 18px; top: 39px; bottom: 2px; width: 1px; background: #d9e2f6; }
.st-gates li:last-child { padding-bottom: 0; }
.st-gates li:last-child::before { display: none; }
.st-gate-num { display: flex; align-items: center; justify-content: center; width: 37px; height: 37px; background: #edf2ff; color: var(--blue); border: 1px solid #d9e2ff; border-radius: 9px; font-size: .7rem; }
.st-gate-heading { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 10px; padding-top: 4px; }
.st-gate-heading h3 { font-size: 1.14rem; letter-spacing: -.025em; }
.st-gates p { color: var(--muted); font-size: .82rem; line-height: 1.65; }
.st-gates p.st-gate-accept { background: #f6f7fa; padding: 10px 13px; border-radius: 6px; margin-top: 12px; font-size: .73rem; }
.st-gate-accept strong { color: #324a75; font-weight: 550; }
.st-evidence-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 32px; }
.st-evidence-grid article { border-top: 2px solid #c9d8ff; padding-top: 16px; }
.st-evidence-grid .mono { color: var(--blue); font-size: .55rem; }
.st-evidence-grid h3 { margin-top: 18px; font-size: 1.13rem; letter-spacing: -.025em; }
.st-evidence-grid p { color: var(--muted); font-size: .79rem; line-height: 1.65; margin-top: 13px; }
.st-evidence-note { display: flex; gap: 23px; align-items: flex-start; background: #edf2ff; border-radius: 10px; padding: 25px; margin-top: 32px; }
.st-evidence-mark { color: var(--blue); font-size: 2.4rem; line-height: 1; margin-top: 3px; }
.st-evidence-note p { font-size: .82rem; color: #445a7d; line-height: 1.75; }
.st-evidence-note strong { display: block; color: #243c67; font-weight: 550; margin-bottom: 7px; }
.st-source-note { color: var(--muted); font-size: .72rem; line-height: 1.75; margin-top: 20px; }
.st-next-list { list-style: none; padding: 0; margin: 30px 0 0; }
.st-next-list li { display: flex; gap: 20px; padding-block: 21px; border-top: 1px solid var(--line); }
.st-next-index { color: var(--blue); font-size: .72rem; padding-top: 4px; }
.st-next-list h3 { font-size: 1.12rem; letter-spacing: -.02em; }
.st-next-list p { color: var(--muted); font-size: .82rem; line-height: 1.65; margin-top: 9px; }
.st-final-callout { display: flex; align-items: center; gap: 30px; justify-content: space-between; background: #f2f5fd; border-radius: 12px; padding: 28px; margin-top: 24px; }
.st-final-callout h3 { margin-top: 15px; font-size: 1.6rem; }
.st-final-callout p { font-size: .83rem; color: var(--muted); margin-top: 12px; max-width: 42ch; }
.st-final-callout .btn { font-size: .8rem; padding-inline: 17px; }
.st-footer { border-top: 1px solid var(--line); display: flex; align-items: center; gap: 28px; padding-block: 33px 38px; }
.st-footer p { font-size: .72rem; color: var(--muted); margin-left: auto; }
.st-footer > a:last-child { color: var(--muted); font-size: .72rem; }
@media (max-width: 1100px) {
  .st-hero-grid { gap: 35px; }
  .st-hero h1 { font-size: 4.5rem; }
  .st-hero-strip { grid-template-columns: .8fr .9fr 1.25fr; }
  .st-hero-strip > div { gap: 12px; }
  .st-hero-strip > div + div { padding-left: 20px; }
  .st-strip-value { font-size: 1.2rem; }
  .st-hero-strip p { font-size: .65rem; }
  .st-body { grid-template-columns: 165px minmax(0,1fr); gap: 34px; }
  .st-layer summary { padding-inline: 16px; gap: 9px; }
  .st-layer-heading strong { font-size: .98rem; }
  .st-layer-body { padding-left: 50px; }
}
@media (max-width: 850px) {
  .st-kicker { flex-wrap: wrap; row-gap: 7px; }
  .st-kicker-date { margin-left: 0; width: 100%; padding-left: 16px; }
  .st-hero-grid { grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 33px; }
  .st-hero h1 { font-size: 3.8rem; }
  .st-lede { font-size: 1.09rem; }
  .st-hero-support { font-size: .83rem; }
  .st-hero-actions .btn { font-size: .8rem; padding-inline: 15px; }
  .st-stack-visual { padding-inline: 12px; }
  .st-visual-layers a { padding-inline: 11px; gap: 10px; }
  .st-visual-layers strong { font-size: .8rem; }
  .st-visual-layers small { font-size: .6rem; }
  .st-visual-num { font-size: .58rem; }
  .st-hero-strip { grid-template-columns: 1fr 1fr; }
  .st-hero-strip > div:last-child { grid-column: 1/-1; border-top: 1px solid var(--line); border-left: 0; padding-left: 0; }
  .st-strip-value { min-width: 55px; }
  .st-boundary { padding-block: 60px; }
  .st-section-intro { column-gap: 30px; }
  .st-section-intro h2, .st-section h2 { font-size: 2.35rem; }
  .st-boundary-grid article { padding: 21px 17px; }
  .st-boundary-grid h3 { font-size: 1.15rem; }
  .st-boundary-grid p { font-size: .77rem; }
  .st-body { display: block; }
  .st-sidebar { display: none; }
}
@media (max-width: 600px) {
  .st-hero { padding-top: 28px; }
  .st-kicker { font-size: .57rem; }
  .st-kicker-date { font-size: .52rem; }
  .st-hero-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 33px; }
  .st-hero h1 { font-size: clamp(3.4rem, 12vw, 4.5rem); }
  .st-lede { max-width: 32ch; font-size: 1.16rem; margin-top: 23px; }
  .st-hero-support { max-width: 52ch; font-size: .9rem; }
  .st-hero-actions .btn { font-size: .83rem; }
  .st-stack-visual { padding: 19px 16px 14px; }
  .st-visual-layers a { padding: 13px 14px; gap: 14px; }
  .st-visual-layers strong { font-size: .9rem; }
  .st-visual-layers small { font-size: .68rem; }
  .st-hero-strip > div { align-items: flex-start; padding-block: 21px; }
  .st-hero-strip > div + div { padding-left: 16px; }
  .st-hero-strip p { font-size: .62rem; }
  .st-hero-strip strong { font-weight: 400; }
  .st-strip-value { font-size: 1rem; min-width: auto; }
  .st-boundary { padding-block: 50px; }
  .st-section-intro { display: block; }
  .st-section-intro h2 { margin-top: 17px; }
  .st-section-intro > p { margin-top: 20px; font-size: .9rem; }
  .st-boundary-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 25px; }
  .st-boundary-grid article { padding: 23px; }
  .st-boundary-grid h3 { font-size: 1.3rem; margin-top: 18px; }
  .st-boundary-grid p { font-size: .84rem; margin-bottom: 20px; }
  .st-section { padding-block: 42px 44px; }
  .st-section h2 { font-size: 2.25rem; }
  .st-section-lede { font-size: .9rem; }
  .st-legend { grid-template-columns: 1fr; gap: 8px; padding: 17px; }
  .st-legend > span { font-size: .67rem; }
  .st-layer-toolbar { align-items: flex-start; }
  .st-layer-toolbar p { max-width: 27ch; }
  .st-layer summary { grid-template-columns: 21px minmax(0,1fr) 14px; padding: 20px 14px; column-gap: 10px; row-gap: 10px; }
  .st-layer-heading strong { font-size: 1rem; }
  .st-layer-heading > span { font-size: .72rem; line-height: 1.5; }
  .st-layer summary .st-badge { grid-column: 2; grid-row: 2; justify-self: start; }
  .st-detail-icon { grid-column: 3; grid-row: 1; }
  .st-layer-body { padding: 20px; font-size: .82rem; }
  .st-layer-body dl > div { display: block; }
  .st-layer-body dt { margin-bottom: 5px; }
  .st-layer-body dd { font-size: .78rem; }
  .st-gates li { grid-template-columns: 31px minmax(0,1fr); column-gap: 14px; padding-bottom: 25px; }
  .st-gate-num { width: 31px; height: 31px; font-size: .62rem; border-radius: 7px; }
  .st-gates li::before { left: 15px; top: 34px; }
  .st-gate-heading { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
  .st-gate-heading h3 { font-size: 1.1rem; line-height: 1.15; }
  .st-gates p { font-size: .8rem; }
  .st-evidence-grid { grid-template-columns: 1fr; gap: 25px; }
  .st-evidence-grid h3 { margin-top: 11px; }
  .st-evidence-grid p { margin-top: 10px; }
  .st-evidence-note { padding: 20px; gap: 14px; }
  .st-evidence-note p { font-size: .79rem; }
  .st-evidence-mark { font-size: 1.8rem; }
  .st-final-callout { flex-direction: column; align-items: flex-start; padding: 24px; gap: 22px; }
  .st-next-list h3 { line-height: 1.2; }
  .st-footer { flex-wrap: wrap; gap: 20px; }
  .st-footer p { margin-left: auto; }
  .st-footer > a:last-child { width: 100%; }
}
@media print {
  .st-page .site-header, .skip-link, .st-sidebar, .st-hero-actions, .st-layer-toolbar, .st-final-callout .btn, .st-footer > a:last-child { display: none !important; }
  .st-page { color: #000; font-size: 10pt; }
  .st-page .shell { width: 100%; }
  .st-hero { padding-top: 0; }
  .st-hero-grid { padding-block: 20px; }
  .st-hero h1 { font-size: 36pt; }
  .st-body { display: block; }
  .st-boundary { padding-block: 25px; }
  .st-section { padding-block: 25px; }
  .st-page h2 { font-size: 24pt; }
  .st-layer { break-inside: avoid; }
  .st-layer-body { font-size: 9pt; }
  .st-layer summary { padding-block: 14px; }
  .st-detail-icon { display: none; }
  .st-gates li, .st-boundary-grid article { break-inside: avoid; }
  .st-stack-visual, .st-boundary-native, .st-badge, .st-gate-num { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
