/* ── Reset & tokens ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #1a1a6e;
  --blue-light: #f0f0f8;
  --blue-mid:   #c8c8e8;
  --accent:     #5a6a7a;
  --text:       #111111;
  --text-muted: #666666;
  --border:     #d4d4d4;
  --border-dark:#999999;
  --bg:         #ffffff;
  --bg-alt:     #ffffff;
  --bg-paper:   #ffffff;
  --radius:     4px;
  --radius-lg:  6px;
  --serif:      'Fraunces', Georgia, serif;
  --sans:       'Inter', system-ui, sans-serif;
  --max:        1140px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg-paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

/* Top bar */
.nav-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
  height: 68px;
}

.nav-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text);
  justify-self: start;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  justify-content: center;
  line-height: 1;
}

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.logo-accent { color: #c0392b; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
}

.nav-search {
  font-size: 16px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-search:hover { color: var(--text); }

.nav-cta {
  background: #111111;
  color: #fff;
  padding: 7px 16px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.88; }

/* Bottom nav bar */
.nav-bottom {
  border-top: 1px solid var(--border);
  background: var(--bg-paper);
}

.nav-bottom-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: center;
  gap: 36px;
  height: 42px;
  align-items: center;
}

.nav-bottom-inner a {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--text);
  transition: color 0.15s;
  white-space: nowrap;
}

.nav-bottom-inner a:hover { color: #1a2744; }

/* ── Shared layout ───────────────────────────────────────── */
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
}

.section-header h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.see-all { font-size: 14px; color: #3a4a5a; }
.see-all:hover { text-decoration: underline; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.88; }

.btn-secondary {
  display: inline-block;
  color: var(--text);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  border: 0.5px solid var(--border);
  transition: background 0.15s;
}
.btn-secondary:hover { background: var(--bg-alt); }

.btn-sm { padding: 7px 14px; font-size: 13px; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  padding: 72px 0 56px;
  border-bottom: 0.5px solid var(--border);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  color: #3a4a5a;
  background: #eceef0;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.2px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1px;
  max-width: 640px;
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: italic;
  color: #1a2744;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 0.5px solid var(--border);
}

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-n { font-size: 22px; font-weight: 600; letter-spacing: -0.5px; }
.stat-l { font-size: 12px; color: var(--text-muted); }

/* ── Cards ───────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.story-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color 0.15s, transform 0.15s;
}

.story-card:hover {
  border-color: var(--blue-mid);
  transform: translateY(-2px);
}

.story-card h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.card-tag {
  font-size: 11px;
  font-weight: 500;
  color: #5a6a7a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.card-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Home blog grid ──────────────────────────────────────── */
.home-blog-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.home-blog-main { min-width: 0; }

/* Featured post */
.blog-featured {
  display: block;
  text-decoration: none;
  color: inherit;
  border-bottom: 0.5px solid var(--border);
  padding-bottom: 32px;
  margin-bottom: 32px;
}

.blog-featured-img {
  width: 100%;
  aspect-ratio: 16 / 7;
  background: var(--surface);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  border: 0.5px solid var(--border);
}

.blog-featured-body .card-tag { margin-bottom: 8px; display: block; }

.blog-featured-body h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin: 6px 0 10px;
}

.blog-featured:hover h3 { color: #1a2744; }

.blog-featured-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

/* More posts label */
.blog-rest-header {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ── Blog list ───────────────────────────────────────────── */
.blog-list { display: flex; flex-direction: column; gap: 0; }

.blog-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 0.5px solid var(--border);
  transition: color 0.15s;
}

.blog-row:first-child { border-top: 0.5px solid var(--border); }

.blog-row h3 {
  font-size: 15px;
  font-weight: 500;
  margin-top: 4px;
  line-height: 1.4;
}

.blog-row:hover h3 { color: #1a2744; }

/* ── Blog sidebar ────────────────────────────────────────── */
.blog-sidebar {
  position: sticky;
  top: 24px;
}

.sidebar-heading {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid var(--border);
}

.sidebar-story {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--border);
}

.sidebar-story .card-tag { display: block; margin-bottom: 4px; }

.sidebar-story-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 5px;
}

.sidebar-story:hover .sidebar-story-title { color: #1a2744; }

@media (max-width: 768px) {
  .home-blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-sidebar { position: static; }
}

/* ── Products ─────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.product-featured {
  border: 2px solid var(--blue);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 16px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 10px;
}

.product-icon { font-size: 28px; }

.product-card h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.product-card p {
  font-size: 13px;
  color: var(--text-muted);
  flex: 1;
  line-height: 1.55;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.price {
  font-size: 16px;
  font-weight: 600;
  color: #3a4a5a;
}

.price del {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 6px;
}

/* ── Newsletter ───────────────────────────────────────────── */
.newsletter-section { padding: 48px 0; }

.newsletter-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.newsletter-box h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: #0C447C;
  margin-bottom: 4px;
}

.newsletter-box p {
  font-size: 14px;
  color: #185FA5;
}

.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }

.newsletter-form input {
  padding: 9px 14px;
  border: 0.5px solid var(--blue-mid);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--sans);
  background: #fff;
  min-width: 220px;
  outline: none;
}

.newsletter-form input:focus { border-color: #5a6a7a; }

.newsletter-form button {
  padding: 9px 18px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--sans);
  cursor: pointer;
}

/* ── Article ──────────────────────────────────────────────── */
.article-page { padding: 48px 0 80px; }

.article-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

.article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.article-inner h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 32px;
}

.yt-embed {
  aspect-ratio: 16/9;
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.yt-embed iframe { width: 100%; height: 100%; }

.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}

.article-body h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  margin: 40px 0 12px;
}

.article-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 8px;
}

.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { margin-bottom: 6px; }
.article-body code { font-family: monospace; background: var(--bg-alt); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }
.article-body pre { background: #1a1a1a; color: #e8e8e8; padding: 20px; border-radius: var(--radius); overflow-x: auto; margin-bottom: 20px; }
.article-body pre code { background: none; padding: 0; color: inherit; }
.article-body blockquote { border-left: 3px solid var(--blue); padding-left: 20px; color: var(--text-muted); font-style: italic; margin: 24px 0; }
/* ── Project Architectures ───────────────────────────────── */
.arch-hero {
  background: var(--bg-paper);
  border-bottom: 2px solid var(--text);
  padding: 48px 0 36px;
}
.arch-hero-title { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; margin: 8px 0 12px; color: var(--text); }
.arch-hero-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 540px; }

.arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.arch-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.arch-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }

.arch-card-top { display: flex; align-items: center; justify-content: space-between; }

.arch-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em;
  background: #eceef0; color: #3a4a5a;
}
.arch-icon[data-tag="KUBERNETES"] { background: #e0eaff; color: #3b62d4; }
.arch-icon[data-tag="AWS"]        { background: #fff3e0; color: #e07b00; }
.arch-icon[data-tag="CI/CD"]      { background: #e8f5e9; color: #2e7d32; }

.arch-difficulty {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase;
}
.arch-difficulty-Beginner     { background: #e8f5e9; color: #2e7d32; }
.arch-difficulty-Intermediate { background: #fff8e1; color: #f57f17; }
.arch-difficulty-Advanced     { background: #fce4ec; color: #c62828; }

.arch-card-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.arch-card-desc  { font-size: 0.9rem; color: var(--text-muted); flex: 1; }
.arch-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.arch-read-more  { font-size: 0.85rem; color: #3a4a5a; font-weight: 600; }

/* Detail page */
.arch-detail-hero {
  background: var(--bg-paper);
  border-bottom: 2px solid var(--text);
  padding: 48px 0 36px;
}
.arch-back { color: var(--text-muted); font-size: 0.85rem; text-decoration: none; display: inline-block; margin-bottom: 16px; }
.arch-back:hover { color: var(--text); }
.arch-detail-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.arch-detail-title { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.arch-detail-desc  { font-size: 1rem; color: var(--text-muted); max-width: 600px; }

.arch-detail-body {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 60px;
  align-items: start;
}
@media (max-width: 700px) { .arch-detail-body { grid-template-columns: 1fr; } }

.arch-block { margin-bottom: 36px; }
.arch-block h2 { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; margin-bottom: 14px; }

.arch-components { display: flex; flex-wrap: wrap; gap: 8px; }
.arch-component-tag {
  background: #eceef0; color: #3a4a5a;
  padding: 5px 14px; border-radius: 20px;
  font-size: 0.82rem; font-weight: 600;
}

.arch-used-at { font-size: 0.95rem; color: var(--text-muted); }

.arch-interview-block { background: #fff8e1; border-left: 3px solid #f59e0b; padding: 20px; border-radius: 8px; }
.arch-interview-q { font-size: 0.95rem; font-style: italic; color: #92400e; }

.arch-cta-block {
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 8px;
}
.arch-cta-block h2 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 8px; }
.arch-cta-block p  { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 18px; }

.arch-sidebar { position: sticky; top: 80px; }
.arch-sidebar .section-label { margin-bottom: 16px; }
.arch-sidebar-item {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.arch-sidebar-item:last-child { border-bottom: none; }
.arch-sidebar-icon {
  width: 38px; height: 38px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700;
  background: #eceef0; color: #3a4a5a;
}
.arch-sidebar-icon[data-tag="KUBERNETES"] { background: #e0eaff; color: #3b62d4; }
.arch-sidebar-icon[data-tag="AWS"]        { background: #fff3e0; color: #e07b00; }
.arch-sidebar-icon[data-tag="CI/CD"]      { background: #e8f5e9; color: #2e7d32; }
.arch-sidebar-title { font-size: 0.88rem; font-weight: 600; margin-bottom: 4px; }

/* ── Section helpers ─────────────────────────────────────── */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  border-bottom: 2px solid var(--text);
  padding-bottom: 6px;
  margin-bottom: 20px;
  display: block;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-header .section-label { margin-bottom: 0; border: none; padding: 0; }
.see-all { font-size: 13px; color: #3a4a5a; font-weight: 600; }

/* ── Homepage layout ─────────────────────────────────────── */
.home-wrapper { max-width: var(--max); margin: 0 auto; padding: 24px 32px; }

.home-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

@media (max-width: 820px) {
  .home-inner { grid-template-columns: 1fr; }
}

/* ── What's New ──────────────────────────────────────────── */
.wn-featured {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

@media (max-width: 600px) {
  .wn-featured { grid-template-columns: 1fr; }
}

.wn-featured:hover .wn-featured-title { color: #1a2744; }

.wn-featured-body { display: flex; flex-direction: column; gap: 8px; }
.wn-featured-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.15s;
}
.wn-featured-excerpt { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.wn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 540px) { .wn-grid { grid-template-columns: 1fr; } }

.wn-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
}
.wn-card:hover .wn-card-title { color: #1a2744; }
.wn-card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.wn-card-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.15s;
}

/* Tag-based thumbnail colours */
.wn-thumb {
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  background: var(--blue-light);
  flex-shrink: 0;
}

.wn-thumb-lg { aspect-ratio: 1/1; height: auto; width: 360px; flex-shrink: 0; }
.wn-thumb-sm { aspect-ratio: 1/1; height: 130px; width: 130px; flex-shrink: 0; }

.wn-thumb-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.35);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
}

.wn-thumb[data-tag="DEVOPS"]     { background: linear-gradient(135deg, #185FA5 0%, #0C3D6F 100%); }
.wn-thumb[data-tag="KUBERNETES"] { background: linear-gradient(135deg, #3b62d4 0%, #1e3a8a 100%); }
.wn-thumb[data-tag="AWS"]        { background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); }
.wn-thumb[data-tag="CI/CD"]      { background: linear-gradient(135deg, #22c55e 0%, #166534 100%); }
.wn-thumb[data-tag="TERRAFORM"]  { background: linear-gradient(135deg, #374151 0%, #1f2937 100%); }
.wn-thumb[data-tag="DOCKER"]     { background: linear-gradient(135deg, #06b6d4 0%, #0e7490 100%); }
.wn-thumb[data-tag="LINUX"]      { background: linear-gradient(135deg, #6b7280 0%, #374151 100%); }

/* ── Home sidebar ────────────────────────────────────────── */
.home-sidebar { position: sticky; top: 80px; }

.sidebar-blog-list { display: flex; flex-direction: column; }

.sidebar-blog-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-blog-item:first-child { border-top: 1px solid var(--border); }
.sidebar-blog-item:hover .sidebar-blog-title { color: #1a2744; }

.sidebar-blog-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.15s;
}

.sidebar-see-all {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: #3a4a5a;
  font-weight: 600;
  text-decoration: none;
}

/* ── Videos carousel ─────────────────────────────────────── */
.videos-section {
  background: linear-gradient(135deg, #0C3D6F 0%, #185FA5 60%, #1e6bb8 100%);
  padding: 48px 0;
}

.videos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.videos-label { color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.2); margin-bottom: 0; }

.videos-channel-link {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  text-decoration: none;
}
.videos-channel-link:hover { color: #fff; }

.videos-track-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.videos-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
  flex: 1;
}
.videos-track::-webkit-scrollbar { display: none; }

.video-card {
  flex-shrink: 0;
  width: 260px;
  scroll-snap-align: start;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: rgba(0,0,0,0.3);
}

.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.15s;
}
.video-card:hover .video-play { opacity: 1; }

.video-title { font-size: 0.85rem; font-weight: 500; line-height: 1.4; color: rgba(255,255,255,0.9); }

.videos-arrow {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.videos-arrow:hover { background: rgba(255,255,255,0.25); }

/* ── Tools grid ──────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.tool-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.18s, transform 0.18s;
}
.tool-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.08); transform: translateY(-2px); }

.tool-card-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: #eceef0;
  color: #3a4a5a;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.03em;
  flex-shrink: 0;
}

.tool-card-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tool-card-body h3 { font-size: 0.95rem; font-weight: 700; }
.tool-card-tagline { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }

.tool-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.tool-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.tool-badge-bundle { background: #eceef0; color: #3a4a5a; border-color: var(--blue-mid); }

/* ── Tools list page ─────────────────────────────────────── */
.tools-hero { background: var(--bg-paper); border-bottom: 2px solid var(--text); padding: 48px 0 36px; }
.tools-hero h1 { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--text); margin: 8px 0 12px; }
.tools-hero p  { font-size: 1rem; color: var(--text-muted); }
.tools-hero .arch-back { color: var(--text-muted); }

.tools-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px 0;
}

.tool-page-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.18s, transform 0.18s;
}
.tool-page-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.tool-page-card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: #eceef0;
  color: #3a4a5a;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
}
.tool-page-card h2 { font-size: 1.1rem; font-weight: 700; }
.tool-page-card p  { font-size: 0.88rem; color: var(--text-muted); flex: 1; }

/* ── Tool detail page ────────────────────────────────────── */
.tool-detail-hero { background: var(--blue); color: #fff; padding: 56px 0; }
.tool-detail-hero h1 { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: #fff; margin: 10px 0 14px; }
.tool-detail-hero p  { font-size: 1rem; opacity: 0.85; max-width: 560px; }
.tool-detail-hero .section-label { color: rgba(255,255,255,0.6); }

.tool-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  padding: 40px 0;
}

.tool-product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.tool-product-card.featured { border: 2px solid var(--blue); }
.tool-product-badge {
  position: absolute; top: -12px; left: 16px;
  background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 2px 12px; border-radius: 20px;
}
.tool-product-icon { font-size: 1.6rem; }
.tool-product-card h3 { font-size: 1rem; font-weight: 700; }
.tool-product-card p  { font-size: 0.85rem; color: var(--text-muted); flex: 1; line-height: 1.55; }
.tool-product-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px;
}
.tool-product-price { font-size: 1.1rem; font-weight: 700; color: #3a4a5a; }

/* ── Button ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-primary:hover { background: #0C447C; }

/* ── Empty state ─────────────────────────────────────────── */
.empty-state { font-size: 0.9rem; color: var(--text-muted); }

/* ── Tools categories ────────────────────────────────────── */
.tools-category {
  margin-bottom: 48px;
}
.tools-category:last-child { margin-bottom: 0; }

.tools-category-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-light);
  display: inline-block;
}

/* ── Blog list page ──────────────────────────────────────── */
.page-header {
  background: var(--bg-paper);
  border-bottom: 2px solid var(--text);
  padding: 40px 0 32px;
}
.page-header h1 { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.5px; }
.page-header p  { font-size: 1rem; color: var(--text-muted); }

/* Featured blog card */
.blog-featured-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
  text-decoration: none;
  color: inherit;
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 620px) { .blog-featured-card { grid-template-columns: 1fr; } }

.blog-featured-card:hover .bfc-title { color: #1a2744; }

.bfc-thumb {
  height: 200px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  background: var(--blue-light);
}
.bfc-thumb[data-tag="DEVOPS"]     { background: linear-gradient(135deg, #185FA5 0%, #0C3D6F 100%); }
.bfc-thumb[data-tag="KUBERNETES"] { background: linear-gradient(135deg, #3b62d4 0%, #1e3a8a 100%); }
.bfc-thumb[data-tag="AWS"]        { background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); }
.bfc-thumb[data-tag="CI/CD"]      { background: linear-gradient(135deg, #22c55e 0%, #166534 100%); }

.bfc-body { display: flex; flex-direction: column; gap: 10px; }
.bfc-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.15s;
}
.bfc-excerpt { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.blog-grid-card {
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.18s;
}
.blog-grid-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.09); transform: translateY(-2px); }
.blog-grid-card:hover .bgc-title { color: #1a2744; }

.bgc-thumb {
  height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 10px;
  background: var(--blue-light);
}
.bgc-thumb[data-tag="DEVOPS"]     { background: linear-gradient(135deg, #185FA5 0%, #0C3D6F 100%); }
.bgc-thumb[data-tag="KUBERNETES"] { background: linear-gradient(135deg, #3b62d4 0%, #1e3a8a 100%); }
.bgc-thumb[data-tag="AWS"]        { background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); }
.bgc-thumb[data-tag="CI/CD"]      { background: linear-gradient(135deg, #22c55e 0%, #166534 100%); }

.bgc-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.bgc-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.15s;
}

/* ── Category cards (tools list page) ───────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  background: var(--bg);
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
  cursor: pointer;
}
.cat-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
  border-color: var(--blue-mid);
}

.cat-card-top { display: flex; justify-content: flex-end; }
.cat-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cat-card-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
}

.cat-tool-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-pill {
  background: #eceef0;
  color: #3a4a5a;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.cat-card-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: #3a4a5a;
  margin-top: auto;
}

/* ── Newspaper overrides ─────────────────────────────────── */

/* Nav - clean rule line */
.site-header { border-bottom: none; }
.nav-top { border-bottom: 1px solid var(--border); }
.nav-bottom { border-top: none; border-bottom: 3px double var(--border-dark); }

/* Logo */
.logo { font-family: var(--serif); font-size: 30px; font-weight: 700; letter-spacing: -1px; }
.logo-dot { display: none; }
.logo-accent { color: #c0392b; }

/* Nav CTA */
.nav-cta {
  background: var(--text);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 2px;
}
.nav-cta:hover { background: #333; }

/* What's New — newspaper titles */
.wn-featured-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.wn-card-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Sidebar */
.sidebar-blog-title { font-family: var(--serif); font-size: 0.92rem; font-weight: 600; }
.sidebar-see-all { color: var(--text); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }

/* Blog featured */
.bfc-title { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.3px; }
.bgc-title { font-family: var(--serif); font-size: 1rem; font-weight: 700; }

/* Card tag - accent stripe */
.card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5a6a7a;
}

/* Arch cards */
.arch-card-title { letter-spacing: -0.2px; }

/* Cat cards - newspaper boxes */
.cat-card {
  border-radius: 0;
  border: 1px solid var(--border-dark);
}
.cat-card:hover { border-color: var(--text); }
.cat-card-name { font-family: var(--serif); letter-spacing: -0.3px; }
.cat-pill { border-radius: 2px; }

/* Tool cards */
.tool-card { border-radius: 0; }
.tool-page-card { border-radius: 0; border: 1px solid var(--border-dark); }
.tool-page-card:hover { border-color: var(--text); }

/* Arch cards */
.arch-card { border-radius: 0; border: 1px solid var(--border-dark); }

/* Blog grid */
.blog-grid-card { border-radius: 0; }

/* Wn-featured border */
.wn-featured { border-bottom: 1px solid var(--border-dark); }
.wn-grid .wn-card:not(:last-child) { border-right: none; }

/* Videos section - dark ink instead of gradient */
.videos-section { background: var(--text); }
.videos-label { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.2); }
.video-title { color: rgba(255,255,255,0.85); }
.videos-channel-link { color: rgba(255,255,255,0.7); }
.videos-channel-link:hover { color: #fff; }

/* Newsletter */
.newsletter-box h2 { color: var(--text); }
.newsletter-box p  { color: var(--text-muted); }
.newsletter-form button { background: var(--text); border-radius: 2px; }
.newsletter-form button:hover { background: #333; }
.newsletter-form input { border-radius: 2px; border-color: var(--border-dark); }

/* Article */
.article-body { font-family: var(--serif); font-size: 1.05rem; line-height: 1.85; }
.article-inner h1 { letter-spacing: -0.5px; }

/* Buttons */
.btn-primary { background: var(--text); border-radius: 2px; letter-spacing: 0.03em; }
.btn-primary:hover { background: #333; }

/* Section alt bg */
.section-alt { background: var(--bg-alt); }

/* Home wrapper bg */
.home-wrapper { background: var(--bg-paper); }

/* ── Videos section - editorial redesign ────────────────── */
.videos-section {
  background: var(--bg-alt);
  border-top: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  padding: 48px 0;
}

.videos-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}
.videos-header .section-label { margin-bottom: 0; }
.videos-channel-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
}
.videos-channel-link:hover { color: var(--text); }

.videos-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 760px) { .videos-layout { grid-template-columns: 1fr; } }

/* Featured video */
.video-featured {
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vf-thumb {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #111;
  border: 1px solid var(--border-dark);
}
.vf-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.2s; }
.video-featured:hover .vf-thumb img { opacity: 0.88; }

.vf-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  background: rgba(0,0,0,0.28);
  opacity: 0;
  transition: opacity 0.18s;
}
.video-featured:hover .vf-play { opacity: 1; }

.vf-body { display: flex; flex-direction: column; gap: 6px; }
.vf-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.vf-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.video-featured:hover .vf-title { text-decoration: underline; text-decoration-thickness: 1px; }
.vf-watch {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* Video list (side column) */
.videos-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-dark);
}

.vl-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.vl-item:hover .vl-title { text-decoration: underline; text-decoration-thickness: 1px; }

.vl-thumb {
  position: relative;
  flex-shrink: 0;
  width: 110px;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
}
.vl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vl-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 0.15s;
}
.vl-item:hover .vl-play { opacity: 1; }

.vl-title {
  font-family: var(--serif);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — mobile → 32-inch monitor
   ════════════════════════════════════════════════════════════ */

/* ── Base mobile-first fixes ─────────────────────────────── */
* { box-sizing: border-box; }
img, video { max-width: 100%; height: auto; }

/* ── Large monitor (1600px+) ─────────────────────────────── */
@media (min-width: 1600px) {
  :root { --max: 1340px; }
  body { font-size: 17px; }
  .wn-featured-title { font-size: 1.9rem; }
  .bfc-title { font-size: 2rem; }
  .page-header h1 { font-size: 3rem; }
  .tools-hero h1, .arch-hero-title { font-size: 3rem; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .tools-page-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { grid-template-columns: repeat(4, 1fr); }
  .arch-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Tablet landscape + small laptop (900px – 1199px) ───── */
@media (max-width: 1199px) {
  .home-inner { grid-template-columns: 1fr 260px; gap: 40px; }
  .wn-featured { grid-template-columns: 260px 1fr; }
  .arch-detail-body { grid-template-columns: 1fr 220px; gap: 32px; }
  .videos-layout { grid-template-columns: 1fr 260px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Tablet portrait (600px – 899px) ────────────────────── */
@media (max-width: 899px) {
  /* Nav */
  .nav-top { padding: 0 20px; height: 60px; }
  .nav-bottom-inner { gap: 20px; padding: 0 20px; height: 38px; }
  .nav-bottom-inner a { font-size: 11px; letter-spacing: 0.6px; }
  .logo { font-size: 24px; }

  /* Layout */
  .section-inner { padding: 0 20px; }
  .home-wrapper { padding: 20px 20px; }

  /* Homepage */
  .home-inner { grid-template-columns: 1fr; gap: 32px; }
  .home-sidebar { position: static; }
  .wn-featured { grid-template-columns: 200px 1fr; gap: 16px; }
  .wn-thumb-lg { width: 200px; }
  .wn-thumb-sm { height: 90px; width: 90px; }
  .wn-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  /* wn-thumb-sm stays square */

  /* Videos */
  .videos-layout { grid-template-columns: 1fr; gap: 24px; }
  .videos-list { border-top: 1px solid var(--border-dark); display: grid; grid-template-columns: 1fr 1fr; }

  /* Blog/Stories */
  .blog-featured-card { grid-template-columns: 180px 1fr; gap: 20px; }
  .bfc-thumb { height: 160px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }

  /* Tools/Arch */
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .tools-page-grid { grid-template-columns: 1fr 1fr; }
  .arch-grid { grid-template-columns: 1fr 1fr; }
  .arch-detail-body { grid-template-columns: 1fr; }
  .arch-sidebar { position: static; }

  /* Article */
  .article-inner { padding: 0 20px; }

  /* Page headers */
  .page-header { padding: 32px 0 24px; }
  .page-header h1 { font-size: 1.8rem; }
  .tools-hero h1, .arch-hero-title { font-size: 1.8rem; }
  .tools-hero, .arch-hero { padding: 36px 0 28px; }
}

/* ── Mobile (up to 599px) ────────────────────────────────── */
@media (max-width: 599px) {
  /* Nav */
  .nav-top { padding: 0 16px; height: 54px; grid-template-columns: auto 1fr auto; }
  .logo { font-size: 20px; letter-spacing: -0.5px; justify-content: center; }
  .nav-actions { gap: 10px; }
  .nav-cta { padding: 5px 11px; font-size: 11px; }
  .nav-search { font-size: 14px; }
  .nav-bottom-inner { gap: 14px; padding: 0 16px; height: 36px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .nav-bottom-inner::-webkit-scrollbar { display: none; }
  .nav-bottom-inner a { font-size: 10px; letter-spacing: 0.5px; white-space: nowrap; }

  /* Layout */
  .section-inner { padding: 0 16px; }
  .home-wrapper { padding: 16px 16px 0; }
  .section { padding: 36px 0; }

  /* Homepage two-col → one col */
  .home-inner { grid-template-columns: 1fr; gap: 24px; }
  .home-sidebar { position: static; border-top: 1px solid var(--border-dark); padding-top: 24px; }

  /* What's New */
  .wn-featured { grid-template-columns: 1fr; gap: 12px; }
  .wn-thumb-lg { width: 100%; aspect-ratio: 16/9; }
  .wn-grid { grid-template-columns: 1fr; gap: 16px; }
  /* wn-thumb-sm square */
  .wn-featured-title { font-size: 1.35rem; }

  /* Videos */
  .videos-section { padding: 32px 0; }
  .videos-layout { grid-template-columns: 1fr; gap: 20px; }
  .videos-list { display: flex; flex-direction: column; border-top: 1px solid var(--border-dark); }
  .vf-title { font-size: 1.05rem; }

  /* Blog/Stories */
  .blog-featured-card { grid-template-columns: 1fr; gap: 14px; }
  .bfc-thumb { height: 180px; }
  .bfc-title { font-size: 1.3rem; }
  .blog-grid { grid-template-columns: 1fr; gap: 14px; }
  .bgc-thumb { height: 140px; }

  /* Category cards */
  .cat-grid { grid-template-columns: 1fr; gap: 12px; }
  .cat-card { padding: 18px; }
  .cat-card-name { font-size: 1.1rem; }

  /* Tools */
  .tools-page-grid { grid-template-columns: 1fr; gap: 12px; }
  .tool-products-grid { grid-template-columns: 1fr; }
  .tool-card { flex-direction: column; }

  /* Arch */
  .arch-grid { grid-template-columns: 1fr; }
  .arch-detail-body { grid-template-columns: 1fr; padding-top: 24px; }
  .arch-sidebar { position: static; }

  /* Page headers */
  .page-header { padding: 28px 0 20px; }
  .page-header h1 { font-size: 1.6rem; }
  .tools-hero h1, .arch-hero-title { font-size: 1.6rem; }
  .tools-hero, .arch-hero, .arch-detail-hero { padding: 28px 0 22px; }
  .bfc-excerpt { display: none; }

  /* Article */
  .article-inner { padding: 0 16px; }
  .article-inner h1 { font-size: 1.5rem; }
  .article-body { font-size: 0.97rem; }

  /* Newsletter */
  .newsletter-box { flex-direction: column; align-items: flex-start; padding: 22px 16px; }
  .newsletter-form { width: 100%; flex-direction: column; }
  .newsletter-form input { width: 100%; min-width: unset; }
  .newsletter-form button { width: 100%; }

  /* Tools hero */
  .tools-hero { padding: 28px 0 22px; }
  .tool-detail-hero { padding: 28px 0 22px; }
}

/* ── Small mobile (up to 380px) ──────────────────────────── */
@media (max-width: 380px) {
  .logo { font-size: 18px; }
  .nav-cta { display: none; }
  .page-header h1 { font-size: 1.4rem; }
  .wn-featured-title { font-size: 1.2rem; }
}

/* ── Story/blog thumb tag colours ───────────────────────── */
.bfc-thumb[data-tag="OUTAGE"]       { background: linear-gradient(135deg, #374151 0%, #1f2937 100%); }
.bfc-thumb[data-tag="ORIGIN STORY"] { background: linear-gradient(135deg, #374151 0%, #1f2937 100%); }
.bgc-thumb[data-tag="OUTAGE"]       { background: linear-gradient(135deg, #374151 0%, #1f2937 100%); }
.bgc-thumb[data-tag="ORIGIN STORY"] { background: linear-gradient(135deg, #374151 0%, #1f2937 100%); }
.bgc-thumb[data-tag="TERRAFORM"]    { background: linear-gradient(135deg, #374151 0%, #1f2937 100%); }
.bgc-thumb[data-tag="DOCKER"]       { background: linear-gradient(135deg, #06b6d4 0%, #0e7490 100%); }

/* ── Accent colour overrides — slate grey ────────────────── */
.vf-label { color: #5a6a7a; }
.nav-bottom-inner a:hover { color: #1a2744; }
.cat-pill { background: #eceef0; color: #3a4a5a; border-radius: 2px; }
.cat-card-cta { color: #3a4a5a; }
.see-all { color: #3a4a5a; }
.sidebar-see-all { color: #3a4a5a; }
.arch-read-more { color: #3a4a5a; }
.tool-badge-bundle { background: #e8ecf0; color: #3a4a5a; border-color: #c8d0d8; }

/* ── Project Architectures promo block ───────────────────── */
.arch-promo-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .arch-promo-block { grid-template-columns: 1fr; gap: 28px; } }

.arch-promo-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.arch-promo-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.arch-promo-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 480px) { .arch-promo-cards { grid-template-columns: 1fr; } }

.arch-promo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--bg-paper);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.arch-promo-icon {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: var(--bg-alt);
  color: var(--text-muted);
  padding: 4px 7px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}


/* ── Learn DevOps Tools — minimal editorial redesign ─────── */
.section#tools {
  border-top: 3px solid var(--text);
  border-bottom: 3px solid var(--text);
  padding: 56px 0;
  background: #fff;
}
.section#tools .section-header {
  margin-bottom: 32px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 14px;
}
.section#tools .section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  border: none;
  padding: 0;
  margin: 0;
}
.section#tools .see-all {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 700;
}

.cat-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  border: 1px solid var(--text);
}
.cat-card {
  border: none;
  border-right: 1px solid var(--text);
  border-radius: 0;
  padding: 28px 24px 24px;
  background: #fff;
  gap: 10px;
  transition: background 0.15s;
}
.cat-card:last-child { border-right: none; }
.cat-card:hover {
  background: #f8f8f8;
  box-shadow: none;
  transform: none;
  border-color: var(--text);
}
.cat-card-top { display: none; }
.cat-count { display: none; }
.cat-card-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.2;
  border-top: 2px solid var(--text);
  padding-top: 10px;
}
.cat-tool-pills { gap: 4px; margin-top: 4px; }
.cat-pill {
  background: transparent;
  color: #555;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 0;
  border: 1px solid #ccc;
  letter-spacing: 0.03em;
}
.cat-card-cta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 12px;
  border-top: 1px solid #e0e0e0;
  padding-top: 10px;
}

/* ── Project Architectures — dark editorial banner ────────── */
.arch-editorial {
  background: #111111;
  padding: 56px 0;
  border-top: 3px solid #111;
}
.arch-editorial .arch-promo-text .arch-promo-title { color: #fff; }
.arch-editorial .arch-promo-text .arch-promo-desc { color: rgba(255,255,255,0.6); }
.arch-editorial-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
.arch-editorial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 16px;
  margin-bottom: 36px;
}
.arch-editorial-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
}
.arch-editorial-count {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.arch-editorial-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 768px) { .arch-editorial-body { grid-template-columns: 1fr; gap: 32px; } }
.arch-editorial-headline {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.arch-editorial-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 24px;
}
.arch-editorial-cta {
  display: inline-block;
  padding: 10px 22px;
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.arch-editorial-cta:hover { background: #e0e0e0; }

.arch-editorial-items { display: flex; flex-direction: column; gap: 0; }
.arch-editorial-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
}
.arch-editorial-item:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.arch-editorial-num {
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.25);
  padding-top: 2px;
}
.arch-editorial-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}
.arch-editorial-item-tag {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}


/* ── About page ──────────────────────────────────────────── */
.about-wrapper { padding: 56px 0 72px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  align-items: start;
}
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-lead {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 20px;
  border-left: 3px solid var(--text);
  padding-left: 18px;
}
.about-main p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 16px;
}
.about-focus { margin-top: 36px; }
.about-focus .section-label { margin-bottom: 14px; }
.about-skills { display: flex; flex-wrap: wrap; gap: 6px; }

.about-sidebar { border-left: 1px solid var(--border); padding-left: 32px; }
.about-meta-block { margin-bottom: 32px; }
.about-meta-block .section-label { margin-bottom: 12px; }
.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-list li {
  font-size: 0.875rem;
  color: #333;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.about-list li:last-child { border-bottom: none; }
.about-list a { color: var(--text); text-decoration: none; font-weight: 600; }
.about-list a:hover { text-decoration: underline; }

/* ── Footer redesign ─────────────────────────────────────── */
.footer {
  border-top: 2px solid var(--text);
  background: #fff;
  padding: 0;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 32px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }

.footer-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}
.footer-logo-accent { color: #c0392b; }
.footer-tagline {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 280px;
}
.footer-links {
  display: flex;
  gap: 48px;
}
@media (max-width: 480px) { .footer-links { flex-wrap: wrap; gap: 28px; } }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-head {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 32px;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer-sep { color: var(--border-dark); }


/* ── Real thumbnail images ───────────────────────────────── */
.wn-thumb,
.bfc-thumb,
.bgc-thumb {
  position: relative;
  overflow: hidden;
}
.wn-thumb img,
.bfc-thumb img,
.bgc-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.wn-featured:hover .wn-thumb img,
.wn-card:hover .wn-thumb img,
.blog-featured-card:hover .bfc-thumb img,
.blog-grid-card:hover .bgc-thumb img {
  transform: scale(1.04);
}
.wn-thumb-tag {
  position: relative;
  z-index: 2;
}


/* ── Tools & Arch cards — visual upgrade ─────────────────── */
.section#tools,
.section#architectures {
  border-top: 3px solid var(--text);
  padding: 52px 0;
}
.section#tools .section-header,
.section#architectures .section-header {
  margin-bottom: 28px;
}
.cat-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0;
  border: 2px solid var(--text);
  border-right: none;
  border-radius: 0;
}
.cat-card {
  border: none;
  border-right: 2px solid var(--text);
  border-top: none;
  border-bottom: none;
  padding: 24px 20px 20px;
  background: #fff;
  gap: 0;
  position: relative;
  transition: background 0.15s;
}
.cat-card:hover { background: #f8f8f8; box-shadow: none; transform: none; }

.cat-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--text);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--sans);
}
.cat-card-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text);
  border: none;
  padding: 0;
}
.cat-tool-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
  flex-grow: 1;
}
.cat-pill {
  background: #f0f0f0;
  color: #444;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border: none;
  border-radius: 2px;
  letter-spacing: 0.02em;
}
.cat-card-cta {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.cat-card:hover .cat-card-cta { text-decoration: underline; }

/* Row border for 2nd row of cards */
.cat-grid-row-2 .cat-card {
  border-top: 2px solid var(--text);
}


/* ── Category card thumbnails ────────────────────────────── */
.cat-card {
  padding: 0;
  overflow: hidden;
}
.cat-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
}
.cat-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, opacity 0.2s;
  opacity: 0.82;
}
.cat-card:hover .cat-card-thumb img {
  transform: scale(1.05);
  opacity: 1;
}
.cat-card-icon-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  text-transform: uppercase;
  font-family: var(--sans);
}
.cat-card-body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.cat-card-name {
  border: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
}
.cat-card-cta {
  margin-top: auto;
  border: none;
  padding: 0;
}


/* ── Tool card text — improved presentation ──────────────── */
.cat-card-body {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.cat-card-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 4px;
}
.cat-tool-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}
.cat-pill {
  background: #f0f0f0;
  color: #333;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 2px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.cat-card-cta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
.cat-card:hover .cat-card-cta {
  border-bottom-color: var(--text);
  text-decoration: none;
}

/* Thumb icon overlay polish */
.cat-card-icon-overlay {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  text-transform: uppercase;
  font-family: var(--sans);
  border-radius: 1px;
}


/* ═══════════════════════════════════════════════════════════
   TOOLS / ARCHITECTURES — dark overlay tile grid
   ═══════════════════════════════════════════════════════════ */

.tools-dark-section {
  background: #0e0e0e;
  padding: 56px 0 64px;
  border: none;
}

.tds-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.tds-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.tds-see-all {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.15s;
}
.tds-see-all:hover { color: #fff; }

/* Tile grid */
.tool-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

/* Individual tile */
.tool-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
  text-decoration: none;
  background: #1a1a1a;
}

/* Photo */
.tool-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.55) saturate(0.8);
  transition: transform 0.55s ease, filter 0.35s ease;
}
.tool-tile:hover .tool-tile-img {
  transform: scale(1.08);
  filter: brightness(0.72) saturate(1);
}

/* Gradient overlay */
.tool-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.4)  50%,
    rgba(0,0,0,0.05) 100%
  );
  transition: opacity 0.3s;
}

/* Content sits above image */
.tool-tile-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px;
}

/* Badge (icon label top-left) */
.tool-tile-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
}

/* Category name */
.tool-tile-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}

/* Tool pills */
.tool-tile-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 14px;
}
.tool-tile-pill {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.15);
}

/* CTA */
.tool-tile-cta {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.tool-tile:hover .tool-tile-cta {
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  .tool-tile-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .tool-tile { aspect-ratio: 4/5; }
}
@media (max-width: 540px) {
  .tool-tile-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .tool-tile { aspect-ratio: 1/1; }
  .tool-tile-name { font-size: 0.95rem; }
  .tools-dark-section { padding: 40px 0 48px; }
}


/* ═══════════════════════════════════════════════════════════
   /tools PAGE — hero + arch promo
   ═══════════════════════════════════════════════════════════ */

.tools-page-hero {
  background: #0e0e0e;
  padding: 64px 0 52px;
  border-bottom: 1px solid #222;
}
.tools-page-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.tools-page-title {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.tools-page-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  line-height: 1.6;
}

/* Arch promo strip */
.tools-arch-promo {
  background: #fff;
  border-top: 3px solid var(--text);
  padding: 56px 0 64px;
}
.tap-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.tap-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.tap-title {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}
.tap-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 380px;
}
.tap-cta {
  display: inline-block;
  background: var(--text);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  text-decoration: none;
  transition: background 0.15s;
}
.tap-cta:hover { background: #333; }

.tap-list { display: flex; flex-direction: column; gap: 0; }
.tap-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: padding-left 0.15s;
}
.tap-item:first-child { border-top: 1px solid var(--border); }
.tap-item:hover { padding-left: 6px; }
.tap-badge {
  background: var(--text);
  color: #fff;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.tap-item-name {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  flex: 1;
}
.tap-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.15s;
}
.tap-item:hover .tap-arrow { color: var(--text); }

@media (max-width: 768px) {
  .tap-inner { grid-template-columns: 1fr; gap: 36px; }
  .tools-page-title { font-size: 2rem; }
}


/* ═══════════════════════════════════════════════════════════
   TOOLS CATEGORY PAGE
   ═══════════════════════════════════════════════════════════ */

.cat-page-hero {
  background: #0e0e0e;
  padding: 52px 0 48px;
  border-bottom: 1px solid #222;
}
.cat-page-back {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.15s;
}
.cat-page-back:hover { color: rgba(255,255,255,0.85); }
.cat-page-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
}
.cat-page-title {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.cat-page-section {
  background: #fff;
  padding: 52px 0 64px;
  border-top: none;
}

/* Tool card grid */
.tool-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border: 2px solid var(--text);
}
.tool-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  text-decoration: none;
  color: var(--text);
  border-right: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transition: background 0.15s;
  gap: 10px;
}
.tool-card:last-child { border-right: none; }
.tool-card:hover { background: #f6f6f6; }

.tool-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.tool-card-icon {
  background: var(--text);
  color: #fff;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  text-transform: uppercase;
}
.tool-card-arrow {
  color: var(--text-muted);
  font-size: 1rem;
  transition: transform 0.15s, color 0.15s;
}
.tool-card:hover .tool-card-arrow {
  transform: translateX(4px);
  color: var(--text);
}
.tool-card-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.2px;
}
.tool-card-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}
.tool-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.tcb {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border: 1px solid #ccc;
  color: #666;
  border-radius: 2px;
}
.tcb-highlight {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

@media (max-width: 768px) {
  .tool-card-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-card:nth-child(3n) { border-right: 2px solid var(--text); }
  .tool-card:nth-child(2n) { border-right: none; }
}
@media (max-width: 480px) {
  .tool-card-grid { grid-template-columns: 1fr; }
  .tool-card { border-right: none; }
  .cat-page-title { font-size: 2rem; }
}


/* ═══════════════════════════════════════════════════════════
   TOOL DETAIL PAGE
   ═══════════════════════════════════════════════════════════ */

.tool-detail-page-hero {
  background: #0e0e0e;
  padding: 52px 0 48px;
  border-bottom: 1px solid #222;
}
.tdph-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 4px;
}
.tdph-icon {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 10px 14px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.tdph-title {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.tdph-tagline {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  max-width: 520px;
}

/* Products section */
.tool-products-section {
  background: #fff;
  padding: 52px 0 64px;
  border-top: 3px solid var(--text);
}
.tp-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.tp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 2px solid var(--text);
}
.tp-card {
  display: flex;
  flex-direction: column;
  padding: 28px 22px 22px;
  border-right: 2px solid var(--text);
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s;
  position: relative;
  gap: 10px;
}
.tp-card:last-child { border-right: none; }
.tp-card:hover { background: #f6f6f6; }
.tp-card-featured {
  background: var(--text) !important;
  color: #fff;
}
.tp-card-featured:hover { background: #222 !important; }
.tp-card-featured .tp-desc { color: rgba(255,255,255,0.65); }
.tp-card-featured .tp-price { color: #fff; }
.tp-card-featured .tp-buy { color: rgba(255,255,255,0.7); }
.tp-card-featured:hover .tp-buy { color: #fff; }

.tp-best-badge {
  position: absolute;
  top: -1px;
  right: 18px;
  background: #c0392b;
  color: #fff;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
}
.tp-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.tp-card-featured .tp-label { color: rgba(255,255,255,0.5); }
.tp-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.1px;
}
.tp-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.tp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.12);
}
.tp-card-featured .tp-footer { border-top-color: rgba(255,255,255,0.15); }
.tp-price {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.tp-buy {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.15s;
}
.tp-card:not(.tp-card-featured):hover .tp-buy { color: var(--text); }

@media (max-width: 860px) {
  .tp-grid { grid-template-columns: repeat(2, 1fr); }
  .tp-card:nth-child(2) { border-right: none; }
  .tp-card:nth-child(3) { border-right: 2px solid var(--text); border-top: 2px solid var(--text); }
  .tp-card:last-child { border-top: 2px solid var(--text); }
}
@media (max-width: 480px) {
  .tp-grid { grid-template-columns: 1fr; }
  .tp-card { border-right: none; border-bottom: 2px solid var(--text); }
  .tp-card:last-child { border-bottom: none; }
  .tdph-title { font-size: 1.8rem; }
  .tdph-inner { gap: 16px; }
}

/* Related reads */
.tool-related-section {
  background: #fafafa;
  border-top: 3px solid var(--text);
  padding: 48px 0 56px;
}
.tool-related-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
}
.tool-related-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background 0.12s, padding-left 0.12s;
}
.tool-related-item:last-child { border-bottom: none; }
.tool-related-item:hover { background: #f0f0f0; padding-left: 26px; }
.tri-left { display: flex; flex-direction: column; gap: 4px; }
.tri-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}
.tri-meta {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}


/* ── Homepage: light override for tool/arch tile sections ── */
.tools-dark-section.home-light {
  background: #fff;
  border-top: 3px solid var(--text);
  border-bottom: none;
}
.tools-dark-section.home-light .tds-label,
.tools-dark-section.home-light .tds-see-all {
  color: var(--text-muted);
}
.tools-dark-section.home-light .tds-see-all:hover { color: var(--text); }
.tools-dark-section.home-light .tool-tile-grid { gap: 2px; background: var(--border); }


/* ── /tools page: light background override ── */
.tools-page-hero {
  background: #fff !important;
  border-bottom: 3px solid var(--text);
  padding: 52px 0 48px;
}
.tools-page-eyebrow { color: var(--text-muted) !important; }
.tools-page-title { color: var(--text) !important; }
.tools-page-sub { color: var(--text-muted) !important; }

.tools-dark-section:not(.home-light) {
  background: #fff !important;
  border-top: none;
}
.tools-dark-section:not(.home-light) .tds-label,
.tools-dark-section:not(.home-light) .tds-see-all {
  color: var(--text-muted) !important;
}
.tools-dark-section:not(.home-light) .tds-see-all:hover { color: var(--text) !important; }
.tools-dark-section:not(.home-light) .tool-tile-grid { gap: 2px; background: var(--border); }


/* ═══════════════════════════════════════════════════════════
   HORIZONTAL LIST — tools & arch (home + /tools)
   ═══════════════════════════════════════════════════════════ */

.hl-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.hl-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background 0.12s;
}
.hl-item:last-child { border-bottom: none; }
.hl-item:hover { background: #f6f6f6; }

/* Square thumbnail */
.hl-thumb {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  overflow: hidden;
  background: #ddd;
}
.hl-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.hl-item:hover .hl-thumb img { transform: scale(1.06); }

/* Badge over thumb */
.hl-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-family: var(--sans);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 6px;
}

/* Text side */
.hl-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hl-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.1px;
}
.hl-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.hl-pill {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #666;
  background: #f0f0f0;
  padding: 2px 7px;
  border-radius: 2px;
}

/* Arrow */
.hl-arrow {
  font-size: 1rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.15s, color 0.15s;
}
.hl-item:hover .hl-arrow {
  transform: translateX(4px);
  color: var(--text);
}

@media (max-width: 480px) {
  .hl-thumb { width: 64px; height: 64px; }
  .hl-name { font-size: 0.9rem; }
}


/* ═══════════════════════════════════════════════════════════
   HG — 2-column horizontal grid (tools & arch)
   ═══════════════════════════════════════════════════════════ */

.hg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}

.hg-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 16px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background 0.12s;
}
.hg-item:nth-child(2n) { border-right: none; }
.hg-item:nth-last-child(-n+2):nth-child(odd),
.hg-item:last-child { border-bottom: none; }
.hg-item:hover { background: #f6f6f6; }

/* Square thumb */
.hg-thumb {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  overflow: hidden;
  background: #ccc;
}
.hg-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.hg-item:hover .hg-thumb img { transform: scale(1.06); }

.hg-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-family: var(--sans);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
}

/* Text */
.hg-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
}
.hg-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.1px;
}
.hg-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.hg-pill {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #666;
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 2px;
}

@media (max-width: 540px) {
  .hg-grid { grid-template-columns: 1fr; }
  .hg-item { border-right: none; }
  .hg-item:nth-last-child(-n+2):nth-child(odd) { border-bottom: 1px solid var(--border); }
  .hg-item:last-child { border-bottom: none; }
  .hg-thumb { width: 80px; height: 80px; }
}


/* ═══════════════════════════════════════════════════════════
   TOOL / ARCH cards using wn-* layout + tc-* overrides
   ═══════════════════════════════════════════════════════════ */

/* Featured tool card — no bottom border/padding like blog */
.tc-featured {
  margin-bottom: 24px;
  padding-bottom: 24px;
}

/* Pills in featured */
.tc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 4px 0 12px;
}
.tc-pill {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #555;
  background: #f0f0f0;
  padding: 3px 8px;
  border-radius: 2px;
}

/* CTA under featured */
.tc-cta {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.15s;
}
.tc-featured:hover .tc-cta { color: var(--text); }

/* Small pills in grid cards */
.tc-pills-sm {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 4px;
}
.tc-pill-sm {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #777;
  background: #f0f0f0;
  padding: 1px 5px;
  border-radius: 2px;
}


/* ═══════════════════════════════════════════════════════════
   TOOLS — intro row: value prop + grid side by side
   ═══════════════════════════════════════════════════════════ */

.tools-intro-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 4px;
}

/* Value prop left column */
.tools-value-prop {
  position: sticky;
  top: 80px;
  border-right: 1px solid var(--border);
  padding-right: 32px;
}
.tvp-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.tvp-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.2px;
  margin-bottom: 14px;
}
.tvp-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.tvp-desc em { font-style: italic; color: var(--text); }
.tvp-points {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tvp-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.4;
}
.tvp-check {
  color: #2a9d5c;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.tvp-cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid var(--text);
  padding-bottom: 2px;
  transition: opacity 0.15s;
}
.tvp-cta:hover { opacity: 0.65; }

/* Tool grid — right column, all equal small cards */
.tc-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  display: grid !important;
}
.tc-grid .wn-card {
  flex-direction: row;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 14px;
  gap: 12px;
}
.tc-grid .wn-card:nth-child(2n) { border-right: none; }
.tc-grid .wn-card:nth-last-child(-n+2) { border-bottom: none; }

@media (max-width: 860px) {
  .tools-intro-row { grid-template-columns: 1fr; gap: 28px; }
  .tools-value-prop { position: static; border-right: none; padding-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
}
@media (max-width: 480px) {
  .tc-grid { grid-template-columns: 1fr; }
  .tc-grid .wn-card { border-right: none; }
  .tc-grid .wn-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .tc-grid .wn-card:last-child { border-bottom: none; }
}


/* ═══════════════════════════════════════════════════════════
   TC-TOP — image-on-top tool cards (like story cards)
   ═══════════════════════════════════════════════════════════ */

.tc-top-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.tc-top-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.tc-top-card:nth-child(2n) { border-right: none; }
.tc-top-card:nth-last-child(-n+2):nth-child(odd),
.tc-top-card:last-child { border-bottom: none; }
.tc-top-card:hover { background: #fafafa; }

/* Image area */
.tc-top-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #ccc;
  flex-shrink: 0;
}
.tc-top-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.tc-top-card:hover .tc-top-img img { transform: scale(1.05); }

/* Badge overlay — bottom left of image */
.tc-top-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
}

/* Text below image */
.tc-top-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tc-top-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tc-top-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.1px;
}
.tc-top-meta {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .tc-top-grid { grid-template-columns: 1fr; }
  .tc-top-card { border-right: none; border-bottom: 1px solid var(--border); }
  .tc-top-card:last-child { border-bottom: none; }
}


/* tc-wn-grid — tools section reusing wn-grid/wn-card styles */
.tc-wn-grid {
  border: 1px solid var(--border);
  gap: 0 !important;
}
.tc-wn-grid .wn-card {
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 14px;
  gap: 12px;
}
.tc-wn-grid .wn-card:nth-child(2n) { border-right: none; }
.tc-wn-grid .wn-card:nth-last-child(-n+2):nth-child(odd),
.tc-wn-grid .wn-card:last-child { border-bottom: none; }
/* ensure last two have no bottom border */
.tc-wn-grid .wn-card:nth-last-child(1),
.tc-wn-grid .wn-card:nth-last-child(2) { border-bottom: none; }


/* tc-blog-grid — tools grid using blog card layout */
.tc-blog-grid {
  grid-template-columns: repeat(4, 1fr) !important;
}
@media (max-width: 900px) { .tc-blog-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px) { .tc-blog-grid { grid-template-columns: 1fr !important; } }


/* tc-blog-card — richer tool cards */
.tc-blog-card .bgc-body { gap: 8px; padding: 14px 16px 16px; }
.tc-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.tc-card-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}
.tc-card-pill {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #555;
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 2px;
}

/* homepage tools grid stays 2-col */
#tools .tc-blog-grid,
#architectures .tc-blog-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}


/* ═══════════════════════════════════════════════════════════
   TOOL DETAIL — history, debug, interview sections
   ═══════════════════════════════════════════════════════════ */

.td-section {
  padding: 52px 0;
  border-top: 1px solid var(--border);
}
.td-history-section { background: #fff; }
.td-debug-section   { background: #fafafa; }
.td-iq-section      { background: #fff; }

.td-section-inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: start;
}

/* Left label column */
.td-section-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 6px;
  border-right: 1px solid var(--border);
  padding-right: 32px;
}
.td-label-text {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.td-label-badge {
  display: inline-block;
  background: #2a9d5c;
  color: #fff;
  font-family: var(--sans);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 2px;
}

/* Right body column */
.td-section-body { display: flex; flex-direction: column; gap: 20px; }
.td-section-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

/* History text */
.td-history-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 680px;
  border-left: 3px solid var(--text);
  padding-left: 20px;
}

/* Debug list */
.td-debug-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
}
.td-debug-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}
.td-debug-item:last-child { border-bottom: none; }
.td-debug-item:hover { background: #f0f0f0; }
.td-debug-num {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  min-width: 18px;
  padding-top: 2px;
  flex-shrink: 0;
}
.td-debug-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text);
  font-family: var(--sans);
}

/* Interview questions */
.td-iq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.td-iq-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}
.td-iq-item:last-child { border-bottom: none; }
.td-iq-item:hover { background: #f6f6f6; }
.td-iq-num {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--text);
  padding: 2px 6px;
  flex-shrink: 0;
  margin-top: 2px;
}
.td-iq-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
  font-family: var(--serif);
  font-weight: 600;
}

/* CTA block under questions */
.td-iq-cta-block {
  background: #f6f6f6;
  border: 1px solid var(--border);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.td-iq-cta-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}
.td-iq-cta-btn {
  background: var(--text);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}
.td-iq-cta-btn:hover { background: #333; }

@media (max-width: 768px) {
  .td-section-inner { grid-template-columns: 1fr; gap: 20px; }
  .td-section-label { border-right: none; padding-right: 0; flex-direction: row; align-items: center; }
  .td-iq-cta-block { flex-direction: column; align-items: flex-start; }
}

/* ── Tool Detail: Highlights (Notes PDF section) ── */
.td-highlights-section { background: var(--bg); }
.td-highlights-list {
  list-style: none;
  padding: 0; margin: 0 0 24px 0;
  display: flex; flex-direction: column; gap: 10px;
}
.td-highlight-item {
  display: flex; align-items: flex-start; gap: 12px;
}
.td-highlight-check {
  width: 20px; height: 20px; min-width: 20px;
  background: #000; color: #fff;
  border-radius: 50%;
  font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.td-highlight-text {
  font-size: 0.9rem; color: var(--text); line-height: 1.55;
}
.td-section-sub {
  font-size: 0.85rem; color: var(--text-muted); line-height: 1.5;
  margin: 0 0 20px 0;
}
.td-section-cta {
  display: inline-block;
  background: var(--text); color: #fff;
  font-family: var(--sans); font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  padding: 11px 20px;
  transition: background 0.15s;
  margin-top: 8px;
}
.td-section-cta:hover { background: #333; }

/* ── Tool Detail: Real-life Project section ── */
.td-project-section { background: #f9f9f9; }
.td-project-overview {
  font-size: 0.9rem; color: var(--text); line-height: 1.65;
  margin: 0 0 20px 0;
}
.td-project-skills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
}
.td-project-skill {
  background: #000; color: #fff;
  font-family: var(--sans); font-size: 0.68rem;
  font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; padding: 5px 10px;
}

/* ── Tool Detail: Bundles section ── */
.td-bundles-section {
  background: #fff;
  padding: 72px 0;
  border-top: 1px solid var(--border);
}
.td-bundles-header {
  text-align: center; margin-bottom: 40px;
}
.td-bundles-eyebrow {
  font-family: var(--sans); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
  margin: 0 0 10px 0;
}
.td-bundles-title {
  font-family: var(--sans); font-size: 1.8rem;
  font-weight: 800; color: var(--text);
  margin: 0 0 10px 0; line-height: 1.2;
}
.td-bundles-sub {
  font-size: 0.9rem; color: var(--text-muted);
  line-height: 1.5; max-width: 520px; margin: 0 auto;
}

/* label badge next to label text */
.td-label-badge {
  font-family: var(--sans); font-size: 0.65rem;
  font-weight: 700; background: var(--text);
  color: #fff; padding: 2px 8px;
  letter-spacing: 0.06em; margin-top: 6px;
  align-self: flex-start;
}


/* ── What's New: category layout ─────────────────────────────── */
.whats-new-section {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}
.wn-section-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.wn-see-all {
  font-family: var(--sans); font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text);
  text-decoration: none;
}
.wn-see-all:hover { text-decoration: underline; }

.wn-category-block {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0 32px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.wn-cat-label {
  display: flex; flex-direction: column;
  gap: 4px; padding-top: 2px;
}
.wn-cat-tag {
  font-family: var(--sans); font-size: 0.62rem;
  font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--text); color: #fff;
  padding: 3px 8px; align-self: flex-start;
}
.wn-cat-name {
  font-family: var(--sans); font-size: 0.78rem;
  font-weight: 600; color: var(--text-muted);
  line-height: 1.3;
}
.wn-cat-grid {
  display: flex; flex-wrap: wrap; gap: 16px;
}
.wn-cat-featured {
  display: flex; gap: 14px; align-items: flex-start;
  text-decoration: none; flex: 1; min-width: 260px;
}
.wn-cat-featured .wn-thumb {
  width: 90px; height: 68px; min-width: 90px; flex-shrink: 0;
}
.wn-cat-body { display: flex; flex-direction: column; gap: 6px; }
.wn-cat-title {
  font-family: var(--sans); font-size: 0.88rem;
  font-weight: 700; color: var(--text); line-height: 1.35;
  margin: 0;
}
.wn-cat-featured:hover .wn-cat-title { text-decoration: underline; }

.wn-cat-extra {
  display: flex; flex-direction: column; gap: 4px;
  text-decoration: none; border-left: 2px solid var(--border);
  padding-left: 14px; flex: 1; min-width: 200px;
}
.wn-cat-extra-title {
  font-family: var(--sans); font-size: 0.82rem;
  font-weight: 600; color: var(--text); line-height: 1.35; margin: 0;
}
.wn-cat-extra:hover .wn-cat-extra-title { text-decoration: underline; }

/* ── Stories Section ─────────────────────────────────────────── */
.stories-section {
  padding: 56px 0;
  background: #f9f9f9;
  border-bottom: 1px solid var(--border);
}
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.story-card {
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: box-shadow 0.15s;
}
.story-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.story-card-thumb {
  position: relative; width: 100%; aspect-ratio: 16/9;
  overflow: hidden; background: #1a1a1a;
}
.story-card-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.story-card-thumb-plain {
  display: flex; align-items: center; justify-content: center;
}
.story-card-thumb .wn-thumb-tag {
  position: absolute; top: 10px; left: 10px;
}
.story-card-thumb-plain .wn-thumb-tag { position: static; }
.story-card-body {
  padding: 16px; display: flex; flex-direction: column; gap: 6px;
}
.story-card-title {
  font-family: var(--sans); font-size: 0.9rem;
  font-weight: 700; color: var(--text); line-height: 1.35;
  margin: 0;
}

@media (max-width: 900px) {
  .wn-category-block { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .stories-grid { grid-template-columns: 1fr; }
  .wn-cat-featured { flex-direction: column; }
}


/* ── Sidebar: Browse by Topic categories ─────────────────────── */
.wn-main-header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 20px;
}
.wn-see-all {
  font-family: var(--sans); font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text);
  text-decoration: none;
}
.wn-see-all:hover { text-decoration: underline; }

.sidebar-categories {
  display: flex; flex-direction: column; gap: 2px;
  margin-bottom: 24px;
}
.sidebar-cat-item {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-cat-item:hover .sidebar-cat-label { text-decoration: underline; }
.sidebar-cat-tag {
  font-family: var(--sans); font-size: 0.58rem;
  font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--text); color: #fff;
  padding: 2px 6px; flex-shrink: 0;
}
.sidebar-cat-label {
  font-family: var(--sans); font-size: 0.8rem;
  font-weight: 600; color: var(--text);
  flex: 1; line-height: 1.3;
}
.sidebar-cat-count {
  font-family: var(--sans); font-size: 0.7rem;
  color: var(--text-muted); flex-shrink: 0;
}
.sidebar-divider {
  border-top: 1px solid var(--border);
  margin: 20px 0;
}
.sidebar-stories-list {
  display: flex; flex-direction: column; gap: 0;
}


/* ── What's New blog grid (bgc-thumb + bgc-body cards) ──────── */
.wn-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.wn-blog-card--featured {
  grid-column: 1 / -1; /* full width */
}
.wn-blog-card--featured .bgc-thumb {
  aspect-ratio: 16/7;
}
.wn-blog-card--featured .bgc-title {
  font-size: 1.15rem;
}
.bgc-excerpt {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 4px 0 0;
}

@media (max-width: 600px) {
  .wn-blog-grid { grid-template-columns: 1fr; }
  .wn-blog-card--featured { grid-column: auto; }
}


/* ── What's New intro description ───────────────────────────── */
.wn-intro {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.wn-intro-title {
  font-family: var(--sans); font-size: 1.5rem;
  font-weight: 800; color: var(--text);
  margin: 0 0 8px 0; line-height: 1.2;
}
.wn-intro-desc {
  font-size: 0.88rem; color: var(--text-muted);
  line-height: 1.6; margin: 0; max-width: 520px;
}


/* ── Nav: split layout — links | LOGO | links ───────────────── */
.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.nav-right {
  justify-content: flex-end;
}
.nav-left a,
.nav-right a {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-left a:hover,
.nav-right a:hover { text-decoration: underline; }


/* ── Nav: logo row + links row below (TheNewStack style) ─────── */
.site-header {
  border-bottom: 1px solid var(--border);
}
.nav-logo-row {
  display: flex;
  justify-content: center;
  padding: 20px 0 16px;
}
.nav-links-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.nav-links-row a {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}
.nav-links-row a:hover { color: #555; }

/* hide old nav-top split layout if still present */
.nav-top { display: none; }
.nav-left, .nav-right { display: none; }


/* ── What's New: magazine redesign ───────────────────────────── */
.wn-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--text);
}
.wn-eyebrow {
  font-family: var(--sans); font-size: 0.65rem;
  font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted);
  margin: 0 0 6px 0;
}
.wn-section-title {
  font-family: var(--sans); font-size: 1.6rem;
  font-weight: 900; color: var(--text);
  margin: 0 0 4px 0; line-height: 1.15;
}
.wn-section-sub {
  font-size: 0.82rem; color: var(--text-muted);
  margin: 0; line-height: 1.4;
}

/* Hero row */
.wn-hero-row {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  margin-bottom: 20px;
}
.wn-hero-card {
  display: block; text-decoration: none;
  position: relative; overflow: hidden;
}
.wn-hero-img {
  position: relative; width: 100%;
  aspect-ratio: 16/9; overflow: hidden;
  background: #111;
}
.wn-hero-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.wn-hero-card:hover .wn-hero-img img { transform: scale(1.03); }
.wn-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.wn-hero-title {
  font-family: var(--sans); font-size: 1.25rem;
  font-weight: 800; color: #fff; line-height: 1.25;
  margin: 8px 0 6px;
}
.wn-hero-excerpt {
  font-size: 0.8rem; color: rgba(255,255,255,0.75);
  line-height: 1.45; margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.wn-hero-meta { font-size: 0.72rem; color: rgba(255,255,255,0.55); }

/* Stack cards (right column of hero row) */
.wn-stack {
  display: flex; flex-direction: column; gap: 0;
}
.wn-stack-card {
  display: flex; gap: 12px; align-items: flex-start;
  text-decoration: none; padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.wn-stack-card:first-child { padding-top: 0; }
.wn-stack-card:last-child { border-bottom: none; }
.wn-stack-img {
  width: 80px; height: 60px; min-width: 80px;
  overflow: hidden; background: #eee; flex-shrink: 0;
}
.wn-stack-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform 0.3s;
}
.wn-stack-card:hover .wn-stack-img img { transform: scale(1.05); }
.wn-stack-body { display: flex; flex-direction: column; gap: 5px; }
.wn-stack-title {
  font-family: var(--sans); font-size: 0.83rem;
  font-weight: 700; color: var(--text); line-height: 1.3; margin: 0;
}
.wn-stack-card:hover .wn-stack-title { text-decoration: underline; }

/* Bottom 3-column grid */
.wn-bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.wn-grid-card {
  display: flex; flex-direction: column;
  text-decoration: none; overflow: hidden;
}
.wn-grid-img {
  width: 100%; aspect-ratio: 16/9;
  overflow: hidden; background: #eee;
}
.wn-grid-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform 0.3s;
}
.wn-grid-card:hover .wn-grid-img img { transform: scale(1.04); }
.wn-grid-body { padding: 12px 0; display: flex; flex-direction: column; gap: 6px; }
.wn-grid-title {
  font-family: var(--sans); font-size: 0.85rem;
  font-weight: 700; color: var(--text); line-height: 1.3; margin: 0;
}
.wn-grid-card:hover .wn-grid-title { text-decoration: underline; }

/* Colour-coded tags */
.wn-tag {
  display: inline-block;
  font-family: var(--sans); font-size: 0.6rem;
  font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 3px 7px;
  color: #fff; flex-shrink: 0; align-self: flex-start;
}
.wn-tag--OUTAGE        { background: #c0392b; }
.wn-tag--ORIGIN\ STORY { background: #6c3483; }
.wn-tag--AWS           { background: #e67e22; }
.wn-tag--CI\/CD        { background: #2471a3; }
.wn-tag--KUBERNETES    { background: #117a65; }
.wn-tag--DEVOPS        { background: #1a252f; }
.wn-tag--DOCKER        { background: #1565c0; }
.wn-tag--TERRAFORM     { background: #6d4c41; }
.wn-tag--LINUX         { background: #333; }
.wn-tag--SECURITY      { background: #922b21; }
.wn-tag--AI\ NEWS      { background: #7d3c98; }
.wn-tag             { background: #555; } /* fallback */

@media (max-width: 900px) {
  .wn-hero-row { grid-template-columns: 1fr; }
  .wn-stack { flex-direction: row; flex-wrap: wrap; }
  .wn-bottom-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wn-bottom-grid { grid-template-columns: 1fr; }
}


/* ══ ARCHITECTURE DIAGRAM ══════════════════════════════════════════ */
.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.arch-layer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.arch-layer:last-child { border-bottom: none; }
.arch-layer:hover { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.arch-layer-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  white-space: nowrap;
  min-width: 180px;
  flex-shrink: 0;
}
.arch-layer-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.arch-layer-item {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--fg);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 500;
}
.arch-layer-arrow {
  text-align: center;
  font-size: 1.4rem;
  color: var(--accent);
  padding: 0.1rem 0;
  background: color-mix(in srgb, var(--accent) 5%, var(--bg));
  border-bottom: 1px solid var(--border);
}

/* How It Works paragraphs */
.arch-overview-para {
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.97rem;
}
.arch-overview-para:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .arch-layer { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .arch-layer-label { min-width: unset; }
}

/* ══ TOOL DETAIL — OVERVIEW + INTERVIEW WEIGHTAGE ════════════════ */
.td-overview-section { background: var(--surface); border-bottom: 1px solid var(--border); }
.td-overview-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.td-what-block {}
.td-what-text {
  color: var(--fg-muted);
  line-height: 1.75;
  font-size: 0.97rem;
  margin-top: 0.5rem;
}

/* Interview Weightage widget */
.td-weight-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.4rem 1.5rem;
}
.td-weight-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}
.td-weight-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}
.td-weight-score {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.td-weight-max {
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg-muted);
}
.td-weight-bar-bg {
  height: 8px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.9rem;
}
.td-weight-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.6s ease;
}
.td-weight-note {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .td-overview-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ══ TOOL CATEGORY CARDS (tools-list page) ═══════════════════════ */
.tcat-section { padding: 48px 0 64px; }

.tcat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.tcat-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.8rem 1.6rem 1.5rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--fg);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
  position: relative;
  overflow: hidden;
}
.tcat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.18s;
}
.tcat-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}
.tcat-card:hover::before { opacity: 1; }

.tcat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}
.tcat-icon {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--accent);
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
}
.tcat-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fg-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 99px;
}
.tcat-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.tcat-desc {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
  flex: 1;
}
.tcat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}
.tcat-pill {
  font-size: 0.72rem;
  font-weight: 600;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  padding: 3px 9px;
  border-radius: 99px;
}
.tcat-cta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 0.5rem;
}

/* ══ INDIVIDUAL TOOL CARDS (category page) ═══════════════════════ */
.tlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  padding: 2rem 0;
}

.tlist-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.6rem 1.5rem 1.3rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--fg);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.tlist-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.tlist-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.tlist-icon {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--fg);
  color: var(--bg);
  padding: 5px 10px;
  border-radius: 6px;
}
.tlist-weight {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}
.tlist-weight-num {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}
.tlist-weight-denom {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
}
.tlist-weight-tag {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}

.tlist-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.25rem;
}
.tlist-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.55;
  flex: 1;
}

.tlist-bar-bg {
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin: 0.25rem 0;
}
.tlist-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
}

.tlist-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
}
.tlist-badges {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.tlist-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  padding: 2px 7px;
  border-radius: 4px;
}
.tlist-badge-bundle {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.tlist-cta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .tcat-grid { grid-template-columns: 1fr; }
  .tlist-grid { grid-template-columns: 1fr; }
}

/* ══ ARCHITECTURE COMING SOON ════════════════════════════════════ */
.arch-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px 96px;
  max-width: 520px;
  margin: 0 auto;
}
.arch-cs-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
}
.arch-cs-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.arch-cs-text {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.arch-cs-back {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.arch-cs-back:hover { text-decoration: underline; }

/* ══ DOWNLOAD WALL ══════════════════════════════════════════════ */
.td-downloads-section { padding: 40px 0 48px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.dl-wall {
  margin-top: 1.5rem;
  border: 1.5px dashed var(--border);
  border-radius: 14px;
  padding: 2rem;
}
.dl-wall-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.dl-wall-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}
.dl-wall-text { flex: 1; min-width: 200px; }
.dl-wall-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 0.3rem;
}
.dl-wall-sub {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.dl-wall-action {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 220px;
}
.dl-wall-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--fg);
}
.dl-wall-once {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
}
.dl-email-input {
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  background: var(--bg);
  color: var(--fg);
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.dl-email-input:focus { border-color: var(--accent); }

.dl-unlock-btn {
  padding: 11px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
  width: 100%;
}
.dl-unlock-btn:hover { opacity: 0.88; }

.dl-wall-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.dl-restore-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* Unlocked state */
.dl-files { margin-top: 1.5rem; }

.dl-unlocked-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}

.dl-file-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  background: var(--surface);
}
.dl-file-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.dl-file-icon { font-size: 1.5rem; }
.dl-file-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 2px;
}
.dl-file-meta {
  font-size: 0.78rem;
  color: var(--fg-muted);
}
.dl-file-btn {
  padding: 9px 18px;
  background: var(--fg);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.dl-file-btn:hover { opacity: 0.85; }
.dl-logout-note { margin-top: 0.75rem; }

@media (max-width: 600px) {
  .dl-wall-inner { flex-direction: column; align-items: flex-start; }
  .dl-file-row { flex-direction: column; align-items: flex-start; }
  .dl-file-btn { width: 100%; }
}

/* ══ DOWNLOAD PRODUCT CARDS ══════════════════════════════════════ */
.dl-header { margin-bottom: 2rem; }

.dl-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1.4rem 1.3rem;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.dl-card-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--accent);
  color: #fff;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}

.dl-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.dl-card-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--fg);
  line-height: 1.3;
}

.dl-card-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fg-muted);
  margin-top: 2px;
}

.dl-card-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.dl-card-desc {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.6;
  flex: 1;
}

.dl-card-locked {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.dl-card-unlocked {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.dl-unlocked-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.dl-download-btn {
  flex: 1;
  padding: 10px 16px;
  background: var(--fg);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s;
  text-align: center;
}
.dl-download-btn:hover { opacity: 0.82; }

.dl-restore-line {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.5rem;
}

.dl-restore-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.td-iq-footer {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* Restore modal */
.dl-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.dl-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.dl-modal-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--fg);
}
.dl-modal-text {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .dl-cards { grid-template-columns: 1fr; }
}

/* ══ TOOL COMING SOON ════════════════════════════════════════════ */
.td-coming-soon-section { padding: 48px 0 64px; border-top: 1px solid var(--border); }
.td-cs-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 24px;
  border: 1.5px dashed var(--border);
  border-radius: 16px;
}
.td-cs-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.td-cs-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 0.6rem;
}
.td-cs-text {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════
   NEW DESIGN SYSTEM — rootcausedaily.com rebuild
   ═══════════════════════════════════════════════════════════════════ */

/* ── NAV ─────────────────────────────────────────────────────────── */
.site-header {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e8e8e8 !important;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 60px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.07); }

/* Dropdown wrapper */
.nav-dropdown { position: relative; }
.nav-chevron {
  font-size: 10px; opacity: 0.5; display: inline-block;
  transition: transform 0.2s;
  margin-left: 3px;
}

/* The menu — hidden by default, shown via .dd-open class */
.nav-dropdown-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: 480px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 18px;
  padding-top: 8px;
  z-index: 300;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-dropdown-menu.dd-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dd-header {
  font-size: 10px; font-weight: 800; color: rgba(0,0,0,0.3);
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 16px 10px;
}
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 0 8px;
}
.nav-drop-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.12s;
}
.nav-drop-item:hover { background: rgba(0,0,0,0.05); }
.nav-drop-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; color: #fff;
  flex-shrink: 0;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.02em;
}
.nav-drop-name { font-size: 13px; font-weight: 600; color: #111111; line-height: 1.2; }
.nav-drop-sub { font-size: 11px; color: #888888; margin-top: 2px; }
.nav-dd-footer {
  padding: 10px 16px 14px;
  border-top: 1px solid #efefef;
  margin-top: 8px;
}
.nav-dd-all {
  font-size: 12px; font-weight: 600; color: #6366f1;
  text-decoration: none;
}
.nav-dd-all:hover { color: #818cf8; }

/* Mobile toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-muted); border-radius: 2px;
}
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 24px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.99);
}
.nav-mobile-menu a {
  color: var(--text-muted); text-decoration: none;
  padding: 10px 0; font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-mobile-menu a:hover { color: var(--text); }
.nav-mobile-menu a:last-child { border-bottom: none; }
.site-header.nav-open .nav-mobile-menu { display: flex; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
}

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 24px 72px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.15) 0%, transparent 70%);
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(99,102,241,0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99,102,241,0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--text);
}
.hero-accent { color: #6366f1; }
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 auto 36px;
  max-width: 640px;
  text-align: center;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.btn-primary {
  background: #6366f1;
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}
.btn-primary:hover { background: #4f52e0; transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255,255,255,0.07);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); }
.btn-ghost {
  background: none; color: var(--text-muted);
  padding: 10px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.hero-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hero-stat-num { font-size: 28px; font-weight: 800; color: var(--text); }
.hero-stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ── SECTION SHARED ──────────────────────────────────────────────── */
.section { padding: 64px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-title { font-size: 32px; font-weight: 700; color: var(--text); margin: 0 0 12px; }
.section-sub { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ── COURSES GRID ────────────────────────────────────────────────── */
.courses-section { background: rgba(255,255,255,0.02); }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.course-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.course-card:hover {
  border-color: #6366f1;
  background: #f5f3ff;
  transform: translateY(-2px);
}
.course-card--soon { opacity: 0.7; }
.course-card--soon:hover { opacity: 1; }
.course-card-top { display: flex; align-items: center; justify-content: space-between; }
.course-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
  font-family: 'Courier New', monospace;
  flex-shrink: 0;
}
.course-badge-live {
  font-size: 10px; font-weight: 700;
  background: rgba(16,185,129,0.15);
  color: #34d399;
  border: 1px solid rgba(16,185,129,0.3);
  padding: 3px 8px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.course-badge-soon {
  font-size: 10px; font-weight: 700;
  background: #f3f4f6;
  color: var(--text-muted);
  border: 1px solid #e5e7eb;
  padding: 3px 8px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.course-card-body { flex: 1; }
.course-name { font-size: 17px; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.course-tagline { font-size: 13px; color: var(--text-muted); margin: 0 0 8px; line-height: 1.5; }
.course-category {
  font-size: 11px; font-weight: 600; color: #6366f1;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.course-card-footer { padding-top: 8px; border-top: 1px solid #f3f4f6; }
.course-cta { font-size: 13px; font-weight: 600; color: #6366f1; }
.course-cta-muted { font-size: 13px; color: var(--text-muted); }

/* ── BUNDLES SECTION ─────────────────────────────────────────────── */
.bundles-section { }
.bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.bundle-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bundle-card--featured {
  border-color: rgba(99,102,241,0.4);
  background: rgba(99,102,241,0.06);
}
.bundle-card--coming { opacity: 0.65; }
.bundle-card-top { display: flex; align-items: center; gap: 12px; }
.bundle-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
  font-family: 'Courier New', monospace;
}
.bundle-tag {
  font-size: 11px; font-weight: 700;
  background: rgba(16,185,129,0.15);
  color: #34d399;
  border: 1px solid rgba(16,185,129,0.3);
  padding: 4px 10px; border-radius: 100px;
}
.bundle-tag--soon {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border-color: rgba(255,255,255,0.1);
}
.bundle-name { font-size: 18px; font-weight: 700; color: var(--text); }
.bundle-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.bundle-includes { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.bundle-includes li { font-size: 13px; color: var(--text); }
.bundle-includes--muted li { color: var(--text-muted); }
.bundle-price { display: flex; align-items: baseline; gap: 10px; }
.bundle-price-amount { font-size: 28px; font-weight: 800; color: var(--text); }
.bundle-price-was { font-size: 14px; color: var(--text-muted); text-decoration: line-through; }
.bundle-price-save { font-size: 12px; font-weight: 700; color: #34d399; }
.bundle-btn { width: 100%; text-align: center; }
.bundle-coming-label {
  text-align: center; font-size: 13px; font-weight: 600;
  color: var(--text-muted); padding: 10px;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 8px;
}
.bundles-all-link { text-align: center; }
.bundles-all-link a { color: #6366f1; font-size: 14px; font-weight: 600; text-decoration: none; }

/* ── WHY SECTION ─────────────────────────────────────────────────── */
.why-section { background: rgba(255,255,255,0.02); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.why-card {
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
}
.why-icon { font-size: 28px; margin-bottom: 12px; }
.why-card h3 { font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ── ARCH TEASER ─────────────────────────────────────────────────── */
.arch-teaser-section { }
.arch-teaser-row {
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 40px;
  flex-wrap: wrap;
}
.arch-teaser-text { flex: 1; min-width: 260px; }
.arch-teaser-text h2 { font-size: 24px; font-weight: 700; color: var(--text); margin: 0 0 10px; }
.arch-teaser-text p { font-size: 15px; color: var(--text-muted); margin: 0 0 20px; line-height: 1.6; }
.arch-teaser-logos {
  display: flex; flex-wrap: wrap; gap: 10px;
  flex: 1; min-width: 220px; justify-content: center;
}
.arch-teaser-logos span {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
}

/* ── COURSE DETAIL ───────────────────────────────────────────────── */
.cd-hero {
  padding: 60px 24px;
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.1) 0%, transparent 70%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.cd-hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .cd-hero-inner { grid-template-columns: 1fr; } }
.cd-back { font-size: 13px; color: var(--text-muted); text-decoration: none; display: inline-block; margin-bottom: 20px; }
.cd-back:hover { color: var(--text); }
.cd-icon-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.cd-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
  font-family: 'Courier New', monospace;
}
.cd-category { font-size: 12px; font-weight: 600; color: #6366f1; text-transform: uppercase; letter-spacing: 0.06em; }
.cd-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: var(--text); margin: 0 0 16px; }
.cd-desc { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin: 0; }
.cd-coming-hero { margin-top: 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cd-coming-badge {
  background: rgba(255,255,255,0.08); color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 700;
}
.cd-coming-text { font-size: 14px; color: var(--text-muted); }
.cd-topics-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 24px;
}
.cd-topics-title { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.cd-topics-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.cd-topics-list li { font-size: 14px; color: var(--text); padding-left: 20px; position: relative; line-height: 1.5; }
.cd-topics-list li::before { content: '✓'; color: #34d399; position: absolute; left: 0; font-weight: 700; }

/* cd products */
.cd-products-section { }
.dl-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 16px;
}
.dl-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.dl-card-badge {
  position: absolute; top: -10px; right: 16px;
  background: #6366f1; color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 100px;
}
.dl-card-type {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted);
}
.dl-type-bundle { color: #6366f1; }
.dl-type-interview { color: #f59e0b; }
.dl-card-name { font-size: 18px; font-weight: 700; color: var(--text); }
.dl-card-sub { font-size: 13px; color: var(--text-muted); }
.dl-card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.dl-card-header { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dl-card-footer { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.dl-price { font-size: 26px; font-weight: 800; color: var(--text); }
.dl-unlock-btn {
  width: 100%; padding: 12px;
  background: #6366f1; color: #fff;
  border: none; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
}
.dl-unlock-btn:hover { background: #4f52e0; }
.dl-download-btn {
  width: 100%; padding: 12px;
  background: rgba(16,185,129,0.15); color: #34d399;
  border: 1px solid rgba(16,185,129,0.3); border-radius: 10px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
}
.dl-download-btn:hover { background: rgba(16,185,129,0.25); }
.dl-restore-link { font-size: 13px; color: var(--text-muted); }
.dl-restore-link a { color: #6366f1; text-decoration: none; }

/* restore modal */
.restore-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
}
.restore-modal-box {
  background: #1a1a2e; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 32px; max-width: 400px; width: 90%;
}
.restore-modal-box h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.restore-modal-box p { font-size: 14px; color: var(--text-muted); margin: 0 0 16px; }
.restore-modal-box input {
  width: 100%; padding: 10px 14px; border-radius: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  color: var(--text); font-size: 14px; box-sizing: border-box; margin-bottom: 16px;
}
.restore-modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* coming soon page */
.cd-coming-section { }
.cd-coming-box {
  max-width: 500px; margin: 0 auto; text-align: center;
  padding: 60px 24px;
}
.cd-coming-icon {
  width: 72px; height: 72px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: #fff;
  font-family: 'Courier New', monospace;
  margin: 0 auto 24px;
}
.cd-coming-box h2 { font-size: 24px; font-weight: 700; color: var(--text); margin: 0 0 12px; }
.cd-coming-box p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin: 0 0 24px; }

.cd-arch-section { padding-top: 0; }
.cd-arch-teaser {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px; padding: 28px 32px;
}
.cd-arch-teaser h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.cd-arch-teaser p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ── INTERVIEW PREP PAGE ─────────────────────────────────────────── */
.ip-hero {
  padding: 60px 24px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.12) 0%, transparent 70%);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ip-hero-inner { max-width: 640px; margin: 0 auto; }
.ip-hero-badge {
  display: inline-block;
  background: rgba(99,102,241,0.15); color: #a5b4fc;
  border: 1px solid rgba(99,102,241,0.3);
  padding: 6px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 20px;
}
.ip-hero-title { font-size: clamp(28px, 5vw, 48px); font-weight: 800; color: var(--text); margin: 0 0 16px; }
.ip-hero-sub { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin: 0; }
.ip-how-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.ip-how-step {
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
}
.ip-how-num { font-size: 32px; font-weight: 800; color: rgba(99,102,241,0.4); margin-bottom: 12px; }
.ip-how-step h3 { font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.ip-how-step p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.6; }
.ip-bundles-section { background: rgba(255,255,255,0.02); }
.ip-topic-block {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ip-topic-block:last-child { border-bottom: none; }
.ip-topic-block--soon { opacity: 0.6; }
.ip-topic-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.ip-topic-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
  font-family: 'Courier New', monospace;
}
.ip-topic-name { font-size: 20px; font-weight: 700; color: var(--text); margin: 0 0 4px; }
.ip-topic-status { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.ip-topic-status--live { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.ip-topic-status--soon { background: rgba(255,255,255,0.06); color: var(--text-muted); border: 1px solid rgba(255,255,255,0.1); }
.ip-cards-row {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.ip-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.ip-card--featured { border-color: rgba(99,102,241,0.4); background: rgba(99,102,241,0.06); }
.ip-card-featured-badge {
  position: absolute; top: -10px; right: 16px;
  background: #6366f1; color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 100px;
}
.ip-card-type { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.ip-card-name { font-size: 17px; font-weight: 700; color: var(--text); }
.ip-card-sub { font-size: 13px; color: var(--text-muted); }
.ip-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.ip-card-price { font-size: 24px; font-weight: 800; color: var(--text); }
.ip-card-was { font-size: 13px; color: var(--text-muted); text-decoration: line-through; margin-left: 6px; }
.ip-buy-btn {
  display: block; text-align: center;
  padding: 10px 16px; border-radius: 8px;
  background: rgba(255,255,255,0.07); color: var(--text);
  font-size: 14px; font-weight: 600; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
}
.ip-buy-btn:hover { background: rgba(255,255,255,0.12); }
.ip-buy-btn--featured { background: #6366f1; color: #fff; border-color: transparent; }
.ip-buy-btn--featured:hover { background: #4f52e0; }
.ip-coming-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ip-coming-pill {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 16px; border-radius: 8px; font-size: 13px; color: var(--text-muted);
}
.ip-inside-section { }
.ip-inside-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px; margin-top: 40px;
}
.ip-inside-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px; padding: 24px;
}
.ip-inside-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 10px; }
.ip-inside-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ── COURSES LIST PAGE ───────────────────────────────────────────── */
.cl-hero {
  padding: 48px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.cl-hero-inner { max-width: 1200px; margin: 0 auto; }
.cl-hero h1 { font-size: 36px; font-weight: 800; color: var(--text); margin: 0 0 8px; }
.cl-hero p { font-size: 16px; color: var(--text-muted); margin: 0; }
.cl-category-block { margin-bottom: 48px; }
.cl-category-title {
  font-size: 14px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 16px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* ═══════════════════════════════════════════════════════════════════
   10x DESIGN PASS — homepage, course page, FAQ, curriculum
   ═══════════════════════════════════════════════════════════════════ */

/* ── HERO STAT DIVIDER ───────────────────────────────────────────── */
.hero-stat-divider {
  display: block; width: 1px; height: 32px;
  background: rgba(255,255,255,0.12);
}

/* ── SAMPLE QUESTION SECTION ─────────────────────────────────────── */
.sample-section { background: rgba(255,255,255,0.02); }
.sample-label {
  font-size: 12px; font-weight: 700; color: #6366f1;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.sample-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 20px;
  overflow: hidden;
}
.sample-card-header {
  padding: 20px 24px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.sample-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.sample-tag {
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.sample-tag--topic { background: rgba(232,168,56,0.15); color: #E8A838; border: 1px solid rgba(232,168,56,0.3); }
.sample-tag--level { background: rgba(251,191,36,0.1); color: #fbbf24; border: 1px solid rgba(251,191,36,0.25); }
.sample-tag--type { background: rgba(99,102,241,0.12); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.25); }
.sample-q-num { font-size: 12px; color: var(--text-muted); }
.sample-question {
  font-size: 18px; font-weight: 600; color: var(--text);
  line-height: 1.65; padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sample-hint {
  padding: 16px 24px;
  background: rgba(255,255,255,0.02);
  font-size: 13px; color: var(--text-muted); line-height: 1.6;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sample-hint-label { font-weight: 700; color: #fbbf24; margin-right: 6px; }
.sample-answer-teaser {
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.sample-answer-label {
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.sample-answer-blur {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.7;
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}
.sample-answer-blur code {
  background: rgba(255,255,255,0.08);
  padding: 2px 6px; border-radius: 4px;
  font-family: 'Courier New', monospace; font-size: 13px;
}
.sample-unlock-btn {
  display: inline-block;
  background: #6366f1; color: #fff;
  padding: 13px 24px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  text-align: center;
}
.sample-unlock-btn:hover { background: #4f52e0; }

/* ── DIFF TABLE (scenario vs textbook) ───────────────────────────── */
.diff-section { }
.diff-table {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 640px) { .diff-table { grid-template-columns: 1fr; } }
.diff-col {
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.diff-col--good { border-color: rgba(99,102,241,0.3); }
.diff-col-header {
  padding: 14px 18px;
  font-size: 13px; font-weight: 700;
}
.diff-col-header--bad { background: rgba(255,255,255,0.04); color: var(--text-muted); }
.diff-col-header--good { background: rgba(99,102,241,0.12); color: #a5b4fc; }
.diff-item {
  padding: 12px 18px;
  font-size: 14px; line-height: 1.55;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.diff-item--bad { color: var(--text-muted); }
.diff-item--good { color: var(--text); }
.diff-note {
  text-align: center; font-size: 14px;
  color: var(--text-muted); font-style: italic;
}

/* ── FAILURE STORIES TEASER ──────────────────────────────────────── */
.failure-teaser-section { background: rgba(255,255,255,0.02); }
.failure-teaser-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px; padding: 40px;
}
@media (max-width: 768px) { .failure-teaser-box { grid-template-columns: 1fr; gap: 24px; } }
.failure-teaser-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700; color: #f97316;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.failure-teaser-text h2 { font-size: 24px; font-weight: 700; color: var(--text); margin: 0 0 12px; }
.failure-teaser-text p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin: 0 0 16px; }
.failure-teaser-follow { font-size: 13px; color: var(--text-muted); }
.failure-teaser-follow strong { color: var(--text); }
.failure-teaser-cards { display: flex; flex-direction: column; gap: 12px; }
.failure-card {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 16px 20px;
}
.failure-card-icon { font-size: 24px; }
.failure-card-title { font-size: 15px; font-weight: 700; color: var(--text); }
.failure-card-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq-section { }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.faq-open { border-color: rgba(99,102,241,0.35); }
.faq-q {
  width: 100%; text-align: left;
  padding: 18px 20px;
  background: rgba(255,255,255,0.03);
  border: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: background 0.2s;
  font-family: inherit;
}
.faq-q:hover { background: rgba(255,255,255,0.06); }
.faq-chevron {
  font-size: 12px; color: var(--text-muted); flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
  font-size: 14px; color: var(--text-muted); line-height: 1.75;
  padding: 0 20px;
  background: rgba(255,255,255,0.02);
}
.faq-open .faq-a { max-height: 400px; padding: 16px 20px; }

/* ── WHO IS THIS FOR ─────────────────────────────────────────────── */
.cd-who-section { padding-top: 40px; padding-bottom: 0; }
.cd-who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .cd-who-grid { grid-template-columns: 1fr; } }
.cd-who-block {
  border-radius: 16px; padding: 24px;
  border: 1px solid rgba(255,255,255,0.08);
}
.cd-who-block--yes { background: rgba(16,185,129,0.05); border-color: rgba(16,185,129,0.2); }
.cd-who-block--no { background: rgba(255,255,255,0.02); }
.cd-who-title {
  font-size: 14px; font-weight: 700; color: #34d399;
  margin: 0 0 16px; text-transform: uppercase; letter-spacing: 0.05em;
}
.cd-who-title--no { color: var(--text-muted); }
.cd-who-item {
  font-size: 14px; line-height: 1.6; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cd-who-item:last-child { border-bottom: none; }
.cd-who-item--yes { color: var(--text); }
.cd-who-item--no { color: var(--text-muted); }

/* ── CURRICULUM ──────────────────────────────────────────────────── */
.cd-curriculum-section { background: rgba(255,255,255,0.02); }
.curriculum-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
@media (max-width: 640px) { .curriculum-grid { grid-template-columns: 1fr; } }
.curriculum-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  transition: background 0.15s;
}
.curriculum-item:hover { background: rgba(255,255,255,0.06); }
.curriculum-ch {
  font-size: 11px; font-weight: 800; color: #6366f1;
  font-family: 'Courier New', monospace;
  flex-shrink: 0; padding-top: 2px;
  letter-spacing: 0.03em;
}
.curriculum-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.curriculum-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ── DL CARD IMPROVEMENTS ────────────────────────────────────────── */
.dl-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 16px; }
.dl-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px; position: relative;
  transition: border-color 0.2s;
}
.dl-card:hover { border-color: rgba(255,255,255,0.15); }
.dl-card--featured { border-color: rgba(99,102,241,0.45); background: rgba(99,102,241,0.07); }
.dl-card-badge {
  position: absolute; top: -10px; right: 20px;
  background: #6366f1; color: #fff;
  font-size: 10px; font-weight: 800; padding: 4px 12px; border-radius: 100px;
  letter-spacing: 0.04em;
}
.dl-card-type-tag {
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-muted);
}
.dl-type-bundle { color: #6366f1; }
.dl-type-interview { color: #f59e0b; }
.dl-card-name { font-size: 19px; font-weight: 800; color: var(--text); }
.dl-card-sub { font-size: 13px; color: var(--text-muted); }
.dl-card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.dl-card-includes {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.06);
}
.dl-card-includes li { font-size: 13px; color: var(--text); display: flex; gap: 8px; align-items: flex-start; }
.dl-card-includes li::before { content: '✓'; color: #34d399; font-weight: 700; flex-shrink: 0; }
.dl-card-footer { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.dl-price { font-size: 28px; font-weight: 800; color: var(--text); }
.dl-unlock-btn {
  width: 100%; padding: 13px; background: #6366f1; color: #fff;
  border: none; border-radius: 10px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background 0.2s; font-family: inherit;
}
.dl-unlock-btn:hover { background: #4f52e0; }
.dl-download-btn {
  width: 100%; padding: 13px;
  background: rgba(16,185,129,0.15); color: #34d399;
  border: 1px solid rgba(16,185,129,0.3); border-radius: 10px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background 0.2s; font-family: inherit;
}
.dl-download-btn:hover { background: rgba(16,185,129,0.25); }
.dl-purchased-badge {
  text-align: center; font-size: 12px; font-weight: 700;
  color: #34d399; letter-spacing: 0.04em;
}
.dl-restore-link { font-size: 13px; color: var(--text-muted); margin-top: 8px; }
.dl-restore-link a { color: #6366f1; text-decoration: none; }

/* ── RESTORE MODAL ───────────────────────────────────────────────── */
.restore-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.75);
  display: flex; align-items: center; justify-content: center; z-index: 1000;
}
.restore-modal-box {
  background: #16162a; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 32px; max-width: 400px; width: 90%;
}
.restore-modal-box h3 { font-size: 18px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.restore-modal-box p { font-size: 14px; color: var(--text-muted); margin: 0 0 14px; }
.restore-modal-box input {
  width: 100%; padding: 11px 14px; border-radius: 8px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  color: var(--text); font-size: 14px; box-sizing: border-box; margin-bottom: 14px;
  font-family: inherit;
}
.restore-modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ── CD HERO IMPROVEMENTS ────────────────────────────────────────── */
.cd-live-tag {
  font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 100px;
  background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.3);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.cd-soon-tag {
  font-size: 10px; font-weight: 800; padding: 3px 10px; border-radius: 100px;
  background: rgba(255,255,255,0.06); color: var(--text-muted); border: 1px solid rgba(255,255,255,0.1);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.cd-hero-actions { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cd-hero-sub-note { font-size: 12px; color: var(--text-muted); }

/* ── COMING SOON PAGE ────────────────────────────────────────────── */
.cd-coming-section { }
.cd-coming-box { max-width: 540px; margin: 0 auto; text-align: center; padding: 48px 24px 32px; }
.cd-coming-icon {
  width: 72px; height: 72px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff;
  font-family: 'Courier New', monospace; margin: 0 auto 24px;
}
.cd-coming-box h2 { font-size: 26px; font-weight: 700; color: var(--text); margin: 0 0 12px; }
.cd-coming-box p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin: 0 0 28px; }
.cd-coming-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cd-coming-topics { max-width: 640px; margin: 0 auto; padding: 32px 24px; text-align: center; }
.cd-coming-topics h3 { font-size: 16px; font-weight: 700; color: var(--text-muted); margin: 0 0 16px; }
.cd-coming-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cd-coming-pill {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 16px; border-radius: 8px; font-size: 13px; color: var(--text-muted);
}

/* ── FOOTER IMPROVEMENTS ─────────────────────────────────────────── */
.footer-social { margin-top: 14px; }
.footer-social-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-muted); text-decoration: none; font-size: 13px; font-weight: 500;
  transition: color 0.2s;
}
.footer-social-link:hover { color: var(--text); }

/* ── BUNDLE FEATURED LABEL ───────────────────────────────────────── */
.bundle-featured-label {
  display: inline-block;
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #6366f1; color: #fff;
  padding: 4px 12px; border-radius: 100px;
  margin-bottom: 4px;
}

/* ── CD SAMPLE SECTION ───────────────────────────────────────────── */
.cd-sample-section { background: rgba(255,255,255,0.02); }


/* ══════════════════════════════════════════════════════════════
   PRODUCTION FIXES — LIST PAGE
══════════════════════════════════════════════════════════════ */
.fl-hero {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 64px 24px 48px;
  text-align: center;
}
.fl-hero-inner { max-width: 640px; margin: 0 auto; }
.fl-hero h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 800; color: var(--text); margin: 0 0 12px; }
.fl-hero p { font-size: 16px; color: var(--text-muted); margin: 0; line-height: 1.7; }

/* Tag filter bar */
.fl-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.fl-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px; font-weight: 600;
  background: #f3f4f6;
  color: var(--text-muted);
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: all 0.15s;
}
.fl-tag:hover { background: #ede9fe; color: #6366f1; border-color: #c4b5fd; }
.fl-tag--active { background: #6366f1; color: #fff; border-color: #6366f1; }

/* Fix cards */
.fl-list { display: flex; flex-direction: column; gap: 12px; }
.fl-card {
  display: block;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 24px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fl-card:hover { border-color: #6366f1; box-shadow: 0 2px 12px rgba(99,102,241,0.1); }
.fl-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.fl-card-tag {
  font-size: 11px; font-weight: 700;
  background: #ede9fe; color: #6366f1;
  border-radius: 4px; padding: 2px 8px;
  text-transform: uppercase; letter-spacing: 0.04em;
  text-decoration: none;
}
.fl-card-tag:hover { background: #6366f1; color: #fff; }
.fl-card-title { font-size: 17px; font-weight: 700; color: var(--text); margin: 0 0 6px; font-family: 'Courier New', monospace; }
.fl-card-summary { font-size: 14px; color: var(--text-muted); margin: 0 0 12px; line-height: 1.6; }
.fl-card-cta { font-size: 13px; font-weight: 600; color: #6366f1; }
.fl-empty { color: var(--text-muted); font-size: 15px; padding: 32px 0; }

/* ══════════════════════════════════════════════════════════════
   PRODUCTION FIXES — DETAIL PAGE
══════════════════════════════════════════════════════════════ */
.fd-layout { max-width: 720px; }
.fd-back {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--text-muted); text-decoration: none;
  margin-bottom: 20px;
}
.fd-back:hover { color: #6366f1; }
.fd-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.fd-title {
  font-size: clamp(22px, 4vw, 32px); font-weight: 800;
  color: var(--text); margin: 0 0 32px;
  font-family: 'Courier New', monospace;
  line-height: 1.3;
}
.fd-block {
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 16px;
}
.fd-block--issue { background: #fff8f0; border: 1px solid #fed7aa; }
.fd-block--cause { background: #fef2f2; border: 1px solid #fecaca; }
.fd-block--fix   { background: #f0fdf4; border: 1px solid #bbf7d0; }
.fd-block-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 10px;
  color: var(--text-muted);
}
.fd-block--issue .fd-block-label { color: #c2410c; }
.fd-block--cause .fd-block-label { color: #b91c1c; }
.fd-block--fix   .fd-block-label { color: #15803d; }
.fd-block p { font-size: 15px; color: var(--text); line-height: 1.7; margin: 0; }
.fd-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.fd-steps li { font-size: 14px; color: var(--text); line-height: 1.6; }
.fd-steps li code {
  font-family: 'Courier New', monospace;
  background: rgba(0,0,0,0.04);
  padding: 2px 6px; border-radius: 4px;
  font-size: 13px;
}
.fd-footer { margin-top: 32px; }

/* ══════════════════════════════════════════════════════════════
   PRODUCTION FIXES — HOMEPAGE PREVIEW
══════════════════════════════════════════════════════════════ */
.fixes-preview-section { background: #f9fafb; }
.fp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.fp-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px 20px;
  text-decoration: none;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fp-card:hover { border-color: #6366f1; box-shadow: 0 2px 10px rgba(99,102,241,0.1); }
.fp-card-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.fp-card-title {
  font-size: 14px; font-weight: 700; color: var(--text);
  font-family: 'Courier New', monospace; line-height: 1.4;
}
.fp-card-summary { font-size: 13px; color: var(--text-muted); line-height: 1.5; flex: 1; }
.fp-card-cta { font-size: 12px; font-weight: 600; color: #6366f1; }
.fp-footer { text-align: center; }

/* clickable topic header on /interview-prep listing */
.ip-topic-header--link {
  text-decoration: none;
  display: flex; align-items: center; gap: 16px;
  cursor: pointer;
}
.ip-topic-header--link:hover .ip-topic-name { color: #6366f1; }
.ip-topic-header--link:hover .ip-topic-icon { transform: scale(1.05); transition: transform 0.15s; }

/* ══════════════════════════════════════════════════════════════
   PRODUCTION FIXES — SEARCH BOX
══════════════════════════════════════════════════════════════ */
.fl-search-wrap {
  position: relative;
  max-width: 560px;
  margin: 24px auto 0;
}
.fl-search {
  width: 100%;
  padding: 14px 48px 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.fl-search:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
.fl-search-icon {
  position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: 16px; pointer-events: none;
  color: var(--text-muted);
}
.fl-count {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 12px; min-height: 20px;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════════════════════ */
.ab-hero {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 56px 24px 48px;
}
.ab-hero-inner {
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
}
.ab-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff; font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; letter-spacing: 1px;
}
.ab-name { font-size: 28px; font-weight: 800; color: var(--text); margin: 0 0 4px; }
.ab-role { font-size: 15px; color: var(--text-muted); margin: 0 0 12px; }
.ab-links { display: flex; gap: 12px; flex-wrap: wrap; }
.ab-link {
  font-size: 13px; font-weight: 600; color: #6366f1;
  text-decoration: none; padding: 5px 12px;
  border: 1px solid #c4b5fd; border-radius: 100px;
  background: #ede9fe;
  transition: background 0.15s;
}
.ab-link:hover { background: #6366f1; color: #fff; border-color: #6366f1; }

/* Layout */
.ab-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .ab-layout { grid-template-columns: 1fr; } }

/* Main content blocks */
.ab-block { margin-bottom: 36px; }
.ab-block-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #6366f1; margin-bottom: 12px;
}
.ab-lead { font-size: 18px; font-weight: 600; color: var(--text); line-height: 1.6; margin: 0 0 14px; }
.ab-block p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin: 0 0 12px; }
.ab-block a { color: #6366f1; text-decoration: none; }
.ab-block a:hover { text-decoration: underline; }

/* Skills */
.ab-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.ab-skill {
  font-size: 12px; font-weight: 600;
  background: #f3f4f6; color: var(--text-muted);
  border: 1px solid #e5e7eb;
  padding: 4px 12px; border-radius: 100px;
}
.ab-skill--linux { background: #fef9c3; color: #854d0e; border-color: #fde047; }
.ab-skill--docker { background: #dbeafe; color: #1d4ed8; border-color: #93c5fd; }
.ab-skill--k8s { background: #ede9fe; color: #6d28d9; border-color: #c4b5fd; }
.ab-skill--aws { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }

/* Sidebar cards */
.ab-card {
  background: #fff; border: 1px solid #e5e7eb;
  border-radius: 12px; padding: 20px;
  margin-bottom: 16px;
}
.ab-card--cta { background: #f5f3ff; border-color: #c4b5fd; }
.ab-card-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 12px; }
.ab-card-list { margin: 0; padding: 0 0 0 4px; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ab-card-list li { font-size: 14px; color: var(--text); line-height: 1.4; }
.ab-card-list a { color: #6366f1; text-decoration: none; }
.ab-card-list a:hover { text-decoration: underline; }
.ab-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0 0 14px; }
.ab-cta-btn { display: block; text-align: center; font-size: 14px; }

/* ══════════════════════════════════════════════════════════════
   ARTICLES PAGE
══════════════════════════════════════════════════════════════ */
.ar-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  padding: 64px 24px 52px;
  text-align: center;
}
.ar-hero-inner { max-width: 640px; margin: 0 auto; }
.ar-hero h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 800; color: #fff; margin: 0 0 10px; }
.ar-hero p { font-size: 16px; color: rgba(255,255,255,0.7); margin: 0 0 28px; line-height: 1.7; }

/* Search */
.ar-search-wrap {
  position: relative; max-width: 480px; margin: 0 auto;
}
.ar-search {
  width: 100%; padding: 13px 44px 13px 42px;
  border: none; border-radius: 10px;
  font-size: 15px; color: var(--text);
  background: #fff; outline: none;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.ar-search-icon {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%); font-size: 15px; pointer-events: none;
}
.ar-search-clear {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%); font-size: 13px;
  color: var(--text-muted); cursor: pointer;
  background: #f3f4f6; border-radius: 50%;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
}

/* Category tabs */
.ar-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.ar-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600;
  background: #f3f4f6; color: var(--text-muted);
  border: 1px solid #e5e7eb; text-decoration: none;
  transition: all 0.15s;
}
.ar-tab:hover { background: #ede9fe; color: #6366f1; border-color: #c4b5fd; }
.ar-tab--active { background: #1e1b4b; color: #fff; border-color: #1e1b4b; }
.ar-tab-count {
  font-size: 11px; background: rgba(255,255,255,0.2);
  padding: 1px 6px; border-radius: 100px;
}
.ar-tab--active .ar-tab-count { background: rgba(255,255,255,0.25); }

/* Result count */
.ar-result-count { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; min-height: 20px; }

/* Article grid — magazine layout */
.ar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .ar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ar-grid { grid-template-columns: 1fr; } }

/* Article card */
.ar-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: flex; flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.ar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: #c4b5fd;
}
.ar-card-img {
  height: 160px;
  background-size: cover; background-position: center;
  position: relative;
}
.ar-card-img--placeholder {
  background: linear-gradient(135deg, #1e1b4b, #6366f1);
}
.ar-card-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  background: rgba(0,0,0,0.55); color: #fff;
  padding: 3px 8px; border-radius: 4px;
  backdrop-filter: blur(4px);
}
.ar-card-body { padding: 18px 18px 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.ar-card-title { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.4; margin: 0; }
.ar-card-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0; flex: 1; }
.ar-card-meta { display: flex; align-items: center; gap: 6px; }
.ar-card-date { font-size: 12px; color: var(--text-muted); }
.ar-card-dot { color: var(--text-muted); font-size: 12px; }
.ar-card-time { font-size: 12px; color: #6366f1; font-weight: 600; }

.ar-empty, .ar-no-results {
  color: var(--text-muted); font-size: 15px; padding: 48px 0; text-align: center;
}
.ar-section { padding-top: 40px; }

/* ── 404 PAGE ──────────────────────────────────────────────────────── */
.error-page {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  padding: 80px 24px;
}
.error-page .section-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.error-code {
  font-size: 96px; font-weight: 800; line-height: 1;
  color: var(--accent); margin-bottom: 16px; letter-spacing: -4px;
}
.error-title { font-size: 28px; font-weight: 700; margin: 0 0 12px; color: var(--text); }
.error-sub { font-size: 15px; color: var(--text-muted); margin: 0 0 40px; line-height: 1.6; }
.error-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left;
}
.error-link {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-paper); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px; text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.error-link:hover { border-color: var(--accent); box-shadow: 0 2px 12px rgba(196,59,43,0.08); }
.error-link-icon { font-size: 24px; flex-shrink: 0; }
.error-link-name { font-size: 14px; font-weight: 600; color: var(--text); }
.error-link-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; line-height: 1.4; }
@media (max-width: 480px) { .error-links { grid-template-columns: 1fr; } .error-code { font-size: 72px; } }
.ab-link--ig { background: #fce7f3; border-color: #f9a8d4; color: #be185d; }
.ab-link--ig:hover { background: #be185d; border-color: #be185d; color: #fff; }
.ab-link--yt { background: #fee2e2; border-color: #fca5a5; color: #b91c1c; }
.ab-link--yt:hover { background: #b91c1c; border-color: #b91c1c; color: #fff; }

/* ── Hero letter animation ── */
.hero { position: relative !important; overflow: hidden !important; }
.hl { display: inline-block; opacity: 0; will-change: transform, opacity; transition: color 0.35s ease, text-shadow 0.35s ease; }
.hl-sp { display: inline-block; width: 0.27em; }
@keyframes hl-fly {
  0%   { opacity:0; transform:translate(var(--dx),var(--dy)) rotate(var(--dr)) scale(0.3); filter:blur(8px); }
  65%  { opacity:1; transform:translate(0,0) rotate(0deg) scale(1.06); filter:blur(0); }
  82%  { transform:translate(0,0) rotate(0deg) scale(0.97); }
  100% { opacity:1; transform:translate(0,0) rotate(0deg) scale(1); }
}
@keyframes hl-breathe { 0%,100%{transform:scale(1);} 50%{transform:scale(1.016);} }
@keyframes hl-drift {
  0%   { transform:translateY(0) rotate(0deg); opacity:0; }
  10%  { opacity:0.6; }
  90%  { opacity:0.15; }
  100% { transform:translateY(-360px) rotate(420deg); opacity:0; }
}
.hl-glow { color:#6366f1 !important; text-shadow:0 0 20px rgba(99,102,241,0.6) !important; }
.hl-frag { position:absolute; background:rgba(99,102,241,0.08); border-radius:2px; pointer-events:none; z-index:0; animation:hl-drift linear infinite; }
.logo-hl-word { display: inline-block; white-space: nowrap; }


/* ══ THREE-ROW NEWSPAPER NAV ══════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 2px solid var(--text, #111);
}

/* Row 1 — Logo */
.nav-logo-row {
  text-align: center;
  padding: 18px 24px 14px;
  border-bottom: 1px solid #e5e7eb;
}
.nav-logo-row .logo {
  font-family: var(--serif, 'Fraunces', Georgia, serif);
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text, #111);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.nav-logo-row .logo-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #c0392b;
  flex-shrink: 0;
}
.nav-logo-row .logo-accent { color: #c0392b; }

/* Row 2 — Main links */
.nav-main-row {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}
.nav-main-links {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nml {
  display: inline-block;
  padding: 11px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text, #111);
  text-decoration: none;
  border-right: 1px solid #e5e7eb;
  transition: background 0.15s, color 0.15s;
}
.nml:first-child { border-left: 1px solid #e5e7eb; }
.nml:hover { background: var(--text, #111); color: #fff; }

/* Row 3 — Topic sub-nav */
.nav-sub-row {
  background: #fafafa;
  border-bottom: 1px solid #e5e7eb;
}
.nav-sub-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 28px;
  padding: 7px 24px;
}
.nav-sub-links a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c0392b;
  text-decoration: none;
  padding: 4px 0;
  transition: opacity 0.15s;
}
.nav-sub-links a:hover { opacity: 0.65; }

/* Mobile toggle */
.nav-mobile-toggle {
  display: none;
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 6px;
  flex-direction: column; gap: 5px;
}
.nav-mobile-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text, #111); border-radius: 2px;
}
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 8px 0;
}
.nav-mobile-menu a {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text, #111);
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
}
.nav-mobile-menu a:hover { background: #f9fafb; }

@media (max-width: 720px) {
  .nav-main-links { display: none; }
  .nav-sub-row { display: none; }
  .nav-mobile-toggle { display: flex; }
  .site-header.nav-open .nav-mobile-menu { display: flex; }
}

/* ── Nav refinement: no borders, clean spacing ── */
.nml {
  border-left: none !important;
  border-right: none !important;
  padding: 11px 18px !important;
  border-radius: 4px !important;
  position: relative;
}
.nml:hover { background: #f4f4f4 !important; color: var(--text, #111) !important; }
.nml.active, .nml:focus { color: #c0392b !important; }
.nav-main-row { border-bottom: 1px solid #ebebeb !important; }
.nav-sub-row { background: #fff !important; border-bottom: 1px solid #ebebeb !important; }
.site-header { border-bottom: none !important; }
.nav-logo-row { border-bottom: 1px solid #ebebeb !important; padding: 16px 24px 12px !important; }

/* ── Interview Prep dropdown ── */
.nml-dd { position: relative; display: inline-block; }
.nml-dd-menu {
  display: none;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 2px solid #111;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 220px;
  z-index: 200;
  padding: 8px 0;
}
.nml-dd:hover .nml-dd-menu { display: block; }
.nml-dd-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  font-size: 13px; font-weight: 600; color: #111;
  text-decoration: none;
  transition: background 0.12s;
}
.nml-dd-item:hover { background: #f5f5f5; }
.nml-dd-icon {
  width: 32px; height: 32px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; color: #fff;
  letter-spacing: 0.03em; flex-shrink: 0;
}
.nml-dd-footer {
  border-top: 1px solid #e5e7eb; margin-top: 8px; padding: 10px 16px 4px;
}
.nml-dd-footer a { font-size: 12px; color: #c0392b; font-weight: 600; text-decoration: none; }
.nml-dd-footer a:hover { text-decoration: underline; }

/* ── Interview Prep dropdown — 2 column grid ── */
.nml-dd-menu {
  min-width: 380px !important;
  padding: 12px !important;
}
.nml-dd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.nml-dd-item {
  border-radius: 6px !important;
}

/* ── Interview Prep dropdown — animated & dynamic ── */

/* Smooth slide-in */
@keyframes dd-in {
  from { opacity:0; transform:translateX(-50%) translateY(-8px); }
  to   { opacity:1; transform:translateX(-50%) translateY(0); }
}
.nml-dd:hover .nml-dd-menu {
  animation: dd-in 0.18s ease forwards;
}

/* Dropdown shell */
.nml-dd-menu {
  border-radius: 10px !important;
  border-top: 3px solid #111 !important;
  box-shadow: 0 12px 36px rgba(0,0,0,0.13) !important;
  overflow: hidden;
}

/* Header inside dropdown */
.nml-dd-menu::before {
  content: 'Interview Prep by Topic';
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  padding: 8px 12px 10px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 4px;
}

/* Grid items */
.nml-dd-item {
  padding: 9px 12px !important;
  border-radius: 6px !important;
  gap: 10px !important;
  transition: background 0.12s, transform 0.12s !important;
  font-size: 13px !important;
}
.nml-dd-item:hover {
  background: #f5f4ff !important;
  transform: translateX(3px);
}
.nml-dd-item:hover .nml-dd-icon {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.nml-dd-icon {
  transition: transform 0.15s, box-shadow 0.15s;
  border-radius: 7px !important;
}
.nml-dd-item span:last-child {
  font-weight: 600;
  color: #111;
}
.nml-dd-item:hover span:last-child {
  color: #4f46e5;
}

/* Chevron rotates on hover */
.nml--dd { transition: color 0.15s; }
.nml-dd:hover .nml--dd { color: #4f46e5 !important; }

/* Footer link */
.nml-dd-footer {
  margin-top: 4px !important;
  background: #f9f9ff;
  border-radius: 0 0 8px 8px;
  padding: 10px 12px 8px !important;
}
.nml-dd-footer a {
  color: #4f46e5 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.02em;
}
.nml-dd-footer a:hover { text-decoration: underline !important; }

/* ── Rotating sample card ── */
.sample-label-row { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; flex-wrap:wrap; gap:12px; }
.sample-label { margin-bottom:0 !important; }

/* Progress bar */
.sample-progress-bar { height:3px; background:#f0f0f0; border-radius:0; margin:-1px -1px 20px; overflow:hidden; }
.sample-progress-fill { height:100%; width:0; background:linear-gradient(90deg,#6366f1,#a5b4fc); border-radius:2px; }

/* Dots */
.sample-dots { display:flex; gap:6px; align-items:center; }
.sd { width:8px; height:8px; border-radius:50%; background:#e0e0e0; border:none; cursor:pointer; padding:0; transition:background 0.2s, transform 0.2s; }
.sd--active { background:#6366f1; transform:scale(1.3); }
.sd:hover { background:#a5b4fc; }

/* Fade transitions */
@keyframes sq-in  { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
@keyframes sq-out { from{opacity:1;transform:translateY(0)} to{opacity:0;transform:translateY(-8px)} }
.sample-fade-out { animation:sq-out 0.3s ease forwards; }
.sample-fade-in  { animation:sq-in  0.35s ease forwards; }

/* Dynamic topic tag color handled inline; override level/type */
.sample-tag { font-size:11px; font-weight:700; letter-spacing:0.06em; padding:4px 10px; border-radius:100px; }
.sample-tag--level { background:#f0f4ff; color:#4f46e5; border:1px solid #c7d2fe; }
.sample-tag--type  { background:#f0fdf4; color:#16a34a; border:1px solid #bbf7d0; }

/* ══ ROADMAP PAGE ═══════════════════════════════════════════════════════ */
.rm-hero { background:#f8f9fb; border-bottom:1px solid #e8eaed; padding:56px 20px 48px; text-align:center; }
.rm-hero-inner { max-width:680px; margin:0 auto; }
.rm-badge { display:inline-block; background:#6366f1; color:#fff; font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; padding:4px 14px; border-radius:100px; margin-bottom:16px; }
.rm-title { font-size:clamp(26px,4vw,40px); font-weight:800; color:#111; margin:0 0 14px; }
.rm-sub { font-size:16px; color:#555; line-height:1.7; margin:0; }

.rm-section { padding-top:48px; padding-bottom:64px; }

.rm-block { max-width:780px; margin:0 auto 48px; }
.rm-block-title { font-size:20px; font-weight:700; color:#111; margin:0 0 14px; }
.rm-block-body { font-size:15px; color:#444; line-height:1.8; margin:0 0 12px; }
.rm-block-link { font-size:14px; font-weight:600; color:#6366f1; text-decoration:none; }
.rm-block-link:hover { text-decoration:underline; }
.rm-block--alt { background:#f8f9fb; border:1px solid #e8eaed; border-radius:12px; padding:32px 36px; max-width:780px; margin:48px auto; }

.rm-timeline { max-width:780px; margin:0 auto 32px; display:flex; flex-direction:column; gap:40px; }

.rm-track-label { font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:#999; margin-bottom:16px; padding-left:4px; }
.rm-track-items { display:flex; flex-direction:column; gap:20px; }

.rm-item { display:flex; gap:20px; background:#fff; border:1.5px solid #e8eaed; border-radius:14px; padding:24px; transition:box-shadow .2s; }
.rm-item:hover { box-shadow:0 4px 20px rgba(0,0,0,.06); }
.rm-item--live { border-color:#d1fae5; background:#f0fdf4; }
.rm-item--soon { border-color:#e0e7ff; background:#f5f3ff; }
.rm-item--planned { border-color:#f1f5f9; background:#f8fafc; }

.rm-item-icon { width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0; }
.rm-item-body { flex:1; min-width:0; }
.rm-item-head { display:flex; align-items:center; gap:12px; margin-bottom:10px; flex-wrap:wrap; }
.rm-item-name { font-size:17px; font-weight:700; color:#111; }

.rm-item-badge { font-size:11px; font-weight:700; letter-spacing:.06em; padding:3px 10px; border-radius:100px; }
.rm-item-badge--live { background:#dcfce7; color:#16a34a; }
.rm-item-badge--soon { background:#e0e7ff; color:#4338ca; }
.rm-item-badge--planned { background:#f1f5f9; color:#64748b; }

.rm-item-why { font-size:14px; color:#444; line-height:1.75; margin:0 0 12px; }
.rm-item-includes { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.rm-ii { font-size:12px; font-weight:600; color:#555; background:#f1f5f9; padding:3px 10px; border-radius:100px; border:1px solid #e2e8f0; }
.rm-item-cta { font-size:13px; font-weight:700; color:#6366f1; text-decoration:none; }
.rm-item-cta:hover { text-decoration:underline; }

.rm-notify { background:linear-gradient(135deg,#f5f3ff 0%,#ede9fe 100%); border:1px solid #ddd6fe; border-radius:14px; padding:32px 36px; max-width:780px; margin:0 auto; }
.rm-notify-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.rm-notify-title { font-size:17px; font-weight:700; color:#111; margin-bottom:6px; }
.rm-notify-sub { font-size:14px; color:#555; line-height:1.6; }
.rm-notify-btns { display:flex; gap:12px; flex-shrink:0; flex-wrap:wrap; }

@media(max-width:600px){
  .rm-item { flex-direction:column; }
  .rm-notify-inner { flex-direction:column; }
  .rm-block--alt { padding:24px 20px; }
}


/* ══ ROADMAP PAGE (full rebuild) ════════════════════════════════════════ */
.rm-hero { background:#f8f9fb; border-bottom:1px solid #e8eaed; padding:56px 20px 48px; text-align:center; }
.rm-hero-inner { max-width:700px; margin:0 auto; }
.rm-badge { display:inline-block; background:#6366f1; color:#fff; font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; padding:4px 14px; border-radius:100px; margin-bottom:16px; }
.rm-title { font-size:clamp(26px,4vw,40px); font-weight:800; color:#111; margin:0 0 14px; }
.rm-sub { font-size:15px; color:#555; line-height:1.7; margin:0; }

.rm-section { padding-top:48px; padding-bottom:72px; }

/* Phases list */
.rm-phases { max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:0; }

.rm-phase { border:1.5px solid #e8eaed; border-radius:14px; padding:28px 32px; margin-bottom:16px; background:#fff; }
.rm-phase--major { border-color:#c7d2fe; background:#fafbff; }
.rm-phase--future { border-color:#fde68a; background:#fffbeb; }

.rm-phase-head { display:flex; align-items:center; gap:16px; margin-bottom:14px; flex-wrap:wrap; }
.rm-phase-num { font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:#6366f1; background:#eef2ff; padding:4px 12px; border-radius:100px; white-space:nowrap; flex-shrink:0; }
.rm-phase-meta { flex:1; min-width:0; }
.rm-phase-title { font-size:17px; font-weight:700; color:#111; }
.rm-phase-duration { font-size:12px; color:#888; margin-top:2px; }
.rm-phase-why { font-size:14px; color:#555; line-height:1.75; margin:0 0 16px; font-style:italic; }

.rm-phase-tag { font-size:11px; font-weight:700; letter-spacing:.05em; padding:3px 10px; border-radius:100px; white-space:nowrap; flex-shrink:0; }
.rm-phase-tag--live   { background:#dcfce7; color:#16a34a; }
.rm-phase-tag--soon   { background:#e0e7ff; color:#4338ca; }
.rm-phase-tag--future { background:#fef9c3; color:#b45309; }

/* Two-column layout inside phase */
.rm-cols { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
@media(max-width:560px){ .rm-cols { grid-template-columns:1fr; } }

.rm-col-label { font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#888; margin-bottom:8px; }
.rm-rec { display:inline-block; background:#fef9c3; color:#b45309; font-size:10px; font-weight:700; padding:1px 7px; border-radius:100px; margin-left:6px; vertical-align:middle; text-transform:none; letter-spacing:0; }

.rm-list { margin:0 0 0 16px; padding:0; list-style:disc; }
.rm-list li { font-size:13.5px; color:#444; line-height:1.7; margin-bottom:2px; }
.rm-list code { font-size:12px; background:#f1f5f9; border:1px solid #e2e8f0; padding:1px 5px; border-radius:4px; color:#1e293b; }

.rm-phase-cta { display:inline-block; margin-top:14px; font-size:13px; font-weight:700; color:#6366f1; text-decoration:none; }
.rm-phase-cta:hover { text-decoration:underline; }

/* Pipeline flow */
.rm-pipeline { display:flex; flex-direction:column; align-items:flex-start; gap:0; }
.rm-pipeline--horizontal { flex-direction:row; flex-wrap:wrap; align-items:center; gap:4px; margin-top:8px; }
.rm-pipe-step { background:#f1f5f9; border:1.5px solid #e2e8f0; border-radius:8px; padding:6px 14px; font-size:12.5px; font-weight:600; color:#334155; }
.rm-pipe-step--end { background:#eef2ff; border-color:#c7d2fe; color:#4338ca; }
.rm-pipe-arrow { font-size:14px; color:#94a3b8; padding:1px 0; line-height:1; }
.rm-pipeline--horizontal .rm-pipe-arrow { padding:0 2px; }

/* Bottom notify */
.rm-notify { background:linear-gradient(135deg,#f5f3ff 0%,#ede9fe 100%); border:1px solid #ddd6fe; border-radius:14px; padding:32px 36px; max-width:820px; margin:0 auto; }
.rm-notify-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.rm-notify-title { font-size:17px; font-weight:700; color:#111; margin-bottom:6px; }
.rm-notify-sub { font-size:14px; color:#555; line-height:1.6; }
.rm-notify-btns { display:flex; gap:12px; flex-shrink:0; flex-wrap:wrap; }

@media(max-width:600px){
  .rm-phase { padding:20px 18px; }
  .rm-notify-inner { flex-direction:column; }
  .rm-notify { padding:24px 20px; }
  .rm-pipeline--horizontal { flex-direction:column; align-items:flex-start; }
}
