/* closed:in resource pages (2026-10-19): the pages in the Resources menu (blog, GTM stack, n8n workflows, playbook, ROI calculator,
   email verifier, cold email templates, Clay waterfall) in the homepage language. The content markup of these pages is kept as it was,
   so the copy and the tool scripts stay untouched; this sheet draws those components in the new design. */

:root { --mono: ui-monospace, "SF Mono", Menlo, monospace; --accent-text: #1c6fb2; --green: #0f7a4e; --amber: #975a16; --red: #c53030; }
.docs .dglyph > :not(.glyphs) { position: relative; z-index: 1; }   /* only the docs wrappers: the CTA band keeps its absolute tile grid */
.docs .dcheck { flex: none; width: 13px; height: 13px; color: var(--accent); }

/* ---------- Hero (dark, like the homepage opening) ---------- */
.docs .hero { position: relative; overflow: hidden; isolation: isolate; background: #000; color: #fff; padding: clamp(150px, 21vh, 210px) 0 clamp(56px, 8vh, 88px); }
.docs .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 70% at 80% 40%, rgba(114, 193, 255, .07), rgba(114, 193, 255, .03) 35%, rgba(0, 0, 0, 0) 70%); }
html.js .docs .hero .hero-in { animation: docs-hero-in 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms); }
@keyframes docs-hero-rise { from { transform: translateY(14px); } to { transform: none; } }
html.js .docs .hero h1.hero-in { animation-name: docs-hero-rise; }   /* painted under the page transition, so it is the LCP (20-10) */
@keyframes docs-hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html.js .docs .hero .hero-in { animation: none; } }
.docs .breadcrumb { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.docs .breadcrumb a { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s; }
.docs .breadcrumb a:hover { color: #fff; }
.docs .hero h1 { margin: 22px 0 0; max-width: 20ch; font-size: clamp(40px, 5.2vw, 74px); line-height: 1.04; font-weight: 500; letter-spacing: -0.035em; color: #fff; text-wrap: balance; }
.docs .hero-inner > h1:first-child { margin-top: 0; }
.docs .hero h1 .gradient { color: var(--accent); }
.docs .hero p, .docs .hero .lead { margin: 22px 0 0; max-width: 62ch; font-size: 18px; line-height: 1.55; color: #a3a8b1; }
.docs .hero p strong, .docs .hero .lead strong { color: #fff; font-weight: 500; }
.docs .hero-meta, .docs .hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.docs .hero-meta span:not(.sep), .docs .hero-badge { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-pill); background: rgba(255, 255, 255, .03); font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: rgba(255, 255, 255, .72); }
.docs .hero-meta strong { color: #fff; font-weight: 500; }
.docs .hero-meta .sep { align-self: center; font-size: 12px; color: rgba(255, 255, 255, .3); }
.docs .hero-pill-mini, .docs .hero-label { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-pill); background: rgba(255, 255, 255, .03); font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.docs .hero-pill-mini img { width: 16px; height: 16px; border-radius: 3px; }
.docs .hero-label { margin-top: 0; }
.docs .hero-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.docs .hero-bg, .docs .hero-grid { display: none; }
.docs .signup-meta { margin-top: 14px; font-size: 13px; color: #7d838d; }
.docs .trust-strip { margin-top: 48px; }
.docs .trust-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.docs .trust-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; margin-top: 16px; }
.docs .trust-logos img { height: 22px; width: auto; filter: brightness(0) invert(1); opacity: .62; }
.docs .trust-logos img.is-tall { height: 34px; }

/* ---------- Article sections ---------- */
.docs .content, .docs .assumptions, .docs .info-section, .docs .related, .docs .section { max-width: calc(var(--container)); margin: 0 auto; padding: var(--section-y) var(--gutter) 0; }
.docs .content > h2, .docs .assumptions > h2, .docs .info-section > h2 { margin: 56px 0 14px; max-width: 28ch; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.12; font-weight: 400; letter-spacing: -0.02em; color: var(--ink); }
.docs .content > h2:first-child, .docs .assumptions > h2:first-child, .docs .info-section > h2:first-child { margin-top: 0; }
.docs .content > p, .docs .assumptions > p, .docs .info-section > p { margin: 0 0 16px; max-width: 72ch; font-size: 17px; line-height: 1.65; color: var(--gray-100); }
.docs .content > p strong, .docs .content > ul strong, .docs .content > ol strong, .docs .assumptions > p strong, .docs .info-section > p strong, .docs .credits-note strong { color: var(--ink); font-weight: 500; }
.docs .content > ul, .docs .content > ol { list-style: none; margin: 8px 0 20px; padding: 0; max-width: 72ch; display: grid; gap: 10px; }
.docs .content > ul > li, .docs .content > ol > li { position: relative; padding-left: 22px; font-size: 16.5px; line-height: 1.6; color: var(--gray-100); }
.docs .content > ul > li::before, .docs .content > ol > li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--accent); }

/* ---------- GTM stack ---------- */
.docs .stack-category { margin-top: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.docs .stack-category:first-child { margin-top: 0; }
.docs .stack-category-header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.docs .stack-category-title { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.docs .stack-category-meta { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-90); }
.docs .stack-header-row, .docs .stack-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 6fr); gap: 20px; padding: 16px 26px; align-items: start; }
.docs .stack-header-row { padding-top: 10px; padding-bottom: 10px; background: var(--bg); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-90); }
.docs .stack-row + .stack-row { border-top: 1px solid var(--line); }
.docs .stack-row { transition: background .25s; }
.docs .stack-row:hover { background: rgba(114, 193, 255, .06); }
.docs .stack-tool-name { font-size: 15.5px; font-weight: 500; }
.docs .stack-tool-status { display: inline-flex; align-items: center; height: 22px; margin-top: 6px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: var(--r-pill); font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-100); }
.docs .stack-cost { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.docs .stack-cost-period { font-size: 12.5px; font-weight: 400; color: var(--gray-90); }
.docs .stack-note { font-size: 14.5px; line-height: 1.55; color: var(--gray-100); }
.docs .total-card { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; margin-top: 24px; padding: 32px 34px; border-radius: 18px; background: radial-gradient(70% 120% at 100% 0%, rgba(114, 193, 255, .16), rgba(0, 0, 0, 0) 60%), #050607; color: #fff; }
.docs .total-label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.docs .total-val { margin-top: 6px; font-size: clamp(36px, 4vw, 52px); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.docs .total-meta { max-width: 52ch; font-size: 15px; line-height: 1.55; color: #a3a8b1; }
@media (max-width: 760px) { .docs .stack-header-row { display: none; } .docs .stack-row { grid-template-columns: minmax(0, 1fr) auto; } .docs .stack-note { grid-column: 1 / -1; } .docs .stack-header-row, .docs .stack-row, .docs .stack-category-header { padding-left: 18px; padding-right: 18px; } }

/* ---------- Email gate and signup forms (always on a dark card) ---------- */
.docs .gate-section, .docs .signup-banner { position: relative; overflow: hidden; margin-top: var(--section-y); padding: clamp(30px, 5vw, 56px); border-radius: 22px; background: radial-gradient(70% 90% at 100% 0%, rgba(114, 193, 255, .16), rgba(0, 0, 0, 0) 60%), #050607; color: #fff; }
.docs .content > .gate-section:first-child { margin-top: 0; }
.docs .gate-label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-pill); background: rgba(255, 255, 255, .03); font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.docs .gate-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.docs .gate-section h2, .docs .signup-banner h3 { margin: 18px 0 12px; max-width: 22ch; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; font-weight: 500; letter-spacing: -0.025em; color: #fff; }
.docs .signup-banner h3 { margin-top: 0; }
.docs .gate-section p, .docs .signup-banner p { max-width: 62ch; margin: 0; font-size: 16px; line-height: 1.6; color: #a3a8b1; }
.docs .gate-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.docs .gate-list li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; color: #d6dade; }
.docs .gate-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(114, 193, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%2372C1FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.docs .gate-meta { margin-top: 14px; font-size: 13px; color: #7d838d; }
.docs .gate-form, .docs .signup-form, .docs .save-form, .docs .download-gate-form { display: flex; flex-wrap: wrap; gap: 8px; max-width: 540px; margin-top: 26px; }
.docs .gate-form input, .docs .signup-form input, .docs .save-form input, .docs .download-gate-form input { flex: 1 1 240px; min-width: 0; height: 50px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-pill); background: rgba(255, 255, 255, .05); color: #fff; font: 400 15px/1 var(--font); }
.docs .gate-form input::placeholder, .docs .signup-form input::placeholder, .docs .save-form input::placeholder, .docs .download-gate-form input::placeholder { color: #6b7280; opacity: 1; }
.docs .gate-form input:focus-visible, .docs .signup-form input:focus-visible, .docs .save-form input:focus-visible, .docs .download-gate-form input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(114, 193, 255, .25); border-radius: var(--r-pill); }
.docs .gate-form .btn-accent, .docs .signup-form .btn-accent, .docs .save-form .btn-accent, .docs .download-gate-form .btn-accent { flex: none; height: 50px; border-radius: var(--r-pill); font-size: 15px; }

/* ---------- Call to action band: the shared .cta-dark band (site.css); lead and form as on the inner pages ---------- */
.docs .cta-dark__lead { max-width: 54ch; margin: -6px 0 0; font-size: 18px; line-height: 1.55; color: var(--on-dark-2); }
.docs .pform { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: min(100%, 520px); }
.docs .pform label { display: block; flex: 1 1 240px; }
.docs .pform input { width: 100%; height: 52px; padding: 0 20px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); color: #fff; font: 400 15px/1 var(--font); }
.docs .pform input::placeholder { color: #6b7280; opacity: 1; }
.docs .pform input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(114, 193, 255, .25); }
.docs .pform .btn-accent { border-radius: var(--r-pill); }

/* ---------- Related resources ---------- */
.docs .related > h3 { margin: 0 0 18px; font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.docs .related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.docs .related-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: border-color .25s, transform .3s var(--ease); }
.docs .related-card:hover { border-color: rgba(114, 193, 255, .8); transform: translateY(-2px); }
.docs .related-card-tag { align-self: flex-start; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: rgba(114, 193, 255, .14); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.docs .related-card h4 { margin: 0; font-size: 18px; line-height: 1.25; font-weight: 500; }
@media (max-width: 860px) { .docs .related-grid { grid-template-columns: 1fr; } }

/* ---------- n8n workflows ---------- */
.docs .wf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.docs .wf-card { display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); transition: border-color .25s, box-shadow .35s var(--ease), transform .35s var(--ease); }
.docs .wf-card:hover { border-color: rgba(114, 193, 255, .8); box-shadow: 0 24px 50px -30px rgba(12, 13, 14, .35); transform: translateY(-2px); }
.docs .wf-card-tag { align-self: flex-start; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border: 1px solid var(--line-2); border-radius: var(--r-pill); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-100); }
.docs .wf-card h3 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; }
.docs .wf-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--gray-100); }
.docs .wf-card-note { padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: 14px; line-height: 1.5; color: var(--gray-100); }
.docs .wf-card-note strong { color: var(--ink); font-weight: 500; }
.docs .wf-card-cta { margin-top: auto; padding-top: 4px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--accent-text); }
.docs .wf-card-cta svg { width: 14px; height: 14px; }
.docs .credits-note { margin-top: 20px; padding: 18px 20px; border: 1px dashed var(--line-2); border-radius: 14px; font-size: 14px; line-height: 1.55; color: var(--gray-100); }
@media (max-width: 760px) { .docs .wf-grid { grid-template-columns: 1fr; } }

/* ---------- Cold email templates ---------- */
.docs .template-card { margin: 16px 0 44px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.docs .template-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.docs .template-id { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.docs .template-title { margin-top: 6px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.docs .template-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.docs .template-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border: 1px solid var(--line-2); border-radius: var(--r-pill); font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-100); }
.docs .template-stats { display: flex; gap: 28px; }
.docs .template-stat-val { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.docs .template-stat-lbl { margin-top: 2px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-90); }
.docs .template-step { padding: 20px 26px; }
.docs .template-step + .template-step { border-top: 1px solid var(--line); }
.docs .template-step-label { margin-bottom: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-90); }
.docs .template-subject { display: inline-block; padding: 8px 12px; border-radius: 10px; background: var(--bg); font-family: var(--mono); font-size: 14px; color: var(--ink); }
.docs .template-body { padding: 18px 20px; border-radius: 14px; background: var(--bg); white-space: pre-wrap; font-size: 15px; line-height: 1.65; color: var(--ink); }

/* ---------- Clay waterfall ---------- */
.docs .preview-card { position: relative; max-width: 900px; margin-top: 10px; padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s; }
.docs .preview-card + .preview-card::before { content: ""; position: absolute; left: 34px; top: -11px; width: 2px; height: 10px; border-radius: 2px; background: linear-gradient(180deg, rgba(114, 193, 255, .25), rgba(114, 193, 255, .9)); }   /* the waterfall: each step hangs under the one before */
.docs .preview-card:hover { border-color: rgba(114, 193, 255, .8); }
.docs .preview-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 17px; font-weight: 500; letter-spacing: -0.005em; }
.docs .preview-card h3 span { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: rgba(114, 193, 255, .14); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; font-weight: 400 !important; color: var(--accent-text) !important; }
.docs .preview-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--gray-100); }
.docs .preview-card + h2 { margin-top: 56px; }

/* ---------- ROI calculator ---------- */
.docs .calc-wrap { max-width: var(--container); margin: 0 auto; padding: var(--section-y) var(--gutter) 0; }
.docs .calc-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; }
.docs .calc-inputs { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.docs .calc-inputs > h2, .docs .calc-results > h2 { margin: 0 0 10px; font-size: 24px; font-weight: 500; letter-spacing: -0.01em; }
.docs .calc-input { padding: 18px 0; border-bottom: 1px solid var(--line); }
.docs .calc-input-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.docs .calc-input-label label { font-size: 15px; font-weight: 500; }
.docs .calc-input-row { display: flex; align-items: center; gap: 8px; }
.docs .calc-input-row input[type=number] { width: 112px; height: 38px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); font: 500 15px/1 var(--mono); text-align: right; color: var(--ink); }
.docs .calc-input-row input[type=number]:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(114, 193, 255, .25); border-radius: 10px; }
.docs .calc-input-value { font: 500 16px/1 var(--mono); color: var(--accent-text); }
.docs .calc-input-hint { font-size: 13px; line-height: 1.5; color: var(--gray-90); }
.docs input[type=range] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 4px; margin: 16px 0 12px; border-radius: 4px; background: var(--line-2); cursor: pointer; }
.docs input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(12, 13, 14, .15), 0 4px 10px rgba(12, 13, 14, .2); }
.docs input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(12, 13, 14, .15), 0 4px 10px rgba(12, 13, 14, .2); }
.docs input[type=range]:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(114, 193, 255, .35); }
.docs .calc-reset { margin-top: 18px; padding: 0; border: 0; background: none; font-size: 14px; color: var(--accent-text); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.docs .calc-results { position: sticky; top: 104px; padding: 30px; border-radius: 20px; background: radial-gradient(80% 60% at 100% 0%, rgba(114, 193, 255, .16), rgba(0, 0, 0, 0) 60%), #050607; color: #fff; }
.docs .calc-results > h2 { color: #fff; }
.docs .result-big { margin: 18px 0 10px; padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.docs .result-big-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.docs .result-big-val { margin-top: 8px; font-size: clamp(40px, 4vw, 56px); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--accent); }
.docs .result-big-meta { margin-top: 6px; font-size: 14px; color: #a3a8b1; }
.docs .result-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.docs .result-row-label { font-size: 15px; color: #a3a8b1; }
.docs .result-row-val { font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; color: #fff; }
.docs .save-section { margin-top: 24px; }
.docs .save-section h3 { margin: 0 0 6px; font-size: 18px; font-weight: 500; color: #fff; }
.docs .save-section p { margin: 0; font-size: 14px; line-height: 1.55; color: #a3a8b1; }
.docs .save-section .save-form { margin-top: 16px; }
.docs .assumptions table { width: 100%; margin: 20px 0 18px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); font-size: 15px; }
.docs .assumptions th, .docs .assumptions td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.docs .assumptions th { background: var(--bg); font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-90); }
.docs .assumptions tbody tr:last-child td { border-bottom: 0; }
.docs .assumptions__note { margin-top: 24px !important; }
.docs .assumptions td:first-child { font-weight: 500; }
@media (max-width: 960px) { .docs .calc-grid { grid-template-columns: 1fr; } .docs .calc-results { position: static; } }

/* ---------- Email verifier ---------- */
.docs .tool-wrap { max-width: var(--container); margin: 0 auto; padding: var(--section-y) var(--gutter) 0; }
.docs .input-card, .docs .results-card { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.docs .input-card label { display: block; font-size: 17px; font-weight: 500; }
.docs .input-card-hint { margin-top: 6px; font-size: 13.5px; color: var(--gray-90); }
.docs .input-card textarea { display: block; width: 100%; min-height: 240px; margin-top: 16px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg); font: 400 14px/1.6 var(--mono); color: var(--ink); resize: vertical; }
.docs .input-card textarea:focus-visible { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(114, 193, 255, .25); border-radius: 14px; }
.docs .input-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.docs .btn-verify { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border: 0; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); font: 500 15px/1 var(--font); cursor: pointer; transition: background .25s; }
.docs .btn-verify:hover { background: var(--ink); color: #fff; }
.docs .btn-verify:disabled { opacity: .6; cursor: progress; }
.docs .btn-secondary { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--white); color: var(--ink); font: 500 14px/1 var(--font); cursor: pointer; transition: border-color .25s; }
.docs .btn-secondary:hover { border-color: var(--ink); }
.docs .input-count { margin-left: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--gray-90); }
.docs .spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(12, 13, 14, .25); border-top-color: var(--ink); animation: docs-spin .8s linear infinite; }
@keyframes docs-spin { to { transform: rotate(360deg); } }
.docs .results-card { display: none; margin-top: 16px; }
.docs .results-card.active { display: block; }
.docs .results-title { font-size: 22px; font-weight: 500; }
.docs .results-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.docs .summary-cell { padding: 16px 18px; }
.docs .summary-cell + .summary-cell { border-left: 1px solid var(--line); }
.docs .summary-cell-val { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.docs .summary-cell.valid .summary-cell-val { color: var(--green); } .docs .summary-cell.risky .summary-cell-val { color: var(--amber); } .docs .summary-cell.invalid .summary-cell-val { color: var(--red); }
.docs .summary-cell-lbl { margin-top: 2px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-90); }
.docs .filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 12px; }
.docs .filter-tab { height: 34px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--white); font: 400 14px/1 var(--font); color: var(--ink); cursor: pointer; }
.docs .filter-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.docs .results-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.docs .results-table th { padding: 10px 12px; text-align: left; background: var(--bg); font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-90); }
.docs .results-table td { padding: 11px 12px; border-top: 1px solid var(--line); color: var(--gray-100); vertical-align: middle; }
.docs .email-cell { font-family: var(--mono); font-size: 13.5px; color: var(--ink) !important; word-break: break-all; }
.docs .status-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.docs .status-pill.valid { background: rgba(15, 122, 78, .1); color: var(--green); } .docs .status-pill.risky { background: rgba(151, 90, 22, .1); color: var(--amber); } .docs .status-pill.invalid { background: rgba(197, 48, 48, .1); color: var(--red); }
.docs .actions-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.docs .download-gate { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px; margin-top: 20px; padding: 24px; border-radius: 16px; background: radial-gradient(70% 120% at 100% 0%, rgba(114, 193, 255, .16), rgba(0, 0, 0, 0) 60%), #050607; color: #fff; }
.docs .download-gate-text strong { display: block; font-size: 17px; font-weight: 500; }
.docs .download-gate-text div { margin-top: 4px; font-size: 14px; color: #a3a8b1; max-width: 52ch; }
.docs .download-gate-form { margin-top: 0; }
.docs .info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0 40px; }
.docs .info-card { padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.docs .info-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 18px; font-weight: 500; }
.docs .check-icon { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(114, 193, 255, .18); }
.docs .check-icon .dcheck { width: 12px; height: 12px; color: var(--accent-text); }
.docs .info-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--gray-100); }
@media (max-width: 760px) { .docs .results-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .docs .summary-cell:nth-child(3) { border-left: 0; } .docs .summary-cell:nth-child(n+3) { border-top: 1px solid var(--line); } .docs .info-grid { grid-template-columns: 1fr; } .docs .input-card, .docs .results-card { padding: 22px 18px; } }

/* ---------- Blog index ---------- */
.docs .posts { max-width: var(--container); margin: 0 auto; padding: var(--section-y) var(--gutter) 0; display: grid; gap: 16px; }
.docs .posts > * { max-width: 920px; }
.docs .post-card { display: flex; flex-direction: column; gap: 12px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); transition: border-color .25s, box-shadow .35s var(--ease), transform .35s var(--ease); }
.docs .post-card:hover { border-color: rgba(114, 193, 255, .8); box-shadow: 0 24px 50px -30px rgba(12, 13, 14, .35); transform: translateY(-2px); }
.docs .post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--gray-90); }
.docs .post-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: rgba(114, 193, 255, .14); text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; color: var(--ink); }
.docs .post-card h2 { margin: 4px 0 0; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; font-weight: 500; letter-spacing: -0.015em; }
.docs .post-card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--gray-100); }
.docs .post-cta { margin-top: 4px; display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--ink); }
.docs .post-card:hover .alink__box::before { transform: scaleX(1); }
.docs .post-card:hover .alink__box svg { transform: translateX(2px); }
.docs .posts .signup-banner { margin-top: 16px; }

/* ---------- Playbook ---------- */
.docs .section-label { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: var(--white); box-shadow: var(--neu-pill); font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.docs .section > h2 { margin: 24px 0 0; max-width: 30ch; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.022em; font-weight: 500; }
.docs .inside-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.docs .inside-card { padding: 28px; background: var(--white); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.docs .inside-num { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--gray-90); }
.docs .inside-num::before { content: ""; width: 8px; height: 8px; background: var(--accent); }
.docs .inside-card h3, .docs .timeline-card h3 { margin: 14px 0 8px; font-size: 20px; line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; }
.docs .inside-card p, .docs .timeline-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--gray-100); }
.docs .timeline-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.docs .timeline-card { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.docs .timeline-day { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: rgba(114, 193, 255, .14); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.docs .who { max-width: 900px; margin-top: 28px; padding: clamp(28px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: 22px; }
.docs .who h3 { margin: 0 0 14px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; }
.docs .who p { margin: 0 0 12px; font-size: 17px; line-height: 1.65; color: var(--gray-100); }
.docs .who p:last-child { margin-bottom: 0; }
@media (max-width: 960px) { .docs .inside-grid, .docs .timeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .docs .inside-grid, .docs .timeline-grid { grid-template-columns: 1fr; } }

/* ==========================================================================================================
   Detail pages (20-10, night audit): the gated resources, the blog posts and the privacy policy. They open light, right under
   the nav, like the case pages; the article column reads at 70 characters; the boolean strings get a copy button (site.js).
   ========================================================================================================== */
.docs .hero--light { background: none; color: var(--ink); padding: clamp(120px, 15vh, 140px) 0 8px; }
.docs .hero--light::before { display: none; }
.docs .hero--light .breadcrumb { color: var(--gray-90); }
.docs .hero--light .breadcrumb a { color: var(--gray-100); }
.docs .hero--light .breadcrumb a:hover { color: var(--ink); }
.docs .hero--light h1 { max-width: 22ch; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.06; color: var(--ink); }
.docs .hero--light p, .docs .hero--light .lead { margin-top: 18px; font-size: 18px; color: var(--gray-100); }
.docs .hero--light p strong, .docs .hero--light .lead strong { color: var(--ink); }
.docs .hero--light .hero-meta span:not(.sep) { border-color: var(--line-2); background: var(--white); color: var(--gray-100); }
.docs .hero--light .hero-meta strong { color: var(--ink); }
.docs .hero--light .hero-meta .sep { color: var(--gray-90); }
.docs .hero--light .hero-label { border-color: var(--line-2); background: var(--white); color: var(--gray-100); box-shadow: var(--neu-pill); }
.docs .hero--light .post-meta { margin-top: 22px; }
.docs .hero--light + .content, .docs .hero--light + .article { padding-top: clamp(36px, 4.5vw, 56px); }
.docs .content-note { margin-top: 28px !important; }
.docs .related-card-meta { align-self: flex-start; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: rgba(114, 193, 255, .14); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }

/* ---------- Boolean strings ---------- */
.docs .boolean-card { max-width: 900px; margin-top: 14px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: border-color .25s; }
.docs .boolean-card:hover { border-color: rgba(114, 193, 255, .8); }
.docs .content > h2 + .boolean-card { margin-top: 18px; }
.docs .boolean-card-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.docs .boolean-card h3 { margin: 0; font-size: 18px; line-height: 1.3; font-weight: 500; letter-spacing: -0.005em; }
.docs .boolean-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.docs .boolean-card-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: rgba(114, 193, 255, .14); font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.docs .boolean-string { position: relative; margin-top: 14px; padding: 16px 18px; border-radius: 12px; background: #0b0c0d; color: #e7eaed; font-family: var(--mono); font-size: 13.5px; line-height: 1.65; overflow-wrap: anywhere; }
.docs .boolean-string.has-copy { padding-right: 96px; }
.docs .boolean-copy { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; background: rgba(255, 255, 255, .06); color: #fff; font: 500 12.5px/1 var(--font); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.docs .boolean-copy svg { width: 13px; height: 13px; }
.docs .boolean-copy:hover { background: rgba(255, 255, 255, .14); }
.docs .boolean-copy:focus-visible { outline: none; box-shadow: var(--focus); }
.docs .boolean-copy.is-done { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.docs .boolean-card-meta { margin-top: 12px; font-size: 14.5px; line-height: 1.55; color: var(--gray-100); }
@media (max-width: 560px) { .docs .boolean-string.has-copy { padding: 52px 16px 16px; } }

/* ---------- Blog post: the article column ---------- */
.docs .article { max-width: var(--container); margin: 0 auto; padding: var(--section-y) var(--gutter) 0; }
.docs .article > * { max-width: 70ch; }
.docs .article > p { margin: 0 0 20px; font-size: 18px; line-height: 1.72; color: var(--gray-100); }
.docs .article > h2 { margin: 56px 0 16px; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.14; font-weight: 400; letter-spacing: -0.02em; color: var(--ink); }
.docs .article > h3 { margin: 34px 0 10px; font-size: 21px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.docs .article > h2 + h3 { margin-top: 18px; }
.docs .article a { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
.docs .article a:hover { color: var(--ink); }
.docs .article strong { color: var(--ink); font-weight: 500; }
.docs .article code { padding: 2px 6px; border-radius: 6px; background: var(--bg-2); font-family: var(--mono); font-size: .88em; color: var(--ink); }
.docs .article > ul, .docs .article > ol { list-style: none; margin: 4px 0 24px; padding: 0; display: grid; gap: 10px; }
.docs .article > ul > li, .docs .article > ol > li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.65; color: var(--gray-100); }
.docs .article > ul > li::before { content: ""; position: absolute; left: 3px; top: .66em; width: 7px; height: 7px; background: var(--accent); }
.docs .article > ol { counter-reset: art; }
.docs .article > ol > li { counter-increment: art; padding-left: 34px; }
.docs .article > ol > li::before { content: counter(art); position: absolute; left: 0; top: .2em; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--white); box-shadow: 0 0 0 1px var(--line-2); font-family: var(--mono); font-size: 11.5px; line-height: 1; color: var(--ink); }
.docs .inline-signup { position: relative; overflow: hidden; margin: 40px 0; padding: clamp(24px, 3.4vw, 36px); border-radius: 20px; background: radial-gradient(70% 90% at 100% 0%, rgba(114, 193, 255, .16), rgba(0, 0, 0, 0) 60%), #050607; color: #fff; }
.docs .inline-signup h4 { margin: 0; font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.docs .inline-signup p { margin: 10px 0 0; max-width: 56ch; font-size: 17px; line-height: 1.55; color: #d6dade; }
.docs .inline-signup-form { display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; margin-top: 20px; }
.docs .inline-signup-form input { flex: 1 1 220px; min-width: 0; height: 50px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-pill); background: rgba(255, 255, 255, .05); color: #fff; font: 400 15px/1 var(--font); }
.docs .inline-signup-form input::placeholder { color: #6b7280; opacity: 1; }
.docs .inline-signup-form input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(114, 193, 255, .25); }
.docs .inline-signup-form .btn-accent { flex: none; height: 50px; border-radius: var(--r-pill); font-size: 15px; }
.docs--post .related { padding-top: var(--section-y); }

/* ---------- Privacy policy ---------- */
.docs--legal .content > section + section { margin-top: 40px; }
.docs--legal .content > section > * { max-width: 72ch; }
.docs--legal .content h2 { margin: 0 0 12px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
.docs--legal .content p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.7; color: var(--gray-100); }
.docs--legal .content a { color: var(--accent-text); text-underline-offset: 3px; }
.docs--legal .content strong { color: var(--ink); font-weight: 500; }
.docs--legal .content ul { list-style: none; margin: 6px 0 16px; padding: 0; display: grid; gap: 10px; }
.docs--legal .content li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.65; color: var(--gray-100); }
.docs--legal .content li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 7px; height: 7px; background: var(--accent); }
.docs--legal .revoke-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 72ch; margin-top: 18px; padding: 22px 24px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--white); }
.docs--legal .revoke-box p { flex: 1 0 100%; margin: 0 0 6px; }
.docs--legal .revoke-box #consent-status { color: var(--ink); font-weight: 500; }
.docs--legal .revoke-btn { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--white); color: var(--ink); font: 500 14.5px/1 var(--font); cursor: pointer; transition: border-color .25s, background-color .25s; }
.docs--legal .revoke-btn:hover { border-color: var(--ink); }
.docs--legal .revoke-btn--grant { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.docs--legal .revoke-btn--grant:hover { border-color: var(--ink); }
.docs--legal .revoke-btn:focus-visible { outline: none; box-shadow: var(--focus); }
.docs--legal .revoke-status { flex: 1 0 100%; font-size: 14px; color: var(--green); }
.docs--legal .revoke-status:empty { display: none; }

/* the Resources-menu detail pages in the light opening (20-10): badges, the mini pill, the playbook's signup form and client logos */
.docs .hero--light h1 .gradient { color: var(--accent-text); }
.docs .hero--light .hero-badge, .docs .hero--light .hero-pill-mini { border-color: var(--line-2); background: var(--white); color: var(--gray-100); }
.docs .hero--light .hero-badge .dcheck { color: var(--accent-text); }
.docs .hero--light .signup-form input { border-color: var(--line-2); background: var(--white); color: var(--ink); }
.docs .hero--light .signup-form input::placeholder { color: #8a929b; }
.docs .hero--light .signup-meta, .docs .hero--light .trust-label { color: var(--gray-90); }
.docs .hero--light .trust-logos img { filter: brightness(0); opacity: .5; }
.docs .hero--light + .section, .docs .hero--light + .calc-wrap, .docs .hero--light + .tool-wrap { padding-top: clamp(36px, 4.5vw, 56px); }

/* ---------- Blog posts: On this page beside the article (20-10, site.js builds it from the h2s); only where there is room ---------- */
.docs .toc { display: none; }
.docs .article > .table-wrap { max-width: 100%; margin: 8px 0 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.docs .article .table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; }
.docs .article .table-wrap th { padding: 12px 14px; text-align: left; background: var(--bg); font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-90); white-space: nowrap; }
.docs .article .table-wrap td { padding: 12px 14px; border-top: 1px solid var(--line); color: var(--gray-100); line-height: 1.5; vertical-align: top; min-width: 120px; }
.docs .article .table-wrap td:first-child { color: var(--ink); font-weight: 500; }
.docs .article > h2 { scroll-margin-top: 72px; }   /* with scroll-padding-top 24px a heading lands clear of the floating nav */
@media (min-width: 1180px) {
  .docs--post .article { position: relative; }
  .docs--post .article > *:not(.toc) { max-width: min(70ch, 700px); }
  .docs--post .article > .table-wrap { max-width: min(96ch, 960px); }
  .docs .toc { display: block; position: absolute; top: clamp(36px, 4.5vw, 56px); bottom: 0; right: var(--gutter); width: 250px; }   /* top = the article's padding under the light opening */
  .docs .toc__in { position: sticky; top: 112px; }
  .docs .toc__hd { margin: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-90); }
  .docs .toc ol { list-style: none; margin: 14px 0 0; padding: 0; border-left: 1px solid var(--line-2); }
  .docs .toc a { display: block; margin-left: -1px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--gray-90); text-decoration: none; transition: color .2s, border-color .2s; }
  .docs .toc a:hover { color: var(--ink); }
  .docs .toc a.is-on { color: var(--ink); border-left-color: var(--accent); }
  .docs .toc a:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
  .docs .toc__cta { margin-top: 28px; padding: 18px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--white); }
  .docs .toc__cta p { margin: 0 0 14px; font-size: 15px; line-height: 1.35; font-weight: 500; color: var(--ink); }
  .docs .toc .toc__cta .btn-accent { display: flex; width: 100%; justify-content: space-between; margin: 0; padding: 0 16px; border-left: 0; color: var(--accent-ink); font-size: 14.5px; }
}

/* resource pages: a button in the opening that glides to the email gate (20-10, scripts/resource-gate-button.py) */
.docs .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.docs .gate-section { scroll-margin-top: 96px; }
.docs--post .related-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }   /* 22-10: three posts plus the service page */
@media (max-width: 1100px) { .docs--post .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .docs--post .related-grid { grid-template-columns: 1fr; } }
