/* ===================================================================
   ColdCallable — Section styles (beyond hero)
   =================================================================== */

/* ─── Section head (shared) ──────────────────────────────────── */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2       { margin-bottom: 16px; }
.section-head p { font-size: 17px; line-height: 1.6; color: var(--gray-600); }
@media (min-width: 768px) { .section-head { margin-bottom: 72px; } }

/* ─── Features ───────────────────────────────────────────────── */
.features { background: var(--color-white); position: relative; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px)  { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-2xl);
  background: var(--color-white);
  border: 1px solid var(--gray-200);
  transition: all 250ms var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}
.feature-card:hover {
  border-color: var(--gray-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
/* Touch devices — skip hover lift to avoid sticky states */
@media (hover: none) { .feature-card:hover { transform: none; } }

.feature-card .glyph {
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(77,168,255,0.10), rgba(77,168,255,0.04));
  border: 1px solid rgba(77,168,255,0.20);
  display: grid; place-items: center;
  color: var(--color-primary); margin-bottom: 20px;
}
.feature-card.warm .glyph {
  background: linear-gradient(135deg, rgba(255,122,60,0.10), rgba(255,122,60,0.04));
  border-color: rgba(255,122,60,0.22); color: var(--color-accent);
}
.feature-card.mint .glyph {
  background: linear-gradient(135deg, rgba(62,207,142,0.10), rgba(62,207,142,0.04));
  border-color: rgba(62,207,142,0.22); color: var(--color-success);
}
.feature-card h3 { margin-bottom: 8px; font-size: 19px; }
.feature-card p  { color: var(--gray-600); font-size: 15px; line-height: 1.6; }

.feature-card.span-2 { grid-column: span 1; }
@media (min-width: 1024px) { .feature-card.span-2 { grid-column: span 2; } }

/* ─── How it works ───────────────────────────────────────────── */
.how { background: var(--color-frost); position: relative; }

.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 1024px) { .how-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.step {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 250ms var(--ease-out);
}
.step:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
@media (hover: none) { .step:hover { transform: none; } }

.step .step-no {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--color-primary); margin-bottom: 16px; display: block;
}
.step h3  { font-size: 20px; margin-bottom: 10px; }
.step p   { color: var(--gray-600); font-size: 15px; line-height: 1.6; }

.step .step-visual {
  margin-top: 20px;
  border-radius: var(--radius-lg);
  background: var(--color-frost);
  border: 1px solid var(--gray-200);
  padding: 16px;
  min-height: 100px;
  font-family: var(--font-mono);
  font-size: 12px; line-height: 1.6;
  color: var(--gray-700);
  display: flex; flex-direction: column; gap: 6px;
}
.step .step-visual .line  { display: flex; gap: 8px; align-items: center; }
.step .step-visual .tag {
  display: inline-flex;
  height: 18px; padding: 0 8px;
  align-items: center;
  font-size: 10px; font-weight: 600; letter-spacing: 0.04em;
  border-radius: 4px; flex-shrink: 0;
}
.step .step-visual .tag.you   { background: rgba(77,168,255,0.12); color: var(--color-primary); }
.step .step-visual .tag.them  { background: var(--gray-200); color: var(--gray-700); }
.step .step-visual .tag.ai    { background: rgba(62,207,142,0.14); color: var(--color-success); }
.step .step-visual .bar {
  display: inline-block; height: 6px;
  background: var(--color-primary); border-radius: 999px;
}

/* ─── Live demo section ──────────────────────────────────────── */
.demo {
  background: var(--color-midnight);
  color: var(--color-frost);
  position: relative; overflow: hidden;
}
.demo::before {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(77,168,255,0.18), transparent 70%);
  top: 20%; right: -200px; filter: blur(60px);
}
.demo .container { position: relative; z-index: 1; }

.demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) { .demo-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

.demo h2       { color: var(--color-frost); margin-bottom: 16px; }
.demo p.lede   { font-size: 17px; color: rgba(246,249,252,0.72); max-width: 480px; line-height: 1.6; }

/* Persona picker */
.persona-picker { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; }
.persona-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 200ms var(--ease-out);
  cursor: pointer; text-align: left; width: 100%;
  min-height: 64px;
}
.persona-row:hover  { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); }
.persona-row.active { background: rgba(77,168,255,0.10); border-color: rgba(77,168,255,0.40); box-shadow: 0 0 0 1px rgba(77,168,255,0.20); }
.persona-row .av {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  color: white; font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.persona-row .info              { flex: 1; min-width: 0; }
.persona-row .info .name        { font-weight: 600; font-size: 15px; }
.persona-row .info .role        { font-size: 13px; color: rgba(246,249,252,0.6); }
.persona-row .difficulty        { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; color: rgba(246,249,252,0.55); }
.persona-row .difficulty .bars  { display: inline-flex; gap: 2px; }
.persona-row .difficulty .bars span { width: 3px; height: 10px; border-radius: 2px; background: rgba(255,255,255,0.15); }
.persona-row .difficulty .bars span.on { background: var(--color-accent); }

/* Demo screen */
.demo-screen {
  position: relative;
  border-radius: var(--radius-2xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  box-shadow: var(--shadow-xl), var(--shadow-glow-blue);
  min-height: 420px;
  display: flex; flex-direction: column;
}
.demo-screen .top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.demo-screen .top .who { display: flex; align-items: center; gap: 12px; }
.demo-screen .top .who .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: white; font-weight: 700; font-size: 15px; }
.demo-screen .top .who .name { font-weight: 600; font-size: 15px; }
.demo-screen .top .who .role { font-size: 12px; color: rgba(246,249,252,0.55); }
.demo-screen .top .timer {
  font-family: var(--font-mono); font-size: 13px; color: var(--color-success);
  display: inline-flex; align-items: center; gap: 6px;
}
.demo-screen .top .timer .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-success); box-shadow: 0 0 8px var(--color-success);
  animation: pulse-dot 1.6s infinite;
}
.demo-screen .stream {
  flex: 1; margin-top: 16px;
  display: flex; flex-direction: column; gap: 12px; overflow: hidden;
}
.stream .line { display: flex; flex-direction: column; gap: 4px; animation: bubble-in 500ms var(--ease-out) backwards; }
.stream .line .speaker { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(246,249,252,0.5); }
.stream .line.you .speaker      { color: var(--color-primary); }
.stream .line.prospect .speaker { color: var(--color-accent); }
.stream .line .bubble  { align-self: flex-start; max-width: 90%; }
.stream .line.you      .bubble { background: rgba(77,168,255,0.16); border: 1px solid rgba(77,168,255,0.25); }
.stream .line.prospect .bubble { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); }
.stream .typing {
  align-self: flex-start; padding: 12px 14px;
  background: rgba(255,255,255,0.06); border-radius: 14px;
  display: inline-flex; gap: 4px;
}
.stream .typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(246,249,252,0.5); animation: typing 1.2s infinite;
}
.stream .typing span:nth-child(2) { animation-delay: 0.15s; }
.stream .typing span:nth-child(3) { animation-delay: 0.30s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30%           { opacity: 1; transform: translateY(-3px); }
}
.demo-screen .footer-row {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; gap: 8px; flex-wrap: wrap;
}
.demo-screen .chip {
  font-size: 12px; font-weight: 500;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  color: rgba(246,249,252,0.75);
  display: inline-flex; gap: 6px; align-items: center;
}
.demo-screen .chip.good { color: var(--color-success); background: rgba(62,207,142,0.08); border-color: rgba(62,207,142,0.30); }
.demo-screen .chip.warn { color: var(--color-warning); background: rgba(255,181,71,0.08); border-color: rgba(255,181,71,0.30); }

/* ─── Stats ──────────────────────────────────────────────────── */
.stats { background: var(--color-frost); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.stat {
  text-align: center;
  padding: 28px 16px;
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--gray-200);
}
@media (min-width: 768px) { .stat { padding: 32px 16px; } }

.stat .big {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { margin-top: 12px; font-size: 14px; color: var(--gray-600); line-height: 1.4; }

/* ─── Testimonials marquee ───────────────────────────────────── */
.testimonials { background: var(--color-white); overflow: hidden; position: relative; }
.marquee {
  margin-top: 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex; gap: 16px;
  width: max-content;
  animation: scroll-x 60s linear infinite;
}
@media (min-width: 768px) { .marquee-track { gap: 20px; } }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

.testimonial {
  width: 300px; flex-shrink: 0;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: var(--color-frost);
  border: 1px solid var(--gray-200);
  display: flex; flex-direction: column; gap: 14px;
}
@media (min-width: 640px) { .testimonial { width: 340px; padding: 24px; } }
.testimonial .stars { display: inline-flex; gap: 2px; color: var(--color-accent); }
.testimonial .quote { font-size: 14px; line-height: 1.55; color: var(--color-midnight); text-wrap: pretty; }
@media (min-width: 640px) { .testimonial .quote { font-size: 15px; } }
.testimonial .author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial .author .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: white; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.testimonial .author .meta .name { font-weight: 600; color: var(--color-midnight); font-size: 14px; }
.testimonial .author .meta .role { color: var(--gray-500); font-size: 12px; }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq { background: var(--color-white); }
.faq-list {
  max-width: 760px; margin: 0 auto;
  border-top: 1px solid var(--gray-200);
}
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0;
  font-size: 16px; font-weight: 600;
  color: var(--color-midnight);
  transition: color 150ms;
  min-height: 44px;
}
@media (min-width: 640px) { .faq-q { font-size: 18px; padding: 24px 0; } }
.faq-q:hover { color: var(--color-primary); }
.faq-q .icon {
  flex-shrink: 0; width: 28px; height: 28px;
  border-radius: 50%; background: var(--gray-100);
  display: grid; place-items: center;
  color: var(--gray-600);
  transition: transform 200ms var(--ease-out), background 200ms;
  position: relative;
}
.faq-q .icon::before, .faq-q .icon::after {
  content: ''; position: absolute;
  background: currentColor; border-radius: 1px;
}
.faq-q .icon::before { width: 12px; height: 2px; }
.faq-q .icon::after  { width: 2px; height: 12px; transition: transform 200ms; }
.faq-item.open .faq-q .icon { background: var(--color-primary); color: white; }
.faq-item.open .faq-q .icon::after { transform: rotate(90deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 250ms var(--ease-out); }
.faq-item.open .faq-a { max-height: 280px; }
.faq-a-inner {
  padding-bottom: 20px;
  color: var(--gray-600); font-size: 15px; line-height: 1.65;
  max-width: 640px;
}
@media (min-width: 640px) { .faq-a-inner { padding-bottom: 24px; } }

/* ─── Final CTA ──────────────────────────────────────────────── */
.final-cta {
  background: var(--color-midnight);
  color: var(--color-frost);
  position: relative; overflow: hidden;
  text-align: center;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 50% 100%, rgba(255,122,60,0.20) 0%, transparent 60%),
    radial-gradient(700px 400px at 50% 0%, rgba(77,168,255,0.18) 0%, transparent 60%);
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2         { color: var(--color-frost); max-width: 760px; margin: 0 auto 20px; }
.final-cta p          { font-size: 17px; color: rgba(246,249,252,0.7); max-width: 520px; margin: 0 auto; }
.final-cta .email-capture { margin: 32px auto 14px; }
.final-cta .footnote  { font-size: 13px; color: rgba(246,249,252,0.45); }

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--color-midnight);
  color: rgba(246,249,252,0.6);
  padding: 56px 0 32px;
  padding-bottom: calc(32px + var(--safe-bottom));
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p     { font-size: 14px; color: rgba(246,249,252,0.5); max-width: 260px; line-height: 1.6; }

.footer-col h5 {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(246,249,252,0.4); margin-bottom: 14px;
}
.footer-col ul   { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a    { font-size: 14px; color: rgba(246,249,252,0.65); transition: color 150ms; min-height: 32px; display: flex; align-items: center; }
.footer-col a:hover { color: var(--color-frost); }

.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 12px;
  font-size: 13px; color: rgba(246,249,252,0.4);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom .socials { display: inline-flex; gap: 10px; }
.footer-bottom .socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(246,249,252,0.65);
  transition: all 150ms;
}
.footer-bottom .socials a:hover { background: rgba(255,255,255,0.12); color: var(--color-frost); }

/* Grounding page link in footer */
.footer-grounding {
  font-size: 12px;
  color: rgba(246,249,252,0.30);
  transition: color 150ms;
}
.footer-grounding:hover { color: rgba(246,249,252,0.60); }
