/* =============================================
   nonstatic.education — Public Marketing Site
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette: white · black · orange · grey */
  --orange:      #EE7B4E;   /* primary accent */
  --orange-dark: #D6633A;   /* hover state */
  --orange-light:#F5C7A7;   /* tinted backgrounds */
  --orange-soft: #FBE6D9;   /* very subtle orange wash */
  /* legacy --teal/--yellow tokens kept for cascading; now neutral charcoals */
  --teal:        #18181B;   /* charcoal (was teal) */
  --teal-dark:   #0A0A0B;   /* near-black */
  --yellow:      #9CA3AF;   /* medium grey */
  --text:        #0A0A0B;
  --text-muted:  #6B6F76;
  --bg:          #FFFFFF;
  --bg-soft:     #FAFAFA;
  --card:        #FFFFFF;
  --border:      #E5E5E7;
  --radius:      16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* ---- NAV ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { height: 32px; width: auto; }
.nav-logo span { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links > a,
.nav-dropdown-trigger {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}
.nav-links > a:hover,
.nav-dropdown-trigger:hover { color: var(--text); }
.nav-link-icon {
  background: var(--orange-soft);
  color: var(--orange-dark) !important;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700 !important;
  transition: background 0.15s, color 0.15s, transform 0.15s !important;
}
.nav-link-icon:hover {
  background: rgba(238,123,78,0.20);
  color: var(--orange-dark) !important;
  transform: translateY(-1px);
}
.nav-link-icon svg { opacity: 0.85; flex-shrink: 0; }
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 10px;
  font-weight: 700 !important;
  transition: background 0.15s !important;
}
.nav-cta:hover { background: #d4613a !important; }

/* Dropdown */
.nav-dropdown { position: relative; height: 64px; display: flex; align-items: center; }
.nav-dropdown-trigger .chev { transition: transform 0.15s; opacity: 0.6; }
.nav-dropdown:hover .nav-dropdown-trigger .chev,
.nav-dropdown:focus-within .nav-dropdown-trigger .chev { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(14,27,46,0.10);
  padding: 8px;
  min-width: 300px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 200;
}
.nav-dropdown::after {
  /* invisible bridge so the menu doesn't close when crossing the gap */
  content: '';
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 14px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(6px);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover { background: var(--bg-soft); color: var(--orange-dark); }

/* ---- CONTAINER ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---- HERO ---- */
.hero {
  text-align: center;
  padding: 96px 0 72px;
}
.hero-eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, rgba(238,123,78,0.10), rgba(238,123,78,0.18));
  border: 1px solid rgba(238,123,78,0.30);
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 62px;
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--teal), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}
.hero-ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary:hover { background: #d4613a; transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: border-color 0.15s, transform 0.15s;
}
.btn-secondary:hover { border-color: var(--orange); transform: translateY(-1px); }

/* ---- TRUSTED BY ---- */
.trusted-section { padding: 40px 0 64px; }
.trusted-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.logo-marquee-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.logo-marquee {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.logo-marquee:hover { animation-play-state: paused; }
.logo-marquee img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.2s;
  flex-shrink: 0;
}
.logo-marquee img:hover { filter: grayscale(0) opacity(1); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- SECTION HEADERS ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-dark);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  line-height: 1.15;
}
.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- SELF-PACED SECTION ---- */
.self-paced-section { padding: 80px 0; }
.spl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.spl-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 32px;
}
.spl-pct {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.spl-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.015em; }
.spl-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.spl-card ul { list-style: none; }
.spl-card ul li {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}
.spl-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}
.spl-highlight {
  background: linear-gradient(135deg, rgba(238,123,78,0.05), rgba(238,123,78,0.10));
  border: 1.5px solid rgba(238,123,78,0.25);
}
.spl-full { grid-column: 1 / -1; }

/* Distribution bar */
.dist-bar {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 32px;
}
.dist-bar h3 { font-size: 18px; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.01em; }
.dist-track {
  display: flex;
  height: 16px;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 16px;
}
.dist-seg { transition: flex 0.4s; }
.dist-seg.core   { flex: 40; background: var(--teal); }
.dist-seg.quizzes { flex: 30; background: var(--orange); }
.dist-seg.teacher { flex: 30; background: var(--yellow); }
.dist-legend { display: flex; gap: 24px; flex-wrap: wrap; }
.dist-legend-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.dist-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dist-dot.core    { background: var(--teal); }
.dist-dot.quizzes { background: var(--orange); }
.dist-dot.teacher { background: var(--yellow); }

/* ---- CASE STUDY ---- */
.case-study-section { padding: 80px 0; background: linear-gradient(135deg, rgba(0,0,0,0.02), rgba(238,123,78,0.05)); }
.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.metric-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 20px;
}
.metric-num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 2px;
}
.metric-label { font-size: 12px; font-weight: 600; color: var(--text-muted); line-height: 1.4; }
.case-quote {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 28px;
  position: relative;
}
.quote-mark {
  font-size: 64px;
  line-height: 1;
  color: var(--teal);
  opacity: 0.25;
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: Georgia, serif;
}
.case-quote blockquote {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
  padding-top: 24px;
  margin-bottom: 20px;
}
.quote-author { display: flex; align-items: center; gap: 12px; }
.quote-author-name { font-size: 14px; font-weight: 700; }
.quote-author-title { font-size: 13px; color: var(--text-muted); }
.case-result-list { list-style: none; }
.case-result-list li {
  font-size: 14.5px;
  color: var(--text-muted);
  padding: 8px 0;
  padding-left: 22px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.case-result-list li:last-child { border-bottom: none; }
.case-result-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
}

/* ---- HOW IT WORKS ---- */
.how-it-works-section { padding: 80px 0; }
.stack-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.stack-tab {
  padding: 8px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--card);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}
.stack-tab.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.stack-panel {
  display: none;
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 32px;
}
.stack-panel.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stack-feature {
  padding: 16px;
  border-radius: 10px;
  background: var(--bg);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.stack-feature::before { content: '→'; color: var(--orange); font-weight: 800; flex-shrink: 0; }

/* Implementation steps */
.impl-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.impl-step {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 28px;
  position: relative;
}
.impl-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--orange));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}
.impl-step-week {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.impl-step h3 { font-size: 17px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.01em; }
.impl-step p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }

/* ---- COMMITMENT ---- */
.commitment-section { padding: 80px 0; }
.commitment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.commitment-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 32px;
  overflow: hidden;
  position: relative;
}
.commitment-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.commitment-card:nth-child(1)::before { background: var(--teal); }
.commitment-card:nth-child(2)::before { background: var(--orange); }
.commitment-card:nth-child(3)::before { background: var(--yellow); }
.commitment-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.01em; }
.commitment-list { list-style: none; }
.commitment-list li {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}
.commitment-list li:last-child { border-bottom: none; }
.commitment-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 800;
}

/* ---- GUARANTEE ---- */
.guarantee-section { padding: 80px 0; background: linear-gradient(135deg, rgba(0,0,0,0.02), rgba(238,123,78,0.06)); }
.guarantee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.guarantee-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 32px;
  text-align: center;
}
.guarantee-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: #fff;
  font-size: 24px;
}
.guarantee-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.guarantee-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }

/* ---- FINAL CTA ---- */
.final-cta-section {
  padding: 96px 0;
  text-align: center;
  background: linear-gradient(135deg, #0A0A0B, #1F1F23);
}
.final-cta-section h2 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 16px;
}
.final-cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.15s;
}
.btn-white:hover { transform: translateY(-2px); }

/* ---- FOOTER ---- */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
}
.footer-logo img { height: 28px; width: auto; filter: brightness(0) invert(1); }
.footer-logo span { font-size: 16px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.footer-brand p { font-size: 13.5px; line-height: 1.65; max-width: 320px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: color 0.15s; }
.footer-col ul li a:hover { color: #fff; }
.footer-col address { font-style: normal; font-size: 13.5px; line-height: 1.8; }
.footer-col address a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-resources { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-resources h4 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-resource-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
  margin-bottom: 10px;
}
.footer-resource-link:hover { color: #fff; }
.footer-resource-link svg { flex-shrink: 0; }
.footer-resource-link .ext-icon { opacity: 0.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* ---- NAV DROPDOWN EXTRAS ---- */
.nav-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 8px;
}
.nav-research-id {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--orange-soft);
  color: var(--orange-dark);
  padding: 2px 6px;
  border-radius: 5px;
  margin-right: 4px;
  flex-shrink: 0;
}
.nav-dropdown-menu a.nav-view-all {
  color: var(--orange-dark);
  font-weight: 700;
  margin-top: 2px;
  border-top: 1px solid var(--border);
  margin: 6px 0 0;
  border-radius: 0 0 8px 8px;
  padding: 10px 14px;
}

/* ---- RESEARCH PAGES ---- */
.research-page-bg { background: #FBF5F0; }

.research-hero {
  padding: 72px 0 48px;
  text-align: center;
}

.research-listing {
  padding: 8px 0 96px;
}

.research-card {
  background: #fff;
  border-radius: 18px;
  border: 1.5px solid #EDE8E3;
  padding: 36px 40px;
  margin-bottom: 20px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.research-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.research-card-meta-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.research-id {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.research-type-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 5px 12px;
  border-radius: 7px;
}

.research-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1.5px solid;
  white-space: nowrap;
}

.research-status.status-in-progress {
  color: #1A7A54;
  border-color: #1A7A54;
  background: rgba(26,122,84,0.06);
}

.research-status.status-pending {
  color: var(--orange-dark);
  border-color: var(--orange);
  background: var(--orange-soft);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-in-progress .status-dot { background: #1A7A54; }
.status-pending .status-dot { background: var(--orange-dark); }

.research-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text);
}

.research-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.research-title a:hover { color: var(--orange-dark); }

.research-source {
  font-size: 13.5px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 18px;
}

.research-abstract {
  font-size: 15px;
  line-height: 1.72;
  color: #4A4E55;
  margin-bottom: 26px;
  max-width: 860px;
}

.research-meta-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  border-top: 1px solid #EDE8E3;
  padding-top: 20px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.research-meta-row strong { color: var(--text); font-weight: 700; }

/* Research detail page (individual paper) */
.research-detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: flex-start;
  padding: 48px 0 96px;
}

.research-detail-main > * + * { margin-top: 32px; }

.research-section-block {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #EDE8E3;
  padding: 32px 36px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.research-section-block h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--orange-dark);
  margin-bottom: 16px;
}

.research-section-block p, .research-section-block li {
  font-size: 15px;
  line-height: 1.72;
  color: #4A4E55;
}

.research-section-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.research-section-block ul li {
  padding-left: 20px;
  position: relative;
}

.research-section-block ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* Sidebar card */
.research-sidebar { position: sticky; top: 80px; }
.research-sidebar > * + * { margin-top: 16px; }

.sidebar-card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #EDE8E3;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.sidebar-card h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.sidebar-meta-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #EDE8E3;
  font-size: 13.5px;
}

.sidebar-meta-item:last-child { border-bottom: none; }
.sidebar-meta-label { font-weight: 700; color: var(--text); }
.sidebar-meta-value { color: var(--text-muted); text-align: right; }

.sidebar-status-block { padding: 16px; border-radius: 12px; text-align: center; }
.sidebar-status-block.status-in-progress { background: rgba(26,122,84,0.06); border: 1.5px solid #1A7A54; }
.sidebar-status-block.status-pending { background: var(--orange-soft); border: 1.5px solid var(--orange); }

.sidebar-status-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 6px;
}
.status-in-progress .sidebar-status-label { color: #1A7A54; }
.status-pending .sidebar-status-label { color: var(--orange-dark); }

.sidebar-status-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .research-detail-layout { grid-template-columns: 1fr; }
  .research-sidebar { position: static; }
}

@media (max-width: 680px) {
  .research-card { padding: 24px 20px; }
  .research-title { font-size: 20px; }
  .research-meta-row { gap: 16px; }
  .research-section-block { padding: 24px 20px; }
}

/* ---- ICP SWITCHER ---- */
.icp-intro {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 16px;
}

.icp-switcher {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.icp-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 16px 20px 18px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s, transform 0.18s;
  text-align: left;
  min-width: 200px;
  flex: 1;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.icp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  transform: scaleX(0);
  transition: transform 0.22s ease;
  transform-origin: left;
}

.icp-card:hover {
  border-color: var(--orange-light);
  background: var(--bg-soft);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.icp-card.active {
  border-color: var(--orange);
  background: linear-gradient(135deg, rgba(238,123,78,0.05), rgba(238,123,78,0.02));
  box-shadow: 0 0 0 3px rgba(238,123,78,0.10), 0 6px 24px rgba(238,123,78,0.12);
  transform: translateY(-2px);
}

.icp-card.active::before { transform: scaleX(1); }

.icp-card-icon {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 8px;
}

.icp-card-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  transition: color 0.15s;
}

.icp-card.active .icp-card-label { color: var(--orange-dark); }

.icp-card-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-top: 2px;
}

.icp-card-tagline {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

/* Hero content fade on switch */
.hero-content {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-content.switching {
  opacity: 0;
  transform: translateY(6px);
}

/* Key benefits list */
.hero-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 auto 36px;
  max-width: 480px;
  text-align: left;
}

.hero-benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-benefit-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  margin-top: 2px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .hero h1 { font-size: 46px; }
  .case-study-grid { grid-template-columns: 1fr; }
  .commitment-grid { grid-template-columns: 1fr 1fr; }
  .impl-steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 36px; }
  .hero-stats { gap: 28px; }
  .icp-switcher { flex-direction: column; gap: 8px; }
  .icp-card { min-width: unset; flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
  .icp-card-icon { margin-bottom: 0; font-size: 20px; }
  .icp-card::before { top: auto; bottom: 0; height: 2px; }
  .spl-grid { grid-template-columns: 1fr; }
  .case-metrics { grid-template-columns: 1fr 1fr; }
  .commitment-grid { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr; }
  .impl-steps { grid-template-columns: 1fr; }
  .stack-panel.active { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 30px; }
}
