/* Shared styles for /guides/* pages (StrataFlow Portal). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --primary: #2563EB; --primary-dark: #1D4ED8; --tint: rgba(37,99,235,0.07); --ink: #111418; --ink-2: #2A2E35; --muted: #565B63; --faint: #6E7278; --white: #fff; --grey: #F5F5F7; --soft: #F2F5FA; --hair: rgba(0,0,0,0.09); --pill: 980px; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--ink); background: var(--white); line-height: 1.7; font-size: 17px; }
a { color: var(--primary); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; } .skip-link:focus { left: 16px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
nav { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,0.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--hair); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 16px; }
.logo img { border-radius: 7px; } .accent { color: var(--primary); }
.btn { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: var(--pill); font-weight: 600; font-size: 15px; text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; } .btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { color: var(--primary); border: 1px solid var(--hair); background: #fff; }
header.hero { background: var(--soft); padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); }
.crumbs { font-size: 13px; color: var(--faint); margin-bottom: 12px; } .crumbs a { color: var(--faint); }
h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; max-width: 24ch; }
.meta { color: var(--faint); font-size: 14px; margin-top: 14px; }
.summary { margin-top: 20px; max-width: 70ch; color: var(--ink-2); }
.layout { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 48px 0 72px; }
@media (min-width: 980px) { .layout { grid-template-columns: 240px 1fr; } .toc { position: sticky; top: 76px; align-self: start; } }
.toc { font-size: 14px; } .toc strong { display: block; margin-bottom: 8px; }
.toc ol { padding-left: 18px; color: var(--muted); } .toc li { margin: 4px 0; } .toc a { color: var(--ink-2); text-decoration: none; } .toc a:hover { color: var(--primary); }
article { max-width: 72ch; }
article h2 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.25; letter-spacing: -0.01em; margin: 44px 0 12px; scroll-margin-top: 72px; }
article h2:first-child { margin-top: 0; }
article h3 { font-size: 18px; margin: 22px 0 6px; }
article p, article ul, article ol { margin: 10px 0; color: var(--ink-2); }
article ul, article ol { padding-left: 22px; } article li { margin: 6px 0; }
.answer { background: var(--soft); border-left: 3px solid var(--primary); padding: 12px 16px; border-radius: 0 10px 10px 0; }
.s { font-size: 13px; font-weight: 600; color: var(--muted); background: var(--grey); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.table-wrap { overflow-x: auto; margin: 14px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hair); vertical-align: top; }
th { background: var(--grey); font-weight: 600; }
.cta { background: var(--soft); border-radius: 18px; padding: 24px; margin: 40px 0 0; }
.cta h2 { margin-top: 0; }
.cta .buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.note { font-size: 14px; color: var(--faint); margin-top: 28px; }
footer { border-top: 1px solid var(--hair); padding: 28px 0; font-size: 13px; color: var(--faint); }
footer .row { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; } footer a { color: var(--muted); text-decoration: none; }
.related { margin-top: 36px; border-top: 1px solid var(--hair); padding-top: 20px; }
.related h2 { margin-top: 0; font-size: 20px; }
.related ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.related a { font-weight: 600; text-decoration: none; }
.hub { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 8px 0 40px; }
@media (min-width: 720px) { .hub { grid-template-columns: repeat(2, 1fr); } }
.hub a { display: block; border: 1px solid var(--hair); border-radius: 18px; padding: 20px 22px; text-decoration: none; color: var(--ink); background: #fff; }
.hub a:hover { border-color: var(--primary); }
.hub strong { display: block; font-size: 18px; margin-bottom: 4px; }
.hub span { color: var(--muted); font-size: 15px; }
