/* ==========================================================================
   Eosten DMS: page-content styles (owned by the content pass).
   Builds on site.css tokens and components; nothing here redefines them.
   ========================================================================== */

/* Product tour on the overview page: a little narrower than the full wrap. */
#tour .video-facade { max-width: 1040px; margin-inline: auto; }

/* A plain tick list outside the scroll story (the story's own lists are styled by .layer ul.ticks). */
ul.ticks.plain { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
ul.ticks.plain.tight { gap: 8px; margin-top: 14px; }
/* "By design, it can't": same list, muted marker. */
ul.ticks.plain.no li::before { background: var(--text-3); box-shadow: none; }
.stage ul.ticks.plain.no li::before { background: var(--stage-text-2); }

/* Numbered step cards (integrations "how it works"). */
.step-card .flow-num { width: 40px; height: 40px; border-radius: 12px; font-size: 14px; margin-bottom: 18px; }

/* API examples: explanation beside a wide code block. */
.api-examples { display: grid; gap: clamp(36px, 5vw, 56px); }
.api-example { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.api-example h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -.02em; line-height: 1.2; }
.api-example p { color: var(--text-2); font-size: 15.5px; margin: 10px 0 0; }
.stage .api-example p { color: var(--stage-text-2); }
.api-example .who { display: inline-block; margin-top: 14px; }
.code-wrap { min-width: 0; }
.code-cap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 600 12px/1.4 var(--mono); color: var(--text-3); margin: 0 0 8px 4px; letter-spacing: .02em; }
.stage .code-cap { color: var(--stage-text-2); }
pre.code { margin: 0; tab-size: 2; }
pre.code:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; }

/* Use-case cards: which folder and which metadata a system would use. */
.uc dl { margin: 16px 0 0; display: grid; gap: 8px; font-size: 14px; }
.uc dt { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.uc dd { margin: 2px 0 0; color: var(--text-2); }
.stage .uc dt { color: var(--stage-text-2); }
.stage .uc dd { color: var(--stage-text-2); }
.uc .mono { font-size: 13px; color: var(--text); }
.stage .uc .mono { color: var(--stage-text); }

/* A highlighted aside (masking inside the DMS, honest notes). */
.callout { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: clamp(22px, 3vw, 36px); }
.callout h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -.02em; line-height: 1.2; }
.callout p { color: var(--text-2); margin: 10px 0 0; font-size: 15.5px; }
.stage .callout { background: var(--stage-surface); border-color: var(--stage-line); }
.stage .callout p { color: var(--stage-text-2); }

/* Small print under a section. */
.fineprint { font-size: 13px; color: var(--text-3); margin-top: 18px; max-width: 80ch; }
.stage .fineprint { color: var(--stage-text-2); }

/* Inline links inside running text keep the brand colour without the arrow. */
.text-link { color: var(--brand); font-weight: 600; }
.text-link:hover { text-decoration: underline; }
:root[data-theme="dark"] .text-link { color: #60a5fa; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .text-link { color: #60a5fa; } }
.stage .text-link { color: color-mix(in srgb, var(--brand) 55%, var(--stage-text)); }

@media (max-width: 900px) {
  .api-example { grid-template-columns: 1fr; }
}
/* Integration picture (replaces code samples: the site shows the flow, not the API). */
.int-flow { display: grid; gap: 0; justify-items: center; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.int-node { width: 100%; max-width: 420px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2); text-align: center; }
.int-node b { display: block; font-size: 15.5px; }
.int-node small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--text-3); line-height: 1.4; }
.int-node.accent { border-color: color-mix(in srgb, var(--brand) 55%, transparent); background: color-mix(in srgb, var(--brand) 9%, var(--surface)); }
.int-arrow { width: 2px; height: 28px; background: linear-gradient(var(--line-2), var(--brand)); position: relative; }
.int-arrow::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 9px; height: 9px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: translateX(-50%) rotate(45deg); }
