/* GrowthTech Spotlight - v4 (B/W + Blue) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --color-bg: #f5f5f5;
  --color-surface: #ffffff;
  --color-surface-alt: #ebebeb;
  --color-text: #0a0a0a;
  --color-text-secondary: #555555;
  --color-text-muted: #999999;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-accent-light: #eff6ff;
  --color-accent-bg: #f0f4ff;
  --color-beam: #3b82f6;
  --color-border: #e0e0e0;
  --color-green: #166534;
  --color-green-bg: #dcfce7;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1100px;
  --max-width-content: 700px;
  --radius: 10px;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}

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

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

.tool-link,
.section-header a,
.post-body a,
.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

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

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

.content-width {
  max-width: var(--max-width-content);
  margin: 0 auto;
}

/* Header */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: flex;
  align-items: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.15s;
}

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

.nav-cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--color-accent-hover);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--color-text);
  margin: 5px 0;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 14px;
  }
  .site-nav.open { display: flex; }
}

/* Hero */
.hero {
  padding: 64px 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-visual {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--color-border);
}

.hero-stat {
  display: block;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
}

a.hero-stat:hover {
  opacity: 0.8;
}

.hero-stat:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.hero-stat-source {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Signup */
.signup-form {
  display: flex;
  gap: 0;
  max-width: 400px;
}

.signup-form input[type="email"] {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-right: none;
  border-radius: 6px 0 0 6px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  outline: none;
}

.signup-form input[type="email"]::placeholder {
  color: var(--color-text-muted);
}

.signup-form input[type="email"]:focus {
  border-color: var(--color-accent);
}

.signup-form button {
  padding: 10px 18px;
  background: var(--color-accent);
  color: #fff;
  border: 1px solid var(--color-accent);
  border-radius: 0 6px 6px 0;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
}

.signup-form button:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.signup-note {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

@media (max-width: 480px) {
  .signup-form { flex-direction: column; }
  .signup-form input[type="email"] {
    border-right: 1px solid var(--color-border);
    border-radius: 6px;
  }
  .signup-form button { border-radius: 6px; }
  .hero-content h1 { font-size: 1.9rem; }
}

/* Pill / tag */
.pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.pill--ai {
  background: #ede9fe;
  color: #5b21b6;
}

.pill--tools {
  background: #dbeafe;
  color: #1e40af;
}

.pill--playbooks {
  background: var(--color-green-bg);
  color: var(--color-green);
}

.pill--benchmarks {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.pill--market {
  background: #fce7f3;
  color: #9d174d;
}

/* Section headers */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-top: 48px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-header a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-accent);
}

/* Featured post */
.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  margin-top: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.featured-post:hover {
  border-color: var(--color-accent);
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.08);
}

.featured-post:hover h2 {
  color: var(--color-accent);
}

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

.featured-post-image {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e3a5f 100%);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.featured-post-image svg {
  width: 80%;
  max-width: 300px;
  opacity: 0.2;
}

.featured-post-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.featured-post-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 10px;
}

.featured-post-content h2 a {
  color: var(--color-text);
}

.featured-post-content h2 a:hover {
  color: var(--color-accent);
}

.featured-post-content p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.featured-post-content .post-meta {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* Post cards */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 0;
}

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

.post-card {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.1s;
}

.post-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

.post-card:hover h3 {
  color: var(--color-accent);
}

.post-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.post-card h3 a {
  color: var(--color-text);
}

.post-card h3 a:hover {
  color: var(--color-accent);
}

.post-card p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
}

.post-card .post-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Post tag (blog listing) */
.post-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  color: var(--color-accent);
  background: rgba(59, 130, 246, 0.1);
}
.post-tag--sales {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.post-tag--marketing {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}
.post-tag--reviews {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.post-tag--data {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}
.post-tag--playbooks {
  background: rgba(249, 115, 22, 0.1);
  color: #ea580c;
}

/* Inline stat banner */
.stat-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 48px 0 0;
}

@media (max-width: 640px) {
  .stat-banner {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.stat-banner-item {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.1s;
}

a.stat-banner-item:hover {
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

.stat-banner-item .stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-banner-item .stat-label {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.stat-banner-item .stat-source {
  font-size: 0.68rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Tools directory */
.tools-section {
  padding: 48px 0 80px;
}

.tools-section h1 {
  font-family: var(--font-heading);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.tool-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s;
  position: relative;
}

.tool-card:hover {
  border-color: #bbb;
}

.tool-card:has(.tool-link:not(.tool-link--soon)) {
  cursor: pointer;
}

.tool-card .tool-link:not(.tool-link--soon)::after {
  content: '';
  position: absolute;
  inset: 0;
}

.tool-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.tool-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.tool-icon--blue { background: var(--color-accent); }
.tool-icon--green { background: #166534; }
.tool-icon--purple { background: #5b21b6; }
.tool-icon--red { background: #9d174d; }
.tool-icon--gray { background: #555; }

.tool-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tool-card .tool-category {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.tool-card p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.tool-card .tool-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
}

.tool-card .tool-link--soon {
  color: var(--color-text-secondary);
  font-weight: 500;
  font-style: italic;
}

/* CTA section */
.cta-section {
  padding: 56px 0;
  text-align: center;
}

.cta-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 48px 32px;
  max-width: 560px;
  margin: 0 auto;
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.cta-box p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.cta-box .signup-form {
  margin: 0 auto;
}

/* Blog listing */
.blog-listing {
  padding: 48px 0 80px;
}

.blog-listing h1 {
  font-family: var(--font-heading);
}

.blog-filters {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.blog-filters button {
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  background: var(--color-surface);
  font-size: 0.8rem;
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

.blog-filters button:hover,
.blog-filters button.active {
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Blog post page */
.post-page {
  padding: 48px 0 80px;
}

/* Post layout: article + sidebar */
.post-layout-wrap {
  max-width: calc(var(--max-width-content) + 56px + 260px);
  margin: 0 auto;
  padding: 0 24px;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--max-width-content)) 260px;
  gap: 56px;
  align-items: start;
}

@media (max-width: 1060px) {
  .post-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .post-sidebar {
    position: static;
    border-top: 1px solid var(--color-border);
    padding-top: 40px;
  }
}

.post-sidebar {
  position: sticky;
  top: 88px;
}

/* Sidebar sections */
.post-sidebar h3 {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.sidebar-related {
  margin-bottom: 32px;
}

.sidebar-subscribe {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.sidebar-subscribe p {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.sidebar-subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-subscribe-form input[type="email"] {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.8rem;
  font-family: var(--font-body);
  background: var(--color-surface);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}

.sidebar-subscribe-form input[type="email"]:focus {
  border-color: var(--color-accent);
}

.sidebar-subscribe-form button {
  padding: 9px 14px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.15s ease;
}

.sidebar-subscribe-form button:hover {
  background: var(--color-accent-hover);
}

.related-post-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 12px 0;
  border-top: 1px solid var(--color-border);
  transition: opacity 0.15s ease;
}

.related-post-card:first-child {
  border-top: none;
  padding-top: 0;
}

.related-post-card:hover {
  opacity: 0.7;
}

.related-post-card .post-tag {
  margin-bottom: 5px;
}

.related-post-card h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin: 0;
}

.related-post-card p {
  display: none;
}

.post-page header {
  margin-bottom: 40px;
  max-width: var(--max-width-content);
}

.post-page header h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.post-page header .post-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.post-hero-image {
  width: 100%;
  height: 280px;
  border-radius: var(--radius);
  margin-bottom: 36px;
  object-fit: cover;
}

.post-body h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.post-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.post-body p {
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.post-body p a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-body ul, .post-body ol {
  margin-bottom: 18px;
  padding-left: 24px;
}

.post-body li {
  margin-bottom: 8px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

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

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
}

.table-wrap table {
  margin: 0;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.88rem;
}

.post-body th, .post-body td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.post-body th {
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

/* Inline stat in post */
.post-stat {
  background: var(--color-accent-bg);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 28px 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.post-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  flex-shrink: 0;
}

.post-stat .stat-context {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Post footer */
.post-footer {
  margin-top: 24px;
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.post-footer h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0;
  margin-bottom: 6px;
}

.post-footer p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.post-footer .signup-form {
  margin: 0;
  max-width: 100%;
}

/* About page */
.about-page {
  padding: 64px 0 80px;
}

.about-page h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.about-page p {
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 18px;
  color: var(--color-text-secondary);
}

.about-page h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--color-text);
}

.about-page a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Footer */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid #222;
  padding: 100px 0 48px;
  color: #ccc;
}

.site-footer a {
  color: #ccc;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

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

.footer-brand p {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.55;
  margin-top: 8px;
  color: #ccc;
}

.footer-links h4 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 10px;
}

.footer-links a {
  display: block;
  color: #aaa;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #222;
  font-size: 0.72rem;
  color: #666;
}

/* Subscribe modal */
#subscribe-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

#subscribe-modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}

.modal-box {
  position: relative;
  z-index: 1001;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-sizing: border-box;
  width: 420px;
  max-width: calc(100vw - 48px);
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--color-text);
}

.modal-box h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.modal-box p {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-name-row {
  display: flex;
  gap: 10px;
}

.modal-name-row input {
  flex: 1;
  min-width: 0;
}

.modal-form input {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  outline: none;
}

.modal-form input:focus {
  border-color: var(--color-accent);
}

.modal-form input::placeholder {
  color: var(--color-text-muted);
}

.modal-form button {
  padding: 11px 18px;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  margin-top: 4px;
}

.modal-form button:hover {
  background: var(--color-accent-hover);
}

@media (max-width: 480px) {
  .modal-name-row {
    flex-direction: column;
    gap: 10px;
  }
  .modal-box {
    padding: 28px 20px;
  }
}

/* ── Newsletter/subscribe hidden (temporarily) ──────────────────────────── */
.nav-cta,
.signup-form,
.signup-note,
.sidebar-subscribe,
.post-footer,
.cta-section,
#subscribe-modal { display: none !important; }
