/* ==================== RESET & BASE ==================== */
*, *::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;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.3);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ==================== SHARED TYPE & BUTTONS (from index) ==================== */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem 0.375rem 0.5rem;
  background-color: var(--surface);
  border: 1px solid #d0e1fd;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-700);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

a.hero-pill:hover {
  border-color: #a9c6fb;
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.3);
}

.hero-pill svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
  transition: transform 0.2s var(--ease);
}

a.hero-pill:hover svg {
  transform: translateX(2px);
}

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

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

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

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

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

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

.hero-btn-primary {
  padding: 0 1.75rem;
  font-weight: 700;
  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);
}

.hero-btn-primary:hover {
  background: linear-gradient(180deg, var(--brand-600), var(--brand-700));
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(37, 99, 235, 0.55);
}

.hero-btn-secondary {
  padding: 0 1.5rem;
  font-weight: 600;
  color: var(--ink-700);
  background-color: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgba(11, 19, 36, 0.03);
}

.hero-btn-secondary:hover {
  background-color: var(--surface-muted);
  border-color: #cbd5e1;
  color: var(--ink-900);
  transform: translateY(-1px);
}

.hero-btn-primary svg,
.hero-btn-secondary svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.5;
  transition: transform 0.2s var(--ease);
}

.hero-btn-primary:hover svg,
.hero-btn-secondary:hover svg {
  transform: translateX(3px);
}

/* ==================== AI HERO ==================== */
.ai-hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 3.5rem 0 0;
}

/* Rounded gradient panel (same treatment as the index hero) */
.ai-hero::after {
  content: "";
  position: absolute;
  inset: 0 1.5rem;
  z-index: 0;
  border-radius: 0 0 36px 36px;
  background:
    radial-gradient(ellipse 60% 45% at 50% 100%, rgba(59, 123, 246, 0.22), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 40%, #dfe9ff 100%);
}

.ai-hero::before {
  content: "";
  position: absolute;
  inset: 0 1.5rem;
  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: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 25%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 25%, #000 20%, transparent 75%);
  pointer-events: none;
}

/* Soft blue light blobs drifting behind the heading.
   Drawn as a soft radial gradient (same look as a 420px circle blurred by 80px) so there is no
   blur to redraw while they drift. The box is 160px bigger on every side to hold the soft edge;
   .ai-hero clips the overflow. */
.ai-blob {
  position: absolute;
  z-index: 1;
  width: 740px;
  height: 740px;
  margin: -160px;
  border-radius: 50%;
  opacity: 0.45;
  pointer-events: none;
  animation: blobDrift 14s ease-in-out infinite alternate;
}

.ai-blob-1 {
  top: -140px;
  left: 6%;
  background: radial-gradient(circle closest-side, rgb(191 214 255) 0%, rgb(191 214 255) 27%, rgb(191 214 255 / 0.85) 40%, rgb(191 214 255 / 0.5) 57%, rgb(191 214 255 / 0.2) 72%, rgb(191 214 255 / 0.06) 85%, rgb(191 214 255 / 0) 100%);
}
.ai-blob-2 {
  top: 40px;
  right: 4%;
  background: radial-gradient(circle closest-side, rgb(199 210 254) 0%, rgb(199 210 254) 27%, rgb(199 210 254 / 0.85) 40%, rgb(199 210 254 / 0.5) 57%, rgb(199 210 254 / 0.2) 72%, rgb(199 210 254 / 0.06) 85%, rgb(199 210 254 / 0) 100%);
  animation-delay: -7s;
}

@keyframes blobDrift {
  to { transform: translate(40px, 30px) scale(1.1); }
}

.ai-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ai-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 880px;
}

.ai-hero-content > * {
  animation: heroUp 0.8s var(--ease) both;
}

.ai-hero-content > :nth-child(2) { animation-delay: 0.08s; }
.ai-hero-content > :nth-child(3) { animation-delay: 0.16s; }
.ai-hero-content > :nth-child(4) { animation-delay: 0.24s; }

@keyframes heroUp {
  from { opacity: 0; transform: translateY(18px); }
}

/* ==================== HORIZON STAGE ====================
   One SVG (viewBox 1200x440) draws a glowing ring band; the AI core and tool
   nodes are HTML placed in that same coordinate box, so they stay on the band
   at every width. Band: circle centred at (600, 880), mid-radius 740, 60 wide.
   The script glides the tool icons along the band from left to right. */

/* Spans the full hero panel and sits on its rounded bottom edge, so the dome
   reads as the base of the hero rather than a separate block */
.ai-stage-wrap {
  position: relative;
  z-index: 2;
  margin: 3rem 1.5rem 0;
  overflow: hidden;
  border-radius: 0 0 36px 36px;
}

.ai-stage {
  position: relative;
  width: 100%;
  max-width: 1500px;
  aspect-ratio: 1200 / 440;
  margin: 0 auto;
  animation: stageIn 1.1s 0.3s var(--ease) both;
}

@keyframes stageIn {
  from { opacity: 0; transform: translateY(40px); }
}

.horizon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  stroke: none; /* don't inherit the global svg stroke; shapes set their own */
}

/* Outer glow slowly breathing */
.horizon .hz-glow {
  animation: glowBreath 5s ease-in-out infinite alternate;
}

@keyframes glowBreath {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

/* Band of light sweeping across the ring, left to right like the icons */
.horizon .hz-sweep {
  stroke-dasharray: 160 1000;
  stroke-dashoffset: 160;
  animation: bandSweep 6s linear infinite;
}

@keyframes bandSweep {
  to { stroke-dashoffset: -1000; }
}

/* ---------- AI core glowing inside the dome ---------- */
.ai-core {
  position: absolute;
  top: calc(300 / 440 * 100%);
  left: 50%;
  z-index: 1;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
}

.core-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #ffffff;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.45), transparent 42%),
    linear-gradient(145deg, var(--brand-500), #4f46e5);
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.55),
    0 0 60px 10px rgba(59, 123, 246, 0.45);
}

/* Pulsing glow: a second, larger glow fades in and out on top (opacity runs on the GPU),
   instead of re-drawing the box-shadow every frame */
.core-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.35),
    0 0 90px 22px rgba(59, 123, 246, 0.6);
  opacity: 0;
  animation: corePulse 3s ease-in-out infinite alternate;
}

@keyframes corePulse {
  to { opacity: 1; }
}

.core-orb svg {
  width: 42%;
  height: 42%;
  stroke-width: 1.8;
}

/* ---------- Tool nodes riding the band ----------
   Each node is a full-stage layer; the script moves it with a % translate
   (x / 12, y / 4.4), so its top-left corner lands on the band point. */
.node {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  will-change: transform, opacity;
}

.node-badge {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--brand-600);
  background-color: #ffffff;
  border: 1px solid #d6e4fd;
  border-radius: 50%;
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.35),
    0 12px 28px -8px rgba(29, 78, 216, 0.55);
  transform: translate(-50%, -50%);
}

.node-badge svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.9;
}

/* Tinted inner disc */
.node-badge::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: -1;
  border-radius: 50%;
  background-color: #eff5ff;
}

.node-label {
  position: absolute;
  top: -42px;
  left: 0;
  transform: translate(-50%, -100%);
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ink-900);
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #d6e4fd;
  border-radius: 999px;
  box-shadow: 0 4px 10px -4px rgba(29, 78, 216, 0.3);
}

/* Mobile-only list of the tools (labels are hidden on the band there) */
.ai-legend {
  display: none;
}

/* ==================== AI CALLING FEATURE ==================== */
.ac-section {
  position: relative;
  padding: 6rem 0;
}

.ac-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.ac-title {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin-bottom: 1rem;
}

.ac-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-600);
  margin-bottom: 1.5rem;
  max-width: 540px;
}

.ac-points {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.ac-points li {
  display: flex;
  gap: 0.65rem;
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--ink-700);
}

.ac-points li > span {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: #ffffff;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  border-radius: 50%;
}

.ac-points svg { width: 12px; height: 12px; stroke-width: 3; }
.ac-points strong { color: var(--ink-900); }

.ac-sub {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #586579; /* darker than --ink-400 so the small label meets the 4.5:1 contrast standard */
  margin-bottom: 0.75rem;
}

.ac-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ac-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 34px;
  padding: 0 0.8rem 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-700);
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}

.ac-chips li:hover { border-color: #b9d0fb; transform: translateY(-1px); }

.ac-chips li > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: var(--brand-600);
  background-color: var(--brand-50);
  border-radius: 50%;
}

.ac-chips svg { width: 13px; height: 13px; stroke-width: 2.2; }

/* ---------- Row 1 stage: small form → AI call on the phone ---------- */
.ac-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ac-stage::before {
  content: "";
  position: absolute;
  inset: 5% 0;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(59, 123, 246, 0.25), rgba(99, 102, 241, 0.1) 45%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

/* Small enquiry form */
.fm {
  position: relative;
  z-index: 1;
  flex: none;
  width: 210px;
  padding: 0.9rem;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 40px -20px rgba(15, 35, 90, 0.35);
}

.fm-url {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--ink-400);
  margin-bottom: 0.2rem;
}

.fm h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 0.6rem;
}

.fm-field + .fm-field { margin-top: 0.45rem; }

.fm-field span {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--ink-500);
  margin-bottom: 0.15rem;
}

.fm-input {
  height: 28px;
  padding: 0 0.55rem;
  font-size: 0.7rem;
  line-height: 26px;
  color: var(--ink-800);
  white-space: nowrap;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fm-input.is-typing {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(59, 123, 246, 0.15);
}

.fm-input.is-typing::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 0.9em;
  margin-left: 1px;
  vertical-align: -1px;
  background: var(--brand-600);
  animation: acCaret 0.8s steps(1) infinite;
}

@keyframes acCaret { 50% { opacity: 0; } }

.fm-btn {
  display: grid;
  place-items: center;
  height: 30px;
  margin-top: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  transition: transform 0.15s ease, background 0.3s ease;
}

.fm-btn.is-pressed { transform: scale(0.95); }
.fm-btn.is-done { background: linear-gradient(180deg, #22c55e, #16a34a); }

/* Connector between form and phone */
.ac-link {
  position: relative;
  z-index: 1;
  flex: 1 1 70px;
  max-width: 90px;
  min-width: 48px;
  height: 2px;
  margin: 0 0.4rem;
  background-image: repeating-linear-gradient(90deg, #b9d0fb 0 6px, transparent 6px 11px);
}

.ac-link i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background-color: var(--brand-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
  opacity: 0;
}

.ac-link.is-on i { animation: acRun 0.9s linear infinite; }

@keyframes acRun {
  0% { left: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { left: calc(100% - 10px); opacity: 0; }
}

.ac-link b {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.15rem 0.5rem;
  font-size: 0.6rem;
  font-weight: 800;
  white-space: nowrap;
  color: var(--brand-700);
  background-color: var(--surface);
  border: 1px solid #d0e1fd;
  border-radius: 999px;
}

/* Phone */
.ph {
  position: relative;
  z-index: 1;
  flex: none;
  width: 236px;
  height: 480px;
  padding: 8px;
  background: linear-gradient(145deg, #1e293b, #0b1324);
  border-radius: 40px;
  box-shadow:
    0 0 0 1px #334155 inset,
    0 0 0 5px rgba(255, 255, 255, 0.6),
    0 40px 70px -24px rgba(15, 35, 90, 0.55);
}

.ph::before,
.ph::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background-color: #1e293b;
}

.ph::before { right: -3px; top: 120px; height: 56px; }
.ph::after { left: -3px; top: 96px; height: 36px; }

.ph-screen {
  position: relative;
  display: grid;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  color: #ffffff;
  background-color: #0f172a;
}

.ph-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 5;
  width: 66px;
  height: 19px;
  border-radius: 12px;
  background-color: #0b1324;
  transform: translateX(-50%);
}

.ph-scr {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  min-height: 0;
  padding: 40px 14px 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.ph-scr.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }

/* Idle */
.ph-scr-idle {
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.25), transparent 45%),
    linear-gradient(160deg, #1d4ed8, #6366f1 55%, #0891b2);
}

.ph-time { margin-top: 1.1rem; font-size: 2.8rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.ph-day { font-size: 0.72rem; font-weight: 600; opacity: 0.85; margin-top: 0.3rem; }

/* Ringing + live call */
.ph-scr-ring,
.ph-scr-live {
  background:
    radial-gradient(circle at 50% 25%, rgba(59, 123, 246, 0.45), transparent 60%),
    linear-gradient(180deg, #0f172a, #1e1b4b);
}

.ph-avatar {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-top: 1.6rem;
  color: #ffffff;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-500), #4f46e5);
  box-shadow: 0 0 30px 4px rgba(59, 123, 246, 0.5);
}

.ph-avatar svg { width: 30px; height: 30px; stroke-width: 1.8; }

.ph-scr-ring .ph-avatar::before,
.ph-scr-ring .ph-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(147, 180, 248, 0.7);
  animation: acRing 1.6s ease-out infinite;
}

.ph-scr-ring .ph-avatar::after { animation-delay: 0.8s; }

@keyframes acRing { to { transform: scale(1.7); opacity: 0; } }

.ph-name { margin-top: 0.85rem; font-size: 1rem; font-weight: 800; }
.ph-sub { font-size: 0.68rem; opacity: 0.75; margin-top: 0.15rem; }

.ph-actions {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding: 0 1rem;
}

.ph-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.14);
}

.ph-btn svg { width: 18px; height: 18px; }
.ph-btn.is-red { background-color: #ef4444; }
.ph-btn.is-red svg { transform: rotate(135deg); }
.ph-btn.is-green { background-color: #22c55e; animation: acShake 1.2s ease-in-out infinite; }

@keyframes acShake {
  0%, 60%, 100% { transform: none; }
  10%, 30%, 50% { transform: rotate(-12deg); }
  20%, 40% { transform: rotate(12deg); }
}

/* Live call: timer, voice waveform and what the AI is doing (no transcript) */
.ph-scr-live .ph-avatar { margin-top: 1.2rem; }

.ph-topic {
  max-width: 100%;
  padding: 0.35rem 0.75rem;
  font-size: 0.64rem;
  font-weight: 600;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  animation: acMsgIn 0.35s var(--ease) both;
}

.ph-controls {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-top: auto;
}

.ph-controls .ph-btn { width: 40px; height: 40px; }
.ph-controls .ph-btn svg { width: 16px; height: 16px; }

/* Form column: the transcript card opens on top of the form */
.ac-left {
  position: relative;
  z-index: 2;
  flex: none;
  display: flex;
  justify-content: center;
}

.ac-convo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: 280px;
  max-height: 440px;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(15, 35, 90, 0.45);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -46%) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s var(--ease), visibility 0s linear 0.35s;
}

.ac-convo.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
  transition-delay: 0s;
}

.ac-convo-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-600), #4f46e5);
}

.ac-convo-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
}

.ac-convo-icon svg { width: 15px; height: 15px; }
.ac-convo-head div { flex: 1; min-width: 0; }
.ac-convo-head strong { display: block; font-size: 0.8rem; font-weight: 800; }
.ac-convo-meta { display: block; font-size: 0.64rem; opacity: 0.85; }

.ac-convo-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.18);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.ac-convo-close:hover { background-color: rgba(255, 255, 255, 0.3); }

.ac-convo .ph-chat { background-color: #f1f5f9; }
.ac-convo .ph-msg { font-size: 0.7rem; }
.ac-convo .ph-msg b { font-size: 0.6rem; }

.ph-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 30px;
  margin: 1.1rem 0 0.8rem;
}

.ph-wave i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background-color: #93b4f8;
  animation: acWave 0.8s ease-in-out infinite alternate;
}

.ph-wave i:nth-child(2n) { animation-delay: -0.3s; }
.ph-wave i:nth-child(3n) { animation-delay: -0.5s; animation-duration: 0.65s; }

@keyframes acWave {
  from { transform: scaleY(0.2); }
  to { transform: scaleY(1); }
}

.ph-chat {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.7rem 0.6rem;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.ph-chat::-webkit-scrollbar { display: none; }

.ph-msg {
  max-width: 86%;
  padding: 0.45rem 0.6rem;
  font-size: 0.64rem;
  line-height: 1.4;
  color: var(--ink-800);
  background-color: #ffffff;
  border-radius: 12px 12px 12px 4px;
  box-shadow: 0 2px 6px -3px rgba(15, 35, 90, 0.25);
  animation: acMsgIn 0.35s var(--ease) both;
}

.ph-msg b {
  display: block;
  font-size: 0.55rem;
  font-weight: 800;
  color: var(--brand-600);
  margin-bottom: 0.1rem;
}

.ph-msg.is-me {
  align-self: flex-end;
  color: #ffffff;
  background-color: var(--brand-600);
  border-radius: 12px 12px 4px 12px;
}

.ph-msg.is-me b { color: rgba(255, 255, 255, 0.75); }

@keyframes acMsgIn { from { opacity: 0; transform: translateY(8px); } }

.ph-end {
  display: flex;
  justify-content: center;
  margin-top: 0.9rem;
}

/* Call ended: waveform stops, screen dims */
.ph-scr-live.is-ended .ph-wave i { animation: none; transform: scaleY(0.15); }
.ph-scr-live.is-ended .ph-avatar { box-shadow: none; filter: grayscale(0.6); }
.ph-scr-live.is-ended .ph-end .ph-btn { opacity: 0.4; }

/* Button above the mockup, shown after the call ends */
.ac-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.ac-view {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 42px;
  padding: 0 1.1rem 0 0.5rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-700);
  background-color: var(--surface);
  border: 1px solid #b9d0fb;
  border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.45);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease), visibility 0s linear 0.35s, border-color 0.2s ease;
}

.ac-view.is-shown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
  animation: acNudge 1.8s ease-in-out 0.4s infinite;
}

.ac-view:hover { border-color: var(--brand-500); }

.ac-view > span:first-child {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #ffffff;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
}

.ac-view svg { width: 15px; height: 15px; }

@keyframes acNudge {
  0%, 100% { box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.45), 0 0 0 0 rgba(37, 99, 235, 0.35); }
  50% { box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.45), 0 0 0 8px rgba(37, 99, 235, 0); }
}

.ac-cta { margin-top: 2rem; }

/* One-line note under the points: the conversation lands in the CRM */
.ac-crm-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 540px;
  margin-bottom: 1.75rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-700);
  background-color: var(--brand-50);
  border: 1px solid #d0e1fd;
  border-radius: var(--radius-md);
}

.ac-crm-note-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #ffffff;
  border-radius: 9px;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
}

.ac-crm-note svg { width: 15px; height: 15px; }
.ac-crm-note strong { color: var(--ink-900); }

@media (max-width: 1100px) {
  .ac-row { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
}

@media (max-width: 768px) {
  .ac-section { padding: 4.5rem 0; }
  .ac-row { padding: 0 1rem; }
}

@media (max-width: 600px) {
  .ac-stage { flex-direction: column; }
  .ac-left { width: 100%; }
  .fm { width: 100%; max-width: 280px; }
  .ac-convo { width: 100%; max-width: 320px; max-height: 420px; }
  .ac-link {
    flex: none;
    width: 2px;
    height: 56px;
    min-width: 0;
    margin: 0.4rem 0;
    background-image: repeating-linear-gradient(180deg, #b9d0fb 0 6px, transparent 6px 11px);
  }
  .ac-link i { left: 50%; top: 0; margin: 0 0 0 -5px; }
  .ac-link.is-on i { animation-name: acRunY; }
  .ac-link b { bottom: auto; top: 50%; left: 14px; transform: translateY(-50%); }
}

@keyframes acRunY {
  0% { top: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { top: calc(100% - 10px); opacity: 0; }
}

/* ==================== AI IMAGE FEATURE ==================== */
/* Compact so the whole section fits in one screen on desktop */
.ig-section {
  position: relative;
  padding: 3rem 0;
  background: linear-gradient(180deg, transparent, #eef4ff 50%, transparent);
}

/* Laptop on the left (slightly wider), text on the right (stacks text-first on smaller screens) */
.ig-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; }
.ig-row > .ig-stage { order: -1; }

.ig-section .hero-pill { margin-bottom: 1rem; }
.ig-section .ac-title { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 0.75rem; }
.ig-section .ac-desc { margin-bottom: 1.1rem; }
.ig-section .ac-points { gap: 0.45rem; margin-bottom: 1.25rem; }
.ig-section .ac-sub { margin-bottom: 0.6rem; }
.ig-section .ac-cta { margin-top: 1.4rem; }

/* Industry use cases, highlighted in sync with the laptop demo */
.ig-uses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  max-width: 580px;
}

.ig-uses li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.6rem;
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease);
}

.ig-uses li[data-scene] { cursor: pointer; }
.ig-uses li[data-scene]:hover { border-color: #b9d0fb; }

.ig-uses li > span {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--brand-600);
  background-color: var(--brand-50);
  border-radius: 9px;
  transition: color 0.3s ease, background 0.3s ease;
}

.ig-uses svg { width: 15px; height: 15px; stroke-width: 2.2; }

.ig-uses li > div { min-width: 0; }

.ig-uses strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ink-900);
}

.ig-uses small {
  display: block;
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--ink-600);
}

.ig-uses li.is-active {
  background-color: var(--brand-50);
  border-color: #93b4f8;
  box-shadow: 0 10px 24px -14px rgba(37, 99, 235, 0.5);
  transform: translateY(-2px);
}

.ig-uses li.is-active > span {
  color: #ffffff;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
}

/* ---------- Stage + laptop ---------- */
.ig-stage {
  position: relative;
  padding: 2rem 0.5rem;
}

.ig-stage::before {
  content: "";
  position: absolute;
  inset: 5% 0;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.25), rgba(59, 123, 246, 0.1) 45%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.lp {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  container-type: inline-size;
}

.lp-lid {
  position: relative;
  padding: 2.6% 2.6% 3.2%;
  background: linear-gradient(160deg, #1e293b, #0b1324);
  border-radius: 18px 18px 6px 6px;
  box-shadow:
    0 0 0 1px #334155 inset,
    0 0 0 4px rgba(255, 255, 255, 0.6),
    0 40px 70px -28px rgba(15, 35, 90, 0.55);
}

.lp-cam {
  position: absolute;
  top: 1.1%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background-color: #334155;
}

.lp-screen {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  background-color: #f8fafc;
}

.lp-base {
  position: relative;
  width: 112%;
  height: 14px;
  margin-left: -6%;
  border-radius: 2px 2px 14px 14px / 2px 2px 10px 10px;
  background: linear-gradient(180deg, #e2e8f0, #94a3b8);
  box-shadow: 0 18px 30px -12px rgba(15, 35, 90, 0.45);
}

.lp-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 18%;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background-color: #94a3b8;
}

/* ---------- App inside the screen (sized in em, scales with the laptop) ---------- */
.ig-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-size: 11px;
  font-size: clamp(6px, 2cqw, 11.5px);
  color: var(--ink-800);
}

.ig-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.8em;
  height: 2.6em;
  padding: 0 0.9em;
  background-color: #ffffff;
  border-bottom: 1px solid var(--line);
}

.ig-dots { display: flex; gap: 0.35em; }
.ig-dots i { width: 0.65em; height: 0.65em; border-radius: 50%; background-color: #cbd5e1; }
.ig-dots i:first-child { background-color: #f87171; }
.ig-dots i:nth-child(2) { background-color: #fbbf24; }
.ig-dots i:nth-child(3) { background-color: #34d399; }

.ig-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 800;
  color: var(--ink-900);
}

.ig-brand > span {
  display: grid;
  place-items: center;
  width: 1.7em;
  height: 1.7em;
  color: #ffffff;
  border-radius: 0.45em;
  background: linear-gradient(145deg, var(--brand-500), #4f46e5);
}

.ig-brand svg { width: 1em; height: 1em; }

.ig-bar-note {
  margin-left: auto;
  font-size: 0.85em;
  font-weight: 700;
  color: var(--ink-400);
}

.ig-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  padding: 0.9em;
}

/* Prompt box */
.ig-prompt {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.5em 0.5em 0.5em 0.7em;
  background-color: #ffffff;
  border: 1px solid #c7d7f7;
  border-radius: 0.8em;
  box-shadow: 0 0 0 3px rgba(59, 123, 246, 0.1);
}

.ig-prompt-icon {
  flex: none;
  color: #6366f1;
}

.ig-prompt-icon svg { width: 1.3em; height: 1.3em; }

.ig-prompt-text {
  flex: 1;
  min-width: 0;
  height: 2.8em;
  overflow: hidden;
  font-size: 1.02em;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-800);
}

.ig-prompt-text.is-typing::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 1em;
  margin-left: 1px;
  vertical-align: -2px;
  background: var(--brand-600);
  animation: acCaret 0.8s steps(1) infinite;
}

.ig-prompt-text.is-typing:empty::before { content: none; }

.ig-gen {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  height: 2.6em;
  padding: 0 1em;
  font-weight: 700;
  color: #ffffff;
  border-radius: 0.6em;
  background: linear-gradient(135deg, var(--brand-500), #4f46e5);
  box-shadow: 0 6px 14px -6px rgba(79, 70, 229, 0.6);
  transition: transform 0.15s ease;
}

.ig-gen.is-pressed { transform: scale(0.93); }

.ig-spin {
  display: none;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: igSpin 0.7s linear infinite;
}

.ig-gen.is-busy .ig-spin { display: block; }

@keyframes igSpin { to { transform: rotate(360deg); } }

/* Settings row */
.ig-meta {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.4em;
  min-width: 0;
}

.ig-tag {
  padding: 0.25em 0.65em;
  font-size: 0.85em;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink-600);
  background-color: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.ig-status {
  margin-left: auto;
  font-size: 0.85em;
  font-weight: 700;
  white-space: nowrap;
  color: #16a34a;
}

/* Output: main image + three variations */
.ig-out {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr);
  gap: 0.6em;
}

.ig-thumbs {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0.6em;
  min-height: 0;
}

.ig-tile {
  position: relative;
  overflow: hidden;
  border-radius: 0.7em;
  background-color: #e8eef8;
  border: 1px dashed #c7d7f7;
}

.ig-tile.is-ready { border-color: transparent; }

.ig-art {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.ig-art svg {
  width: 100%;
  height: 100%;
  stroke: none;
}

.ig-tile.is-ready .ig-art {
  opacity: 1;
  animation: igReveal 1.1s var(--ease) both;
  animation-delay: var(--d, 0s);
}

@keyframes igReveal {
  from { opacity: 0; filter: blur(14px) saturate(0.3); transform: scale(1.08); }
}

/* Variations: shifted colours and a mirrored layout */
.ig-thumbs .ig-tile:nth-child(1) svg { filter: hue-rotate(-28deg) saturate(1.1); }
.ig-thumbs .ig-tile:nth-child(2) svg { transform: scaleX(-1); }
.ig-thumbs .ig-tile:nth-child(3) svg { filter: hue-rotate(35deg) brightness(1.05); }

/* Shimmer while generating */
.ig-out.is-loading .ig-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.75) 50%, transparent 80%);
  background-size: 200% 100%;
  animation: igShimmer 1.1s linear infinite;
}

@keyframes igShimmer {
  from { background-position: 150% 0; }
  to { background-position: -50% 0; }
}

.ig-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 62%;
  padding: 0.7em 0.8em;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid #d6e4fd;
  border-radius: 0.7em;
  box-shadow: 0 10px 24px -12px rgba(29, 78, 216, 0.5);
  opacity: 0;
  transform: translate(-50%, -40%);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}

.ig-out.is-loading .ig-loader { opacity: 1; transform: translate(-50%, -50%); }

.ig-loader span {
  display: block;
  font-size: 0.9em;
  font-weight: 700;
  color: var(--ink-700);
  margin-bottom: 0.45em;
}

.ig-loader em { font-style: normal; color: var(--brand-600); }

.ig-loader-bar {
  height: 0.45em;
  overflow: hidden;
  border-radius: 999px;
  background-color: #e0e7ff;
}

.ig-loader-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-500), #6366f1);
  transition: width 0.09s linear;
}

/* Poster text on the main image */
.ig-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 2.6em 1em 0.9em;
  color: #ffffff;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.78));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

.ig-cap.is-shown { opacity: 1; transform: none; }

.ig-cap b {
  display: inline-block;
  padding: 0.2em 0.55em;
  font-size: 0.78em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1c1917;
  background-color: #fbbf24;
  border-radius: 0.35em;
}

.ig-cap strong {
  display: block;
  margin-top: 0.35em;
  font-size: 1.45em;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ig-cap small {
  display: block;
  margin-top: 0.2em;
  font-size: 0.85em;
  font-weight: 600;
  opacity: 0.9;
}

.ig-logo {
  position: absolute;
  top: 0.7em;
  right: 0.7em;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.25em 0.6em;
  font-size: 0.8em;
  font-weight: 800;
  color: var(--ink-900);
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ig-logo svg { width: 1em; height: 1em; color: #6366f1; }
.ig-cap.is-shown + .ig-logo { opacity: 1; }

/* Floating status cards around the laptop */
.ig-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem 0.55rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-800);
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 36px -16px rgba(15, 35, 90, 0.45);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

.ig-float.is-shown { opacity: 1; transform: none; }

.ig-float > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
}

.ig-float svg { width: 14px; height: 14px; stroke-width: 2.5; }
.ig-float-1 { top: 0.5rem; right: 0; }
.ig-float-1 > span { background: linear-gradient(180deg, #22c55e, #16a34a); }
.ig-float-2 { bottom: 0.25rem; left: 0; }

@media (max-width: 1100px) {
  .ig-row { grid-template-columns: minmax(0, 1fr); }
  .ig-row > .ig-stage { order: 0; }
}

@media (max-width: 768px) {
  .ig-stage { padding: 2.5rem 0.5rem; }
}

@media (max-width: 600px) {
  .ig-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ig-float { font-size: 0.72rem; }
  .ig-meta .ig-tag:nth-child(3) { display: none; }
}

/* ==================== AI VIDEO FEATURE ====================
   Reuses the AI Image section, laptop and studio styles; text left, laptop right. */
.vd-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.vd-row > .ig-stage { order: 0; }

.vd-out {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: 0.6em;
}

/* ---------- Video player ---------- */
.vd-player {
  position: relative;
  overflow: hidden;
  border-radius: 0.7em;
  background-color: #0b1324;
}

.vd-idle {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-size: 0.9em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  transition: opacity 0.3s ease;
}

.vd-idle > span {
  display: grid;
  place-items: center;
  width: 3em;
  height: 3em;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.vd-idle svg { width: 1.2em; height: 1.2em; fill: currentColor; }
.vd-player.is-loading .vd-idle,
.vd-player.has-video .vd-idle { opacity: 0; }

/* Scenes: gradient backdrop, icon and kinetic title, like a promo video */
.vd-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1em 1em 4.6em;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.vd-scene::before,
.vd-scene::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 70%);
  pointer-events: none;
}

.vd-scene::before { top: -30%; right: -12%; width: 60%; aspect-ratio: 1; }
.vd-scene::after { bottom: -35%; left: -15%; width: 55%; aspect-ratio: 1; opacity: 0.7; }

.vd-scene.is-on { opacity: 1; animation: vdZoom 3.2s linear both; }
.vd-scene.is-on::before { animation: vdDrift 3.2s linear both; }
.vd-scene.is-on::after { animation: vdDrift 3.2s linear reverse both; }

@keyframes vdZoom { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes vdDrift { from { transform: translate(0, 0); } to { transform: translate(-12%, 10%); } }

.vd-scene-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.6em;
  height: 3.6em;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 0.5em rgba(255, 255, 255, 0.08);
}

.vd-scene-icon svg { width: 1.7em; height: 1.7em; }

.vd-scene strong {
  position: relative;
  margin-top: 0.45em;
  font-size: 1.7em;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.vd-scene small {
  position: relative;
  margin-top: 0.35em;
  font-size: 0.9em;
  font-weight: 600;
  opacity: 0.9;
}

.vd-scene.is-on .vd-scene-icon { animation: vdPop 0.6s var(--ease) both; }
.vd-scene.is-on strong { animation: vdUp 0.6s 0.15s var(--ease) both; }
.vd-scene.is-on small { animation: vdUp 0.6s 0.3s var(--ease) both; }

@keyframes vdPop { from { opacity: 0; transform: scale(0.5); } }
@keyframes vdUp { from { opacity: 0; transform: translateY(0.8em); } }

/* Voiceover captions */
.vd-sub {
  position: absolute;
  bottom: 3em;
  left: 50%;
  z-index: 2;
  max-width: 90%;
  padding: 0.3em 0.7em;
  overflow: hidden;
  font-size: 0.85em;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #ffffff;
  background-color: rgba(2, 6, 23, 0.6);
  border-radius: 0.35em;
  opacity: 0;
  transform: translateX(-50%);
}

.vd-sub.is-on { opacity: 1; animation: acMsgIn 0.35s var(--ease) both; }

/* Player controls */
.vd-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6em;
  height: 2.5em;
  padding: 0 0.8em;
  font-size: 0.85em;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.65));
}

.vd-controls svg { width: 1.1em; height: 1.1em; fill: currentColor; stroke-width: 1; }
.vd-i-pause { display: none; }
.vd-player.is-playing .vd-i-play { display: none; }
.vd-player.is-playing .vd-i-pause { display: block; }

.vd-time { white-space: nowrap; font-variant-numeric: tabular-nums; }

.vd-bar {
  flex: 1;
  height: 0.3em;
  overflow: hidden;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.3);
}

.vd-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #93b4f8, #ffffff);
  transition: width 0.1s linear;
}

.vd-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 1em;
}

.vd-wave i {
  width: 2px;
  height: 100%;
  border-radius: 1px;
  background-color: #93b4f8;
  transform: scaleY(0.25);
}

.vd-player.is-playing .vd-wave i { animation: acWave 0.8s ease-in-out infinite alternate; }
.vd-wave i:nth-child(2n) { animation-delay: -0.3s; }
.vd-wave i:nth-child(3n) { animation-delay: -0.5s; animation-duration: 0.65s; }

/* Generation steps */
.vd-steps {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, #1e3a8a, #0b1324 75%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.vd-player.is-loading .vd-steps { opacity: 1; visibility: visible; transition-delay: 0s; }

.vd-step {
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.25em 0;
  font-size: 0.95em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.vd-step > i {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.2em;
  height: 1.2em;
  font-size: 0.85em;
  font-style: normal;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.vd-step.is-busy,
.vd-step.is-done { color: #ffffff; }

.vd-step.is-busy > i {
  border-color: rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  animation: igSpin 0.7s linear infinite;
}

.vd-step.is-done > i {
  color: #ffffff;
  background-color: #22c55e;
  border-color: #22c55e;
}

.vd-step.is-done > i::after { content: "✓"; font-weight: 800; line-height: 1; }
.vd-step em { font-style: normal; color: #93b4f8; }

/* ---------- Storyboard ---------- */
.vd-board {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  min-height: 0;
}

.vd-board-head {
  font-size: 0.8em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-400);
}

.vd-shot {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.4em;
  background-color: #ffffff;
  border: 1px dashed #c7d7f7;
  border-radius: 0.6em;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.vd-shot-thumb {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.4em;
  align-self: stretch;
  color: #ffffff;
  border-radius: 0.4em;
  background-color: #e8eef8;
}

.vd-shot-thumb svg { width: 1.3em; height: 1.3em; }
.vd-shot-text { min-width: 0; }

.vd-shot b {
  display: block;
  font-size: 0.75em;
  font-weight: 700;
  color: var(--ink-400);
}

.vd-shot strong {
  display: block;
  overflow: hidden;
  font-size: 0.85em;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--ink-900);
}

/* Empty shots show skeleton bars until the scene is generated */
.vd-shot:not(.is-ready) strong {
  width: 6em;
  height: 0.9em;
  margin-top: 0.3em;
  border-radius: 0.3em;
  background-color: #e8eef8;
}

.vd-shot.is-ready { border-style: solid; border-color: var(--line); animation: acMsgIn 0.35s var(--ease) both; }

.vd-shot.is-playing {
  background-color: var(--brand-50);
  border-color: #93b4f8;
  box-shadow: 0 0 0 2px rgba(59, 123, 246, 0.18);
}

@media (max-width: 1100px) {
  .vd-row { grid-template-columns: minmax(0, 1fr); }
}

/* ==================== FAQ SECTION (same design as index) ==================== */
/* Reuses hero-pill, hero-title and hero-desc; accordion toggled by JS */
.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-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.faq .hero-desc {
  margin-bottom: 0;
}

.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-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;
  stroke-width: 2.25;
}

.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-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;
  }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .node-badge { width: 50px; height: 50px; }
  .node-badge svg { width: 21px; height: 21px; }
  .node-label { top: -36px; font-size: 0.7rem; }
  .ai-core { width: 64px; height: 64px; }
}

@media (max-width: 768px) {
  .ai-hero { padding-top: 2.5rem; }
  .ai-hero::after,
  .ai-hero::before { inset: 0 0.75rem; border-radius: 0 0 28px 28px; }
  .ai-hero-inner { padding: 0 1rem; }
  .ai-stage-wrap { margin: 1.5rem 0.75rem 0; border-radius: 0 0 28px 28px; }
  .ai-core { width: 48px; height: 48px; }
  .core-orb { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.55), 0 0 36px 6px rgba(59, 123, 246, 0.45); }
  .node-badge { width: 38px; height: 38px; box-shadow: 0 8px 18px -8px rgba(29, 78, 216, 0.55); }
  .node-badge::before { inset: 4px; }
  .node-badge svg { width: 16px; height: 16px; }
  .node-label { display: none; }
  .ai-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: 520px;
    margin: 1.75rem 0 0;
  }
  .ai-legend li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    height: 32px;
    padding: 0 0.75rem 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ink-800);
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    border-radius: 999px;
  }
  .ai-legend span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: var(--brand-600);
    background-color: #eff5ff;
    border-radius: 50%;
  }
  .ai-legend svg { width: 13px; height: 13px; stroke-width: 2.2; }
}

@media (max-width: 600px) {
  .hero-cta-group { width: 100%; }
  .hero-cta-group a { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==================== HEADING BADGE (shared .ph-badge design) ==================== */
.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, #334155);
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 999px;
  box-shadow: var(--shadow-md, 0 4px 12px rgba(15, 23, 42, 0.08));
  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, #3b7bf6), var(--brand-600, #2563eb));
  border-radius: 999px;
}

/* Header/footer logo: draw a 10 KB copy instead of the 130 KB, 2226px image.png that headfooter.js inserts
   (browsers without support just show the original) */
#siteHeader .brand-logo img,.footer-logo img{content:url("data:image/webp;base64,UklGRv4pAABXRUJQVlA4WAoAAAAQAAAAowEAYQAAQUxQSJIRAAAB8Idt2zHL0f8d13Xdq5Fm7KSTNzYG4WaPGdu2x55oHI5i28bYzJaOp5M3Njqrqp7nuc8/6qmnqld3Vr9+I2IC+H///7///2dIc7f/7AgHsGT/iWEBU9ZYZ1HD/D8tzNnyhheL6s0/HjUR/08Ks6FzlbOkSg+tjv/nhPNzFWWVcy47+vfl8f+MSOyvIqu+o7vM5nLcR2PO8q8oq3ehY0lzG+bexMFHZTeoVMOsd9bG5y7cIKwXyy+JjbqCA1SqcalfDJnNsggbPRnjV1uCHs7X1dqNGGU5K7yi3EyFvkCaVQ6jJ2eNv6v9VazLmO816VfYqOtmleozq7UePovSFluPGTUZd6uotDVRs9DbWX9klB0crFJ9V/r9eGxWOKdJ5+OjI2PCM6o6OoFUN1OjLmfFV5X7U6GvE7PAGHpMemkyNioCHlSn0oeJUZtxu0oNMOdiE2JWzPOE9NK8oyVngxeks6gdlSUOV6mBVvrbJGwWjH9SennUhLHA1muajdqcVd9UHowKnUnMLeAGPnozu0ulBpyztiVGlrnXWKSUkvVhHiklt0GYW41FSim5Dc48UkrhAzG3AZhbE3woGSPNI6UUbv2Ye41FSilZL3Pr8kgphTWwSCklt9krcaxKDbzSI/Njg/FgQtf8hLv3MgcHD+qjSQQ9I6wfM9wgnJ7JBxOJnp6sLzPc+jLDrIE5+Miy5NRbskbmmIMHtRZ1ZpjhQX14jQf1HrOTs/ZM5cGp0I+JgRjGuCekl6dggPUgrbQIFsbEjXY/cJ/tF8R6hMP4tT6yyy6feN8k8OiDBVYewh0W3mKPA/f9xOpjIKw/Dxhacbuddv3MRgu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ECCOXGVnj2fJlV6gxWUEd4IuiuOyMpEeJuBCTk2jMUhR/idtE8J+9+qwL2B8+bSEPOEXOii93bRRi0ChLRpJ6QEjPuLoHvwjBkU+LBcZyUA1BnAzr4MpRm5HeK+r6zPV6l0pSyOMle0T03gc3itnoxPtSMp6lvGfdurxbLa9hTj/fMWYc20Ovxl0eqURVxTmb2+8yPbryJyghC9a0iRqiOXXjex6EZtwZ5oJYgYahpfTmG+MXo/7wbfhNgAAAArUPbxC5vHtE5Jy3uo2D4S0sAvw39xjld1flDv2o4K5go2rgAAAAF5+peiCVn9X8XGP3ajpmrgm2SvTY/2UkwyS/nFyWhjtxiakvPLvx8oXblws7l/wVLtinxE6GnO1VsbBnHutBVgDgi4rVB4s6dE77iK9O62peHFh9JPsRgaKEnhUYhsV49LmfUpYdzVc3aow4gLLKAR/9TNM8VZ8J3FW3HwaKXIXR4ZxeU/8HG4N3jL2KIlpWCg/HFX8PDLAAAAAAA")}


/* ==================== 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: center; 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 auto 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 ==================== */
