/* Ad landing pages (/go, /for/*): one job, get them to hear the demo. Mobile first. */
.funnel { background: #fff; }
.f-nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.f-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.f-nav .btn-sm { height: 44px; }

/* hero */
.f-hero { background: radial-gradient(560px 420px at 100% 0%, rgba(31, 196, 110, 0.2), transparent 65%), #fff; padding: 36px 0 52px; overflow: hidden; }
.f-copy { max-width: 760px; }
.f-kicker .spark { width: 15px; height: 15px; fill: currentColor; margin-right: 6px; flex: none; }
.f-kicker { display: inline-flex; align-items: center; font-size: 13px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: var(--go-2); background: var(--go-soft); padding: 7px 12px; border-radius: 999px; }
/* hero badge: sentence case like the landing badge, so it fits one line on a 390 phone */
.f-badge { font-size: 13.5px; font-weight: 650; letter-spacing: 0; text-transform: none; }
.f-hero h1 { font-size: clamp(42px, 10vw, 76px); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; color: var(--forest); margin-top: 18px; text-wrap: balance; }
.f-hero h1 em { font-style: normal; display: inline-block; background: var(--go); padding: 0.02em 0.16em 0.08em; border-radius: 0.16em; transform: rotate(-2.5deg); margin-top: 0.14em; box-shadow: var(--shadow-green); }
.f-lede { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); margin-top: 22px; max-width: 560px; }
.f-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.f-ctas .btn { flex: 1 1 240px; }
.f-ctas .btn:only-child { flex: 0 1 380px; }
.f-fine { font-size: 14px; color: var(--muted); margin-top: 12px; text-wrap: pretty; }
@media (max-width: 520px) { .f-ctas .btn, .f-ctas .btn:only-child { flex: 1 1 100%; } }

.f-notes { display: grid; gap: 10px; margin-top: 34px; max-width: 520px; }
/* alerts drop in from the top like real notifications, one after another, on the shared spring */
.f-note { display: grid; grid-template-columns: 38px 1fr; gap: 11px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 12px 14px; box-shadow: var(--shadow); transform-origin: 50% 0; animation: fIn var(--dur-4) var(--ease-tap) var(--d) both; }
.f-note:nth-child(2) { margin-left: 18px; }
.f-note:nth-child(3) { margin-left: 36px; }
@media (max-width: 520px) { .f-note:nth-child(2), .f-note:nth-child(3) { margin-left: 0; } }
.f-note .logo-mark { width: 38px; height: 38px; }
.f-note .t { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 600; }
.f-note b { display: block; font-size: 15px; color: var(--forest); margin-top: 1px; }
.f-note.hot b { color: var(--ember); }
.f-note p { font-size: 14px; line-height: 1.35; color: var(--text); }
@keyframes fIn { from { opacity: 0; transform: translateY(-14px) scale(0.94); } 40% { opacity: 1; } }
/* headline: words rise in a short stagger, then the sticker pops */
.f-hero h1 .w { display: inline-block; animation: m-word var(--dur-4) var(--ease-out) calc(60ms + var(--i) * 45ms) both; }
@keyframes m-word { from { opacity: 0; translate: 0 0.3em; } }
.f-hero h1 em { animation: m-sticker 700ms var(--ease-tap) var(--d, 400ms) both; }
@keyframes m-sticker { from { opacity: 0; scale: 0.5; rotate: -9deg; } 30% { opacity: 1; } }
.f-hero .f-kicker { animation: m-rise var(--dur-4) var(--ease-out) both; }
.f-hero .f-lede { animation: m-rise var(--dur-4) var(--ease-out) 240ms both; }
.f-hero .f-ctas { animation: m-rise var(--dur-4) var(--ease-out) 300ms both; }
.f-hero .f-fine { animation: m-rise var(--dur-4) var(--ease-out) 360ms both; }
@media (prefers-reduced-motion: reduce) { .f-note, .f-hero h1 .w, .f-hero h1 em, .f-hero .f-kicker, .f-hero .f-lede, .f-hero .f-ctas, .f-hero .f-fine { animation: none; } }

/* desktop: split hero, copy left, the alerts landing on the right */
@media (min-width: 1000px) {
  .f-hero { padding: 72px 0 84px; }
  .f-hero .wrap { max-width: 1140px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; align-items: center; }
  /* one line per .ln, like the landing hero: balance would break differently in the fallback font and shift the page */
  .f-hero h1 { font-size: clamp(52px, 5.2vw, 72px); text-wrap: wrap; }
  .f-hero h1 .ln { white-space: nowrap; }
  .f-notes { margin-top: 0; max-width: none; padding: 32px 28px; border-radius: 32px; background: linear-gradient(160deg, #2fd27e 0%, #1fc46e 45%, #14a65b 100%); box-shadow: var(--shadow-green); transform: rotate(1.5deg); }
  .f-note { border-color: transparent; box-shadow: 0 8px 22px rgba(7, 54, 30, 0.18); }
  .f-note:nth-child(2) { margin-left: 16px; }
  .f-note:nth-child(3) { margin-left: 32px; }
}

/* sections */
.f-sec { padding: 60px 0; }
/* same 1140 container as the hero; text blocks keep a readable 760 column, left aligned */
.f-sec .wrap > * { max-width: 760px; }
@media (min-width: 1000px) {
  /* desktop: heading on the left, the proof on the right, same edges as the hero */
  .f-sec .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 64px; align-items: start; }
  .f-sec .wrap > * { grid-column: 2; max-width: none; }
  /* the heading block carries its own button and rides along while the proof scrolls, so the left column never sits empty */
  .f-sec .wrap > .f-side { grid-column: 1; grid-row: 1; position: sticky; top: 100px; align-self: center; }
  .f-side-cta { display: inline-flex; margin-top: 26px; }
  .f-sec .wrap > .f-convo, .f-sec .wrap > .f-steps { grid-row: 1; margin-top: 0; }
  .f-sec .wrap > .f-price { grid-column: 1; grid-row: 1; flex-direction: column; align-items: stretch; }
  .f-sec .wrap > .f-price .btn, .f-sec .wrap > .f-price > div { flex: none; }
  .f-sec .wrap > .f-price { gap: 24px; }
  .f-sec .wrap > .f-faq { grid-column: 2; grid-row: 1; margin-top: 0; }
  .f-sec { padding: 88px 0; }
}
.f-alt { background: var(--paper); border-block: 1px solid var(--line); }
.f-sec h2 { font-size: clamp(30px, 5vw, 42px); font-weight: 800; color: var(--forest); text-wrap: balance; }
.f-sub { color: var(--muted); margin-top: 10px; font-size: 17px; }
/* phones already have the sticky demo button, so the heading buttons are desktop only */
@media (max-width: 999px) { .f-side-cta { display: none; } }
/* desktop only: three short checks give the heading column some weight next to the tall proof */
.f-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.f-points li { position: relative; padding-left: 30px; color: var(--forest); font-weight: 600; }
.f-points li::before { content: ""; position: absolute; left: 1px; top: 3px; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230A7F42' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
@media (max-width: 999px) { .f-points { display: none; } }
.f-convo { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.f-convo .cap { animation: none; max-width: 84%; }
.f-convo .cap-agent { background: #fff; color: var(--text); border: 1px solid var(--line); }
.f-convo .cap-caller { background: var(--go); color: var(--forest); }
@media (max-width: 520px) { .f-convo { padding: 14px; border-radius: var(--radius); } .f-convo .cap { max-width: 90%; } }

.f-steps { list-style: none; counter-reset: s; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.f-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.f-steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 13px; background: var(--go-soft); color: var(--go-2); display: grid; place-items: center; font: 800 19px/1 var(--display); }
.f-steps b { color: var(--forest); font-size: 17px; }
.f-steps span { color: var(--muted); font-size: 15px; }

/* price */
.f-price { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; flex-wrap: wrap; background: var(--go); color: var(--forest); border: 0; box-shadow: var(--shadow-green); }
.f-price::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); right: -110px; top: -150px; pointer-events: none; }
.f-price > * { position: relative; z-index: 1; }
.f-price .f-kicker { background: rgba(255, 255, 255, 0.32); color: var(--forest); }
.f-price > div { flex: 1 1 260px; }
.f-price .btn { flex: 0 1 260px; }
@media (max-width: 520px) { .f-price { padding: 22px; } .f-price .btn { flex: 1 1 100%; } }
.f-amt { display: flex; align-items: baseline; gap: 4px; margin: 10px 0 6px; }
.f-amt b { font: 800 54px/1 var(--display); letter-spacing: -0.04em; color: var(--forest); }
.f-amt span { color: var(--forest); font-size: 17px; }
.f-price-fine { color: var(--forest); font-size: 15px; font-weight: 550; }

.f-faq { display: grid; gap: 10px; margin-top: 26px; }
.f-faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.f-faq summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 14px 18px; color: var(--forest); }
.f-faq summary::-webkit-details-marker { display: none; }
.f-faq summary::after { content: ""; width: 20px; height: 20px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%238A918B' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.f-faq details[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14' fill='none' stroke='%238A918B' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.f-faq summary:focus-visible { outline: 3px solid rgba(31, 196, 110, 0.45); outline-offset: 2px; border-radius: 14px; }
.f-faq p { color: var(--muted); padding: 0 18px 16px; margin-top: -2px; }
.f-faq details[open] p { animation: m-rise var(--dur-3) var(--ease-out); }
.f-faq details[open] summary::after { animation: m-turn var(--dur-3) var(--ease-tap); }
@keyframes m-turn { from { rotate: -90deg; } }
@media (prefers-reduced-motion: reduce) { .f-faq details[open] p, .f-faq details[open] summary::after { animation: none; } }

/* footer */
.f-foot { border-top: 1px solid var(--line); padding: 18px 0; font-size: 14px; color: var(--muted); }
.f-foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.f-foot .logo { font-size: 20px; min-height: 44px; }
.f-nav .logo { min-height: 44px; }
.f-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
.f-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; margin: 0 -6px; color: var(--forest); text-decoration: none; font-weight: 550; white-space: nowrap; }
.f-links a:hover { text-decoration: underline; }

/* sticky demo button (phones and tablets only). No bottom padding for it: it hides while the footer shows. */
.f-sticky { position: fixed; left: 0; right: 0; bottom: 0; padding: 24px 12px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(255, 255, 255, 0), #fff 40%); z-index: 40; transform: translateY(110%); transition: transform var(--dur-3) var(--ease-in); pointer-events: none; }
.f-sticky.show { transform: none; transition: transform var(--dur-4) var(--ease-spring); }
.f-sticky .btn { width: 100%; max-width: 520px; display: flex; margin-inline: auto; pointer-events: auto; }
@media (min-width: 1000px) { .f-sticky { display: none; } }
/* reduced motion: it fades in place; hidden stays untappable once the fade is done */
@media (prefers-reduced-motion: reduce) {
  .f-sticky { transform: none; opacity: 0; visibility: hidden; transition: opacity var(--dur-2) linear, visibility 0s linear var(--dur-2); }
  .f-sticky.show { transform: none; opacity: 1; visibility: visible; transition: opacity var(--dur-2) linear; }
}
