/* ============================================================
   Speculation Rules API Demo — Shared Stylesheet
   ============================================================ */

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

:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --border: #e2e8f0;
  --accent: #4f46e5;
  --accent-glow: rgba(79, 70, 229, 0.1);
  --accent-2: #0891b2;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --text: #0f172a;
  --text-muted: #475569;
  --text-faint: #94a3b8;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --nav-height: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Navigation Bar ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
}

.nav-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.nav-links a.active {
  background: var(--accent-glow);
  color: var(--accent);
}

/* Prefetch status badge on nav link */
.nav-links a .prefetch-badge {
  display: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
  animation: pulse 1.5s infinite;
}

.nav-links a.prefetched .prefetch-badge {
  display: block;
}

.nav-links a.prerendered .prefetch-badge {
  background: var(--accent-2);
  box-shadow: 0 0 6px var(--accent-2);
}

/* ── Speculation Mode Toggle in Nav ─────────────────────── */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mode-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 6px 4px 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s;
}

.mode-toggle:hover {
  border-color: var(--accent);
}

.mode-toggle .toggle-label {
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  width: 36px;
  height: 20px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--text-faint);
  border-radius: 20px;
  transition: 0.3s;
  cursor: pointer;
}

.toggle-slider:before {
  content: '';
  position: absolute;
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked+.toggle-slider {
  background: var(--accent);
}

input:checked+.toggle-slider:before {
  transform: translateX(16px);
}

/* ── Page Layout ────────────────────────────────────────── */
.page-wrapper {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
  max-width: 960px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 60px 0 48px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: #cbd5e1;
}

.card-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}

/* ── Compare Grid ───────────────────────────────────────── */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

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

.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.compare-card.highlight {
  border-color: rgba(79, 70, 229, 0.3);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(79, 70, 229, 0.04) 100%);
}

.compare-card .compare-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.compare-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.compare-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Step List ──────────────────────────────────────────── */
.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.step-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 1px;
}

/* ── Code Block ─────────────────────────────────────────── */
.code-block {
  background: #f6f8fa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #eef2f7;
  border-bottom: 1px solid var(--border);
}

.code-header .code-lang {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: monospace;
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.code-dots span:nth-child(1) {
  background: #ef4444;
}

.code-dots span:nth-child(2) {
  background: var(--warning);
}

.code-dots span:nth-child(3) {
  background: var(--success);
}

pre {
  padding: 20px;
  overflow-x: auto;
  font-family: monospace;
  font-size: 0.825rem;
  line-height: 1.7;
  color: #24292f;
}

.token-key {
  color: #0550ae;
}

.token-str {
  color: #0a3069;
}

.token-tag {
  color: #116329;
}

.token-attr {
  color: #953800;
}

.token-val {
  color: #0a3069;
}

.token-comment {
  color: #6e7781;
  font-style: italic;
}

.token-kw {
  color: #cf222e;
}

/* ── Status Panel ───────────────────────────────────────── */
.status-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.status-panel-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.status-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

.status-row .status-label {
  color: var(--text-muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
}

.badge-green {
  background: #dcfce7;
  color: var(--success);
  border: 1px solid #bbf7d0;
}

.badge-yellow {
  background: #fef9c3;
  color: var(--warning);
  border: 1px solid #fef08a;
}

.badge-blue {
  background: #e0f2fe;
  color: var(--accent-2);
  border: 1px solid #bae6fd;
}

.badge-red {
  background: #fee2e2;
  color: var(--danger);
  border: 1px solid #fecaca;
}

.badge-gray {
  background: var(--surface-2);
  color: var(--text-faint);
  border: 1px solid var(--border);
}

.badge-purple {
  background: #ede9fe;
  color: var(--accent);
  border: 1px solid #ddd6fe;
}

/* ── Timing Display ─────────────────────────────────────── */
.timing-display {
  background: #f6f8fa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 12px;
  font-family: monospace;
  font-size: 0.85rem;
  min-height: 90px;
}

.timing-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  animation: fadeIn 0.4s ease;
}

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

.timing-dot.green {
  background: var(--success);
}

.timing-dot.blue {
  background: var(--accent-2);
}

.timing-dot.yellow {
  background: var(--warning);
}

.timing-dot.purple {
  background: var(--accent);
}

.timing-val {
  color: var(--success);
  font-weight: 700;
}

.timing-muted {
  color: var(--text-faint);
}

/* ── Page Content (inner pages) ─────────────────────────── */
.page-hero {
  padding: 48px 0 32px;
}

.page-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 24px;
}

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

.breadcrumb a:hover {
  color: var(--text);
}

/* ── Feature Grid ───────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.feature-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.feature-item .feature-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.feature-item h4 {
  font-size: 0.925rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ── Nav-back Button ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: #5254cc;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--surface-2);
  color: var(--text);
  border-color: #cbd5e1;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* ── Arrival Banner (shown on landing) ──────────────────── */
.arrival-banner {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideDown 0.4s ease;
}

.arrival-banner.show {
  display: flex;
}

.arrival-banner.prerender {
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: var(--accent-2);
}

.arrival-banner.prefetch {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  color: var(--success);
}

.arrival-banner.normal {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* ── Section Title ──────────────────────────────────────── */
.section-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

/* ── Animations ─────────────────────────────────────────── */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  text-align: center;
  padding: 24px;
  font-size: 0.8rem;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
  margin-top: 60px;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 99px;
}

/* ════════════════════════════════════════════════════════════
   E-COMMERCE / RETAIL — Aether Brand Components
   ════════════════════════════════════════════════════════════ */

/* ── Full-width page wrapper for e-commerce pages ─────────── */
.page-wrapper-wide {
  padding-top: var(--nav-height);
  padding-bottom: 0;
  max-width: 100%;
  margin: 0;
}

/* Inner content constrainer */
.content-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Site Hero (full-bleed banner with image) ─────────────── */
.site-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.site-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.72) 0%,
    rgba(15, 23, 42, 0.28) 60%,
    transparent 100%
  );
}

.site-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 48px;
  max-width: 560px;
}

.site-hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}

.site-hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.site-hero-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  line-height: 1.65;
}

.site-hero-content .btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #ffffff;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.site-hero-content .btn-hero:hover {
  background: var(--surface-2);
  transform: translateY(-1px);
}

/* ── Stats Strip ──────────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--text);
  color: white;
}

@media (max-width: 640px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ── Product Grid ─────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 48px 0 24px;
}

.section-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

.section-header h2 span {
  color: var(--accent);
}

.section-header a {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.section-header a:hover {
  text-decoration: underline;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: #cbd5e1;
}

.product-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: var(--surface-2);
}

.product-card-body {
  padding: 16px;
}

.product-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 8px;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.product-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

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

.product-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.product-price .price-old {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-faint);
  text-decoration: line-through;
  margin-right: 4px;
}

.btn-add {
  font-size: 0.775rem;
  font-weight: 700;
  padding: 6px 14px;
  background: var(--text);
  color: white;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-add:hover {
  background: var(--accent);
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
  min-height: 220px;
  display: flex;
  align-items: center;
}

.cta-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(79,70,229,0.88) 0%, rgba(8,145,178,0.7) 100%);
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  padding: 40px 48px;
}

.cta-banner-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.cta-banner-content p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

.cta-banner-content .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  background: white;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.cta-banner-content .btn-cta:hover {
  background: var(--surface-2);
  transform: translateY(-1px);
}

/* ── Feature Split (image + text alternating) ─────────────── */
.feature-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

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

.feature-split.reverse {
  direction: rtl;
}

.feature-split.reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .feature-split,
  .feature-split.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 28px;
  }
}

.feature-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.feature-img-wrap img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.feature-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border-radius: 4px;
  padding: 3px 10px;
}

.feature-text-wrap h2 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
}

.feature-text-wrap p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--success);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

/* ── Team Grid ────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  display: block;
  background: var(--surface-2);
}

.team-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.team-role {
  font-size: 0.775rem;
  color: var(--text-faint);
}

/* ── Story / Mission Block ────────────────────────────────── */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 48px 0;
}

@media (max-width: 768px) {
  .story-block {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.story-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.story-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.story-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.story-text p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* ── Article / Blog Cards ─────────────────────────────────── */
.article-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
}

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

.article-featured-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.article-featured-body {
  padding: 32px;
}

.article-category {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: #e0f2fe;
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 12px;
}

.article-featured-body h2 {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 10px;
}

.article-featured-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.775rem;
  color: var(--text-faint);
}

.article-meta-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.08);
}

.article-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--surface-2);
}

.article-card-body {
  padding: 18px;
}

.article-card-body h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 6px;
}

.article-card-body p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

/* ── Demo Inspector (bottom of e-commerce pages) ──────────── */
.demo-inspector-divider {
  border: none;
  border-top: 2px dashed var(--border);
  margin: 64px 0 0;
}

.demo-inspector {
  background: var(--surface);
  padding: 40px 0 60px;
}

.demo-inspector-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

.demo-inspector-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 20px;
}

.demo-inspector-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.demo-inspector h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.demo-inspector .inspector-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Notice box (no-speculation warning) */
.notice-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.875rem;
  color: #92400e;
  margin-bottom: 20px;
}

.notice-box strong {
  color: #7c2d12;
}

/* Progress bar for cold-load */
.cold-load-wrap {
  margin-bottom: 24px;
}

.cold-load-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cold-bar-track {
  height: 8px;
  background: var(--surface-2);
  border-radius: 99px;
  overflow: hidden;
}

#cold-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--danger), var(--warning));
  border-radius: 99px;
  transition: width 0.4s ease;
}

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.compare-table th {
  text-align: left;
  padding: 10px 14px;
  background: var(--surface-2);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}

.compare-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}

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

.compare-table td:first-child {
  color: var(--text);
  font-weight: 600;
}

.compare-table .cell-good {
  color: var(--success);
  font-weight: 700;
}

.compare-table .cell-bad {
  color: var(--danger);
}

.compare-table .cell-mid {
  color: var(--warning);
  font-weight: 600;
}