/* ---------------------------------------------------------------------------
   High-Converting Landing Components (3D CTA, Authority Bar, Problem/Solution, FAQ)
   --------------------------------------------------------------------------- */
.btn-3d-emerald {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-inline-size: 100%;
  background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 45%, #0284c7 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  padding: 15px 28px;
  border-radius: 12px;
  border: 1px solid rgba(186, 230, 253, 0.7);
  box-shadow: 0 6px 0 #0369a1, 0 14px 28px rgba(14, 165, 233, 0.28);
  text-decoration: none;
  cursor: pointer;
  will-change: transform;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.btn-3d-emerald:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.btn-3d-emerald:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #0369a1, 0 6px 14px rgba(14, 165, 233, 0.22);
}

.authority-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(240, 249, 255, 0.78);
  padding: 16px 0;
}

.authority-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 24px;
}

.authority-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.authority-item strong {
  color: var(--text);
}

.authority-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-bright);
  flex-shrink: 0;
}

.pvs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 820px) {
  .pvs-grid {
    grid-template-columns: 1fr;
  }
}

.pvs-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
}

.pvs-card.problem {
  border-color: rgba(248, 113, 113, 0.26);
  background: linear-gradient(180deg, rgba(248, 113, 113, 0.04) 0%, var(--bg-elevated) 100%);
}

.pvs-card.solution {
  border-color: rgba(14, 165, 233, 0.38);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.07) 0%, #ffffff 100%);
}

.pvs-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 11px;
}

.pvs-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}

.pvs-list li span.muted {
  color: var(--muted);
}

/* Native <details> FAQ Accordion (modern-web-guidance compliant) */
.accordion {
  display: grid;
  gap: 10px;
  max-width: 880px;
  margin: 0 auto;
}

.accordion details {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: clip;
}

.accordion details[open] {
  border-color: rgba(14, 165, 233, 0.42);
}

.accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary:hover {
  background: rgba(14, 165, 233, 0.05);
}

.accordion summary::before {
  content: "";
  inline-size: 0.85em;
  block-size: 0.85em;
  flex-shrink: 0;
  background-color: var(--emerald-bright);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.accordion details[open] > summary::before {
  rotate: 0deg;
}

.accordion .faq-body {
  padding: 0 20px 18px 44px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.accordion details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.accordion details:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .accordion summary::before {
    transition: rotate 0.2s ease;
  }
  .accordion details::details-content {
    transition: block-size 0.28s ease-in-out, content-visibility 0.28s ease-in-out allow-discrete;
  }
}

.doc-drop-zone {
  border: 2px dashed rgba(14, 165, 233, 0.42);
  border-radius: 14px;
  padding: 26px 18px;
  text-align: center;
  background: rgba(14, 165, 233, 0.05);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.doc-drop-zone:hover,
.doc-drop-zone.dragover {
  border-color: var(--blue-bright);
  background: rgba(14, 165, 233, 0.12);
}

/* Wall of Wins & Guarantee Callout (AI Profit Boardroom Direct-Response Cues) */
.wins-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .wins-grid {
    grid-template-columns: 1fr;
  }
}

.win-card {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.06) 0%, #ffffff 100%);
  border: 1px solid rgba(14, 165, 233, 0.24);
  border-radius: 16px;
  padding: 22px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.win-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 165, 233, 0.48);
  box-shadow: 0 14px 32px rgba(2, 132, 199, 0.12);
}

.win-metric {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--blue);
  margin: 8px 0 6px;
}

.guarantee-box {
  margin-top: 28px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.10) 0%, rgba(251, 191, 36, 0.10) 55%, #ffffff 100%);
  border: 1px solid rgba(14, 165, 233, 0.32);
  border-radius: 18px;
  padding: 28px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 16px 40px rgba(2, 132, 199, 0.10);
}

.guarantee-copy {
  max-width: 680px;
}

.guarantee-copy h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 400;
  margin: 8px 0 6px;
}

.guarantee-copy p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 640px) {
  input[type="text"],
  input[type="email"],
  input[type="url"],
  input[type="number"],
  input[type="password"],
  input[type="search"],
  input[type="date"],
  input[type="tel"],
  textarea,
  select {
    font-size: 16px;
    min-height: 44px;
  }
  .input-row {
    flex-wrap: wrap;
  }
  .input-row input {
    flex: 1 1 100%;
  }
  .input-row button,
  .btn {
    min-height: 44px;
  }
  .btn-3d-emerald {
    padding: 14px 18px;
    font-size: 0.95rem;
  }
  .pvs-card,
  .win-card {
    padding: 18px;
  }
  .accordion summary {
    padding: 14px 16px;
  }
  .accordion .faq-body {
    padding: 0 16px 16px 16px;
  }
  .guarantee-box {
    padding: 20px 18px;
  }
}

:is(input, select, textarea):is(:user-invalid, .user-invalid-fallback) {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14);
}

:is(input, select, textarea):is(:user-invalid, .user-invalid-fallback) + .field-error {
  display: block;
}

.field-hint {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.field-error {
  display: none;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 4px;
}

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* =========================================================================
   FLOATING WHATSAPP CHAT BUTTON
   ========================================================================= */
.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-block-size: 48px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #25d366 0%, #16a34a 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.36), 0 4px 10px rgba(9, 9, 11, 0.16);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, background 0.2s ease;
}

.wa-float:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, #34d399 0%, #15803d 100%);
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.44), 0 6px 14px rgba(9, 9, 11, 0.20);
}

.wa-float:focus-visible {
  outline: 3px solid #0c2340;
  outline-offset: 3px;
}

.wa-float-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
}

.wa-float-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.wa-float-sub {
  font-size: 0.69rem;
  font-weight: 600;
  opacity: 0.92;
}

@media (max-width: 600px) {
  .wa-float {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    padding: 11px 14px;
    gap: 8px;
    font-size: 0.84rem;
  }
  .wa-float-sub {
    display: none;
  }
}

/* =========================================================================
   PUBLIC LEGAL PAGES & FOOTER LEGAL STRIP
   ========================================================================= */
.footer-legal-bar {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
}

.footer-legal-links a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.legal-hero {
  padding: 40px 0 18px;
}

.legal-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.legal-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.legal-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-pill-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.legal-pill-link:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #e0f2fe;
}

.legal-pill-link.active {
  background: #0c2340;
  border-color: #0c2340;
  color: #ffffff;
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 40px;
}

@media (max-width: 680px) {
  .legal-card {
    padding: 24px 20px;
  }
}

.legal-prose {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-prose h1,
.legal-prose h2 {
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 10px;
  letter-spacing: -0.01em;
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #0369a1;
  margin: 20px 0 8px;
}

.legal-prose p {
  margin-bottom: 14px;
}

.legal-prose ul,
.legal-prose ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.legal-prose li {
  margin-bottom: 8px;
}

.legal-prose strong {
  color: var(--text);
}

.legal-prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-prose a:hover {
  color: #0369a1;
}

.legal-prose code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86em;
  background: #f0f9ff;
  border: 1px solid rgba(2, 132, 199, 0.18);
  padding: 1px 6px;
  border-radius: 6px;
  color: #0369a1;
}

.legal-prose blockquote {
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 4px solid #10b981;
  background: #ecfdf5;
  border-radius: 0 10px 10px 0;
  color: #064e3b;
}

.legal-card-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

@media print {
  .nav-wrap,
  .legal-nav-pills,
  .legal-print-btn,
  .legal-card-footer,
  .footer,
  .wa-float {
    display: none !important;
  }
  .legal-card {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
  }
}

/* Proof Strip & Year 1 Costs */
.proof-strip-section {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
}

.proof-strip-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.proof-founder {
  display: flex;
  align-items: center;
  gap: 14px;
}

.louis-avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #0c2340;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  border: 2px solid #0284c7;
}

.proof-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.proof-badge {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 9px;
}

.proof-case-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}

.year1-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.year1-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.year1-card.is-popular {
  border: 2px solid var(--emerald-bright);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.12);
}

.year1-total {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin: 6px 0 4px;
}

.year1-addons {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-align: center;
}

.cta-mid-banner {
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: 14px;
  background: #0c2340;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 860px) {
  .proof-strip-grid,
  .year1-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-cta-row .btn,
  .hero-cta-row .btn-3d-emerald,
  .cta-mid-banner .btn-3d-emerald {
    min-height: 44px;
  }
}

.telemetry-val s,
.price-figure s {
  text-decoration: line-through;
  font-size: 0.65em;
  color: var(--muted);
  font-weight: 600;
  margin-right: 4px;
}


