/* ================================================================
   LeadSprint — custom styles (non-Tailwind)
   ================================================================ */

:root {
  --teal-glow: rgba(29,158,117,0.15);
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-size: 1rem;
  line-height: 1.75;
  font-family: 'Manrope', system-ui, sans-serif;
  background: #FFFFFF;
  color: #0A1410;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.011em;
  overflow-x: hidden;
}

p,
li {
  max-width: 65ch;
  line-height: 1.75;
}

h1,
h2,
h3 {
  line-height: 1.1;
}

/* Unrestrict max-width where layout needs full-width text */
.no-max p, .no-max li { max-width: none; }

/* Conversion guide alignment roles. */
.pillar-centered-content {
  width: 100%;
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
}

.pillar-centered-content > p,
.pillar-cta-content > p,
.pillar-gradient-cta p {
  margin-inline: auto;
}

.pillar-cta-content {
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.pillar-gradient-cta {
  text-align: center;
}

.pillar-card-group {
  text-align: left;
}

.pillar-card-group p {
  margin-inline: 0;
}

/* Background mesh, used per-section */
.mesh-1::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 900px 700px at 78% 8%, rgba(29,158,117,0.10), transparent 60%),
    radial-gradient(ellipse 700px 500px at 12% 85%, rgba(216,90,48,0.04), transparent 60%);
}

.mesh-grid::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(10,20,16,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,20,16,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
}

/* SVG line drawing */
.draw-path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.draw-path.drawn { animation: draw-line 1.6s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }

/* Scroll-trigger hooks */
[data-reveal] { will-change: opacity, transform; }

/* Pulse dot */
.pulse-dot { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }

/* Stage label decorator lines */
.stage-label::before, .stage-label::after { content:''; height: 1px; flex: 0 0 36px; background: #D8D7CF; }

/* Strike through animation */
.strike { position: relative; display: inline-block; color: #7D7C73; }
.strike::after {
  content: ''; position: absolute; left: -3%; right: -3%; top: 54%; height: 6px;
  background: #D85A30; border-radius: 4px;
  transform: rotate(-2deg) scaleX(0); transform-origin: left;
  box-shadow: 0 0 12px rgba(216,90,48,0.4);
}
.strike.in::after { animation: strike 1s 0.4s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes strike { to { transform: rotate(-2deg) scaleX(1); } }

/* Gradient text */
.grad-text {
  background: linear-gradient(105deg, #0F6E56 0%, #1D9E75 50%, #0F6E56 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

/* Step line */
.step-line { background: linear-gradient(180deg, #1D9E75, #C0E8D8); }

/* Card hover lift */
.lift { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.lift:hover { transform: scale(1.015); }

/* FAQ toggle */
#faq details {
  overflow: hidden;
  transition: height .32s cubic-bezier(0.16,1,0.3,1),
              border-color .25s ease,
              background-color .25s ease;
}
#faq details[open] {
  border-color: #D8D7CF;
}
#faq details[open] summary svg,
#faq details.faq-opening summary svg {
  transform: rotate(45deg);
}
#faq details.faq-closing summary svg {
  transform: rotate(0deg);
}
#faq details summary svg {
  transition: transform .28s cubic-bezier(0.16,1,0.3,1);
}
#faq details summary::-webkit-details-marker { display: none; }
#faq details p {
  transition: opacity .24s ease, transform .32s cubic-bezier(0.16,1,0.3,1);
}
#faq details:not([open]) p,
#faq details.faq-closing p {
  opacity: 0;
  transform: translateY(-4px);
}

/* Legal page content */
.legal-section h2 {
  font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em;
  color: #0A1410; margin-bottom: 0.75rem; padding-top: 2rem;
  border-top: 1px solid #EAEAE2;
}
.legal-section h3 { font-size: 0.9375rem; font-weight: 700; color: #0A1410; margin-top: 1.25rem; margin-bottom: 0.5rem; }
.legal-section p { font-size: 0.9375rem; color: #4A4A45; margin-bottom: 0.75rem; max-width: none; }
.legal-section ul { list-style: none; padding: 0; margin-bottom: 0.75rem; }
.legal-section ul li { font-size: 0.9375rem; color: #4A4A45; padding-left: 1.25rem; position: relative; margin-bottom: 0.375rem; }
.legal-section ul li::before { content: '—'; position: absolute; left: 0; color: #1D9E75; font-weight: 600; }

/* Striped waste indicator for budget bar */
.waste-stripe {
  background-image: linear-gradient(
    45deg,
    rgba(255,255,255,0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0.15) 75%,
    transparent 75%,
    transparent
  );
  background-size: 14px 14px;
}

/* Reframe section — pillar cards */
.reframe-card {
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s cubic-bezier(0.16,1,0.3,1),
              border-color 0.35s cubic-bezier(0.16,1,0.3,1);
}
.reframe-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29,158,117,0.25);
  box-shadow: 0 16px 48px -12px rgba(10,20,16,0.1), 0 0 0 1px rgba(29,158,117,0.08);
}

/* Shimmer on hover */
.reframe-card-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(29,158,117,0.07), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.reframe-card:hover .reframe-card-shine { opacity: 1; }

/* Bottom accent bar that grows in on hover */
.reframe-card-bar {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #1D9E75, rgba(29,158,117,0.2));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.reframe-card:hover .reframe-card-bar { transform: scaleX(1); }

/* Sprint pricing support cards */
.sprint-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 72rem;
  margin: clamp(3rem, 5vw, 4rem) auto 0;
  align-items: stretch;
}

.sprint-info-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #EAEAE2;
  border-radius: 16px;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  box-shadow: 0 1px 0 rgba(10,20,16,0.04);
  transition: border-color .25s ease, transform .25s ease;
}

.sprint-info-card:hover {
  border-color: #C0E8D8;
  transform: translateY(-2px);
}

.support-header {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.support-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  color: #0F6E56;
  background: #E1F5EE;
  border: 1px solid #C0E8D8;
  border-radius: 14px;
}

.support-kicker {
  margin-bottom: .35rem;
  color: #0F6E56;
  font-size: .75rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.support-title {
  margin: 0;
  color: #0A1410;
  font-size: clamp(1.125rem, 1.6vw, 1.35rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.support-copy {
  max-width: none;
  margin: 0 0 1.4rem;
  color: #4A4A45;
  font-size: .95rem;
  line-height: 1.72;
  text-wrap: pretty;
}

.revision-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  margin-top: auto;
  padding-top: .15rem;
}

.revision-item p,
.selection-row p {
  max-width: none;
  margin: 0;
  color: #4A4A45;
  font-size: .875rem;
  line-height: 1.62;
}

.revision-label {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 1.5rem;
  margin-bottom: .55rem;
  color: #0A1410;
  font-size: .875rem;
  line-height: 1.25;
  font-weight: 750;
}

.selection-list {
  display: grid;
  gap: .9rem;
  margin-top: .1rem;
  margin-left: .6rem;
}

.selection-row {
  display: grid;
  grid-template-columns: 1.65rem minmax(0, 1fr);
  gap: .45rem;
  align-items: start;
}

.selection-number {
  display: inline-grid;
  min-width: 1.65rem;
  height: 1.35rem;
  place-items: center;
  color: #0A1410;
  background: #F4F7F4;
  border: 1px solid #D8D7CF;
  border-radius: 999px;
  font-size: .6875rem;
  line-height: 1;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.selection-row p span {
  color: #0A1410;
  font-weight: 800;
}

.sprint-unsure {
  max-width: 72rem;
  margin: clamp(2.4rem, 4vw, 3.5rem) auto 0;
  text-align: center;
}

.sprint-unsure p {
  max-width: none;
  margin: 0;
  color: #0A1410;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

@media (max-width: 900px) {
  .sprint-support-grid,
  .revision-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .support-header {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: .85rem;
  }

  .support-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
  }

  .selection-row {
    grid-template-columns: 1.65rem minmax(0, 1fr);
    gap: .45rem;
  }

  .selection-number {
    min-width: 1.65rem;
  }

  .selection-list {
    margin-left: .45rem;
  }
}

/* Hamburger menu bars */
.hamburger-bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #0A1410;
  border-radius: 999px;
  transition: all 0.3s ease;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Contact form status messages */
.form-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.form-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

/* Ensure honeypot is always hidden */
input[name="website"] {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none !important;
}

/* ══════════════════════════════════════════════════
   AD WASTE / WEBSITE LEAK CALCULATOR
   ══════════════════════════════════════════════════ */

.calc-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 40px 40px 36px;
}
@media(max-width:600px){ .calc-card{ padding: 28px 20px 24px; } }

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  margin-bottom: 32px;
}
@media(max-width:640px){ .calc-grid{ grid-template-columns:1fr; gap:20px; } }

.input-group { display: flex; flex-direction: column; gap: 8px; }
.input-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .03em;
}
.input-wrap { position: relative; display: flex; align-items: center; }
.input-prefix {
  position: absolute;
  left: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #5DCAA5;
  pointer-events: none;
  z-index: 1;
}
.calc-input, .calc-select {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 8px;
  color: #fff;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 14px 13px 36px;
  outline: none;
  transition: border-color .2s, background .2s;
  appearance: none;
  -webkit-appearance: none;
}
.calc-select { padding-left: 14px; cursor: pointer; }
.calc-input:focus, .calc-select:focus {
  border-color: #1D9E75;
  background: rgba(29,158,117,.08);
}
.calc-input::placeholder { color: rgba(255,255,255,.3); }
.calc-select option { background: #0A1410; color: #fff; }

.input-hint {
  font-size: 11.5px;
  color: rgba(255,255,255,.4);
  line-height: 1.4;
}

.calc-btn-wrap { margin-bottom: 36px; }

.calc-results { display: none; animation: fadeUp .35s ease both; }
.calc-results.visible { display: block; }
@keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

.results-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-bottom: 28px;
}
.results-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}

.results-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-bottom: 28px;
}
@media(max-width:620px){ .results-stats{ grid-template-columns:1fr; } }

.stat-box {
  border-radius: 10px;
  padding: 20px 20px 18px;
  border: 1px solid rgba(255,255,255,.1);
}
.stat-box.red   { background: rgba(216,90,48,.12);  border-color: rgba(216,90,48,.25); }
.stat-box.amber { background: rgba(245,158,11,.10); border-color: rgba(245,158,11,.25); }
.stat-box.green { background: rgba(29,158,117,.10); border-color: rgba(29,158,117,.25); }

.stat-box-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.stat-box.red   .stat-box-label { color: #FACA9A; }
.stat-box.amber .stat-box-label { color: #FCD34D; }
.stat-box.green .stat-box-label { color: #5DCAA5; }

.stat-box-number {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.stat-box.red   .stat-box-number { color: #FACA9A; }
.stat-box.amber .stat-box-number { color: #FCD34D; }
.stat-box.green .stat-box-number { color: #5DCAA5; }

.stat-box-desc {
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
  line-height: 1.45;
}

.verdict-block {
  background: rgba(255,255,255,.04);
  border-left: 3px solid #1D9E75;
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin-bottom: 28px;
}
.verdict-text { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.82); }
.verdict-text strong { color: #fff; }

.results-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1D9E75;
  color: #fff;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s, transform .15s;
}
.cta-primary:hover { background: #0F6E56; transform: translateY(-1px); }
.cta-secondary {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Manrope', system-ui, sans-serif;
  transition: color .2s;
}
.cta-secondary:hover { color: #fff; }

.calc-footnote {
  margin-top: 24px;
  font-size: 11.5px;
  color: rgba(255,255,255,.3);
  line-height: 1.6;
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.data-strip {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 16px;
  padding-top: 20px;
  flex-wrap: wrap;
}
.data-item {
  flex: 1 1 180px;
  padding: 0 20px 0 0;
  border-right: 1px solid rgba(255,255,255,.08);
  margin-right: 20px;
}
.data-item:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.data-item-num {
  font-size: 22px;
  font-weight: 800;
  color: #5DCAA5;
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 5px;
}
.data-item-label { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.4; }
@media(max-width:600px){
  .data-strip { gap: 16px; }
  .data-item { border-right: none; margin-right: 0; padding-right: 0; flex: 1 1 140px; }
}
