/* Shared stylesheet for /grow pillars v2 — same visual system as renderGrowLocalSEO */
:root {
  --bg: #f7f8fa;
  --card: #ffffff;
  --ink-1: #0f1419;
  --ink-2: #4a5568;
  --ink-3: #718096;
  --border: #e5e7eb;
  --border-soft: #f0f2f5;
  --accent: #1a56db;
  --accent-soft: #eff6ff;
  --good: #047857;
  --good-soft: #ecfdf5;
  --warn: #c2410c;
  --warn-soft: #fff7ed;
  --shadow-sm: 0 1px 2px rgba(15,20,25,0.04), 0 1px 1px rgba(15,20,25,0.03);
  --shadow-md: 0 4px 6px rgba(15,20,25,0.03), 0 2px 4px rgba(15,20,25,0.04);
  --shadow-lg: 0 10px 25px rgba(15,20,25,0.06), 0 6px 12px rgba(15,20,25,0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: var(--bg); color: var(--ink-1); margin: 0; line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 56px 24px 140px; position: relative; }

.cat-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-soft); color: var(--accent);
  padding: 5px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 20px;
}
.cat-badge::before { content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; display: inline-block; }

h1 { font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -0.8px; margin: 0 0 16px; color: var(--ink-1); }
.sub { color: var(--ink-2); font-size: 19px; margin: 0 0 36px; line-height: 1.5; font-weight: 400; }

.byline {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-3); font-size: 13px;
  margin: 0 0 32px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border); font-weight: 500;
}
.byline strong { color: var(--ink-1); font-weight: 700; }
.byline .dot { color: var(--ink-3); }

.video-placeholder {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-md); aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85); margin: 0 0 48px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.video-placeholder::before {
  content: ""; position: absolute;
  width: 84px; height: 84px;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.3); border-radius: 50%;
}
.video-placeholder::after { content: "▶"; position: absolute; font-size: 28px; color: #fff; margin-left: 6px; }
.video-placeholder span { position: absolute; bottom: 22px; left: 22px; right: 22px; font-size: 13px; opacity: 0.7; font-weight: 500; }

.section { margin-bottom: 48px; scroll-margin-top: 24px; }
.section h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.25; margin: 0 0 16px; color: var(--ink-1); }
.section-tag {
  display: inline-block; font-size: 10px; font-weight: 800;
  letter-spacing: 0.8px; color: var(--accent); background: var(--accent-soft);
  padding: 4px 10px; border-radius: 4px; margin-bottom: 12px; text-transform: uppercase;
}
.section p { margin: 0 0 14px; color: var(--ink-1); font-size: 17px; line-height: 1.7; }
.section ul { margin: 16px 0; padding-left: 24px; }
.section li { margin-bottom: 12px; color: var(--ink-1); font-size: 17px; line-height: 1.65; padding-left: 4px; }
.section li::marker { color: var(--accent); }

.findings-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 28px 30px; margin: 24px 0; box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.findings-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), #06b6d4);
}
.findings-card .findings-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.8px;
  color: var(--accent); text-transform: uppercase; margin-bottom: 10px;
}
.findings-card .findings-title { font-size: 19px; font-weight: 700; margin-bottom: 18px; color: var(--ink-1); letter-spacing: -0.3px; }
.findings-card .finding {
  font-size: 16px; color: var(--ink-1); padding: 14px 0; line-height: 1.65;
  border-top: 1px dashed var(--border);
}
.findings-card .finding:first-of-type { border-top: none; padding-top: 4px; }
.findings-card .finding:last-of-type { padding-bottom: 4px; }
.findings-card .finding strong { color: var(--ink-1); font-weight: 700; }
.findings-card .finding em {
  color: var(--ink-2); font-style: italic; background: var(--border-soft);
  padding: 1px 6px; border-radius: 4px; font-size: 14px;
}

.thesis {
  background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
  border-left: 4px solid var(--warn);
  padding: 22px 26px; border-radius: var(--radius-sm);
  margin: 28px 0; font-size: 17px; color: var(--ink-1); line-height: 1.65;
  box-shadow: var(--shadow-sm);
}
.thesis strong { font-weight: 700; color: #92400e; }

.sb-widget {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 32px 34px; margin: 48px 0; box-shadow: var(--shadow-md);
}
.sb-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--good); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px;
  background: var(--good-soft); padding: 5px 12px; border-radius: 100px;
}
.sb-live {
  width: 7px; height: 7px; background: var(--good); border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(4,120,87,0.5);
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(4,120,87,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(4,120,87,0); }
  100% { box-shadow: 0 0 0 0 rgba(4,120,87,0); }
}
.sb-title { font-size: 22px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.4px; line-height: 1.3; }
.sb-subtitle { font-size: 15px; color: var(--ink-2); margin: 0 0 28px; line-height: 1.55; }
.sb-bars { display: flex; flex-direction: column; gap: 16px; margin-bottom: 22px; }
.sb-bar-row { display: grid; grid-template-columns: 100px 1fr 80px; align-items: center; gap: 16px; }
.sb-bar-label { font-size: 14px; font-weight: 600; color: var(--ink-1); }
.sb-bar-track { height: 22px; background: var(--border-soft); border-radius: 11px; position: relative; overflow: hidden; }
.sb-bar-fill {
  height: 100%; border-radius: 11px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
}
.sb-bar-fill::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }
.sb-bar-value { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; text-align: right; font-weight: 600; }
.sb-total-row { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid var(--border); }
.sb-total-label { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.6px; font-weight: 700; }
.sb-total-value { font-size: 28px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: -0.5px; }
.sb-implication { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); font-size: 13px; color: var(--ink-2); line-height: 1.55; font-style: italic; }

.uth { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px 30px; margin: 40px 0; box-shadow: var(--shadow-sm); }
.uth-title { font-size: 20px; font-weight: 700; margin: 0 0 6px; letter-spacing: -0.3px; }
.uth-sub { font-size: 13px; color: var(--ink-3); margin: 0 0 20px; font-weight: 500; }
.uth details { border-top: 1px solid var(--border); padding: 16px 0; }
.uth details:first-of-type { border-top: none; padding-top: 4px; }
.uth details summary { font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--ink-1); }
.uth details summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 300; transition: transform 0.2s; }
.uth details[open] summary::after { content: "−"; }
.uth details p { font-size: 14px; color: var(--ink-2); margin: 12px 0 0; line-height: 1.6; }

.faq-block { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px 30px; margin: 40px 0; box-shadow: var(--shadow-sm); }
.faq-block h3 { font-size: 20px; font-weight: 700; margin: 0 0 20px; letter-spacing: -0.3px; }
.faq-block details { border-top: 1px solid var(--border); padding: 16px 0; }
.faq-block details:first-of-type { border-top: none; padding-top: 4px; }
.faq-block summary { font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; color: var(--ink-1); display: flex; align-items: center; gap: 10px; }
.faq-block summary::before { content: "+"; color: var(--accent); font-size: 18px; font-weight: 400; width: 18px; transition: transform 0.2s; }
.faq-block details[open] summary::before { content: "−"; }
.faq-block details p { font-size: 14px; color: var(--ink-2); margin: 12px 0 0 28px; line-height: 1.65; }

.cta-block {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  border-radius: var(--radius-md); padding: 40px 32px; color: #fff;
  text-align: center; margin: 48px 0 36px;
  box-shadow: 0 12px 32px rgba(4,120,87,0.25);
  position: relative; overflow: hidden;
}
.cta-block::before {
  content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-block h3 { font-size: 28px; margin: 0 0 12px; font-weight: 700; letter-spacing: -0.5px; position: relative; }
.cta-block p { margin: 0 0 24px; opacity: 0.95; font-size: 16px; position: relative; }
.cta-btn {
  display: inline-block; background: #fff; color: #047857;
  padding: 16px 36px; border-radius: 10px; font-weight: 700;
  text-decoration: none; font-size: 16px; letter-spacing: 0.2px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
.cta-sub { font-size: 12px; opacity: 0.85; margin-top: 16px; position: relative; letter-spacing: 0.3px; }

.about-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 24px 28px; margin: 32px 0 0;
  display: flex; gap: 22px; align-items: center; box-shadow: var(--shadow-sm);
}
.about-logo {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--accent) 0%, #06b6d4 100%);
  color: #fff; font-weight: 800; font-size: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; letter-spacing: -0.5px;
  box-shadow: 0 4px 12px rgba(26,86,219,0.25);
}
.about-content h4 { margin: 0 0 4px; font-size: 16px; font-weight: 700; letter-spacing: -0.2px; }
.about-content p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.55; }

.float-cta {
  position: fixed; top: 50%; right: 24px; transform: translateY(-50%);
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 20px 22px; width: 240px; box-shadow: var(--shadow-lg); z-index: 100;
  opacity: 0; pointer-events: none; transition: opacity 0.4s, transform 0.4s;
}
.float-cta.visible { opacity: 1; pointer-events: auto; transform: translateY(-50%) translateX(0); }
.float-cta-label { font-size: 10px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
.float-cta h5 { margin: 0 0 14px; font-size: 16px; font-weight: 700; letter-spacing: -0.2px; line-height: 1.3; }
.float-cta a {
  display: block; background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  color: #fff; padding: 12px; border-radius: 8px; text-decoration: none;
  font-weight: 700; text-align: center; font-size: 14px;
  box-shadow: 0 4px 12px rgba(4,120,87,0.25); transition: transform 0.15s;
}
.float-cta a:hover { transform: translateY(-1px); }
.float-cta-sub { margin-top: 10px; font-size: 11px; color: var(--ink-3); text-align: center; line-height: 1.4; }

.mobile-cta-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--card); border-top: 1px solid var(--border);
  padding: 14px 16px; display: none; align-items: center; gap: 12px;
  z-index: 100; box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}
.mobile-cta-bar-text { flex: 1; font-size: 13px; font-weight: 600; color: var(--ink-1); line-height: 1.3; }
.mobile-cta-bar-text span { display: block; font-size: 11px; color: var(--ink-3); font-weight: 500; }
.mobile-cta-bar a {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  color: #fff; padding: 12px 20px; border-radius: 8px; text-decoration: none;
  font-weight: 700; font-size: 14px; white-space: nowrap;
  box-shadow: 0 4px 10px rgba(4,120,87,0.25);
}

@media (max-width: 820px) {
  .wrap { padding: 36px 18px 100px; }
  h1 { font-size: 32px; letter-spacing: -0.5px; }
  .sub { font-size: 17px; }
  .section h2 { font-size: 22px; }
  .findings-card, .uth, .faq-block, .sb-widget { padding: 22px 20px; }
  .float-cta { display: none; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 70px; }
}
