/* DevOps Tribune Design System v1.5 */
:root {
  --ink: #101b2d;
  --muted: #596c7a;
  --navy: #0b1424;
  --navy-soft: #142136;
  --blue: #2b73f5;
  --blue-hover: #1e5ecf;
  --aqua: #86ebd1;
  --aqua-soft: #b7f4ed;
  --line: #e5eaf0;
  --surface: #f5f7fa;
  --surface-card: #ffffff;
  --border: #dce5eb;
  --border-dark: #324158;
  --max: 1220px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

button, input, textarea { font: inherit; }

.wrap {
  max-width: var(--max);
  margin: auto;
  padding-left: 28px;
  padding-right: 28px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: #ffffff;
  color: var(--navy);
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 700;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.skip:focus { left: 16px; }

.topline {
  background: #080e19;
  color: #93a1b5;
  display: flex;
  justify-content: space-between;
  padding: 10px max(28px, calc((100vw - 1164px) / 2));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  height: 86px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
}

.brandmark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brandmark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 800;
  color: var(--navy);
}

.brand-light { font-weight: 400; }

.brand small {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .22em;
  color: #788497;
  margin-top: 5px;
}

.nav nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.nav nav a {
  font-size: 13px;
  font-weight: 700;
  color: #475469;
  transition: color .15s ease;
}

.nav nav a:hover, .text-link:hover {
  color: var(--blue);
}

.nav-cta, .primary {
  background: var(--blue);
  color: #ffffff;
  border-radius: 7px;
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  gap: 16px;
  align-items: center;
  transition: background .15s ease;
}

.nav-cta:hover, .primary:hover {
  background: var(--blue-hover);
}

.menu {
  display: none;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
}

/* Hero Section */
.hero {
  background: var(--navy);
  color: #ffffff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  padding-top: 86px;
  padding-bottom: 92px;
}

.eyebrow, .kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.eyebrow {
  color: var(--aqua);
  display: flex;
  align-items: center;
  gap: 9px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--aqua);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(134, 235, 209, 0.15);
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: -.05em;
  margin: 24px 0 16px;
}

.hero-subhead {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--aqua-soft);
  letter-spacing: -.03em;
  margin: 0 0 18px;
  line-height: 1.35;
}

.hero h1 em {
  color: var(--aqua);
  font-style: normal;
}

.hero-copy > p {
  color: #b4bfce;
  font-size: 16px;
  line-height: 1.8;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.secondary {
  border: 1px solid #526176;
  color: #ffffff;
  border-radius: 7px;
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  gap: 16px;
  transition: border-color .15s ease, background .15s ease;
}

.secondary:hover {
  border-color: #8c9aaf;
  background: rgba(255, 255, 255, 0.05);
}

.hero-note {
  margin-top: 60px;
  font-size: 11px;
  letter-spacing: .13em;
  color: #8c9aaf;
}

.hero-note span:first-child {
  color: var(--aqua);
  margin-right: 18px;
}

.dot { padding: 0 8px; }

/* Hero Terminal Card */
.hero-panel {
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.terminal-top {
  background: #1b293e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font-size: 11px;
  color: #9daec3;
}

.lights { display: flex; gap: 6px; }
.lights i {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  display: inline-block;
}
.lights i:nth-child(1) { background: #f37e79; }
.lights i:nth-child(2) { background: #eac66c; }
.lights i:nth-child(3) { background: #6ccfa3; }

.terminal-body {
  background: #101d30;
  padding: 28px 24px 32px;
  position: relative;
  font-family: var(--font-mono);
}

.line {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
  font-size: 13px;
}

.line > span { color: #62758e; user-select: none; }
.line code { color: #e2ebf5; font-family: inherit; }
.line code.muted { color: #8296ac; }
.line code.green { color: var(--aqua); }

.terminal-rule {
  height: 1px;
  background: #344258;
  margin: 28px 0 22px;
}

.panel-label {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--aqua);
  letter-spacing: .18em;
  font-weight: 800;
}

.terminal-body h2, .terminal-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: #ffffff;
  margin: 10px 0;
}

.terminal-body p {
  font-family: var(--font-sans);
  color: #a1b1c6;
  font-size: 13px;
  margin: 0;
}

.corner {
  position: absolute;
  right: 24px;
  bottom: 26px;
  color: var(--aqua);
  font-size: 24px;
}

/* Ticker Bar */
.ticker {
  border-bottom: 1px solid var(--line);
  background: #f7f9fc;
}

.ticker-inner {
  min-height: 60px;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  overflow: hidden;
  font-size: 11px;
  letter-spacing: .1em;
  color: #627086;
  font-weight: 700;
}

.ticker strong { color: var(--blue); }
.ticker b { color: #b4c0ce; }

/* Sections */
.section {
  padding-top: 86px;
  padding-bottom: 90px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 34px;
}

.kicker { color: var(--blue); }

.section-heading h2, .newsletter h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -.05em;
  margin: 10px 0;
}

.accent { color: var(--blue); }

.section-heading p {
  color: var(--muted);
  font-size: 15px;
  margin: 8px 0 0;
}

.text-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

.text-link:hover {
  color: var(--blue);
  border-color: var(--blue);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
}

.story {
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}

.story:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(18, 32, 45, 0.06);
}

.story-visual {
  height: 180px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.story-main .story-visual { height: 210px; }

.visual-a {
  background: linear-gradient(130deg, #0e1f3b, #194d82);
}

.visual-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  transform: perspective(200px) rotateX(15deg);
}

.visual-code {
  font-family: var(--font-mono);
  font-size: 20px;
  color: #c8dcf4;
  z-index: 1;
}

.visual-code b { color: var(--aqua); }
.visual-b { background: #e8f0ff; }
.visual-c { background: #e9f7f3; }
.visual-d { background: #fef3e7; }
.visual-e { background: #f3e8ff; }

.visual-symbol {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 64px;
  color: #3a76e8;
}

.visual-c .visual-symbol { color: #2ca68a; }
.visual-d .visual-symbol { color: #d97706; }
.visual-e .visual-symbol { color: #7c3aed; }

.feature-grid-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.story-body {
  padding: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.tag {
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 800;
  color: var(--blue);
}

.tag span { color: #a0adbd; padding: 0 4px; }

.story h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.03em;
  margin: 12px 0;
}

.story p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 20px;
}

.story-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8c99aa;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.story-foot span { font-size: 16px; color: var(--blue); }

.sample-note {
  font-size: 12px;
  color: #8a95a5;
  margin-top: 18px;
  font-style: italic;
}

/* Topics Grid */
.topics-band {
  background: #f3f6fa;
  max-width: none;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.topics-grid a {
  min-height: 180px;
  border: 1px solid #e1e7ee;
  border-radius: 10px;
  background: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}

.topics-grid a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(19, 41, 68, 0.08);
}

.topic-icon {
  font-size: 28px;
  color: var(--blue);
  margin-bottom: 24px;
}

.topics-grid strong {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.topics-grid small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.topic-arrow {
  position: absolute;
  right: 20px;
  top: 20px;
  color: #9aa9b9;
}

/* Resource Grid */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.resource {
  background: #0d1b2e;
  color: #ffffff;
  border-radius: 11px;
  padding: 28px;
  min-height: 270px;
  display: flex;
  flex-direction: column;
}

.resource:nth-child(2) { background: #12395a; }
.resource:nth-child(3) { background: #174e55; }

.resource-num {
  font-size: 10px;
  letter-spacing: .12em;
  color: #a2c0d0;
  font-weight: 800;
}

.resource-icon {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 38px;
  color: var(--aqua);
  margin: 16px 0;
}

.resource h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 0 0 10px;
}

.resource p {
  font-size: 13px;
  line-height: 1.65;
  color: #c1d1df;
  margin: 0 0 20px;
}

.resource-status {
  margin-top: auto;
  color: var(--aqua);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

/* Newsletter CTA */
.newsletter {
  background: #eaf2fc;
  padding: 72px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.newsletter p {
  color: #637286;
  line-height: 1.75;
  max-width: 480px;
  font-size: 15px;
}

.signup {
  background: #ffffff;
  border: 1px solid #d8e3f0;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(29, 74, 119, 0.08);
}

.signup label {
  display: block;
  font-size: 11px;
  letter-spacing: .13em;
  font-weight: 800;
  margin-bottom: 10px;
  color: #475469;
}

.input-row {
  display: flex;
  gap: 8px;
}

.input-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid #dbe2eb;
  border-radius: 6px;
  padding: 13px 14px;
  font-size: 14px;
}

.input-row button {
  background: var(--blue);
  color: #ffffff;
  border: 0;
  border-radius: 6px;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease;
}

.input-row button:hover {
  background: var(--blue-hover);
}

.signup small {
  display: block;
  color: #8894a4;
  margin-top: 12px;
  font-size: 12px;
}

/* Learning Resources Extra Cards */
.learning-extra-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}

.learning-pill-card {
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 24px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.learning-pill-card strong {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.learning-pill-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 14px;
}

.card-status-badge {
  margin-top: auto;
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 800;
  color: var(--blue);
}

/* Tools Catalog Grid */
.tools-section {
  border-top: 1px solid var(--line);
}

.tools-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tools-catalog-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.tools-catalog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(18, 32, 45, 0.05);
}

.tools-catalog-card .badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--blue);
  margin-bottom: 10px;
}

.tools-catalog-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy);
}

.tools-catalog-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tool-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 4px;
  color: #475467;
}

/* Pillars / Best Practices Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pillar-card {
  border: 1px solid #e1e8f0;
  border-radius: 10px;
  background: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(18, 32, 45, 0.05);
}

.pillar-icon {
  font-size: 22px;
  color: var(--blue);
  margin-bottom: 12px;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy);
}

.pillar-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Troubleshooting Grid */
.troubleshoot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.troubleshoot-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.troubleshoot-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(18, 32, 45, 0.05);
}

.troubleshoot-card code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue);
  background: #edf2f9;
  padding: 3px 7px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
  align-self: flex-start;
  font-weight: 700;
  letter-spacing: .05em;
}

.troubleshoot-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy);
}

.troubleshoot-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Informational & Policy Pages (v1.5) */
.info-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 28px 96px;
}

.info-shell .eyebrow {
  margin-bottom: 14px;
}

.info-shell h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.04em;
  margin: 0 0 16px;
}

.info-lead {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.notice-banner {
  background: #fff8eb;
  border: 1px solid #fed89a;
  border-left: 5px solid #d97706;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 28px 0 36px;
  font-size: 14px;
  line-height: 1.65;
  color: #92400e;
}

.notice-banner strong {
  display: block;
  font-weight: 800;
  margin-bottom: 4px;
}

.info-shell section {
  margin-bottom: 36px;
}

.info-shell h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
  margin: 32px 0 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.info-shell p, .info-shell li {
  font-size: 15px;
  line-height: 1.75;
  color: #374151;
}

.info-shell ul {
  padding-left: 22px;
  margin: 12px 0 20px;
}

.info-shell a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-shell a:hover {
  color: var(--blue-hover);
}

.contact-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.contact-card {
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 24px;
  border-radius: 10px;
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--navy);
}

.contact-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 14px;
}

.contact-card code {
  background: #e2e8f0;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
}

/* Technical Article and Guide Layouts */
.article-shell {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 28px 96px;
}

.article-breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.article-breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.article-breadcrumbs a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.article-breadcrumbs span.sep {
  opacity: 0.5;
}

.article-header {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.article-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.035em;
  margin: 12px 0 18px;
  color: var(--navy);
}

.article-lead {
  font-size: 18px;
  color: #374151;
  line-height: 1.65;
  margin-bottom: 24px;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 13px;
  color: var(--muted);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 12px 18px;
  border-radius: 8px;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-meta-item strong {
  color: var(--ink);
}

.article-tag {
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-shell h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
  margin: 44px 0 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.article-shell h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--navy);
  margin: 30px 0 12px;
}

.article-shell p, .article-shell li {
  font-size: 16px;
  line-height: 1.75;
  color: #273142;
}

.article-shell ul, .article-shell ol {
  padding-left: 24px;
  margin: 14px 0 22px;
}

.article-shell li {
  margin-bottom: 8px;
}

.article-shell a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-shell a:hover {
  color: var(--blue-hover);
}

.article-shell code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: #f1f5f9;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.code-block {
  margin: 24px 0 32px;
  border-radius: 8px;
  overflow: hidden;
  background: #0d1522;
  border: 1px solid #233145;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #142033;
  padding: 8px 16px;
  border-bottom: 1px solid #233145;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #94a3b8;
}

.code-block pre {
  margin: 0;
  padding: 16px 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  color: #e2e8f0;
  background: transparent;
}

.code-block code {
  background: transparent;
  color: inherit;
  padding: 0;
  border: none;
  font-size: inherit;
}

.callout {
  border-left: 4px solid var(--blue);
  background: #f0f7ff;
  border-radius: 6px;
  padding: 18px 22px;
  margin: 28px 0;
}

.callout-title {
  font-weight: 700;
  font-size: 15px;
  color: #1e40af;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.callout p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #1e3a8a;
}

.callout-warn {
  border-left-color: #f59e0b;
  background: #fffbeb;
}

.callout-warn .callout-title {
  color: #92400e;
}

.callout-warn p {
  color: #78350f;
}

.tech-table-container {
  overflow-x: auto;
  margin: 28px 0 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.tech-table th {
  background: #f8fafc;
  color: var(--navy);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  letter-spacing: .02em;
}

.tech-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: #374151;
}

.tech-table tr:last-child td {
  border-bottom: none;
}

.tech-table tr:nth-child(even) td {
  background: #fafbfc;
}

.article-toc {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 28px 0 36px;
}

.article-toc-title {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 12px;
}

.article-toc ol {
  margin: 0;
  padding-left: 20px;
}

.article-toc li {
  font-size: 14px;
  margin-bottom: 6px;
}

/* Footer */
.footer {
  background: #0b1424;
  color: #c1ccdc;
}

.footer-top {
  padding-top: 64px;
  padding-bottom: 56px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: #ffffff;
  letter-spacing: -.05em;
  display: inline-block;
  text-decoration: none;
  transition: opacity .15s ease;
}

.footer-brand:hover {
  opacity: 0.9;
}

.footer-brand span { font-weight: 400; }
.footer-brand b { color: var(--aqua); }

.footer p {
  font-size: 13px;
  line-height: 1.75;
  color: #899ab0;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: flex-start;
  max-width: 650px;
  font-size: 13px;
}

.footer-links a {
  color: #c1ccdc;
  transition: color .15s ease;
}

.footer-links a:hover {
  color: var(--aqua);
}

.footer-bottom {
  border-top: 1px solid #29374b;
  padding-top: 22px;
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .1em;
  color: #78899f;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .nav { gap: 20px; }
  .nav nav { gap: 16px; }
  .hero-grid { gap: 32px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .story-main { grid-column: span 2; }
  .topics-grid, .pillars-grid, .tools-catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; }
}

@media (max-width: 768px) {
  .topline span:last-child { display: none; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav { height: 72px; gap: 12px; }
  .brand { font-size: 18px; }
  .brandmark { width: 38px; height: 38px; }
  .menu { display: block; margin-left: auto; }
  .nav nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px 24px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav nav.open { display: flex; }
  .nav-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 60px; }
  .hero h1 { font-size: 42px; }
  .hero-note { margin-top: 36px; }
  .hero-panel { transform: none; }
  .ticker-inner { gap: 20px; justify-content: flex-start; }
  .section { padding-top: 60px; padding-bottom: 64px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .feature-grid, .feature-grid-secondary, .topics-grid, .resource-grid, .news-grid, .contact-card-grid, .pillars-grid, .tools-catalog-grid, .learning-extra-row { grid-template-columns: 1fr; }
  .story-main { grid-column: auto; }
  .story-main .story-visual { height: 180px; }
  .news-grid { gap: 28px; }
  .newsletter { padding: 56px 0; }
  .input-row { flex-direction: column; }
  .input-row button { padding: 14px; }
  .footer-bottom { gap: 12px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
