/* =========================================================
   Marketing homepage — sits above the existing sign-up panel.
   Headings use a distinct display face (--font-display) against
   Inter body text for real typographic hierarchy; a handful of
   feature-specific accent colors add variety against the
   otherwise-neutral palette. The page's job is to explain the
   product to someone who's never seen it, then hand off to the
   real sign-up form already on this page.
   ========================================================= */

.mkt-nav-brand .brand-name,
.mkt-hero h1,
.mkt-showcase-text h2,
.mkt-trio-heading h2,
.mkt-final-cta h2,
.mkt-section h2.section-heading,
.mkt-feature-card h3,
.mkt-roadmap-card h3,
.mkt-price-card h3 {
  font-family: var(--font-display);
}

.mkt-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 40;
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}
.mkt-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(11, 11, 15, 0.04);
}
.mkt-nav-brand { display: flex; align-items: center; gap: 9px; }
.mkt-nav-brand img { height: 22px; width: 22px; border-radius: 5px; }
.mkt-nav-brand .brand-name { font-size: 14.5px; font-weight: 600; }
.mkt-nav-actions { display: flex; align-items: center; gap: 10px; }

/* Fully-rounded pill buttons for marketing CTAs specifically — scoped so
   the dashboard's own buttons (a different, functional UI context) keep
   their small-radius rectangular shape unchanged. */
.mkt-nav-actions .btn, .mkt-hero-ctas .btn, .mkt-quick-shorten .btn, .mkt-final-cta .btn {
  border-radius: 999px;
}
.mkt-nav-actions a.btn { text-decoration: none; }
/* A subtle gradient on the primary CTA — the dashboard's own accent button
   stays flat (a gradient suits an occasional marketing click, not a button
   pressed dozens of times a day in the product). Final CTA's button is
   deliberately white instead (set further down, for contrast against its
   dark background), so it's left out here rather than set and overridden. */
.mkt-nav-actions .btn-accent, .mkt-hero-ctas .btn-accent, .mkt-quick-shorten .btn-accent {
  background: linear-gradient(135deg, #5b52e8 0%, #4138c2 100%);
}
.mkt-nav-actions .btn-accent:hover, .mkt-hero-ctas .btn-accent:hover, .mkt-quick-shorten .btn-accent:hover {
  background: linear-gradient(135deg, #4a41d1 0%, #352e9e 100%);
}
.mkt-nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 4px;
}
.mkt-nav-link:hover { color: var(--text); }
@media (max-width: 760px) {
  .mkt-nav-link { display: none; }
}

/* Generous vertical rhythm carries section-to-section structure on its
   own — no colored band dividers. Trust whitespace over dividers. */
.mkt-section { padding: 120px 40px; max-width: 1080px; margin: 0 auto; }
.mkt-section-narrow { max-width: 720px; }

/* ---- hero ----
   A wide, dark, quiet stage — matching the reference direction's actual
   hero treatment (not a white section like the rest of the page). Full-
   bleed via the same spread-shadow technique used for the tinted bands;
   the hero's own content stays centered and width-constrained same as
   every other section. */
.mkt-hero {
  text-align: center;
  padding-top: 120px;
  padding-bottom: 96px;
  background: radial-gradient(ellipse 900px 480px at 50% -10%, #221f3d 0%, #0b0b0f 65%);
  box-shadow: 0 0 0 100vmax var(--ink);
  clip-path: inset(0 -100vmax);
  margin-top: 0;
}
.mkt-hero h1 {
  font-size: 68px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 auto 20px;
  max-width: 760px;
  color: var(--text-on-ink);
}
.mkt-hero p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-on-ink-muted);
  max-width: 520px;
  margin: 0 auto 36px;
}
.mkt-hero-ctas { display: flex; gap: 10px; justify-content: center; }
.mkt-hero-ctas .btn { padding: 10px 20px; font-size: 14px; }

/* ---- hero demo: the one real motion moment — a URL actually shortening ---- */
.mkt-hero-demo { max-width: 560px; margin: 52px auto 0; }
.mkt-hero-demo-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 14px 20px;
  box-shadow: 0 1px 0 rgba(11, 11, 15, 0.03);
}
.mkt-hero-demo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.mkt-hero-demo-url { flex: 1; min-width: 0; text-align: left; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; overflow: hidden; white-space: nowrap; }
.mkt-hero-demo-long { color: var(--text-muted); }
.mkt-hero-demo-short { color: var(--text); }
.mkt-hero-demo-short strong { color: var(--accent); font-weight: 600; }
.mkt-hero-demo-badge { flex-shrink: 0; font-size: 11.5px; font-weight: 600; color: #1a7f4b; background: #e6f4ec; padding: 5px 11px; border-radius: 999px; }
@media (max-width: 560px) { .mkt-hero-demo-url { font-size: 11.5px; } }

/* ---- quick shorten widget ---- */
.mkt-quick-shorten {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto 8px;
}
.mkt-quick-shorten input {
  flex: 1;
  padding: 11px 18px;
  font-size: 14px;
  border-radius: 999px;
}
.mkt-quick-shorten .btn { padding: 11px 20px; font-size: 14px; white-space: nowrap; }
.mkt-quick-shorten-msg { max-width: 520px; margin: 0 auto 28px; text-align: left; }
.mkt-quick-shorten-msg:empty { margin: 0; }

/* ---- value prop bar ---- */
.mkt-value-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mkt-value-item {
  background: var(--bg);
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mkt-value-item strong { font-size: 14px; font-weight: 600; }
.mkt-value-item span { font-size: 12.5px; color: var(--text-muted); }

/* ---- product preview mockup ---- */
.mkt-preview-wrap { padding-top: 64px; }
.mkt-preview-frame {
  max-width: 780px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background: var(--bg);
}
.mkt-preview-topbar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.mkt-preview-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--border-strong); }
.mkt-preview-body { display: flex; min-height: 220px; }
.mkt-preview-sidebar {
  width: 140px;
  flex-shrink: 0;
  background: var(--bg-subtle);
  border-right: 1px solid var(--border);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mkt-preview-nav-item {
  font-size: 11.5px;
  color: var(--text-muted);
  padding: 6px 8px;
  border-radius: 6px;
}
.mkt-preview-nav-item.active { background: var(--accent-wash); color: var(--accent-hover); font-weight: 600; }
.mkt-preview-main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.mkt-preview-row { display: flex; align-items: center; gap: 12px; }
.mkt-preview-code { font-size: 11.5px; color: var(--text); width: 130px; flex-shrink: 0; }
.mkt-preview-bar { height: 6px; border-radius: 3px; background: var(--accent); opacity: 0.85; flex: 1; }
.mkt-preview-num { font-size: 11.5px; font-weight: 600; color: var(--text-muted); width: 44px; text-align: right; flex-shrink: 0; }

/* ---- feature showcases (Links / Analytics / Integrations) ---- */
.mkt-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  padding: 72px 40px;
  max-width: 1080px;
  margin: 0 auto;
}
.mkt-showcase.reverse .mkt-showcase-visual { order: -1; }
.mkt-showcase-text h2 { font-size: 38px; line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.025em; font-weight: 600; }
.mkt-showcase-text p { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); margin: 0 0 20px; }
.mkt-showcase-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.mkt-showcase-list li { font-size: 13.5px; color: var(--text); display: flex; gap: 9px; align-items: flex-start; }
.mkt-showcase-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }

/* ---- analytics showcase mockup ---- */
.mkt-analytics-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}
.mkt-analytics-card h4 { font-size: 12.5px; font-weight: 600; color: var(--text-muted); margin: 0 0 16px; }
.mkt-analytics-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mkt-analytics-row:last-child { margin-bottom: 0; }
.mkt-analytics-flag { font-size: 15px; flex-shrink: 0; }
.mkt-analytics-country { font-size: 12.5px; color: var(--text); width: 92px; flex-shrink: 0; }
.mkt-analytics-bar-track { flex: 1; height: 7px; background: var(--bg-subtle); border-radius: 4px; overflow: hidden; }
.mkt-analytics-bar-fill {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  width: 0%;
  transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mkt-analytics-pct { font-size: 12px; font-weight: 600; color: var(--text-muted); width: 32px; text-align: right; flex-shrink: 0; }

/* ---- integrations showcase mockup ---- */
.mkt-integrations-card {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 8px;
}
.mkt-integration-app {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
}
.mkt-integration-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-wash);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mkt-integration-toast {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%) translateY(6px);
  background: var(--ink);
  color: var(--text-on-ink);
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transition: opacity 300ms ease, transform 300ms ease;
  pointer-events: none;
}
.mkt-integration-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 760px) {
  .mkt-showcase { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px; }
  .mkt-showcase.reverse .mkt-showcase-visual { order: 0; }
  .mkt-integrations-card { flex-direction: column; }
}

/* ---- "New" badge on the revenue showcase ---- */
.mkt-new-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-hover);
  background: var(--accent-wash);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* ---- revenue funnel showcase mockup ---- */
.mkt-funnel-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mkt-funnel-stage { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.mkt-funnel-num { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mkt-funnel-label { font-size: 11.5px; color: var(--text-muted); }
.mkt-funnel-arrow { color: var(--border-strong); font-size: 16px; }
@media (max-width: 480px) {
  .mkt-funnel-card { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .mkt-funnel-arrow { display: none; }
}

/* ---- roadmap ---- */
.mkt-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.mkt-roadmap-card {
  background: var(--bg);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 20px;
}
.mkt-roadmap-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.mkt-roadmap-status.in-progress { background: var(--highlight-wash); color: #a06400; }
.mkt-roadmap-status.shipped { background: var(--accent-wash); color: var(--accent-hover); }
.mkt-roadmap-status.planned { background: var(--bg-subtle); color: var(--text-muted); }
.mkt-roadmap-card h3 { font-size: 14px; margin: 0 0 6px; }
.mkt-roadmap-card p { font-size: 12.5px; line-height: 1.55; color: var(--text-muted); margin: 0; }

@media (max-width: 760px) {
  .mkt-roadmap-grid { grid-template-columns: 1fr; }
}
/* ---- feature grid (real capabilities, secondary to the 3 showcases above) ---- */
.mkt-features-band { background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mkt-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  perspective: 900px;
}
.mkt-feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  padding: 20px;
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 500ms var(--ease-spring);
  will-change: transform;
}
.mkt-feature-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}
.mkt-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-wash);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
/* A distinct color per feature instead of one repeated purple wash —
   coordinated, not random: each pulled from a tasteful, limited set.
   Keyed by an explicit color field in the data (FEATURES, Sections.jsx),
   not DOM position — each card is independently wrapped by its own Reveal
   div, so a positional (:nth-child) selector can't distinguish them. */
.mkt-icon-violet { background: #f1effe; color: #5b52e8; }
.mkt-icon-amber { background: #fef6e7; color: #c17d12; }
.mkt-icon-blue { background: #e8f3ff; color: #1868c4; }
.mkt-icon-green { background: #e6f4ec; color: #1a7f4b; }
.mkt-icon-rose { background: #fdedf3; color: #c23b74; }
.mkt-icon-indigo { background: #f0eefc; color: #6d4ec4; }
.mkt-feature-card h3 { font-size: 14px; margin: 0 0 6px; }
.mkt-feature-card p { font-size: 12.5px; line-height: 1.55; color: var(--text-muted); margin: 0; }

/* ---- live animated demo (product-preview) ---- */
.mkt-demo-input-row { display: flex; gap: 8px; align-items: center; }
.mkt-demo-input {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text);
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  min-height: 16px;
  white-space: nowrap;
  overflow: hidden;
}
.mkt-demo-caret {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: var(--accent);
  margin-left: 1px;
  vertical-align: -2px;
  animation: demoCaretBlink 0.9s step-end infinite;
}
@keyframes demoCaretBlink { 50% { opacity: 0; } }
.mkt-demo-btn {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: #ffffff;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  white-space: nowrap;
  transition: transform 120ms ease, background-color 120ms ease;
}
.mkt-demo-btn.pressed { transform: scale(0.94); background: var(--accent-hover); }

.mkt-demo-results { display: flex; flex-direction: column; gap: 8px; min-height: 96px; }
.mkt-demo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(-6px);
  animation: demoRowIn 400ms ease forwards;
}
@keyframes demoRowIn { to { opacity: 1; transform: translateY(0); } }
.mkt-demo-code { font-family: var(--font-mono); font-size: 11.5px; color: var(--text); width: 128px; flex-shrink: 0; }
.mkt-demo-bar-track { flex: 1; height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; }
.mkt-demo-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--accent);
  width: 0%;
  transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mkt-demo-num { font-size: 11.5px; font-weight: 600; color: var(--text-muted); width: 44px; text-align: right; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .mkt-demo-caret { animation: none; }
  .mkt-demo-row { animation: none; opacity: 1; transform: none; }
  .mkt-demo-bar-fill { transition: none; }
}

/* ---- video frame ---- */
.mkt-video-wrap { padding: 0 40px 88px; }
.mkt-video-frame {
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: linear-gradient(135deg, var(--ink) 0%, #23212f 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mkt-video-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 860 484'%3E%3Cpath d='M60 400 C 220 400, 260 220, 400 220 S 560 90, 780 60' fill='none' stroke='%235B52E8' stroke-width='1.5' stroke-dasharray='1 8' stroke-linecap='round' opacity='0.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.mkt-play-btn {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 140ms ease;
}
.mkt-video-frame:hover .mkt-play-btn { transform: scale(1.06); }
.mkt-play-btn svg { margin-left: 3px; }
.mkt-video-caption { text-align: center; font-size: 12.5px; color: var(--text-muted); margin-top: 14px; }

/* ---- process flow ---- */
.mkt-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.mkt-step { text-align: left; }
.mkt-step-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-wash);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.mkt-step h3 { font-size: 14.5px; margin: 0 0 6px; }
.mkt-step p { font-size: 13px; line-height: 1.55; color: var(--text-muted); margin: 0; }

/* ---- testimonials ---- */
.mkt-testimonials { background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mkt-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  perspective: 900px;
}
.mkt-testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 180ms ease, transform 500ms var(--ease-spring);
  will-change: transform;
}
.mkt-testimonial-card:hover {
  box-shadow: var(--shadow-sm);
}
.mkt-testimonial-card p.quote {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}
.mkt-testimonial-person { display: flex; align-items: center; gap: 10px; }
.mkt-testimonial-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 600;
  flex-shrink: 0;
}
.mkt-testimonial-person .name { font-size: 12.5px; font-weight: 600; color: var(--text); }
.mkt-testimonial-person .role { font-size: 12px; color: var(--text-muted); }

/* ---- final CTA ---- */
/* A deliberate second moment of contrast near the end of the page — dark,
   confident, the same "disciplined black-and-white backbone" the reference
   direction uses for its own closing sections, rather than another white
   card matching everything above it. */
.mkt-final-cta {
  text-align: center;
  background: var(--ink);
  border-radius: var(--radius-md);
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 32px;
}
.mkt-final-cta h2 { font-size: 40px; line-height: 1.1; margin: 0 0 14px; letter-spacing: -0.025em; font-weight: 600; color: var(--text-on-ink); }
.mkt-final-cta p { font-size: 14.5px; color: var(--text-on-ink-muted); margin: 0 0 28px; }
.mkt-final-cta .btn-accent { background: #ffffff; color: var(--ink); }
.mkt-final-cta .btn-accent:hover { background: #ededf2; }

.mkt-section h2.section-heading {
  font-size: 42px;
  line-height: 1.12;
  text-align: center;
  margin: 0 0 14px;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.mkt-section p.section-sub {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto;
}

/* ---- pricing ---- */
.mkt-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
  align-items: stretch;
  perspective: 900px;
}
.mkt-price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 180ms ease, transform 500ms var(--ease-spring);
  will-change: transform;
}
.mkt-price-card:hover { box-shadow: var(--shadow-sm); }
.mkt-price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm);
  position: relative;
}
.mkt-price-card.featured:hover {
  box-shadow: 0 0 0 1px var(--accent), 0 4px 14px rgba(91, 82, 232, 0.18);
}
.mkt-price-featured-tag {
  position: absolute;
  top: -11px;
  left: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}
.mkt-price-name { font-size: 14px; font-weight: 600; }
.mkt-price-amount { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.mkt-price-amount span { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.mkt-price-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mkt-price-list li { font-size: 12.5px; color: var(--text-muted); display: flex; gap: 8px; align-items: flex-start; }
.mkt-price-list svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.mkt-price-card .btn { justify-content: center; width: 100%; }
.mkt-pricing-note { text-align: center; font-size: 12.5px; color: var(--text-muted); margin-top: 24px; }

/* ---- FAQ ---- */
.mkt-faq-list {
  max-width: 720px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mkt-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  padding: 4px 4px;
}
.mkt-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mkt-faq-item summary::-webkit-details-marker { display: none; }
.mkt-faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b76' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 160ms ease;
}
.mkt-faq-item[open] summary::after { transform: rotate(180deg); }
.mkt-faq-item p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .mkt-pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .mkt-nav { padding: 14px 20px; }
  .mkt-section { padding: 56px 20px; }
  .mkt-hero h1 { font-size: 40px; }
  .mkt-steps { grid-template-columns: 1fr 1fr; }
  .mkt-testimonial-grid { grid-template-columns: 1fr; }
  .mkt-pricing-grid { grid-template-columns: 1fr; }
  /* These big display headings were sized for desktop and had no mobile
     override at all — at full size on a narrow phone they wrap awkwardly
     and crowd the content below them. */
  .mkt-section h2.section-heading { font-size: 28px; }
  .mkt-showcase-text h2 { font-size: 26px; }
  .mkt-trio-heading h2 { font-size: 24px; }
  .mkt-final-cta { padding: 44px 24px; }
  .mkt-final-cta h2 { font-size: 26px; }
  /* Same gap: three columns squeezed into a phone screen is unreadable. */
  .mkt-feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 460px) {
  .mkt-feature-grid { grid-template-columns: 1fr; }
}

/* ---- scroll reveal ---- */
/* Elements fade + rise into place the first time they cross into view.
   One-time (doesn't re-hide on scrolling back up) since repeatedly
   hiding content people have already read is disorienting, not delightful. */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 650ms var(--ease-spring);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Cascading stagger for card grids — each card appears slightly after
   the one before it, rather than all at once. */
.mkt-steps .reveal:nth-child(1) { transition-delay: 0ms; }
.mkt-steps .reveal:nth-child(2) { transition-delay: 80ms; }
.mkt-steps .reveal:nth-child(3) { transition-delay: 160ms; }
.mkt-steps .reveal:nth-child(4) { transition-delay: 240ms; }
.mkt-feature-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.mkt-feature-grid .reveal:nth-child(2) { transition-delay: 70ms; }
.mkt-feature-grid .reveal:nth-child(3) { transition-delay: 140ms; }
.mkt-feature-grid .reveal:nth-child(4) { transition-delay: 210ms; }
.mkt-feature-grid .reveal:nth-child(5) { transition-delay: 280ms; }
.mkt-feature-grid .reveal:nth-child(6) { transition-delay: 350ms; }
.mkt-testimonial-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.mkt-testimonial-grid .reveal:nth-child(2) { transition-delay: 90ms; }
.mkt-testimonial-grid .reveal:nth-child(3) { transition-delay: 180ms; }
.mkt-pricing-grid .reveal:nth-child(1) { transition-delay: 0ms; }
.mkt-pricing-grid .reveal:nth-child(2) { transition-delay: 70ms; }
.mkt-pricing-grid .reveal:nth-child(3) { transition-delay: 140ms; }
.mkt-pricing-grid .reveal:nth-child(4) { transition-delay: 210ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- footer ---- */
.mkt-footer {
  border-top: 1px solid var(--border);
  padding: 40px;
}
.mkt-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1080px;
  margin: 0 auto 28px;
  flex-wrap: wrap;
  gap: 24px;
}
.mkt-footer-brand { display: flex; align-items: center; gap: 9px; }
.mkt-footer-brand img { height: 20px; width: 20px; border-radius: 5px; }
.mkt-footer-brand .brand-name { font-size: 14px; font-weight: 600; }
.mkt-footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.mkt-footer-nav a { font-size: 13px; color: var(--text-muted); position: relative; }
.mkt-footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 180ms ease;
}
.mkt-footer-nav a:hover::after { width: 100%; }
.mkt-footer-nav a:hover { color: var(--text); }
.mkt-footer-bottom {
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-faint);
}

/* ---- custom domains showcase mockup ---- */
.mkt-domains-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; }
.mkt-domains-url { font-size: 14px; font-family: "JetBrains Mono", ui-monospace, monospace; margin-bottom: 16px; }
.mkt-domains-domain { color: var(--accent); font-weight: 600; }
.mkt-domains-path { color: var(--text-muted); }
.mkt-domains-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.mkt-domains-status.pending { background: #fdf3dc; color: #8a5a00; }
.mkt-domains-status.active { background: #e6f4ec; color: #1a7f4b; }
.mkt-domains-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mkt-domains-dns { display: flex; justify-content: space-between; align-items: center; background: var(--bg-subtle); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12px; font-family: "JetBrains Mono", ui-monospace, monospace; }
.mkt-domains-dns-label { color: var(--text-muted); font-weight: 600; }
.mkt-domains-dns-value { color: var(--text); }

/* ---- A/B testing showcase mockup ---- */
.mkt-abtest-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; }
.mkt-abtest-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mkt-abtest-label { font-size: 12.5px; color: var(--text); width: 118px; flex-shrink: 0; }
.mkt-abtest-bar-track { flex: 1; height: 8px; background: var(--bg-subtle); border-radius: 4px; overflow: hidden; }
.mkt-abtest-bar-fill { display: block; height: 100%; background: var(--accent); border-radius: 4px; width: 0%; }
.mkt-abtest-count { font-size: 12px; font-weight: 600; color: var(--text-muted); width: 28px; text-align: right; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.mkt-abtest-footer { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 4px; }

/* ---- feature trio: bio pages / live feed / partners ---- */
.mkt-trio { max-width: 1080px; margin: 0 auto; padding: 64px 20px; }
.mkt-trio-heading { text-align: center; margin-bottom: 36px; }
.mkt-trio-heading h2 { font-size: 36px; line-height: 1.12; margin: 0 0 10px; letter-spacing: -0.025em; font-weight: 600; }
.mkt-trio-heading p { font-size: 14.5px; color: var(--text-muted); margin: 0; }
.mkt-trio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mkt-trio-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; }
.mkt-trio-card h3 { font-size: 15px; margin: 4px 0 6px; letter-spacing: -0.01em; }
.mkt-trio-card p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.55; }
.mkt-trio-visual { height: 138px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; border-radius: var(--radius-sm); background: var(--bg-subtle); padding: 14px; overflow: hidden; }

.mkt-bio-mock { flex-direction: column; gap: 6px; }
.mkt-bio-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-wash); border: 1.5px solid var(--accent); }
.mkt-bio-name { width: 70px; height: 7px; border-radius: 3px; background: var(--border-strong); margin-top: 2px; }
.mkt-bio-link {
  width: 130px;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 10.5px;
  color: var(--text-muted);
  transition: border-color 150ms ease, color 150ms ease, transform 150ms ease;
}
.mkt-bio-link.tapped { border-color: var(--accent); color: var(--text); transform: scale(1.03); }

.mkt-feed-mock { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 6px; position: relative; }
.mkt-feed-row { display: flex; justify-content: space-between; align-items: center; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 6px 9px; font-size: 10.5px; }
.mkt-feed-dest { font-weight: 600; color: var(--text); font-family: "JetBrains Mono", ui-monospace, monospace; }
.mkt-feed-meta { color: var(--text-muted); }
.mkt-feed-live { position: absolute; top: -2px; right: 0; display: flex; align-items: center; gap: 5px; font-size: 10px; color: #1a7f4b; font-weight: 600; }
.mkt-feed-dot { width: 6px; height: 6px; border-radius: 50%; background: #1a7f4b; box-shadow: 0 0 0 0 rgba(26, 127, 75, 0.5); animation: mkt-feed-pulse 2s infinite; }
@keyframes mkt-feed-pulse { 0% { box-shadow: 0 0 0 0 rgba(26, 127, 75, 0.4); } 70% { box-shadow: 0 0 0 5px rgba(26, 127, 75, 0); } 100% { box-shadow: 0 0 0 0 rgba(26, 127, 75, 0); } }

.mkt-partner-mock { flex-direction: column; align-items: flex-start; gap: 10px; }
.mkt-partner-step { display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: var(--text-muted); }
.mkt-partner-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); flex-shrink: 0; transition: background 200ms ease; }
.mkt-partner-dot.on { background: var(--accent); }
.mkt-partner-earned { color: #1a7f4b; font-weight: 600; }

@media (max-width: 760px) {
  .mkt-trio-grid { grid-template-columns: 1fr; }
}
