/* Shared visual language for Automate with Carol's learning pages. */
:root {
  --brand-navy:#28344A;
  --brand-charcoal:#272727;
  --brand-muted:#68645F;
  --brand-ivory:#FAF8F4;
  --brand-paper:#FFFFFF;
  --brand-stone:#C9BBAA;
  --brand-apricot:#D5A487;
  --brand-line:#E4DED5;
  --brand-soft:#F3EEE7;
}
.brand-page {
  background:var(--brand-ivory);
  color:var(--brand-charcoal);
  font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
.brand-page .page { width:100%; max-width:1120px; margin:0 auto; padding:0 32px; }
.brand-page .site-header { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:28px 0; margin-bottom:48px; border-bottom:1px solid var(--brand-line); }
.brand-name { color:var(--brand-navy); font-size:19px; font-weight:650; letter-spacing:-.035em; line-height:1.3; }
.brand-name span { color:var(--brand-apricot); }
.brand-page .help-link { color:var(--brand-navy); font-size:12px; font-weight:600; text-decoration:none; white-space:nowrap; padding:10px 0; }
.brand-page .help-link:hover { text-decoration:underline; }
.brand-page .badge { display:inline-flex; align-items:center; gap:7px; background:var(--brand-soft); color:var(--brand-charcoal); border:1px solid var(--brand-line); border-radius:6px; padding:5px 10px; margin-bottom:20px; font-size:10px; font-weight:650; letter-spacing:.1em; text-transform:uppercase; }
.brand-page .badge span { color:var(--brand-charcoal); }
.brand-page .hero h1 { font-family:inherit; color:var(--brand-navy); font-size:clamp(38px,4.7vw,58px); line-height:1.07; font-weight:600; letter-spacing:-.05em; max-width:900px; margin:0; text-wrap:balance; }
.brand-page .title-dot { color:var(--brand-apricot); }
.brand-page .hero-description { max-width:660px; margin-top:20px; color:var(--brand-charcoal); font-size:17px; line-height:1.75; }
.brand-page .quick-facts { display:flex; flex-wrap:wrap; gap:8px 20px; padding:0; margin:20px 0 24px; list-style:none; }
.brand-page .quick-facts li { padding:0; color:var(--brand-muted); background:none; border:0; border-radius:0; font-size:12px; }
.brand-page .quick-facts li+li::before { content:'·'; color:var(--brand-stone); padding-right:20px; }
.brand-page .hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:16px 24px; }
.brand-page .button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:46px; padding:12px 18px; border-radius:8px; font-size:13px; font-weight:650; line-height:1.4; text-decoration:none; transition:background .15s; }
.brand-page .button-primary,.brand-page .button-dark,.brand-page #next,.brand-page .action-copy a.button { background:var(--brand-navy); color:var(--brand-paper); border:1px solid var(--brand-navy); }
.brand-page .button-primary:hover,.brand-page .button-dark:hover,.brand-page #next:hover,.brand-page .action-copy a.button:hover { background:#34435E; transform:none; }
.brand-page .button-outline,.brand-page .button-secondary { background:var(--brand-paper); color:var(--brand-charcoal); border:1px solid var(--brand-stone); }
.brand-page .quiet-link { font-size:13px; font-weight:600; color:var(--brand-navy); }
.brand-page .download-caption { margin-top:10px; color:var(--brand-muted); font-size:11px; }
.brand-page .brand-welcome { display:grid; grid-template-columns:112px minmax(0,1fr); grid-template-areas:none; align-items:center; gap:28px; max-width:none; margin:40px 0 0; padding:28px 32px; background:var(--brand-paper); border:1px solid var(--brand-line); border-top:3px solid var(--brand-apricot); border-radius:16px; }
.brand-page .brand-welcome .portrait { display:block; width:112px; height:140px; object-fit:cover; object-position:50% 27%; border-radius:56px 56px 12px 12px; border:4px solid var(--brand-ivory); }
.brand-page .brand-welcome .eyebrow { color:var(--brand-muted); font-size:10px; font-weight:650; letter-spacing:.13em; line-height:1.5; text-transform:uppercase; margin:0 0 8px; }
.brand-page .brand-welcome #welcome-title { color:var(--brand-navy); font-family:inherit; font-size:25px; font-weight:600; letter-spacing:-.035em; line-height:1.25; margin:0; }
.brand-page .brand-welcome .welcome-heart { font-size:.8em; vertical-align:baseline; }
.brand-page .brand-welcome .welcome-copy>p:not(.eyebrow):not(.signature):not(.welcome-signature) { color:var(--brand-charcoal); font-size:14px; line-height:1.75; margin:10px 0 0; max-width:760px; }
.brand-page .brand-welcome .signature,.brand-page .brand-welcome .welcome-signature { font-family:inherit; font-size:13px; font-style:normal; font-weight:650; color:var(--brand-charcoal); margin:12px 0 0; }
.brand-page .eyebrow { color:var(--brand-muted); font-weight:650; font-size:10px; letter-spacing:.13em; }
.brand-page .section-heading h2,.brand-page .journey-heading h2,.brand-page .sidebar-title { color:var(--brand-navy); font-family:inherit; font-size:26px; font-weight:600; letter-spacing:-.035em; line-height:1.3; }
.brand-page .workspace h2,.brand-page .step-title { color:var(--brand-navy); font-family:inherit; font-size:32px; font-weight:600; letter-spacing:-.04em; line-height:1.18; }
.brand-page .section { margin-top:48px; }
.brand-page .essential,.brand-page .step-card,.brand-page .faq-list { border-radius:16px; }
.brand-page .essential { padding:22px 24px; }
.brand-page .essential h3 { font-size:15px; font-weight:600; }
.brand-page .step-card { padding:28px; }
.brand-page .step-number { width:28px; height:28px; border:1px solid var(--brand-stone); font-size:11px; }
.brand-page .step-button,.brand-page .stage-nav { min-height:72px; padding:14px 16px; border:1px solid var(--brand-line); border-radius:10px; background:var(--brand-paper); color:var(--brand-charcoal); font-size:12px; font-weight:600; }
.brand-page .step-button.is-current,.brand-page .stage-nav[aria-current=step] { background:var(--brand-soft); color:var(--brand-navy); border-color:var(--brand-navy); box-shadow:none; }
.brand-page .step-button.is-current .step-number,.brand-page .stage-nav[aria-current=step] .step-number { background:var(--brand-apricot); color:var(--brand-navy); border-color:var(--brand-navy); }
.brand-page .step-button.is-complete .step-number,.brand-page .stage-nav.done .step-number { background:var(--brand-navy); border-color:var(--brand-navy); color:white; }
.brand-page .step-button.is-current.is-complete .step-number,.brand-page .stage-nav[aria-current=step].done .step-number { background:var(--brand-navy); color:white; }
.brand-page .site-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:48px; padding:26px 0 32px; border-top:1px solid var(--brand-line); color:var(--brand-muted); font-size:11px; }
.brand-page .site-footer p>span { color:var(--brand-apricot); }
.brand-page .footer-brand { color:var(--brand-navy); font-weight:600; }

/* Navy anchors the brand; reading copy stays charcoal, with warm-gray metadata. */
.brand-page .step-panel>p:not(.eyebrow):not(.small-note),
.brand-page .instruction-list li,.brand-page .callout p,
.brand-page .essential p,.brand-page .faq-list details>div,
.brand-page .stage-intro { color:var(--brand-charcoal); }
.brand-page .guide-footer a,.brand-page .inline-details a,
.brand-page .faq-list a,.brand-page .text-copy,.brand-page .warning-crop a,
.brand-page .download-file strong,.brand-page .file-icon { color:var(--brand-navy); }
.brand-page progress,.brand-page input[type=checkbox] { accent-color:var(--brand-navy); }
.brand-page progress::-webkit-progress-value { background:var(--brand-navy); }
.brand-page progress::-moz-progress-bar { background:var(--brand-navy); }

/* The guide uses the same horizontal journey as the skill kit. */
.brand-page .guide-shell { display:block; max-width:none; margin:48px 0 0; scroll-margin-top:28px; }
.brand-page .sidebar { position:static; padding:0; border:0; }
.brand-page .sidebar-heading { display:flex; }
.brand-page .guide-badge { font-size:11px; }
.brand-page .progress-heading { margin-top:12px; font-size:12px; }
.brand-page .sidebar progress { margin:4px 0 18px; height:7px; }
.brand-page #steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.brand-page .stage-nav { gap:10px; }
.brand-page .stage-nav small { margin-top:3px; font-size:10px; }
.brand-page .companion-note { padding:14px 16px; margin-top:16px; border:1px solid var(--brand-line); border-radius:10px; }
.brand-page .companion-note strong { display:inline; margin-right:6px; }
.brand-page .storage-note { margin:10px 0 0; font-size:11px; }
.brand-page .workspace { padding:28px; margin-top:20px; background:var(--brand-paper); border:1px solid var(--brand-line); border-radius:16px; }
.brand-page .workspace-context { margin-bottom:24px; }
.brand-page .workspace .action-row { background:var(--brand-ivory); border-radius:12px; }
.brand-page .workspace .action-copy p { font-size:14px; }
.brand-page .workspace .step-footer { margin:24px 0 0; padding:20px 0 0; box-shadow:none; }
.brand-page .guide-footer { font-size:11px; }
.brand-page .dialog-header h2 { color:var(--brand-navy); font-family:inherit; font-weight:600; }

@media(max-width:760px) {
  .brand-page .page { padding:0 20px; }
  .brand-page .site-header { margin-bottom:32px; padding:20px 0; gap:16px; }
  .brand-name { font-size:17px; }
  .brand-page .help-link { font-size:11px; }
  .brand-page .hero h1 { font-size:40px; }
  .brand-page .hero-description { font-size:15px; }
  .brand-page .brand-welcome { grid-template-columns:80px minmax(0,1fr); gap:20px; padding:22px; margin-top:32px; }
  .brand-page .brand-welcome .portrait { width:80px; height:104px; }
  .brand-page .brand-welcome #welcome-title { font-size:22px; }
  .brand-page .brand-welcome .welcome-copy>p:not(.eyebrow):not(.signature):not(.welcome-signature) { font-size:13px; }
  .brand-page .step-button,.brand-page .stage-nav { padding:12px 5px; min-height:80px; flex-direction:column; justify-content:center; text-align:center; gap:8px; font-size:11px; }
  .brand-page .stage-nav small { display:none; }
  .brand-page .workspace,.brand-page .step-card { padding:22px; }
  .brand-page .workspace h2,.brand-page .step-title { font-size:28px; }
}
@media(max-width:480px) {
  .brand-page .hero h1 { font-size:36px; }
  .brand-page .quick-facts { gap:8px 12px; }
  .brand-page .quick-facts li { font-size:11px; }
  .brand-page .quick-facts li+li::before { padding-right:12px; }
  .brand-page .hero-actions { flex-direction:column; align-items:stretch; }
  .brand-page .hero-actions .quiet-link { text-align:center; }
  .brand-page .download-caption { text-align:center; }
  .brand-page .brand-welcome { grid-template-columns:1fr; gap:16px; }
  .brand-page .brand-welcome .portrait { width:72px; height:92px; }
  .brand-page .workspace,.brand-page .step-card { padding:20px 16px; }
  .brand-page .workspace-context { flex-wrap:wrap; gap:6px; font-size:10px; }
  .brand-page .site-footer { align-items:flex-start; }
}
@media(prefers-reduced-motion:reduce) { .brand-page .button { transition:none; } }
