/*
 * Homepage: the scrolling product deck, the app, card and POS pages and the customer quote.
 * Brand colours only: deep green, Thrive green, lime, white and a soft stone.
 * Everything is readable without the script; .dk-live and .bk-live add the motion.
 */

/* =============== 1. hero: scroll through the product deck =============== */
.dk { --bg: #0b2e22; --ink: #fff; --soft: rgba(255, 255, 255, .7); --accent: #c9d673; --line: rgba(255, 255, 255, .24); position: relative; overflow: hidden; overflow: clip; isolation: isolate; background: var(--bg); color: var(--ink); transition: background-color .9s var(--g-ease), color .6s; }
.dk[data-tone="1"] { --bg: #f1f2ea; --ink: #0b2e22; --soft: #52665c; --accent: #0e664d; --line: rgba(11, 46, 34, .22); }
.dk[data-tone="2"] { --bg: #0f4a37; }
.dk[data-tone="3"] { --bg: #f1f2ea; --ink: #0b2e22; --soft: #52665c; --accent: #0e664d; --line: rgba(11, 46, 34, .22); }
.dk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dk-foot { display: none; }

/* without the script: the products simply follow one another */
.dk-scene { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 44px 0; }
.dk-art { display: grid; place-items: center; perspective: 1400px; }

/* the faint leaf takes its colour from the text, so it suits light and dark screens */
.dk-leaf { position: absolute; z-index: 0; top: -40px; left: 36%; width: auto; height: min(104vh, 1000px); fill: var(--ink); opacity: .06; rotate: 14deg; pointer-events: none; transition: fill .6s; }
.dk-leaf__rib { fill: none; stroke: var(--bg); stroke-width: 9; stroke-linecap: round; transition: stroke .9s var(--g-ease); }
.dk-scene { position: relative; }

/* ---- a product card, in soft UI: every shape is pressed from, or sunk into, its own colour ---- */
.dk-card { --cw: 340px; --card: #0f4a37; --on: #fff; --accent-on: #d7e39a; --hi: rgba(255, 255, 255, .11); --lo: rgba(0, 0, 0, .34); position: relative; display: flex; flex-direction: column; align-items: center; width: var(--cw); max-width: 100%; aspect-ratio: 10 / 13.4; padding: calc(var(--cw) * .075); overflow: hidden; border-radius: calc(var(--cw) * .1); background: var(--card); color: var(--on); box-shadow: 0 44px 64px -34px rgba(0, 0, 0, .5), inset 1px 1px 0 var(--hi), inset -1px -1px 0 var(--lo); font-size: calc(var(--cw) * .04); text-align: left; }
.dk-card::after { content: ''; position: absolute; inset: -30%; background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .07) 50%, transparent 58%); transform: translateX(var(--glare, -55%)); pointer-events: none; }
.dk-card--fixed { --card: #eef1e8; --on: #0b2e22; --accent-on: #0e664d; --hi: #fff; --lo: rgba(52, 78, 58, .22); }
.dk-card--save { --card: #0e664d; --hi: rgba(255, 255, 255, .13); --lo: rgba(0, 0, 0, .3); }
.dk-card--loan { --card: #a6b646; --on: #0b2e22; --accent-on: #0b2e22; --hi: rgba(255, 255, 255, .34); --lo: rgba(52, 62, 8, .34); }
.dk-card--flow { --card: #122a20; --accent-on: #a6b646; --hi: rgba(255, 255, 255, .075); --lo: rgba(0, 0, 0, .52); }
.dk-card--months { --card: #10573f; --hi: rgba(255, 255, 255, .12); --lo: rgba(0, 0, 0, .34); }

/* the product's name, in a small raised pill */
.g-page .dk-card__name { align-self: flex-start; max-width: 100%; padding: .85em 1.25em; border-radius: 99px; background: var(--card); box-shadow: -.3em -.3em .75em var(--hi), .4em .45em .95em var(--lo); font: 700 max(10px, .78em)/1.2 var(--g-body); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--on); }

/* a raised dial, a sunken ring, and the icon resting in the middle */
.dk-card__dial { display: grid; flex: 1; place-items: center; width: 100%; min-height: 0; }
.dk-card__dial > span { display: grid; place-items: center; width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--card); box-shadow: -.75em -.75em 1.8em var(--hi), 1em 1.1em 2.2em var(--lo); }
.dk-card__dial > span > span { display: grid; place-items: center; width: 70%; aspect-ratio: 1; border-radius: 50%; box-shadow: inset .5em .55em 1.1em var(--lo), inset -.45em -.45em 1em var(--hi); }
.dk-card__dial .g-ico { font-size: 3.6em; stroke-width: 1.2; color: var(--accent-on); }
.dk-live .dk-scene.is-on .dk-card__dial > span { animation: dk-soft 4.5s ease-in-out infinite; }

/* the figure sits in a panel pressed into the card */
.g-page .dk-card__stat { align-self: stretch; padding: 1em 1.3em 1.1em; border-radius: 1.5em; box-shadow: inset .35em .4em .85em var(--lo), inset -.3em -.3em .75em var(--hi); text-align: center; }
.dk-card__stat small { display: block; font-size: max(10.5px, .85em); opacity: .82; }
.dk-card__stat b { display: block; margin-top: .1em; font: 700 1.75em/1.2 var(--g-display); letter-spacing: -.03em; }
.g-page .dk-copy h2 { font-size: clamp(34px, min(5.4vw, 9.4vh), 80px); font-weight: 800; line-height: 1.04; letter-spacing: -.045em; color: var(--ink); }
.g-page .dk-text { max-width: 420px; margin-top: 18px; font-size: clamp(15px, 1.35vw, 17.5px); color: var(--soft); }
.dk-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.g-page a.dk-btn { border-color: var(--line); background: transparent; color: var(--ink); }
.g-page a.dk-btn:hover { background: var(--ink); color: var(--bg); }
.g-page a.dk-btn--main { border-color: #a6b646; background: #a6b646; color: #0b2e22; }
.g-page a.dk-btn--main:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }

/* ---- pinned: the screen holds while scrolling deals the cards ---- */
.dk-live { height: calc(var(--n) * 78vh + 22vh); }
.dk-live .dk-pin { position: sticky; top: var(--g-head); display: flex; flex-direction: column; height: calc(100vh - var(--g-head)); height: calc(100svh - var(--g-head)); overflow: hidden; }
.dk-live .dk-stage { position: relative; z-index: 2; flex: 1; min-height: 0; }
.dk-live .dk-scenes { position: relative; height: 100%; }
.dk-live .dk-scene { position: absolute; inset: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; pointer-events: none; }
/* every card shares one spot, so they can sit on each other as a deck */
.dk-live .dk-art { grid-column: 2; grid-row: 1; height: 100%; }
.dk-live .dk-copy { position: relative; z-index: 30; grid-column: 1; grid-row: 1; }
.dk-live .dk-card { --cw: min(380px, calc((100svh - var(--g-head) - 150px) * .72), 40vw); will-change: transform, opacity; }
.dk-live .dk-scene.is-on { pointer-events: auto; }
.dk-live .dk-copy > * { opacity: 0; transform: translateY(40px); transition: opacity .3s, transform .5s var(--g-ease); }
.dk-live .dk-scene.is-on .dk-copy > * { opacity: 1; transform: none; transition: opacity .6s, transform .9s var(--g-ease); transition-delay: .08s; }
.dk-live .dk-scene.is-on .dk-copy > :nth-child(2) { transition-delay: .14s; }
.dk-live .dk-scene.is-on .dk-copy > :nth-child(3) { transition-delay: .2s; }
.dk-live .dk-scene.is-on .dk-copy > :nth-child(4) { transition-delay: .26s; }


.dk-live .dk-foot { position: relative; z-index: 3; display: flex; align-items: center; gap: 18px; padding-bottom: clamp(12px, 2.6vh, 26px); }
.g-page .dk-count { font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--soft); white-space: nowrap; }
.dk-count b { font-size: 15px; color: var(--ink); }
.dk-rail { display: flex; flex: 0 1 300px; gap: 6px; }
.dk-rail button { flex: 1; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.dk-rail i { position: relative; display: block; height: 3px; overflow: hidden; border-radius: 3px; background: var(--line); }
.dk-rail i::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform: scaleX(var(--f, 0)); transform-origin: left; }
.g-page .dk-cue { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); transition: opacity .4s; }
.dk-cue .g-ico { font-size: 18px; animation: dk-nudge 1.8s ease-in-out infinite; }
.dk.has-moved .dk-cue { opacity: 0; }
.g-page a.dk-all { min-height: 42px; padding: 0 18px; font-size: 13px; }

/* the deal as the page opens, and life inside the card that is showing */
.dk-live .dk-card { animation: dk-deal 1.3s var(--g-ease) backwards; animation-delay: calc(.15s + (var(--n) - var(--i)) * .09s); }
@media (max-width: 899px) {
    .dk-leaf { top: -20px; left: 30%; height: 76vh; opacity: .045; }
    .dk-scene { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 32px 0; text-align: center; }
    .dk-card { --cw: min(290px, 74vw); }
    .g-page .dk-copy h2 { font-size: clamp(27px, 7.8vw, 40px); line-height: 1.12; letter-spacing: -.035em; }
    /* the headline says enough on a small screen */
    .g-page .dk-text { display: none; }
    .dk-actions { justify-content: center; flex-wrap: nowrap; gap: 8px; margin-top: 20px; }
    .dk-actions .g-btn { min-height: 48px; padding: 0 16px; font-size: 13.5px; }

    .dk-live .dk-scene { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 16px; padding: 34px 0 46px; }
    .dk-live .dk-art { grid-column: 1; grid-row: 1; height: auto; min-height: 0; align-content: center; }
    .dk-live .dk-copy { grid-column: 1; grid-row: 2; }
    /* the card takes whatever height the words leave */
    .dk-live .dk-card { --cw: min(340px, 78vw, calc((100svh - var(--g-head) - 262px) * .746)); }
    /* only the progress line at the top and a small arrow at the foot */
    .dk-live .dk-foot { position: absolute; inset: 0; width: auto; margin: 0; padding: 0; pointer-events: none; }
    .dk-live .dk-count, .dk-live a.dk-all { display: none; }
    .dk-rail { position: absolute; top: 4px; left: 50%; width: 150px; translate: -50% 0; gap: 5px; pointer-events: auto; }
    .g-page .dk-live .dk-cue { position: absolute; bottom: 12px; left: 50%; margin: 0; translate: -50% 0; font-size: 0; }
    .g-page .dk-cue .g-ico { font-size: 22px; }
}
/* =============== 2. app, card and POS =============== */
.bk-hero { scroll-margin-top: var(--g-head); position: relative; display: flex; align-items: center; min-height: calc(100vh - var(--g-head)); min-height: calc(100svh - var(--g-head)); padding: clamp(20px, 3vh, 36px) 0; overflow: hidden; overflow: clip; background: #f3f3ee; }
.bk-hero > .g-wrap { position: relative; }
.g-page .bk-title { margin-bottom: clamp(14px, 2.4vh, 26px); font-size: clamp(24px, min(3.4vw, 5vh), 44px); line-height: 1.15; text-align: center; }
.g-page .bk-title em { font-style: normal; color: var(--g-green); }

.bk { max-width: 1040px; margin-inline: auto; }
.bk-page { min-width: 0; overflow: hidden; }
.bk-page--art { position: relative; }
.bk-art--app { background: radial-gradient(circle at 50% 108%, rgba(166, 182, 70, .38), transparent 55%), #0f3b2d; }
.bk-art--card { background: radial-gradient(circle at 18% 14%, rgba(255, 255, 255, .14), transparent 46%), linear-gradient(150deg, #0f6b50, #0f3b2d); }
.bk-art--pos { background: radial-gradient(circle at 50% 42%, #1d6b50, #0f3b2d 68%); }
.bk-phone { position: absolute; left: 50%; top: 7%; width: min(238px, 62%); translate: -50% 0; }

.bk-page--text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(14px, 2.6vh, 44px) clamp(20px, 3.6vw, 54px); background: #fff; }
.g-page .bk-eyebrow { margin-bottom: 10px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--g-green); }
.g-page .bk-page--text h2 { font-size: clamp(24px, min(3.1vw, 5.2vh), 40px); line-height: 1.14; }
.g-page .bk-lead { margin-top: 10px; font-size: 15px; color: var(--g-muted); }
.g-page .bk-label { margin-top: clamp(10px, 2vh, 20px); font-size: 12.5px; font-weight: 600; color: var(--g-deep); }
.g-page .bk-need { margin-top: 8px; }
.g-page .bk-lead + .bk-need { margin-top: clamp(12px, 2.2vh, 22px); }
.bk-need li { position: relative; padding: 3px 0 3px 24px; font-size: 14px; line-height: 1.45; color: #33473e; }
/* a thin tick, nothing more */
.bk-need li::before { content: ''; position: absolute; left: 1px; top: 7px; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e664d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 12.5 5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.bk-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(14px, 2.6vh, 26px); }
.bk-actions .g-btn { min-height: 46px; padding: 0 16px; font-size: 13.5px; }
/* three buttons: the main one leads, the other two share the next line */
.bk-actions > :first-child:nth-last-child(3) { flex: 0 0 100%; max-width: 348px; }
.bk-actions > :first-child:nth-last-child(3) ~ * { flex: 0 0 170px; }
.g-page a.bk-store { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 1px solid rgba(18, 58, 44, .16); border-radius: 12px; color: var(--g-deep); text-decoration: none; transition: border-color .25s, transform .25s var(--g-ease); }
.g-page a.bk-store:hover { border-color: var(--g-deep); transform: translateY(-1px); }
.bk-store i { font-size: 18px; }
.bk-store span { font-size: 13.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.bk-store small { display: block; font-size: 10px; font-weight: 500; color: var(--g-muted); }
.bk-controls { display: none; }
.bk-anchor { position: absolute; }

/* without the script: the three follow one another */
.bk-spread { display: grid; grid-template-columns: 1fr 1fr; min-height: 470px; margin-bottom: 16px; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: var(--g-shadow); }

/* ---- wide screens: pages that turn ---- */
.bk-live .bk-book { position: relative; display: grid; grid-template-rows: minmax(0, 1fr); height: clamp(448px, calc(100vh - var(--g-head) - 150px), 560px); height: clamp(448px, calc(100svh - var(--g-head) - 150px), 560px); perspective: 2400px; }
.bk-live .bk-book::before { content: ''; position: absolute; inset: 0; border-radius: 20px; background: #fff; box-shadow: 0 40px 60px -36px rgba(10, 46, 34, .45); }
/* a soft fold down the middle */
.bk-live .bk-book::after { content: ''; position: absolute; z-index: 6; top: 0; bottom: 0; left: 50%; width: 60px; translate: -50% 0; background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .03) 35%, rgba(0, 0, 0, .14) 50%, rgba(255, 255, 255, .1) 53%, transparent); pointer-events: none; }
.bk-live .bk-spread { grid-area: 1 / 1; position: relative; min-height: 0; height: 100%; margin: 0; box-shadow: none; visibility: hidden; }
.bk-live .bk-spread.is-on { visibility: visible; z-index: 1; }
.bk-live .bk-spread.is-under { visibility: visible; z-index: 2; }

/* a page in flight */
.bk-leaf { position: absolute; z-index: 8; top: 0; bottom: 0; width: 50%; transform-style: preserve-3d; will-change: transform; }
.bk-face { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr); overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; background: #fff; }
.bk-face--back { transform: rotateY(180deg); }
.bk-face > * { height: 100%; }
.bk-face::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .03) 45%, rgba(255, 255, 255, .14)); opacity: 0; animation: bk-shade var(--turn, 1.15s) ease-in-out; pointer-events: none; }
.bk-leaf .hp-in, .bk-leaf .hp-type { opacity: 1 !important; animation: none !important; }
.bk-leaf .hp-cur { display: none; }

.bk-live .bk-controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: clamp(14px, 2.4vh, 24px); }
.bk-tabs { display: flex; gap: 4px; }
.bk-tabs button { position: relative; min-height: 42px; padding: 0 16px; overflow: hidden; border: 0; border-radius: 10px; background: transparent; font: 600 13.5px var(--g-body); color: var(--g-muted); white-space: nowrap; cursor: pointer; transition: color .3s; }
.bk-tabs button[aria-current="true"] { color: var(--g-deep); }
/* an underline marks the page, and fills while it waits to turn */
.bk-tabs i { position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--g-green); transform: scaleX(0); transform-origin: left; }
.bk-tabs button[aria-current="true"] i { transform: scaleX(1); }
.bk-live.is-playing .bk-tabs button[aria-current="true"] i { animation: bk-timer var(--dwell, 7s) linear forwards; }
.bk-arrow { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(18, 58, 44, .14); border-radius: 10px; background: transparent; font-size: 17px; color: var(--g-deep); cursor: pointer; transition: border-color .25s; }
.bk-arrow:hover { border-color: var(--g-deep); }
.bk-arrow--prev .g-ico { rotate: 180deg; }

/* ---- phones: three clean cards to swipe ---- */
@media (max-width: 819px) {
    .bk-hero { display: block; min-height: 0; padding: 22px 0 14px; }
    .g-page .bk-title { margin-bottom: 12px; font-size: clamp(22px, 6.4vw, 32px); }
    .bk-spread { grid-template-columns: minmax(0, 1fr); grid-template-rows: 200px auto; min-height: 0; }
    .bk-phone { top: 18px; width: 150px; }
    .bk-page--text { justify-content: flex-start; padding: 14px 16px 16px; }
    .g-page .bk-eyebrow { margin-bottom: 4px; font-size: 10px; }
    .g-page .bk-page--text h2 { font-size: clamp(21px, 6vw, 26px); }
    .g-page .bk-lead { margin-top: 6px; font-size: 13.5px; }
    .g-page .bk-label { margin-top: 8px; }
    .g-page .bk-need, .g-page .bk-lead + .bk-need { margin-top: 5px; }
    .bk-need li { padding: 2px 0 2px 20px; font-size: 12.5px; line-height: 1.4; }
    .bk-need li::before { top: 5px; width: 11px; height: 11px; }
    /* two buttons side by side; with three, the main one takes the full width */
    .bk-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-top: auto; padding-top: 12px; }
    .bk-actions > :first-child:nth-last-child(3) { grid-column: 1 / -1; max-width: none; }
    .bk-actions .g-btn { min-height: 44px; padding: 0 8px; gap: 7px; font-size: 13px; }
    .g-page a.bk-store { justify-content: center; padding: 0 8px; gap: 8px; }
    .bk-store span { font-size: 13px; }

    .bk-swipe .bk-book { display: flex; gap: 12px; margin-inline: -20px; padding: 2px 20px 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
    .bk-swipe .bk-book::-webkit-scrollbar { display: none; }
    /* the edge of the next card shows there is more to swipe to */
    .bk-swipe .bk-spread { display: flex; flex: 0 0 min(88%, 400px); flex-direction: column; margin: 0; scroll-snap-align: center; box-shadow: 0 18px 30px -22px rgba(10, 46, 34, .45); }
    .bk-swipe .bk-page--art { flex: 1 0 clamp(120px, 20svh, 210px); }
    .bk-swipe .bk-page--text { flex: 0 0 auto; }
    .bk-swipe .bk-actions { margin-top: 0; }
    .bk-swipe .bk-controls { display: flex; justify-content: center; }
    .bk-swipe .bk-arrow { display: none; }
    .bk-swipe .bk-tabs { gap: 2px; }
    .bk-swipe .bk-tabs button { min-height: 28px; padding: 0 4px; font-size: 0; }
    .bk-swipe .bk-tabs i { position: static; display: block; width: 7px; height: 7px; border-radius: 7px; background: rgba(18, 58, 44, .22); transform: none; transition: width .35s var(--g-ease), background-color .3s; }
    .bk-swipe .bk-tabs button[aria-current="true"] i { width: 22px; background: var(--g-green); }
}

@media (max-width: 819px) and (max-height: 700px) {
    .bk-hero { padding: 12px 0 6px; }
    .g-page .bk-title { margin-bottom: 8px; font-size: 21px; }
    .bk-swipe .bk-page--art { flex-basis: 108px; }
    .bk-phone { width: 128px; }
    .g-page .bk-lead { display: none; }
    .bk-swipe .bk-book { padding-bottom: 8px; }
}

@media (max-width: 380px) {
    .bk-actions .g-btn { padding: 0 4px; gap: 5px; font-size: 12px; }
    .bk-actions .g-btn .g-ico { font-size: 16px; }
}

/* =============== 3. customers =============== */
.vo { padding: clamp(70px, 12vh, 130px) 0 48px; background: #fff; text-align: center; }
.vo [data-voices] { display: flex; flex-direction: column; align-items: center; }
.vo figure { display: flex; flex-direction: column; justify-content: center; max-width: 860px; min-height: 190px; animation: bk-quote .9s var(--g-ease); }
.g-page .vo blockquote { font-family: var(--g-display); font-size: clamp(21px, 2.7vw, 34px); line-height: 1.4; color: var(--g-deep); }
.g-page .vo figcaption { margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--g-muted); }
.vo-more { margin-top: 20px; }
.g-page .vo-safe { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; max-width: 860px; margin: 54px auto 0; padding: 16px 22px; border-top: 2px solid var(--g-leaf); background: #f5f6f1; font-size: 13px; color: var(--g-deep); text-align: left; }
.vo-safe > .g-ico { font-size: 24px; color: var(--g-green); }
.vo-safe > span { flex: 1 1 240px; }

.g-motion [data-reveal] { opacity: 0; transform: translateY(54px); transition: opacity 1s var(--g-ease), transform 1.2s var(--g-ease); }
.g-motion [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes dk-deal { from { opacity: 0; translate: 40vw 30%; rotate: 38deg; scale: .6; } }
@keyframes dk-soft { 50% { transform: scale(1.045); } }
@keyframes dk-nudge { 50% { transform: translateY(5px); } }
@keyframes bk-shade { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes bk-timer { to { transform: scaleX(1); } }
@keyframes bk-quote { from { opacity: 0; transform: translateY(18px); } }

/* =============== hero tabs: Personal | Business =============== */
.dk-tabs { position: relative; z-index: 40; display: inline-grid; grid-template-columns: 1fr 1fr; margin: 22px 0 0; padding: 4px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); }
.dk-tabs button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 132px; min-height: 42px; padding: 0 20px; border: 0; border-radius: 99px; background: transparent; font: 600 14px/1 var(--g-body); color: var(--soft); cursor: pointer; transition: color .3s; }
.dk-tabs button .g-ico { font-size: 17px; }
.dk-tabs button[aria-selected="true"] { color: #0b2e22; }
.dk-tabs button:not([aria-selected="true"]):hover { color: var(--ink); }
.dk-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dk-tabs__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: #a6b646; transition: transform .45s var(--g-ease); }
.dk-tabs[data-on="business"] .dk-tabs__pill { transform: translateX(100%); }
.dk-live .dk-tabs { position: absolute; top: clamp(14px, 3vh, 30px); left: 0; margin: 0; }
.dk-live .dk-scene { padding-top: clamp(56px, 9vh, 90px); }
@media (max-width: 899px) {
    .dk-tabs { display: grid; width: min(320px, 100%); margin: 20px auto 0; }
    .dk-tabs button { min-width: 0; padding: 0 12px; font-size: 13.5px; }
    .dk-live .dk-tabs { top: 26px; left: 50%; width: min(300px, calc(100% - 24px)); translate: -50% 0; margin: 0; }
    .dk-live .dk-scene { padding: 86px 0 46px; }
    .dk-live .dk-card { --cw: min(340px, 78vw, calc((100svh - var(--g-head) - 300px) * .746)); }
}

/* =============== hero on phones: a swipe carousel, no scroll-jacking =============== */
@media (max-width: 899px) {
    .dk-swipe .dk-pin { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - var(--g-head)); min-height: calc(100svh - var(--g-head)); padding: 18px 0 6px; }
    .dk-swipe .dk-tabs { display: grid; width: min(300px, 100%); margin: 0 auto 4px; }
    .dk-swipe .dk-scenes { display: flex; margin-inline: -20px; padding-inline: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .dk-swipe .dk-scenes::-webkit-scrollbar { display: none; }
    .dk-swipe .dk-scene { flex: 0 0 100%; min-width: 0; padding: 22px 20px 14px; scroll-snap-align: center; scroll-snap-stop: always; }
    .dk-swipe .dk-card { --cw: min(280px, 72vw, calc((100svh - var(--g-head) - 330px) * .746)); animation: none; }
    .dk-swipe .dk-actions { margin-top: 16px; }
    .dk-swipe .dk-foot { position: static; display: flex; justify-content: center; padding: 6px 20px 16px; }
    .dk-swipe .dk-count, .dk-swipe .dk-cue, .dk-swipe a.dk-all { display: none; }
    .dk-swipe .dk-rail { position: static; flex: 0 1 190px; width: auto; translate: none; }
    .dk-swipe .dk-leaf { opacity: .05; }
}
