/* ==========================================================================
   SocialLets — Meta Ads funnels (go.sociallets.com)
   Lightweight, standalone stylesheet (no dependency on the main site CSS).
   ========================================================================== */

:root {
    --ink: #0f172a;
    --ink-2: #1e293b;
    --ink-rgb: 15, 23, 42;
    --lime: #84CC16;
    --lime-light: #A3E635;
    --lime-dark: #65A30D;
    --lime-deep: #4d7c0f;
    --lime-rgb: 132, 204, 22;
    --muted: rgba(15, 23, 42, 0.66);
    --border: rgba(15, 23, 42, 0.12);
    --bg-muted: #f8fafc;
    --radius: 5px;
    --radius-lg: 5px;
    --footer: #1e293b;
    /* Matched to the main site (style.css / theme.css) */
    --layout-max: 1600px;
    --layout-gutter: clamp(16px, 2.5vw, 48px);
    --header-h: 112px;
    --header-logo-max-h: calc((83px - 12px) * 1.099328125 * 1.05 * 1.2 * 0.70125 * 1.1);
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px; line-height: 1.65; color: var(--ink); background: #fff;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); font-weight: 700; }
a { color: var(--lime-deep); }
.fn-wrap { width: 100%; max-width: var(--layout-max); margin: 0 auto; padding: 0 var(--layout-gutter); }
.fn-muted { color: var(--muted); }

/* Top bar ------------------------------------------------------------------ */
.fn-top { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--border); }
.fn-top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.fn-logo { display: block; width: auto; height: auto; max-height: var(--header-logo-max-h); max-width: min(389px, 60vw); }
.fn-top__pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
    background: rgba(var(--lime-rgb), 0.14); color: var(--lime-deep); font-size: 0.85rem; font-weight: 700;
}

/* Buttons ------------------------------------------------------------------ */
.fn-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 14px 26px; border-radius: var(--radius); border: 2px solid transparent;
    font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
    transition: background .15s ease, border-color .15s ease, transform .1s ease, box-shadow .15s ease;
}
.fn-btn:active { transform: translateY(1px); }
.fn-btn:focus-visible, .fn-choice input:focus-visible + .fn-choice__box, .fn-field input:focus-visible {
    outline: none; box-shadow: 0 0 0 4px rgba(var(--lime-rgb), 0.35);
}
.fn-btn--primary { background: var(--ink); color: #fff; }
.fn-btn--primary:hover { background: var(--ink-2); color: #fff; }
.fn-btn--lime { background: var(--lime); color: var(--ink); }
.fn-btn--lime:hover { background: var(--lime-light); color: var(--ink); }
.fn-btn--dark { background: var(--ink); color: #fff; min-height: 42px; }
.fn-btn--ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.fn-btn--ghost:hover { border-color: rgba(var(--ink-rgb), 0.3); }
.fn-btn--grow { flex: 1 1 auto; }
.fn-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; }

/* Hero --------------------------------------------------------------------- */
.fn-hero {
    position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px);
    background:
        radial-gradient(700px 360px at 100% 0%, rgba(var(--lime-rgb), 0.22), transparent 70%),
        linear-gradient(180deg, rgba(var(--lime-rgb), 0.10) 0%, #fff 75%);
    border-bottom: 1px solid var(--border);
}
.fn-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(28px, 5vw, 64px); align-items: start; }
.fn-hero__copy { padding-top: clamp(0px, 2vw, 24px); }
.fn-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
    font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
}
.fn-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(var(--lime-rgb), 0.25); }
.fn-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 22px; }
.fn-hero h1 span { color: var(--lime-dark); }
.fn-lead { margin: 0; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 580px; }
.fn-benefits { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; max-width: 620px; }
.fn-benefits li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--muted); line-height: 1.5; }
.fn-benefits strong { display: block; color: var(--ink); font-size: 0.98rem; margin-bottom: 2px; }
.fn-benefits__icon {
    flex: 0 0 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
    background: #fff; border: 1px solid var(--border); color: var(--lime-dark); box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

/* Form card ------------------------------------------------------------------ */
.fn-card {
    position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.fn-card::before {
    content: ''; position: absolute; top: -1px; left: 24px; width: 44px; height: 4px;
    background: var(--lime); border-radius: 0 0 3px 3px;
}
.fn-form { padding: 26px clamp(20px, 3vw, 30px) 22px; scroll-margin-top: calc(var(--header-h) + 16px); }
.fn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fn-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.fn-progress__bar { flex: 1; height: 6px; border-radius: 999px; background: rgba(var(--ink-rgb), 0.08); overflow: hidden; }
.fn-progress__bar span { display: block; height: 100%; background: var(--lime); border-radius: inherit; transition: width .3s ease; }
.fn-progress__label { font-size: 0.78rem; font-weight: 700; color: var(--muted); white-space: nowrap; }

.fn-step + .fn-step { margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--border); }
.fn-js .fn-step { display: none; margin: 0; padding: 0; border: 0; }
.fn-js .fn-step.is-active { display: block; animation: fnIn .25s ease; }
@keyframes fnIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.fn-step__title { font-size: 1.35rem; font-weight: 700; margin-bottom: 18px; }
.fn-step__fields { display: flex; flex-wrap: wrap; gap: 16px 12px; }
.fn-step__nav { display: flex; gap: 10px; margin-top: 22px; }

.fn-field { flex: 1 1 100%; min-width: 0; margin: 0; padding: 0; border: 0; }
.fn-field--half { flex: 1 1 calc(50% - 6px); }
.fn-field label, .fn-field legend { display: block; margin-bottom: 6px; font-size: 0.88rem; font-weight: 700; color: var(--ink); padding: 0; }
.fn-optional { font-weight: 500; color: var(--muted); }
.fn-field input[type=text], .fn-field input[type=email], .fn-field input[type=tel] {
    width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
    background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.fn-field input:focus { border-color: var(--lime-dark); }
.fn-field input.is-invalid, .fn-choices.is-invalid .fn-choice__box { border-color: #dc2626; }

.fn-choices__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fn-choices--many .fn-choices__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fn-choice { display: block; cursor: pointer; }
.fn-choice input { position: absolute; opacity: 0; pointer-events: none; }
.fn-choice__box {
    position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; height: 100%;
    padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); background: #fff;
    font-weight: 600; font-size: 0.95rem; line-height: 1.3;
    transition: border-color .15s ease, background .15s ease;
}
.fn-choice:hover .fn-choice__box { border-color: rgba(var(--ink-rgb), 0.35); }
.fn-choice__tick {
    flex: 0 0 22px; height: 22px; display: grid; place-items: center; border-radius: 50%;
    border: 1.5px solid rgba(var(--ink-rgb), 0.25); color: transparent; font-size: 0.7rem; transition: all .15s ease;
}
.fn-choices--multi .fn-choice__tick { border-radius: 5px; }
.fn-choice input:checked + .fn-choice__box { border-color: var(--lime-dark); background: rgba(var(--lime-rgb), 0.10); }
.fn-choice input:checked + .fn-choice__box .fn-choice__tick { background: var(--lime); border-color: var(--lime); color: var(--ink); }

.fn-consent-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 0.85rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.fn-consent-check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--lime-dark); }
.fn-errors { margin-bottom: 18px; padding: 12px 14px; border-radius: var(--radius); background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-size: 0.9rem; }
.fn-errors p { margin: 0; }
.fn-errors p + p { margin-top: 4px; }
.fn-form__note { margin: 16px 0 0; text-align: center; font-size: 0.8rem; color: var(--muted); }
.fn-form__note i { color: var(--lime-dark); margin-right: 4px; }
.fn-step-error { width: 100%; margin: -4px 0 0; font-size: 0.85rem; font-weight: 600; color: #dc2626; }

/* Sections ------------------------------------------------------------------- */
.fn-section { padding: clamp(64px, 8vw, 96px) 0; border-bottom: 1px solid var(--border); }
.fn-section--muted { background: var(--bg-muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.fn-section h2 { font-size: clamp(1.7rem, 2.8vw, 2.24rem); letter-spacing: -0.03em; margin-bottom: 14px; }
.fn-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.fn-how__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-muted); box-shadow: var(--shadow); }
.fn-how__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fn-steps { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; gap: 18px; }
.fn-steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); line-height: 1.5; }
.fn-steps strong { display: block; color: var(--ink); font-size: 1.02rem; }
.fn-steps__num {
    flex: 0 0 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
    background: var(--ink); color: var(--lime); font-weight: 800;
}

.fn-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); }
.fn-faq__list details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; }
.fn-faq__list summary {
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 16px 18px; font-weight: 700; cursor: pointer;
}
.fn-faq__list summary::-webkit-details-marker { display: none; }
.fn-faq__list summary i { color: var(--lime-dark); transition: transform .2s ease; }
.fn-faq__list details[open] summary i { transform: rotate(45deg); }
.fn-faq__list details p { margin: 0; padding: 0 18px 16px; color: var(--muted); }

.fn-cta { background: var(--ink); color: #fff; padding: clamp(64px, 8vw, 96px) 0; text-align: center; }
.fn-cta h2 { color: #fff; font-size: clamp(1.7rem, 2.8vw, 2.24rem); margin-bottom: 8px; }
.fn-cta p { margin: 0 0 24px; color: rgba(255, 255, 255, 0.72); }

/* Footer — matches the main site's dark footer ---------------------------- */
.fn-foot { background: var(--footer); color: rgba(255, 255, 255, 0.82); padding-top: clamp(56px, 7vw, 88px); }
.fn-foot__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; padding-bottom: clamp(48px, 6vw, 72px); }
.fn-foot__logo { display: block; height: 56px; width: auto; margin: 0 0 18px; }
.fn-foot__brand p { max-width: 340px; margin: 0 0 18px; font-size: 0.95rem; line-height: 1.7; color: rgba(255, 255, 255, 0.72); }
.fn-foot__ico img { display: block; height: 47px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.fn-foot__col { justify-self: end; min-width: 200px; }
.fn-foot__col h4 { margin: 0 0 16px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); }
.fn-foot__col a, .fn-foot__col .fn-link { display: block; margin: 0 0 10px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.82); text-decoration: none; text-align: left; }
.fn-foot__col a:hover, .fn-foot__col .fn-link:hover { color: #fff; }
.fn-foot__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 20px 0 calc(20px + 70px); font-size: 0.875rem; color: rgba(255, 255, 255, 0.62); }
.fn-foot__bottom .fn-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.fn-foot__bottom a { color: #fff; font-weight: 600; text-decoration: none; }
.fn-foot__bottom a:hover { color: var(--lime); }
@media (min-width: 921px) { .fn-foot__bottom { padding-bottom: 20px; } }

/* Cookie consent -------------------------------------------------------------- */
.fn-consent {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 720px; margin: 0 auto;
    display: flex; align-items: center; gap: 16px; padding: 14px 16px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow);
    font-size: 0.85rem; color: var(--muted);
}
.fn-consent[hidden] { display: none; }
.fn-consent p { margin: 0; flex: 1; }
.fn-consent__actions { display: flex; gap: 8px; flex: 0 0 auto; }
.fn-consent .fn-btn { min-height: 42px; padding: 8px 14px; font-size: 0.88rem; }

/* Thank you ------------------------------------------------------------------ */
.fn-thanks {
    padding: clamp(36px, 7vw, 90px) 0;
    background: radial-gradient(700px 360px at 50% 0%, rgba(var(--lime-rgb), 0.18), transparent 70%);
}
.fn-thanks__card { max-width: 680px; margin: 0 auto; padding: clamp(28px, 5vw, 48px); text-align: center; }
.fn-thanks__icon {
    display: inline-grid; place-items: center; width: 68px; height: 68px; margin-bottom: 18px; border-radius: 50%;
    background: var(--lime); color: var(--ink); font-size: 1.8rem; box-shadow: 0 0 0 10px rgba(var(--lime-rgb), 0.18);
}
.fn-thanks h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; margin-bottom: 12px; }
.fn-thanks .fn-lead { margin: 0 auto; }
.fn-steps--compact { text-align: left; max-width: 460px; margin: 28px auto; }
.fn-thanks__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.fn-thanks__small { margin: 16px 0 0; font-size: 0.85rem; }

/* Mobile sticky CTA ---------------------------------------------------------- */
.fn-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--border); backdrop-filter: blur(8px);
    transform: translateY(110%); transition: transform .25s ease;
}
.fn-sticky.is-visible { transform: none; }
.fn-sticky .fn-btn { width: 100%; }

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 786px) {
    .fn-logo { max-height: calc(var(--header-logo-max-h) * 0.88); max-width: min(185px, 55vw); }
}
@media (max-width: 768px) {
    :root {
        --header-h: calc(77px * 1.15);
        --header-logo-max-h: calc((77px - 12px) * 1.099328125 * 0.70125 * 1.1);
        --layout-gutter: 16px;
    }
    .fn-foot__grid { grid-template-columns: 1fr; gap: 28px; }
    .fn-foot__col { justify-self: start; }
}
@media (max-width: 920px) {
    .fn-hero__grid { grid-template-columns: 1fr; }
    .fn-hero__form { order: 2; }
    .fn-benefits { order: 3; }
    .fn-hero__copy { display: contents; }
    .fn-hero__copy > .fn-eyebrow, .fn-hero__copy > h1, .fn-hero__copy > .fn-lead { order: 1; }
    .fn-hero__grid { display: flex; flex-direction: column; gap: 0; }
    .fn-hero__copy > .fn-lead { margin-bottom: 22px; }
    .fn-hero__form { width: 100%; }
    .fn-benefits { margin-top: 30px; }
    .fn-how, .fn-faq { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .fn-top__pill { font-size: 0.72rem; padding: 6px 10px; }
    .fn-top__pill i { display: none; }
    .fn-benefits { grid-template-columns: 1fr; }
    .fn-choices--many .fn-choices__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fn-field--half { flex-basis: 100%; }
    .fn-consent { flex-direction: column; align-items: stretch; }
    .fn-consent__actions .fn-btn { flex: 1; }
}
@media (min-width: 921px) { .fn-sticky { display: none; } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .fn-js .fn-step.is-active { animation: none; }
}

/* go.sociallets.com chooser -------------------------------------------------- */
.fn-chooser { display: grid; gap: 12px; margin-top: 28px; text-align: left; }
.fn-chooser__item {
    display: flex; align-items: center; gap: 14px; padding: 18px 20px; color: var(--ink); text-decoration: none;
    border: 1.5px solid var(--border); border-radius: var(--radius-lg); background: #fff;
    transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.fn-chooser__item:hover { border-color: var(--lime-dark); background: rgba(var(--lime-rgb), 0.08); color: var(--ink); }
.fn-chooser__item > span:nth-child(2) { flex: 1; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.fn-chooser__item strong { display: block; color: var(--ink); font-size: 1.05rem; }
.fn-chooser__item > .fa-arrow-right { color: var(--lime-dark); }
