/* FoundFirst */
:root {
  --ff-ink: #0b0b0c;
  --ff-gray: #6e6e73;
  --ff-dim-dark: #86868b;
  --ff-line: #e5e5ea;
  --ff-bg: #ffffff;
  --ff-soft: #f5f5f7;
  --ff-black: #000000;
  --ff-accent: #ff6a1a;
  --ff-accent-press: #e8590c;
  --ff-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ff-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ff-black); }
.ff-page { background: var(--ff-bg); color: var(--ff-ink); font-family: var(--ff-font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
.ff-page h1, .ff-page h2, .ff-page h3, .ff-page p { margin: 0; }

/* Nav */
.ff-nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 0 clamp(16px, 4vw, 48px); background: rgba(255, 255, 255, 0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.ff-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ff-ink); }
.ff-nav .ff-brand { justify-self: start; }
.ff-brand-mark { width: 28px; height: 28px; }
.ff-brand-word { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.ff-brand-word b { font-weight: 800; color: var(--ff-accent); }
.ff-mark-lens { stroke: currentColor; }
.ff-mark-one { stroke: var(--ff-accent); }
.ff-nav-links { display: none; gap: 32px; }
.ff-nav-links a { color: var(--ff-ink); opacity: 0.72; text-decoration: none; font-size: 14px; font-weight: 500; transition: opacity 0.2s; }
.ff-nav-links a:hover { opacity: 1; }
@media (min-width: 860px) { .ff-nav-links { display: flex; } }

/* Buttons */
.ff-pill { box-sizing: border-box; line-height: 1; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 30px; border-radius: 999px; background: var(--ff-ink); color: #fff; text-decoration: none; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; transition: transform 0.25s var(--ff-ease), background 0.25s; }
.ff-pill:hover { transform: scale(1.03); }
.ff-pill:active { transform: scale(0.98); }
.ff-pill-sm { grid-column: 3; justify-self: end; height: 36px; padding: 0 18px; font-size: 14px; }
.ff-pill-sm:hover { background: var(--ff-accent); }
.ff-pill-accent { background: var(--ff-accent); }
.ff-pill-accent:hover { background: var(--ff-accent-press); }
.ff-pill:focus-visible, .ff-nav-links a:focus-visible, .ff-faq summary:focus-visible { outline: 2px solid var(--ff-accent); outline-offset: 3px; }

/* Layout */
.ff-section { padding: clamp(96px, 14vw, 180px) clamp(24px, 6vw, 80px); overflow-x: clip; }
.ff-wrap { max-width: 1180px; margin: 0 auto; }
.ff-dark { background: var(--ff-black); color: #fff; }
.ff-soft { background: var(--ff-soft); }
.ff-page .ff-eyebrow { font-size: 17px; font-weight: 600; color: var(--ff-accent); margin-bottom: 18px; }
.ff-h2 { font-size: clamp(40px, 7.5vw, 104px); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; overflow-wrap: break-word; }
.ff-dim { color: var(--ff-gray); }
.ff-dark .ff-dim { color: var(--ff-dim-dark); }
.ff-page .ff-lead { font-size: clamp(19px, 2vw, 24px); line-height: 1.45; letter-spacing: -0.01em; color: var(--ff-dim-dark); max-width: 560px; margin-top: 28px; }
.ff-page .ff-fine { font-size: 15px; color: var(--ff-gray); margin-top: 32px; }
.ff-giant { font-size: clamp(54px, 12vw, 190px); font-weight: 800; line-height: 0.95; letter-spacing: -0.035em; overflow-wrap: break-word; }
.ff-giant span { color: var(--ff-accent); }

/* Reveal on scroll (content is visible without JS) */
.js .ff-reveal { opacity: 0; transform: translateY(48px); transition: opacity 1s var(--ff-ease), transform 1s var(--ff-ease); transition-delay: var(--d, 0ms); }
.js .ff-reveal.is-in { opacity: 1; transform: none; }

/* Hero film */
.ff-hero { position: relative; height: 320vh; background: var(--ff-black); }
.ff-hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ff-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ff-black); }
.ff-hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0.28) 100%); }
.ff-hero-copy { position: relative; z-index: 2; width: min(60rem, 100%); padding: 80px clamp(24px, 6vw, 80px) 40px; text-align: center; color: #fff; }
.ff-page .ff-hero-kicker { margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.92; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.ff-hero-title { max-width: 15ch; margin: 0 auto; font-size: clamp(44px, 7.4vw, 120px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; text-wrap: balance; text-shadow: 0 2px 28px rgba(0, 0, 0, 0.38), 0 1px 3px rgba(0, 0, 0, 0.35); }
.ff-page .ff-hero-body { max-width: 42ch; margin: 24px auto 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; font-weight: 500; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4); }
.ff-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; max-width: 46rem; margin: 28px auto 0; padding: 0; list-style: none; }
.ff-tags li { padding: 0.45rem 0.95rem; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px; background: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 13px; font-weight: 500; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); }
@media (max-width: 600px) { .ff-tags li { font-size: 12px; padding: 0.35rem 0.75rem; } }

/* Sticky scroll scenes */
.ff-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 clamp(20px, 6vw, 80px); }

/* Statement: words light up */
.ff-statement { height: 280vh; background: var(--ff-bg); }
.ff-statement-text { max-width: 1100px; margin: 0 auto; text-align: center; font-size: clamp(32px, 5.6vw, 88px); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.ff-word { opacity: clamp(0.12, calc(var(--p, 0) * var(--n) * 1.25 - var(--i)), 1); transition: opacity 0.15s linear; }
.ff-word-accent { color: var(--ff-accent); }

/* Grow */
.ff-grow { height: 240vh; background: var(--ff-black); color: #fff; overflow: clip; }
.ff-grow-text { max-width: 100%; text-align: center; font-size: clamp(48px, 10.5vw, 170px); font-weight: 800; line-height: 0.95; letter-spacing: -0.035em; transform: scale(min(1, calc(0.55 + var(--p, 0) * 0.6))); opacity: calc(0.15 + var(--p, 0) * 2); will-change: transform; }
.ff-grow-text span { color: var(--ff-accent); }
.ff-page .ff-grow-sub { max-width: 560px; margin-top: 40px; text-align: center; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; color: var(--ff-dim-dark); opacity: clamp(0, calc((var(--p, 0) - 0.62) * 4), 1); }

/* Steps */
.ff-steps { list-style: none; margin: clamp(56px, 8vw, 96px) 0 0; padding: 0; }
.ff-step { display: grid; grid-template-columns: 1fr; gap: 10px; padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.ff-step:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.ff-step-n { font-size: 15px; font-weight: 600; color: var(--ff-accent); font-variant-numeric: tabular-nums; }
.ff-step-title { font-size: clamp(40px, 6.5vw, 96px); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; }
.ff-page .ff-step-body { font-size: 19px; line-height: 1.45; color: var(--ff-dim-dark); max-width: 380px; }
@media (min-width: 900px) { .ff-step { grid-template-columns: 80px 1fr 360px; align-items: end; gap: 32px; } }

/* Plans */
.ff-plans { display: grid; gap: 20px; margin-top: clamp(48px, 7vw, 88px); }
@media (min-width: 900px) { .ff-plans { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.ff-plan { background: var(--ff-soft); border-radius: 28px; padding: 40px 36px; }
.ff-plan-featured { background: var(--ff-black); color: #fff; }
.ff-plan-name { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.ff-plan-featured .ff-plan-name { color: var(--ff-accent); }
.ff-page .ff-price { margin-top: 14px; font-size: clamp(52px, 5.5vw, 72px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.ff-price span { font-size: 20px; font-weight: 500; letter-spacing: 0; color: var(--ff-gray); margin-left: 4px; }
.ff-plan-featured .ff-price span { color: var(--ff-dim-dark); }
.ff-plan ul { list-style: none; margin: 32px 0 0; padding: 0; }
.ff-plan li { padding: 12px 0; border-top: 1px solid var(--ff-line); font-size: 17px; color: var(--ff-gray); }
.ff-plan-featured li { border-top-color: rgba(255, 255, 255, 0.14); color: #d2d2d7; }

/* FAQ */
.ff-faq-wrap { display: grid; gap: 48px; }
@media (min-width: 900px) { .ff-faq-wrap { grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; } }
.ff-faq details { border-top: 1px solid var(--ff-line); }
.ff-faq details:last-child { border-bottom: 1px solid var(--ff-line); }
.ff-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: clamp(20px, 2vw, 24px); font-weight: 600; letter-spacing: -0.02em; }
.ff-faq summary::-webkit-details-marker { display: none; }
.ff-faq summary::after { content: "+"; font-size: 28px; font-weight: 300; color: var(--ff-gray); transition: transform 0.3s var(--ff-ease); }
.ff-faq details[open] summary::after { transform: rotate(45deg); }
.ff-page .ff-faq p { padding: 0 0 26px; font-size: 18px; line-height: 1.5; color: var(--ff-gray); max-width: 600px; }

/* CTA + footer */
.ff-cta .ff-pill { margin-top: 40px; }
.ff-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px clamp(20px, 6vw, 80px); background: var(--ff-black); color: var(--ff-dim-dark); border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; }
.ff-footer .ff-brand { color: #fff; }
.ff-footer p { margin: 0; }

/* Why page one */
.ff-rank { --cur: max(1, calc(5 - var(--p, 0) * 4.8)); position: relative; height: 340vh; background: var(--ff-black); color: #fff; }
.ff-rank-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; padding: 60px clamp(24px, 6vw, 80px) 0; }
.ff-rank-copy { position: relative; z-index: 2; max-width: min(560px, 46vw); }
.ff-rank-copy .ff-h2 { font-size: clamp(40px, 6.4vw, 92px); }
.ff-page .ff-rank-lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: #c7c7cc; }
.ff-rank-stats { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.ff-rank-stat { display: flex; align-items: baseline; gap: 14px; opacity: clamp(0, calc((var(--p, 0) - var(--t)) * 6), 1); transform: translateY(calc((1 - clamp(0, calc((var(--p, 0) - var(--t)) * 6), 1)) * 20px)); }
.ff-rank-big { flex: none; width: 3.4em; font-size: clamp(30px, 3.4vw, 48px); font-weight: 800; letter-spacing: -0.03em; color: var(--ff-accent); }
.ff-rank-small { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.4; color: #e5e5ea; }
.ff-page .ff-rank-source { margin-top: 22px; font-size: 13px; color: var(--ff-dim-dark); }
.ff-serp { position: absolute; z-index: 1; top: 13%; right: clamp(24px, 6vw, 80px); width: min(520px, 40vw); display: flex; flex-direction: column; gap: 22px; }
.ff-serp-row, .ff-serp-you { display: flex; flex-direction: column; gap: 8px; }
.ff-serp-row { opacity: calc(0.9 - var(--p, 0) * 0.5); }
.ff-serp-bar { display: block; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); }
.ff-serp-bar-url { width: 34%; height: 8px; }
.ff-serp-bar-title { width: 78%; height: 16px; background: rgba(255, 255, 255, 0.16); }
.ff-serp-bar-line { width: 94%; }
.ff-serp-you { padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(255, 106, 26, 0.55); background: rgba(255, 106, 26, 0.1); box-shadow: 0 0 60px rgba(255, 106, 26, calc(var(--p, 0) * 0.35)); opacity: clamp(0, calc((var(--p, 0) - 0.55) * 3), 1); transform: translateY(calc((1 - clamp(0, calc((var(--p, 0) - 0.55) * 2.2), 1)) * 120px)); }
.ff-serp-url { font-size: 13px; color: #c7c7cc; }
.ff-serp-title { font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; color: var(--ff-accent); letter-spacing: -0.01em; }
.ff-serp-line { display: block; width: 90%; height: 9px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); }
.ff-pages { position: absolute; z-index: 2; right: clamp(24px, 6vw, 80px); width: min(520px, 40vw); bottom: 9vh; bottom: 9svh; display: flex; justify-content: center; align-items: baseline; gap: clamp(16px, 2.6vw, 40px); }
.ff-pages-label { font-size: clamp(14px, 1.3vw, 18px); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ff-dim-dark); }
.ff-pg { --h: clamp(0, calc(1 - max(var(--cur) - var(--k), var(--k) - var(--cur))), 1); position: relative; font-size: clamp(28px, 4.2vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: color-mix(in srgb, var(--ff-accent) calc(var(--h) * 100%), rgba(255, 255, 255, 0.28)); transform: scale(calc(1 + var(--h) * 0.3)); transition: color 0.12s linear; }
.ff-pg::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -14px; height: 4px; border-radius: 2px; background: var(--ff-accent); opacity: var(--h); }
@media (max-width: 860px) {
  .ff-serp { display: none; }
  .ff-rank-copy { max-width: 100%; }
  .ff-rank-copy .ff-h2 { font-size: clamp(40px, 12vw, 64px); }
  .ff-rank-stage { align-items: flex-start; padding-top: 84px; }
  .ff-pages { left: 0; right: 0; width: auto; bottom: 5vh; bottom: 5svh; }
  .ff-page .ff-rank-lead { margin-top: 16px; }
  .ff-rank-stats { margin-top: 20px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .ff-reveal { opacity: 1; transform: none; transition: none; }
  .ff-hero, .ff-statement, .ff-grow, .ff-rank { height: auto; }
  .ff-hero-stage { position: relative; min-height: 100svh; }
  .ff-statement .ff-sticky, .ff-grow .ff-sticky { position: static; height: auto; padding-top: 120px; padding-bottom: 120px; }
  .ff-rank-stage { position: relative; min-height: 100svh; }
  .ff-grow-text { transform: none; }
}
