/* ==========================================================================
   Main pages only (/ and /code). styles.css is shared with the /video1-8
   previews, so the geometry that changed on 2026-10-14 lives here:
     +6.07px of paper inserted above the "Only 48 trees" pill (the sold-out
       headline's line pitch grew 15% and its first line moved up onto the flame);
     -17.98px of paper removed under the timer, so the gap below it equals the
       gap above "THIS OFFER EXPIRES IN" (58.9px each, ink to ink).
   Backgrounds: assets/bg-long-main4.webp / bg-long-code7.webp (2880.15px).
   ========================================================================== */
#stage { height: 2864.12px; }   /* 2880.15 - 16.03 (second timer cut) */
.timer__unit { margin-top: 6.07px; }   /* the digit slots are placed in page coords (styles.css: top 1856.5) */
#stage .bar19 { top: 970.07px; }   /* styles.css puts it at 964 (#stage .bar19) */

/* --------------------------------------------------------------------------
   Offer buttons (2026-10-14 v2). The painted button and "No thanks" link are
   erased from the backgrounds (bg-long-main5 / code8 / det2); both are real
   <button>s now.
   YES — her "reserve by tree button.png", split into the pill (assets/btn-pill.png)
   and its lettering + star (assets/btn-text.png). Hover/press = twinklingtree.com's
   Shop Now: the pill glistens (a 25% white band, skewed -20deg, sweeps right-to-left
   in .75s, clipped to the pill) and the fill dims a touch; a click swaps the
   lettering for a loading ring. Painted gold border was x 64-329.6, so the PNG's
   gold rect (0.07,1.01 265.6x56.98 inside its 267.33x63.42 box) sits exactly there.
   NO THANKS — live Lora text, no underline until hover/press.
   -------------------------------------------------------------------------- */
.cta3 { position: absolute; left: 63.93px; top: 2337.92px; width: 267.33px; height: 63.42px;
        margin: 0; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cta3__pill, .cta3__text { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.cta3__pill { transition: filter .2s; }
.cta3:hover .cta3__pill, .cta3:active .cta3__pill, .cta3.is-pressed .cta3__pill { filter: brightness(.9); }
.cta3__text { transition: opacity .15s; }
.cta3.is-loading .cta3__text { opacity: 0; }
.cta3__face { position: absolute; left: 0.07px; top: 1.01px; width: 265.6px; height: 56.98px; border-radius: 999px; overflow: hidden; pointer-events: none; }
.cta3__face::before { content: ""; position: absolute; top: 0; height: 100%; width: 200%; left: 150%; transform: skew(-20deg);
                      background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent); opacity: 0; }
.cta3:hover .cta3__face::before, .cta3:active .cta3__face::before, .cta3.is-pressed .cta3__face::before {
  opacity: 1; animation: tt-shine .75s cubic-bezier(.01, .56, 1, 1) 1 both; }
@keyframes tt-shine { to { left: -200%; } }
.cta3__spin { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; box-sizing: border-box;
              border: 2.5px solid rgba(230,198,127,.3); border-top-color: #e6c67f; border-radius: 50%;   /* light gold, like the star */ opacity: 0; transition: opacity .15s;
              animation: cta3-spin .8s linear infinite; }
.cta3.is-loading .cta3__spin { opacity: 1; }
@keyframes cta3-spin { to { transform: rotate(360deg); } }
.cta3:focus-visible { outline: 2px solid #c9a24b; outline-offset: 3px; border-radius: 999px; }

.dec3 { position: absolute; left: 0; top: 2409px; width: var(--frame); margin: 0; padding: 6px 0 6px 3.3px; border: 0; background: none;
        font: 400 12.2px 'Lora', Georgia, serif; line-height: 1; color: #53350b; text-align: center; white-space: nowrap; cursor: pointer;
        transition: color .2s; -webkit-tap-highlight-color: transparent; }
/* the underline is DRAWN left to right on hover/press (a 1px line that grows from 0 to the text's width) */
.dec3__t { display: inline-block; padding-bottom: 2.5px;
           background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 1px;
           transition: background-size .4s cubic-bezier(.4, 0, .2, 1); }
.dec3:hover .dec3__t, .dec3:active .dec3__t, .dec3.is-pressed .dec3__t { background-size: 100% 1px; }
.dec3:active, .dec3.is-pressed { color: #2e1d06; }
.dec3:focus-visible { outline: 2px solid #c9a24b; outline-offset: 2px; }
