/* =============================================================
   aSelex marketplace — modern SaaS design system.
   Stripe × Notion × Linear aesthetic.
   Inter + JetBrains Mono · Indigo primary · Profit green
   ============================================================= */

:root {
  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: 'Inter', -apple-system, system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Menlo', monospace;

  /* Brand — primary (trust / SaaS core) */
  --primary:        #4F46E5;
  --primary-hover:  #4338CA;
  --primary-pressed:#3730A3;
  --primary-light:  #EEF2FF;
  --primary-50:     #F5F3FF;
  --primary-100:    #E0E7FF;
  --primary-glow:   rgba(79, 70, 229, 0.12);

  /* Secondary — purple (AI / smart tools) */
  --secondary:      #7C3AED;
  --secondary-hover:#6D28D9;
  --secondary-light:#F5F3FF;

  /* Success — profit green ($, +X%) */
  --success:        #10B981;
  --success-hover:  #059669;
  --success-light:  #D1FAE5;
  --success-50:     #ECFDF5;

  /* Warning / Error */
  --warning:        #F59E0B;
  --warning-light:  #FEF3C7;
  --error:          #EF4444;
  --error-light:    #FEE2E2;

  /* Neutrals */
  --ink:            #111827;
  --ink-soft:       #374151;
  --ink-mute:       #6B7280;
  --ink-subtle:     #9CA3AF;
  --ink-faint:      #D1D5DB;

  /* Surfaces */
  --bg:             #FFFFFF;
  --bg-soft:        #F9FAFB;
  --bg-elev:        #F9FAFB;
  --bg-muted:       #F3F4F6;
  --bg-dark:        #0B0F19;
  --bg-dark-elev:   #111827;

  /* Borders / rules */
  --border:         #E5E7EB;
  --border-soft:    #F3F4F6;
  --border-strong:  #D1D5DB;
  --rule:           #E5E7EB;
  --rule-soft:      #F3F4F6;

  /* Legacy aliases so existing selectors stay wired up */
  --accent:         var(--primary);
  --accent-soft:    var(--primary-light);
  --profit:         var(--success);
  --profit-bg:      var(--success-light);
  --indigo:         var(--primary);
  --sun:            var(--warning);
  --lilac:          var(--secondary);

  /* Radius */
  --r-xs: 4px;
  --r-sm: 6px;
  --r:    10px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* Shadows — soft SaaS style */
  --shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.06), 0 1px 2px rgba(17, 24, 39, 0.03);
  --shadow:    0 4px 12px rgba(17, 24, 39, 0.06), 0 1px 3px rgba(17, 24, 39, 0.04);
  --shadow-lg: 0 10px 25px rgba(17, 24, 39, 0.06), 0 4px 10px rgba(17, 24, 39, 0.04);
  --shadow-xl: 0 20px 40px rgba(17, 24, 39, 0.08), 0 8px 16px rgba(17, 24, 39, 0.04);
  --shadow-primary: 0 8px 24px rgba(79, 70, 229, 0.18);
  --shadow-success: 0 8px 24px rgba(16, 185, 129, 0.18);

  /* Layout */
  --max:  1240px;
  --edge: 40px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--primary); color: #fff; }

a { color: var(--primary); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--primary-hover); }

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

/* Accent emphasis — replaces the previous italic-vermillion <em>.
   Now: primary-color, same weight as surrounding text, no italic. */
em { font-style: normal; color: var(--primary); font-weight: inherit; }
h1 em, h2 em, h3 em, h4 em { color: var(--primary); font-weight: inherit; }

/* The hero "profit" word gets green accent */
.profit-word,
h1 .profit-word { color: var(--success); font-style: normal; font-weight: inherit; position: relative; display: inline-block; }

/* Typography scale (per brandbook) */
h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -0.028em; color: var(--ink); }
h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; line-height: 1.1;  letter-spacing: -0.022em; color: var(--ink); }
h3 { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); }
h4 { font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--ink); }
p  { color: var(--ink-soft); }

.frame {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--edge);
}

/* ============================================================= */
/* Top strip — thin monochrome ticker                            */
/* ============================================================= */
.top-strip {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}
.top-strip::before, .top-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.top-strip::before { left: 0;  background: linear-gradient(90deg, var(--ink), transparent); }
.top-strip::after  { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.ticker {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: ticker 60s linear infinite;
  width: max-content;
}
.ticker span::before {
  content: '●';
  color: var(--success);
  font-size: 8px;
  margin-right: 10px;
  vertical-align: 2px;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================= */
/* Navigation                                                    */
/* ============================================================= */
.nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-brand em {
  font-style: normal;
  color: var(--primary);
  font-weight: 800;
}
.nav-brand .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border-radius: var(--r-xs);
  background: var(--primary-light);
  color: var(--primary);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  justify-self: center;
}
.nav-links a { color: var(--ink-soft); transition: color 0.15s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r);
  transition: background 0.15s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-cta:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }

/* ============================================================= */
/* Buttons                                                       */
/* ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 12px 20px;
  border-radius: var(--r);
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s, box-shadow 0.15s;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.btn:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-primary);
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover {
  background: var(--bg-soft);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-arrow::after {
  content: '→';
  font-size: 16px;
  transition: transform 0.2s;
  line-height: 1;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ============================================================= */
/* Hero (original single-product variant — kept for pricing etc.) */
/* ============================================================= */
.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* subtle radial gradient wash */
  content: '';
  position: absolute;
  top: -100px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, var(--primary-glow), transparent 70%);
  pointer-events: none;
}
.hero-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: var(--primary-light);
  border-radius: 999px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  margin-bottom: 24px;
  max-width: 18ch;
}
.hero h1 .sub-line {
  display: block;
  font-size: 0.42em;
  color: var(--ink-mute);
  letter-spacing: -0.01em;
  margin-top: 12px;
  font-weight: 500;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}
.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 54ch;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  display: block;
  color: var(--ink);
}
.hero-stat .num em { color: var(--primary); }
.hero-stat .label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin-top: 8px;
  display: block;
}

.hero-ctas {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Data preview (legacy — still used on single-product hero) */
.data-preview {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-mono);
  font-size: 12px;
}
.data-preview-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.data-preview-bar .dots { display: inline-flex; gap: 6px; }
.data-preview-bar .dots i {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block;
}
.data-preview-bar .dots i:nth-child(1) { background: var(--error); }
.data-preview-bar .dots i:nth-child(2) { background: var(--warning); }
.data-preview-bar .dots i:nth-child(3) { background: var(--success); }
.data-preview-bar .cmd { opacity: 0.7; }
.data-preview-bar .live {
  color: var(--success);
  display: inline-flex; align-items: center; gap: 6px;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.data-preview-bar .live::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.data-preview-head,
.data-preview-row {
  display: grid;
  grid-template-columns: 128px 64px 80px 1fr 160px 72px;
  gap: 20px;
  padding: 12px 18px;
  align-items: center;
}
.data-preview-head {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.data-preview-row {
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.15s;
}
.data-preview-row:hover { background: var(--bg-soft); }
.data-preview-row:last-child { border-bottom: none; }
.data-preview-row .asin { color: var(--primary); font-weight: 500; }
.data-preview-row .stars { color: var(--warning); letter-spacing: -0.06em; font-size: 13px; }
.data-preview-row .rating { color: var(--ink); font-weight: 500; }
.data-preview-row .body-text {
  color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-family: var(--font);
  font-size: 13px;
}
.data-preview-row .author { color: var(--ink-soft); }
.data-preview-row .flag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--r-xs);
}
.data-preview-row .flag.yes { color: var(--success); background: var(--success-light); }
.data-preview-row .flag.no  { color: var(--ink-mute); background: var(--bg-muted); }

/* ============================================================= */
/* Generic section + ledger-style features                       */
/* ============================================================= */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}
.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  margin-bottom: 56px;
  align-items: start;
}
.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 10px;
}
.section-num em { color: var(--primary); font-weight: 600; }
.section-title h2 {
  max-width: 22ch;
  margin-bottom: 16px;
}
.section-title p { color: var(--ink-soft); max-width: 58ch; font-size: 17px; }

/* Feature list */
.feature-list { border-top: 1px solid var(--border); }
.feature-row {
  display: grid;
  grid-template-columns: 100px 320px 1fr;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: baseline;
  transition: padding 0.25s var(--ease), background 0.25s var(--ease);
  border-radius: var(--r-md);
}
.feature-row:hover {
  background: var(--bg-soft);
  padding-left: 20px;
  padding-right: 20px;
  margin-left: -20px;
  margin-right: -20px;
}
.feature-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--primary);
  padding-top: 6px;
}
.feature-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.feature-desc { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; max-width: 48ch; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.step:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--primary);
  text-transform: uppercase;
}
.step h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.step p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin-top: auto; }

/* ============================================================= */
/* Pricing                                                       */
/* ============================================================= */
.pricing-hero { padding: 80px 0 48px; border-bottom: 1px solid var(--border); }
.pricing-hero h1 { max-width: 18ch; margin-bottom: 20px; }
.pricing-hero p  { font-size: 18px; color: var(--ink-soft); max-width: 52ch; }

.pricing-table { padding: 56px 0 88px; border-bottom: 1px solid var(--border); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.price-col {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 560px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.price-col:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.price-col.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--primary);
  background: linear-gradient(180deg, var(--primary-light) 0%, #fff 120px);
}
.price-col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 28px;
}
.price-col h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}
.price-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 8px;
  border-radius: var(--r-xs);
}
.price-amount {
  font-family: var(--font-display);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-amount .currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink-mute);
  transform: translateY(-18px);
}
.price-amount .num {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.price-amount .period {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin-left: 4px;
}
.price-billing {
  font-size: 13px;
  color: var(--ink-mute);
  padding-top: 14px;
  margin-top: -4px;
  border-top: 1px dashed var(--border);
}
.price-features { list-style: none; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.price-features li {
  font-size: 14px;
  padding-left: 26px;
  position: relative;
  color: var(--ink-soft);
  line-height: 1.4;
}
.price-features li::before {
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}
.price-features li.inc::before { content: '✓'; background: var(--success-light); color: var(--success); }
.price-features li.exc::before { content: '×'; background: var(--bg-muted); color: var(--ink-mute); }
.price-features li.exc { color: var(--ink-mute); }
.price-cta {
  display: block;
  text-align: center;
  padding: 12px 16px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.price-cta:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.price-col.featured .price-cta {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}
.price-col.featured .price-cta:hover { background: var(--primary-hover); border-color: var(--primary-hover); }

.pricing-footnote {
  text-align: center;
  margin-top: 48px;
  color: var(--ink-mute);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 14.5px;
}
.pricing-footnote a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================= */
/* FAQ                                                           */
/* ============================================================= */
.faq-list { max-width: 880px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item details { border: none; background: transparent; }
.faq-item summary {
  padding: 20px 8px;
  display: grid;
  grid-template-columns: 80px 1fr 32px;
  gap: 24px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: color 0.15s;
  border-radius: var(--r);
}
.faq-item summary:hover { color: var(--primary); background: var(--bg-soft); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--primary);
  text-transform: uppercase;
}
.faq-item .faq-plus {
  justify-self: end;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 400;
  transition: transform 0.25s var(--ease), background 0.2s;
  line-height: 0;
}
.faq-item details[open] .faq-plus { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-item details[open] summary { color: var(--primary); }
.faq-item details > *:not(summary) {
  padding: 0 8px 24px 112px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  max-width: 72ch;
}
.faq-item details > *:not(summary) a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================= */
/* CTA block (legacy single-product)                             */
/* ============================================================= */
.cta-block {
  background: var(--bg-dark);
  color: #fff;
  padding: 112px 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.cta-block::before {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(closest-side, rgba(79, 70, 229, 0.28), transparent 70%);
  pointer-events: none;
}
.cta-block::after {
  content: '';
  position: absolute;
  left: -100px; bottom: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(closest-side, rgba(16, 185, 129, 0.18), transparent 70%);
  pointer-events: none;
}
.cta-block .frame {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: end;
  position: relative;
  z-index: 1;
}
.cta-block h2 {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
  max-width: 18ch;
}
.cta-block h2 em { color: #C7D2FE; }
.cta-block .cta-side p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  max-width: 28ch;
  margin-bottom: 20px;
}
.cta-block .btn {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.cta-block .btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); }

/* ============================================================= */
/* Policy pages                                                  */
/* ============================================================= */
.policy { padding: 64px 0 96px; }
.policy-head {
  max-width: 820px;
  margin: 0 auto 48px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 28px;
}
.policy-head h1 { margin-bottom: 12px; }
.policy-head .updated {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
}

.policy-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-soft);
}
.policy-body h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin: 48px 0 14px;
}
.policy-body h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 28px 0 10px;
}
.policy-body p, .policy-body li { margin-bottom: 14px; }
.policy-body ul, .policy-body ol { padding-left: 22px; margin-bottom: 20px; }
.policy-body ul li::marker { color: var(--primary); }
.policy-body strong { color: var(--ink); font-weight: 600; }
.policy-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.policy-body code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-muted);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  color: var(--primary);
}
.policy-body .contact-box {
  border-left: 3px solid var(--primary);
  background: var(--primary-light);
  padding: 18px 22px;
  border-radius: 0 var(--r) var(--r) 0;
  margin: 28px 0;
  font-size: 14px;
}

/* ============================================================= */
/* Footer                                                        */
/* ============================================================= */
.footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 80px 0 36px;
  position: relative;
}
.footer a { color: rgba(255,255,255,0.72); }
.footer a:hover { color: #fff; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 72px;
}
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
}
.footer-brand h3 em { color: #C7D2FE; }
.footer-brand .brand-meaning {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--success);
  margin-bottom: 16px;
}
.footer-brand p { color: rgba(255,255,255,0.62); font-size: 14.5px; max-width: 40ch; margin-bottom: 20px; line-height: 1.6; }
.footer-brand .merchant {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 18px;
  max-width: 48ch;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14.5px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.48);
  flex-wrap: wrap;
  gap: 16px;
}

/* ============================================================= */
/* Entrance animation                                            */
/* ============================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-kicker, .hero h1, .hero-meta, .hero-ctas, .data-preview,
.market-hero > .frame > *,
.live-stripe {
  animation: fadeUp 0.7s var(--ease) both;
}
.hero-kicker   { animation-delay: 0.05s; }
.hero h1       { animation-delay: 0.1s; }
.hero-meta     { animation-delay: 0.2s; }
.hero-ctas     { animation-delay: 0.28s; }
.data-preview  { animation-delay: 0.35s; }

/* ============================================================= */
/* MARKETPLACE                                                   */
/* ============================================================= */

/* ---- Market hero -------------------------------------------- */
.market-hero {
  padding: 96px 0 56px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.market-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(closest-side, var(--primary-glow), transparent 70%);
  pointer-events: none;
}
.market-hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(closest-side, rgba(16, 185, 129, 0.08), transparent 70%);
  pointer-events: none;
}
.market-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 72px;
  align-items: end;
  position: relative;
  z-index: 1;
}
.market-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 7vw, 80px);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 15ch;
}
.market-hero h1 em { color: var(--primary); }
.market-hero h1 .profit-word {
  color: var(--success);
  font-style: normal;
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.market-hero h1 .profit-word::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.08em;
  height: 0.12em;
  background: var(--success);
  opacity: 0.25;
  border-radius: 2px;
}
.market-hero-side { padding-bottom: 6px; }
.market-hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 28px;
}
.market-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Live profit stripe */
.live-stripe {
  margin-top: 56px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr 1fr;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.live-stripe-label {
  padding: 22px 24px;
  border-right: 1px solid var(--border);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.live-stripe-label .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: livepulse 1.8s ease-in-out infinite;
}
@keyframes livepulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.live-stat {
  padding: 22px 24px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.live-stat:last-child { border-right: none; }
.live-stat .n {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.live-stat .n .delta { color: var(--success); }
.live-stat .n em { color: var(--primary); }
.live-stat .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---- Category rail ------------------------------------------ */
.cat-rail {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-rail::-webkit-scrollbar { display: none; }
.cat-rail-inner {
  display: flex;
  gap: 8px;
  white-space: nowrap;
  padding: 0 var(--edge);
  max-width: calc(var(--max) + var(--edge) * 2);
  margin: 0 auto;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}
.chip:hover {
  background: #fff;
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.chip.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.chip .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  background: var(--bg-muted);
  padding: 2px 7px;
  border-radius: 999px;
}
.chip.is-on .count { color: #fff; background: rgba(255,255,255,0.15); }
.chip .dot-ico {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  flex-shrink: 0;
}
.chip.cat-free .dot-ico { background: var(--success); }
.chip.cat-paid .dot-ico { background: var(--primary); }
.chip.cat-new  .dot-ico { background: var(--secondary); }

/* ---- Section intro (marketplace variant) -------------------- */
.mk-section { padding: 88px 0; border-bottom: 1px solid var(--border); }
.mk-section.alt { background: var(--bg-soft); }
.mk-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}
.mk-head .kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  display: inline-block;
  padding: 4px 10px;
  background: var(--primary-light);
  border-radius: var(--r-xs);
}
.mk-head h2 { max-width: 22ch; }
.mk-head .side-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s;
}
.mk-head .side-link:hover { color: var(--primary-hover); gap: 10px; }

/* ---- Extension grid ----------------------------------------- */
.ext-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.ext-grid.featured .ext-card:nth-child(1) { grid-column: span 6; grid-row: span 2; }
.ext-grid.featured .ext-card:nth-child(2) { grid-column: span 6; }
.ext-grid.featured .ext-card:nth-child(3) { grid-column: span 3; }
.ext-grid.featured .ext-card:nth-child(4) { grid-column: span 3; }
.ext-grid.featured .ext-card:nth-child(5) { grid-column: span 6; }

.ext-grid.cols-4 .ext-card { grid-column: span 3; }
.ext-grid.cols-3 .ext-card { grid-column: span 4; }
.ext-grid.cols-2 .ext-card { grid-column: span 6; }

.ext-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 260px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.2s;
  overflow: hidden;
}
.ext-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--primary-light);
}
.ext-card > * { position: relative; z-index: 1; }

/* Feature card variant */
.ext-card.is-feature {
  padding: 36px;
  background: linear-gradient(180deg, var(--primary-light) 0%, #fff 60%);
  border-color: var(--primary-light);
}
.ext-card.is-feature::after {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(closest-side, var(--primary-glow), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ext-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.ext-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  flex-shrink: 0;
  background: var(--primary-light);
  color: var(--primary);
}
.ext-icon.tone-v { background: var(--primary-light); color: var(--primary); }
.ext-icon.tone-p { background: var(--success-light); color: var(--success); }
.ext-icon.tone-i { background: #DBEAFE; color: #1D4ED8; }
.ext-icon.tone-s { background: var(--warning-light); color: #B45309; }
.ext-icon.tone-l { background: var(--secondary-light); color: var(--secondary); }
.ext-icon.tone-dark { background: var(--ink); color: #fff; }

.ext-card.is-feature .ext-icon {
  width: 64px; height: 64px; font-size: 30px;
  box-shadow: var(--shadow-primary);
  background: var(--primary);
  color: #fff;
}

.ext-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--r-xs);
  color: var(--ink-soft);
  background: var(--bg-muted);
  white-space: nowrap;
  line-height: 1.3;
}
.badge-free    { color: var(--success); background: var(--success-light); }
.badge-paid    { color: var(--primary); background: var(--primary-light); }
.badge-new     { color: var(--secondary); background: var(--secondary-light); }
.badge-best    { color: #B45309; background: var(--warning-light); }
.badge-pro     { color: var(--secondary); background: var(--secondary-light); }
.badge-updated { color: var(--ink-soft); background: var(--bg-muted); }
.badge-dark    { background: var(--ink); color: #fff; }
.badge-upcoming{ color: var(--secondary); background: var(--secondary-light); }
.badge-progress{ color: #B45309; background: var(--warning-light); }
.badge-planned { color: var(--ink-soft); background: var(--bg-muted); }
.badge-live {
  color: var(--success);
  background: var(--success-light);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.badge-live::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  animation: pulse 1.6s ease-in-out infinite;
}

/* Upcoming extension card (roadmap / coming-soon placeholder) */
.ext-card.is-upcoming {
  background: var(--bg-soft);
  border-style: dashed;
  border-color: var(--border);
}
.ext-card.is-upcoming:hover {
  background: #fff;
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg);
}
.ext-card.is-upcoming .ext-icon {
  background: var(--bg-muted);
  color: var(--ink-subtle);
}
.ext-card.is-upcoming .ext-name {
  color: var(--ink);
}
.ext-card.is-upcoming .ext-name em {
  color: var(--secondary);
}
.ext-card.is-upcoming::before { display: none; }

/* Tiny progress bar inside upcoming cards */
.ext-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  margin-top: auto;
}
.ext-progress .rail {
  height: 4px;
  background: var(--bg-muted);
  border-radius: 999px;
  overflow: hidden;
}
.ext-progress .rail .bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 999px;
  transition: width 0.3s var(--ease);
}
.ext-progress .meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.ext-progress .meta .eta { color: var(--secondary); font-weight: 600; }

/* Upcoming row variant for roadmap list */
.roadmap-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.roadmap-tile {
  padding: 24px;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.roadmap-tile:hover {
  border-color: var(--secondary);
  border-style: solid;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.roadmap-tile.is-live {
  border-style: solid;
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--primary-light) 0%, #fff 60%);
  box-shadow: var(--shadow);
}
.roadmap-tile .stage {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.roadmap-tile .stage.live     { color: var(--success); background: var(--success-light); }
.roadmap-tile .stage.progress { color: #B45309; background: var(--warning-light); }
.roadmap-tile .stage.design   { color: var(--secondary); background: var(--secondary-light); }
.roadmap-tile .stage.concept  { color: var(--ink-soft); background: var(--bg-muted); }
.roadmap-tile .stage::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.roadmap-tile .stage.live::before { animation: pulse 1.6s ease-in-out infinite; }
.roadmap-tile h4 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.018em;
}
.roadmap-tile p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.roadmap-tile .eta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.roadmap-tile .eta .when { color: var(--ink); font-weight: 600; }

/* Empty state for account / catalog */
.empty-state {
  padding: 56px 32px;
  border: 1px dashed var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.empty-state .glyph {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--ink-subtle);
  font-size: 24px;
  margin-bottom: 4px;
}
.empty-state h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.empty-state p { color: var(--ink-soft); font-size: 14.5px; max-width: 40ch; line-height: 1.55; }
.empty-state .btn { margin-top: 8px; }

.ext-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.ext-card.is-feature .ext-name {
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.028em;
  max-width: 14ch;
}
.ext-desc {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 42ch;
}
.ext-card.is-feature .ext-desc { font-size: 16.5px; max-width: 46ch; }

.ext-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-mute);
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  margin-top: auto;
  flex-wrap: wrap;
  font-weight: 500;
}
.ext-meta .sep { width: 3px; height: 3px; background: var(--border-strong); border-radius: 50%; }
.ext-meta .rating { color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.ext-meta .rating .stars { color: var(--warning); letter-spacing: -0.06em; font-size: 13px; }
.ext-meta .price { color: var(--ink); font-weight: 600; }
.ext-meta .price.free { color: var(--success); }
.ext-meta .installs { color: var(--ink-mute); }

.ext-cta-row { display: flex; gap: 8px; margin-top: 4px; }
.ext-cta-row .btn { padding: 10px 16px; font-size: 13px; }
.ext-card.is-feature .ext-cta-row .btn { padding: 12px 18px; font-size: 14px; }

/* floating ↗ corner indicator on hover */
.ext-card::before {
  content: '↗';
  position: absolute;
  top: 20px; right: 22px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--ink-mute);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, transform 0.25s var(--ease);
  z-index: 2;
}
.ext-card:hover::before {
  background: var(--primary);
  color: #fff;
  transform: translate(3px, -3px);
}
.ext-card.is-feature::before { display: none; }

/* ---- Top-rated list ----------------------------------------- */
.top-list {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.top-row {
  display: grid;
  grid-template-columns: 60px 52px 1.3fr 1fr 120px 100px 110px;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
  transition: background 0.2s;
}
.top-row:last-child { border-bottom: none; }
.top-row:hover { background: var(--bg-soft); }
.top-row .rank {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-subtle);
}
.top-row .rank.podium-1 { color: var(--warning); }
.top-row .rank.podium-2 { color: var(--ink-soft); }
.top-row .rank.podium-3 { color: #B45309; }
.top-row .t-icon {
  width: 40px; height: 40px;
  border-radius: var(--r);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  background: var(--primary-light);
  color: var(--primary);
}
.top-row .t-name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.top-row .t-name .sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
  text-transform: none;
  margin-top: 3px;
}
.top-row .t-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.top-row .t-rating {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.top-row .t-rating .stars { color: var(--warning); font-size: 13px; letter-spacing: -0.04em; }
.top-row .t-rating .votes { font-size: 10.5px; color: var(--ink-mute); font-weight: 500; }
.top-row .t-price { font-size: 16px; font-weight: 700; color: var(--ink); }
.top-row .t-price.free { color: var(--success); }
.top-row .t-action {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--r);
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  text-align: center;
  transition: background 0.15s, color 0.15s;
}
.top-row .t-action:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.top-row .t-action.is-featured {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.top-row .t-action.is-featured:hover { background: var(--primary-hover); border-color: var(--primary-hover); }

/* ---- Dark ROI section --------------------------------------- */
.mk-dark {
  background: var(--bg-dark);
  color: #fff;
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}
.mk-dark::before {
  content: '';
  position: absolute;
  top: -200px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(79, 70, 229, 0.25), transparent 70%);
  pointer-events: none;
}
.mk-dark::after {
  content: '';
  position: absolute;
  bottom: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(16, 185, 129, 0.18), transparent 70%);
  pointer-events: none;
}
.mk-dark .frame { position: relative; z-index: 1; }
.mk-dark .mk-head { border-color: rgba(255,255,255,0.12); }
.mk-dark .mk-head .kicker {
  background: rgba(79, 70, 229, 0.18);
  color: #C7D2FE;
}
.mk-dark .mk-head h2 { color: #fff; }
.mk-dark .mk-head h2 em { color: #6EE7B7; }

.roi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.roi-tile {
  padding: 32px 28px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  border-radius: var(--r-lg);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(20px);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.roi-tile:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}
.roi-tile .num {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #6EE7B7;
}
.roi-tile .num .u {
  font-family: var(--font-mono);
  font-size: 0.3em;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  margin-left: 6px;
  vertical-align: 1em;
  text-transform: uppercase;
}
.roi-tile .cap {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
}
.roi-tile .desc {
  font-size: 14.5px;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  max-width: 32ch;
  margin-top: auto;
}

/* ============================================================= */
/* CATALOG PAGE                                                  */
/* ============================================================= */
.catalog-head { padding: 56px 0 32px; border-bottom: 1px solid var(--border); }
.catalog-head h1 { max-width: 20ch; margin-bottom: 12px; }
.catalog-head p { color: var(--ink-soft); font-size: 16.5px; max-width: 62ch; }

.catalog-bar {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
}
.search-bar {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--r);
  max-width: 520px;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-shadow: var(--shadow-xs);
}
.search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}
.search-bar .icon {
  padding: 0 14px;
  color: var(--ink-mute);
  font-size: 15px;
}
.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 6px 12px 0;
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.search-bar input::placeholder { color: var(--ink-mute); text-transform: none; letter-spacing: 0; font-size: 14px; }
.search-bar .kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-mute);
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  margin-right: 10px;
  background: var(--bg-soft);
}
.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
}
.sort-control select {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 10px 34px 10px 14px;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M0 0 L5 6 L10 0 Z' fill='%236B7280'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.15s;
}
.sort-control select:hover { border-color: var(--border-strong); }
.view-toggle {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 3px;
  box-shadow: var(--shadow-xs);
}
.view-toggle button {
  padding: 7px 12px;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-mute);
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: background 0.15s, color 0.15s;
}
.view-toggle button.is-on { background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); }

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 40px 0 96px;
  align-items: start;
}
.filters {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 8px 20px;
  box-shadow: var(--shadow-xs);
}
.filter-group { border-bottom: 1px solid var(--border-soft); padding: 18px 0 16px; }
.filter-group:last-child { border-bottom: none; }
.filter-group h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.filter-group h4 .count { color: var(--ink-mute); font-size: 10.5px; font-weight: 500; }
.filter-opts { display: flex; flex-direction: column; gap: 4px; }
.filter-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 6px 8px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
  margin: 0 -8px;
}
.filter-opt:hover { color: var(--ink); background: var(--bg-soft); }
.filter-opt .box {
  width: 16px; height: 16px;
  border: 1.5px solid var(--border-strong);
  background: #fff;
  border-radius: var(--r-xs);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}
.filter-opt.is-on { color: var(--ink); font-weight: 500; }
.filter-opt.is-on .box { background: var(--primary); border-color: var(--primary); }
.filter-opt.is-on .box::after {
  content: '';
  width: 9px; height: 5px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg) translate(0.5px, -1px);
}
.filter-opt .n {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 500;
}

.filter-range { padding: 4px 0; }
.price-slider {
  position: relative;
  height: 32px;
  margin-top: 4px;
}
.price-slider .track {
  position: absolute;
  top: 15px;
  left: 0; right: 0;
  height: 4px;
  background: var(--bg-muted);
  border-radius: 999px;
}
.price-slider .fill {
  position: absolute;
  top: 15px;
  left: 18%; right: 22%;
  height: 4px;
  background: var(--primary);
  border-radius: 999px;
}
.price-slider .pin {
  position: absolute;
  top: 9px;
  width: 16px; height: 16px;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  cursor: grab;
}
.price-slider .pin.lo { left: 18%; transform: translateX(-50%); }
.price-slider .pin.hi { right: 22%; transform: translateX(50%); }
.price-slider .labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 500;
  margin-top: 8px;
}

.catalog-results { display: flex; flex-direction: column; gap: 0; }
.results-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-mute);
  padding: 4px 2px 20px;
  border-bottom: 1px solid var(--border);
}
.results-meta em { color: var(--ink); font-weight: 600; }
.results-meta .dot { margin: 0 8px; color: var(--border-strong); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
}

.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 48px;
}
.pagination a, .pagination span {
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--r);
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  box-shadow: var(--shadow-xs);
}
.pagination a:hover { background: var(--bg-soft); border-color: var(--border-strong); }
.pagination .is-on {
  background: var(--primary); color: #fff; border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}
.pagination .gap { border: none; background: transparent; color: var(--ink-mute); box-shadow: none; }

/* ============================================================= */
/* EXTENSION DETAIL PAGE                                         */
/* ============================================================= */
.ext-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--border); }
.ext-crumbs {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 28px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.ext-crumbs a { color: var(--ink-mute); }
.ext-crumbs a:hover { color: var(--primary); }
.ext-crumbs .sep { color: var(--border-strong); }
.ext-crumbs .cur { color: var(--ink); font-weight: 500; }

.ext-hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}
.ext-hero-main { display: flex; flex-direction: column; gap: 24px; }
.ext-hero-heading { display: flex; gap: 20px; align-items: flex-start; }
.ext-hero-icon {
  width: 88px; height: 88px;
  border-radius: var(--r-xl);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  line-height: 1;
  flex-shrink: 0;
  box-shadow: var(--shadow-primary);
}
.ext-hero h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.ext-hero .tagline {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 44ch;
  line-height: 1.5;
}
.ext-hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

.ext-hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  gap: 20px;
  margin-top: 4px;
}
.ext-hero-meta .m {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--border);
  padding-right: 20px;
}
.ext-hero-meta .m:last-child { border-right: none; }
.ext-hero-meta .m .k {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.ext-hero-meta .m .v {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.ext-hero-meta .m .v em { color: var(--primary); }
.ext-hero-meta .m .v .stars { color: var(--warning); letter-spacing: -0.04em; font-size: 15px; }

/* Install panel */
.install-panel {
  position: sticky;
  top: 96px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}
.install-panel .price {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.install-panel .price .per {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 6px;
  vertical-align: 8px;
}
.install-panel .price.free { color: var(--success); }
.install-panel .price-compare {
  font-size: 13px;
  color: var(--ink-mute);
}
.install-panel .price-compare s { color: var(--ink-subtle); }
.install-panel .price-compare em { color: var(--success); font-weight: 600; }
.install-panel .btn { justify-content: center; width: 100%; padding: 13px 16px; }
.install-panel .split { border-top: 1px solid var(--border); padding-top: 16px; }
.install-panel ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.install-panel li {
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.install-panel li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  color: var(--success);
  background: var(--success-light);
  display: grid;
  place-items: center;
}
.install-panel .trust {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

/* Screenshot strip */
.ext-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.ext-shot {
  position: relative;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--r-lg);
  aspect-ratio: 4/3;
  overflow: hidden;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-xs);
}
.ext-shot .title-bar {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
}
.ext-shot .title-bar .d { color: var(--success); font-weight: 600; }
.ext-shot .chart {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding-top: 8px;
}
.ext-shot .chart .bar {
  flex: 1;
  background: var(--primary);
  opacity: 0.75;
  border-radius: var(--r-xs) var(--r-xs) 0 0;
  transition: opacity 0.2s, transform 0.2s;
}
.ext-shot .chart .bar.hi { background: var(--success); opacity: 1; }
.ext-shot .chart .bar.lo { opacity: 0.25; }
.ext-shot.tone-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.ext-shot.tone-dark .title-bar { color: rgba(255,255,255,0.58); border-bottom-color: rgba(255,255,255,0.15); }
.ext-shot.tone-dark .chart .bar { background: #6366F1; }
.ext-shot.tone-dark .chart .bar.hi { background: #6EE7B7; }
.ext-shot.tone-dark .title-bar .d { color: #6EE7B7; }

.ext-shot .lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 10px;
}
.ext-shot .lines .ln {
  height: 5px;
  background: var(--border);
  border-radius: 999px;
}
.ext-shot .lines .ln:nth-child(1) { width: 92%; }
.ext-shot .lines .ln:nth-child(2) { width: 78%; background: var(--primary); opacity: 0.6; }
.ext-shot .lines .ln:nth-child(3) { width: 65%; }
.ext-shot .lines .ln:nth-child(4) { width: 84%; }
.ext-shot .lines .ln:nth-child(5) { width: 55%; background: var(--success); opacity: 0.8; }
.ext-shot.tone-dark .lines .ln { background: rgba(255,255,255,0.15); }
.ext-shot.tone-dark .lines .ln:nth-child(5) { background: #6EE7B7; }

/* Use cases */
.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.use-tile {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s, transform 0.2s;
}
.use-tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.use-tile .who {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 4px 10px;
  background: var(--primary-light);
  border-radius: var(--r-xs);
  align-self: flex-start;
}
.use-tile h4 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.018em;
}
.use-tile p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.use-tile .roi {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--success);
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}
.use-tile .roi .k {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin-top: 6px;
  text-transform: uppercase;
}

/* ---- Reviews ------------------------------------------------ */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
}
.rev-summary {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.rev-summary .big {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.rev-summary .big .out {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 4px;
  vertical-align: 14px;
}
.rev-summary .stars { color: var(--warning); font-size: 20px; letter-spacing: -0.06em; margin-top: 8px; display: block; }
.rev-summary .count {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 10px;
  margin-bottom: 20px;
}
.rev-bars { display: flex; flex-direction: column; gap: 8px; }
.rev-bar {
  display: grid;
  grid-template-columns: 36px 1fr 44px;
  gap: 12px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-mute);
}
.rev-bar .track {
  height: 6px;
  background: var(--bg-muted);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.rev-bar .fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: var(--warning);
  border-radius: 999px;
}

.rev-cards { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.rev-card {
  padding: 28px 0;
  border-bottom: 1px solid var(--border-soft);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
}
.rev-meta .author {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.rev-meta .role {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.rev-meta .date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 8px;
}
.rev-meta .stars { color: var(--warning); font-size: 14px; letter-spacing: -0.04em; }
.rev-body h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 10px;
}
.rev-body p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

/* ---- Comparison table --------------------------------------- */
.compare-wrap {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--r-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-xs);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
  font-size: 14px;
}
.compare-table th, .compare-table td {
  padding: 16px 22px;
  text-align: left;
  border-right: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}
.compare-table th:last-child, .compare-table td:last-child { border-right: none; }
.compare-table thead th {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 2;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
  padding: 18px 22px;
}
.compare-table thead th.highlight {
  background: var(--primary);
}
.compare-table thead .tool-cell { display: flex; flex-direction: column; gap: 4px; }
.compare-table thead .tool-cell .name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.012em;
  text-transform: none;
  color: #fff;
}
.compare-table thead .tool-cell .price {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.72);
  text-transform: none;
}
.compare-table thead .tool-cell .price.free { color: #6EE7B7; }
.compare-table tbody tr:nth-child(even) td:not(.best-col) { background: var(--bg-soft); }
.compare-table tbody th {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  background: #fff;
  width: 200px;
}
.compare-table .yes  {
  color: var(--success);
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--success-light);
  font-size: 13px;
  font-weight: 700;
}
.compare-table .no   {
  color: var(--ink-subtle);
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg-muted);
  font-size: 13px;
}
.compare-table .limit {
  color: #B45309;
  background: var(--warning-light);
  padding: 3px 8px;
  border-radius: var(--r-xs);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}
.compare-table tbody td.best-col { background: var(--primary-light); }
.compare-table tbody tr:nth-child(even) td.best-col { background: #E0E7FF; }
.compare-group-head td {
  background: var(--bg-muted);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-bottom: 1px solid var(--border);
}

/* ---- Testimonial band --------------------------------------- */
.tmn-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tmn {
  padding: 32px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 280px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s, transform 0.2s;
}
.tmn:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.tmn .quote-mark {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 0.6;
  color: var(--primary);
}
.tmn q {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.008em;
  color: var(--ink);
  quotes: none;
}
.tmn q::before, .tmn q::after { content: ''; }
.tmn q em { color: var(--success); font-weight: 700; }
.tmn .who {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.tmn .who .role { color: var(--ink-mute); font-weight: 500; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em; }

/* ---- CTA card (dark) ---------------------------------------- */
.mk-cta {
  background: var(--bg-dark);
  color: #fff;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.mk-cta::before {
  content: '';
  position: absolute;
  top: -200px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(79, 70, 229, 0.35), transparent 70%);
  pointer-events: none;
}
.mk-cta::after {
  content: '';
  position: absolute;
  bottom: -200px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(closest-side, rgba(16, 185, 129, 0.22), transparent 70%);
  pointer-events: none;
}
.mk-cta .frame {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative; z-index: 1;
}
.mk-cta h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.032em;
  max-width: 18ch;
  color: #fff;
}
.mk-cta h2 em { color: #6EE7B7; }
.mk-cta .sub {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  max-width: 40ch;
  margin-bottom: 20px;
  line-height: 1.6;
}
.mk-cta .row { display: flex; gap: 10px; flex-wrap: wrap; }
.mk-cta .btn {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.mk-cta .btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.mk-cta .btn-ghost {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: none;
}
.mk-cta .btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.mk-cta-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  padding: 40px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl);
  backdrop-filter: blur(20px);
  text-align: right;
}
.mk-cta-side .big {
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #6EE7B7;
  white-space: nowrap;
}
.mk-cta-side .big .star {
  color: var(--warning);
  font-size: 0.7em;
  margin-left: 4px;
}
.mk-cta-side .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* ---- Blog teaser -------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  padding: 28px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--primary-light);
}
.blog-card .tag-row {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
}
.blog-card .tag-row .t { color: var(--primary); font-weight: 600; }
.blog-card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.blog-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.blog-card .read {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}
.blog-card .read .min { color: var(--ink-mute); font-weight: 500; font-family: var(--font-mono); font-size: 11px; }

/* ---- Install strip ------------------------------------------ */
.install-strip {
  padding: 22px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.install-strip .frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.install-strip .txt {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.install-strip .txt em { color: var(--primary); font-weight: 700; }
.install-strip .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---- Pulse dot shared --------------------------------------- */
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  display: inline-block;
  animation: pulse 1.6s ease-in-out infinite;
  margin-right: 2px;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.5);
}

/* ---- Related extensions ------------------------------------- */
.related { padding: 72px 0; border-bottom: 1px solid var(--border); }
.related .mk-head { margin-bottom: 32px; }

/* ---- Scroll reveal ------------------------------------------ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---- Catalog: list view ------------------------------------- */
.catalog-grid.as-list { grid-template-columns: 1fr; gap: 12px; }
.catalog-grid.as-list .ext-card {
  display: grid;
  grid-template-columns: 52px 1.4fr 2fr 120px 120px 130px;
  gap: 24px;
  align-items: center;
  min-height: 96px;
  padding: 18px 22px;
}
.catalog-grid.as-list .ext-icon { width: 44px; height: 44px; font-size: 22px; }
.catalog-grid.as-list .ext-card-top { display: contents; }
.catalog-grid.as-list .ext-badges { flex-direction: column; align-items: flex-start; gap: 4px; grid-column: auto; }
.catalog-grid.as-list .ext-name { font-size: 18px; }
.catalog-grid.as-list .ext-desc { font-size: 13px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.catalog-grid.as-list .ext-meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border: none;
  padding: 0;
  margin: 0;
}
.catalog-grid.as-list .ext-meta .sep { display: none; }
.catalog-grid.as-list .ext-cta-row { flex-direction: column; gap: 6px; margin: 0; }
.catalog-grid.as-list .ext-cta-row .btn { width: 100%; justify-content: center; padding: 8px 12px; font-size: 12px; }
.catalog-grid.as-list .ext-card::before { display: none; }

/* ---- Sort swap transition ----------------------------------- */
.catalog-results.is-swapping .catalog-grid {
  opacity: 0.35;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ---- Mobile sticky install CTA ------------------------------ */
.sticky-install {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 60;
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(200%);
  transition: transform 0.3s var(--ease);
  box-shadow: var(--shadow-xl);
}
.sticky-install.is-on { transform: translateY(0); }
.sticky-install .si-price {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: #6EE7B7;
}
.sticky-install .si-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-primary);
}
.sticky-install .si-cta:hover { background: var(--primary-hover); }

/* ============================================================= */
/* BLOG                                                          */
/* ============================================================= */
.blog-hero {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(closest-side, var(--primary-glow), transparent 70%);
  pointer-events: none;
}
.blog-hero h1 { max-width: 20ch; margin-bottom: 14px; }
.blog-hero p  { font-size: 17.5px; color: var(--ink-soft); max-width: 60ch; line-height: 1.6; }

.blog-toc {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.blog-toc a {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-soft);
  background: #fff;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.blog-toc a:hover { background: var(--bg-soft); color: var(--ink); }
.blog-toc a.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Blog index — article list */
.articles { padding: 48px 0 88px; }
.article-row {
  display: grid;
  grid-template-columns: 120px 1fr 280px 160px;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: start;
  transition: background 0.2s, padding 0.2s;
  border-radius: var(--r-md);
}
.article-row:hover {
  background: var(--bg-soft);
  padding-left: 16px;
  padding-right: 16px;
  margin-left: -16px;
  margin-right: -16px;
}
.article-row:first-child {
  grid-template-columns: 120px 1.3fr 1fr;
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.article-row:first-child .a-excerpt { display: block; }
.article-row .a-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 6px;
}
.article-row .a-num em { color: var(--primary); font-weight: 600; }
.article-row h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.018em;
  margin-bottom: 10px;
}
.article-row:first-child h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  max-width: 20ch;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.article-row h2 a { color: var(--ink); }
.article-row h2 a:hover { color: var(--primary); }
.article-row .a-excerpt {
  display: none;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 50ch;
}
.article-row .a-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 6px;
  text-transform: uppercase;
}
.article-row .a-meta .cat { color: var(--primary); font-weight: 600; }
.article-row .a-read {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  padding-top: 6px;
  text-align: right;
  transition: gap 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
}
.article-row .a-read::after {
  content: '→';
  transition: transform 0.2s;
}
.article-row:hover .a-read::after { transform: translateX(4px); }
.article-row:first-child .a-meta { padding-top: 16px; }

/* ============================================================= */
/* SINGLE ARTICLE                                                */
/* ============================================================= */
.article-page { padding: 56px 0 80px; }
.article-frame {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--edge);
}
.article-meta-top {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.article-meta-top .cat { color: var(--primary); font-weight: 600; }
.article-meta-top .dot { color: var(--border-strong); }

.article-page h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 20ch;
}
.article-lede {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.article-byline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 12px 0 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.article-byline .author {
  display: flex;
  gap: 12px;
  align-items: center;
}
.article-byline .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}
.article-byline .author .name {
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-transform: none;
}

.article-body { font-size: 17px; line-height: 1.72; color: var(--ink-soft); }
.article-body p { margin-bottom: 20px; }
.article-body p:first-of-type::first-letter {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 3.6em;
  line-height: 0.9;
  float: left;
  margin: 8px 10px 0 0;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.article-body h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 44px 0 16px;
}
.article-body h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 32px 0 14px;
}
.article-body blockquote {
  border-left: 3px solid var(--primary);
  margin: 32px 0;
  padding: 8px 0 8px 24px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.012em;
  background: var(--primary-light);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 20px 24px;
}
.article-body blockquote cite {
  display: block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 14px;
}
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body ul li::marker { color: var(--primary); }
.article-body ol li::marker { color: var(--primary); font-weight: 600; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.article-body .pull {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 40px 0;
  padding: 22px 28px;
  background: linear-gradient(90deg, var(--primary-light), transparent);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--r) var(--r) 0;
  max-width: 28ch;
}
.article-body .pull em { color: var(--primary); }

.article-body .callout {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  margin: 28px 0;
}
.article-body .callout .label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}
.article-body .callout p { font-size: 14.5px; margin: 0; line-height: 1.6; color: var(--ink-soft); }

.article-body figure { margin: 36px 0; padding: 0; }
.article-body figure .chart-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-xs);
}
.article-body figure .chart-card .ttl {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  justify-content: space-between;
}
.article-body figure .chart-card .ttl em { color: var(--success); font-weight: 600; }
.article-body figure .chart-card .rows {
  display: grid;
  grid-template-columns: 120px 1fr 60px;
  gap: 12px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
}
.article-body figure .chart-card .rows .lbl { color: var(--ink-soft); }
.article-body figure .chart-card .rows .track {
  height: 10px;
  background: var(--bg-muted);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.article-body figure .chart-card .rows .track .fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: var(--primary);
  border-radius: 999px;
}
.article-body figure .chart-card .rows .track .fill.hi { background: var(--success); }
.article-body figure .chart-card .rows .v { text-align: right; color: var(--ink); }
.article-body figure figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
  margin-top: 12px;
}

/* Article ending */
.article-end {
  max-width: 760px;
  margin: 56px auto 0;
  padding: 32px var(--edge) 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.article-end .bio h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.012em;
  margin-bottom: 6px;
}
.article-end .bio .role {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.article-end .bio p { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.article-end .share {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.article-end .share a {
  color: var(--ink);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 500;
  background: #fff;
  transition: background 0.15s, color 0.15s;
}
.article-end .share a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Article-embedded ext promo */
.ext-promo {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--success-light) 100%);
  padding: 24px 28px;
  margin: 36px 0;
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 22px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.ext-promo .ext-icon { width: 52px; height: 52px; font-size: 24px; box-shadow: var(--shadow-sm); }
.ext-promo .t {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.ext-promo .sub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 2px;
  text-transform: none;
}
.ext-promo .btn { padding: 11px 16px; font-size: 13px; }

/* ============================================================= */
/* ACCOUNT DASHBOARD                                             */
/* ============================================================= */
.account-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 40px 0 88px;
  align-items: start;
}
.account-side {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  box-shadow: var(--shadow-xs);
}
.account-side .profile {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 10px;
}
.account-side .profile .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.account-side .profile .name { font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em; }
.account-side .profile .email {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 500;
}
.account-side .tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 999px;
  margin: 4px 0 14px;
}
.account-side .tier-pill::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
}
.account-nav { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.account-nav a {
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--r);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s, color 0.15s;
}
.account-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.account-nav a.is-on {
  background: var(--primary);
  color: #fff;
}
.account-nav a .n {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink-mute);
  background: var(--bg-muted);
  padding: 2px 7px;
  border-radius: 999px;
}
.account-nav a.is-on .n { background: rgba(255,255,255,0.2); color: #fff; }

.account-main { display: flex; flex-direction: column; gap: 48px; }
.account-greet h1 { margin-bottom: 10px; }
.account-greet h1 em { color: var(--primary); }
.account-greet p { font-size: 16.5px; color: var(--ink-soft); max-width: 56ch; line-height: 1.6; }

/* Summary cards */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.summary-tile {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 144px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s, transform 0.2s;
}
.summary-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.summary-tile.accent {
  background: linear-gradient(180deg, var(--primary-light) 0%, #fff 100%);
  border-color: var(--primary-light);
}
.summary-tile .cap {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.summary-tile .big {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.summary-tile .big em { color: var(--primary); }
.summary-tile .big.profit { color: var(--success); }
.summary-tile .delta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--success);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.summary-tile .delta::before { content: '↑'; }
.summary-tile .delta.down { color: var(--primary); }
.summary-tile .delta.down::before { content: '→'; }

/* Tool table */
.tool-table {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.tool-table-head {
  display: grid;
  grid-template-columns: 44px 1.6fr 120px 160px 130px 80px;
  gap: 20px;
  padding: 14px 22px;
  background: var(--bg-soft);
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.tool-row {
  display: grid;
  grid-template-columns: 44px 1.6fr 120px 160px 130px 80px;
  gap: 20px;
  padding: 16px 22px;
  align-items: center;
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.15s;
}
.tool-row:last-child { border-bottom: none; }
.tool-row:hover { background: var(--bg-soft); }
.tool-row .i-ico {
  width: 40px; height: 40px;
  border-radius: var(--r);
  background: var(--primary-light);
  color: var(--primary);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}
.tool-row .nm {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
}
.tool-row .nm .cat {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-top: 3px;
  text-transform: none;
  letter-spacing: 0.02em;
}
.tool-row .status {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: var(--r-xs);
}
.tool-row .status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.tool-row .status.active { color: var(--success); background: var(--success-light); }
.tool-row .status.active::before { background: var(--success); }
.tool-row .status.expired { color: var(--ink-mute); background: var(--bg-muted); }
.tool-row .status.expired::before { background: var(--ink-mute); }
.tool-row .status.trial { color: #B45309; background: var(--warning-light); }
.tool-row .status.trial::before { background: var(--warning); }
.tool-row .plan {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}
.tool-row .plan .next {
  display: block;
  font-size: 10.5px;
  color: var(--ink-mute);
  margin-top: 2px;
  text-transform: none;
}
.tool-row .p {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.tool-row .p.free { color: var(--success); }
.tool-row .menu { text-align: right; }
.tool-row .menu a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
}
.tool-row .menu a:hover { color: var(--primary-hover); }

/* Invoices */
.invoice-list {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.invoice-row {
  display: grid;
  grid-template-columns: 140px 1fr 120px 100px 100px 80px;
  gap: 20px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-mono);
  font-size: 12.5px;
  align-items: center;
  color: var(--ink);
}
.invoice-row:last-child { border-bottom: none; }
.invoice-row:hover { background: var(--bg-soft); }
.invoice-row .n { color: var(--ink-mute); font-weight: 500; }
.invoice-row .desc { font-family: var(--font); font-size: 14px; font-weight: 500; }
.invoice-row .desc em { color: var(--primary); font-weight: 600; }
.invoice-row .amt { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.invoice-row .stat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--success);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 3px 8px;
  border-radius: var(--r-xs);
  background: var(--success-light);
  justify-self: start;
}
.invoice-row .stat::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--success); }
.invoice-row .stat.refunded { color: var(--ink-mute); background: var(--bg-muted); }
.invoice-row .stat.refunded::before { background: var(--ink-mute); }
.invoice-row .dl { text-align: right; }
.invoice-row .dl a { color: var(--primary); font-weight: 600; }
.invoice-row .dl a:hover { color: var(--primary-hover); }

/* Panel header (inside account) */
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.panel-head h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.panel-head .sub {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.panel-head .actions { display: flex; gap: 8px; }

/* ============================================================= */
/* Responsive                                                    */
/* ============================================================= */
@media (max-width: 1100px) {
  .market-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .live-stripe { grid-template-columns: 1fr 1fr; }
  .live-stripe-label { grid-column: span 2; }
  .ext-grid.featured .ext-card:nth-child(n) { grid-column: span 12; grid-row: auto; }
  .ext-grid.cols-4 .ext-card { grid-column: span 6; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .ext-hero-grid { grid-template-columns: 1fr; }
  .install-panel { position: static; }
  .reviews-grid { grid-template-columns: 1fr; gap: 40px; }
  .catalog-layout { grid-template-columns: 1fr; gap: 24px; }
  .filters { position: static; }
  .top-row { grid-template-columns: 40px 40px 1fr 110px 90px; gap: 14px; padding: 14px 16px; }
  .top-row .t-desc, .top-row .t-action { display: none; }
  .use-cases { grid-template-columns: 1fr; }
  .roi-grid { grid-template-columns: 1fr; }
  .tmn-band { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .mk-cta .frame { grid-template-columns: 1fr; }
  .ext-shots { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .feature-row { grid-template-columns: 60px 1fr; }
  .feature-desc { grid-column: 2; padding-top: 8px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { grid-template-columns: 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .account-layout { grid-template-columns: 1fr; gap: 24px; }
  .account-side { position: static; }
  .summary-grid { grid-template-columns: 1fr 1fr; }
  .article-row { grid-template-columns: 80px 1fr 100px; gap: 20px; }
  .article-row .a-meta { grid-column: 2 / -1; }
  .article-row:first-child { grid-template-columns: 80px 1fr; }
  .article-end { grid-template-columns: 1fr; gap: 24px; }
  .tool-table-head, .tool-row { grid-template-columns: 40px 1.4fr 110px 120px 80px; }
  .tool-table-head .c-plan, .tool-row .plan { display: none; }
  .invoice-row { grid-template-columns: 120px 1fr 80px 80px; }
  .invoice-row .stat, .invoice-row .dl:first-of-type { display: none; }
  .catalog-grid.as-list .ext-card { grid-template-columns: 44px 1fr 130px; gap: 16px; }
  .catalog-grid.as-list .ext-desc, .catalog-grid.as-list .ext-meta { display: none; }
}
@media (max-width: 640px) {
  :root { --edge: 22px; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .market-hero { padding: 48px 0 32px; }
  .market-hero h1 { font-size: 44px; }
  .live-stripe { grid-template-columns: 1fr; }
  .live-stripe-label { grid-column: span 1; }
  .live-stripe-label, .live-stat { padding: 16px 18px; }
  .ext-grid.cols-3 .ext-card, .ext-grid.cols-4 .ext-card, .ext-grid.cols-2 .ext-card { grid-column: span 12; }
  .ext-card.is-feature { padding: 28px 24px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .ext-hero-icon { width: 64px; height: 64px; font-size: 32px; }
  .ext-hero-meta { grid-template-columns: 1fr 1fr; }
  .ext-hero-heading { flex-direction: column; gap: 16px; }
  .ext-shots { grid-template-columns: 1fr; }
  .catalog-bar { grid-template-columns: 1fr; }
  .rev-card { grid-template-columns: 1fr; gap: 14px; }
  .compare-table thead th, .compare-table tbody th, .compare-table tbody td { padding: 12px 14px; }
  .top-row { grid-template-columns: 30px 36px 1fr 80px; }
  .top-row .t-price { display: none; }
  .summary-grid { grid-template-columns: 1fr; }
  .blog-toc { padding: 14px 0; }
  .article-byline { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tool-table-head { display: none; }
  .tool-row { grid-template-columns: 40px 1fr 80px; row-gap: 8px; padding: 12px 16px; }
  .tool-row .status, .tool-row .plan, .tool-row .menu { grid-column: 2 / -1; }
  .invoice-row { grid-template-columns: 1fr auto; row-gap: 4px; font-size: 11.5px; padding: 10px 16px; }
  .ext-promo { grid-template-columns: 1fr; text-align: left; }
  .sticky-install .si-price { font-size: 14px; }
  .hero { padding: 48px 0 40px; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .section, .mk-section { padding: 56px 0; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .faq-item summary { grid-template-columns: 48px 1fr 24px; gap: 14px; }
  .faq-item details > *:not(summary) { padding-left: 62px; }
  .cta-block, .mk-cta { padding: 64px 0; }
  .cta-block .frame { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand h3 { font-size: 36px; }
  .data-preview-head, .data-preview-row { grid-template-columns: 76px 1fr; padding: 10px 14px; }
  .data-preview-head :not(:first-child):not(:nth-child(4)),
  .data-preview-row  :not(:first-child):not(:nth-child(4)) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .ticker { animation: none; }
}
