/* =========================================
   Spoilproof Landing Page — Production CSS
   ========================================= */

/* Tokens */
:root {
  --color-white: #fff;
  --color-text: #181A1B;
  --color-muted: #6B7280;
  --color-primary: #EC2D7A;
  --color-primary-light: #F97FB2;
  --color-primary-lighter: #FBD2E6;
  --color-border: #E5E7EB;
  --color-dark: #111827;
  --color-accent-1: #4da3f7;
  --color-accent-2: #9ed49e;
  --color-accent-3: #f2b705;
  --color-accent-4: #d38ad9;

  --container-xl: 1140px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 29px;
  --space-6: 43px;
  --space-7: 58px;
  --space-8: 86px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  --font-xs: .8125rem;
  --font-sm: .9375rem;
  --font-md: 1rem;
  --font-lg: 1.25rem;
  --font-xl: 1.5rem;
  --font-2xl: 2rem;
  --font-3xl: 2.5rem;
  --font-eyebrow: .75rem;

  --shadow-soft: 0 10px 28px rgba(17,24,39,.06);
  --shadow-pink: 0 8px 32px rgba(236,45,122,.16);
  --transition: .18s cubic-bezier(.4,0,.2,1);
}

/* Reset + base */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at 78% 18%, rgba(236,45,122,.08), transparent 32%),
    radial-gradient(circle at 16% 8%, rgba(249,127,178,.10), transparent 28%),
    #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}

a:hover { color: var(--color-primary-light); }

h1, h2, h3, h4 {
  margin: 0 0 var(--space-3);
  color: var(--color-text);
  line-height: 1.12;
  letter-spacing: -.035em;
}

p { margin: 0 0 var(--space-3); }

ul { margin: 0; padding-left: var(--space-4); }

li { margin-bottom: var(--space-2); }

::selection {
  background: var(--color-primary-lighter);
  color: var(--color-text);
}

/* Layout + shared */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.section { padding: var(--space-5) 0; }
.section-sm { padding: var(--space-5) 0; }
.section-lg { padding: var(--space-8) 0; }

.eyebrow {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-primary);
  font-size: var(--font-eyebrow);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--font-md);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(44,37,56,.08);
}

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

.btn-primary:hover {
  background: var(--color-primary-light);
  color: var(--color-white);
  text-decoration: none;
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--color-primary-lighter);
  color: var(--color-primary);
  border-color: var(--color-primary-light);
  text-decoration: none;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 64px;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(14px);
}

.nav-inner {
  max-width: var(--container-xl);
  height: 64px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.logo:hover { text-decoration: none; }

.plotpal-mobile-brand {
  display: none;
}

.plotpal-mobile-brand img {
  display: block;
  width: auto;
  height: 42px;
}

.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-5);
  margin: 0 var(--space-5);
  padding: 0;
  list-style: none;
}

.nav-links li { margin: 0; }

.nav-home {
  display: none;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 500;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
}

.nav-links a:hover {
  color: var(--color-primary);
  background: var(--color-primary-lighter);
  text-decoration: none;
}

.nav-actions { display: flex; align-items: center; }

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(44, 37, 56, .06);
  cursor: pointer;
}

.nav-toggle span {
  width: 17px;
  height: 2px;
  display: block;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: transform var(--transition), opacity var(--transition);
}

.navbar.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.navbar.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fff 66%, #fff8fb 100%);
}

.hero-grid {
  min-height: 600px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}

.hero-copy {
  max-width: 580px;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.055em;
}

.hero-copy p {
  max-width: 520px;
  color: var(--color-muted);
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  line-height: 1.45;
  margin-bottom: var(--space-5);
}

.hero-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.hero-feature {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: 0 1px 2px rgba(44,37,56,.08);
  font-size: var(--font-sm);
  font-weight: 500;
  white-space: nowrap;
}

.hero-feature-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-primary-lighter);
  color: var(--color-primary);
  border-radius: 50%;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-visual {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phone-glow {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 540px;
  height: 540px;
  transform: translate(-50%, -50%);
  /*background: radial-gradient(circle at 55% 60%, var(--color-accent-1), #2b7fd1 60%, transparent 95%);*/
  background: radial-gradient(circle at 55% 60%, var(--color-primary-light), var(--color-primary) 60%, transparent 95%);
  filter: blur(64px);
  opacity: .55;
  pointer-events: none;
}

.phone-mockup-container {
  position: relative;
  z-index: 1;
  width: min(420px, 42vw);
  height: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.phone-mockup-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 26px 38px rgba(17,24,39,.16));
}

/* Stats */
.stats-section {
  background: linear-gradient(180deg, #fff 0%, #fff7fb 100%);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.stats-header {
  max-width: 600px;
  margin: 0 auto var(--space-6);
  text-align: center;
}

.stats-header h2 {
  font-size: var(--font-2xl);
}

.stats-header p,
.stat-label,
.stat-source {
  color: var(--color-muted);
}

.stats-header p { font-size: var(--font-lg); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-4);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px) scale(1.035);
  background: rgba(236,45,122,.03);
  box-shadow: 0 4px 16px rgba(236,45,122,.18);
}

.stat-value {
  color: var(--color-primary);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
}

.stat-label {
  max-width: 180px;
  font-size: var(--font-md);
  font-weight: 500;
  text-align: center;
}

.stat-source {
  margin: var(--space-2) 0 0;
  font-size: var(--font-xs);
  text-align: center;
}

/* Problem */
.problem-section {
  background: #fff;
  padding: var(--space-7) 0;
}

.problem-panel {
  background:
    radial-gradient(circle at 5% 0%, rgba(236,45,122,.08), transparent 34%),
    linear-gradient(135deg, #fff7fb 0%, #fff 58%, #fff7fb 100%);
  border: 1px solid rgba(236,45,122,.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-pink);
  padding: var(--space-6) var(--space-5);
}

.problem-header {
  max-width: 580px;
  margin: 0 auto var(--space-5);
  text-align: center;
}

.problem-header h2 { font-size: var(--font-3xl); }
.problem-header p { color: var(--color-muted); font-size: var(--font-lg); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
}

.problem-item {
  padding: var(--space-5) var(--space-3);
  text-align: center;
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.problem-item:hover {
  transform: translateY(-4px) scale(1.025);
  background: #fff;
  box-shadow: 0 4px 20px rgba(236,45,122,.10);
}

.problem-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249,127,178,.18);
  color: var(--color-primary);
  border: 1px solid rgba(236,45,122,.22);
  border-radius: 50%;
}

.problem-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.8;
}

.problem-title {
  font-size: var(--font-lg);
  margin-bottom: var(--space-2);
}

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

/* PlotPal product */
.plotpal-product-section {
  background: #fff;
  padding: 82px 0 58px;
  overflow: hidden;
}

.plotpal-product-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 62px;
  align-items: start;
}

.plotpal-product-copy {
  max-width: 300px;
  padding-top: 0;
}

.plotpal-product-copy h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin-bottom: 28px;
}

.plotpal-product-copy p {
  color: var(--color-muted);
  font-size: 1.18rem;
  line-height: 1.55;
}

.plotpal-product-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.plotpal-product-actions .btn {
  font-size: var(--font-sm);
  white-space: nowrap;
}

.plotpal-phone-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
  align-items: start;
}

.plotpal-phone-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.plotpal-phone-frame {
  height: 424px;
  margin-bottom: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  filter: drop-shadow(0 18px 30px rgba(17,24,39,.14));
}

.plotpal-phone-frame img {
  width: 100%;
  max-width: 265px;
  object-fit: contain;
}

.plotpal-phone-label {
  margin-top: 0;
  color: var(--color-text);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.plotpal-phone-subtitle {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.25;
}

/* Audience */
.audience-section {
  background: linear-gradient(90deg, #fff7fb 0%, #fff 50%, #fff7fb 100%);
  padding: 58px 0 61px;
}

.audience-panel {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr 250px;
  gap: 34px;
  align-items: center;
  padding: 42px;
}

.audience-panel h2 {
  font-size: clamp(1.7rem, 2.3vw, 2.35rem);
  margin-bottom: 12px;
}

.audience-panel p {
  color: var(--color-muted);
  font-size: .98rem;
  line-height: 1.45;
}

.audience-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(112px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.audience-journey-card {
  min-height: 136px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: var(--radius-full);
  box-shadow: 0 12px 32px rgba(17,24,39,.055);
  text-align: center;
  position: relative;
}

.audience-journey-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -19px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background: var(--color-primary);
  opacity: .45;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.audience-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  border: 1px solid rgba(236,45,122,.2);
  border-radius: 50%;
}

.audience-journey-card strong {
  color: var(--color-text);
  font-size: .9rem;
  line-height: 1.15;
  margin-bottom: 8px;
}

.audience-journey-card span,
.framework-list li {
  color: var(--color-muted);
}

.audience-journey-card span {
  font-size: .75rem;
  line-height: 1.2;
}

.framework-panel { padding-left: 10px; }

.framework-panel h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.framework-panel p {
  font-size: .92rem;
  margin-bottom: 16px;
}

.framework-list {
  list-style: none;
  padding: 0;
}

.framework-list li {
  position: relative;
  padding-left: 22px;
  font-size: .88rem;
  line-height: 1.35;
}

.framework-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .16em;
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  color: var(--color-primary);
}

/* Research */
.research-section {
  background: var(--color-primary);
  padding: 58px 0 36px;
}

.research-wrap {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.research-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.research-section .eyebrow,
.research-section h2,
.research-all-link {
  color: #fff;
}

.research-header-row h2 {
  font-size: clamp(1.7rem, 2.3vw, 2.35rem);
}

.research-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding-top: 6px;
}

.link-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke-width: 2;
}

.research-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  align-items: stretch;
  gap: 29px;
  padding-bottom: var(--space-2);
  scrollbar-width: thin;
}

.research-card {
  flex: 0 0 calc((100% - 58px) / 3);
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  height: 292px;
  overflow: hidden;
  background: #fff;
  color: inherit;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.research-card:hover {
  transform: translateY(-5px);
  border-color: rgba(236,45,122,.28);
  box-shadow: 0 18px 42px rgba(236,45,122,.14);
  text-decoration: none;
}

.research-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: 100%;
  object-fit: cover;
}

.research-card-body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
}

.research-card h3 {
  font-size: 1.3rem;
  line-height: 1.18;
}

.research-card p {
  color: var(--color-muted);
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.research-read {
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  margin-top: auto;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: #d1d5db;
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-6);
}

.footer-brand {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}

.site-footer p,
.site-footer a {
  color: #9ca3af;
  font-size: .95rem;
  line-height: 1.7;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-divider {
  height: 1px;
  margin: var(--space-6) 0 var(--space-4);
  background: rgba(255,255,255,.08);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  color: #6b7280;
  font-size: .9rem;
}

/* Responsive */
@media (max-width: 1100px) {
  :root { --container-xl: 98vw; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .plotpal-product-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .plotpal-product-copy { max-width: 700px; padding-top: 0; }
  .research-grid { grid-template-columns: 1fr; }
  .research-card { grid-template-columns: 220px 1fr; }
  .audience-panel { grid-template-columns: 1fr; gap: var(--space-5); }
  .audience-journey { overflow-x: auto; padding-bottom: var(--space-2); }
}

@media (max-width: 980px) {
  .plotpal-phone-row {
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--space-2);
  }
  .plotpal-phone-card {
    flex: 0 0 78%;
    scroll-snap-align: center;
  }
  .plotpal-phone-frame {
    height: auto;
    overflow: visible;
  }
  .plotpal-phone-frame img { max-width: 320px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .hero-visual { justify-content: center; min-height: 400px; }
  .hero-phone-glow { width: 380px; height: 380px; }
  .phone-mockup-container { width: min(320px, 90vw); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .navbar {
    min-height: 60px;
  }

  .nav-inner {
    position: relative;
    height: 60px;
    padding: 0 var(--space-3);
    gap: 10px;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    order: 1;
  }

  .logo {
    order: 2;
    font-size: 1.15rem;
  }

  .plotpal-page .logo-spoilproof {
    display: none;
  }

  .plotpal-page .plotpal-mobile-brand {
    display: flex;
    order: 2;
    align-items: center;
    flex: 0 1 auto;
  }

  .plotpal-page .plotpal-mobile-brand img {
    height: 44px;
    max-width: 150px;
  }

  .nav-actions {
    order: 3;
    margin-left: auto;
  }

  .nav-actions .btn {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: .88rem;
    white-space: nowrap;
  }

  .nav-links {
    position: absolute;
    z-index: 120;
    top: calc(100% + 1px);
    left: var(--space-3);
    right: var(--space-3);
    margin: 0;
    padding: 10px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 40px rgba(17, 24, 39, .12);
    backdrop-filter: blur(16px);
  }

  .navbar.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px 14px;
  }

  .nav-home {
    display: block;
  }

  .plotpal-page .nav-actions .btn {
    padding: 0 14px;
    font-size: .84rem;
  }

  .section, .section-lg { padding: var(--space-5) 0; }
  .container { padding: 0 var(--space-3); }
  .stats-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-panel { padding: var(--space-6) var(--space-3); }
  .plotpal-product-section { padding: var(--space-6) 0; }
  .research-header-row { flex-direction: column; }
  .research-card {
    flex-basis: 100%;
    grid-template-columns: 1fr;
    height: 500px;
  }
  .research-card img {
    aspect-ratio: 16 / 9;
    height: auto;
  }
  .research-card p {
    -webkit-line-clamp: 4;
  }
  .page-shared .insight-card {
    flex-basis: 100%;
    height: 520px;
  }
  .page-shared .insight-thumb {
    aspect-ratio: 16 / 9;
  }
  .page-shared .insight-desc {
    -webkit-line-clamp: 4;
  }
  .audience-panel { padding: var(--space-5) var(--space-3); }
  .audience-journey { display: flex; gap: 18px; }
  .audience-journey-card { flex: 0 0 150px; }
}

@media (max-width: 520px) {
  .hero-feature-row { gap: var(--space-2); }
  .plotpal-product-actions { flex-wrap: wrap; }
  .plotpal-phone-card { flex-basis: 86%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 700px) {
  .hero {
    position: relative;
    min-height: 680px;
    background: #fff;
  }

  .hero .container {
    position: relative;
  }

  .hero-grid {
    position: relative;
    min-height: 620px;
    display: block;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    width: min(60vw, 380px);
    max-width: none;
    padding-top: var(--space-4);
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
  }

  .hero-copy .eyebrow {
    width: max-content;
    max-width: calc(100vw - var(--space-6));
    margin-bottom: var(--space-2);
    font-size: .66rem;
    letter-spacing: .12em;
  }

  .hero-copy h1 {
    max-width: 360px;
    margin-bottom: var(--space-3);
    font-size: clamp(2.45rem, 8.4vw, 3.4rem);
    line-height: .98;
    letter-spacing: -.06em;
  }

  .hero-copy p {
    max-width: 340px;
    margin-bottom: var(--space-4);
    font-size: clamp(.96rem, 3.2vw, 1.12rem);
    line-height: 1.42;
  }

  .hero-feature-row {
    max-width: 260px;
    margin-bottom: var(--space-4);
    display: grid;
    justify-items: start;
    gap: 8px;
  }

  .hero-feature {
    padding: 6px 12px;
    gap: 8px;
    font-size: .88rem;
    box-shadow: 0 6px 18px rgba(44, 37, 56, .08);
  }

  .hero-feature-icon {
    width: 22px;
    height: 22px;
  }

  .hero-cta-group {
    display: grid;
    justify-items: start;
    gap: 12px;
  }

  .hero-cta-group .btn {
    min-width: 168px;
    min-height: 54px;
    padding: 0 24px;
    font-size: 1rem;
  }

  .hero-cta-group .btn-secondary {
    min-width: 212px;
    background: #fff;
  }

  .hero-visual {
    position: absolute;
    z-index: 1;
    top: 82px;
    right: clamp(-220px, -28vw, -120px);
    width: min(370px, 68vw);
    min-height: 0;
    display: block;
    pointer-events: none;
  }

  .hero-phone-glow {
    display: none;
  }

  .phone-mockup-container {
    width: 100%;
  }

  .phone-mockup-img {
    width: 100%;
    filter: drop-shadow(0 18px 26px rgba(17, 24, 39, .12));
  }

  .stats-section {
    margin-top: 0;
    padding-top: var(--space-4);
  }

  .stats-header {
    margin-bottom: var(--space-4);
  }

  .stats-header h2 {
    font-size: 1.65rem;
  }

  .stats-header p {
    font-size: 1rem;
  }

  .stats-grid {
    gap: var(--space-2);
  }

  .stat-card {
    padding: var(--space-3);
  }

  .problem-section {
    padding: var(--space-5) 0;
  }

  .problem-panel {
    padding: var(--space-5) var(--space-3);
  }

  .problem-header {
    margin-bottom: var(--space-3);
  }

  .problem-header h2 {
    font-size: 2rem;
  }

  .problem-header p {
    font-size: 1rem;
  }

  .problem-grid {
    gap: 10px;
  }

  .problem-item {
    padding: var(--space-3);
  }

  .problem-icon {
    width: 46px;
    height: 46px;
    margin-bottom: var(--space-2);
  }

  .problem-icon svg {
    width: 23px;
    height: 23px;
  }

  .problem-title {
    font-size: 1.05rem;
  }

  .problem-text {
    font-size: .92rem;
    line-height: 1.45;
  }
}

@media (max-width: 430px) {
  .nav-inner {
    gap: 8px;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
  }

  .logo {
    font-size: 1.05rem;
  }

  .nav-actions .btn {
    min-height: 42px;
    padding: 0 13px;
    font-size: .82rem;
  }

  .hero {
    min-height: 680px;
  }

  .hero-grid {
    min-height: 620px;
  }

  .hero-copy {
    width: 61vw;
  }

  .hero-visual {
    top: 96px;
    right: -190px;
    width: 300px;
  }
}

/* Shared Interior Pages */
.page-shared {
  --pink: var(--color-primary);
  --dark: var(--color-text);
  --mid: var(--color-muted);
  --muted: var(--color-muted);
  --border: var(--color-border);
  --bg: #fff7fb;
  --white: var(--color-white);
  --olive: var(--color-primary);
  --olive-dark: var(--color-primary-light);
  background:
    radial-gradient(circle at 78% 18%, rgba(236,45,122,.08), transparent 32%),
    radial-gradient(circle at 16% 8%, rgba(249,127,178,.10), transparent 28%),
    #fff;
  color: var(--color-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.page-shared a { color: inherit; }

.page-shared nav {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 64px;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(14px);
}

.page-shared .nav-logo {
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
}

.page-shared .nav-logo img {
  max-height: 32px;
  width: auto;
}

.page-shared .footer-logo img {
  max-height: 26px;
  width: auto;
}

.page-shared nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
}

.page-shared nav li { margin: 0; }

.page-shared nav ul a {
  color: var(--color-text);
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  font-size: var(--font-md);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}

.page-shared nav ul a:hover,
.page-shared nav ul a.active {
  color: var(--color-primary);
  background: var(--color-primary-lighter);
}

.page-shared .nav-beta {
  color: var(--color-primary) !important;
  font-weight: 600 !important;
}

.page-shared .nav-cta,
.page-shared .nav-mobile-cta,
.page-shared .btn-primary,
.page-shared .btn-cta-primary,
.page-shared .waitlist-btn,
.page-shared .modal-btn,
.page-shared .gate-btn,
.page-shared .report-subscribe-form button,
.page-shared .sidebar-btn {
  min-height: 46px;
  padding: var(--space-2) var(--space-4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff !important;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 2px rgba(44,37,56,.08);
  font-family: inherit;
  font-size: var(--font-sm);
  font-weight: 600 !important;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.page-shared .nav-cta:hover,
.page-shared .nav-mobile-cta:hover,
.page-shared .btn-primary:hover,
.page-shared .btn-cta-primary:hover,
.page-shared .waitlist-btn:hover,
.page-shared .modal-btn:hover,
.page-shared .gate-btn:hover,
.page-shared .report-subscribe-form button:hover,
.page-shared .sidebar-btn:hover {
  background: var(--color-primary-light);
  color: #fff !important;
  text-decoration: none;
}

.page-shared .btn-outline,
.page-shared .btn-cta-outline,
.page-shared .btn-outline-white,
.page-shared .text-link {
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  font-size: var(--font-sm);
  font-weight: 600;
  text-decoration: none;
}

.page-shared .btn-outline:hover,
.page-shared .btn-cta-outline:hover,
.page-shared .btn-outline-white:hover,
.page-shared .text-link:hover {
  background: var(--color-primary-lighter);
  border-color: var(--color-primary-light);
  color: var(--color-primary);
}

.page-shared .nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: 0;
  cursor: pointer;
}

.page-shared .nav-hamburger span {
  width: 22px;
  height: 2px;
  display: block;
  background: var(--color-text);
  border-radius: 2px;
}

.page-shared .nav-mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 99;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4);
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.page-shared .nav-mobile.open { display: flex; }

.page-shared .nav-mobile a {
  color: var(--color-text);
  text-decoration: none;
}

.page-shared .page-header,
.page-shared .page-hero,
.page-shared .contact-layout,
.page-shared .hero,
.page-shared .plotpal-hero {
  border-bottom: 1px solid var(--color-border);
}

.page-shared .page-header {
  padding: var(--space-8) max(var(--space-4), calc((100vw - var(--container-xl)) / 2 + var(--space-4))) var(--space-7);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: var(--space-6);
  align-items: end;
  background: linear-gradient(180deg, #fff 0%, #fff8fb 100%);
}

.page-shared .page-header h1,
.page-shared .page-hero h1,
.page-shared .contact-left h1,
.page-shared .hero h1,
.page-shared .cta-band h2,
.page-shared .cta-section h2,
.page-shared .waitlist-left h2 {
  color: var(--color-text);
  font-family: inherit;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
}

.page-shared h1 em,
.page-shared h2 em {
  color: var(--color-primary);
  font-style: normal;
}

.page-shared .page-header-right,
.page-shared .page-hero-sub,
.page-shared .hero-sub,
.page-shared .contact-left p,
.page-shared .waitlist-left p,
.page-shared .cta-band p,
.page-shared .cta-section p {
  color: var(--color-muted);
  font-size: var(--font-lg);
  line-height: 1.55;
}

.page-shared .page-hero,
.page-shared .mission-section,
.page-shared .cta-section,
.page-shared .waitlist-section,
.page-shared .contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-shared .page-hero-left,
.page-shared .page-hero-right,
.page-shared .mission-left,
.page-shared .mission-right,
.page-shared .contact-left,
.page-shared .contact-right,
.page-shared .hero-left,
.page-shared .hero-right {
  padding: var(--space-8) max(var(--space-4), calc((100vw - var(--container-xl)) / 2 + var(--space-4)));
}

.page-shared .page-hero-right,
.page-shared .mission-right,
.page-shared .contact-right,
.page-shared .hero-right,
.page-shared .waitlist-section {
  background: linear-gradient(135deg, #fff7fb 0%, #fff 58%, #fff7fb 100%);
}

.page-shared .pull-quote,
.page-shared blockquote {
  color: var(--color-text);
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-4);
  font-size: var(--font-lg);
  font-style: normal;
  line-height: 1.6;
}

.page-shared .hero-rule {
  width: 48px;
  height: 3px;
  margin: var(--space-4) 0;
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

.page-shared .mission-left h2,
.page-shared .what-header h2,
.page-shared .how-header h2,
.page-shared .features-header h2,
.page-shared .benefits-header h2,
.page-shared .for-header h2 {
  font-family: inherit;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.page-shared .mission-body,
.page-shared .value-body,
.page-shared .what-card p,
.page-shared .how-card p,
.page-shared .feature-body,
.page-shared .benefit-desc,
.page-shared .for-card p,
.page-shared .contact-item-body {
  color: var(--color-muted);
  line-height: 1.7;
}

.page-shared .value-card,
.page-shared .contact-item,
.page-shared .benefit-row {
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border);
}

.page-shared .value-card:last-child,
.page-shared .contact-item:last-child,
.page-shared .benefit-row:last-child {
  border-bottom: 0;
}

.page-shared .value-num,
.page-shared .how-num,
.page-shared .hero-stat-num,
.page-shared .problem-num {
  color: var(--color-primary);
  font-family: inherit;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
}

.page-shared .value-title,
.page-shared .what-card h3,
.page-shared .how-card h3,
.page-shared .feature-title,
.page-shared .benefit-title,
.page-shared .for-card h3,
.page-shared .contact-item-value {
  color: var(--color-text);
  font-family: inherit;
  font-size: var(--font-lg);
  font-weight: 800;
  line-height: 1.2;
}

.page-shared .what-header,
.page-shared .how-header,
.page-shared .features-header,
.page-shared .benefits-header,
.page-shared .for-header {
  padding: var(--space-7) max(var(--space-4), calc((100vw - var(--container-xl)) / 2 + var(--space-4))) var(--space-5);
}

.page-shared .what-grid,
.page-shared .how-grid,
.page-shared .for-grid,
.page-shared .problem-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--color-border);
}

.page-shared .features-grid,
.page-shared .benefits-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-shared .what-card,
.page-shared .how-card,
.page-shared .for-card,
.page-shared .feature-card,
.page-shared .problem-stat {
  padding: var(--space-5);
  background: #fff;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.page-shared .what-icon,
.page-shared .how-icon,
.page-shared .feature-icon,
.page-shared .benefit-icon,
.page-shared .for-icon,
.page-shared .shift-icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  background: rgba(249,127,178,.18);
  border: 1px solid rgba(236,45,122,.22);
  border-radius: var(--radius-md);
}

.page-shared svg {
  color: var(--color-primary);
  fill: none;
  stroke: var(--color-primary) !important;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-shared svg * {
  fill: none;
  stroke: var(--color-primary) !important;
}

.page-shared .what-icon svg,
.page-shared .how-icon svg,
.page-shared .feature-icon svg,
.page-shared .benefit-icon svg,
.page-shared .for-icon svg,
.page-shared .shift-icon svg {
  width: 24px;
  height: 24px;
}

.page-shared .library-section {
  padding: var(--space-7) max(var(--space-4), calc((100vw - var(--container-xl)) / 2 + var(--space-4)));
}

.page-shared .library-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: var(--space-5);
  padding-bottom: var(--space-2);
  scrollbar-width: thin;
}

.page-shared .insight-card {
  flex: 0 0 calc((100% - (var(--space-5) * 2)) / 3);
  scroll-snap-align: start;
  height: 545px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.page-shared .insight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(236,45,122,.28);
  box-shadow: 0 18px 42px rgba(236,45,122,.14);
}

.page-shared .insight-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-shared .insight-body {
  padding: var(--space-4);
  display: flex;
  flex: 1;
  flex-direction: column;
}

.page-shared .insight-type,
.page-shared .insight-access,
.page-shared .insight-date,
.page-shared .contact-item-label,
.page-shared .footer-col-label,
.page-shared .report-type-badge,
.page-shared .sidebar-label,
.page-shared .hero-right-label,
.page-shared .problem-band-label {
  color: var(--color-primary);
  font-size: var(--font-eyebrow);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.page-shared .insight-title {
  color: var(--color-text);
  font-size: var(--font-xl);
  font-weight: 800;
  line-height: 1.18;
}

.page-shared .insight-desc,
.page-shared .insight-date {
  color: var(--color-muted);
}

.page-shared .insight-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.page-shared .insight-footer {
  margin-top: auto;
  padding-top: var(--space-3);
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  border-top: 1px solid var(--color-border);
}

.research-page .library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
  scroll-snap-type: none;
  align-items: stretch;
}

.research-page .insight-card {
  flex: none;
  scroll-snap-align: none;
  height: auto;
}

.research-page .insight-thumb {
  aspect-ratio: 16 / 10;
}

.research-page .insight-body {
  min-height: 255px;
}

@media (max-width: 900px) {
  .research-page .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .research-page .library-grid {
    grid-template-columns: 1fr;
  }

  .research-page .insight-card {
    height: auto;
  }

  .research-page .insight-body {
    min-height: 240px;
  }
}

.page-shared .report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--space-6);
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: var(--space-7) var(--space-4);
}

.page-shared.article-page {
  background: #fff;
}

.page-shared .report-main {
  min-width: 0;
}

.page-shared .report-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
}

.page-shared .report-breadcrumb,
.page-shared .sidebar-back {
  color: var(--color-muted);
  display: flex;
  gap: var(--space-2);
  font-size: var(--font-sm);
}

.page-shared .report-title,
.page-shared .prose h1 {
  color: var(--color-text);
  font-family: inherit;
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.055em;
}

.page-shared .report-subtitle {
  max-width: 680px;
  color: var(--color-muted);
  font-size: var(--font-lg);
}

.page-shared .report-meta {
  margin: var(--space-5) 0;
  padding: var(--space-4) 0;
  display: flex;
  gap: var(--space-5);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.page-shared .report-meta-item,
.page-shared .prose .meta {
  color: var(--color-muted);
  font-size: var(--font-sm);
}

.page-shared .report-content,
.page-shared .prose {
  color: var(--color-muted);
  font-size: var(--font-md);
  line-height: 1.75;
}

.page-shared .report-content {
  max-width: 720px;
}

.page-shared .report-content ul {
  margin: var(--space-3) 0 var(--space-5);
  padding-left: 1.35rem;
}

.page-shared .report-content li {
  margin-bottom: var(--space-2);
  padding-left: .25rem;
}

.page-shared .report-content li::marker {
  color: var(--color-primary);
}

.page-shared .report-figure {
  margin: var(--space-5) 0;
}

.page-shared .report-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.page-shared .prose {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-7) var(--space-4);
}

.page-shared .report-content h2,
.page-shared .report-content h3,
.page-shared .prose h2,
.page-shared .report-subscribe h3,
.page-shared .content-gate h3,
.page-shared .sidebar-heading,
.page-shared .modal h3 {
  color: var(--color-text);
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -.035em;
}

.page-shared .report-subscribe-inner,
.page-shared .content-gate,
.page-shared .sidebar-card-light {
  margin-top: var(--space-5);
  padding: var(--space-5);
  background: #fff7fb;
  border: 1px solid rgba(236,45,122,.12);
  border-radius: var(--radius-lg);
}

.page-shared .report-plotpal-cta .report-subscribe-inner {
  background:
    radial-gradient(circle at 12% 20%, rgba(249,127,178,.22), transparent 32%),
    linear-gradient(135deg, #fff7fb 0%, #fff 64%);
  border-color: rgba(236,45,122,.22);
  box-shadow: 0 18px 44px rgba(236,45,122,.10);
}

.page-shared .report-plotpal-cta h3 {
  max-width: 520px;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.05;
}

.page-shared .report-plotpal-cta p {
  max-width: 560px;
}

.page-shared .report-plotpal-cta .sidebar-btn {
  width: max-content;
  margin-top: var(--space-3);
}

.page-shared .report-subscribe-form,
.page-shared .gate-form,
.page-shared .waitlist-form,
.page-shared .modal-form {
  display: flex;
  gap: var(--space-3);
}

.page-shared input,
.page-shared textarea {
  width: 100%;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font: inherit;
}

.page-shared input:focus,
.page-shared textarea:focus {
  border-color: var(--color-primary-light);
  outline: 3px solid rgba(236,45,122,.12);
}

.page-shared .sidebar-card {
  padding: var(--space-5);
  background: var(--color-dark);
  border-radius: var(--radius-lg);
}

.page-shared .sidebar-card .sidebar-heading {
  color: #fff;
}

.page-shared .sidebar-card .sidebar-body {
  color: #d1d5db;
}

.page-shared .modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: rgba(17,24,39,.58);
  backdrop-filter: blur(4px);
}

.page-shared .modal-overlay.open { display: flex; }

.page-shared .modal {
  width: min(480px, 100%);
  padding: var(--space-5);
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.page-shared .modal-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: none;
  border: 0;
  color: var(--color-muted);
  cursor: pointer;
}

.page-shared .cta-band,
.page-shared .cta-section,
.page-shared .waitlist-section {
  padding: var(--space-7) max(var(--space-4), calc((100vw - var(--container-xl)) / 2 + var(--space-4)));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.page-shared .cta-band {
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fff7fb 100%);
}

.page-shared .cta-actions,
.page-shared .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.page-shared .hero-actions {
  margin: var(--space-5) 0 var(--space-3);
}

.page-shared .hero-stat-card {
  margin-bottom: var(--space-3);
  padding: var(--space-4);
  background: #fff;
  border: 1px solid rgba(236,45,122,.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.page-shared footer {
  padding: var(--space-7) max(var(--space-4), calc((100vw - var(--container-xl)) / 2 + var(--space-4))) var(--space-5);
  background: var(--color-dark);
  color: #d1d5db;
}

.page-shared .footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: var(--space-4);
}

.page-shared .footer-bottom,
.page-shared .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.page-shared footer a,
.page-shared footer p,
.page-shared .footer-copy {
  color: #9ca3af;
  font-size: var(--font-sm);
  text-decoration: none;
}

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

.page-shared .footer-links,
.page-shared .footer-social {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.page-shared .footer-col ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
}

.page-shared .footer-col li { margin: 0; }

.page-shared .fade {
  opacity: 1;
  transform: none;
}

.page-shared [style*="display:none"] {
  display: none;
}

.page-shared [style*="text-align:left"] {
  text-align: left;
}

.page-shared [style*="margin-top:1rem"] {
  margin-top: var(--space-3);
}

.page-shared [style*="margin-top:2rem"] {
  margin-top: var(--space-4);
}

@media (max-width: 900px) {
  .page-shared nav ul { display: none; }
  .page-shared .nav-hamburger { display: flex; }
  .page-shared .page-header,
  .page-shared .page-hero,
  .page-shared .mission-section,
  .page-shared .cta-section,
  .page-shared .waitlist-section,
  .page-shared .contact-layout,
  .page-shared .hero,
  .page-shared .report-layout {
    grid-template-columns: 1fr;
  }
  .page-shared .library-grid,
  .page-shared .what-grid,
  .page-shared .how-grid,
  .page-shared .for-grid,
  .page-shared .problem-band,
  .page-shared .features-grid,
  .page-shared .benefits-section {
    grid-template-columns: 1fr;
  }
  .page-shared .report-sidebar {
    position: static;
  }
  .page-shared .waitlist-form,
  .page-shared .report-subscribe-form,
  .page-shared .gate-form,
  .page-shared .modal-form {
    flex-direction: column;
  }
  .page-shared .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .page-shared .page-header,
  .page-shared .page-hero-left,
  .page-shared .page-hero-right,
  .page-shared .mission-left,
  .page-shared .mission-right,
  .page-shared .contact-left,
  .page-shared .contact-right,
  .page-shared .hero-left,
  .page-shared .hero-right,
  .page-shared .library-section,
  .page-shared .report-layout,
  .page-shared .prose,
  .page-shared .cta-band,
  .page-shared .cta-section,
  .page-shared .waitlist-section {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }
  .page-shared .footer-top {
    grid-template-columns: 1fr;
  }
}

/* Research Page */
.research-page .page-header {
  padding-top: var(--space-6);
  padding-bottom: var(--space-5);
}

.research-page .page-header h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
}

.research-page .page-header-right {
  max-width: 560px;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.48;
}

.research-page .library-section {
  padding-top: var(--space-5);
  padding-bottom: var(--space-6);
}

.research-page .waitlist-section {
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
  align-items: center;
}

.research-page .waitlist-left h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.45rem);
  line-height: 1.05;
}

.research-page .waitlist-left p {
  font-size: var(--font-md);
}

/* Contact Page */
.contact-page .contact-layout {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: var(--space-7) var(--space-4);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  gap: var(--space-6);
  align-items: start;
}

.contact-page .contact-left,
.contact-page .contact-right {
  padding: 0;
}

.contact-page .contact-left {
  max-width: 620px;
}

.contact-page .contact-left h1 {
  max-width: 560px;
}

.contact-page .contact-left p {
  max-width: 560px;
}

.contact-page .contact-right {
  background: transparent;
  border: 0;
  border-radius: 0;
}

.contact-page .contact-item {
  padding: var(--space-4);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.contact-page .contact-item + .contact-item {
  margin-top: var(--space-3);
}

.contact-page .contact-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

@media (max-width: 600px) {
  .contact-page .contact-layout {
    padding: var(--space-5) var(--space-3);
  }

  .contact-page .contact-right {
    padding: var(--space-4);
  }
}

/* About Page */
.about-page .page-hero,
.about-page .mission-section,
.about-page .what-section,
.about-page .cta-section {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
}

.about-page .page-hero {
  padding: var(--space-7) var(--space-4);
  gap: var(--space-6);
  align-items: center;
}

.about-page .page-hero-left,
.about-page .page-hero-right {
  padding: 0;
}

.about-page .page-hero-right {
  padding: var(--space-5);
  border: 1px solid rgba(236,45,122,.14);
  border-radius: var(--radius-lg);
}

.about-page .mission-section {
  padding: var(--space-7) var(--space-4);
  gap: var(--space-6);
  align-items: start;
}

.about-page .mission-left,
.about-page .mission-right {
  padding: 0;
  background: transparent;
}

.about-page .mission-right {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-page .value-card {
  padding: var(--space-5);
  background: #fff;
}

.about-page .what-section {
  padding: 0 var(--space-4) var(--space-7);
}

.about-page .what-header {
  padding: var(--space-6) 0 var(--space-4);
}

.about-page .what-grid {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.about-page .cta-section {
  margin-bottom: var(--space-7);
  padding: var(--space-6) var(--space-4);
  grid-template-columns: minmax(0, .9fr) minmax(300px, .7fr);
  gap: var(--space-5);
  align-items: center;
  color: var(--color-text);
  background:
    radial-gradient(circle at 12% 18%, rgba(249,127,178,.18), transparent 34%),
    linear-gradient(135deg, #fff7fb 0%, #fff 60%);
  border: 1px solid rgba(236,45,122,.14);
  border-radius: var(--radius-lg);
}

.about-page .cta-section h2 {
  max-width: 520px;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
}

.about-page .cta-section p {
  max-width: 620px;
  color: var(--color-muted);
  font-size: var(--font-lg);
}

.about-page .cta-section .cta-actions {
  justify-content: flex-end;
  margin: 0;
}

.about-page .cta-section .btn {
  min-width: 138px;
}

@media (max-width: 900px) {
  .about-page .cta-section {
    grid-template-columns: 1fr;
  }

  .about-page .cta-section .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .about-page .page-hero,
  .about-page .mission-section,
  .about-page .what-section,
  .about-page .cta-section {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }
}

/* PlotPal Page */
.plotpal-page .plotpal-hero {
  overflow: hidden;
  background: #fff;
}

.plotpal-page .plotpal-hero-grid {
  position: relative;
  width: 100%;
  max-width: var(--container-xl);
  min-height: 575px;
  margin: 0 auto;
  padding: var(--space-5) var(--space-4);
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr);
  gap: var(--space-5);
  align-items: center;
}

.plotpal-page .plotpal-hero-grid::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 31%;
  width: 16%;
  pointer-events: none;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .84) 44%, rgba(255, 255, 255, 0) 100%);
}

.plotpal-page .plotpal-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
  transform: translateY(-14px);
}

.plotpal-page .plotpal-hero-logo {
  width: min(185px, 56vw);
  height: auto;
  margin-bottom: var(--space-3);
}

.plotpal-page .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  width: auto;
  margin-bottom: var(--space-2);
  color: var(--color-primary);
  font-size: var(--font-eyebrow);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.plotpal-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.plotpal-page .hero-eyebrow-dot,
.plotpal-page .eyebrow-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  flex-shrink: 0;
  background: var(--color-primary);
  border-radius: 50%;
}

.plotpal-page .plotpal-hero h1 {
  margin-bottom: var(--space-3);
  font-size: clamp(2.55rem, 4.05vw, 4rem);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.055em;
}

.plotpal-page .hero-sub {
  max-width: 460px;
  margin-bottom: var(--space-4);
  color: var(--color-muted);
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  line-height: 1.46;
}

.plotpal-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: 0 0 var(--space-2);
}

.plotpal-page .hero-note {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: var(--font-sm);
}

.plotpal-page .plotpal-hero-media {
  position: absolute;
  z-index: 1;
  right: calc(var(--space-4) * -5);
  top: 0;
  bottom: 0;
  width: min(736px, 58vw);
  transform: none;
  pointer-events: none;
}

.plotpal-page .plotpal-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  filter: none;
  transform: scale(1.08);
}

.plotpal-page .plotpal-hero .btn-secondary {
  color: var(--color-text);
  border-color: rgba(44, 37, 56, .12);
  box-shadow: none;
}

.plotpal-page .plotpal-hero .btn-secondary:hover {
  color: var(--color-primary);
  border-color: rgba(232, 40, 120, .25);
}

.plotpal-page .how-section,
.plotpal-page .features-section,
.plotpal-page .for-section,
.plotpal-page .pricing-section,
.plotpal-page .cta-band {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  border-left: 0;
  border-right: 0;
}

.plotpal-page .how-header,
.plotpal-page .features-header,
.plotpal-page .for-header,
.plotpal-page .pricing-header {
  padding-left: 0;
  padding-right: 0;
}

.plotpal-page .how-grid,
.plotpal-page .features-grid,
.plotpal-page .for-grid {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.plotpal-page .how-card,
.plotpal-page .feature-card,
.plotpal-page .for-card {
  border-color: var(--color-border);
}

.plotpal-page .pricing-section {
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}

.plotpal-page .pricing-header {
  margin-bottom: var(--space-5);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-5);
}

.plotpal-page .pricing-header h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.2rem, 3.5vw, 3.55rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.055em;
}

.plotpal-page .pricing-toggle {
  padding: 4px;
  display: inline-flex;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(44, 37, 56, .06);
}

.plotpal-page .pricing-toggle-btn {
  min-width: 92px;
  padding: 10px 16px;
  background: transparent;
  color: var(--color-muted);
  border: 0;
  border-radius: var(--radius-full);
  font: inherit;
  font-size: var(--font-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.plotpal-page .pricing-toggle-btn.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(232, 40, 120, .22);
}

.plotpal-page .pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.plotpal-page .pricing-card {
  position: relative;
  min-height: 410px;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, .10);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.plotpal-page .pricing-card.featured {
  border-color: rgba(232, 40, 120, .36);
  box-shadow: 0 18px 44px rgba(232, 40, 120, .14);
}

.plotpal-page .pricing-card:hover {
  color: inherit;
  border-color: rgba(236, 45, 122, .52);
  box-shadow: 0 18px 46px rgba(236, 45, 122, .13);
  text-decoration: none;
}

.plotpal-page .pricing-card:focus-visible {
  outline: 3px solid rgba(236, 45, 122, .28);
  outline-offset: 4px;
}

.plotpal-page .pricing-card:active {
  background: linear-gradient(180deg, #fff 0%, #fff7fb 100%);
  border-color: var(--color-primary);
  box-shadow: 0 12px 32px rgba(236, 45, 122, .18);
  transform: scale(.992);
}

.plotpal-page .pricing-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  padding: 6px 10px;
  color: var(--color-primary);
  background: var(--color-primary-lighter);
  border-radius: var(--radius-full);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.plotpal-page .pricing-card h3 {
  margin: 0 0 var(--space-2);
  color: var(--color-text);
  font-size: var(--font-xl);
  font-weight: 800;
  line-height: 1.1;
}

.plotpal-page .pricing-card p {
  min-height: 48px;
  margin: 0;
  color: var(--color-muted);
  line-height: 1.45;
}

.plotpal-page .pricing-price {
  margin: var(--space-5) 0 var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.plotpal-page .price-value {
  color: var(--color-text);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.055em;
}

.plotpal-page .price-period {
  color: var(--color-muted);
  font-size: var(--font-md);
  font-weight: 700;
}

.plotpal-page .pricing-features {
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
  list-style: none;
}

.plotpal-page .pricing-features li {
  position: relative;
  padding-left: 24px;
  color: var(--color-muted);
  line-height: 1.45;
}

.plotpal-page .pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .28em;
  width: 15px;
  height: 15px;
  background: var(--color-primary);
  border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.plotpal-page .cta-band {
  max-width: none;
  margin: 0;
  padding-left: max(var(--space-4), calc((100vw - var(--container-xl)) / 2 + var(--space-4)));
  padding-right: max(var(--space-4), calc((100vw - var(--container-xl)) / 2 + var(--space-4)));
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fff7fb 100%);
}

.plotpal-page .cta-band h2 {
  max-width: 720px;
  margin: 0 auto var(--space-5);
  font-size: clamp(2rem, 3.2vw, 3.25rem);
}

.plotpal-page .cta-band .cta-actions {
  justify-content: center;
  align-items: center;
}

@media (max-width: 900px) {
  .plotpal-page .plotpal-hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .plotpal-page .plotpal-hero-grid::after {
    display: none;
  }

  .plotpal-page .plotpal-hero-copy {
    max-width: 680px;
    transform: none;
  }

  .plotpal-page .plotpal-hero-media {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(100%, 680px);
    transform: none;
    max-width: 680px;
    margin: 0 auto;
  }

  .plotpal-page .plotpal-hero-media img {
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .plotpal-page .pricing-header {
    align-items: start;
    flex-direction: column;
  }

  .plotpal-page .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .plotpal-page .plotpal-hero {
    background: #fff;
  }

  .plotpal-page .plotpal-hero-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding-top: 0;
    padding-bottom: var(--space-5);
  }

  .plotpal-page .plotpal-hero-copy {
    order: 2;
    width: 100%;
    max-width: none;
  }

  .plotpal-page .plotpal-hero-logo {
    display: none;
  }

  .plotpal-page .plotpal-hero-media {
    order: 1;
    width: 100%;
    max-width: none;
    margin: -12px 0 0;
  }

  .plotpal-page .plotpal-hero-media img {
    width: 100%;
    transform: none;
  }

  .plotpal-page .hero-eyebrow {
    margin-bottom: var(--space-2);
    font-size: .68rem;
    letter-spacing: .14em;
  }

  .plotpal-page .plotpal-hero h1 {
    max-width: none;
    margin-bottom: var(--space-3);
    font-size: clamp(2.5rem, 9.5vw, 3.3rem);
    line-height: .97;
  }

  .plotpal-page .hero-sub {
    max-width: none;
    margin-bottom: var(--space-4);
    font-size: clamp(.98rem, 3.7vw, 1.14rem);
    line-height: 1.42;
  }

  .plotpal-page .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
  }

  .plotpal-page .hero-actions .btn {
    width: 100%;
    min-height: 58px;
    font-size: 1rem;
  }

  .plotpal-page .hero-note {
    font-size: .98rem;
  }
}

@media (max-width: 600px) {
  .plotpal-page .plotpal-hero-grid,
  .plotpal-page .how-section,
  .plotpal-page .features-section,
  .plotpal-page .for-section,
  .plotpal-page .pricing-section,
  .plotpal-page .cta-band {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }

  .plotpal-page .pricing-grid {
    grid-template-columns: 1fr;
  }

  .plotpal-page .pricing-card {
    min-height: auto;
  }

  .plotpal-page .pricing-toggle {
    width: 100%;
  }

  .plotpal-page .pricing-toggle-btn {
    flex: 1;
  }

  .plotpal-page .hero-actions,
  .plotpal-page .cta-band .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
