/* OptimEyed Front Desk - Shared Styles */
/* Color system: coral/neutral, mobile-first, Lighthouse 90+ */

:root {
  /* Colors */
  --ground: #FAFBFC;
  --surface: #FFFFFF;
  --ink: #0F1419;
  --ink-2: #536471;
  --muted: #8899A6;
  --border: #E1E8ED;
  --pop: #E54D2E;
  --pop-dark: #CA3214;
  --pop-glow: rgba(229, 77, 46, 0.08);
  --green: #18794E;
  --green-bg: #DDF3E4;
  --cost-red: #CD2B31;
  --cost-red-bg: #FFE5E5;

  /* Typography */
  --display: "Outfit", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;

  /* Spacing */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 48px;
  --sp-5: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--pop);
  color: white;
}

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

a {
  color: var(--pop);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}

h1 { font-size: clamp(2rem, 7vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 5vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 3vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p {
  max-width: 60ch;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-2);
}

.section {
  padding: var(--sp-4) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--sp-5) 0;
  }
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 var(--sp-2);
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--pop);
}

.nav {
  display: none;
  align-items: center;
  gap: var(--sp-3);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--ink);
  text-decoration: none;
}

.header .header-cta {
  display: none !important;
}

@media (min-width: 768px) {
  .header .header-cta {
    display: block !important;
  }
}

/* Mobile sticky CTA */
.mobile-sticky-cta {
  display: block;
  position: fixed;
  bottom: 70px; /* Raised to avoid overlap with GHL chat bubble */
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-1);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-sticky-cta .btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 768px) {
  .mobile-sticky-cta {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 14px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

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

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--pop);
  outline-offset: 2px;
}

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

.btn-primary:hover {
  background: var(--pop-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  padding: 10px 16px;
}

.btn-ghost:hover {
  background: var(--pop-glow);
  color: var(--ink);
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 10px 18px;
}

/* Hero */
.hero {
  padding: var(--sp-2) 0 var(--sp-3);
  min-height: auto;
  display: flex;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .hero {
    padding: var(--sp-4) 0 var(--sp-5);
    min-height: calc(100svh - 64px);
    align-items: center;
  }
}

.hero-grid {
  display: grid;
  gap: var(--sp-2);
  align-items: start;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
    align-items: center;
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 900px) {
  .hero-content {
    text-align: left;
  }
}

.hero h1 {
  margin-bottom: var(--sp-1);
  font-size: clamp(1.75rem, 6vw, 3.5rem);
}

.hero-sub {
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: var(--sp-2);
}

@media (min-width: 768px) {
  .hero-sub {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: var(--sp-3);
  }
}

.hero-stat-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
  padding: var(--sp-2);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 8px;
}

@media (min-width: 900px) {
  .hero-stat-strip {
    justify-content: flex-start;
    display: inline-flex;
  }
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hero-stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-value {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hero-stat-value.muted {
  font-family: var(--body);
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--ground);
  padding: 4px 8px;
  border-radius: 4px;
}

.hero-stat-value.pop {
  color: var(--green);
  font-size: 1.5rem;
}

.hero-stat-vs {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.hero-buttons .btn {
  justify-content: center;
  text-align: center;
}

@media (min-width: 480px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 900px) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

/* Phone Mockup */
.phone-container {
  display: flex;
  justify-content: center;
  padding: 0;
  margin-top: -20px;
  position: relative;
}

@media (min-width: 768px) {
  .phone-container {
    margin-top: 0;
    padding: var(--sp-2) 0;
  }
}

.phone-mockup {
  width: 260px;
  max-width: 100%;
  background: var(--ink);
  border-radius: 32px;
  padding: 10px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

@media (min-width: 768px) {
  .phone-mockup {
    width: 320px;
    border-radius: 40px;
    padding: 14px;
  }
}

.phone-screen {
  background: var(--surface);
  border-radius: 22px;
  overflow: hidden;
  height: 380px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .phone-screen {
    height: 480px;
    border-radius: 28px;
  }
}

.phone-header {
  background: var(--pop);
  color: white;
  padding: 10px 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.6875rem;
  text-align: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .phone-header {
    padding: 14px 18px;
    font-size: 0.8125rem;
  }
}

.phone-timer {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
  .phone-timer {
    font-size: 1.75rem;
    margin-top: 4px;
  }
}

.sms-thread {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .sms-thread {
    padding: 14px;
    gap: 8px;
    font-size: 0.8125rem;
  }
}

.sms-msg {
  max-width: 88%;
  padding: 8px 12px;
  border-radius: 16px;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@media (min-width: 768px) {
  .sms-msg {
    padding: 10px 14px;
    border-radius: 18px;
    line-height: 1.4;
  }
}

.sms-msg.visible {
  opacity: 1;
  transform: translateY(0);
}

.sms-msg.incoming {
  background: #E9ECEF;
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.sms-msg.outgoing {
  background: var(--pop);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.sms-msg.system {
  background: var(--green-bg);
  color: var(--green);
  align-self: center;
  font-weight: 600;
  font-size: 0.6875rem;
  text-align: center;
  padding: 6px 12px;
}

@media (min-width: 768px) {
  .sms-msg.system {
    font-size: 0.75rem;
    padding: 8px 14px;
  }
}

.sms-timestamp {
  font-family: var(--mono);
  font-size: 0.5625rem;
  color: var(--muted);
  text-align: center;
  margin: 2px 0;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
  .sms-timestamp {
    font-size: 0.625rem;
    margin: 4px 0;
  }
}

/* Reply stamp - the signature "Replied in 0:41" */
.reply-stamp {
  background: var(--green);
  color: white;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.625rem;
  padding: 4px 10px;
  border-radius: 12px;
  align-self: center;
  margin: 4px 0 8px;
  animation: stampPop 0.3s ease;
}

@media (min-width: 768px) {
  .reply-stamp {
    font-size: 0.75rem;
    padding: 6px 14px;
    margin: 6px 0 10px;
  }
}

@keyframes stampPop {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: #E9ECEF;
  border-radius: 16px;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--muted);
  border-radius: 50%;
  animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

/* Problem cards */
.problem-cards {
  display: grid;
  gap: var(--sp-2);
}

@media (min-width: 768px) {
  .problem-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-3);
  }
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--sp-3);
}

.problem-card h4 {
  margin-bottom: var(--sp-1);
}

.problem-card p {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.stat-placeholder {
  display: inline-block;
  background: var(--cost-red-bg);
  color: var(--cost-red);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8125rem;
  margin-top: var(--sp-1);
}

/* Steps */
.steps-grid {
  display: grid;
  gap: var(--sp-2);
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-3);
  }
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--sp-3);
  counter-increment: step;
  position: relative;
}

.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--pop);
  color: white;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.875rem;
  border-radius: 50%;
  margin-bottom: var(--sp-1);
}

.step h4 {
  margin-bottom: 6px;
}

.step p {
  font-size: 0.875rem;
  color: var(--ink-2);
}

/* Tabs */
.tabs-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  flex: 1;
  min-width: max-content;
  padding: var(--sp-2);
  background: none;
  border: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--ink);
}

.tab-btn.active {
  color: var(--pop);
  border-bottom-color: var(--pop);
}

.tab-content {
  display: none;
  padding: var(--sp-3);
}

.tab-content.active {
  display: block;
}

.niche-info {
  display: grid;
  gap: var(--sp-3);
}

@media (min-width: 768px) {
  .niche-info {
    grid-template-columns: 1fr 1fr;
  }
}

.niche-stats {
  font-size: 0.9375rem;
}

.niche-stats dt {
  font-weight: 600;
  color: var(--ink);
}

.niche-stats dd {
  color: var(--ink-2);
  margin-bottom: var(--sp-1);
}

.niche-thread {
  background: var(--ground);
  border-radius: 6px;
  padding: var(--sp-2);
  font-size: 0.875rem;
}

.niche-thread-msg {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.niche-thread-msg:last-child {
  border-bottom: none;
}

.niche-cta {
  margin-top: var(--sp-2);
}

/* Calculator */
.calculator {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: var(--sp-3);
}

.calc-grid {
  display: grid;
  gap: var(--sp-2);
}

@media (min-width: 600px) {
  .calc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.calc-field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.calc-field input,
.calc-field select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.15s ease;
}

.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: var(--pop);
}

.calc-result {
  margin-top: var(--sp-3);
  padding: var(--sp-3);
  background: var(--cost-red-bg);
  border: 2px solid var(--cost-red);
  border-radius: 8px;
  text-align: center;
}

.calc-result-label {
  font-size: 0.875rem;
  color: var(--ink);
  margin-bottom: var(--sp-1);
  font-weight: 500;
}

.calc-result-value {
  font-family: var(--display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  color: var(--cost-red);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px rgba(205, 43, 49, 0.1);
}

.calc-result-note {
  font-size: 1rem;
  color: var(--ink);
  margin-top: var(--sp-2);
  font-weight: 600;
}

.calc-cta {
  margin-top: var(--sp-3);
}

.calc-cta .btn {
  background: var(--pop);
  color: white;
  font-size: 1rem;
  padding: 16px 32px;
}

.calc-cta .btn:hover {
  background: var(--pop-dark);
}

/* Included/Not included */
.included-grid {
  display: grid;
  gap: var(--sp-3);
}

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

.included-col h3 {
  margin-bottom: var(--sp-2);
  padding-bottom: var(--sp-1);
  border-bottom: 2px solid var(--green);
}

.included-col.not h3 {
  border-bottom-color: var(--muted);
}

.included-list {
  list-style: none;
}

.included-list li {
  position: relative;
  padding-left: 28px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 0.9375rem;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border);
}

.included-list li:last-child {
  border-bottom: none;
}

.included-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--green);
  font-weight: 700;
}

.included-col.not .included-list li::before {
  content: "—";
  color: var(--muted);
}

/* Guarantee */
.guarantee-card {
  background: var(--surface);
  border: 3px solid var(--pop);
  border-radius: 8px;
  padding: var(--sp-3);
  max-width: 800px;
  margin: 0 auto;
}

.guarantee-card h3 {
  color: var(--pop);
  margin-bottom: var(--sp-2);
}

.guarantee-item {
  margin-bottom: var(--sp-2);
}

.guarantee-item strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.guarantee-item p {
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.guarantee-fine {
  margin-top: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Pricing */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--sp-3);
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.pricing-amounts {
  margin-bottom: var(--sp-2);
}

.pricing-item {
  margin-bottom: var(--sp-1);
}

.pricing-amount {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.pricing-label {
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.pricing-terms {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: var(--sp-2);
}

.pricing-extra {
  font-size: 0.875rem;
  color: var(--ink-2);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border);
}

.founding-banner {
  background: var(--pop-glow);
  border: 2px solid var(--pop);
  border-radius: 8px;
  padding: var(--sp-3);
  margin-top: var(--sp-3);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.founding-banner h4 {
  color: var(--pop);
  margin-bottom: var(--sp-1);
}

.founding-banner p {
  font-size: 0.9375rem;
  color: var(--ink-2);
  margin: 0 auto;
}

.founding-spots {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pop);
  margin-top: var(--sp-1);
}

/* Bio */
.bio-section {
  display: grid;
  gap: var(--sp-3);
  align-items: start;
}

@media (min-width: 768px) {
  .bio-section {
    grid-template-columns: 200px 1fr;
  }
}

.bio-photo {
  width: 160px;
  height: 160px;
  background: var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .bio-photo {
    margin: 0;
  }
}

.bio-content h3 {
  margin-bottom: var(--sp-1);
}

.bio-content p {
  color: var(--ink-2);
  margin-bottom: var(--sp-2);
}

.bio-bullets {
  list-style: none;
}

.bio-bullets li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.bio-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--pop);
  font-weight: 700;
}

.bio-sig {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  margin-top: var(--sp-2);
}

/* Trust row */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2) var(--sp-4);
  padding: var(--sp-3);
  background: var(--ground);
  border-radius: 8px;
}

.trust-item {
  font-size: 0.875rem;
  color: var(--ink-2);
  text-align: center;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-2) 0;
  background: none;
  border: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-bottom: var(--sp-2);
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA Band */
.cta-band {
  background: var(--ink);
  color: white;
  padding: var(--sp-4) 0;
  text-align: center;
}

.cta-band h2 {
  color: white;
  margin-bottom: var(--sp-1);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto var(--sp-3);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  align-items: center;
}

@media (min-width: 480px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

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

.cta-band .btn-primary:hover {
  background: var(--ground);
}

.cta-band .btn-secondary {
  border-color: white;
  color: white;
}

.cta-band .btn-secondary:hover {
  background: white;
  color: var(--ink);
}

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--sp-3) 0;
  font-size: 0.8125rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
}

.footer a:hover {
  color: white;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
}

/* Demo Page */
.demo-hero {
  padding: var(--sp-5) 0;
  text-align: center;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.demo-form {
  max-width: 440px;
  margin: 0 auto;
  text-align: left;
}

.demo-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.demo-form input,
.demo-form select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 6px;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  margin-bottom: var(--sp-2);
  transition: border-color 0.15s ease;
}

.demo-form input:focus,
.demo-form select:focus {
  outline: none;
  border-color: var(--pop);
}

.consent-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: var(--sp-3);
}

.consent-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--pop);
}

.consent-text {
  font-size: 0.8125rem;
  color: var(--ink-2);
  line-height: 1.5;
}

.consent-text a {
  color: var(--pop);
}

.demo-countdown {
  text-align: center;
  padding: var(--sp-4);
}

.countdown-text {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.countdown-timer {
  font-family: var(--mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--pop);
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--sp-3);
}

/* Niche landing pages */
.niche-hero {
  padding: var(--sp-2) 0 var(--sp-3);
  min-height: auto;
}

@media (min-width: 768px) {
  .niche-hero {
    padding: var(--sp-4) 0;
    min-height: 80svh;
  }
}

.niche-hero .hero-content h1 {
  margin-bottom: var(--sp-2);
}

.niche-hero .hero-sub {
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.niche-header {
  padding: var(--sp-2);
  border-bottom: 1px solid var(--border);
}

.niche-pain-list {
  list-style: none;
  display: grid;
  gap: var(--sp-2);
  margin: var(--sp-3) 0;
}

.niche-pain-list li {
  background: var(--cost-red-bg);
  border-left: 4px solid var(--cost-red);
  padding: var(--sp-2);
  font-size: 0.9375rem;
  color: var(--ink);
}

/* Legal pages */
.legal-page {
  padding: var(--sp-4) 0 var(--sp-5);
}

.legal-page h1 {
  margin-bottom: var(--sp-3);
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-1);
}

.legal-page p {
  margin-bottom: var(--sp-2);
  color: var(--ink-2);
}

.legal-page ul {
  margin-bottom: var(--sp-2);
  padding-left: var(--sp-3);
  color: var(--ink-2);
}

.legal-page li {
  margin-bottom: var(--sp-1);
}

.draft-notice {
  background: var(--cost-red-bg);
  color: var(--cost-red);
  padding: var(--sp-2);
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: var(--sp-3);
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-3);
}

.section-header h2 {
  margin-bottom: var(--sp-1);
}

.section-header p {
  color: var(--ink-2);
  margin: 0 auto;
}

/* Alternating backgrounds */
.bg-ground {
  background: var(--ground);
}

.bg-surface {
  background: var(--surface);
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
  }
  
  .sms-msg {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Utility spacing */
.mt-1 { margin-top: var(--sp-1); }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mb-1 { margin-bottom: var(--sp-1); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }

/* Safe area for mobile sticky */
/* Account for mobile sticky CTA + chat widget space */
body {
  padding-bottom: 130px; /* Sticky CTA (60px) + chat bubble space (70px) */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-sticky-cta {
    bottom: calc(70px + env(safe-area-inset-bottom));
  }
  
  body {
    padding-bottom: calc(130px + env(safe-area-inset-bottom));
  }
  
  @media (min-width: 768px) {
    body {
      padding-bottom: 0;
    }
  }
}
