/* ==========================================================================
   ARTEMIS (/artemis-methodology/) and AI agents (/ai-agents/)
   Blue Dial rules: docs/brand/blue-dial.md. Shared components: styleguide/index.html.
   Only what the shared set lacks is defined here. Colours come from the --rd-* tokens.
   ========================================================================== */

/* Stat (rd-stat), diagram (rd-diagram) and tool screen (rd-screen) are shared components: redesign.css. */

/* The seven tools as one hairline row. Each cell jumps to its section. */
.rd-grid--7 { grid-template-columns: repeat(7, minmax(0, 1fr)); margin-top: 56px; }
.rd-toolcell { display: flex; flex-direction: column; gap: 8px; padding: 24px 16px; color: inherit; font-size: 14px; line-height: 22px; }
:where(.rd) a.rd-toolcell { text-decoration: none; }
.rd-toolcell strong { font-weight: 700; letter-spacing: .08em; }
.rd-toolcell span:last-child { color: var(--rd-muted); }
a.rd-toolcell:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* A tool: its job and figure beside its screen. */
.rd-tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
.rd-tool__job { font: 500 24px/32px var(--rd-font-body); }
.rd-section[id] { scroll-margin-top: var(--rd-header-h); }

/* An agent: the question it answers, then what it does. */
.rd-question { margin-bottom: 16px; font: 500 24px/32px var(--rd-font-body); }
.rd-question + p { color: var(--rd-muted); }

/* Further detail under a tool's job or an agent's answer. */
.rd-tool__job ~ p:not([class]), .rd-question ~ p + p { margin-top: 16px; color: var(--rd-muted); }

/* Plain text block under a section heading. */
.rd-text { max-width: 640px; }
.rd-text p + p { margin-top: 16px; }

@media (max-width: 1080px) {
    .rd-grid--7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .rd-tool { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 860px) {
    .rd-grid--7 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
    .rd-tool__job, .rd-question { font-size: 20px; line-height: 28px; }
}

/* Link to the Oracle AI World 2026 event page, after a section (#109). Same as .rd-more in rd-company.css. */
.rd-more { margin-top: 32px; }
