/* ============================================
   nattu.ai — Main Stylesheet
   Clean & Professional / Enterprise AI
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #ffffff;
  --bg-soft:     #f8f9fa;
  --bg-card:     #ffffff;
  --border:      #e8eaed;
  --text:        #1a1a2e;
  --text-muted:  #6b7280;
  --text-light:  #9ca3af;
  --accent:      #2563eb;
  --accent-soft: #eff6ff;
  --accent-dark: #1d4ed8;
  --tag-bg:      #f1f5f9;
  --tag-text:    #475569;
  --radius:      8px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.05);
  --max-w:       760px;
  --max-w-wide:  1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* === LAYOUT === */
.container {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* === NAV === */
.site-nav {
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav__inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.site-nav__logo span {
  color: var(--accent);
}

.site-nav__logo:hover { text-decoration: none; }

.site-nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.site-nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

.site-nav__links a:hover,
.site-nav__links a.active {
  color: var(--text);
  text-decoration: none;
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 80px;
}

.site-footer__inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer__copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer__links {
  display: flex;
  gap: 24px;
}

.site-footer__links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}

.site-footer__links a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* === HOME HERO === */
.hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
}

.hero__inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

.hero__title span {
  color: var(--accent);
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.15s;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: white;
}
.btn--primary:hover {
  background: var(--accent-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn--secondary {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--secondary:hover {
  background: var(--border);
  text-decoration: none;
}

.hero__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #dbeafe 100%);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

/* === SECTIONS === */
.section {
  padding: 64px 0;
}

.section--alt {
  background: var(--bg-soft);
}

.section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}

.section__title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
}

/* === BLOG CARDS === */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.post-card:hover {
  border-color: #c7d2fe;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.post-card__date {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}

.post-card__tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 20px;
}

.post-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 10px;
  flex-grow: 1;
}

.post-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.post-card__readmore {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

/* === ABOUT STRIP === */
.about-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: var(--accent-soft);
  border: 1px solid #bfdbfe;
  border-radius: 16px;
}

.about-strip__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border: 2px solid #93c5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
  overflow: hidden;
}
.about-strip__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.about-strip__title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.about-strip__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* === TAGS / CHIPS === */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* === BLOG INDEX PAGE === */
.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}

.page-hero__title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.page-hero__subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

/* === INDIVIDUAL POST === */
.post-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}

.post-header__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: color 0.15s;
}
.post-header__back:hover { color: var(--accent); text-decoration: none; }

.post-header__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.post-header__title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.post-header__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.post-header__author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.post-header__date {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.post-header__read {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* === POST BODY === */
.post-body {
  padding: 48px 0 64px;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2d2d2d;
}

.post-body h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 16px;
  color: var(--text);
}

.post-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--text);
}

.post-body p { margin-bottom: 1.4em; }

.post-body ul, .post-body ol {
  margin: 0 0 1.4em 1.5em;
}

.post-body li { margin-bottom: 0.4em; }

.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 2em 0;
  font-style: italic;
  color: var(--text-muted);
}

.post-body code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85em;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
}

.post-body pre {
  background: #1e1e2e;
  color: #cdd6f4;
  padding: 20px 24px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 1.5em 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.post-body pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

.post-body strong { font-weight: 700; color: var(--text); }

.post-body a { color: var(--accent); }

/* === ABOUT PAGE === */
.about-hero {
  padding: 64px 0 48px;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}

.about-hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.about-hero__name {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.about-hero__role {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about-hero__avatar {
  width: 160px;
  height: 160px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #dbeafe 100%);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.about-hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
}

.about-content {
  padding: 0 0 64px;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2d2d2d;
}

.about-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 16px;
  color: var(--text);
}

.about-content p { margin-bottom: 1.3em; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.work-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.work-card__icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.work-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.work-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__avatar { display: none; }
  .about-strip {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-strip__avatar { margin: 0 auto; }
  .about-hero__grid {
    grid-template-columns: 1fr;
  }
  .about-hero__avatar { display: none; }
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .section__header {
    flex-direction: column;
    gap: 8px;
  }
}

/* ============================================
   VISUAL / DIAGRAM COMPONENTS
   ============================================ */

/* === STAT CALLOUT === */
.stat-strip {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.stat-card {
  flex: 1;
  min-width: 160px;
  background: var(--accent-soft);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
}

.stat-card__number {
  font-family: 'Inter', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* === ARCHITECTURE FLOW === */
.arch-diagram {
  background: #f8faff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 32px 24px;
  margin: 36px 0;
  overflow-x: auto;
}

.arch-diagram__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-align: center;
}

.arch-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 12px;
}

.arch-node {
  background: white;
  border: 1.5px solid #93c5fd;
  border-radius: 10px;
  padding: 12px 16px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(37,99,235,0.08);
  min-width: 100px;
}

.arch-node--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.arch-node--highlight {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
}

.arch-node--green {
  background: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}

.arch-arrow {
  color: #93c5fd;
  font-size: 1.4rem;
  padding: 0 8px;
  flex-shrink: 0;
}

.arch-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 8px;
}

.arch-down {
  width: 100%;
  text-align: center;
  color: #93c5fd;
  font-size: 1.4rem;
  margin: 4px 0;
}

/* === FEEDBACK CYCLE === */
.cycle-diagram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  overflow: hidden;
  margin: 36px 0;
  background: white;
}

.cycle-step {
  padding: 24px 20px;
  border-bottom: 1px solid #dbeafe;
  position: relative;
}

.cycle-step:nth-child(odd) { border-right: 1px solid #dbeafe; }
.cycle-step:nth-child(3), .cycle-step:nth-child(4) { border-bottom: none; }

.cycle-step__number {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.cycle-step__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.cycle-step__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cycle-step__arrow {
  position: absolute;
  font-size: 1.2rem;
  color: var(--accent);
}

/* === BEFORE/AFTER COMPARE === */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.compare-col {
  border-radius: 12px;
  overflow: hidden;
}

.compare-col__header {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 16px;
  text-align: center;
}

.compare-col--before .compare-col__header {
  background: #fee2e2;
  color: #991b1b;
}

.compare-col--after .compare-col__header {
  background: #dcfce7;
  color: #166534;
}

.compare-col__body {
  background: #f8f9fa;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 16px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.75rem;
  line-height: 1.7;
  color: #374151;
  min-height: 140px;
}

.compare-col--before .compare-col__body {
  border-color: #fca5a5;
}

.compare-col--after .compare-col__body {
  border-color: #86efac;
}

.compare-col__body .highlight {
  background: #fef9c3;
  padding: 1px 3px;
  border-radius: 3px;
}

/* === TIER PYRAMID === */
.tier-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 32px 0;
}

.tier-row {
  border-radius: 10px;
  padding: 18px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.tier-row--1 {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1.5px solid #fca5a5;
}

.tier-row--2 {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1.5px solid #93c5fd;
}

.tier-row--3 {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #86efac;
}

.tier-row__badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tier-row--1 .tier-row__badge { background: #ef4444; color: white; }
.tier-row--2 .tier-row__badge { background: var(--accent); color: white; }
.tier-row--3 .tier-row__badge { background: #22c55e; color: white; }

.tier-row__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.tier-row__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.tier-row__measures {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tier-tag {
  background: white;
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 20px;
  color: var(--text-muted);
  font-size: 0.7rem;
}

/* === SCORE SCALE === */
.score-scale {
  display: flex;
  gap: 8px;
  margin: 28px 0;
  flex-wrap: wrap;
}

.score-badge {
  flex: 1;
  min-width: 80px;
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
}

.score-badge__num {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.score-badge__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.score-badge--0 { background: #fef2f2; }
.score-badge--0 .score-badge__num { color: #dc2626; }
.score-badge--0 .score-badge__label { color: #991b1b; }

.score-badge--1 { background: #fff7ed; }
.score-badge--1 .score-badge__num { color: #ea580c; }
.score-badge--1 .score-badge__label { color: #9a3412; }

.score-badge--2 { background: #fefce8; }
.score-badge--2 .score-badge__num { color: #ca8a04; }
.score-badge--2 .score-badge__label { color: #713f12; }

.score-badge--3 { background: #f0fdf4; }
.score-badge--3 .score-badge__num { color: #16a34a; }
.score-badge--3 .score-badge__label { color: #14532d; }

.score-badge--4 { background: #eff6ff; }
.score-badge--4 .score-badge__num { color: #2563eb; }
.score-badge--4 .score-badge__label { color: #1e3a8a; }

.score-badge--5 { background: #f5f3ff; }
.score-badge--5 .score-badge__num { color: #7c3aed; }
.score-badge--5 .score-badge__label { color: #4c1d95; }

/* === THRESHOLD BANDS === */
.threshold-bar {
  border-radius: 12px;
  overflow: hidden;
  margin: 28px 0;
  border: 1px solid var(--border);
}

.threshold-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  padding: 14px 18px;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}

.threshold-row:last-child { border-bottom: none; }

.threshold-row--green { background: #f0fdf4; }
.threshold-row--yellow { background: #fffbeb; }
.threshold-row--red { background: #fef2f2; }

.threshold-score {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.threshold-row--green .threshold-score { color: #16a34a; }
.threshold-row--yellow .threshold-score { color: #d97706; }
.threshold-row--red .threshold-score { color: #dc2626; }

.threshold-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.threshold-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* === PROCESS STEPS === */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 32px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.process-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: start;
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid var(--border);
  background: white;
  transition: background 0.15s;
}

.process-step:last-child { border-bottom: none; }
.process-step:hover { background: var(--bg-soft); }

.process-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
}

.process-step__num-inner {
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.process-step__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === TRIAGE TABLE === */
.triage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}

.triage-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}

.triage-card__icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.triage-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.triage-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* === CALLOUT BOX === */
.callout {
  border-radius: 12px;
  padding: 20px 24px;
  margin: 32px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.callout--info {
  background: var(--accent-soft);
  border: 1px solid #bfdbfe;
}

.callout--warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.callout__icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }

.callout__text {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.6;
}

.callout__text strong { font-weight: 700; }

@media (max-width: 640px) {
  .compare-grid { grid-template-columns: 1fr; }
  .cycle-diagram { grid-template-columns: 1fr; }
  .triage-grid { grid-template-columns: 1fr; }
  .score-scale { gap: 6px; }
  .score-badge { min-width: 60px; padding: 10px 6px; }
  .score-badge__num { font-size: 1.4rem; }
  .arch-flow { flex-direction: column; align-items: center; }
  .arch-arrow { transform: rotate(90deg); }
}

/* === FEATURE CARDS (3-col) === */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.feature-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 20px 18px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.feature-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(37,99,235,0.08);
}

.feature-card__num {
  width: 30px;
  height: 30px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.feature-card__icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.feature-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.feature-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.feature-card__tag {
  display: inline-block;
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

/* === INFO TABLE === */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.825rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.info-table thead tr {
  background: var(--text);
  color: white;
}

.info-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.info-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}

.info-table tbody tr:last-child { border-bottom: none; }
.info-table tbody tr:hover { background: var(--bg-soft); }

.info-table tbody td {
  padding: 12px 16px;
  color: var(--text);
  vertical-align: top;
  line-height: 1.5;
}

.info-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.info-table .cell--good { color: #16a34a; font-weight: 600; }
.info-table .cell--warn { color: #d97706; font-weight: 600; }
.info-table .cell--bad  { color: #dc2626; font-weight: 600; }
.info-table .cell--muted { color: var(--text-muted); font-style: italic; }

/* === PROS/CONS GRID === */
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.proscons__col {
  border-radius: 12px;
  overflow: hidden;
}

.proscons__header {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 16px;
}

.proscons__col--pro .proscons__header { background: #dcfce7; color: #166534; }
.proscons__col--con .proscons__header { background: #fee2e2; color: #991b1b; }

.proscons__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  background: white;
}

.proscons__list li {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--text);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.proscons__list li:last-child { border-bottom: none; }

.proscons__list li::before {
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 1px;
}

.proscons__col--pro .proscons__list li::before { content: "✓"; color: #16a34a; font-weight: 700; }
.proscons__col--con .proscons__list li::before { content: "△"; color: #d97706; }

/* === LESSONS LIST === */
.lessons-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 28px 0;
}

.lesson-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px 14px 0;
  gap: 0;
  transition: border-color 0.15s;
}

.lesson-item:hover { border-color: #93c5fd; }

.lesson-item__num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
}

.lesson-item__text {
  font-family: 'Inter', sans-serif;
  font-size: 0.83rem;
  color: var(--text);
  line-height: 1.55;
}

.lesson-item__text strong { font-weight: 700; color: var(--text); }

@media (max-width: 640px) {
  .feature-cards { grid-template-columns: 1fr; }
  .proscons { grid-template-columns: 1fr; }
}

/* === DISCLAIMER === */
.disclaimer {
  margin-top: 48px;
  padding: 20px 24px;
  background: var(--bg-soft);
  border-left: 3px solid var(--border);
  border-radius: 0 8px 8px 0;
}
.disclaimer p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.disclaimer strong {
  color: var(--text);
  font-weight: 600;
}
