/* SourceTrace uses HimAI's shared colors, typography, and navigation. */
.st-page .container { max-width: 1200px; }
.st-page .skip-link { position: absolute; left: 1rem; top: -6rem; z-index: 1001; background: white; padding: 1rem; }
.st-page .skip-link:focus { top: 1rem; }
.st-page a:focus-visible, .st-page summary:focus-visible { outline: 3px solid #146C59; outline-offset: 5px; }
.st-page button:focus-visible, .st-page textarea:focus-visible { outline: 3px solid #146C59; outline-offset: 5px; }
.st-page .st-hero { padding: 9rem 0 4rem; }
.st-page .st-breadcrumb { display: inline-block; margin-bottom: 2rem; font-size: .95rem; color: var(--text-secondary); }
.st-page .st-hero-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: center; }
.st-page .st-brand { display: flex; gap: .85rem; align-items: center; margin-bottom: 1.5rem; }
.st-page .st-brand img { width: 48px; height: 48px; }
.st-page .st-brand span { font-family: var(--font-mono); font-size: 1rem; }
.st-page .st-headline { font-size: clamp(2.8rem, 4vw, 4rem); line-height: 1.08; }
.st-page .st-lead { font-size: 1.15rem; line-height: 1.7; max-width: 650px; }
.st-page .st-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.75rem 0; }
.st-page .st-status { font-family: var(--font-mono); font-size: .8rem; color: #555; }
.st-page .st-visual { margin: 0; }
.st-page .st-visual img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: 0 15px 40px -18px #0003; }
.st-page figcaption { font-size: .85rem; margin-top: .85rem; color: var(--text-secondary); }
.st-page .st-section { padding: 4.5rem 0; scroll-margin-top: 6rem; }
.st-page .st-white { background: white; border-block: 1px solid var(--border-light); }
.st-page .st-section .section-header { margin-bottom: 2rem; max-width: 750px; }
.st-page .st-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.st-page .st-feature { padding: 2rem; border: 1px solid var(--border-light); background: white; border-radius: var(--radius-md); }
.st-page .st-feature h3 { font-size: 1.65rem; }
.st-page .st-feature p { margin-bottom: 0; }
.st-page .st-step { color: #146C59; font-family: var(--font-mono); font-size: .9rem; margin-bottom: 1rem; display: block; }
.st-page .st-example { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.st-page .st-report { padding: 2rem; border: 1px solid var(--border-light); border-radius: var(--radius-md); background: white; }
.st-page .st-report h3 { font-size: 1.6rem; }
.st-page .st-report .st-result { font-family: var(--font-mono); color: #146C59; font-size: 1.6rem; }
.st-page .st-report p:last-child { margin-bottom: 0; }
.st-page .st-prompt { display: block; padding: 1.2rem; background: var(--bg-accent); border-left: 3px solid #146C59; font-family: var(--font-body); margin: 1.2rem 0; }
.st-page .st-sample-steps > p:not(:first-child) { margin-top: 1.75rem; }
.st-page .st-copy-request { box-sizing: border-box; width: 100%; max-width: 100%; min-height: 10rem; resize: vertical; margin-top: .5rem; padding: 1rem; border: 1px solid var(--border-light); border-radius: var(--radius-md); background: white; color: var(--text-primary); font: inherit; line-height: 1.6; }
.st-page .st-copy-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 1rem; }
.st-page .st-copy-actions [role="status"] { font-size: .9rem; }
.st-page .st-sample-detail { border-top: 1px solid var(--border-light); margin-top: 1.5rem; padding-top: 1rem; }
.st-page .st-sample-detail summary { cursor: pointer; }
.st-page .st-sample-detail p { margin: 1rem 0 0; }
.st-page .st-skill-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin-top: 2rem; }
.st-page .st-skill-list div { padding: 1.5rem 0; border-top: 1px solid var(--border-light); }
.st-page .st-skill-list dt { font-weight: 600; margin-bottom: .5rem; }
.st-page .st-skill-list dd { color: var(--text-secondary); }
.st-page .st-faq { max-width: 850px; }
.st-page .st-faq details { padding: 1.4rem 0; border-bottom: 1px solid var(--border-light); }
.st-page .st-faq summary { cursor: pointer; font-size: 1.1rem; font-weight: 500; }
.st-page .st-faq p { margin: 1rem 0 0; }
.st-page .st-inline-link { text-decoration: underline; text-underline-offset: 4px; }
.st-page .st-support { background: var(--bg-dark); color: white; }
.st-page .st-support h2 { color: white; }
.st-page .st-support p { color: #ccc; max-width: 700px; }
.st-page .st-support a { color: white; overflow-wrap: anywhere; }
.st-page .st-support .st-actions { margin-bottom: 0; }
.st-page .st-policy-hero { padding: 9rem 0 3rem; }
.st-page .st-policy-wrap { max-width: 850px; }
.st-page .st-policy { background: white; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 3rem; margin-bottom: 4rem; }
.st-page .st-policy h2 { font-size: 1.7rem; margin-top: 2.5rem; }
.st-page .st-policy h2:first-of-type { margin-top: 1.5rem; }
.st-page .st-policy ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.5rem; color: var(--text-secondary); }
.st-page .st-policy li { margin-bottom: .6rem; }
.st-page .st-policy a { text-decoration: underline; overflow-wrap: anywhere; }
.st-work-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.st-work-preview img { width: 100%; height: auto; border-radius: var(--radius-lg); }
.st-work-preview .st-work-copy p { font-size: 1.1rem; }
.st-work-preview .st-work-links { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; margin-top: 1.5rem; }
.st-work-preview .st-work-policy { text-decoration: underline; }
@media (max-width: 768px) {
    .st-page .container { padding-inline: 1.25rem; }
    .st-page .st-hero, .st-page .st-policy-hero { padding-top: 7rem; }
    .st-page .st-hero-grid, .st-page .st-example, .st-page .st-feature-grid, .st-page .st-skill-list, .st-work-preview { grid-template-columns: 1fr; }
    .st-page .st-hero-grid { gap: 2rem; }
    .st-page .st-section { padding-block: 3rem; }
    .st-page .st-feature, .st-page .st-report, .st-page .st-policy { padding: 1.5rem; }
    .st-page .st-policy .hero-title { font-size: 2.3rem; }
    .st-page .st-actions .btn { width: 100%; }
    .st-page .footer-links { flex-wrap: wrap; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .st-page *, .st-page *::before, .st-page *::after { transition: none !important; animation: none !important; }
}
