/* ==================== BASE & HERO SYSTEM ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: var(--surface-muted);
  color: var(--ink-800);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ==================== SHELL ==================== */
.ph {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 5rem 0 5.5rem;
  background-color: var(--surface-muted);
}

.ph-container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.ph-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 3.5rem;
  align-items: center;
}

.ph-grid.is-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.ph-center {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.ph-center .ph-lead { margin-left: auto; margin-right: auto; }
.ph-center .ph-ctas,
.ph-center .ph-points,
.ph-center .ph-proof { justify-content: center; }

/* Soft brand mesh + fading grid behind the hero */
.ph-mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 18%, rgba(59, 123, 246, 0.14), transparent 38%),
    radial-gradient(circle at 88% 22%, rgba(99, 102, 241, 0.12), transparent 40%),
    radial-gradient(circle at 70% 95%, rgba(14, 165, 233, 0.10), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, var(--surface-muted) 100%);
}

.ph-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}

/* Dark navy variant (automation, security, small business) */
.ph-dark {
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 10%, rgba(59, 123, 246, 0.38), transparent 42%),
    radial-gradient(circle at 5% 90%, rgba(99, 102, 241, 0.25), transparent 40%),
    linear-gradient(135deg, var(--ink-900), #13254a);
}

.ph-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 80%);
}

.ph-dark .ph-title { color: #ffffff; }
.ph-dark .ph-lead { color: #b6c4dc; }
.ph-dark .ph-eyebrow { color: #8fb4ff; }
.ph-dark .ph-points li { color: #d5def0; }
.ph-dark .ph-proof-text strong { color: #ffffff; }
.ph-dark .ph-proof-text span { color: var(--ink-400); }

/* Decorative blurred orbs */
.ph-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  animation: phDrift 14s ease-in-out infinite alternate;
}

/* ==================== TYPOGRAPHY ==================== */
.ph-badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.9rem 0.3rem 0.3rem;
  margin-bottom: 1.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-700);
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ph-badge b {
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  border-radius: 999px;
}

.ph-dark .ph-badge {
  color: #d5def0;
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.ph-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-600);
}

.ph-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
}

.ph-title {
  font-size: clamp(2.3rem, 4.6vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink-900);
  margin-bottom: 1.25rem;
}

/* Headings use one solid colour: the highlighted phrase inherits the heading colour */
.ph-hl {
  color: inherit;
  background: none;
}

.ph-lead {
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-600);
}

/* ==================== CTAs ==================== */
.ph-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
  margin-top: 2rem;
}

.ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 50px;
  padding: 0 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.ph-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease);
}

.ph-btn:hover svg { transform: translateX(3px); }

.ph-btn.solid {
  color: #ffffff;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 24px -4px rgba(37, 99, 235, 0.45);
}

.ph-btn.solid:hover {
  background: linear-gradient(180deg, var(--brand-600), var(--brand-700));
  transform: translateY(-2px);
}

.ph-btn.ghost {
  color: var(--ink-800);
  background-color: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.ph-btn.ghost:hover { border-color: #cfe0fb; transform: translateY(-2px); }

.ph-dark .ph-btn.ghost {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.ph-dark .ph-btn.ghost:hover { background-color: rgba(255, 255, 255, 0.14); }

/* Check-list under the CTAs */
.ph-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 1.75rem;
  list-style: none;
}

.ph-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-600);
}

.ph-points li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat,
    linear-gradient(180deg, #34d399, #10b981);
}

/* Avatar social proof */
.ph-proof {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.ph-proof-stack { display: flex; }

.ph-proof-stack img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #ffffff;
  box-shadow: 0 4px 10px rgba(11, 19, 36, 0.12);
}

.ph-proof-stack img + img { margin-left: -10px; }

.ph-proof-text strong { display: block; font-size: 0.875rem; font-weight: 700; color: var(--ink-900); }
.ph-proof-text span { font-size: 0.8rem; color: var(--ink-500); }
.ph-proof-text .stars { color: #f59e0b; letter-spacing: 1px; }

/* ==================== MOCKUP PRIMITIVES ==================== */
.ph-stage {
  position: relative;
}

/* Browser window */
.ph-browser {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.ph-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  height: 40px;
  padding: 0 1rem;
  background-color: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.ph-dots { display: flex; gap: 6px; }
.ph-dots i { width: 10px; height: 10px; border-radius: 50%; background-color: #e2e8f0; }
.ph-dots i:nth-child(1) { background-color: #fca5a5; }
.ph-dots i:nth-child(2) { background-color: #fcd34d; }
.ph-dots i:nth-child(3) { background-color: #86efac; }

.ph-url {
  flex: 1;
  max-width: 320px;
  margin: 0 auto;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-500);
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.ph-url svg { width: 11px; height: 11px; }

/* Phone */
.ph-phone {
  position: relative;
  width: 280px;
  height: 572px;
  padding: 11px;
  border-radius: 44px;
  background: linear-gradient(160deg, #1e293b, #0b1324);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 40px 80px -20px rgba(11, 19, 36, 0.45),
    0 12px 24px rgba(11, 19, 36, 0.15);
}

.ph-phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background-color: #ffffff;
}

.ph-phone-screen::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 5;
  width: 86px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background-color: #0b1324;
}

.ph-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 1.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-900);
}

.ph-status i { display: inline-flex; gap: 3px; }
.ph-status i b { width: 3px; border-radius: 1px; background-color: currentColor; }
.ph-status i b:nth-child(1) { height: 4px; margin-top: 4px; }
.ph-status i b:nth-child(2) { height: 6px; margin-top: 2px; }
.ph-status i b:nth-child(3) { height: 8px; }

/* Floating glass card */
.ph-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem 0.7rem 0.7rem;
  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
}

.ph-card strong { display: block; font-size: 0.8rem; font-weight: 700; color: var(--ink-900); line-height: 1.3; }
.ph-card span:not(.ph-ico):not(.ph-pill):not(.ph-av) { display: block; font-size: 0.72rem; color: var(--ink-500); line-height: 1.35; }

/* Icon tile */
.ph-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--ic, var(--brand-600));
  background-color: var(--ib, #e0edff);
}

.ph-ico svg,
svg.ph-i {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Gradient initials avatar */
.ph-av {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.66rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--av, linear-gradient(135deg, #60a5fa, #2563eb));
}

/* Status pill */
.ph-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.55rem;
  font-size: 0.66rem;
  font-weight: 700;
  border-radius: 999px;
  color: var(--tc, var(--brand-700));
  background-color: var(--tb, #e0edff);
}

/* Photo frame used by industry pages */
.ph-photo {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.ph-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== ANIMATION ==================== */
.ph-in {
  animation: phUp 0.85s var(--ease) both;
}

.ph-in.d1 { animation-delay: 0.08s; }
.ph-in.d2 { animation-delay: 0.16s; }
.ph-in.d3 { animation-delay: 0.24s; }
.ph-in.d4 { animation-delay: 0.36s; }
.ph-in.d5 { animation-delay: 0.5s; }

.ph-float { animation: phFloat 6s ease-in-out infinite; }
.ph-float.f2 { animation-duration: 7s; animation-delay: -2s; }
.ph-float.f3 { animation-duration: 8s; animation-delay: -4s; }

/* A floating card that also fades in: wrap the float around the entrance */
.ph-pop { animation: phPop 0.7s var(--ease) both; }

@keyframes phUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes phPop {
  from { opacity: 0; transform: scale(0.85) translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes phFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes phDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -20px) scale(1.1); }
}

@keyframes phPulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes phBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .ph { padding: 4rem 0 4.5rem; }
  .ph-grid,
  .ph-grid.is-even { grid-template-columns: 1fr; gap: 3rem; }
  .ph-copy { max-width: 680px; }
}

@media (max-width: 768px) {
  .ph-container { padding: 0 1.25rem; }
  .ph-lead { font-size: 1rem; }
}

@media (max-width: 580px) {
  .ph { padding: 3rem 0 3.5rem; }
  .ph-title { font-size: 2.15rem; }
  .ph-ctas .ph-btn { width: 100%; }
  .ph-card { padding: 0.55rem 0.75rem 0.55rem 0.55rem; }
  .ph-card .ph-ico { width: 30px; height: 30px; }
}

/* Base styles are always the finished, visible state, so turning animation off is safe */
@media (prefers-reduced-motion: reduce) {
  .ph *,
  .ph *::before,
  .ph *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ==================== REMINDER STREAM + AGENDA ==================== */
.fu-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: center; }

/* Infinite vertical ticker of notifications */
.fu-stream {
  position: relative;
  height: 500px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.fu-track { display: grid; gap: 0.8rem; animation: fuScroll 22s linear infinite; }
.fu-stream:hover .fu-track { animation-play-state: paused; }

.fu-note {
  display: flex;
  gap: 0.7rem;
  padding: 0.85rem;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.fu-note b { display: block; font-size: 0.76rem; font-weight: 700; color: var(--ink-900); line-height: 1.35; }
.fu-note small { display: block; margin-top: 0.1rem; font-size: 0.66rem; color: var(--ink-500); line-height: 1.4; }
.fu-note .fu-when { margin-left: auto; flex-shrink: 0; font-size: 0.6rem; font-weight: 700; color: var(--ink-400); }
.fu-note .fu-act { display: inline-flex; gap: 0.35rem; margin-top: 0.5rem; }
.fu-act span { padding: 0.25rem 0.6rem; font-size: 0.62rem; font-weight: 700; border-radius: 7px; color: var(--ink-700); background-color: var(--surface-muted); border: 1px solid var(--line); }
.fu-act span.go { color: #fff; border-color: transparent; background: linear-gradient(180deg, var(--brand-500), var(--brand-600)); }
.fu-note.hot { border-color: #fecaca; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08), var(--shadow-md); }

/* Agenda card */
.fu-agenda {
  position: relative;
  padding: 1.2rem;
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
.fu-ag-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.fu-ag-head h3 { font-size: 0.92rem; font-weight: 800; color: var(--ink-900); }
.fu-ag-head small { font-size: 0.68rem; color: var(--ink-500); }

.fu-ring { position: relative; width: 58px; height: 58px; flex-shrink: 0; }
.fu-ring svg { width: 58px; height: 58px; transform: rotate(-90deg); }
.fu-ring circle { fill: none; stroke-width: 6; }
.fu-ring .t { stroke: #e0edff; }
.fu-ring .v { stroke: var(--brand-600); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 36; animation: fuRing 1.6s var(--ease) 0.6s both; }
.fu-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 0.74rem; font-weight: 800; color: var(--ink-900); }

.fu-list { display: grid; gap: 0.5rem; }
.fu-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.65rem; border-radius: 12px; background-color: var(--surface-muted); font-size: 0.72rem; font-weight: 600; color: var(--ink-800); }
.fu-item em { margin-left: auto; font-style: normal; font-size: 0.62rem; font-weight: 700; color: var(--ink-500); }
.fu-check { display: grid; place-items: center; flex-shrink: 0; width: 18px; height: 18px; border-radius: 6px; border: 2px solid #cbd5e1; background-color: #fff; }
.fu-check svg { width: 11px; height: 11px; stroke: #fff; stroke-width: 3.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fu-item.done { color: var(--ink-400); }
.fu-item.done span:not(.fu-check) { text-decoration: line-through; }
.fu-item.done .fu-check { border-color: transparent; background-color: #10b981; animation: phPop 0.4s var(--ease) both; }
.fu-item.done:nth-child(1) .fu-check { animation-delay: 1s; }
.fu-item.done:nth-child(2) .fu-check { animation-delay: 1.4s; }
.fu-item.now { background-color: #eff5ff; box-shadow: inset 3px 0 0 var(--brand-600); }

.fu-cold { position: absolute; left: -2.5rem; bottom: -3rem; }
.fu-cold .ph-ico { --ic: #0891b2; --ib: #cffafe; }

@keyframes fuScroll { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 0.4rem)); } }
@keyframes fuRing { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 36; } }

@media (max-width: 580px) {
  .fu-stage { grid-template-columns: 1fr; }
  .fu-stream { height: 300px; order: 2; }
  .fu-cold { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fu-stream { overflow: auto; }
}

/* ==================== PAGE SECTIONS ==================== */
.lf-sec { position: relative; padding: 6.5rem 0; overflow: hidden; }
.lf-sec.white { background-color: var(--surface); }
.lf-wrap { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.lf-sec h2, .lf-sec h3, .lf-sec h4 { color: var(--ink-900); }
.lf-eb { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-600); }
.lf-eb::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 3px solid currentColor; }
.lf-h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.035em; }
.lf-p { margin-top: 1rem; font-size: 1.03rem; line-height: 1.75; color: var(--ink-600); }
.lf-head { max-width: 760px; margin: 0 auto 3.5rem; text-align: center; }

.rv-on [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rv-on [data-rv].in { opacity: 1; transform: none; }

/* ---------- 1. Lead temperature ---------- */
/* Compact section: sized to fit one laptop screen */
.lf-sec.lf-fit { padding: 4rem 0; }
.lf-fit .lf-h2 { font-size: clamp(1.8rem, 2.9vw, 2.3rem); }
.lf-fit .lf-p { margin-top: 0.8rem; font-size: 1rem; line-height: 1.65; }

.lf-temp-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; align-items: center; }

/* Reasons list */
.lf-why { margin-top: 1.5rem; list-style: none; border-top: 1px solid var(--line); }
.lf-why li { display: flex; align-items: center; gap: 0.9rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.lf-why-i { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; color: #e11d48; background-color: #fff1f2; border: 1px solid #ffe4e6; }
.lf-why-i svg, .lf-fix-i svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lf-why h3 { font-size: 0.97rem; font-weight: 700; line-height: 1.35; }
.lf-why p { margin-top: 0.1rem; font-size: 0.87rem; line-height: 1.5; color: var(--ink-500); }

.lf-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.5rem; }
.lf-cta small { font-size: 0.84rem; font-weight: 600; color: var(--ink-500); }
.rv-on [data-rv] .lf-why li { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.6s var(--ease); }
.rv-on [data-rv].in .lf-why li { opacity: 1; transform: none; }
.rv-on [data-rv].in .lf-why li:nth-child(1) { transition-delay: 0.2s; }
.rv-on [data-rv].in .lf-why li:nth-child(2) { transition-delay: 0.32s; }
.rv-on [data-rv].in .lf-why li:nth-child(3) { transition-delay: 0.44s; }

.lf-fix { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.25rem; padding: 0.85rem 1.1rem; border-radius: 16px; background: linear-gradient(135deg, #eff5ff, #f5f3ff); border: 1px solid #dbe7fd; }
.lf-fix-i { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: linear-gradient(180deg, var(--brand-500), var(--brand-600)); box-shadow: 0 6px 14px -4px rgba(37, 99, 235, 0.45); }
.lf-fix-i svg { width: 17px; height: 17px; stroke-width: 2.6; }
.lf-fix p { font-size: 0.9rem; line-height: 1.55; color: var(--ink-700); }
.lf-fix strong { color: var(--ink-900); }

/* Chart card */
.lf-temp { position: relative; padding: 1.5rem 1.6rem; background-color: #fff; border: 1px solid #e6edf7; border-radius: 24px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 28px 56px -32px rgba(37, 99, 235, 0.3); }

/* Header */
.lf-temp-h { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0.75rem 1rem; }
.lf-temp-h b { display: block; font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink-900); }
.lf-temp-h small { display: block; margin-top: 0.15rem; font-size: 0.8rem; color: var(--ink-500); }
.lf-won { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.7rem; font-size: 0.72rem; font-weight: 700; white-space: nowrap; color: #047857; background-color: #f0fdf7; border: 1px solid #c6f2dd; border-radius: 999px; }
.lf-won::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background-color: #10b981; }

/* Legend */
.lf-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; margin: 0.9rem 0 1.25rem; font-size: 0.78rem; color: var(--ink-500); }
.lf-legend span::before { content: ""; display: inline-block; vertical-align: middle; width: 18px; height: 3px; margin: -2px 0.5rem 0 0; border-radius: 2px; background: linear-gradient(90deg, #f43f5e, #fb923c); }
.lf-legend span.off::before { background: repeating-linear-gradient(90deg, #93c5fd 0 5px, transparent 5px 8px); }
.lf-legend strong { font-weight: 700; color: var(--ink-800); }

/* Plot */
.lf-plot { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 190px auto; column-gap: 0.85rem; }
.lf-yax { display: grid; grid-template-rows: repeat(3, 1fr); font-size: 0.7rem; font-weight: 600; color: var(--ink-400); }
.lf-yax span { display: flex; align-items: center; }
.lf-canvas { position: relative; }
.lf-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lf-canvas .grid { stroke: #edf1f7; stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.lf-canvas .base { stroke: #e2e8f0; stroke-width: 1; vector-effect: non-scaling-stroke; }
.lf-canvas .cold { fill: none; stroke: #93c5fd; stroke-width: 2; stroke-dasharray: 6 6; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lf-canvas .area { fill: url(#lfArea); }
.lf-canvas .warm { fill: none; stroke: url(#lfWarm); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.lf-warm { clip-path: inset(-12px -12px -12px -12px); }
.rv-on .lf-temp .lf-warm { clip-path: inset(-12px 100% -12px -12px); transition: clip-path 2.2s var(--ease) 0.3s; }
.rv-on .lf-temp.in .lf-warm { clip-path: inset(-12px -12px -12px -12px); }

/* Numbered reminder dots (HTML, so they never stretch) */
.lf-dot { position: absolute; left: var(--x); top: var(--y); z-index: 2; display: grid; place-items: center; width: 20px; height: 20px; margin: -10px 0 0 -10px; font-size: 0.62rem; font-weight: 800; color: var(--brand-600); background-color: #fff; border: 2px solid var(--brand-500); border-radius: 50%; box-shadow: 0 0 0 4px rgba(59, 123, 246, 0.12); }
.lf-end { width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 0; }
.lf-end.won { background-color: #10b981; box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.16); }
.lf-end.won::before { content: ""; position: absolute; inset: -5px; z-index: -1; border-radius: 50%; background-color: rgba(16, 185, 129, 0.3); animation: phPulse 2.2s ease-out infinite; }
.lf-end.lost { background-color: #fff; border: 2px solid #93c5fd; box-shadow: none; }
.rv-on .lf-temp .lf-dot { opacity: 0; scale: 0.6; transition: opacity 0.4s ease, scale 0.5s var(--ease); }
.rv-on .lf-temp.in .lf-dot { opacity: 1; scale: 1; transition-delay: var(--d, 0s); }

.lf-xax { grid-column: 2; position: relative; height: 1.1rem; margin-top: 0.7rem; }
.lf-xax span { position: absolute; left: var(--x); translate: -50% 0; font-size: 0.7rem; font-weight: 600; white-space: nowrap; color: var(--ink-400); }

/* Touchpoint strip */
.lf-touch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; margin-top: 1.25rem; padding-top: 1.1rem; list-style: none; border-top: 1px solid #eef2f7; }
.lf-touch li { display: flex; align-items: center; gap: 0.6rem; min-width: 0; padding: 0.6rem 0.7rem; border-radius: 12px; background-color: #f7faff; border: 1px solid #e8effb; }
.lf-touch i { display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; font-style: normal; font-size: 0.64rem; font-weight: 800; color: var(--brand-600); background-color: #fff; border: 2px solid var(--brand-500); border-radius: 50%; }
.lf-touch b { display: block; font-size: 0.78rem; font-weight: 700; line-height: 1.25; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lf-touch small { display: block; font-size: 0.7rem; color: var(--ink-500); }
.rv-on .lf-temp .lf-touch li { opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.5s var(--ease); }
.rv-on .lf-temp.in .lf-touch li { opacity: 1; transform: none; transition-delay: var(--d, 0s); }

/* ---------- 2. Staircase ---------- */
.lf-stairs { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 0.8rem; }
.lf-stair { position: relative; display: flex; flex-direction: column; justify-content: flex-start; padding: 1.5rem 1.4rem; color: var(--ink-900); background: linear-gradient(180deg, #fff, #f3f7ff); border: 1px solid #dbe7fd; border-radius: 22px 22px 8px 8px; box-shadow: 0 18px 30px -20px rgba(37, 99, 235, 0.45); transition: transform 0.35s var(--ease); }
.lf-stair:hover { transform: translateY(-8px); }
.lf-stair:nth-child(1) { height: 260px; }
.lf-stair:nth-child(2) { height: 320px; }
.lf-stair:nth-child(3) { height: 380px; }
.lf-stair:nth-child(4) { height: 440px; color: #fff; border-color: transparent; background: linear-gradient(170deg, var(--brand-500), #4f46e5); }
.lf-stair:nth-child(4) h3, .lf-stair:nth-child(4) p { color: #fff; }
.lf-stair .lvl { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-600); }
.lf-stair:nth-child(4) .lvl { color: #c7d7fe; }
.lf-stair h3 { margin-top: 0.6rem; font-size: 1.12rem; font-weight: 800; line-height: 1.3; }
.lf-stair p { margin-top: 0.5rem; font-size: 0.9rem; line-height: 1.6; color: var(--ink-600); }
.lf-stair i { margin-top: auto; font-style: normal; font-size: 1.8rem; }
.rv-on .lf-stairs .lf-stair { transform: translateY(60px); opacity: 0; transition: transform 0.8s var(--ease), opacity 0.6s ease; }
.rv-on .lf-stairs.in .lf-stair { transform: none; opacity: 1; }
.lf-stairs.in .lf-stair:nth-child(2) { transition-delay: 0.15s; } .lf-stairs.in .lf-stair:nth-child(3) { transition-delay: 0.3s; } .lf-stairs.in .lf-stair:nth-child(4) { transition-delay: 0.45s; }

/* ---------- 3. Metro map ---------- */
.lf-metro { position: relative; height: 260px; margin-top: 1rem; }
.lf-metro .line { position: absolute; left: 4%; right: 4%; top: 50%; height: 10px; margin-top: -5px; border-radius: 10px; background: linear-gradient(90deg, #94a3b8, #3b7bf6 30%, #f59e0b 55%, #8b5cf6 78%, #10b981); }
.lf-train { position: absolute; top: 50%; left: 4%; z-index: 2; display: flex; align-items: center; gap: 0.35rem; margin-top: -17px; padding: 0.45rem 0.8rem; font-size: 0.76rem; font-weight: 800; white-space: nowrap; color: #fff; border-radius: 999px; background-color: var(--ink-900); box-shadow: 0 8px 16px -6px rgba(11, 19, 36, 0.5); animation: lfTrain 10s ease-in-out infinite; }
.lf-train::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background-color: #34d399; }
.lf-st { position: absolute; top: 50%; left: var(--x); translate: -50% -50%; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background-color: #fff; border: 6px solid var(--c); box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.9); }
.lf-st span { position: absolute; left: 50%; width: 170px; translate: -50% 0; text-align: center; }
.lf-st:nth-of-type(odd) span { bottom: calc(100% + 16px); }
.lf-st:nth-of-type(even) span { top: calc(100% + 16px); }
.lf-st b { display: block; font-size: 0.95rem; font-weight: 800; color: var(--ink-900); }
.lf-st small { display: block; margin-top: 0.15rem; font-size: 0.78rem; line-height: 1.45; color: var(--ink-500); }
.lf-st:nth-of-type(3) { --x: 4%; --c: #94a3b8; }
.lf-st:nth-of-type(4) { --x: 27%; --c: #3b7bf6; }
.lf-st:nth-of-type(5) { --x: 50%; --c: #f59e0b; }
.lf-st:nth-of-type(6) { --x: 73%; --c: #8b5cf6; }
.lf-st:nth-of-type(7) { --x: 96%; --c: #10b981; }

.lf-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.lf-feat { display: flex; gap: 0.9rem; padding: 1.2rem; background-color: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color 0.3s ease, transform 0.3s var(--ease); }
.lf-feat:hover { border-color: #bfd4fb; transform: translateY(-4px); }
.lf-feat i { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; color: var(--brand-600); background-color: #e0edff; }
.lf-feat i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lf-feat h3 { font-size: 0.98rem; font-weight: 700; }
.lf-feat p { margin-top: 0.2rem; font-size: 0.86rem; line-height: 1.55; color: var(--ink-500); }

/* ---------- 4. Comparison table ---------- */
.lf-cmp { position: relative; display: grid; grid-template-columns: 1fr 1.15fr 1.25fr; max-width: 1000px; margin: 0 auto; padding: 0 1.5rem; background-color: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); }
.lf-cmp-hl { position: absolute; grid-column: 3; inset: -14px 0; border-radius: 22px; background: linear-gradient(180deg, #f3f8ff, #eaf2ff); border: 1.5px solid #bfd4fb; box-shadow: 0 24px 50px -24px rgba(37, 99, 235, 0.45); }
.lf-cmp-row { display: contents; }
.lf-cmp-cell { position: relative; z-index: 1; display: flex; align-items: center; gap: 0.75rem; min-height: 68px; padding: 1rem 1.5rem; font-size: 0.95rem; line-height: 1.45; border-top: 1px solid var(--line); }
.lf-cmp-cell.k { grid-column: 1; padding-left: 0.5rem; font-weight: 700; color: var(--ink-900); }
.lf-cmp-cell.m { grid-column: 2; color: var(--ink-500); }
.lf-cmp-cell.s { grid-column: 3; font-weight: 700; color: var(--ink-900); border-top-color: #d6e4fb; }
.lf-cmp-cell.k i { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; color: var(--brand-600); background-color: #eef4ff; }
.lf-cmp-cell.k svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lf-cmp-row:not(.lf-cmp-head):not(.lf-cmp-foot) .m::before,
.lf-cmp-row:not(.lf-cmp-head):not(.lf-cmp-foot) .s::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; }
.lf-cmp-row:not(.lf-cmp-head):not(.lf-cmp-foot) .m::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e11d48' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 10px no-repeat, #ffe4e6; }
.lf-cmp-row:not(.lf-cmp-head):not(.lf-cmp-foot) .s::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat, var(--brand-600); box-shadow: 0 4px 10px -3px rgba(37, 99, 235, 0.55); }

.lf-cmp-head .lf-cmp-cell { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 0.2rem; min-height: 0; padding-top: 2rem; padding-bottom: 1.25rem; border-top: none; }
.lf-cmp-head .k { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); }
.lf-cmp-head b { font-size: 1.08rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink-900); }
.lf-cmp-head .m b { color: var(--ink-600); }
.lf-cmp-head small { font-size: 0.8rem; font-weight: 500; color: var(--ink-500); }
.lf-cmp-head .s b { color: var(--brand-600); }
.lf-cmp-badge { align-self: flex-start; margin-bottom: 0.45rem; padding: 0.28rem 0.7rem; font-size: 0.68rem; font-style: normal; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, var(--brand-500), var(--brand-600)); border-radius: 999px; }
.lf-cmp-foot .lf-cmp-cell { min-height: 0; padding-top: 1.5rem; padding-bottom: 1.75rem; border-top: none; }
.lf-cmp-foot .s .ph-btn { width: 100%; justify-content: center; }

.rv-on .lf-cmp .lf-cmp-row:not(.lf-cmp-head) .lf-cmp-cell { opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.55s var(--ease); }
.rv-on .lf-cmp.in .lf-cmp-row .lf-cmp-cell { opacity: 1; transform: none; }
.lf-cmp.in .lf-cmp-row:nth-child(3) .lf-cmp-cell { transition-delay: 0.15s; } .lf-cmp.in .lf-cmp-row:nth-child(4) .lf-cmp-cell { transition-delay: 0.25s; }
.lf-cmp.in .lf-cmp-row:nth-child(5) .lf-cmp-cell { transition-delay: 0.35s; } .lf-cmp.in .lf-cmp-row:nth-child(6) .lf-cmp-cell { transition-delay: 0.45s; }
.lf-cmp.in .lf-cmp-row:nth-child(7) .lf-cmp-cell { transition-delay: 0.55s; } .lf-cmp.in .lf-cmp-row:nth-child(8) .lf-cmp-cell { transition-delay: 0.65s; }

.lf-ind { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.9rem; max-width: 1000px; margin: 4rem auto 0; }
.lf-ind .lf-ind-lbl { grid-column: 1 / -1; margin-bottom: 0.4rem; text-align: center; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); }
.lf-ind div { padding: 1.3rem 1.1rem; background-color: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease; }
.lf-ind div:hover { border-color: #bfd4fb; transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgba(15, 23, 42, 0.35); }
.lf-ind i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--brand-600); background-color: #eef4ff; }
.lf-ind i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lf-ind h3 { margin-top: 0.85rem; font-size: 0.95rem; font-weight: 700; }
.lf-ind p { margin-top: 0.25rem; font-size: 0.8rem; line-height: 1.5; color: var(--ink-500); }

@keyframes lfTrain {
  0%, 6% { left: 4%; translate: 0 0; }
  18%, 24% { left: 27%; translate: -50% 0; }
  38%, 44% { left: 50%; translate: -50% 0; }
  58%, 64% { left: 73%; translate: -50% 0; }
  82%, 100% { left: 96%; translate: -100% 0; }
}

@media (max-width: 1024px) {
  .lf-temp-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .lf-feats { grid-template-columns: repeat(2, 1fr); }
  .lf-stairs { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
  .lf-stair:nth-child(n) { height: auto; min-height: 220px; }
  .lf-ind { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .lf-sec { padding: 4.5rem 0; }
  .lf-wrap { padding: 0 1.25rem; }
  .lf-stairs, .lf-feats { grid-template-columns: 1fr; }
  .lf-metro { height: auto; display: grid; gap: 1.1rem; padding-left: 2.5rem; }
  .lf-metro .line { left: 14px; right: auto; top: 0; bottom: 0; width: 8px; height: auto; margin: 0; }
  .lf-train { display: none; }
  .lf-st { position: relative; top: auto; left: auto; translate: none; justify-self: start; margin-left: -2.5rem; }
  .lf-st span { position: static; translate: none; width: auto; margin-left: 3rem; text-align: left; white-space: normal; }
  .lf-st { display: flex; align-items: center; width: auto; height: auto; border: none; box-shadow: none; background: none; }
  .lf-st::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background-color: #fff; border: 5px solid var(--c); }
  .lf-st span { margin-left: 1rem; }
  .lf-cmp { display: block; padding: 0.5rem 1rem; border-radius: 20px; }
  .lf-cmp .lf-cmp-hl, .lf-cmp .lf-cmp-head { display: none; }
  .lf-cmp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
  .lf-cmp-row:nth-child(3) { border-top: none; }
  .lf-cmp-cell { flex-direction: column; align-items: flex-start; gap: 0.5rem; min-height: 0; padding: 0.8rem; font-size: 0.88rem; border: none; border-radius: 12px; }
  .lf-cmp-cell.k { grid-column: 1 / -1; flex-direction: row; align-items: center; padding: 0; font-size: 0.95rem; }
  .lf-cmp-cell.m { grid-column: 1; background-color: #f8fafc; }
  .lf-cmp-cell.s { grid-column: 2; background-color: #eef4ff; }
  .lf-cmp-row:not(.lf-cmp-foot) .m::after, .lf-cmp-row:not(.lf-cmp-foot) .s::after { order: -1; margin-bottom: -0.2rem; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
  .lf-cmp-row:not(.lf-cmp-foot) .m::after { content: "Manual"; color: var(--ink-500); }
  .lf-cmp-row:not(.lf-cmp-foot) .s::after { content: "Tranquil"; color: var(--brand-600); }
  .lf-cmp-row:not(.lf-cmp-head):not(.lf-cmp-foot) .m::before, .lf-cmp-row:not(.lf-cmp-head):not(.lf-cmp-foot) .s::before { order: -2; }
  .lf-cmp-foot { padding-top: 0.4rem; border-top: none; }
  .lf-cmp-foot .k, .lf-cmp-foot .m { display: none; }
  .lf-cmp-foot .s { grid-column: 1 / -1; padding: 0; background: none; }
  .lf-ind { grid-template-columns: repeat(2, 1fr); margin-top: 3rem; }
  .lf-temp { padding: 1.25rem; border-radius: 20px; }
  .lf-plot { grid-template-rows: 180px auto; column-gap: 0.6rem; }
  .lf-touch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .lf-train { display: none; }
  .lf-end.won::before { animation: none; }
}
/* ==================== END PAGE SECTIONS ==================== */

/* ==================== FAQ SECTION (matches index.html) ==================== */
.faq {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background-color: var(--surface);
  border-top: 1px solid var(--line-soft);
}

.faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(59, 123, 246, 0.1), transparent 70%);
  pointer-events: none;
}

.faq-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.faq-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
  text-align: center;
}

.faq .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem 0.375rem 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-700);
  background-color: var(--surface);
  border: 1px solid #d0e1fd;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.06);
}

.faq .hero-pill-tag {
  padding: 0.2rem 0.5rem;
  font-size: 0.675rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--brand-600);
  border-radius: 999px;
}

.faq .hero-title {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink-900);
}

.faq .hero-desc {
  max-width: 660px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-600);
}

.faq .hero-desc strong {
  color: var(--ink-900);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.faq-item {
  background-color: #eef4ff;
  border: 1px solid transparent;
  border-radius: 20px;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-color: #d0e1fd;
}

.faq-item.is-open {
  background-color: var(--surface);
  border-color: var(--line);
  box-shadow: 0 18px 40px -20px rgba(37, 99, 235, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.1rem 1.1rem 1.5rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  color: var(--ink-900);
  background: none;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.faq-question:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 2px;
}

.faq-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  color: var(--ink-700);
  background-color: var(--surface);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(11, 19, 36, 0.06);
  transition: transform 0.3s var(--ease), color 0.2s ease, background-color 0.2s ease;
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-question:hover .faq-icon {
  color: var(--brand-600);
}

/* Plus rotates into a close (x) when open */
.faq-item.is-open .faq-icon {
  color: var(--ink-900);
  background-color: #e2eafa;
  box-shadow: none;
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 4.5rem 1.35rem 1.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-500);
}

@media (max-width: 640px) {
  .faq {
    padding: 3.5rem 0;
  }
  .faq-inner {
    padding: 0 1.25rem;
  }
  .faq-head {
    margin-bottom: 2.25rem;
  }
  .faq .hero-desc {
    font-size: 1rem;
  }
  .faq-question {
    padding: 0.95rem 0.9rem 0.95rem 1.15rem;
    font-size: 0.925rem;
  }
  .faq-icon {
    width: 34px;
    height: 34px;
  }
  .faq-answer p {
    padding: 0 1.15rem 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer,
  .faq-icon {
    transition: none;
  }
}


/* ==================== SEO SECTIONS (page design) ==================== */
.kw-section, .alt-section, .rel-section {
  --kw-accent: #2563eb;
  --kw-accent-ink: color-mix(in srgb, #2563eb 82%, #000);
  --kw-tint: color-mix(in srgb, #2563eb 9%, #fff);
  --kw-tint-2: color-mix(in srgb, #2563eb 16%, #fff);
  --kw-ink: var(--ink-900, #0b1324);
  --kw-text: var(--ink-600, #475569);
  --kw-line: var(--line, #e6ebf2);
  position: relative;
  padding: 6rem 0;
  background-color: var(--surface, #fff);
}
.kw-inner, .rel-inner, .alt-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Badge: same pill as the page headers (ph-badge) */
.kw-badge {
  display: inline-flex; width: fit-content; max-width: 100%; align-items: center; gap: 0.6rem;
  padding: 0.3rem 0.9rem 0.3rem 0.3rem; margin-bottom: 1.4rem; font-size: 0.8rem; font-weight: 600;
  color: var(--ink-700, #334155); background-color: rgba(255, 255, 255, 0.85); border: 1px solid var(--kw-line);
  border-radius: 999px; box-shadow: var(--shadow-md, 0 8px 24px rgba(11, 19, 36, 0.06));
}
.kw-badge b {
  padding: 0.2rem 0.6rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; background: linear-gradient(180deg, var(--brand-500, #3b7bf6), var(--brand-600, #2563eb)); border-radius: 999px;
}

/* ---------- Keyword section: copy + product panel ---------- */
.kw-section .kw-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4.5rem; align-items: center; }
.kw-section.kw-flip .kw-copy { order: 2; }
.kw-copy h2 { margin: 0 0 1.1rem; font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.035em; color: var(--kw-ink); }
.kw-lead { margin: 0 0 1.75rem; font-size: 1.05rem; line-height: 1.75; color: var(--kw-text); }
.kw-lead strong { color: var(--kw-ink); }
.kw-list { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.kw-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0.9rem; align-items: start; }
.kw-check { display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px; color: var(--kw-accent-ink); background: var(--kw-tint-2); border-radius: 8px; }
.kw-check svg { width: 15px; height: 15px; stroke-width: 3; }
.kw-item h3 { margin: 0 0 0.25rem; font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--kw-ink); }
.kw-item p { margin: 0; font-size: 0.92rem; line-height: 1.65; color: var(--kw-text); }
.kw-item a, .alt-card a { font-weight: 700; color: var(--kw-accent-ink); text-decoration: none; }

.kw-visual { position: relative; padding: 2rem 1rem 3rem; }
.kw-visual::before { content: ""; position: absolute; inset: 8% 4%; background: radial-gradient(closest-side, var(--kw-tint-2), transparent); filter: blur(10px); }
.kw-panel { position: relative; overflow: hidden; background: var(--surface, #fff); border: 1px solid var(--kw-line); border-radius: 22px; box-shadow: var(--shadow-lg, 0 24px 60px -12px rgba(11, 19, 36, 0.18)); }
.kw-panel-head { display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.25rem; color: #fff; background: linear-gradient(135deg, var(--kw-accent), var(--kw-accent-ink)); }
.kw-panel-logo { display: grid; place-items: center; width: 38px; height: 38px; background: rgba(255, 255, 255, 0.18); border-radius: 11px; }
.kw-panel-logo svg { width: 19px; height: 19px; }
.kw-panel-head strong { display: block; font-size: 0.95rem; font-weight: 700; }
.kw-panel-head small { display: block; font-size: 0.72rem; opacity: 0.8; }
.kw-live { display: inline-flex; align-items: center; gap: 0.4rem; margin-left: auto; padding: 0.25rem 0.6rem; font-size: 0.7rem; font-weight: 700; color: var(--kw-accent-ink); background: #fff; border-radius: 999px; }
.kw-live i { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
.kw-ico { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; color: var(--kw-accent-ink); background: var(--kw-tint); border-radius: 10px; }
.kw-ico svg { width: 17px; height: 17px; }
.kw-panel-rows { margin: 0; padding: 0.4rem 0; list-style: none; }
.kw-panel-rows li { display: flex; align-items: center; gap: 0.85rem; padding: 0.8rem 1.25rem; border-bottom: 1px solid var(--line-soft, #f0f3f8); }
.kw-panel-rows li:last-child { border-bottom: 0; }
.kw-row-txt { flex: 1; min-width: 0; font-size: 0.88rem; font-weight: 600; color: var(--kw-ink); }
.kw-panel-rows em { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.72rem; font-style: normal; font-weight: 700; color: #15803d; }
.kw-panel-rows em svg { width: 13px; height: 13px; stroke-width: 3; }
.kw-panel-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 1.1rem; list-style: none; }
.kw-panel-tiles li { display: flex; flex-direction: column; gap: 0.6rem; padding: 1rem; background: var(--surface-muted, #f7f9fc); border: 1px solid var(--line-soft, #f0f3f8); border-radius: 14px; }
.kw-panel-tiles b { font-size: 0.85rem; font-weight: 700; line-height: 1.35; color: var(--kw-ink); }
.kw-panel-tiles em { width: fit-content; padding: 0.15rem 0.5rem; font-size: 0.68rem; font-style: normal; font-weight: 700; color: #15803d; background: #dcfce7; border-radius: 999px; }
.kw-panel-foot { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.25rem; font-size: 0.75rem; color: var(--ink-500, #64748b); background: var(--surface-muted, #f7f9fc); border-top: 1px solid var(--line-soft, #f0f3f8); }
.kw-panel-foot b { color: var(--kw-accent-ink); }
.kw-toast { position: absolute; bottom: 0; left: 0; display: flex; align-items: center; gap: 0.7rem; max-width: 280px; padding: 0.75rem 1rem 0.75rem 0.75rem; background: var(--surface, #fff); border: 1px solid var(--kw-line); border-radius: 16px; box-shadow: var(--shadow-lg, 0 24px 60px -12px rgba(11, 19, 36, 0.18)); }
.kw-toast-ico { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; color: #fff; background: linear-gradient(180deg, #22c55e, #16a34a); border-radius: 10px; }
.kw-toast-ico svg { width: 17px; height: 17px; stroke-width: 3; }
.kw-toast b { display: block; font-size: 0.82rem; font-weight: 700; line-height: 1.3; color: var(--kw-ink); }
.kw-toast small { display: block; font-size: 0.72rem; color: var(--ink-500, #64748b); }

/* ---------- Related solutions: one rounded card with tinted link chips ---------- */
.rel-section { padding-top: 2rem; }
.rel-card { padding: 2.25rem; background: var(--surface, #fff); border: 1px solid var(--kw-line); border-radius: 28px; box-shadow: 0 18px 50px -30px rgba(11, 19, 36, 0.25); }
.rel-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.75rem; }
.rel-top .kw-badge { margin-bottom: 0.9rem; }
.rel-top h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; color: var(--kw-ink); }
.rel-all { flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.65rem 1.1rem; font-size: 0.88rem; font-weight: 700; color: var(--kw-ink); text-decoration: none; background: var(--surface, #fff); border: 1px solid var(--kw-line); border-radius: 12px; box-shadow: var(--shadow-md, 0 8px 24px rgba(11, 19, 36, 0.06)); transition: border-color 0.2s ease, color 0.2s ease; }
.rel-all:hover { color: var(--brand-600, #2563eb); border-color: var(--brand-600, #2563eb); }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.rel-grid a { display: flex; align-items: center; gap: 0.9rem; height: 100%; padding: 0.95rem 1rem; text-decoration: none; background: var(--surface, #fff); border: 1px solid var(--kw-line); border-radius: 16px; transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.rel-grid a:hover { background: var(--surface, #fff); border-color: color-mix(in srgb, var(--kw-accent) 40%, #fff); transform: translateY(-2px); }
.rel-grid a:focus-visible { outline: 3px solid color-mix(in srgb, var(--kw-accent) 40%, transparent); outline-offset: 2px; }
.rel-ico { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; color: #fff; background: var(--kw-accent); border-radius: 12px; box-shadow: 0 2px 6px rgba(11, 19, 36, 0.06); }
.rel-ico svg { width: 19px; height: 19px; }
.rel-txt { flex: 1; min-width: 0; }
.rel-txt strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--kw-ink); }
.rel-txt-desc { display: block; margin-top: 0.15rem; font-size: 0.8rem; line-height: 1.45; color: var(--kw-text); }
.rel-arrow { flex-shrink: 0; color: var(--kw-accent); transition: transform 0.2s ease; }
.rel-grid a:hover .rel-arrow { transform: translateX(3px); }

/* Breadcrumb in the hero, above the badge */
.crumbs { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 0.4rem; margin: 0 0 1.1rem; padding: 0; list-style: none; font-size: 0.85rem; color: var(--ink-500, #64748b); }
.crumbs li { display: inline-flex; align-items: center; gap: 0.4rem; }
.crumbs li + li::before { content: "›"; color: var(--ink-400, #94a3b8); }
.crumbs a { font-weight: 600; color: #2563eb; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current="page"] { font-weight: 600; color: #0b1324; }

/* Contextual links in body copy: no underline, keep the paragraph colour */
main p a.ctx-link { color: inherit; font-weight: 600; text-decoration: none; }

@media (max-width: 1000px) {
  .kw-section .kw-inner { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .kw-section.kw-flip .kw-copy { order: 0; }
  .kw-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .kw-section, .rel-section, .alt-section { padding: 3.5rem 0; }
  .rel-section { padding-top: 1rem; }
  .kw-inner, .rel-inner, .alt-inner { padding: 0 1rem; }
  .kw-visual { padding: 1rem 0 3.5rem; }
  .kw-toast { left: 0.5rem; right: auto; }
  .rel-card { padding: 1.5rem 1.1rem; border-radius: 22px; }
  .rel-top { flex-direction: column; align-items: flex-start; }
  .rel-grid, .alt-grid { grid-template-columns: minmax(0, 1fr); }
  .alt-card:last-child:nth-child(3n + 1) { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .rel-grid a, .rel-arrow { transition: none; }
}
/* Hero badge sits inside the H1 (keyword first); keep it looking like the normal badge */
main h1 .ph-badge.h1-badge {
  display: flex; width: fit-content; max-width: 100%; margin: 0 0 1.4rem;
  font-size: 0.8rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-transform: none;
  -webkit-text-fill-color: currentColor;
}
main h1 .ph-badge.h1-badge b { display: inline; }
main h1 .ph-badge.h1-badge b::before { content: attr(data-label); }
/* ==================== END SEO SECTIONS ==================== */
