/*
 * "Grow": colours, header, buttons, the short application form and the debit card.
 * Everything is prefixed g- so it can sit beside the older stylesheets on inner pages.
 * Colours are the Thrive brand greens, lime and gold on white and soft stone.
 * Only .g-page (the lightweight layout) sets page-wide styles, at low specificity
 * so the footer and phone styles keep their own look.
 */
:root {
    --g-green: #0e664d;
    --g-deep: #123a2c;
    --g-ink: #17261f;
    --g-muted: #5a6c64;
    --g-cream: #fbfbf9;
    --g-line: rgba(18, 58, 44, .1);
    --g-leaf: #a6b646;

    /* soft neutrals */
    --g-tint: #eef1e9;
    --g-stone: #f3f3ee;

    --g-display: 'Montserrat', 'Segoe UI', sans-serif;
    --g-body: 'Inter', 'Segoe UI', sans-serif;
    /* the older stylesheets read these */
    --tb-accent: #a6b646;
    --insur-font: 'Inter', 'Segoe UI', sans-serif;
    --tb-font-display: 'Montserrat', 'Segoe UI', sans-serif;
    --tb-font-condensed: 'Montserrat', 'Segoe UI', sans-serif;
    --g-shadow: 0 1px 2px rgba(18, 58, 44, .05), 0 18px 44px -18px rgba(18, 58, 44, .22);
    --g-ease: cubic-bezier(.16, 1, .3, 1);
    --g-head: 72px;
}

/* One soft fade between pages; the tapped product becomes the form. */
@view-transition { navigation: auto; }
::view-transition-group(g-card) { animation-duration: .6s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }

:where(.g-page) { margin: 0; background: var(--g-cream); color: var(--g-ink); font: 400 16px/1.6 var(--g-body); -webkit-font-smoothing: antialiased; }
:where(.g-page *, .g-page *::before, .g-page *::after), .g-header, .g-header * { box-sizing: border-box; }
:where(.g-page) :where(h1, h2, h3, p, ul, ol, figure, blockquote) { margin: 0; padding: 0; }
:where(.g-page) :where(ul, ol) { list-style: none; }
:where(.g-page) :where(h1, h2, h3) { font-family: var(--g-display); font-weight: 700; letter-spacing: -.025em; color: var(--g-deep); }
.page-wrapper :is(h1, h2, h3, h4, h5) { font-family: var(--g-display); }
:where(.g-page) :where(a) { color: var(--g-green); }
:where(.g-page) :where(img) { max-width: 100%; }
.g-page [hidden] { display: none !important; }
.g-page :focus-visible, .g-header :focus-visible { outline: 3px solid var(--g-leaf); outline-offset: 2px; }
.g-wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.g-ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- buttons: flat, softly squared, one line icon ---------- */
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font: 600 14.5px/1 var(--g-body); letter-spacing: -.01em; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--g-ease); }
.g-btn .g-ico { font-size: 18px; stroke-width: 1.6; }
.g-btn:hover { transform: translateY(-1px); }
.g-btn:active { transform: scale(.98); }
a.g-btn--primary, .g-btn--primary { background: var(--g-green); color: #fff; }
a.g-btn--primary:hover, .g-btn--primary:hover { background: var(--g-deep); color: #fff; }
a.g-btn--outline, .g-btn--outline { border-color: rgba(18, 58, 44, .16); background: transparent; color: var(--g-deep); }
a.g-btn--outline:hover, .g-btn--outline:hover { border-color: var(--g-deep); background: transparent; color: var(--g-deep); }
a.g-btn--ghost, .g-btn--ghost { border-color: rgba(255, 255, 255, .24); background: transparent; color: #fff; }
a.g-btn--ghost:hover, .g-btn--ghost:hover { background: #fff; color: var(--g-deep); }
.g-btn--sm { min-height: 42px; padding: 0 16px; font-size: 13.5px; border-radius: 10px; }
.g-btn--block { width: 100%; min-height: 56px; font-size: 15.5px; }
.g-btn[disabled] { opacity: .7; cursor: progress; transform: none; }
/* the older pages' buttons take the same shape */
.page-wrapper :is(.thm-btn, .thm2-btn, .tb-btn) { border-radius: 12px; }
/* ---------- header ---------- */
/* the old wrapper used overflow:hidden, which stops a sticky header from sticking */
.page-wrapper { overflow: clip; }
.g-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .9); border-bottom: 1px solid var(--g-line); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); font-family: var(--g-body); line-height: 1.4; }
.g-header__row { display: flex; align-items: center; gap: 20px; width: min(1200px, 100% - 40px); height: var(--g-head); margin-inline: auto; }
.g-header__logo img { display: block; width: auto; height: 50px; }
.g-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.g-drop { position: relative; margin: 0; }
.g-drop summary { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--g-ink); cursor: pointer; list-style: none; transition: background-color .3s; }
.g-drop summary::-webkit-details-marker { display: none; }
.g-drop summary::after { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); opacity: .6; }
.g-drop summary:hover, .g-drop[open] summary { background: var(--g-tint); color: var(--g-deep); }
.g-drop__panel { position: absolute; top: calc(100% + 12px); left: 0; min-width: 230px; padding: 12px; background: rgba(255, 255, 255, .98); border: 1px solid var(--g-line); border-radius: 22px; box-shadow: var(--g-shadow); }
.g-drop[open] .g-drop__panel { animation: g-drop .45s var(--g-ease); }
.g-drop__panel--wide { display: grid; grid-template-columns: repeat(2, 200px); gap: 8px; }
.g-header .g-drop__panel a { display: block; padding: 8px 12px; border-radius: 12px; font-size: 14px; color: var(--g-ink); text-decoration: none; }
.g-header .g-drop__panel a:hover { background: var(--g-tint); color: var(--g-deep); }
.g-header .g-drop__title { margin: 0; padding: 6px 12px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--g-muted); }
.g-header .g-nav__bank { margin-left: 8px; padding: 10px 16px; border: 1px solid rgba(18, 58, 44, .16); border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--g-deep); text-decoration: none; }
.g-header .g-nav__bank:hover { background: #fff; }
.g-header__actions { display: flex; align-items: center; gap: 8px; }
.g-header__menu { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(18, 58, 44, .14); border-radius: 10px; background: #fff; color: var(--g-deep); font-size: 21px; place-items: center; cursor: pointer; }

@media (max-width: 991px) {
    :root { --g-head: 66px; }
    .g-header__logo img { height: 44px; }
    .g-header__actions { margin-left: auto; }
    .g-header__menu { display: grid; }
    /* the blur would trap the dropdown menu inside the header, so it goes opaque instead */
    .g-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--g-cream); }
    .g-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; max-height: calc(100vh - var(--g-head)); overflow-y: auto; padding: 12px 20px 22px; background: var(--g-cream); border-bottom: 1px solid var(--g-line); box-shadow: var(--g-shadow); }
    .g-nav.is-open { display: flex; animation: g-drop .45s var(--g-ease); }
    .g-drop__panel, .g-drop__panel--wide { position: static; grid-template-columns: 1fr 1fr; box-shadow: none; margin: 6px 0 8px; }
    .g-header .g-nav__bank { margin: 10px 0 0; text-align: center; }
}

/* ---------- switch (For me / For my business) ---------- */
.g-switch { display: inline-flex; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--g-line); border-radius: 999px; box-shadow: 0 8px 22px -16px rgba(18, 58, 44, .4); }
.g-switch button { min-height: 40px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--g-muted); font: 600 14px var(--g-body); cursor: pointer; white-space: nowrap; transition: background-color .45s var(--g-ease), color .3s; }
.g-switch button[aria-pressed="true"] { background: var(--g-deep); color: #fff; }
.g-switch--wide { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }

/* ---------- application form ---------- */
.g-apply { padding: 36px 0 72px; background: var(--g-stone); }
.g-apply__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: 40px; align-items: start; max-width: 1080px; }
.g-grow { position: sticky; top: calc(var(--g-head) + 32px); text-align: center; }
.g-grow .g-sprout { width: min(100%, 300px); }
.g-page .g-grow__status { font-family: var(--g-display); font-size: 25px; color: var(--g-deep); }
.g-page .g-grow__help { margin-top: 10px; font-size: 13.5px; color: var(--g-muted); }
.g-form { padding: 38px; background: rgba(255, 255, 255, .86); border: 1px solid #fff; border-radius: 34px; box-shadow: var(--g-shadow); view-transition-name: g-card; animation: g-rise .8s var(--g-ease) backwards; }
.g-page .g-form__title { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; }
.g-page .g-form__lead { margin: 6px 0 26px; color: var(--g-muted); font-size: 14.5px; }
.g-field { min-width: 0; margin: 0 0 22px; padding: 0; border: 0; }
.g-field legend, .g-field > label { display: block; margin-bottom: 9px; padding: 0; font-size: 13.5px; font-weight: 700; color: var(--g-deep); }
.g-field small, .g-note small { font-weight: 400; color: var(--g-muted); }
.g-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.g-input, .g-money { width: 100%; min-height: 54px; border: 1.5px solid rgba(18, 58, 44, .14); border-radius: 16px; background: #fff; transition: border-color .3s, box-shadow .3s; }
/* 16px text stops phones zooming in when a field is tapped */
.g-input { padding: 13px 16px; font: 500 16px var(--g-body); color: var(--g-ink); }
textarea.g-input { resize: vertical; }
.g-input::placeholder, .g-money input::placeholder { color: #a3b0aa; }
.g-input:focus, .g-money:focus-within { outline: 0; border-color: var(--g-green); box-shadow: 0 0 0 4px rgba(14, 102, 77, .14); }
.g-money { display: flex; align-items: center; padding-left: 18px; }
.g-money span { font-size: 22px; font-weight: 600; color: var(--g-green); }
.g-money input { flex: 1; min-width: 0; min-height: 51px; padding: 0 14px 0 8px; border: 0; outline: 0 !important; background: transparent; font: 700 22px var(--g-body); color: var(--g-ink); }
.g-input[aria-invalid="true"], .g-money:has([aria-invalid="true"]) { border-color: #c0392b; }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.g-chip { position: relative; margin: 0; cursor: pointer; }
.g-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.g-chip span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1.5px solid rgba(18, 58, 44, .14); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; transition: background-color .35s, color .25s, transform .5s var(--g-ease), border-color .3s; }
.g-chip--round span { min-width: 58px; }
.g-chip:hover span { transform: translateY(-2px); border-color: var(--g-green); }
.g-chip input:checked + span { background: var(--g-deep); border-color: var(--g-deep); color: #fff; }
.g-chip input:focus-visible + span { outline: 3px solid var(--g-leaf); outline-offset: 2px; }
.g-noscript-only { display: none; }
.g-page .g-hint { margin-top: 10px; font-size: 13.5px; color: var(--g-muted); }
.g-page .g-estimate { margin-top: 12px; padding: 16px 18px; border-radius: 18px; background: var(--g-tint); border-left: 3px solid var(--g-leaf); font-size: 12.5px; color: var(--g-muted); }
.g-estimate strong { display: block; font-family: var(--g-display); font-weight: 700; font-size: 24px; color: var(--g-deep); }
.g-page .g-error { margin-top: 6px; font-size: 13px; color: #a52a1d; }
.g-alert { margin-bottom: 22px; padding: 16px 18px; border: 1px solid #f3c1b8; border-radius: 18px; background: #fdeeea; color: #8a2214; font-size: 14px; }
.g-page .g-alert ul { margin: 6px 0 0; padding-left: 18px; list-style: disc; }
.g-note { margin-bottom: 24px; font-size: 14px; }
.g-note summary { margin-bottom: 8px; font-weight: 700; color: var(--g-green); cursor: pointer; }
.g-page .g-form__small { margin-top: 14px; font-size: 12px; line-height: 1.65; color: var(--g-muted); text-align: center; }
.g-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 860px) {
    .g-apply { padding-top: 0; }
    .g-apply__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    /* the plant shrinks to a progress strip that stays in view */
    .g-grow { top: var(--g-head); z-index: 20; display: flex; align-items: center; gap: 12px; margin: 0 -20px; padding: 6px 20px; background: var(--g-cream); border-bottom: 1px solid var(--g-line); text-align: left; }
    .g-grow .g-sprout { width: 50px; height: 60px; flex: none; }
    .g-page .g-grow__status { font-size: 17px; }
    .g-estimate strong { font-size: 20px; }
    .g-page .g-grow__help { margin-top: 0; font-size: 12px; }
    .g-form { padding: 24px 20px; border-radius: 26px; }
}
@media (max-width: 520px) { .g-pair { grid-template-columns: minmax(0, 1fr); } }

/* ---------- the plant ---------- */
.g-sprout { --g-grow: 0; overflow: visible; }
.g-sprout__stem { fill: none; stroke: var(--g-green); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(.94 - var(--g-grow) * .94); transition: stroke-dashoffset 1s var(--g-ease); }
.g-sprout__leaf { fill: var(--g-leaf); transform: scale(0) rotate(-35deg); transition: transform .9s cubic-bezier(.2, .9, .25, 1.4); }
.g-sprout__leaf:nth-of-type(even) { fill: var(--g-green); }
.g-sprout__leaf.is-out { transform: none; }
.g-sprout__bloom { transform: scale(0) rotate(-90deg); transition: transform 1.1s cubic-bezier(.2, .9, .25, 1.35); }
.g-sprout__bloom.is-out { transform: none; }
.g-sprout__petals { fill: #cdd98a; }
.g-sprout__bloom circle { fill: var(--g-green); }
.g-sprout__bloom text { fill: #fff; font: 700 16px var(--g-body); }
.g-sprout__soil { fill: #8a6a4f; }

/* success: the plant grows from seed by itself */
.g-sent { display: flex; align-items: center; min-height: calc(100vh - var(--g-head)); padding: 40px 0; background: var(--g-stone); }
.g-sent__card { max-width: 620px; text-align: center; }
.g-page .g-sent h1 { font-size: clamp(30px, 5vw, 46px); }
.g-page .g-sent__lead { margin-top: 12px; color: var(--g-muted); }
.g-page .g-sent__ref { display: inline-block; margin-top: 22px; padding: 14px 32px; background: #fff; border-radius: 22px; box-shadow: var(--g-shadow); }
.g-sent__ref small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--g-muted); }
.g-sent__ref strong { font-size: 23px; letter-spacing: .05em; color: var(--g-deep); }
.g-sent__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.g-sprout--bloomed { --g-grow: 1; width: 180px; }
.g-sprout--bloomed .g-sprout__stem { animation: g-stem 1.3s var(--g-ease) backwards; }
.g-sprout--bloomed .g-sprout__leaf { transform: none; animation: g-pop .8s cubic-bezier(.2, .9, .25, 1.4) backwards; }
.g-sprout--bloomed .g-sprout__leaf:nth-of-type(1) { animation-delay: .35s; }
.g-sprout--bloomed .g-sprout__leaf:nth-of-type(2) { animation-delay: .55s; }
.g-sprout--bloomed .g-sprout__leaf:nth-of-type(3) { animation-delay: .75s; }
.g-sprout--bloomed .g-sprout__leaf:nth-of-type(4) { animation-delay: .95s; }
.g-sprout--bloomed .g-sprout__bloom { transform: none; animation: g-pop 1.1s 1.2s cubic-bezier(.2, .9, .25, 1.35) backwards; }

/* a text link dressed as a small button */
.g-page a.g-pill, .tb-cardpage a:not(.tb-btn) { display: inline-flex; align-items: center; gap: 6px; margin: 3px 2px; padding: 7px 12px; border: 1px solid rgba(14, 102, 77, .22); border-radius: 9px; background: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--g-green); text-decoration: none; transition: background-color .3s, color .3s; }
.g-page a.g-pill:hover, .tb-cardpage a:not(.tb-btn):hover { background: var(--g-green); color: #fff; }

/* shortcut to the quick form on the document upload page */
.g-callback { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; padding: 20px 24px; background: var(--g-tint); border-left: 3px solid var(--g-leaf); border-radius: 14px; }
.g-callback p { margin: 0; color: var(--g-deep); }

/* the site footer (footer.css) expects these from the older stylesheets */
.g-page .tb-foot { --insur-base: #a6b646; --tb-brand-dark: #0a2e22; position: relative; z-index: 2; margin-top: 24px; font-family: var(--g-body); line-height: 26px; }
.g-page .tb-foot .container { width: min(1170px, 100%); margin-inline: auto; padding-inline: 15px; }
.g-page .tb-foot a { text-decoration: none; }

/* =========================================================
   The debit card: the bank's own card artwork, given depth
   ========================================================= */
.g-card3d { position: relative; width: 100%; aspect-ratio: 1200 / 758; transform-style: preserve-3d; }
.g-card3d__face { position: absolute; inset: 0; overflow: hidden; border-radius: 4.6% / 7.3%; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.g-card3d__front { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 0 0 1px rgba(18, 58, 44, .08), 0 40px 60px -28px rgba(20, 80, 58, .5); }
/* slightly oversized so the artwork's dark corners never show */
.g-card3d__front img { position: absolute; left: -.6%; top: -.9%; width: 101.2%; max-width: none; height: 101.8%; object-fit: cover; }
.g-card3d__front::after, .g-card3d__back::after { content: ''; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .65) 50%, transparent 58%); transform: translateX(var(--g-glint, -55%)); pointer-events: none; }
.g-card3d__back { transform: rotateY(180deg); background: linear-gradient(135deg, #eef8f1, #cfe9d9 55%, #e4efc8); box-shadow: 0 40px 60px -28px rgba(20, 80, 58, .5); }
.g-card3d__stripe { position: absolute; left: 0; right: 0; top: 11%; height: 19%; background: #1d2b26; }
.g-card3d__sign { position: absolute; left: 7%; right: 28%; top: 42%; height: 13%; border-radius: 4px; background: repeating-linear-gradient(-45deg, #fff 0 6px, #f1f6f2 6px 12px); }
.g-card3d__note { position: absolute; left: 7%; right: 7%; bottom: 10%; font: 500 clamp(8px, 1.2vw, 11px)/1.5 var(--g-body); color: #2d5546; }
.g-card3d__brand { position: absolute; right: 7%; bottom: 30%; width: 20%; border-radius: 6px; }

/* the Debit Card & POS page: brand colours, no frames */
.tb-cardpage .tb-cardpage__art { min-height: 440px; border: 0; border-radius: 24px; background: radial-gradient(circle at 18% 14%, rgba(255, 255, 255, .14), transparent 46%), linear-gradient(150deg, #0f6b50, #0f3b2d); }
.tb-cardpage .tb-cardpage__art--pos { position: relative; overflow: hidden; padding: 0; background: radial-gradient(circle at 50% 42%, #1d6b50, #0f3b2d 68%); }
.tb-cardpage .tb-cardpage__art::after { display: none; }
.tb-cardpage .tb-dcard__tilt { filter: none; }
.tb-cardpage .tb-cardpage__art--card { display: block; padding: 0; overflow: hidden; }
.tb-cardpage .tb-heading { font-family: var(--g-display); font-weight: 700; letter-spacing: -.025em; color: #123a2c; }
.tb-cardpage .tb-eyebrow { color: #0e664d; }
.tb-cardpage .tb-btn--primary { border-color: #0e664d; background: #0e664d; color: #fff; }
.tb-cardpage .tb-btn--primary:hover { border-color: #123a2c; background: #123a2c; }
@media (min-width: 992px) {
    /* the steps are long, so the picture stays in view beside them */
    .tb-cardpage .tb-cardpage__art--pos { position: sticky; top: calc(var(--g-head) + 24px); align-self: start; height: min(600px, calc(100vh - var(--g-head) - 48px)); min-height: 0; }
}

/* =========================================================
   The two cards trading places, and the POS terminal.
   Both fill whatever panel they are put in.
   ========================================================= */
.g-duo { position: absolute; inset: 0; overflow: hidden; }
.g-duo__disc { position: absolute; left: 62%; top: 38%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(140deg, #c6d65f, #8a9c30); translate: -50% -50%; }
.g-duo__waves { position: absolute; left: 50%; top: 52%; width: 62%; aspect-ratio: 1; translate: -50% -50%; }
.g-duo__waves i { position: absolute; inset: 0; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 50%; opacity: 0; animation: g-wave 4.5s ease-out infinite; }
.g-duo__waves i:nth-child(2) { animation-delay: 1.5s; }
.g-duo__waves i:nth-child(3) { animation-delay: 3s; }
.g-duo__card { position: absolute; left: 50%; top: 50%; width: min(400px, 70%, 62vh); perspective: 1200px; }
.g-duo__card--front { z-index: 3; translate: -57% -30%; rotate: -11deg; }
.g-duo__card--back { z-index: 2; translate: -40% -80%; rotate: 11deg; scale: .86; }
.g-duo__card--back .g-card3d { transform: rotateY(180deg); }
/* only the panel being looked at moves */
.bk-spread.is-on .g-duo__card--front, .tb-cardpage .g-duo__card--front { animation: g-lead 9s cubic-bezier(.7, 0, .2, 1) infinite; }
.bk-spread.is-on .g-duo__card--back, .tb-cardpage .g-duo__card--back { animation: g-follow 9s cubic-bezier(.7, 0, .2, 1) infinite; }
.bk-spread.is-on .g-duo .g-card3d__face::after, .tb-cardpage .g-duo .g-card3d__face::after { animation: g-glint 4.5s ease-in-out infinite; }

.g-posart { position: absolute; inset: 0; display: grid; place-items: center; }
.g-posart::after { content: ''; position: absolute; left: 50%; bottom: 7%; width: 46%; height: 5%; border-radius: 50%; background: rgba(0, 0, 0, .45); filter: blur(14px); translate: -42% 0; }
.g-posart img { position: absolute; z-index: 1; left: 4%; top: 3%; width: 92%; height: 94%; object-fit: contain; }
.bk-spread.is-on .g-posart img, .tb-cardpage .g-posart img { animation: g-hover 6s ease-in-out infinite; }

@keyframes g-lead {
    0%, 38% { z-index: 3; translate: -57% -30%; rotate: -11deg; scale: 1; }
    44% { z-index: 3; translate: -83% -48%; rotate: -14deg; scale: .68; }
    45% { z-index: 2; }
    52%, 88% { z-index: 2; translate: -40% -80%; rotate: 11deg; scale: .86; }
    94% { z-index: 2; translate: -17% -52%; rotate: 14deg; scale: .68; }
    95% { z-index: 3; }
    100% { z-index: 3; translate: -57% -30%; rotate: -11deg; scale: 1; }
}
@keyframes g-follow {
    0%, 38% { z-index: 2; translate: -40% -80%; rotate: 11deg; scale: .86; }
    44% { z-index: 2; translate: -17% -52%; rotate: 14deg; scale: .68; }
    45% { z-index: 3; }
    52%, 88% { z-index: 3; translate: -57% -30%; rotate: -11deg; scale: 1; }
    94% { z-index: 3; translate: -83% -48%; rotate: -14deg; scale: .68; }
    95% { z-index: 2; }
    100% { z-index: 2; translate: -40% -80%; rotate: 11deg; scale: .86; }
}
@keyframes g-wave { 0% { opacity: .8; scale: .45; } 100% { opacity: 0; scale: 1.7; } }
@keyframes g-glint { 0%, 35% { transform: translateX(-60%); } 75%, 100% { transform: translateX(60%); } }
@keyframes g-hover { 50% { translate: 0 -10px; rotate: -1.5deg; } }

@keyframes g-drop { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
@keyframes g-rise { from { opacity: 0; transform: translateY(36px); } }
@keyframes g-stem { from { stroke-dashoffset: 1; } }
@keyframes g-pop { from { transform: scale(0) rotate(-60deg); } }

@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
    .g-page *, .g-page *::before, .g-page *::after, .g-duo *, .g-duo *::after, .g-posart img { animation: none !important; transition: none !important; }
}

/* the app, offered on the application page: two quiet store buttons */
.g-getapp { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin: 0 0 24px; padding-bottom: 22px; border-bottom: 1px solid var(--g-line); }
.g-getapp p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--g-muted); }
.g-getapp p b { display: block; font-size: 15px; color: var(--g-deep); }
.g-getapp__stores { display: flex; flex-wrap: wrap; gap: 10px; }
.g-page a.g-store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 14px; border: 1px solid rgba(18, 58, 44, .18); border-radius: 12px; background: #fff; color: var(--g-deep); text-decoration: none; transition: border-color .25s, transform .25s var(--g-ease), box-shadow .25s; }
.g-page a.g-store:hover { border-color: var(--g-deep); transform: translateY(-1px); box-shadow: 0 10px 20px -14px rgba(10, 46, 34, .5); }
.g-store i { font-size: 24px; line-height: 1; }
.g-store span { display: flex; flex-direction: column; font-size: 15px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.g-store small { font-size: 10.5px; font-weight: 500; letter-spacing: 0; color: var(--g-muted); }
@media (max-width: 575px) { .g-getapp { flex-direction: column; align-items: stretch; text-align: center; } .g-getapp__stores { justify-content: center; } .g-page a.g-store { flex: 1 1 150px; justify-content: center; } }

/* the WhatsApp button, on every page (the lighter layout does not load thrive.css) */
.tb-whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 999; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; font-size: 30px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); text-decoration: none; transition: transform .25s; }
.tb-whatsapp:hover { color: #fff; transform: scale(1.06); }
@media (max-width: 767px) { .tb-whatsapp { right: 12px; bottom: 12px; width: 48px; height: 48px; font-size: 27px; } }

@media (max-width: 899px) { .g-apply .g-grow { display: none; } }
