/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
  /* Color Palette (Sync with socials app) */
  --color-primary: #FF2A85;     /* Hot Magenta */
  --color-secondary: #FF7549;   /* Vibrant Coral */
  --color-tertiary: #FF9636;    /* Sunset Accent */
  
  --color-bg-dark: #0f0f16;
  --color-surface-dark: #1b1b26;
  --color-surface-card: rgba(38, 38, 38, 0.45); /* Glassmorphism background based on #262626 */
  --color-border-glass: rgba(255, 255, 255, 0.08);
  --color-border-active: rgba(255, 42, 133, 0.4);
  
  --color-text-white: #ffffff;
  --color-text-gray: #a6a6b8;
  --color-text-dark: #1a1a24;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-tertiary) 100%);
  --gradient-dark: linear-gradient(180deg, #1b1b26 0%, #0f0f16 100%);
  --gradient-accent-glow: radial-gradient(circle, rgba(255, 42, 133, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;

  /* Height of the sticky header, used to hang the mobile nav overlay off it.
     app.js overwrites this with the measured height on load and on resize;
     the value here is only the pre-JS fallback. */
  --header-h: 80px;
}

/* ==========================================
   BASE STYLES & RESET
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* The decorative glows are absolutely positioned past the right edge, which
     grows the document and leaves a strip of scrollable dead space beside
     every section. `clip` rather than `hidden`: hidden on a root element makes
     it a scroll container, which silently breaks the sticky header. */
  overflow-x: clip;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg-dark);
  color: var(--color-text-white);
  line-height: 1.6;
  overflow-x: clip;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   LAYOUT CONTAINERS
   ========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-sm {
  max-width: 680px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

section {
  /* 3.5rem top and bottom, so ~112px between one section's last line and the
     next section's first. It was 8rem (256px), then 5rem (160px).
     160 still read as a void wherever two sections share a flat background
     and there is no visible edge doing the separating for you — which is most
     of this page, since only the deck, the close and the final CTA carry a
     background of their own. */
  padding: 3.5rem 0;
  position: relative;
  z-index: 2;
}

/* ==========================================
   BACKGROUND GLOWS (Vibe / Premium feel)
   ========================================== */
.bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
}

.bg-glow-1 {
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--color-primary) 0%, rgba(0,0,0,0) 70%);
}

.bg-glow-2 {
  top: 40%;
  left: -200px;
  background: radial-gradient(circle, var(--color-secondary) 0%, rgba(0,0,0,0) 70%);
}

.bg-glow-3 {
  bottom: 50px;
  right: -100px;
  background: radial-gradient(circle, var(--color-tertiary) 0%, rgba(0,0,0,0) 70%);
}

/* ==========================================
   GLASSMORPHISM & CARDS
   ========================================== */
.glass-card {
  background: var(--color-surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border-glass);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(255, 42, 133, 0.25);
  box-shadow: 0 12px 40px 0 rgba(255, 42, 133, 0.08);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 8px;
}

.btn-lg {
  padding: 1.1rem 2.4rem;
  font-size: 1.1rem;
  border-radius: 16px;
}

.btn-gradient {
  background: var(--gradient-primary);
  color: var(--color-text-white);
  box-shadow: 0 4px 15px rgba(255, 42, 133, 0.4);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 42, 133, 0.6);
  opacity: 0.95;
}

/* The demo sandbox: as filled as the trial button, in the brand's sunset
   gradient, so the two read as equal choices that do different things. The
   orange also matches the demo strip a visitor lands under in the app. */
.btn-demo {
  background: var(--gradient-secondary);
  color: var(--color-text-white);
  box-shadow: 0 4px 15px rgba(255, 150, 54, 0.35);
}

.btn-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 150, 54, 0.55);
  opacity: 0.95;
}

.btn-outline {
  background: transparent;
  color: var(--color-text-white);
  border: 1px solid var(--color-border-glass);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-text-white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-dark:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-xs {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 6px;
}

.btn-full {
  width: 100%;
}

/* ==========================================
   BADGES
   ========================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 42, 133, 0.1);
  border: 1px solid rgba(255, 42, 133, 0.2);
  color: var(--color-primary);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 15, 22, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-glass);
  padding: 1.2rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
}

.logo-icon {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.6rem;
}

.logo-text {
  color: var(--color-text-white);
}

.logo-text span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--color-text-gray);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--color-text-white);
}

.nav-cta {
  display: flex;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  background: var(--color-bg-dark);
  border-bottom: 1px solid var(--color-border-glass);
  padding: 2rem;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 999;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  /* The header is sticky and ~114px tall, so a 10rem top padding put a screen
     of empty space above the headline before anything was read. */
  padding: 3rem 0 3.5rem 0;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 40%, var(--color-text-gray) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--color-text-gray);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
}

/* Hero Dashboard Simulation */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.visual-card-wrapper {
  width: 100%;
  max-width: 520px;
  perspective: 1000px;
}

.app-mockup {
  overflow: hidden;
  border-radius: 16px;
  transform: rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-smooth);
}

.app-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border-glass);
}

.dots {
  display: flex;
  gap: 0.4rem;
  margin-right: 1.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.mockup-title {
  font-size: 0.8rem;
  color: var(--color-text-gray);
  font-weight: 500;
}

.mockup-body {
  padding: 1.2rem;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  border: 1px solid var(--color-border-glass);
}

.status-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-text-gray);
}

.icon-shopify { color: #96bf48; }
.icon-weather { color: #ff9636; }

.live-indicator {
  width: 6px;
  height: 6px;
  background-color: #27c93f;
  border-radius: 50%;
  display: inline-block;
}

.chat-sim {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.message {
  display: flex;
  gap: 0.8rem;
  max-width: 85%;
}

.message.incoming {
  align-self: flex-start;
}

.message.outgoing {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.msg-bubble {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  border: 1px solid var(--color-border-glass);
}

.message.outgoing .msg-bubble {
  background: var(--color-primary);
  border: none;
}

.generated-ad-preview {
  margin-top: 0.8rem;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #FF7549 0%, #FF9636 100%);
  padding: 1.2rem;
  color: var(--color-text-white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.ad-bg {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ad-tag {
  font-size: 0.6rem;
  font-weight: 800;
  background: rgba(255,255,255,0.25);
  align-self: flex-start;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.ad-bg h4 {
  font-size: 1.1rem;
}

.ad-bg p {
  font-size: 0.75rem;
  opacity: 0.9;
}

.ad-product-img {
  font-size: 2rem;
  text-align: center;
  padding: 1rem 0;
}

.ad-options {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.5rem;
}

/* ==========================================
   SECTION HEADER
   ========================================== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

.section-header p {
  color: var(--color-text-gray);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ==========================================
   PITCH DECK (mid page — slides 01 to 08)
   The middle of the page is one deck read top
   to bottom. Slides are open sections divided
   by a rule; only the visuals are cards, so a
   run of eight does not read as a card wall.
   ========================================== */
.deck-section {
  background: linear-gradient(180deg, rgba(15, 15, 22, 0) 0%, rgba(27, 27, 38, 0.45) 28%, rgba(27, 27, 38, 0.45) 74%, rgba(15, 15, 22, 0) 100%);
}

/* --- The carousel stage -------------------------------------------
   Six cards on a 3D stage. app.js gives each one a transform derived
   from its offset to the active card, so the neighbours sit angled back
   on either side and it is obvious more is coming. Nothing here assumes
   an order, which is what lets the loop wrap without a seam. ---------- */
.carousel {
  position: relative;
  /* The angled neighbours reach well past the container; clipping them here
     is what stops them widening the document. The top padding leaves the
     cards' shadows room so the clip does not slice them off — the bottom
     needs none, because the nav and the progress bar already sit ~95px below
     the stage. A 5rem bottom padding here used to stack on top of the
     section's own, putting 240px between a carousel and the next section
     where every other gap on the page is 160px. */
  overflow: hidden;
  padding: 2rem 0 0 0;
}

.carousel-stage {
  position: relative;
  /* A starting height only — app.js measures the tallest card and sets the
     real one, so no card can ever be clipped at a width we did not think of. */
  height: var(--card-h, 560px);
  margin: 0 auto;
  perspective: 2200px;
  transform-style: preserve-3d;
}

.carousel-stage .slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1060px, 88vw);
  height: 100%;
  margin-left: calc(min(1060px, 88vw) / -2);
  padding: 3rem 3.2rem;
  border: 1px solid var(--color-border-glass);
  border-radius: 28px;
  /* Fully opaque, and it has to stay that way. The neighbours are only 62%
     of a card-width away, so most of each one sits behind the active card —
     at 0.92 alpha their headlines read straight through it. */
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(255, 42, 133, 0.16) 0%, rgba(255, 42, 133, 0) 55%),
    linear-gradient(160deg, #282836 0%, #12121a 100%);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  /* the transform itself is written by app.js; only the easing is ours */
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.55s ease,
              box-shadow 0.55s ease;
}

/* The active card faces the reader; everything else is scenery. */
.carousel-stage .slide.is-active {
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.8),
              0 0 0 1px rgba(255, 42, 133, 0.25);
  cursor: default;
}

.carousel-stage .slide:not(.is-active) {
  cursor: pointer;
}

/* Neighbours are dimmed by a veil rather than opacity, so their own
   colours stay rather than washing out against the page. */
.carousel-stage .slide::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(9, 9, 14, 0.55);
  opacity: 1;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.carousel-stage .slide.is-active::after {
  opacity: 0;
}

/* No backdrop-filter inside the stage.
   The panels are .glass-card, which blurs whatever is behind it — but inside
   a card that already has an opaque background the blur samples nothing and
   buys nothing, while still costing a compositing pass on each of six
   3D-rotated, perspective-projected parents. The border and shadow stay;
   only the filter goes. This is a cost saving, not a bug fix. */
.carousel-stage .glass-card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(255, 255, 255, 0.04);
}

/* A card's own layout, now that it is a fixed-size card. */
.carousel-stage .slide-wide {
  display: grid;
  align-content: center;
}

.carousel-stage .slide-split {
  align-content: center;
  gap: 3.5rem;
}

/* --- Arrows ------------------------------------------------------- */
.carousel-arrow {
  position: absolute;
  top: calc(var(--card-h, 560px) / 2);
  z-index: 20;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border: 1px solid var(--color-border-glass);
  border-radius: 50%;
  background: rgba(20, 20, 28, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--color-text-white);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-arrow.prev { left: max(1rem, calc(50% - 640px)); }
.carousel-arrow.next { right: max(1rem, calc(50% - 640px)); }

.carousel-arrow:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(255, 42, 133, 0.45);
  transform: scale(1.08);
}

/* --- Navigation --------------------------------------------------- */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.deck-play {
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-border-glass);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-gray);
  font-size: 0.7rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.deck-play:hover {
  color: #fff;
  border-color: var(--color-primary);
}

.deck-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.deck-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.deck-dot:hover { background: rgba(255, 255, 255, 0.45); }

.deck-dot.is-active {
  width: 28px;
  border-radius: 100px;
  background: var(--gradient-primary);
}

.deck-counter {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text-gray);
}

/* The autoplay timer, drawn under the dots. */
.deck-progress {
  width: min(320px, 60vw);
  height: 2px;
  margin: 1.2rem auto 0 auto;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.deck-progress > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: var(--gradient-primary);
}

/* --- Card chrome -------------------------------------------------- */
.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-gray);
  margin-bottom: 1.4rem;
}

.slide-num {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  background: rgba(255, 42, 133, 0.1);
  border: 1px solid rgba(255, 42, 133, 0.25);
  border-radius: 8px;
  padding: 0.2rem 0.55rem;
}

.slide-title {
  font-size: 2.6rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

/* The half of a headline that carries the point gets the brand gradient. */
.slide-title em {
  font-style: normal;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.slide-lead {
  color: var(--color-text-gray);
  font-size: 1.05rem;
}

.slide-lead strong { color: var(--color-text-white); }

.slide-wide .slide-title,
.slide-wide .slide-lead {
  max-width: 780px;
}

.slide-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.slide-split.reverse .slide-copy { order: 2; }
.slide-split.reverse .slide-visual { order: 1; }

.slide-kicker {
  margin-top: 2.2rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--color-text-gray);
}

.slide-kicker strong { color: var(--color-text-white); }

/* --- Point lists — headings only, no prose ------------------------ */
.slide-points {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 2rem;
}

.slide-points li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--color-border-glass);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

.slide-points li > i {
  flex: 0 0 18px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--color-secondary);
}

/* --- 01 · pipeline ------------------------------------------------ */
.pipeline {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.6rem;
}

.pipe-stage {
  padding: 1.5rem 1.3rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--color-border-glass);
}

.pipe-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  background: rgba(255, 42, 133, 0.12);
  border: 1px solid rgba(255, 42, 133, 0.2);
  color: var(--color-primary);
}

.pipe-stage h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.pipe-stage p {
  color: var(--color-text-gray);
  font-size: 0.85rem;
}

.pipe-stage-final {
  background: rgba(255, 42, 133, 0.08);
  border-color: rgba(255, 42, 133, 0.35);
}

.pipe-stage-final .pipe-icon {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

.pipe-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  opacity: 0.45;
}

/* --- 03 · signal chips -------------------------------------------- */
.signal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.signal-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-glass);
  font-size: 0.85rem;
  font-weight: 500;
}

.signal-chip i {
  color: var(--color-secondary);
  font-size: 0.8rem;
}

/* --- Shared visual panel ------------------------------------------ */
.mini-panel {
  padding: 1.5rem;
  border-radius: 20px;
}

.mini-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-border-glass);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
}

.mini-panel-head > span > i { color: var(--color-primary); margin-right: 0.4rem; }

.mini-live,
.mini-date,
.mini-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--color-text-gray);
  white-space: nowrap;
}

.mini-count { color: var(--color-primary); }

.mini-rows {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-glass);
}

.mini-row > i:first-child {
  flex: 0 0 22px;
  text-align: center;
  font-size: 1rem;
  color: var(--color-text-gray);
}

.mini-row div,
.context-item div,
.context-out div,
.queue-item div {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  min-width: 0;
}

.mini-row strong { font-size: 0.85rem; }
.mini-row div span { font-size: 0.75rem; color: var(--color-text-gray); }
.row-check { color: #27c93f; font-size: 0.9rem; }

.mini-panel-foot {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  font-size: 0.72rem;
  color: var(--color-text-gray);
}

/* --- 03 · today-in-your-area panel -------------------------------- */
.context-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.context-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.ctx-icon {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.ctx-fest  { background: rgba(255, 150, 54, 0.15);  color: var(--color-tertiary); }
.ctx-event { background: rgba(255, 42, 133, 0.15);  color: var(--color-primary); }
.ctx-news  { background: rgba(255, 117, 73, 0.15);  color: var(--color-secondary); }
.ctx-aud   { background: rgba(255, 255, 255, 0.07); color: #fff; }

.context-item strong { font-size: 0.88rem; }
.context-item div span { font-size: 0.76rem; color: var(--color-text-gray); }

.context-out {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.3rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 42, 133, 0.08);
  border: 1px solid rgba(255, 42, 133, 0.25);
}

.context-out > i { color: var(--color-primary); }
.context-out strong { font-size: 0.9rem; }
.context-out div span { font-size: 0.76rem; color: var(--color-text-gray); }

/* --- 04 · format tiles -------------------------------------------- */
.format-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

.format-tile {
  padding: 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border-glass);
  transition: var(--transition-smooth);
}

.format-tile:hover {
  border-color: rgba(255, 42, 133, 0.3);
  transform: translateY(-4px);
}

.format-tile h4 {
  font-size: 1rem;
  margin: 1rem 0 0.4rem;
}

.format-tile p {
  font-size: 0.82rem;
  color: var(--color-text-gray);
}

.format-art {
  position: relative;
  height: 132px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
}

.art-image {
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 0.8rem;
  background: linear-gradient(135deg, #FF7549 0%, #FF9636 100%);
}

.art-tag {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.28);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.art-line { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.9); }
.art-line.long { width: 82%; }
.art-line.short { width: 55%; height: 5px; background: rgba(255, 255, 255, 0.55); }

.art-video {
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #2a2140 0%, #141420 100%);
}

.art-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.75rem;
  box-shadow: 0 4px 14px rgba(255, 42, 133, 0.45);
}

.art-wave {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  height: 22px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.art-wave i { flex: 1; border-radius: 2px; background: rgba(255, 255, 255, 0.35); height: 60%; }
.art-wave i:nth-child(even) { height: 100%; }
.art-wave i:nth-child(3n) { height: 32%; }

.art-slides {
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
}

.art-card {
  position: absolute;
  width: 52px;
  height: 84px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.art-card.c1 { transform: translateX(-44px) rotate(-8deg); background: rgba(255, 42, 133, 0.35); }
.art-card.c2 { background: linear-gradient(160deg, #FF2A85 0%, #FF7549 100%); z-index: 2; }
.art-card.c3 { transform: translateX(44px) rotate(8deg); background: rgba(255, 150, 54, 0.35); }

.art-comic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.art-panel {
  position: relative;
  border-radius: 6px;
  background: linear-gradient(150deg, rgba(255, 42, 133, 0.32) 0%, rgba(255, 150, 54, 0.25) 100%);
}

.art-bubble {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 62%;
  height: 34%;
  border-radius: 8px 8px 8px 2px;
  background: rgba(255, 255, 255, 0.85);
}

.art-blog {
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
}

.art-h {
  height: 10px;
  width: 70%;
  margin-bottom: 0.3rem;
  border-radius: 4px;
  background: var(--gradient-primary);
}

.art-t { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.22); }
.art-t.short { width: 60%; }

.art-chip {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  background: var(--color-primary);
  font-size: 0.55rem;
  font-weight: 800;
}

/* --- 05 · approval queue ------------------------------------------ */
.queue-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.queue-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border-glass);
}

.queue-item.selected {
  background: rgba(255, 42, 133, 0.06);
  border-color: rgba(255, 42, 133, 0.4);
}

.queue-check {
  flex: 0 0 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

.queue-item.selected .queue-check {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

.queue-thumb {
  flex: 0 0 38px;
  height: 38px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
}

.thumb-a { background: linear-gradient(135deg, #FF2A85 0%, #FF7549 100%); }
.thumb-b { background: linear-gradient(135deg, #FF7549 0%, #FF9636 100%); }
.thumb-c { background: rgba(255, 255, 255, 0.08); color: var(--color-text-gray); }

.queue-item strong { font-size: 0.85rem; }
.queue-item div span { font-size: 0.72rem; color: var(--color-text-gray); }

/* Each post carries its own slot. One shared time under the list read as a
   single batch send, which is not what the scheduler does. */
.queue-when {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
  padding: 0.25rem 0.5rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-glass);
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-text-gray);
  white-space: nowrap;
}

.queue-item.selected .queue-when {
  border-color: rgba(255, 42, 133, 0.35);
  color: var(--color-text-white);
}

.queue-when i { font-size: 0.6rem; color: var(--color-primary); }

.publish-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--color-border-glass);
}

.publish-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pub-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 100px;
  border: 1px solid var(--color-border-glass);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-gray);
}

.pub-chip.on {
  background: rgba(255, 42, 133, 0.15);
  border-color: rgba(255, 42, 133, 0.4);
  color: #fff;
}


.publish-row .btn[disabled] { opacity: 0.9; cursor: default; }

/* --- 06 · assistant thread ---------------------------------------- */
.assistant-thread {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.a-msg {
  max-width: 90%;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.a-msg.out {
  align-self: flex-end;
  background: var(--color-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.a-msg.in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-glass);
  border-bottom-left-radius: 4px;
  color: var(--color-text-gray);
}

.a-msg.in strong { color: var(--color-text-white); }

.a-work {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.a-work-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.a-work-row i { color: var(--color-primary); }
.a-work-row.done i { color: #27c93f; }

/* --- 07 · close --------------------------------------------------- */
.close-section {
  background: linear-gradient(180deg, rgba(15, 15, 22, 0) 0%, rgba(27, 27, 38, 0.35) 100%);
  text-align: center;
}

/* Its eyebrow is a magenta pill like every other section's, not the deck's
   grey numbered tag — this section sits outside the deck's numbering. */
.close-section .slide-tag {
  display: inline-flex;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  background: rgba(255, 42, 133, 0.1);
  border: 1px solid rgba(255, 42, 133, 0.2);
  color: var(--color-primary);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.close-section .slide-lead {
  max-width: 760px;
  margin: 0 auto;
}

.close-section .close-tile {
  text-align: left;
}

.close-actions {
  justify-content: center;
}

.close-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.close-tile {
  padding: 2rem 1.8rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-glass);
}

.close-tile > i {
  display: block;
  margin-bottom: 1.1rem;
  font-size: 1.4rem;
  color: var(--color-primary);
}

.close-tile h4 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.close-tile p {
  font-size: 0.9rem;
  color: var(--color-text-gray);
}

.close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
}

/* ==========================================
   UTILITIES
   ========================================== */
.text-accent { color: var(--color-primary); }


/* ==========================================
   TESTIMONIALS
   Same carousel chrome as the deck (.carousel / .carousel-stage / the nav),
   so only what is different about a quote card lives here: a portrait beside
   the words, and a card sized for three or four sentences rather than a
   three-across grid where none of it fits.
   ========================================== */
.quotes-carousel {
  --card-h: 360px;
}

.carousel-stage .testimonial {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(940px, 88vw);
  height: 100%;
  margin-left: calc(min(940px, 88vw) / -2);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2.8rem;
  padding: 3rem 3.4rem;
  border: 1px solid var(--color-border-glass);
  border-radius: 28px;
  /* opaque, for the same reason the deck cards are — see app.js DEPTHS */
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(255, 42, 133, 0.16) 0%, rgba(255, 42, 133, 0) 55%),
    linear-gradient(160deg, #282836 0%, #12121a 100%);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.55s ease,
              box-shadow 0.55s ease;
}

.carousel-stage .testimonial.is-active {
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.8),
              0 0 0 1px rgba(255, 42, 133, 0.25);
}

.carousel-stage .testimonial:not(.is-active) {
  cursor: pointer;
}

.carousel-stage .testimonial::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(9, 9, 14, 0.55);
  opacity: 1;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.carousel-stage .testimonial.is-active::after {
  opacity: 0;
}

/* The portrait. A missing file removes its own <img> (see the onerror in the
   markup), uncovering the icon, so a card looks finished before the photos
   arrive. */
.testimonial-portrait {
  position: relative;
  flex: 0 0 auto;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-gray);
  font-size: 2.2rem;
  /* a gradient ring, drawn as a padded border-box behind the image */
  box-shadow: 0 0 0 2px rgba(255, 42, 133, 0.55),
              0 0 28px rgba(255, 42, 133, 0.25);
}

.testimonial-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

/* Set as a watermark behind the words rather than a small icon above them:
   at 1.4rem it read as a bullet, and the card looked like a paragraph. */
.quote-mark {
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.13;
  pointer-events: none;
}

/* The display face at pull-quote size. This is the single thing that stops
   the card reading as body text. */
.testimonial blockquote {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--color-text-white);
}

.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-glass);
}

.testimonial figcaption strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.testimonial figcaption span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* ==========================================
   FAQ
   Native <details>, so it works with no JS and the marker is styled through a
   pseudo-element rather than an icon we would have to keep in sync with the
   open state.
   ========================================== */
/* One column, measured for reading: two columns were tried and the single
   stack reads better. What stopped this section looking like plain text was
   the card styling and the numbered chips, not the column count. */
.container-md { max-width: 860px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--color-border-glass);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  transition: var(--transition-smooth);
}

.faq-item:hover { border-color: rgba(255, 42, 133, 0.25); }

.faq-item[open] {
  background: rgba(255, 42, 133, 0.05);
  border-color: rgba(255, 42, 133, 0.3);
}

.faq-item > summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.3rem;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  list-style: none; /* Safari keeps its own triangle without this */
}

.faq-item > summary::-webkit-details-marker { display: none; }

/* The same numbered chip the deck cards carry, so the section belongs to the
   rest of the page instead of looking like an appendix. */
.faq-num {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 0.1rem;
  padding: 0.15rem 0.45rem;
  border-radius: 7px;
  background: rgba(255, 42, 133, 0.1);
  border: 1px solid rgba(255, 42, 133, 0.25);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.faq-item[open] .faq-num {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

/* A chevron built from a pseudo-element rotates with the open state on its
   own, with nothing in JS to keep in step. */
.faq-item > summary::after {
  content: '';
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.faq-item[open] > summary::after { transform: rotate(-135deg); }

.faq-item > summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
  border-radius: 16px;
}

/* Indented past the number chip, so the answer hangs off its question. */
.faq-item > p {
  padding: 0 1.6rem 1.2rem 3.5rem;
  margin-top: -0.4rem;
  color: var(--color-text-gray);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ==========================================
   PRICING SECTION
   ========================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
}

.pricing-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  margin-bottom: 1.5rem;
  color: #fff;
}

.pricing-card .price span {
  font-size: 1.2rem;
  color: var(--color-text-gray);
  font-weight: 400;
}

.plan-desc {
  color: var(--color-text-gray);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  min-height: 50px;
}

.plan-features {
  list-style: none;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(255, 42, 133, 0.1) 0%, rgba(27, 27, 38, 0.65) 100%);
  border-color: rgba(255, 42, 133, 0.4);
  position: relative;
  transform: translateY(-10px);
}

.pricing-card.featured:hover {
  box-shadow: 0 16px 48px 0 rgba(255, 42, 133, 0.15);
}

.currency-switch {
  /* flex + fit-content + auto margins so it centres above the plan grid */
  display: flex;
  width: fit-content;
  gap: 0.25rem;
  padding: 0.25rem;
  margin: -3rem auto 3rem auto;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-glass);
}

.cur-btn {
  padding: 0.45rem 1.1rem;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: var(--color-text-gray);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cur-btn.active {
  background: var(--gradient-primary);
  color: #fff;
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  padding: 0.3rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
}

/* ==========================================
   CTA SECTION (FREE TRIAL)
   ========================================== */
.cta-section {
  background: var(--gradient-dark);
  border-top: 1px solid var(--color-border-glass);
}

.cta-card {
  padding: 4rem;
  text-align: center;
}

.cta-card h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-card p {
  color: var(--color-text-gray);
  margin-bottom: 3rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cta-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--color-text-gray);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background: #09090d;
  padding: 5rem 0 3rem 0;
  border-top: 1px solid var(--color-border-glass);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--color-text-gray);
  margin-top: 1.2rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-gray);
  font-size: 1.1rem;
}

.footer-socials a:hover {
  background: var(--gradient-primary);
  color: #fff;
}

footer h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

footer a {
  display: block;
  color: var(--color-text-gray);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

footer a:hover {
  color: #fff;
}

/* A footer entry that is a fact rather than a link, set like the links beside it
   so the column still reads as one list. */
.footer-text {
  display: block;
  color: var(--color-text-gray);
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.footer-brand .footer-maker {
  margin-top: 0;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid var(--color-border-glass);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-gray);
}

/* ==========================================
   CAROUSEL — SIZES AND THE REDUCED-MOTION FALLBACK
   The card is a fixed height so the stage never jumps between cards of
   different length; --card-h is the one number to change per breakpoint.
   ========================================== */
@media (max-width: 1100px) {
  :root { --card-h: 620px; }

  .carousel-stage .slide {
    padding: 2.5rem;
  }

  .slide-title { font-size: 2.2rem; }

  .slide-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .slide-split.reverse .slide-copy,
  .slide-split.reverse .slide-visual {
    order: 0;
  }

  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipe-arrow { display: none; }
  .format-grid { grid-template-columns: repeat(3, 1fr); }
}

/* A card has to be takeable in at a glance, and on a phone that means it has
   to fit the screen. Everything below is in service of one number: the card's
   height. Nothing is scaled down — the type stays legible and the panels keep
   their structure; they just stop being generous. */
@media (max-width: 760px) {
  :root { --card-h: 640px; }

  .carousel-stage .slide {
    width: 92vw;
    margin-left: -46vw;
    padding: 1.6rem 1.3rem;
    border-radius: 22px;
  }

  .slide-tag {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.9rem;
  }

  .slide-title {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
  }

  .slide-lead { font-size: 0.88rem; }
  .slide-kicker { margin-top: 1.3rem; font-size: 0.88rem; }

  .slide-split { gap: 1.3rem; }

  /* Two per row, tighter. Four full-width rows cost 248px on their own. */
  .slide-points {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 1.2rem;
  }

  .slide-points li {
    padding: 0.6rem 0.7rem;
    gap: 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
  }

  .slide-points li > i { flex-basis: 14px; font-size: 0.8rem; }

  .signal-chips { gap: 0.4rem; margin-top: 1.2rem; }
  .signal-chip { padding: 0.4rem 0.7rem; font-size: 0.76rem; }

  .pipeline { grid-template-columns: 1fr 1fr; gap: 0.7rem; }

  /* Five tiles, three across: two rows instead of three, which is a whole
     row of card height. The labels alone carry it at this size, so the
     one-line description under each steps aside. */
  .format-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }

  .format-art { height: 68px; border-radius: 9px; }
  .format-tile { padding: 0.55rem; border-radius: 12px; }
  .format-tile h4 { font-size: 0.78rem; margin: 0.55rem 0 0 0; }
  .format-tile p { display: none; }

  /* the miniatures need to stay readable at a third of the width */
  .art-image { padding: 0.5rem; gap: 0.25rem; }
  .art-tag { font-size: 0.42rem; padding: 0.1rem 0.25rem; }
  .art-line { height: 5px; }
  .art-line.short { height: 4px; }
  .art-play { width: 26px; height: 26px; font-size: 0.55rem; }
  .art-wave { height: 12px; left: 0.5rem; right: 0.5rem; bottom: 0.5rem; gap: 2px; }
  .art-card { width: 30px; height: 46px; border-radius: 5px; }
  .art-card.c1 { transform: translateX(-24px) rotate(-8deg); }
  .art-card.c3 { transform: translateX(24px) rotate(8deg); }
  .art-comic { gap: 3px; padding: 5px; }
  .art-blog { padding: 0.5rem; gap: 0.25rem; }
  .art-h { height: 7px; margin-bottom: 0.15rem; }
  .art-t { height: 4px; }
  .art-chip { font-size: 0.42rem; right: 0.5rem; bottom: 0.5rem; padding: 0.12rem 0.25rem; }

  .pipe-stage { padding: 1rem 0.9rem; border-radius: 14px; }
  .pipe-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    border-radius: 10px;
  }
  .pipe-stage h4 { font-size: 0.9rem; margin-bottom: 0.25rem; }
  .pipe-stage p { font-size: 0.74rem; }

  /* --- The illustrative panels --- */
  .mini-panel { padding: 1.1rem; border-radius: 16px; }

  .mini-panel-head {
    padding-bottom: 0.7rem;
    margin-bottom: 0.7rem;
    font-size: 0.76rem;
  }

  .mini-rows,
  .context-list,
  .queue-list,
  .assistant-thread { gap: 0.45rem; }

  .mini-row { padding: 0.55rem 0.7rem; gap: 0.7rem; }
  .queue-item { padding: 0.5rem 0.6rem; gap: 0.5rem; }
  .queue-when { padding: 0.2rem 0.4rem; font-size: 0.6rem; }
  .queue-when i { display: none; }

  /* The time badge takes the room the sub-line used, and the thumbnail icon
     already says which kind of media each row is. */
  .queue-item div span { display: none; }
  .context-item { gap: 0.7rem; }

  .mini-row strong,
  .context-item strong,
  .queue-item strong,
  .context-out strong { font-size: 0.78rem; }

  .mini-row div span,
  .context-item div span,
  .queue-item div span,
  .context-out div span { font-size: 0.68rem; }

  .ctx-icon,
  .queue-thumb {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
    border-radius: 8px;
  }

  /* These panels illustrate a shape rather than report data, and three rows
     illustrate it as well as four. The dropped ones are the points the copy
     beside them already makes. */
  .mini-rows .mini-row:nth-child(4),
  .context-list .context-item:nth-child(4) { display: none; }

  .context-out { margin-top: 0.8rem; padding: 0.7rem; border-radius: 12px; }

  .publish-row { margin-top: 0.8rem; padding-top: 0.8rem; gap: 0.55rem; }
  .pub-chip { padding: 0.28rem 0.55rem; font-size: 0.66rem; }

  .a-msg { padding: 0.6rem 0.8rem; font-size: 0.78rem; border-radius: 12px; }
  .a-work-row { font-size: 0.72rem; }

  .carousel-arrow {
    width: 42px;
    height: 42px;
    margin-top: -21px;
    font-size: 0.85rem;
  }

  .carousel-arrow.prev { left: 0.35rem; }
  .carousel-arrow.next { right: 0.35rem; }

  /* A 132px portrait beside the words leaves nothing for the words. */
  .quotes-carousel { --card-h: 460px; }

  .carousel-stage .testimonial {
    width: 92vw;
    margin-left: -46vw;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.2rem;
    padding: 1.8rem 1.5rem;
    border-radius: 22px;
  }

  .testimonial-portrait { width: 84px; height: 84px; font-size: 1.5rem; }
  .testimonial blockquote { font-size: 1.12rem; line-height: 1.45; }
  .testimonial figcaption { align-items: center; }
  .testimonial figcaption strong { font-size: 0.92rem; }
  .testimonial figcaption span { font-size: 0.78rem; }
  .quote-mark { top: 0.5rem; right: 1rem; font-size: 3.5rem; }
}

/* Someone who has asked for less motion gets a plain stack: no autoplay
   (app.js checks the same query), no 3D, no sliding. */
@media (prefers-reduced-motion: reduce) {
  .carousel-stage {
    height: auto;
    perspective: none;
  }

  .carousel-stage .slide {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 1.5rem 0;
    transform: none !important;
    opacity: 1 !important;
    transition: none;
  }

  .carousel-stage .slide::after { display: none; }

  .carousel-arrow,
  .carousel-nav,
  .deck-progress {
    display: none;
  }
}

/* ==========================================
   RESPONSIVENESS (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .badge {
    margin: 0 auto 1.5rem auto;
  }
  
  .hero-actions {
    justify-content: center;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .pricing-card.featured {
    transform: translateY(0);
  }

  .close-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-nav.active {
    display: flex;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }

  /* Side by side on a phone, "Start 30-Day Free Trial" wrapped onto four
     lines inside its own button. */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .faq-item > summary {
    padding: 1rem 1.1rem;
    font-size: 0.93rem;
    gap: 0.65rem;
  }

  .faq-item > p {
    padding: 0 1.2rem 1.1rem 3rem;
    font-size: 0.9rem;
  }


  .close-actions .btn {
    width: 100%;
  }
}

/* ==========================================
   UNDER THE HOOD (stack.html)
   The partners page, kept high level by decision: steps, techniques and
   platforms, nothing finer. Its own `uh-` names, so nothing here can reach
   the main page's deck, which has a `.pipe-*` pipeline of its own.
   ========================================== */
.uh-intro { padding-bottom: 1rem; }

.uh-intro h1 {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
}

.uh-section {
  padding: 2.5rem 0;
  /* The nav jumps here; the sticky header would otherwise cover the heading.
     `--header-h` is measured by app.js. */
  scroll-margin-top: calc(var(--header-h, 114px) + 8px);
}

.uh-h2 {
  font-size: 2rem;
  margin-bottom: 1.4rem;
}

/* The six steps: three across on a desktop, two on a tablet, one on a phone,
   the step number carrying the order. */
.uh-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.uh-step,
.uh-card,
.uh-group {
  padding: 1.3rem 1.4rem;
  border-radius: 18px;
}

.uh-num {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.uh-step h3,
.uh-card h3,
.uh-group h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.uh-step h3 i,
.uh-card h3 i { color: var(--color-secondary); font-size: 0.95rem; }

.uh-step p,
.uh-card p {
  color: var(--color-text-gray);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Six techniques, laid out as the six steps are: 3, then 2, then 1. */
.uh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.uh-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.uh-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.uh-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  border: 1px solid var(--color-border-glass);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

.uh-chips li i { color: var(--color-secondary); }

.uh-end { padding-bottom: 4rem; }

/* index.html's line under the deck that leads here. */
.stack-teaser {
  text-align: center;
  margin-top: 1.6rem;
  color: var(--color-text-gray);
  font-size: 0.95rem;
}

.stack-teaser i { color: var(--color-secondary); margin-right: 0.35rem; }
.stack-teaser a { color: var(--color-primary); font-weight: 600; }
.stack-teaser a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .uh-flow, .uh-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .uh-intro h1 { font-size: 2.1rem; }
  .uh-h2 { font-size: 1.6rem; }
}

@media (max-width: 600px) {
  .uh-flow, .uh-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   YOUR DATA (index.html #your-data)
   What the app does with Google Business Profile data, and what it will not
   make. Two cards, the close-tile look, readable at a glance.
   ========================================== */
.data-section {
  border-top: 1px solid var(--color-border-glass);
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.data-card {
  padding: 2.2rem 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-glass);
  display: flex;
  flex-direction: column;
}

.data-card-icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.data-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.data-card p {
  color: var(--color-text-gray);
  font-size: 0.95rem;
}

.data-points {
  list-style: none;
  margin: 1rem 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.data-points li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.data-points li i {
  color: var(--color-secondary);
  margin-top: 0.25rem;
}

.data-card .data-promise {
  color: var(--color-text-white);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.data-link {
  margin-top: auto;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.data-link:hover { text-decoration: underline; }

/* ==========================================
   LEGAL PAGES (privacy.html, terms.html)
   Generated by socials/tool/build_legal_pdfs.py -- edit the generator and the
   txt sources, never the pages. Set for long reading: one narrow column,
   clause numbers hung in the margin like the PDF.
   ========================================== */
.legal-page {
  padding: 3.5rem 0 5rem;
}

.legal-doc {
  max-width: 860px;
}

.legal-doc h1 {
  font-size: 2.6rem;
  margin-bottom: 0.4rem;
}

.legal-subtitle {
  color: var(--color-text-gray);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.6rem 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.legal-meta dt {
  color: var(--color-text-gray);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal-meta dd { overflow-wrap: anywhere; }

.legal-note {
  color: var(--color-text-gray);
  font-size: 0.82rem;
  margin-bottom: 2rem;
}

.legal-callout {
  padding: 1.4rem 1.6rem;
  border-radius: 16px;
  background: rgba(255, 42, 133, 0.06);
  border: 1px solid rgba(255, 42, 133, 0.25);
  margin-bottom: 2.2rem;
}

.legal-callout p + p { margin-top: 0.7rem; }

.legal-callout-head {
  font-weight: 700;
}

.legal-toc {
  padding: 1.4rem 1.6rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-glass);
  margin-bottom: 1rem;
}

.legal-toc h2 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.legal-toc ol {
  list-style: none;
  columns: 2;
  column-gap: 2rem;
  font-size: 0.92rem;
}

.legal-toc li { break-inside: avoid; padding: 0.15rem 0; }

.legal-doc a { color: var(--color-primary); overflow-wrap: anywhere; }
.legal-doc a:hover { text-decoration: underline; }
.legal-toc a { color: var(--color-text-white); }

.legal-secnum { color: var(--color-text-gray); }

.legal-section {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.legal-section h2 {
  font-size: 1.35rem;
  margin: 2.6rem 0 1.1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--color-border-glass);
}

.legal-clause,
.legal-sub {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  line-height: 1.7;
  color: #d9d9e3;
}

.legal-sub {
  margin-left: 3.2rem;
  grid-template-columns: 2rem 1fr;
}

.legal-num {
  color: var(--color-text-gray);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.legal-text b { color: var(--color-text-white); }

.legal-plain,
.legal-indented {
  margin-bottom: 0.9rem;
  line-height: 1.7;
  color: #d9d9e3;
}

.legal-indented { margin-left: 3.6rem; }

.legal-table {
  width: calc(100% - 3.6rem);
  margin: 0.4rem 0 1.2rem 3.6rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.8rem 0.55rem 0;
  border-bottom: 1px solid var(--color-border-glass);
  line-height: 1.55;
}

.legal-table th {
  width: 30%;
  font-weight: 600;
  color: var(--color-text-white);
}

.legal-table td { color: #d9d9e3; }

.legal-rule {
  border: 0;
  border-top: 1px solid var(--color-border-glass);
  margin: 2.4rem 0 1rem;
}

.legal-colophon {
  color: var(--color-text-gray);
  font-size: 0.85rem;
}

/* A link inside the one-line copyright footer stays in the line. */
.footer-bottom a {
  display: inline;
  margin: 0;
  font-size: inherit;
  color: var(--color-text-gray);
  text-decoration: underline;
}

@media (max-width: 760px) {
  .data-grid { grid-template-columns: 1fr; }
  .data-card { padding: 1.8rem 1.4rem; }
  .legal-doc h1 { font-size: 2rem; }
  .legal-toc ol { columns: 1; }
  .legal-clause { grid-template-columns: 2.8rem 1fr; }
  .legal-sub { margin-left: 1.2rem; }
  .legal-indented { margin-left: 0; }
  .legal-table { width: 100%; margin-left: 0; }
  .legal-table th, .legal-table td { display: block; width: auto; padding-right: 0; }
  .legal-table th { border-bottom: 0; padding-bottom: 0; }
}
