/* Cloud Computing: shared theme and editorial components. No runtime dependency. */
:root {
  --header-bg: rgba(17, 24, 39, .96);
  --link-hover: #bfdbfe;
  --tag-bg: #22395b;
  --tag-text: #bfdbfe;
  --green-tag-bg: #143d34;
  --green-tag-text: #a7f3d0;
  --diagram-bg: #253449;
  --diagram-active: #334155;
  --diagram-border: #94a3b8;
  --diagram-flow: #93c5fd;
  --badge-blue: #93c5fd;
  --badge-green: #a7f3d0;
  --badge-amber: #fde68a;
  --badge-indigo: #c7d2fe;
  --badge-red: #fda4af;
  --focus-color: #93c5fd;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg-dark: #e8edf3;
  --bg-surface: #f1f5f9;
  --bg-surface-hover: #e2e8f0;
  --bg-card: #ffffff;
  --bg-card-alt: #edf2f7;
  --bg-tertiary: #dce4ef;
  --border-subtle: #cbd5e1;
  --border-medium: #94a3b8;
  --text-primary: #111827;
  --text-secondary: #475569;
  --text-muted: #475569;
  --text-dim: #475569;
  --text-danger: #b91c1c;
  --accent-cyan: #1d4ed8;
  --accent-emerald: #047857;
  --accent-indigo: #4338ca;
  --accent-amber: #92400e;
  --status-concluded-text: #065f46;
  --status-dev-text: #1e40af;
  --status-planned-text: #78350f;
  --header-bg: rgba(241, 245, 249, .96);
  --link-hover: #1e40af;
  --tag-bg: #dbeafe;
  --tag-text: #1e40af;
  --green-tag-bg: #d1fae5;
  --green-tag-text: #065f46;
  --diagram-bg: #f1f5f9;
  --diagram-active: #dbeafe;
  --diagram-border: #64748b;
  --diagram-flow: #1d4ed8;
  --badge-blue: #1d4ed8;
  --badge-green: #065f46;
  --badge-amber: #78350f;
  --badge-indigo: #4338ca;
  --badge-red: #9f1239;
  --focus-color: #1d4ed8;
}
a:hover { color: var(--link-hover); }
.site-header, .site-header.scrolled { background: var(--header-bg); }
.brand-symbol { box-shadow: none; letter-spacing: -.04em; }
:focus-visible { outline: 3px solid var(--focus-color); outline-offset: 4px; }
.section-tag, .hero-pretitle, .filter-btn.active { background: var(--tag-bg); color: var(--tag-text); }
.section-tag-emerald { background: var(--green-tag-bg); color: var(--green-tag-text); }
.theme-toggle {
  padding: .5rem .7rem; color: var(--text-primary); background: var(--bg-card);
  border: 1px solid var(--border-medium); border-radius: var(--radius-sm);
  font: 500 .8125rem var(--font-sans); cursor: pointer; white-space: nowrap;
}
.theme-toggle:hover { background: var(--bg-surface-hover); }
.theme-toggle[hidden] { display: none; }
.nav-menu { gap: 1.3rem; }
.hero-section { padding-block: 4.75rem; }
.hero-name {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: .2rem;
  color: var(--text-primary); background: none; -webkit-text-fill-color: currentColor;
}
.hero-full-name { margin-bottom: 1.5rem; }
.hero-headline {
  font: 700 clamp(2.5rem, 5.2vw, 4.5rem)/1.08 var(--font-sans);
  letter-spacing: -.045em; color: var(--text-primary); margin-bottom: 1.5rem;
}
.hero-pretitle { font-size: .75rem; letter-spacing: .04em; }
.hero-description { max-width: 55ch; }
.hero-visual-card::before { background: var(--accent-cyan); opacity: .65; }
.home-architecture .home-node rect { fill: var(--diagram-bg); stroke: var(--diagram-border); }
.home-architecture .home-flow-pulse { stroke: var(--diagram-flow); }
@keyframes home-node-highlight {
  0%, 22%, 100% { fill: var(--diagram-bg); stroke: var(--diagram-border); }
  6%, 15% { fill: var(--diagram-active); stroke: var(--diagram-flow); }
}
.home-flow-controls { color-scheme: inherit; }
.cloud-section { border-top: 1px solid var(--border-subtle); }
.cloud-section:nth-of-type(even) { background: var(--bg-surface); }
.cloud-section .section-title { max-width: 22ch; }
.cloud-intro { max-width: 72ch; }
.cloud-intro p { font-size: 1.0625rem; }
.cloud-grid, .platform-grid, .cloud-project-grid { display: grid; gap: 1.5rem; }
.cloud-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.platform-grid, .cloud-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cloud-grid h3, .platform-card h3, .cloud-project h3 { font-size: 1.25rem; margin-bottom: .8rem; }
.cloud-grid p, .platform-card p, .cloud-project p { font-size: .9375rem; }
.cloud-index { font: .75rem var(--font-mono); color: var(--accent-cyan); display: block; margin-bottom: 1.25rem; }
.cloud-kicker { font-size: .75rem; color: var(--text-secondary); font-weight: 600; letter-spacing: .035em; }
.cloud-project { display: flex; flex-direction: column; gap: .6rem; }
.cloud-project-top { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; justify-content: space-between; margin-bottom: .75rem; }
.cloud-project .badge { white-space: normal; }
.cloud-project .tech-list { margin-block: .5rem 1rem; }
.cloud-project-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .6rem; }
.project-facts { border-top: 1px solid var(--border-subtle); padding-top: 1rem; }
.project-facts dt { font-size: .75rem; font-weight: 600; color: var(--text-primary); margin-bottom: .4rem; }
.project-facts dd { margin: 0 0 1rem; font-size: .875rem; color: var(--text-secondary); }
.platform-card .tech-list { margin-bottom: 1.25rem; }
.section-end { margin-top: 2rem; }
.catalogue-heading { margin-block: 2rem 1.5rem; max-width: 75ch; }
.catalogue-heading h2 { font-size: 1.5rem; }
.cloud-catalogue { gap: 1.5rem; }
.cloud-catalogue .card-featured { order: initial; }
.cloud-catalogue .card-featured-label { color: var(--accent-cyan); }
.credentials-section { margin-top: 2rem; }
.credentials-section, .credential-group, #cloud-platforms { scroll-margin-top: calc(var(--header-height) + 1.5rem); }
.credential-group { padding-block: 1.5rem; border-top: 1px solid var(--border-subtle); margin-top: 1rem; }
.credential-group h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.credential-group h4 { margin-block: 1.5rem 1rem; }
.preparation-list { list-style: none; display: grid; gap: .85rem; }
.preparation-list li { padding: 1rem; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); }
.preparation-list strong, .preparation-list span { display: block; }
.preparation-list strong { font-size: .9375rem; }
.preparation-list span { font-size: .8125rem; color: var(--text-secondary); margin-top: .25rem; }
.academy-preview { background: var(--bg-surface); }
.btn-sim-online:hover, .btn-sim-online.active, .arch-status-banner.is-online, .arch-field-code { color: var(--badge-blue); }
.btn-sim-offline:hover, .btn-sim-offline.active { color: var(--badge-amber); }
.arch-status-banner.is-offline { color: var(--text-danger); }
@media (max-width: 991px) {
  .cloud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-section { padding-block: 3rem; }
}
@media (max-width: 767px) {
  .cloud-grid, .platform-grid, .cloud-project-grid { grid-template-columns: minmax(0, 1fr); }
  .cloud-section .section-title { max-width: none; }
  .hero-headline { font-size: clamp(2.5rem, 10vw, 4rem); }
}

.complementary-links { display: grid; gap: .75rem; }
.complementary-links a { padding: 1rem 0; border-bottom: 1px solid var(--border-subtle); font-weight: 600; }
.complementary-links span { display: block; font-size: .8125rem; color: var(--text-secondary); font-weight: 400; margin-top: .25rem; }

.page-title-section {
  padding-block: 4rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}
.page-title { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.page-subtitle { max-width: 70ch; font-size: 1.125rem; color: var(--text-secondary); }
.page-title-section + .section { padding-top: 3rem; }

.email-copy-button {
  padding: 0; border: 0; background: transparent; color: inherit; font: inherit;
  text-align: left; cursor: pointer; overflow-wrap: anywhere; user-select: all;
}
.email-copy-button:hover { color: var(--accent-cyan); }
.email-copy-status { margin: .5rem 0 0; font-size: .875rem; color: var(--text-secondary); }
