/* ERIC pages: the shared stylesheet (style.css) with ERIC's tokens.
   Components only read tokens, so redefining them here is the whole theme:
   navy and cool greys instead of SmartTutor's terracotta and cream, and
   IBM Plex instead of Plus Jakarta. Nothing in style.css changes. */

:root {
    --accent:      #0c447c;
    --accent-soft: #e8eff8;
    --accent-text: #0a3561;
    --bg:          #eef0f4;
    --surface:     #ffffff;
    --ink:         #0e1726;
    --ink-muted:   #5b6577;
    --rule:        #d9dee7;
    --shadow:      0 1px 2px rgba(14, 23, 38, .06), 0 8px 24px -12px rgba(14, 23, 38, .14);
    --teal:        #0f766e;
    --green:       #15703a;
    --blue:        #3d6fa8;
    --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --accent:      #6ba7e8;
        --accent-soft: #14243a;
        --accent-text: #9cc4f0;
        --bg:          #0c1017;
        --surface:     #161c26;
        --ink:         #e7ecf3;
        --ink-muted:   #9aa5b5;
        --rule:        #263040;
        --shadow:      0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .6);
        --teal:        #5eead4;
        --green:       #6fcf97;
        --blue:        #93c5fd;
    }
}

/* The mark (numbered balloon into a parts list) beside the ERIC wordmark. */
.eric-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.eric-brand svg { width: 30px; height: 30px; flex: none; }
.eric-brand b { font-weight: 700; font-size: 1.15rem; letter-spacing: .08em; }
.eric-brand small {
    display: block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em;
    text-transform: uppercase; color: var(--ink-muted); font-weight: 500;
}
.eric-hero-mark { width: 72px; height: 72px; }

/* Products strip in the footer, shared look with SmartTutor's footer. */
.products-line a { white-space: nowrap; }

/* Balloon Studio section on the home page: its feature and price rows. */
#balloon-studio .grid + .grid { margin-top: 24px; }
#balloon-studio .grid + p { margin-top: 24px; color: var(--ink-muted); }

/* Questions (also the source of the FAQ structured data) */
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq-item { border: 1px solid var(--rule, #dde1e6); border-radius: 12px; padding: 14px 18px; background: var(--surface, #fff); }
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { margin: 10px 0 0; color: var(--ink-muted, #5d6470); }
