/*
 * Public pages (layout v2.site, resources/views/v2/site.blade.php): features,
 * pricing, content pages, blog, help, legal pages, contact, affiliation, API,
 * login and signup, OAuth consent.
 *
 * Loaded after style.bundle and v2.custom, so everything is scoped to
 * body.site-body. Header, footer, cards and form controls follow the app
 * pages (v2.app.*.css); the primary color is the red of the pricing and demo
 * pages (v2.demo-results.*.css), whose custom properties are copied below
 * (--site-*, keep them in sync with --demo-*).
 *
 * The page content was written for v2.design: this file restyles its shared
 * classes (m-portlet, head-banner, bt-primary-background, section-title,
 * text-big, btn-*) rather than every page repeating new markup. New markup
 * uses the site- prefix.
 */

.site-body {
    --site-red: #D9432F;
    --site-red-dark: #B8361F;
    --site-red-tint: #FFF4F2;
    --site-red-line: #F5CFC8;
    --site-brand: #EB2B2B;
    --site-ink: #1F2233;
    --site-text: #4A5065;
    --site-muted: #5B6070;
    --site-line: #E3E5EB;
    --site-line-soft: #EEF0F4;
    --site-bg: #F3F4F7;
    --site-green: #1E7F4A;
    --site-green-bg: #E6F4EC;
    --site-green-line: #C6E6D2;
    --site-green-text: #33513F;
    --site-radius: 14px;
    --site-shadow: 0 1px 2px rgba(31, 34, 51, .04), 0 8px 24px rgba(31, 34, 51, .06);
}

[x-cloak] {
    display: none !important;
}

/* Base ----------------------------------------------------------------------- */

/* The theme turns body into a full-height flex column, and .bt-container
   centers itself with "margin: auto": main takes the free height so the
   footer stays at the bottom of short pages (same fix as v2.app). */
body.site-body {
    margin: 0;
    background: #FFFFFF;
    color: var(--site-text);
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.site-body > * {
    flex-shrink: 0;
}

.site-main {
    flex-grow: 1;
    padding-bottom: 64px;
}

/* Headings of the page only: the signup modal keeps its own colors */
.site-main h1,
.site-main h2,
.site-main h3,
.site-main h4,
.site-main h5 {
    color: var(--site-ink);
    font-family: 'Poppins', system-ui, sans-serif;
    letter-spacing: -0.01em;
}

.site-body a {
    color: var(--site-red);
}

.site-body a:hover {
    color: var(--site-red-dark);
}

.site-body p {
    margin-bottom: 1em;
}

.site-body img {
    max-width: 100%;
    height: auto;
}

.site-body ::selection {
    background: var(--site-red-line);
}

.site-body :focus-visible {
    outline: 2px solid var(--site-red);
    outline-offset: 2px;
}

/* v2.custom justifies long text, which leaves rivers on narrow columns */
.site-body .text-justify {
    text-align: left !important;
}

/* Header --------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #FFFFFF;
    border-top: 4px solid var(--site-brand);
    border-bottom: 1px solid var(--site-line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
}

.site-header__logo img {
    display: block;
    height: 42px;
    width: auto;
}

.site-header__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--site-ink);
    font-size: 18px;
    cursor: pointer;
}

.site-header__nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 12px 28px;
}

.site-header__links {
    display: flex;
    align-items: center;
    gap: 4px 24px;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 10px 18px;
}

.site-body .site-header__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--site-text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.site-body .site-header__link:hover {
    color: var(--site-ink);
}

.site-body .site-header__link.is-active {
    color: var(--site-ink);
    font-weight: 600;
    box-shadow: inset 0 -3px 0 var(--site-brand);
}

.site-body .site-quota {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--site-line);
    border-radius: 999px;
    background: #F1F2F6;
    color: var(--site-ink);
    font-size: 13px;
    font-weight: 600;
}

.site-body .site-quota--over {
    border-color: #FDA29B;
    background: #FEF3F2;
    color: #B42318;
}

.site-menu {
    position: relative;
}

.site-menu__toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px 0 6px;
    border: 1px solid var(--site-line);
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--site-ink);
    font-size: 13px;
    cursor: pointer;
}

.site-menu__toggle .fa-chevron-down {
    font-size: 11px;
    color: var(--site-muted);
}

.site-menu__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.site-menu__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 1000;
    min-width: 230px;
    padding: 6px;
    background: #FFFFFF;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(31, 34, 51, .14);
}

.site-body .site-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    color: var(--site-ink);
    font-size: 14px;
}

.site-body .site-menu__item:hover {
    background: #F6F7FA;
    color: var(--site-ink);
    text-decoration: none;
}

.site-menu__item .fa {
    width: 16px;
    color: var(--site-muted);
}

.site-body .site-menu__item--logout,
.site-body .site-menu__item--logout .fa {
    color: #B42318;
}

@media (max-width: 991px) {
    .site-header__inner {
        flex-wrap: wrap;
        min-height: 64px;
    }

    .site-header__logo img {
        height: 36px;
    }

    .site-header__toggle {
        display: inline-flex;
    }

    .site-header__nav {
        display: none;
        flex: 0 0 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 4px 0 16px;
        border-top: 1px solid var(--site-line-soft);
    }

    .site-header__nav.is-open {
        display: flex;
    }

    .site-header__links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-body .site-header__link {
        padding: 0 4px;
        border-bottom: 1px solid var(--site-line-soft);
    }

    .site-body .site-header__link.is-active {
        box-shadow: inset 3px 0 0 var(--site-brand);
        padding-left: 12px;
    }

    .site-header__actions {
        flex-wrap: wrap;
    }

    .site-header__actions .site-btn {
        flex: 1 1 140px;
    }

    .site-menu__panel {
        left: 0;
        right: auto;
    }
}

/* Footer --------------------------------------------------------------------- */

.site-footer {
    border-top: 1px solid var(--site-line);
    background: #FAFAFC;
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.7;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 32px;
    padding: 48px 0 36px;
}

.site-footer__logo {
    display: block;
    height: 34px;
    width: auto;
    margin-bottom: 14px;
}

.site-footer__about p {
    margin: 0 0 8px;
    max-width: 34em;
}

.site-footer__col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-body .site-footer__title {
    margin: 0 0 8px;
    color: var(--site-ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.site-body .site-footer__title a {
    color: var(--site-ink);
}

.site-body .site-footer a {
    color: var(--site-text);
}

.site-body .site-footer a:hover {
    color: var(--site-red);
}

.site-footer address {
    margin: 0 0 4px;
}

.site-footer__payments {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.site-footer__payments img {
    height: 26px;
    width: auto;
    padding: 3px 6px;
    border: 1px solid var(--site-line);
    border-radius: 6px;
    background: #FFFFFF;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 18px 0 24px;
    border-top: 1px solid var(--site-line);
    font-size: 12px;
}

.site-footer__legal {
    margin: 0;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}

@media (max-width: 991px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575px) {
    .site-footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding-top: 36px;
    }
}

/* Buttons -------------------------------------------------------------------- */

.site-body .site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}

.site-body .site-btn--sm {
    min-height: 40px;
    padding: 0 16px;
}

.site-body .site-btn--lg {
    min-height: 52px;
    padding: 0 26px;
    font-size: 15px;
}

.site-body .site-btn--primary {
    background: var(--site-red);
    color: #FFFFFF;
}

.site-body .site-btn--primary:hover {
    background: var(--site-red-dark);
    color: #FFFFFF;
}

.site-body .site-btn--outline {
    border-color: #D5D8E0;
    background: #FFFFFF;
    color: var(--site-ink);
}

.site-body .site-btn--outline:hover {
    border-color: var(--site-ink);
    color: var(--site-ink);
}

.site-body .site-btn--ghost {
    background: transparent;
    color: var(--site-ink);
}

.site-body .site-btn--ghost:hover {
    background: #F1F2F6;
    color: var(--site-ink);
}

/* Buttons of the page content (Bootstrap and v2.custom classes). v2.custom
   sets btn-brand with !important, hence the !important here. */
.site-body .btn {
    border-radius: 8px;
    font-family: inherit;
    font-weight: 600;
    box-shadow: none;
    white-space: normal;
}

.site-body .btn:not(.btn-sm):not(.btn-lg) {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 14px;
}

.site-body .btn-lg {
    min-height: 52px;
    padding: 13px 26px;
    font-size: 15px;
}

.site-body .btn-brand,
.site-body .btn-success,
.site-body .btn-primary,
.site-body .btn-info,
.site-body .btn-danger {
    border-color: var(--site-red) !important;
    background-color: var(--site-red) !important;
    color: #FFFFFF !important;
}

.site-body .btn-brand:hover:not(:disabled),
.site-body .btn-brand:focus,
.site-body .btn-success:hover:not(:disabled),
.site-body .btn-primary:hover:not(:disabled),
.site-body .btn-info:hover:not(:disabled),
.site-body .btn-danger:hover:not(:disabled) {
    border-color: var(--site-red-dark) !important;
    background-color: var(--site-red-dark) !important;
    color: #FFFFFF !important;
    box-shadow: 0 6px 16px rgba(217, 67, 47, .22) !important;
}

.site-body .btn-default,
.site-body .btn-secondary,
.site-body .btn-outline-brand,
.site-body .btn-outline-dark {
    border: 1px solid #D5D8E0 !important;
    background-color: #FFFFFF !important;
    color: var(--site-ink) !important;
}

.site-body .btn-default:hover,
.site-body .btn-secondary:hover,
.site-body .btn-outline-brand:hover,
.site-body .btn-outline-dark:hover {
    border-color: var(--site-ink) !important;
    background-color: #FFFFFF !important;
    color: var(--site-ink) !important;
}

/* Forms ---------------------------------------------------------------------- */

.site-body .form-control {
    height: 44px;
    padding: 0 14px;
    border: 1px solid #D5D8E0;
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--site-ink);
    font-family: inherit;
    font-size: 15px;
    box-shadow: none;
}

.site-body textarea.form-control {
    height: auto;
    padding: 12px 14px;
}

.site-body .form-control:focus {
    border-color: var(--site-red);
    box-shadow: 0 0 0 3px rgba(217, 67, 47, .14);
}

.site-body .form-control::placeholder {
    color: #8A8F9C;
}

.site-body .input-group-lg > .form-control {
    height: 52px;
    font-size: 15px;
}

/* Email field + button, icon + field: one rounded control */
.site-body .input-group > .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.site-body .input-group > .form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.site-body .input-group > .input-group-append:first-child > .input-group-text,
.site-body .input-group > .input-group-prepend > .input-group-text {
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.site-body .input-group-append > .btn {
    min-height: 0 !important;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    white-space: nowrap;
}

.site-body .input-group-lg .input-group-append > .btn {
    padding-top: 0;
    padding-bottom: 0;
}

.site-body .input-group-text {
    border: 1px solid #D5D8E0;
    border-radius: 8px;
    background: #F6F7FA;
    color: var(--site-muted);
}

/* jquery.validate (errorClass "text-danger", see the bundled plugin) */
.site-body label.text-danger,
.site-body label.error {
    display: block;
    width: 100%;
    margin: 6px 0 0;
    color: #B42318 !important;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
}

/* Alerts (notifications partial and in-page alerts): white with the level
   color on the border and text, like the app pages */
.site-body .alert {
    border-radius: 12px;
}

.site-body .alert.m-alert--outline {
    border-width: 1px;
    background: #FFFFFF;
    font-weight: 500;
}

.site-body .alert.m-alert--outline.alert-danger {
    border-color: #D92D20 !important;
    color: #B42318 !important;
}

.site-body .alert.m-alert--outline.alert-warning {
    border-color: #D98A1C !important;
    color: #8F4B07 !important;
}

.site-body .alert.m-alert--outline.alert-success {
    border-color: var(--site-green) !important;
    color: #1E6B40 !important;
}

.site-body .alert.m-alert--outline.alert-info {
    border-color: var(--site-line) !important;
    background: #F6F7FA;
    color: var(--site-text) !important;
}

/* Page head and cards -------------------------------------------------------- */

.site-page-head {
    padding: 40px 0 24px;
}

.site-body .site-page-head h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
}

.site-page-head p {
    max-width: 46em;
    margin: 10px 0 0;
    color: var(--site-muted);
    font-size: 16px;
}

.site-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 5px 12px;
    border: 1px solid var(--site-red-line);
    border-radius: 999px;
    background: var(--site-red-tint);
    color: var(--site-red-dark);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.site-card,
.site-body .m-portlet {
    margin-bottom: 24px;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: #FFFFFF;
    box-shadow: none;
}

.site-card__body,
.site-body .m-portlet .m-portlet__body {
    padding: 28px 32px;
}

.site-body .m-portlet .m-portlet__head {
    height: auto;
    min-height: 0;
    padding: 22px 32px 0;
    border-bottom: 0;
}

.site-body .m-portlet .m-portlet__head .m-portlet__head-text {
    color: var(--site-ink);
    font-size: 19px;
    font-weight: 600;
}

/* Old Metronic 4 "portlet light" boxes */
.site-body .portlet.light {
    margin-bottom: 24px;
    padding: 24px 28px;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: #FFFFFF;
}

.site-body .portlet.light .portlet-title .caption-subject {
    color: var(--site-ink);
    font-size: 19px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .site-page-head {
        padding: 28px 0 18px;
    }

    .site-body .site-page-head h1 {
        font-size: 26px;
    }

    .site-card__body,
    .site-body .m-portlet .m-portlet__body {
        padding: 20px 18px;
    }

    .site-body .m-portlet .m-portlet__head {
        padding: 18px 18px 0;
    }

    .site-body .portlet.light {
        padding: 18px;
    }
}

/* Prose: legal pages, FAQ, help, articles */
.site-prose {
    color: var(--site-text);
    font-size: 16px;
    line-height: 1.75;
}

.site-body .site-prose h2 {
    margin: 40px 0 14px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}

.site-body .site-prose h3 {
    margin: 30px 0 10px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

.site-body .site-prose h4 {
    margin: 24px 0 8px;
    font-size: 17px;
    font-weight: 600;
}

.site-body .site-prose h2:first-child,
.site-body .site-prose h3:first-child {
    margin-top: 0;
}

/* The article headings hold <strong>: the weight comes from the heading */
.site-body .site-prose h2 strong,
.site-body .site-prose h3 strong {
    font-weight: inherit !important;
}

.site-body .site-article__title {
    margin: 0 0 24px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
}

@media (max-width: 767px) {
    .site-body .site-article__title {
        font-size: 25px;
    }
}

.site-prose ul,
.site-prose ol {
    margin: 0 0 1.2em;
    padding-left: 1.4em;
}

.site-prose li {
    margin-bottom: 6px;
}

.site-prose li::marker {
    color: var(--site-red);
}

.site-prose img {
    border-radius: 10px;
}

.site-prose blockquote {
    margin: 24px 0;
    padding: 4px 0 4px 18px;
    border-left: 3px solid var(--site-red);
    color: var(--site-ink);
    font-style: italic;
}

/* Tables of the articles: wide ones scroll inside their column */
.site-body .site-prose .table,
.site-body .site-prose table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 24px 0;
    overflow-x: auto;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    line-height: 1.5;
}

.site-body .site-prose table td,
.site-body .site-prose table th {
    min-width: 140px;
    padding: 12px 14px;
    border-top: 1px solid var(--site-line-soft);
    vertical-align: top;
}

.site-body .site-prose table tr:first-child td,
.site-body .site-prose table tr:first-child th {
    border-top: 0;
    background: #F6F7FA;
    color: var(--site-ink);
    font-weight: 600;
}

.site-body .site-prose table p {
    margin: 0;
}

/* Hero ----------------------------------------------------------------------- */

/* Same faint warm gradient as the pricing hero (v2.pricing.*.css) */
.site-hero {
    position: relative;
    padding: 64px 0 56px;
    border-bottom: 1px solid var(--site-line);
    background: radial-gradient(1200px 400px at 85% -10%, rgba(217, 67, 47, .07), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FAFAFC 100%);
}

.site-hero__inner {
    max-width: 820px;
}

.site-hero--center .site-hero__inner {
    margin: 0 auto;
    text-align: center;
}

.site-body .site-hero__title {
    margin: 0 0 16px;
    color: var(--site-ink);
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.site-hero__lead {
    margin: 0 0 24px;
    color: var(--site-muted);
    font-size: 18px;
    line-height: 1.6;
}

.site-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
    margin: 0;
    color: var(--site-muted);
    font-size: 14px;
}

.site-hero--center .site-hero__meta {
    justify-content: center;
}

.site-hero__meta .fa {
    margin-right: 6px;
    color: #8A8F9C;
}

.site-hero__form {
    max-width: 520px;
    margin: 0 0 10px;
}

.site-hero--center .site-hero__form {
    margin-left: auto;
    margin-right: auto;
}

.site-hero__fine {
    margin: 0;
    color: var(--site-muted);
    font-size: 13px;
}

@media (max-width: 767px) {
    .site-hero {
        padding: 40px 0 36px;
    }

    .site-body .site-hero__title {
        font-size: 30px;
    }

    .site-hero__lead {
        font-size: 16px;
    }
}

/* The hero of the content pages (v2.custom .head-banner: dark photo, white
   text) becomes the light hero above */
.site-body .head-banner {
    height: auto;
    padding: 64px 16px 56px !important;
    border-bottom: 1px solid var(--site-line);
    background: radial-gradient(1200px 400px at 85% -10%, rgba(217, 67, 47, .07), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FAFAFC 100%) !important;
    color: var(--site-muted);
    font-size: 18px;
    text-align: center;
}

.site-body .head-banner .portlet-body {
    max-width: 860px;
    margin: 0 auto;
}

.site-body .head-banner h1 {
    margin: 0 0 16px;
    color: var(--site-ink);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-shadow: none;
}

.site-body .head-banner h1 strong {
    display: inline;
    color: var(--site-red);
    font-weight: 700;
}

.site-body .head-banner p {
    margin-bottom: 24px;
    color: var(--site-muted);
    text-shadow: none;
}

.site-body .head-banner .input-group {
    max-width: 520px !important;
}

@media (max-width: 767px) {
    .site-body .head-banner {
        padding: 40px 16px 36px !important;
    }

    .site-body .head-banner h1 {
        font-size: 28px;
    }
}

/* Sections ------------------------------------------------------------------- */

.site-section {
    padding: 64px 0;
}

.site-section--muted {
    border-top: 1px solid var(--site-line-soft);
    border-bottom: 1px solid var(--site-line-soft);
    background: #FAFAFC;
}

@media (max-width: 767px) {
    .site-section {
        padding: 40px 0;
    }
}

/* v2.custom band with slanted edges: a flat light band here */
.site-body .bt-primary-background {
    margin-top: 0 !important;
    padding: 48px 0;
    clip-path: none;
    border-top: 1px solid var(--site-line-soft);
    border-bottom: 1px solid var(--site-line-soft);
    background-color: #FAFAFC;
    color: var(--site-text);
}

.site-body .bt-primary-background .row {
    margin-left: auto;
    margin-right: auto;
}

/* Closing call to action of the articles: a dark strip, flush with the footer */
.site-main > .bt-primary-background-footer:last-child {
    margin-bottom: -64px;
}

.site-body .bt-primary-background-footer {
    margin-top: 56px !important;
    padding: 32px 0;
    border: 0;
    background-color: var(--site-ink);
    color: #FFFFFF;
}

.site-body .bt-primary-background-footer .row {
    align-items: center;
    row-gap: 16px;
}

.site-body .bt-primary-background-footer p {
    margin: 0;
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35 !important;
}

.site-body .bt-primary-background-footer .input-group {
    margin-bottom: 0 !important;
}

.site-body .bt-primary-background-footer .form-control {
    border-color: transparent;
}

.site-body .bt-primary-background-footer .btn-secondary {
    border-color: var(--site-red) !important;
    background-color: var(--site-red) !important;
    color: #FFFFFF !important;
}

@media (max-width: 767px) {
    .site-body .bt-primary-background-footer .text-right,
    .site-body .bt-primary-background-footer .text-left {
        text-align: left !important;
    }
}

/* Title sizes of v2.custom (font-5 = 4rem) brought to the new scale */
.site-body .font-5 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.site-body .font-3 {
    font-size: 20px;
    line-height: 1.5;
}

.site-body .font-2 {
    font-size: 16px;
    line-height: 1.75;
}

@media (max-width: 767px) {
    .site-body .font-5 {
        font-size: 26px;
    }
}

.site-body .section-title {
    margin: 0 0 8px;
    color: var(--site-ink);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
}

.site-body .centered .section-title,
.site-body .text-center .section-title {
    margin-left: auto;
    margin-right: auto;
}

.site-body .text-big,
.site-body .homepage .text-big {
    color: var(--site-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
}

.site-body .homepage h2 {
    font-size: 28px;
    font-weight: 700;
}

.site-body .homepage hr,
.site-body .m-portlet hr {
    margin: 48px 0;
    border-top: 1px solid var(--site-line-soft);
}

@media (max-width: 767px) {
    .site-body .section-title,
    .site-body .homepage h2 {
        font-size: 23px;
    }

    .site-body .homepage hr,
    .site-body .m-portlet hr {
        margin: 32px 0;
    }
}

/* "bt-container row" (a Bootstrap row used as the container): the row's
   negative margins made the page 5px wider than the screen */
.site-body .bt-container.row {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 575px) {
    .site-body .bt-container.row {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Content pages: the body card sits under the hero */
.site-body .homepage > .bt-container > .m-portlet {
    margin-top: 0;
}

/* Thumbnails of the content pages (rounded photos with a grey ring) */
.site-body .border-radius-3 {
    border-radius: 12px !important;
}

.site-body .img-thumbnail,
.site-body .thumbnail {
    padding: 0;
    border: 1px solid var(--site-line);
    border-radius: 12px;
}

/* Green strip of the content pages (v2.custom .bg-green-jungle): the tinted
   strip of the pricing page */
.site-body .portlet.bg-green-jungle {
    margin: 0 0 24px;
    padding: 20px 24px;
    border: 1px solid var(--site-green-line) !important;
    border-radius: var(--site-radius);
    background-color: var(--site-green-bg) !important;
    color: var(--site-green-text);
}

.site-body .portlet.bg-green-jungle .portlet-body {
    padding: 0;
}

.site-body .portlet.bg-green-jungle .text-big {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 12px;
    color: var(--site-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4 !important;
}

.site-body .portlet.bg-green-jungle .btn {
    margin: 0 !important;
}

/* The signup button of the strip is the filled one */
.site-body .portlet.bg-green-jungle .btn[data-toggle="modal"] {
    border-color: var(--site-green) !important;
    background-color: var(--site-green) !important;
    color: #FFFFFF !important;
}

/* How it works (v2.how-it-works) and why sign up (v2.top-features) -------- */

.site-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
    counter-reset: site-step;
}

.site-steps__item {
    padding: 20px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    background: #FFFFFF;
    text-align: center;
}

.site-steps__item img {
    width: 120px;
    height: 120px;
    margin-bottom: 14px;
    border-radius: 50%;
    object-fit: cover;
}

.site-steps__label {
    display: block;
    margin-bottom: 2px;
    color: var(--site-red);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.site-steps__text {
    color: var(--site-ink);
    font-size: 15px;
    font-weight: 500;
}

.site-quote {
    margin: 12px 0 0;
    padding: 4px 0 4px 18px;
    border-left: 3px solid var(--site-red);
    color: var(--site-ink);
    font-size: 16px;
    font-style: italic;
}

.site-callout {
    margin: 0;
    color: var(--site-ink);
    font-size: 16px;
    font-weight: 600;
}

.site-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.site-body .site-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    height: 100%;
    padding: 12px 16px;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    background: #FFFFFF;
    color: var(--site-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s;
}

.site-body .site-links a:hover {
    border-color: var(--site-red-line);
    box-shadow: var(--site-shadow);
    color: var(--site-ink);
}

.site-links .fa {
    color: var(--site-red);
    font-size: 13px;
}

@media (max-width: 767px) {
    .site-steps,
    .site-links {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-steps__item {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px;
        text-align: left;
    }

    .site-steps__item img {
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
        margin: 0;
    }
}

/* Articles (blog posts and long content pages) ------------------------------- */

.site-article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 56px;
    align-items: start;
    padding-top: 48px;
}

.site-article__body {
    min-width: 0;
}

.site-article__aside {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 991px) {
    .site-article {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding-top: 32px;
    }

    .site-article__body {
        max-width: none;
    }

    .site-article__aside {
        position: static;
    }
}

.site-aside-card {
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: #FFFFFF;
    font-size: 14px;
    line-height: 1.6;
}

.site-aside-card__img {
    display: block;
    width: 100%;
    height: auto;
}

.site-aside-card__body {
    padding: 20px;
}

.site-body .site-aside-card__title {
    margin: 0 0 2px;
    color: var(--site-ink);
    font-size: 16px;
    font-weight: 600;
}

.site-aside-card__sub {
    margin: 0 0 10px;
    color: #8A8F9C;
    font-size: 12px;
}

.site-aside-card p {
    margin: 0 0 14px;
}

.site-aside-card .btn {
    width: 100%;
}

.site-aside-card .input-group {
    flex-wrap: nowrap;
}

.site-aside-card .input-group > .form-control,
.site-aside-card .input-group-append > .btn {
    height: 44px !important;
    font-size: 14px;
}

.site-aside-card .input-group-append > .btn {
    width: auto;
    padding: 0 14px;
}

/* Blog index (v2/blog.blade.php) */
.site-posts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.site-post {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: #FFFFFF;
    transition: box-shadow .2s, transform .2s;
}

.site-post:hover {
    box-shadow: var(--site-shadow);
    transform: translateY(-2px);
}

.site-post__img {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #F6F7FA;
}

.site-post__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-post__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 24px 24px;
}

.site-body .site-post__title {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
}

.site-body .site-post__title a {
    color: var(--site-ink);
}

.site-body .site-post__title a:hover {
    color: var(--site-red);
}

.site-post__meta {
    margin: 0 0 12px;
    color: #8A8F9C;
    font-size: 12px;
}

.site-post__excerpt {
    margin: 0 0 12px;
    color: var(--site-text);
    font-size: 14px;
    line-height: 1.65;
}

.site-body .site-post__more {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 4px;
    font-size: 14px;
    font-weight: 600;
}

.site-post--featured {
    grid-column: 1 / -1;
    display: grid;
    /* The image takes exactly half of the card: the columns share the width
       inside the 1px borders, so the image column gets that border back */
    grid-template-columns: calc(50% + 1px) minmax(0, 1fr);
}

.site-post--featured .site-post__img {
    aspect-ratio: auto;
    min-height: 100%;
}

.site-post--featured .site-post__body {
    justify-content: center;
    padding: 32px 36px;
}

.site-body .site-post--featured .site-post__title {
    font-size: 26px;
}

@media (max-width: 767px) {
    .site-posts {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-post--featured {
        display: flex;
    }

    .site-post--featured .site-post__img {
        aspect-ratio: 16 / 9;
    }

    .site-post--featured .site-post__body {
        padding: 22px 24px 24px;
    }

    .site-body .site-post--featured .site-post__title {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-post,
    .site-body .site-btn,
    .site-body .site-links a {
        transition: none;
    }

    .site-post:hover {
        transform: none;
    }
}

/* Login, signup, password ---------------------------------------------------- */

.site-auth {
    display: flex;
    justify-content: center;
    padding: 56px 0 24px;
}

.site-auth__card {
    width: 100%;
    max-width: 440px;
    padding: 32px;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: #FFFFFF;
    box-shadow: var(--site-shadow);
}

.site-body .site-auth__title {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 700;
}

.site-auth__lead {
    margin: 0 0 24px;
    color: var(--site-muted);
    font-size: 14px;
}

.site-auth__field {
    margin-bottom: 16px;
}

.site-body .site-auth__field label {
    display: block;
    margin-bottom: 6px;
    color: var(--site-ink);
    font-size: 13px;
    font-weight: 600;
}

.site-auth__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 4px 0 20px;
    font-size: 14px;
}

.site-body .site-auth__check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--site-text);
    cursor: pointer;
}

.site-auth__check input {
    width: 16px;
    height: 16px;
    accent-color: var(--site-red);
}

.site-auth__card .site-btn {
    width: 100%;
}

.site-auth__foot {
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--site-line-soft);
    color: var(--site-muted);
    font-size: 14px;
    text-align: center;
}

@media (max-width: 575px) {
    .site-auth {
        padding-top: 28px;
    }

    .site-auth__card {
        padding: 24px 20px;
    }
}

/* Timeline of the about page (Metronic 4 markup) ----------------------------- */

.site-body .timeline {
    position: relative;
    margin: 0;
    padding: 0 0 0 28px;
}

.site-body .timeline:before {
    content: '';
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: 2px;
    background: var(--site-line);
}

.site-body .timeline-item {
    position: relative;
    margin: 0 0 18px;
}

.site-body .timeline-badge {
    position: absolute;
    top: 6px;
    left: -28px;
    width: 14px;
    height: 14px;
    border: 3px solid #FFFFFF;
    border-radius: 50%;
    background: var(--site-red);
    box-shadow: 0 0 0 1px var(--site-red-line);
}

.site-body .timeline-icon,
.site-body .timeline-body-arrow {
    display: none;
}

.site-body .timeline-body {
    padding: 0;
}

.site-body .timeline-body-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 12px;
    margin-bottom: 4px;
}

.site-body .timeline-body-alerttitle {
    color: var(--site-ink) !important;
    font-size: 15px;
    font-weight: 600;
}

.site-body .timeline-body-head-caption .timeline-body-time,
.site-body .timeline-body-time {
    color: #8A8F9C;
    font-size: 13px;
}

.site-body .timeline-body-content {
    color: var(--site-text);
    font-size: 14px;
}

/* Signup modal: its buttons follow the site buttons */
.site-body .signup-modal .btn-brand {
    min-height: 52px;
}

/* Floating help button of Help Scout sits over the content on phones: leave
   room at the bottom of the footer */
@media (max-width: 575px) {
    .site-footer__bottom {
        padding-bottom: 88px;
    }
}

/* OAuth consent (v2/oauth/authorize.blade.php) */
.site-auth__actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.site-body .site-auth__actions .site-btn {
    flex: 1;
    width: auto;
}

.site-body .site-auth__card .m-checkbox-list {
    padding: 10px 14px;
    border: 1px solid var(--site-line);
    border-radius: 10px;
}

.site-body .site-auth__card .m-checkbox {
    margin: 0;
    color: var(--site-ink);
    font-weight: 500;
}

/* Help (v2/help.blade.php): categories on the left, sections on the right */
.site-docs {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.site-docs__nav {
    position: sticky;
    top: 100px;
    padding: 16px;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: #FFFFFF;
}

.site-docs__nav-title {
    margin: 0 0 8px;
    padding: 0 10px;
    color: #8A8F9C;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.site-docs__nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-body .site-docs__nav a {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--site-ink);
    font-size: 14px;
    font-weight: 500;
}

.site-body .site-docs__nav a:hover {
    background: #F6F7FA;
    color: var(--site-red);
    text-decoration: none;
}

.site-docs__content > .row {
    scroll-margin-top: 96px;
}

.site-docs__content h2 {
    margin: 28px 0 8px;
    font-size: 20px;
    font-weight: 600;
}

.site-docs__content h4 {
    margin: 20px 0 8px;
    font-size: 16px;
    font-weight: 600;
}

.site-docs__content .thumbnail {
    display: block;
    margin-bottom: 20px;
    overflow: hidden;
}

.site-docs__content .img-thumbnail {
    border: 0;
    border-radius: 0;
}

.site-body .site-docs__content pre {
    padding: 14px 16px;
    border: 0;
    border-radius: 10px;
    background: #1F2233;
    color: #E8EAF2;
    font-size: 13px;
    white-space: pre-wrap;
    word-break: break-word;
}

@media (max-width: 991px) {
    .site-docs {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .site-docs__nav {
        position: static;
    }

    .site-docs__nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .site-body .site-docs__nav a {
        border: 1px solid var(--site-line);
        border-radius: 999px;
        font-size: 13px;
    }
}

/* The green strip of the content pages sits outside .bt-container: same
   widths as the container (v2.custom) */
.site-body .homepage > .portlet.bg-green-jungle {
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 20px);
}

@media (min-width: 576px) {
    .site-body .homepage > .portlet.bg-green-jungle {
        width: 556px;
    }
}

@media (min-width: 768px) {
    .site-body .homepage > .portlet.bg-green-jungle {
        width: 700px;
    }
}

@media (min-width: 1024px) {
    .site-body .homepage > .portlet.bg-green-jungle {
        width: 920px;
    }
}

@media (min-width: 1200px) {
    .site-body .homepage > .portlet.bg-green-jungle {
        width: 1120px;
    }
}

@media (min-width: 1400px) {
    .site-body .homepage > .portlet.bg-green-jungle {
        width: 1320px;
    }
}

@media (min-width: 1600px) {
    .site-body .homepage > .portlet.bg-green-jungle {
        width: 1520px;
    }
}

/* Features and other pages built with the hsec sections of v2.custom */
.site-body .hsec--hero {
    border-bottom: 1px solid var(--site-line);
    background: radial-gradient(1200px 400px at 85% -10%, rgba(217, 67, 47, .07), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FAFAFC 100%);
}

.site-body .hsec--light {
    background: #FAFAFC;
}

.site-body .hsec__title {
    color: var(--site-ink);
    font-weight: 700;
}

.site-body .feat-icon {
    border-radius: 12px;
    background: var(--site-red-tint);
}

.site-body .feat-icon .fa,
.site-body .feat-text a {
    color: var(--site-red);
}

.site-body .media-panel {
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    box-shadow: none;
}

/* Phone gutter: 16px (v2.custom gives .bt-container 10px, less than the 15px
   negative margins of the Bootstrap rows it holds) */
@media (max-width: 575px) {
    .site-body .bt-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* A page ending with a dark full-width section (features) meets the footer */
.site-main > .hsec--dark:last-child {
    margin-bottom: -64px;
}

/* v2.custom centers modals with an inline-block ghost element. On a phone the
   dialog is as wide as the screen, wraps under the ghost and opens below the
   fold: drop the trick there */
@media (max-width: 575px) {
    .site-body .modal:before {
        display: none;
    }

    .site-body .modal-dialog {
        display: block;
        margin: 16px auto;
        width: auto;
        max-width: calc(100% - 24px);
    }
}

/* Features page (v2/features.blade.php) -------------------------------------
   Text + animated SVG illustration per feature (ft- classes are the SVG
   parts). The animations stop with prefers-reduced-motion. */

.site-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.site-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-stats li {
    padding: 7px 14px;
    border: 1px solid var(--site-line);
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--site-muted);
    font-size: 13px;
}

.site-stats strong {
    color: var(--site-ink);
    font-weight: 700;
}

.site-feature {
    padding: 80px 0;
}

.site-feature--muted {
    border-top: 1px solid var(--site-line-soft);
    border-bottom: 1px solid var(--site-line-soft);
    background: #FAFAFC;
}

.site-feature__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.site-feature__grid--reverse .site-feature__text {
    order: 2;
}

.site-feature__kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--site-red);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.site-body .site-feature__title {
    margin: 0 0 14px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.site-feature__text p {
    color: var(--site-text);
    font-size: 16px;
    line-height: 1.7;
}

.site-checks {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.site-checks li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 30px;
    color: var(--site-ink);
    font-size: 15px;
    line-height: 1.5;
}

.site-checks li:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--site-green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%231E7F4A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.site-feature__art {
    padding: 20px;
    border: 1px solid var(--site-line);
    border-radius: 20px;
    background: radial-gradient(400px 260px at 80% 0%, rgba(217, 67, 47, .06), transparent 70%), #FFFFFF;
}

.ft-svg {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto;
    font-family: 'Poppins', system-ui, sans-serif;
    overflow: visible;
}

@media (max-width: 991px) {
    .site-feature {
        padding: 56px 0;
    }

    .site-feature__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .site-feature__grid--reverse .site-feature__text {
        order: 0;
    }

    .site-body .site-feature__title {
        font-size: 26px;
    }
}

@media (max-width: 575px) {
    .site-feature__art {
        padding: 12px;
    }
}

/* Shared SVG parts */
.ft-chip rect {
    fill: #FFFFFF;
    stroke: #E3E5EB;
}

.ft-chip text {
    fill: #1F2233;
    font-size: 13px;
    font-weight: 500;
    text-anchor: middle;
}

.ft-chip--left text {
    text-anchor: start;
}

.ft-chip--strong rect {
    fill: #D9432F;
    stroke: none;
}

.ft-chip--strong text {
    fill: #FFFFFF;
    font-weight: 600;
}

/* 1. Behavior: a dot walks down the steps, each step lights up in turn */
.ft-flow__rail {
    stroke: #E3E5EB;
    stroke-width: 2;
    stroke-dasharray: 4 5;
}

.ft-flow__dot {
    fill: #D9432F;
    animation: ft-walk 6s ease-in-out infinite;
}

.ft-flow__step rect {
    fill: #FFFFFF;
    stroke: #E3E5EB;
    stroke-width: 1.5;
    animation: ft-step 6s ease-in-out infinite;
    animation-delay: calc(var(--i) * 1.2s);
}

.ft-flow__ico {
    fill: #F1F2F6;
    animation: ft-step-ico 6s ease-in-out infinite;
    animation-delay: calc(var(--i) * 1.2s);
}

.ft-flow__step text {
    fill: #1F2233;
    font-size: 14px;
    font-weight: 500;
}

@keyframes ft-walk {
    0%, 4% { transform: translateY(0); }
    20%, 24% { transform: translateY(68px); }
    40%, 44% { transform: translateY(136px); }
    60%, 64% { transform: translateY(204px); }
    80%, 96% { transform: translateY(272px); opacity: 1; }
    100% { transform: translateY(272px); opacity: 0; }
}

@keyframes ft-step {
    0%, 22%, 100% { stroke: #E3E5EB; fill: #FFFFFF; }
    4%, 16% { stroke: #D9432F; fill: #FFF4F2; }
}

@keyframes ft-step-ico {
    0%, 22%, 100% { fill: #F1F2F6; }
    4%, 16% { fill: #D9432F; }
}

/* 2. Geo-targeting: turning globe, pulsing pins */
.ft-globe__sea {
    fill: #F6F7FA;
}

.ft-globe__grid ellipse,
.ft-globe__grid line {
    fill: none;
    stroke: #D5D8E0;
    stroke-width: 1.2;
}

.ft-globe__edge {
    fill: none;
    stroke: #C9CCD6;
    stroke-width: 1.5;
}

.ft-pin__dot {
    fill: #D9432F;
    stroke: #FFFFFF;
    stroke-width: 2;
}

.ft-pin__ring {
    fill: #D9432F;
    opacity: .35;
    transform-box: fill-box;
    transform-origin: center;
    animation: ft-ping 2.4s ease-out infinite;
    animation-delay: calc(var(--i) * .6s);
}

@keyframes ft-ping {
    0% { transform: scale(1); opacity: .45; }
    80%, 100% { transform: scale(4); opacity: 0; }
}

/* 3. Traffic source: visits flow from each source to the site */
.ft-sources__line {
    fill: none;
    stroke: #E3E5EB;
    stroke-width: 2;
}

.ft-sources__dot {
    fill: #D9432F;
}

.ft-site__frame {
    fill: #FFFFFF;
    stroke: #E3E5EB;
    stroke-width: 1.5;
}

.ft-site__bar {
    fill: #F1F2F6;
}

.ft-site__light {
    fill: #D5D8E0;
}

.ft-site__clear {
    fill: transparent;
}

.ft-site__label {
    fill: #1F2233;
    font-size: 13px;
    font-weight: 600;
    text-anchor: middle;
}

.ft-bar {
    fill: #D9432F;
    opacity: .85;
    transform-box: fill-box;
    transform-origin: bottom;
    animation: ft-grow 2.4s ease-in-out infinite alternate;
    animation-delay: calc(var(--i) * .3s);
}

@keyframes ft-grow {
    0% { transform: scaleY(.3); }
    100% { transform: scaleY(1); }
}

/* 4. Speed: the day curve draws itself, the Live dot blinks */
.ft-chart__card {
    fill: #FFFFFF;
    stroke: #E3E5EB;
}

.ft-chart__title {
    fill: #1F2233;
    font-size: 15px;
    font-weight: 600;
}

.ft-chart__grid line {
    stroke: #EEF0F4;
}

.ft-chart__axis text {
    fill: #8A8F9C;
    font-size: 12px;
    text-anchor: middle;
}

.ft-chart__area {
    fill: rgba(217, 67, 47, .08);
}

.ft-chart__line {
    fill: none;
    stroke: #D9432F;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: ft-draw 4s ease-in-out infinite;
}

@keyframes ft-draw {
    0% { stroke-dashoffset: 1; }
    55%, 90% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

.ft-chart__sun circle {
    fill: #F5B544;
    animation: ft-glow 4s ease-in-out infinite;
}

@keyframes ft-glow {
    0%, 100% { opacity: .55; }
    50% { opacity: 1; }
}

.ft-chart__moon {
    fill: #B4B8C7;
}

.ft-live rect {
    fill: #E6F4EC;
}

.ft-live text {
    fill: #1E7F4A;
    font-size: 12px;
    font-weight: 600;
    text-anchor: middle;
}

.ft-live__dot {
    fill: #1E7F4A;
    animation: ft-blink 1.2s ease-in-out infinite;
}

@keyframes ft-blink {
    50% { opacity: .2; }
}

/* 5. Devices: the mobile / desktop split slides */
.ft-dev__frame {
    fill: #FFFFFF;
    stroke: #C9CCD6;
    stroke-width: 1.5;
}

.ft-dev__screen {
    fill: #F6F7FA;
}

.ft-dev__text {
    fill: #1F2233;
}

.ft-dev__muted {
    fill: #D5D8E0;
}

.ft-dev__block {
    fill: #FFFFFF;
    stroke: #E3E5EB;
}

.ft-dev__phone {
    animation: ft-float 4s ease-in-out infinite;
}

@keyframes ft-float {
    50% { transform: translate(318px, 64px); }
    0%, 100% { transform: translate(318px, 72px); }
}

.ft-dev__label {
    fill: #4A5065;
    font-size: 13px;
    font-weight: 600;
}

.ft-split__track {
    fill: #E3E5EB;
}

.ft-split__fill {
    fill: #D9432F;
    animation: ft-split 5s ease-in-out infinite;
}

.ft-split__knob {
    fill: #FFFFFF;
    stroke: #D9432F;
    stroke-width: 3;
    animation: ft-knob 5s ease-in-out infinite;
}

@keyframes ft-split {
    0%, 100% { width: 240px; }
    50% { width: 140px; }
}

@keyframes ft-knob {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-100px); }
}

/* 6. Support: the conversation plays, then starts again */
.ft-chat__in {
    fill: #F1F2F6;
}

.ft-chat__out {
    fill: #D9432F;
}

.ft-chat__msg text {
    font-size: 14px;
    font-weight: 500;
}

.ft-chat__msg--question text {
    fill: #1F2233;
}

.ft-chat__msg--answer text {
    fill: #FFFFFF;
}

.ft-chat__msg .ft-chat__meta {
    fill: rgba(255, 255, 255, .8);
    font-size: 12px;
    font-weight: 400;
}

.ft-chat__msg {
    animation: ft-msg 8s ease-out infinite;
}

.ft-chat__msg--typing {
    animation-name: ft-typing-bubble;
}

.ft-chat__msg--answer {
    animation-name: ft-msg-late;
}

.ft-chat__typing {
    fill: #FFFFFF;
    animation: ft-blink 1s ease-in-out infinite;
    animation-delay: calc(var(--d) * .2s);
}

@keyframes ft-msg {
    0% { opacity: 0; }
    6%, 92% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes ft-typing-bubble {
    0%, 14% { opacity: 0; }
    20%, 42% { opacity: 1; }
    48%, 100% { opacity: 0; }
}

@keyframes ft-msg-late {
    0%, 46% { opacity: 0; }
    52%, 92% { opacity: 1; }
    100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ft-svg *,
    .ft-svg {
        animation: none !important;
    }

    .ft-chart__line {
        stroke-dashoffset: 0;
    }

    .ft-chat__msg--typing {
        opacity: 0;
    }
}

/* Pricing page: a short page head names the page and the starting price, the
   plans come right after it, and the visits calculator (.pricing-hero of
   v2.pricing.*.css) follows the plans as a plan finder */
.site-body .pricing-head {
    padding: 44px 0 36px;
}

.site-body .pricing-head .site-hero__lead {
    margin-bottom: 0;
}

.site-body .pricing-head .site-hero__lead strong {
    color: var(--site-ink);
    font-weight: 700;
}

.site-body .pricing-hero__title {
    font-size: 28px;
    line-height: 1.25;
}

@media (max-width: 767px) {
    .site-body .pricing-head {
        padding: 32px 0 24px;
    }

    .site-body .pricing-hero__title {
        font-size: 23px;
    }
}

/* Affiliate page (v2/affiliation.blade.php) */
.site-body .aff-hero {
    padding: 56px 0;
}

.aff-hero .site-hero__title {
    font-size: 40px;
}

.aff-hero__form {
    margin-left: 0;
}

.aff-hero__actions {
    justify-content: flex-start;
}

.aff-flow__pay {
    stroke: #C6E6D2;
}

.aff-flow__coin {
    fill: #F5B544;
    stroke: #FFFFFF;
    stroke-width: 2;
}

.aff-flow__bar {
    fill: #1E7F4A;
}

.aff-user > circle:first-child {
    fill: #FFFFFF;
    stroke: #C9CCD6;
    stroke-width: 1.5;
}

.aff-user__head {
    fill: #8A8F9C;
}

.aff-head {
    max-width: 640px;
    margin: 0 auto 32px;
    text-align: center;
}

.aff-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: aff-step;
}

.aff-step {
    position: relative;
    padding: 28px 24px 24px;
    border: 1px solid var(--site-line);
    border-radius: var(--site-radius);
    background: #FFFFFF;
    counter-increment: aff-step;
}

.aff-step:after {
    content: counter(aff-step);
    position: absolute;
    top: 22px;
    right: 24px;
    color: #E3E5EB;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

.aff-step__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.aff-step__bg {
    fill: var(--site-red-tint);
}

.aff-step__stroke {
    fill: none;
    stroke: var(--site-red);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-body .aff-step h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.aff-step p {
    margin: 0;
    color: var(--site-text);
    font-size: 15px;
    line-height: 1.65;
}

.aff-examples {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.aff-example {
    padding: 16px 18px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    background: #FFFFFF;
}

.site-body .aff-example p {
    margin: 0;
}

.site-body .aff-example__case {
    color: var(--site-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

.site-body .aff-example__math {
    margin-top: 6px;
    color: var(--site-muted);
    font-size: 13px;
}

.site-body .aff-example__earn {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--site-line-soft);
    color: var(--site-muted);
    font-size: 14px;
}

.aff-example__earn strong {
    color: var(--site-green);
    font-size: 22px;
    font-weight: 700;
}

.site-body .aff-note {
    margin: 10px 0 0;
    color: #8A8F9C;
    font-size: 13px;
}

/* The ladder: five bars growing with the rate */
.aff-ladder {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    gap: 10px;
    height: 300px;
    margin: 0;
    padding: 8px 4px 0;
    list-style: none;
}

.aff-ladder__step {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    text-align: center;
}

.aff-ladder__bar {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: calc(36% + var(--i) * 15%);
    padding-top: 10px;
    border-radius: 10px 10px 4px 4px;
    background: linear-gradient(180deg, #D9432F, #E86F5C);
    opacity: calc(.55 + var(--i) * .11);
    transform-origin: bottom;
    animation: aff-rise 1s cubic-bezier(.2, .8, .2, 1) both;
    animation-delay: calc(var(--i) * .12s);
}

.aff-ladder__rate {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
}

.aff-ladder__range {
    margin-top: 8px;
    color: var(--site-muted);
    font-size: 12px;
    line-height: 1.35;
}

.site-body .aff-ladder__caption {
    margin: 14px 0 0;
    color: #8A8F9C;
    font-size: 12px;
    text-align: center;
}

@keyframes aff-rise {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.aff-kit__img {
    fill: #FFF4F2;
}

.aff-kit__btn {
    fill: #D9432F;
}

.aff-kit__card {
    animation: aff-bob 5s ease-in-out infinite;
    animation-delay: calc(var(--i) * -1.6s);
}

@keyframes aff-bob {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -6px; }
}

.aff-terms__list {
    max-width: 760px;
    margin: 0 auto;
    padding-left: 1.2em;
    color: var(--site-text);
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 991px) {
    .aff-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .aff-hero .site-hero__title {
        font-size: 30px;
    }
}

@media (max-width: 575px) {
    .aff-examples {
        grid-template-columns: minmax(0, 1fr);
    }

    .aff-ladder {
        height: 240px;
        gap: 6px;
    }

    .aff-ladder__rate {
        font-size: 14px;
    }

    .aff-ladder__range {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aff-ladder__bar,
    .aff-kit__card {
        animation: none;
    }
}
