/* ===================================================
   Practical Tech — Independent dark tech magazine CSS
   Standalone publication with independent styles.
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap');

/* ────────────────────────────────────────────────
   Design Tokens
   ──────────────────────────────────────────────── */
:root {
  --pt-bg-primary: #0a0b0d;
  --pt-bg-secondary: #111318;
  --pt-bg-card: #161a21;
  --pt-bg-elevated: #1c2130;
  --pt-border: #1f2535;
  --pt-border-bright: #2a3448;

  --pt-accent: #3b82f6;       /* Electric blue */
  --pt-accent-glow: rgba(59,130,246,0.15);
  --pt-accent-hover: #60a5fa;
  --pt-amber: #f59e0b;        /* Score/award accent */
  --pt-green: #10b981;        /* Badge "Best Pick" */
  --pt-red: #ef4444;          /* Alert/deal tags */

  --pt-text-primary: #f0f4ff;
  --pt-text-secondary: #8b9fc0;
  --pt-text-muted: #4a5568;

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.6);
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body.pt-page {
  font-family: var(--font-body);
  background: var(--pt-bg-primary);
  color: var(--pt-text-primary);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.pt-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.pt-container--narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.pt-container--wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

img { max-width: 100%; display: block; }
a { color: var(--pt-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--pt-accent-hover); }

/* ────────────────────────────────────────────────
   Ad Zones (labeled for easy drop-in)
   ──────────────────────────────────────────────── */
.pt-ad {
  background: var(--pt-bg-elevated);
  border: 1px dashed var(--pt-border-bright);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pt-text-muted);
  font-size: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  overflow: hidden;
}
.pt-ad--leaderboard { width: 100%; height: 90px; margin: 16px 0; }
.pt-ad--rectangle { width: 300px; height: 250px; }
.pt-ad--billboard { width: 100%; height: 250px; margin: 32px 0; }
.pt-ad--native {
  padding: 16px;
  border-style: solid;
  border-color: var(--pt-border);
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--pt-text-muted);
}

/* ────────────────────────────────────────────────
   Header / Navigation
   ──────────────────────────────────────────────── */
.pt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,11,13,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pt-border);
}

.pt-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.pt-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.pt-logo__mark {
  width: 34px;
  height: 34px;
  background: var(--pt-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.pt-logo__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--pt-text-primary);
  letter-spacing: -0.02em;
}
.pt-logo__name span { color: var(--pt-accent); }

.pt-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  overflow: hidden;
}
.pt-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pt-text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.pt-nav a:hover, .pt-nav a.active {
  color: var(--pt-text-primary);
  background: var(--pt-bg-card);
}
.pt-nav a.pt-nav--accent {
  color: var(--pt-amber);
}

.pt-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ────────────────────────────────────────────────
   Buttons
   ──────────────────────────────────────────────── */
.pt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.pt-btn--primary {
  background: var(--pt-accent);
  color: #fff;
}
.pt-btn--primary:hover { background: var(--pt-accent-hover); color: #fff; transform: translateY(-1px); }

.pt-btn--ghost {
  background: transparent;
  color: var(--pt-text-secondary);
  border: 1px solid var(--pt-border-bright);
}
.pt-btn--ghost:hover { color: var(--pt-text-primary); border-color: var(--pt-accent); background: var(--pt-accent-glow); }

.pt-btn--amber {
  background: var(--pt-amber);
  color: #000;
  font-weight: 700;
}
.pt-btn--amber:hover { background: #fbbf24; color: #000; transform: translateY(-1px); }

.pt-btn--lg { padding: 12px 24px; font-size: 0.95rem; }
.pt-btn--full { width: 100%; justify-content: center; }

/* ────────────────────────────────────────────────
   Hero Section
   ──────────────────────────────────────────────── */
.pt-hero {
  background: linear-gradient(135deg, var(--pt-bg-secondary) 0%, #0e1420 50%, var(--pt-bg-secondary) 100%);
  border-bottom: 1px solid var(--pt-border);
  padding: 60px 0 48px;
  position: relative;
  overflow: hidden;
}
.pt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(59,130,246,0.06) 0%, transparent 70%);
}

.pt-hero__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.pt-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pt-accent-glow);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--pt-accent);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.pt-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--pt-text-primary);
}

.pt-hero__subtitle {
  font-size: 1.1rem;
  color: var(--pt-text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pt-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  font-size: 0.82rem;
  color: var(--pt-text-muted);
}
.pt-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pt-hero__cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Score Ring in Hero */
.pt-score-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--pt-amber);
  box-shadow: 0 0 20px rgba(245,158,11,0.3);
  flex-shrink: 0;
}
.pt-score-ring__num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--pt-amber);
  line-height: 1;
}
.pt-score-ring__label {
  font-size: 0.55rem;
  color: var(--pt-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* Hero sidebar — featured articles stack */
.pt-hero__sidebar { display: flex; flex-direction: column; gap: 12px; }
.pt-hero__sidebar-card {
  background: var(--pt-bg-card);
  border: 1px solid var(--pt-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  text-decoration: none;
  color: inherit;
}
.pt-hero__sidebar-card:hover {
  border-color: var(--pt-accent);
  background: var(--pt-bg-elevated);
  transform: translateX(3px);
}
.pt-hero__sidebar-emoji {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pt-bg-elevated);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
}
.pt-hero__sidebar-title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--pt-text-primary);
  margin-bottom: 3px;
}
.pt-hero__sidebar-meta {
  font-size: 0.72rem;
  color: var(--pt-text-muted);
}

/* ────────────────────────────────────────────────
   Category Nav Bar (below hero)
   ──────────────────────────────────────────────── */
.pt-cat-bar {
  background: var(--pt-bg-secondary);
  border-bottom: 1px solid var(--pt-border);
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pt-cat-bar::-webkit-scrollbar { display: none; }
.pt-cat-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0;
}
.pt-cat-bar a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--pt-text-secondary);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
  text-decoration: none;
}
.pt-cat-bar a:hover, .pt-cat-bar a.active {
  color: var(--pt-text-primary);
  border-bottom-color: var(--pt-accent);
}

/* ────────────────────────────────────────────────
   Article Grid
   ──────────────────────────────────────────────── */
.pt-section { padding: 48px 0; }
.pt-section-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pt-text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pt-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--pt-border);
}

.pt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.pt-grid--2 { grid-template-columns: repeat(2, 1fr); }
.pt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pt-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ────────────────────────────────────────────────
   Article Card
   ──────────────────────────────────────────────── */
.pt-card {
  background: var(--pt-bg-card);
  border: 1px solid var(--pt-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.pt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--pt-border-bright);
}

.pt-card__thumb {
  background: var(--pt-bg-elevated);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.pt-card__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(22,26,33,0.9) 100%);
}

.pt-card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.pt-badge {
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.pt-badge--best { background: var(--pt-green); color: #fff; }
.pt-badge--sponsored { background: rgba(245,158,11,0.2); color: var(--pt-amber); border: 1px solid rgba(245,158,11,0.3); }
.pt-badge--new { background: var(--pt-accent); color: #fff; }
.pt-badge--deal { background: var(--pt-red); color: #fff; }
.pt-badge--featured { background: var(--pt-amber); color: #000; }

.pt-card__body { padding: 18px; flex: 1; display: flex; flex-direction: column; }

.pt-card__cat {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--pt-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.pt-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--pt-text-primary);
  margin-bottom: 8px;
  flex: 1;
}

.pt-card__excerpt {
  font-size: 0.82rem;
  color: var(--pt-text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pt-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--pt-border);
  margin-top: auto;
}
.pt-card__meta {
  font-size: 0.72rem;
  color: var(--pt-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pt-card__score {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pt-amber);
  padding: 2px 8px;
  background: rgba(245,158,11,0.1);
  border-radius: 100px;
  border: 1px solid rgba(245,158,11,0.2);
}

/* ────────────────────────────────────────────────
   Product Card (affiliate CTA)
   ──────────────────────────────────────────────── */
.pt-product-card {
  background: var(--pt-bg-elevated);
  border: 1px solid var(--pt-border-bright);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pt-product-card:hover {
  border-color: var(--pt-accent);
  box-shadow: 0 4px 20px var(--pt-accent-glow);
}
.pt-product-card__emoji {
  font-size: 2rem;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pt-bg-card);
  border-radius: var(--radius-sm);
}
.pt-product-card__info { flex: 1; min-width: 0; }
.pt-product-card__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pt-text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pt-product-card__store {
  font-size: 0.75rem;
  color: var(--pt-text-muted);
}
.pt-product-card__price {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--pt-text-primary);
  flex-shrink: 0;
  text-align: right;
}

/* ────────────────────────────────────────────────
   Comparison Table
   ──────────────────────────────────────────────── */
.pt-compare-wrap {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--pt-border);
}
.pt-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.pt-compare-table thead {
  background: var(--pt-bg-elevated);
  position: sticky;
  top: 0;
}
.pt-compare-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pt-text-muted);
  border-bottom: 1px solid var(--pt-border-bright);
  white-space: nowrap;
}
.pt-compare-table tbody tr {
  border-bottom: 1px solid var(--pt-border);
  transition: background var(--transition);
}
.pt-compare-table tbody tr:hover { background: var(--pt-bg-elevated); }
.pt-compare-table tbody tr:last-child { border-bottom: none; }
.pt-compare-table tbody tr.pt-compare--winner {
  background: rgba(59,130,246,0.06);
  border-left: 3px solid var(--pt-accent);
}
.pt-compare-table td {
  padding: 14px 16px;
  vertical-align: middle;
  color: var(--pt-text-secondary);
}
.pt-compare-table td:first-child { color: var(--pt-text-muted); font-family: var(--font-mono); font-size: 0.75rem; }
.pt-compare-table .pt-compare__name {
  font-weight: 600;
  color: var(--pt-text-primary);
  font-size: 0.9rem;
}
.pt-compare-table .pt-compare__score {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--pt-amber);
}
.pt-compare-table .pt-compare__price {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--pt-text-primary);
  white-space: nowrap;
}

/* ────────────────────────────────────────────────
   Article Layout
   ──────────────────────────────────────────────── */
.pt-article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 40px 0 80px;
  align-items: start;
}

.pt-article-content {
  min-width: 0;
}

.pt-article-header {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--pt-border);
}

.pt-article-header__cat {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.pt-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--pt-text-muted);
}
.pt-breadcrumb a { color: var(--pt-accent); }
.pt-breadcrumb__sep { color: var(--pt-border-bright); }

.pt-article-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--pt-text-primary);
  margin-bottom: 14px;
}

.pt-article-subtitle {
  font-size: 1.1rem;
  color: var(--pt-text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.pt-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--pt-text-muted);
  flex-wrap: wrap;
}
.pt-article-meta__sep { color: var(--pt-border-bright); }
.pt-article-meta__score {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  padding: 4px 10px;
  border-radius: 100px;
  color: var(--pt-amber);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Article body prose */
.pt-prose {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--pt-text-secondary);
}
.pt-prose p { margin-bottom: 1.4em; }
.pt-prose h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pt-text-primary);
  margin: 2.2em 0 0.8em;
  letter-spacing: -0.02em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--pt-border);
}
.pt-prose h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--pt-text-primary);
  margin: 1.8em 0 0.6em;
}
.pt-prose p.pt-lead {
  font-size: 1.1rem;
  color: var(--pt-text-primary);
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 2em;
}
.pt-prose strong { color: var(--pt-text-primary); font-weight: 600; }
.pt-prose ol, .pt-prose ul { padding-left: 1.5em; margin-bottom: 1.4em; }
.pt-prose li { margin-bottom: 0.4em; }
.pt-prose a { color: var(--pt-accent); }
.pt-prose a:hover { color: var(--pt-accent-hover); }

/* Callout box */
.pt-callout {
  background: var(--pt-bg-elevated);
  border-left: 3px solid var(--pt-accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2em 0;
  font-size: 0.9rem;
  color: var(--pt-text-secondary);
  line-height: 1.6;
}

/* Sponsored disclosure banner */
.pt-sponsored-banner {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  font-size: 0.78rem;
  color: var(--pt-amber);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Final Verdict Box */
.pt-verdict {
  background: linear-gradient(135deg, var(--pt-bg-elevated) 0%, rgba(59,130,246,0.05) 100%);
  border: 1px solid var(--pt-accent);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 40px 0;
}
.pt-verdict__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pt-accent);
  margin-bottom: 10px;
}
.pt-verdict__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pt-text-primary);
  margin-bottom: 8px;
}
.pt-verdict__text {
  font-size: 0.9rem;
  color: var(--pt-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}
.pt-verdict__pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--pt-bg-card);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  flex-wrap: wrap;
  gap: 12px;
}
.pt-verdict__pick-name {
  font-weight: 700;
  color: var(--pt-text-primary);
  font-size: 0.95rem;
}
.pt-verdict__pick-price {
  font-family: var(--font-mono);
  color: var(--pt-amber);
  font-size: 1.1rem;
  font-weight: 700;
}

/* ────────────────────────────────────────────────
   Article Sidebar
   ──────────────────────────────────────────────── */
.pt-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pt-sidebar-block {
  background: var(--pt-bg-card);
  border: 1px solid var(--pt-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.pt-sidebar-block__header {
  background: var(--pt-bg-elevated);
  padding: 12px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pt-text-muted);
  border-bottom: 1px solid var(--pt-border);
}
.pt-sidebar-block__body { padding: 16px; }

/* Affiliate list in sidebar */
.pt-affiliate-list { display: flex; flex-direction: column; gap: 10px; }
.pt-affiliate-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: var(--pt-bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--pt-border);
  transition: border-color var(--transition);
}
.pt-affiliate-item:hover { border-color: var(--pt-accent); }
.pt-affiliate-item__name {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--pt-text-primary);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pt-affiliate-item__price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pt-amber);
  flex-shrink: 0;
}

/* Newsletter CTA in sidebar */
.pt-email-form { display: flex; flex-direction: column; gap: 10px; }
.pt-input {
  background: var(--pt-bg-secondary);
  border: 1px solid var(--pt-border-bright);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--pt-text-primary);
  outline: none;
  width: 100%;
  transition: border-color var(--transition);
  font-family: var(--font-body);
}
.pt-input:focus { border-color: var(--pt-accent); box-shadow: 0 0 0 3px var(--pt-accent-glow); }
.pt-input::placeholder { color: var(--pt-text-muted); }

/* ────────────────────────────────────────────────
   Email Capture Sections (hero forms)
   ──────────────────────────────────────────────── */
.pt-email-hero {
  background: linear-gradient(135deg, var(--pt-bg-elevated) 0%, rgba(59,130,246,0.08) 100%);
  border: 1px solid var(--pt-border-bright);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  text-align: center;
  margin: 40px 0;
}
.pt-email-hero__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pt-text-primary);
  margin-bottom: 8px;
}
.pt-email-hero__subtitle {
  color: var(--pt-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.pt-email-hero__form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.pt-lead-magnet {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  color: var(--pt-green);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ────────────────────────────────────────────────
   Inline Email Capture (mid-article)
   ──────────────────────────────────────────────── */
.pt-inline-subscribe {
  background: var(--pt-bg-elevated);
  border: 1px solid var(--pt-border-bright);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.pt-inline-subscribe__text { flex: 1; }
.pt-inline-subscribe__title { font-weight: 700; color: var(--pt-text-primary); font-size: 0.9rem; margin-bottom: 4px; }
.pt-inline-subscribe__sub { font-size: 0.8rem; color: var(--pt-text-muted); }
.pt-inline-subscribe__form { display: flex; gap: 8px; flex-shrink: 0; }

/* ────────────────────────────────────────────────
   Exit Intent Popup
   ──────────────────────────────────────────────── */
.pt-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  backdrop-filter: blur(4px);
}
.pt-popup-overlay.visible { opacity: 1; visibility: visible; }
.pt-popup {
  background: var(--pt-bg-secondary);
  border: 1px solid var(--pt-border-bright);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
}
.pt-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: var(--pt-text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px;
  transition: color var(--transition);
}
.pt-popup__close:hover { color: var(--pt-text-primary); }
.pt-popup__emoji { font-size: 3rem; margin-bottom: 16px; }
.pt-popup__title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--pt-text-primary); margin-bottom: 8px; }
.pt-popup__sub { font-size: 0.9rem; color: var(--pt-text-secondary); margin-bottom: 24px; line-height: 1.5; }
.pt-popup__form { display: flex; flex-direction: column; gap: 10px; }

/* ────────────────────────────────────────────────
   Deals Page Specifics
   ──────────────────────────────────────────────── */
.pt-deal-card {
  background: var(--pt-bg-card);
  border: 1px solid var(--pt-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color var(--transition), background var(--transition);
}
.pt-deal-card:hover { border-color: var(--pt-accent); background: var(--pt-bg-elevated); }
.pt-deal-card__emoji { font-size: 2.5rem; flex-shrink: 0; }
.pt-deal-card__info { flex: 1; min-width: 0; }
.pt-deal-card__name { font-weight: 700; font-size: 1rem; color: var(--pt-text-primary); margin-bottom: 4px; }
.pt-deal-card__excerpt { font-size: 0.82rem; color: var(--pt-text-secondary); line-height: 1.5; margin-bottom: 10px; }
.pt-deal-card__pricing {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.pt-deal-card__price-now { font-family: var(--font-mono); font-size: 1.2rem; font-weight: 700; color: var(--pt-green); }
.pt-deal-card__price-was { font-family: var(--font-mono); font-size: 0.85rem; color: var(--pt-text-muted); text-decoration: line-through; }
.pt-deal-card__save {
  background: rgba(239,68,68,0.1);
  color: var(--pt-red);
  border: 1px solid rgba(239,68,68,0.2);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ────────────────────────────────────────────────
   Best Picks Hub
   ──────────────────────────────────────────────── */
.pt-best-card {
  background: var(--pt-bg-card);
  border: 1px solid var(--pt-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.pt-best-card:hover { transform: translateY(-4px); border-color: var(--pt-accent); }
.pt-best-card__header {
  background: var(--pt-bg-elevated);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--pt-border);
}
.pt-best-card__emoji { font-size: 2.5rem; }
.pt-best-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--pt-text-primary);
  line-height: 1.3;
  margin-bottom: 4px;
}
.pt-best-card__cat { font-size: 0.72rem; color: var(--pt-accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.pt-best-card__body { padding: 16px 24px; flex: 1; }
.pt-best-card__winner-label { font-size: 0.7rem; color: var(--pt-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.pt-best-card__winner-name { font-size: 0.9rem; color: var(--pt-green); font-weight: 600; margin-bottom: 8px; }
.pt-best-card__price { font-family: var(--font-mono); font-size: 1rem; color: var(--pt-amber); font-weight: 700; }
.pt-best-card__footer { padding: 12px 24px 18px; display: flex; gap: 10px; }

/* ────────────────────────────────────────────────
   About / Legal / Static Pages
   ──────────────────────────────────────────────── */
.pt-static { padding: 60px 0 80px; }
.pt-static h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--pt-text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.pt-static h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pt-text-primary);
  margin: 36px 0 12px;
}
.pt-static p { color: var(--pt-text-secondary); line-height: 1.7; margin-bottom: 16px; font-size: 0.95rem; }
.pt-static ul, .pt-static ol { color: var(--pt-text-secondary); line-height: 1.7; padding-left: 1.5em; margin-bottom: 16px; font-size: 0.95rem; }
.pt-static li { margin-bottom: 6px; }
.pt-static a { color: var(--pt-accent); }

.pt-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.pt-team-card {
  background: var(--pt-bg-card);
  border: 1px solid var(--pt-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.pt-team-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--pt-bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 12px;
  border: 2px solid var(--pt-border-bright);
}
.pt-team-card__name { font-weight: 700; color: var(--pt-text-primary); font-size: 0.9rem; margin-bottom: 4px; }
.pt-team-card__role { font-size: 0.78rem; color: var(--pt-accent); margin-bottom: 8px; }
.pt-team-card__bio { font-size: 0.78rem; color: var(--pt-text-muted); line-height: 1.5; }

/* ────────────────────────────────────────────────
   Related Articles
   ──────────────────────────────────────────────── */
.pt-related { padding: 48px 0; border-top: 1px solid var(--pt-border); }
.pt-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

/* ────────────────────────────────────────────────
   Footer
   ──────────────────────────────────────────────── */
.pt-footer {
  background: var(--pt-bg-secondary);
  border-top: 1px solid var(--pt-border);
  padding: 48px 0 24px;
  margin-top: 60px;
}
.pt-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 40px;
}
.pt-footer__brand { }
.pt-footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pt-text-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pt-footer__tagline { font-size: 0.83rem; color: var(--pt-text-muted); line-height: 1.6; margin-bottom: 16px; }
.pt-footer__disclaimer { font-size: 0.75rem; color: var(--pt-text-muted); line-height: 1.6; }

.pt-footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pt-text-muted);
  margin-bottom: 14px;
}
.pt-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pt-footer__col li a {
  font-size: 0.83rem;
  color: var(--pt-text-secondary);
  transition: color var(--transition);
}
.pt-footer__col li a:hover { color: var(--pt-accent); }

.pt-footer__newsletter .pt-input { margin-bottom: 8px; }

.pt-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--pt-border);
  font-size: 0.75rem;
  color: var(--pt-text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.pt-footer__bottom-links { display: flex; gap: 16px; }
.pt-footer__bottom-links a { color: var(--pt-text-muted); }
.pt-footer__bottom-links a:hover { color: var(--pt-accent); }

/* ────────────────────────────────────────────────
   Contact form
   ──────────────────────────────────────────────── */
.pt-form { display: flex; flex-direction: column; gap: 16px; }
.pt-form-group { display: flex; flex-direction: column; gap: 6px; }
.pt-form-group label { font-size: 0.82rem; font-weight: 600; color: var(--pt-text-secondary); }
textarea.pt-input { resize: vertical; min-height: 120px; }
.pt-success-msg {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--pt-green);
  font-size: 0.9rem;
}

/* ────────────────────────────────────────────────
   Mobile Nav (bottom tab bar)
   ──────────────────────────────────────────────── */
.pt-mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(17,19,24,0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--pt-border);
  padding: 6px 0 env(safe-area-inset-bottom);
}
.pt-mobile-nav__tabs {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.pt-mobile-nav__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 12px;
  text-decoration: none;
  color: var(--pt-text-muted);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--transition);
  min-width: 48px;
}
.pt-mobile-nav__tab:hover, .pt-mobile-nav__tab.active { color: var(--pt-accent); }
.pt-mobile-nav__icon { font-size: 1.2rem; }

/* ────────────────────────────────────────────────
   Responsive
   ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pt-hero__grid { grid-template-columns: 1fr; }
  .pt-hero__sidebar { display: none; }
  .pt-article-layout { grid-template-columns: 1fr; }
  .pt-sidebar { position: static; }
  .pt-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pt-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .pt-nav { display: none; }
  .pt-mobile-nav { display: block; }
  body.pt-page { padding-bottom: 72px; }
  .pt-hero { padding: 40px 0 32px; }
  .pt-hero__title { font-size: 1.8rem; }
  .pt-hero__cta { flex-direction: column; align-items: flex-start; }
  .pt-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .pt-grid--2, .pt-grid--3 { grid-template-columns: 1fr; }
  .pt-grid--4 { grid-template-columns: 1fr; }
  .pt-email-hero { padding: 24px 20px; }
  .pt-email-hero__form { flex-direction: column; }
  .pt-inline-subscribe { flex-direction: column; }
  .pt-inline-subscribe__form { width: 100%; }
  .pt-compare-table { font-size: 0.78rem; }
  .pt-compare-table td, .pt-compare-table th { padding: 10px 10px; }
  .pt-team-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-product-card { flex-wrap: wrap; }
  .pt-verdict__pick { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .pt-container { padding: 0 14px; }
  .pt-article-title { font-size: 1.5rem; }
  .pt-section { padding: 32px 0; }
  .pt-header__inner { height: 54px; }
  .pt-deal-card { flex-direction: column; }
  .pt-team-grid { grid-template-columns: 1fr; }
}

/* Loading skeleton */
.pt-skeleton {
  background: linear-gradient(90deg, var(--pt-bg-card) 25%, var(--pt-bg-elevated) 50%, var(--pt-bg-card) 75%);
  background-size: 200% 100%;
  animation: pt-shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes pt-shimmer { to { background-position: -200% 0; } }

/* Utility */
.pt-text-accent { color: var(--pt-accent); }
.pt-text-amber { color: var(--pt-amber); }
.pt-text-muted { color: var(--pt-text-muted); }
.pt-mt-0 { margin-top: 0; }
.pt-mb-lg { margin-bottom: 32px; }
.pt-tag {
  display: inline-flex;
  padding: 3px 8px;
  background: var(--pt-bg-elevated);
  border: 1px solid var(--pt-border);
  border-radius: 100px;
  font-size: 0.68rem;
  color: var(--pt-text-muted);
  font-family: var(--font-mono);
}
