/* The product landing pages (root/landing/show: messenger, videos, business, social network) on
   faxo.css's colors, light and dark. Each page sets its accent pair on <body>: --ld-a, --ld-b. */
.fx-landing-page { --ld-a: #0a84ff; --ld-b: #5e5ce6; background: var(--bg); color: var(--label); padding-bottom: 96px; }
.fx-landing-page h1, .fx-landing-page h2, .fx-landing-page h3 { color: var(--label); }

.fx-ld-hero { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 36px; }
.fx-ld-eyebrow { color: var(--ld-a); font-weight: 600; font-size: 15px; letter-spacing: .01em; }
.fx-ld-copy h1 { font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -.035em; margin: 6px 0 12px; }
.fx-ld-lead { font-size: 18px; line-height: 1.5; color: var(--secondary); margin: 0 0 22px; max-width: 34em; }
.fx-ld-cta { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 380px; }
.fx-ld-cta .fx-btn { color: var(--label); }
.fx-ld-cta .fx-btn.primary, .fx-ld-final .fx-btn, .fx-landing-page .fx-joinbar-btn { color: #fff; background: linear-gradient(135deg, var(--ld-a), var(--ld-b)); }
.fx-ld-proof { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 20px; font-size: 14px; color: var(--secondary); }
.fx-ld-proof b { color: var(--label); }
.fx-ld-stars { color: #ff9f0a; letter-spacing: 1px; }

/* the screenshots carry their own phone frame and backdrop */
.fx-ld-phone { justify-self: center; width: min(72vw, 300px); }
.fx-ld-phone img, .fx-ld-shot img { width: 100%; height: auto; display: block; border-radius: 28px;
  box-shadow: 0 30px 60px -24px color-mix(in srgb, var(--ld-a) 45%, transparent), 0 12px 30px rgba(0, 0, 0, .10); }

.fx-ld-band { background: var(--page); padding: 34px 0 30px; }
.fx-ld-band h2, .fx-ld-final h2, .fx-ld-videos h2, .fx-ld-shots h2 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 16px; }
.fx-ld-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 12px; }
.fx-ld-steps li { counter-increment: s; background: var(--card); border-radius: 16px; padding: 16px 16px 16px 60px; position: relative; display: grid; gap: 4px; }
.fx-ld-steps li::before { content: counter(s); position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ld-a), var(--ld-b)); color: #fff; font-weight: 700; display: grid; place-items: center; }
.fx-ld-steps strong { font-size: 17px; }
.fx-ld-steps span { color: var(--secondary); font-size: 15px; line-height: 1.45; }

.fx-ld-why { display: grid; gap: 12px; padding-top: 30px; }
.fx-ld-card { background: var(--fill); border-radius: 18px; padding: 18px; }
.fx-ld-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--ld-a);
  background: color-mix(in srgb, var(--ld-a) 14%, transparent); }
.fx-ld-card h3 { font-size: 19px; margin: 12px 0 4px; }
.fx-ld-card p { margin: 0; color: var(--secondary); font-size: 15px; line-height: 1.5; }

/* videos: real posts, portrait tiles */
.fx-ld-videos { padding-top: 40px; }
.fx-ld-vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fx-ld-vcard { position: relative; display: block; aspect-ratio: 9 / 14; border-radius: 14px; overflow: hidden; background: #1c1c1e; color: #fff; text-decoration: none; }
.fx-ld-vcard img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.fx-ld-vcard:hover img { transform: scale(1.03); }
.fx-ld-vcard::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); pointer-events: none; }
.fx-ld-vplay { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0, 0, 0, .4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fx-ld-vtext { position: absolute; left: 10px; right: 10px; bottom: 9px; z-index: 1; display: grid; gap: 3px; }
.fx-ld-vtitle { font-size: 13px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fx-ld-vmeta { font-size: 12px; opacity: .85; }
.fx-ld-more { text-align: center; margin-top: 16px; }
.fx-ld-more .fx-btn { width: auto; display: inline-flex; padding: 0 24px; color: var(--label); }

/* screenshots: a swipe row on phones, three across on wider screens */
.fx-ld-shots { padding-top: 40px; }
.fx-ld-shotrow { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 16px 18px; margin: 0 -16px; scrollbar-width: none; }
.fx-ld-shotrow::-webkit-scrollbar { display: none; }
.fx-ld-shot { margin: 0; scroll-snap-align: center; }
.fx-ld-shot figcaption { margin-top: 10px; text-align: center; font-size: 15px; font-weight: 600; color: var(--label); }

.fx-ld-final { text-align: center; padding-top: 44px; padding-bottom: 20px; }
.fx-ld-final p { color: var(--secondary); margin: -8px 0 18px; font-size: 17px; }
.fx-ld-final .fx-btn { width: auto; display: inline-flex; padding: 0 28px; }

@media (min-width: 560px) {
  .fx-ld-vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .fx-ld-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; padding-top: 40px; }
  .fx-ld-copy h1 { font-size: 54px; }
  .fx-ld-cta { grid-template-columns: 1fr 1fr; }
  .fx-ld-phone { width: min(100%, 320px); }
  .fx-ld-steps, .fx-ld-why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fx-ld-vgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .fx-ld-shotrow { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: 28px; overflow: visible; margin: 0; padding: 4px 0 0; }
}
