/* ==========================================================================
   Allora website — shared design system
   Used by content/index.html and every product page (membership-cards,
   tickets, vouchers, subscriptions, send, …). Markup lives in content/fragments/allora.html.

   Contents
   01 Tokens & themes          08 Product tiles (home)
   02 Base                     09 Steps
   03 Layout & typography      10 Feature bento
   04 Buttons                  11 Business band, FAQ, contact
   05 Header & navigation      12 Download CTA & footer
   06 Hero                     13 Product page components
   07 Device & passes          14 Support widgets (WhatsApp, chatbot)
                               15 Motion & responsive
   ========================================================================== */

/* 01 Tokens & themes ------------------------------------------------------ */
:root {
    --brand: #F94D00;
    --brand-strong: #D94200;   /* white text on this passes WCAG AA */
    --brand-light: #FF7A3D;
    --brand-grad: linear-gradient(100deg, #FF8A4C 0%, #F94D00 45%, #E03E00 100%);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;

    --header-h: 64px;
    --container: 1200px;
    --gutter: clamp(20px, 5vw, 40px);
    --section-y: clamp(72px, 10vw, 136px);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* Light theme */
    --bg: #FFFFFF;
    --bg-alt: #F5F5F7;
    --surface: #FFFFFF;
    --surface-2: #F2F2F5;
    --text: #0B0B10;
    --text-2: #45454E;
    --text-3: #696973;
    --line: rgba(11, 11, 16, .08);
    --line-strong: rgba(11, 11, 16, .16);
    --accent-text: #C23C00;
    --header-bg: rgba(255, 255, 255, .78);
    --chip-bg: rgba(11, 11, 16, .055);
    --glow: rgba(249, 77, 0, .16);
    --band: #0A0A0F;
    --shadow-sm: 0 1px 2px rgba(11, 11, 16, .05), 0 4px 12px rgba(11, 11, 16, .04);
    --shadow-md: 0 2px 8px rgba(11, 11, 16, .05), 0 18px 44px rgba(11, 11, 16, .08);
    --shadow-lg: 0 40px 90px -30px rgba(11, 11, 16, .38);
    --sun: none;
    --moon: block;
    color-scheme: light;
}

/* Dark tokens. `.on-dark` forces a dark island inside a light page. */
.on-dark,
:root[data-theme="dark"] {
    --bg: #0A0A0F;
    --bg-alt: #101017;
    --surface: #15151D;
    --surface-2: #1C1C26;
    --text: #F5F5F7;
    --text-2: #B6B6C0;
    --text-3: #8E8E99;
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .16);
    --accent-text: #FF7A3D;
    --header-bg: rgba(10, 10, 15, .74);
    --chip-bg: rgba(255, 255, 255, .08);
    --glow: rgba(249, 77, 0, .22);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 18px 44px rgba(0, 0, 0, .45);
    --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, .85);
    --sun: block;
    --moon: none;
    color-scheme: dark;
}
:root[data-theme="dark"] { --band: #121219; }

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0A0A0F;
        --bg-alt: #101017;
        --surface: #15151D;
        --surface-2: #1C1C26;
        --text: #F5F5F7;
        --text-2: #B6B6C0;
        --text-3: #8E8E99;
        --line: rgba(255, 255, 255, .08);
        --line-strong: rgba(255, 255, 255, .16);
        --accent-text: #FF7A3D;
        --header-bg: rgba(10, 10, 15, .74);
        --chip-bg: rgba(255, 255, 255, .08);
        --glow: rgba(249, 77, 0, .22);
        --band: #121219;
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
        --shadow-md: 0 18px 44px rgba(0, 0, 0, .45);
        --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, .85);
        --sun: block;
        --moon: none;
        color-scheme: dark;
    }
}

/* Per-product accents. Add a block here for each new product. */
[data-product] { --p: var(--brand); --p-strong: var(--brand-strong); --p-text: var(--accent-text); --p-soft: rgba(249, 77, 0, .1); --p-grad: var(--brand-grad); }
[data-product="tickets"] { --p: #6A5AF9; --p-strong: #4F3FE0; --p-text: #4B3BD6; --p-soft: rgba(106, 90, 249, .12); --p-grad: linear-gradient(100deg, #A48BFF 0%, #6A5AF9 50%, #4F3FE0 100%); }
[data-product="subscriptions"] { --p: #0284C7; --p-strong: #0369A1; --p-text: #0369A1; --p-soft: rgba(14, 165, 233, .12); --p-grad: linear-gradient(100deg, #7DD3FC 0%, #0EA5E9 50%, #0369A1 100%); }
[data-product="send"] { --p: #D97706; --p-strong: #B45309; --p-text: #B45309; --p-soft: rgba(245, 158, 11, .14); --p-grad: linear-gradient(100deg, #F59E0B 0%, #D97706 50%, #B45309 100%); }
[data-product="vouchers"] { --p: #0FA36F; --p-strong: #0B7F56; --p-text: #08744C; --p-soft: rgba(15, 163, 111, .12); --p-grad: linear-gradient(100deg, #43D9A0 0%, #0FA36F 50%, #0B7F56 100%); }
:root[data-theme="dark"] [data-product="tickets"], .on-dark [data-product="tickets"], .on-dark[data-product="tickets"] { --p-text: #AFA3FF; --p-grad: linear-gradient(100deg, #D2C7FF 0%, #A495FF 50%, #7F6CFF 100%); }
:root[data-theme="dark"] [data-product="vouchers"], .on-dark [data-product="vouchers"], .on-dark[data-product="vouchers"] { --p-text: #4ED8A6; --p-grad: linear-gradient(100deg, #8CF0C8 0%, #45D7A2 50%, #18B47E 100%); }
:root[data-theme="dark"] [data-product="subscriptions"], .on-dark [data-product="subscriptions"], .on-dark[data-product="subscriptions"] { --p-text: #5CCBFA; --p-grad: linear-gradient(100deg, #BAE6FD 0%, #5CCBFA 50%, #0EA5E9 100%); }
:root[data-theme="dark"] [data-product="send"], .on-dark [data-product="send"], .on-dark[data-product="send"] { --p-text: #FBBF24; --p-grad: linear-gradient(100deg, #FDE68A 0%, #FBBF24 50%, #F59E0B 100%); }
/* A product page's accent text must be re-resolved inside dark bands. */
[data-product] .on-dark { --p-text: var(--accent-text); }
[data-product="tickets"] .on-dark { --p-text: #AFA3FF; }
[data-product="vouchers"] .on-dark { --p-text: #4ED8A6; }
[data-product="subscriptions"] .on-dark { --p-text: #5CCBFA; }
[data-product="send"] .on-dark { --p-text: #FBBF24; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) [data-product="tickets"] { --p-text: #AFA3FF; --p-grad: linear-gradient(100deg, #D2C7FF 0%, #A495FF 50%, #7F6CFF 100%); }
    :root:not([data-theme="light"]) [data-product="vouchers"] { --p-text: #4ED8A6; --p-grad: linear-gradient(100deg, #8CF0C8 0%, #45D7A2 50%, #18B47E 100%); }
    :root:not([data-theme="light"]) [data-product="subscriptions"] { --p-text: #5CCBFA; --p-grad: linear-gradient(100deg, #BAE6FD 0%, #5CCBFA 50%, #0EA5E9 100%); }
    :root:not([data-theme="light"]) [data-product="send"] { --p-text: #FBBF24; --p-grad: linear-gradient(100deg, #FDE68A 0%, #FBBF24 50%, #F59E0B 100%); }
}

/* 02 Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(249, 77, 0, .22); }
[hidden] { display: none !important; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
    position: absolute; left: 16px; top: -100px; z-index: 1000;
    padding: 10px 16px; border-radius: 10px;
    background: var(--text); color: var(--bg); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* 03 Layout & typography -------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.on-dark { background: var(--band); color: var(--text); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 600; letter-spacing: .01em;
    color: var(--p-text, var(--accent-text));
}
.eyebrow .icon { width: 18px; height: 18px; }
.pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 8px; border-radius: 999px;
    background: var(--chip-bg); border: 1px solid var(--line);
    font-size: 13px; font-weight: 600; color: var(--text-2);
}
.pill__dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; }
.pill__dot .icon { width: 13px; height: 13px; stroke-width: 2.4; }

.display {
    font-size: clamp(2.6rem, 6.6vw, 5.1rem);
    line-height: 1.02;
    letter-spacing: -.04em;
    font-weight: 800;
}
.h2 {
    font-size: clamp(2rem, 4.6vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: -.035em;
    font-weight: 800;
}
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--text-2); letter-spacing: -.01em; }
.muted { color: var(--text-2); }
.text-gradient {
    background: var(--p-grad, var(--brand-grad));
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head .lead { margin-top: 18px; }
.section-head--left { margin-inline: 0; text-align: left; }

/* 04 Buttons -------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px; border-radius: 999px;
    font-size: 16px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
    border: 1px solid transparent;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--brand-strong); color: #fff; box-shadow: 0 8px 24px -10px rgba(249, 77, 0, .7); }
.btn--primary:hover { background: #C53C00; }
.btn--secondary { background: var(--chip-bg); color: var(--text); border-color: var(--line); }
.btn--secondary:hover { background: var(--line-strong); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--p-text, var(--accent-text)); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon { transform: translateX(3px); }

.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
    display: inline-flex; align-items: center; gap: 10px;
    height: 56px; padding: 0 20px 0 16px; border-radius: 14px;
    background: #000; color: #fff;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: var(--shadow-sm);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-btn .icon { width: 26px; height: 26px; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.store-btn__text small { font-size: 11px; font-weight: 500; opacity: .82; }
.store-btn__text strong { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }

.icon-btn {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-grid; place-items: center;
    background: transparent; border: 1px solid transparent; color: var(--text);
    transition: background-color .2s var(--ease);
}
.icon-btn:hover { background: var(--chip-bg); }
.icon-btn .icon { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: var(--sun); }
.theme-toggle .i-moon { display: var(--moon); }

/* 05 Header & navigation -------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--header-bg);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.brand__mark {
    width: 32px; height: 32px; border-radius: 9px;
    display: grid; place-items: center;
    background: linear-gradient(145deg, #FF7A3D, #F94D00 55%, #DC4000);
    color: #fff; font-size: 17px; font-weight: 800;
    box-shadow: 0 6px 16px -6px rgba(249, 77, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.site-nav { margin-inline: auto; }
.site-nav__list { display: flex; gap: 4px; padding: 4px; border-radius: 999px; list-style: none; margin: 0; }
.site-nav__link {
    display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
    border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--text-2);
    transition: color .2s var(--ease), background-color .2s var(--ease);
}
.site-nav__link:hover { color: var(--text); background: var(--chip-bg); }
.site-nav__link[aria-current="page"] { color: var(--text); background: var(--chip-bg); font-weight: 600; }

.site-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.site-nav + .site-header__actions { margin-left: 0; }
.menu-toggle { display: none; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.menu-toggle[aria-expanded="true"] .i-menu { display: none; }

.mobile-menu {
    position: absolute; inset: var(--header-h) 0 auto 0;
    height: calc(100dvh - var(--header-h));
    overflow-y: auto; overscroll-behavior: contain;
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding: 20px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    animation: menu-in .22s var(--ease);
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
.mobile-menu__label { font-size: 13px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin: 8px 4px 10px; }
.mobile-menu__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; }
.mobile-menu__link {
    display: flex; align-items: center; gap: 14px;
    padding: 12px; border-radius: 16px; min-height: 60px;
    transition: background-color .2s var(--ease);
}
.mobile-menu__link:hover, .mobile-menu__link[aria-current="page"] { background: var(--chip-bg); }
.mobile-menu__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--p-soft); color: var(--p); flex: none; }
.mobile-menu__icon .icon { width: 20px; height: 20px; }
.mobile-menu__link strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.mobile-menu__link span span { display: block; font-size: 13.5px; color: var(--text-3); }
.mobile-menu__secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 24px; }
.mobile-menu__secondary a { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; background: var(--chip-bg); font-size: 14.5px; font-weight: 500; min-height: 48px; }
.mobile-menu__secondary .icon { width: 18px; height: 18px; color: var(--text-3); }
body.menu-open { overflow: hidden; }

.status-badge {
    display: none; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
    background: #E5484D; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.status-badge.active { display: inline-block; }

/* 06 Hero ----------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 104px) 0 clamp(72px, 9vw, 128px); isolation: isolate; }
.hero::before {
    content: ""; position: absolute; inset: -10% -20% auto -20%; height: 120%; z-index: -1; pointer-events: none;
    background:
        radial-gradient(42% 46% at 72% 42%, var(--glow), transparent 70%),
        radial-gradient(30% 30% at 12% 8%, rgba(249, 77, 0, .07), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(32px, 6vw, 80px); }
.hero__copy .pill { margin-bottom: 28px; }
.hero__copy .lead { margin-top: 24px; max-width: 540px; }
.hero__copy .store-buttons { margin-top: 36px; }
.hero__explore { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero__explore-label { font-size: 14px; color: var(--text-3); font-weight: 500; margin-right: 4px; }
.product-chip {
    display: inline-flex; align-items: center; gap: 8px;
    height: 38px; padding: 0 14px 0 10px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    font-size: 14px; font-weight: 600;
    transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.product-chip:hover { border-color: var(--p); transform: translateY(-1px); }
.product-chip .icon { width: 18px; height: 18px; color: var(--p); }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.hero__visual::before {
    content: ""; position: absolute; width: 440px; height: 440px; max-width: 100%; border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 77, 0, .28), transparent 65%);
    filter: blur(20px); z-index: -1;
}
.float-chip {
    position: absolute; z-index: 2;
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px 10px 10px; border-radius: 16px;
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid var(--line); box-shadow: var(--shadow-md);
    font-size: 13px; line-height: 1.25;
}
.float-chip strong { display: block; font-size: 14px; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.float-chip span { color: var(--text-3); }
.float-chip__icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--p-soft, rgba(249, 77, 0, .1)); color: var(--p, var(--brand)); flex: none; }
.float-chip__icon .icon { width: 19px; height: 19px; }
/* Chips hug the device edge (device is centred in the column), covering only its bezel. */
.float-chip--tl { top: 30%; right: calc(50% + 132px); width: max-content; }
.float-chip--br { bottom: 14%; left: calc(50% + 132px); width: max-content; }

/* 07 Device & passes ------------------------------------------------------ */
.device {
    --w: 300px;
    position: relative;
    width: var(--w);
    aspect-ratio: 300 / 616;
    font-size: calc(var(--w) / 18.75);   /* 16px at 300px wide */
    padding: .7em;
    border-radius: 3.3em;
    background: linear-gradient(150deg, #34343E 0%, #0C0C11 38%, #1B1B23 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .08),
        inset 0 0 0 .2em #050507,
        var(--shadow-lg),
        0 50px 120px -50px rgba(249, 77, 0, .45);
}
.device__screen {
    position: relative; height: 100%; overflow: hidden;
    border-radius: 2.65em;
    background: #0E0E14; color: #F5F5F7;
    display: flex; flex-direction: column;
    padding: 0 .9em;
}
.device__island { position: absolute; top: .7em; left: 50%; width: 5.6em; height: 1.6em; margin-left: -2.8em; border-radius: 1em; background: #000; z-index: 3; }
.app-status { display: flex; justify-content: space-between; align-items: center; height: 3em; padding: 0 .9em; font-size: .78em; font-weight: 600; }
.app-status__icons { display: flex; gap: .35em; align-items: center; }
.app-status__icons i { display: block; width: 1.1em; height: .7em; border-radius: .2em; background: currentColor; opacity: .9; }
.app-status__icons i:first-child { width: .9em; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.app-title { display: flex; align-items: center; justify-content: space-between; padding: .5em .2em .8em; }
.app-title strong { font-size: 1.6em; font-weight: 800; letter-spacing: -.03em; }
.app-title__avatar { width: 2.1em; height: 2.1em; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #FF7A3D, #F94D00); font-size: .8em; font-weight: 700; }
.app-seg { display: flex; gap: .2em; padding: .2em; border-radius: .8em; background: rgba(255, 255, 255, .07); font-size: .68em; font-weight: 600; margin-bottom: 1.1em; }
.app-seg span { flex: 1; text-align: center; padding: .55em 0; border-radius: .6em; color: #9C9CA8; }
.app-seg .is-on { background: #2A2A36; color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.app-section { display: flex; justify-content: space-between; font-size: .72em; font-weight: 600; color: #9C9CA8; margin: .2em .2em .7em; }
.app-section em { font-style: normal; color: var(--p-text-on-dark, #FF8A4C); }

.stack { display: flex; flex-direction: column; }
.stack > .pass:not(:last-child) { height: 7.4em; margin-bottom: -4em; }
.stack > .pass:last-child { box-shadow: 0 -.6em 1.4em -.4em rgba(0, 0, 0, .55); }

.pass {
    --pass-bg: linear-gradient(140deg, #3A3A46, #1E1E26);
    position: relative; overflow: hidden;
    border-radius: 1.05em;
    padding: .95em 1em;
    color: #fff;
    background: var(--pass-bg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 .8em 1.6em -.8em rgba(0, 0, 0, .55);
}
.pass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, 0) 38%); pointer-events: none; }
.pass--orange { --pass-bg: linear-gradient(140deg, #FF7A3D 0%, #F94D00 52%, #D83D00 100%); }
.pass--graphite { --pass-bg: linear-gradient(140deg, #464654 0%, #22222B 100%); }
.pass--violet { --pass-bg: linear-gradient(140deg, #9C82FF 0%, #6A5AF9 50%, #4B3BD6 100%); }
.pass--emerald { --pass-bg: linear-gradient(140deg, #37D39A 0%, #0FA36F 55%, #0A7F55 100%); }
.pass--blue { --pass-bg: linear-gradient(140deg, #5B8CFF 0%, #2F64F2 55%, #1C45C4 100%); }
.pass--rose { --pass-bg: linear-gradient(140deg, #FF7C9C 0%, #E9466F 55%, #C42F55 100%); }
.pass--amber { --pass-bg: linear-gradient(140deg, #FFC15C 0%, #F29B26 55%, #D07A12 100%); }
.pass--sky { --pass-bg: linear-gradient(140deg, #38BDF8 0%, #0284C7 55%, #0369A1 100%); }
.pass--ink { --pass-bg: linear-gradient(140deg, #2B2B38 0%, #101016 100%); }

.pass__head { display: flex; align-items: center; gap: .65em; position: relative; z-index: 1; }
.pass__logo { width: 1.9em; height: 1.9em; border-radius: .55em; display: grid; place-items: center; background: rgba(255, 255, 255, .22); font-size: .8em; font-weight: 800; flex: none; }
.pass__logo .icon { width: 1.1em; height: 1.1em; stroke-width: 2.2; }
.pass__title { flex: 1; min-width: 0; font-size: .86em; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.pass__title small { display: block; font-size: .82em; font-weight: 500; opacity: .82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pass__tag { font-size: .62em; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .35em .6em; border-radius: 999px; background: rgba(255, 255, 255, .2); }
.pass__fields { display: flex; gap: 1.2em; margin-top: 1em; position: relative; z-index: 1; }
.pass__fields div { min-width: 0; }
.pass__fields small { display: block; font-size: .58em; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.pass__fields b { display: block; font-size: .78em; font-weight: 700; white-space: nowrap; }
.pass__code { position: relative; z-index: 1; margin-top: 1em; padding: .8em; border-radius: .75em; background: #fff; color: #0B0B10; display: grid; justify-items: center; gap: .45em; }
.pass__code .qr { width: 6.4em; height: 6.4em; }
.pass__number { font-family: var(--mono); font-size: .62em; font-weight: 600; letter-spacing: .14em; color: #2B2B33; }
.qr { shape-rendering: crispEdges; fill: currentColor; }
.barcode {
    width: 100%; height: 3.4em;
    background:
        repeating-linear-gradient(90deg,
            #0B0B10 0 .14em, transparent .14em .3em,
            #0B0B10 .3em .36em, transparent .36em .5em,
            #0B0B10 .5em .72em, transparent .72em .82em,
            #0B0B10 .82em .88em, transparent .88em 1.06em,
            #0B0B10 1.06em 1.16em, transparent 1.16em 1.3em);
}

/* Ticket: side notches at the tear line */
.pass--ticket {
    --notch: calc(100% - 11.36em);
    -webkit-mask:
        radial-gradient(circle .65em at 0 var(--notch), #0000 98%, #000) left / 51% 100% no-repeat,
        radial-gradient(circle .65em at 100% var(--notch), #0000 98%, #000) right / 51% 100% no-repeat;
    mask:
        radial-gradient(circle .65em at 0 var(--notch), #0000 98%, #000) left / 51% 100% no-repeat,
        radial-gradient(circle .65em at 100% var(--notch), #0000 98%, #000) right / 51% 100% no-repeat;
}
.pass__tear { position: relative; z-index: 1; height: 0; margin: 1em -.3em 0; border-top: .12em dashed rgba(255, 255, 255, .45); }
.pass--ticket .pass__code { margin-top: 1em; }

/* Voucher: stub + body with top/bottom notches at the divider */
.pass--voucher {
    --cut: 6.2em;
    display: grid; grid-template-columns: var(--cut) 1fr; padding: 0;
    -webkit-mask:
        radial-gradient(circle .6em at var(--cut) 0, #0000 98%, #000) top / 100% 51% no-repeat,
        radial-gradient(circle .6em at var(--cut) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
    mask:
        radial-gradient(circle .6em at var(--cut) 0, #0000 98%, #000) top / 100% 51% no-repeat,
        radial-gradient(circle .6em at var(--cut) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.voucher__stub { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 1em .9em; }
.voucher__stub b { font-size: 1.55em; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.voucher__stub small { margin-top: .4em; font-size: .62em; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.voucher__body { position: relative; z-index: 1; padding: .95em 1em; border-left: .12em dashed rgba(255, 255, 255, .45); min-width: 0; }
.voucher__body .pass__code { margin-top: .8em; padding: .6em .7em; }
.voucher__body .barcode { height: 2.4em; }
.expiry { display: inline-flex; align-items: center; gap: .4em; margin-top: .55em; font-size: .62em; font-weight: 700; padding: .3em .65em; border-radius: 999px; background: rgba(0, 0, 0, .22); }
.expiry::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: #FFD15C; }

/* 08 Product tiles (home) ------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product-tile {
    position: relative; display: flex; flex-direction: column;
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--surface); border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.product-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.product-tile__art {
    position: relative; height: 240px; display: grid; place-items: center; overflow: hidden;
    font-size: 15px;
    background:
        radial-gradient(70% 80% at 50% 100%, var(--p-soft), transparent 70%),
        var(--bg-alt);
}
.product-tile__art .pass { width: 16.5em; transform: rotate(-5deg) translateY(4px); transition: transform .5s var(--ease); }
.product-tile:hover .product-tile__art .pass { transform: rotate(-2deg) translateY(-2px); }
.product-tile__body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-tile__body .eyebrow { font-size: 13px; }
.product-tile__body p { color: var(--text-2); font-size: 16px; }
.product-tile__body .link-arrow { margin-top: auto; padding-top: 10px; }
.product-tile__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.product-tile__link:focus-visible { outline: none; }
.product-tile:has(.product-tile__link:focus-visible) { outline: 2.5px solid var(--brand); outline-offset: 3px; }

.product-more {
    margin-top: 20px; display: flex; align-items: center; gap: 18px;
    padding: 22px 26px; border-radius: var(--radius);
    border: 1px dashed var(--line-strong); color: var(--text-2);
}
.product-more .icon { width: 26px; height: 26px; color: var(--accent-text); }
.product-more strong { color: var(--text); font-weight: 650; }

/* 09 Steps ---------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step {
    position: relative; padding: 30px 28px 32px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--line);
}
.step__num { font-size: 13px; font-weight: 700; color: var(--text-3); letter-spacing: .06em; }
.step__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin: 18px 0 22px; background: var(--p-soft, rgba(249, 77, 0, .12)); color: var(--p-text, var(--accent-text)); }
.step__icon .icon { width: 24px; height: 24px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 16px; }

/* 10 Feature bento -------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bento__item {
    position: relative; overflow: hidden;
    padding: 30px; border-radius: var(--radius-lg);
    background: var(--surface); border: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 10px;
}
.bento__item--wide { grid-column: span 2; }
.bento__item--accent { background: linear-gradient(150deg, #FF7A3D 0%, #F94D00 50%, #D23D00 100%); color: #fff; border: 0; }
.bento__item--accent p { color: rgba(255, 255, 255, .88) !important; }
.bento__item--accent .bento__icon { background: rgba(255, 255, 255, .2); color: #fff; }
.bento__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--chip-bg); color: var(--text); margin-bottom: 12px; }
.bento__icon .icon { width: 22px; height: 22px; }
.bento__item p { color: var(--text-2); font-size: 16px; max-width: 46ch; }
.bento__art { margin-top: auto; padding-top: 22px; display: flex; gap: 12px; font-size: 11px; }
.bento__art .pass { width: 13em; flex: none; }
.bento__art .pass:nth-child(2) { transform: translateY(10px); }
.bento__art .pass:nth-child(3) { transform: translateY(20px); }

/* 11 Business band, FAQ, contact ------------------------------------------ */
.business { border-radius: var(--radius-xl); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; overflow: hidden; }
.business::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(249, 77, 0, .3), transparent); pointer-events: none; }
.business > * { position: relative; }
.business .lead { margin-top: 18px; }
.business__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.check-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(249, 77, 0, .16); color: var(--accent-text); stroke-width: 3; flex: none; margin-top: 1px; }
.business .check-list { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }

.faq-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.faq-filter {
    height: 40px; padding: 0 18px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface); color: var(--text-2);
    font-size: 14.5px; font-weight: 600;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.faq-filter:hover { color: var(--text); border-color: var(--line-strong); }
.faq-filter[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq-item { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s var(--ease); }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 22px; font-weight: 600; font-size: 17px; letter-spacing: -.01em;
    border-radius: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 20px; height: 20px; color: var(--text-3); transition: transform .25s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item__body { padding: 0 22px 22px; color: var(--text-2); font-size: 16px; }
.faq-item__body a { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq-foot { text-align: center; margin-top: 32px; color: var(--text-2); }
.faq-foot a { color: var(--accent-text); font-weight: 600; }

.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.contact__item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.contact__item .contact__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--chip-bg); flex: none; }
.contact__item .icon { width: 19px; height: 19px; }
.contact__item small { display: block; font-size: 12.5px; color: var(--text-3); font-weight: 500; }
.contact__item b, .contact__item a { font-size: 15.5px; font-weight: 600; }
a.contact__item:hover { border-color: var(--line-strong); }
.contact__links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }

.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.form-card h3 { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label { font-size: 14px; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
    border: 1px solid var(--line-strong); background: var(--bg);
    font-size: 16px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238E8E99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(249, 77, 0, .14); }
.form-group .invalid { border-color: #E5484D; }
.form-error { display: none; font-size: 13px; font-weight: 500; color: #E5484D; }
.form-error.visible { display: block; }
.form-submit { width: 100%; min-height: 54px; font-size: 16.5px; }
.form-submit.is-success { background: #18A957; }
.form-submit.is-error { background: #D93036; }
.form-note { margin-top: 14px; font-size: 13.5px; color: var(--text-3); text-align: center; }

.dialog {
    width: min(440px, calc(100% - 32px)); padding: 36px 32px 32px; border: 0; border-radius: var(--radius-lg);
    background: var(--surface); color: var(--text); text-align: center; box-shadow: var(--shadow-lg);
}
.dialog::backdrop { background: rgba(5, 5, 8, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dialog[open] { animation: dialog-in .28s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.dialog__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(24, 169, 87, .14); color: #18A957; }
.dialog__icon .icon { width: 30px; height: 30px; stroke-width: 2.6; }
.dialog p { color: var(--text-2); margin: 10px 0 26px; font-size: 16px; }

/* 12 Download CTA & footer ------------------------------------------------ */
.cta { padding-block: 0 var(--section-y); }
.cta__panel {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: var(--radius-xl);
    padding: clamp(48px, 8vw, 104px) clamp(24px, 6vw, 80px);
    text-align: center;
}
.cta__panel::before {
    content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; z-index: -1;
    background: radial-gradient(50% 50% at 50% 50%, rgba(249, 77, 0, .45), transparent 70%);
}
.cta__mark { width: 72px; height: 72px; margin: 0 auto 28px; border-radius: 20px; font-size: 38px; }
.cta__panel .lead { max-width: 560px; margin: 20px auto 0; }
.cta__panel .store-buttons { justify-content: center; margin-top: 36px; }

.site-footer { border-top: 1px solid var(--line); padding: 64px 0 calc(104px + env(safe-area-inset-bottom)); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { margin-top: 16px; color: var(--text-2); font-size: 15px; max-width: 34ch; }
.footer-col h2 { font-size: 13px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 15px; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-3); }
.footer-bottom a:hover { color: var(--text); }

/* 13 Product page components ---------------------------------------------- */
.p-hero .hero__visual::before { background: radial-gradient(circle, var(--p-soft), transparent 65%); opacity: 1; width: 480px; height: 480px; filter: blur(10px); }
.p-hero::before {
    background:
        radial-gradient(42% 46% at 72% 42%, var(--p-soft), transparent 70%),
        radial-gradient(30% 30% at 12% 8%, var(--p-soft), transparent 70%);
}
.p-hero .device { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 .2em #050507, var(--shadow-lg); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--text-3); margin-bottom: 22px; list-style: none; padding: 0; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.p-hero .display { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
.p-hero .eyebrow { margin-bottom: 18px; font-size: 15px; }
.p-hero .eyebrow__icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--p); color: #fff; }
.p-hero .eyebrow__icon .icon { width: 17px; height: 17px; stroke-width: 2.2; }
.note { margin-top: 22px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-3); max-width: 520px; }
.note .icon { width: 18px; height: 18px; margin-top: 2px; }

.usecases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.usecase {
    display: flex; flex-direction: column; gap: 14px;
    padding: 22px; border-radius: var(--radius); min-height: 150px;
    background: var(--surface); border: 1px solid var(--line);
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.usecase:hover { transform: translateY(-3px); border-color: var(--p); }
.usecase__icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--p-soft); color: var(--p-text); }
.usecase__icon .icon { width: 22px; height: 22px; }
.usecase strong { font-size: 16.5px; font-weight: 650; letter-spacing: -.01em; }
.usecase span { font-size: 14.5px; color: var(--text-2); margin-top: -8px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: var(--surface); padding: 34px 30px; }
.feature__icon { width: 26px; height: 26px; color: var(--p-text); margin-bottom: 18px; }
.feature h3 { font-size: 18px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 8px; }
.feature p { font-size: 15.5px; color: var(--text-2); }
.feature__badge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; vertical-align: 2px; background: var(--chip-bg); color: var(--text-3); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split__art { position: relative; display: grid; place-items: center; min-height: 440px; border-radius: var(--radius-xl); background: radial-gradient(60% 60% at 50% 50%, var(--p-soft), transparent 75%), var(--bg-alt); overflow: hidden; font-size: 19px; }
.split__art .pass { width: 15.5em; box-shadow: var(--shadow-lg); }
.split .check-list { margin-top: 28px; }
.split .check-list .icon { background: var(--p-soft); color: var(--p-text); }
.split .lead { margin-top: 18px; }

.cross-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.cross-card {
    display: flex; align-items: center; gap: 18px;
    padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.cross-card:hover { transform: translateY(-3px); border-color: var(--p); }
.cross-card__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--p); color: #fff; flex: none; }
.cross-card__icon .icon { width: 24px; height: 24px; }
.cross-card strong { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.cross-card span { font-size: 14.5px; color: var(--text-2); }
.cross-card > .icon { margin-left: auto; width: 20px; height: 20px; color: var(--text-3); }

/* Subscriptions: spend summary and list (device mockup) and reminder cards */
.sub-summary { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 1.05em; padding: .95em 1em; margin-bottom: 1em; color: #fff; background: linear-gradient(140deg, #38BDF8 0%, #0284C7 55%, #0369A1 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.sub-summary small { font-size: .58em; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.sub-summary b { font-size: 1.55em; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.sub-summary b span { font-size: .45em; font-weight: 600; letter-spacing: 0; opacity: .82; }
.sub-summary__meta { font-size: .64em; font-weight: 500; opacity: .9; }
.sub-meter { display: block; height: .45em; margin: .8em 0 .4em; border-radius: 1em; background: rgba(255, 255, 255, .25); overflow: hidden; }
.sub-meter i { display: block; width: var(--fill, 50%); height: 100%; border-radius: inherit; background: #fff; }
.sub-list { display: flex; flex-direction: column; gap: .45em; }
.sub-row { display: flex; align-items: center; gap: .65em; padding: .6em .7em; border-radius: .85em; background: rgba(255, 255, 255, .06); }
.sub-row__logo { width: 1.9em; height: 1.9em; border-radius: .55em; display: grid; place-items: center; flex: none; background: var(--c, #2A2A36); color: #fff; }
.sub-row__logo .icon { width: 1.05em; height: 1.05em; stroke-width: 2.2; }
.sub-row__name { flex: 1; min-width: 0; font-size: .76em; font-weight: 650; line-height: 1.25; }
.sub-row__name small, .sub-row__amount small { display: block; font-size: .8em; font-weight: 500; color: #9C9CA8; white-space: nowrap; }
.sub-row__amount { font-size: .76em; font-weight: 700; text-align: right; line-height: 1.25; }
.sub-row__amount .is-warn { color: #FBBF24; font-weight: 600; }

.reminder-stack { display: flex; flex-direction: column; gap: .6em; width: min(19em, 86%); }
.reminder { display: flex; align-items: flex-start; gap: .7em; padding: .8em .9em; border-radius: 1em; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); font-size: .74em; }
.reminder:nth-child(2) { opacity: .88; transform: scale(.97); }
.reminder:nth-child(3) { opacity: .72; transform: scale(.94); }
.reminder__icon { width: 2.3em; height: 2.3em; border-radius: .65em; display: grid; place-items: center; flex: none; background: var(--p); color: #fff; }
.reminder__icon .icon { width: 1.2em; height: 1.2em; }
.reminder__text { min-width: 0; display: flex; flex-direction: column; gap: .15em; line-height: 1.4; color: var(--text-2); }
.reminder__text strong { color: var(--text); font-weight: 700; }
.reminder__app { display: flex; justify-content: space-between; font-size: .8em; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); }

/* Allo Send: shipment card used by the homepage tile. The product page has its own stylesheet, send.css. */
.ship-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .2em; border-radius: 1.05em; padding: .95em 1em; margin-bottom: 1em; color: #fff; background: linear-gradient(140deg, #FBBF24 0%, #F29B26 50%, #D07A12 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.ship-card small { font-size: .58em; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.ship-card b { font-size: 1.05em; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.ship-card__meta { font-size: .64em; font-weight: 500; opacity: .92; }
.ship-track { display: flex; gap: .3em; margin: .75em 0 .35em; }
.ship-track i { flex: 1; height: .4em; border-radius: 1em; background: rgba(255, 255, 255, .3); }
.ship-track i.is-done { background: #fff; }
.ship-track__labels { display: flex; justify-content: space-between; font-size: .52em; font-weight: 600; opacity: .9; }

/* Homepage: a fifth product tile spans the full row and lays out side by side. */
.product-tile--wide { grid-column: 1 / -1; flex-direction: row; }
.product-tile--wide .product-tile__art { flex: 0 0 46%; height: auto; min-height: 260px; }
.product-tile--wide .product-tile__body { justify-content: center; }

/* 14 Support widgets ------------------------------------------------------ */
.fab {
    position: fixed; right: max(20px, env(safe-area-inset-right)); z-index: 90;
    width: 56px; height: 56px; border-radius: 50%; border: 0;
    display: grid; place-items: center; color: #fff;
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.fab:hover { transform: translateY(-2px); }
.fab .icon { width: 26px; height: 26px; }
.fab__tip {
    position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
    padding: 7px 12px; border-radius: 10px; white-space: nowrap;
    background: var(--text); color: var(--bg); font-size: 13px; font-weight: 600;
    opacity: 0; pointer-events: none; transition: opacity .2s var(--ease);
}
.fab:hover .fab__tip, .fab:focus-visible .fab__tip { opacity: 1; }
.whatsapp-fab { bottom: calc(92px + env(safe-area-inset-bottom)); background: #25D366; }
.chatbot-fab { bottom: calc(24px + env(safe-area-inset-bottom)); background: var(--brand-strong); }
.chatbot-fab .close-icon { display: none; }
body.chatbot-open .chatbot-fab, body.chatbot-open .whatsapp-fab, body.menu-open .fab { display: none; }

.chatbot-window {
    position: fixed; bottom: calc(24px + env(safe-area-inset-bottom)); right: max(20px, env(safe-area-inset-right)); z-index: 95;
    width: 380px; max-width: calc(100vw - 40px); height: 560px; max-height: calc(100vh - 48px);
    display: none; flex-direction: column; overflow: hidden;
    border-radius: 24px; background: var(--surface); color: var(--text);
    border: 1px solid var(--line); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, .04);
}
.chatbot-window.open { display: flex; animation: dialog-in .25s var(--ease); }
.chatbot-header { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; border-bottom: 1px solid var(--line); flex: none; }
.chatbot-header-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #FF7A3D, #F94D00); color: #fff; font-weight: 700; }
.chatbot-header-info { flex: 1; min-width: 0; }
.chatbot-header-info h2 { font-size: 15.5px; font-weight: 700; }
.chatbot-header-info p { font-size: 12.5px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.chatbot-header-status { width: 8px; height: 8px; border-radius: 50%; background: #3CCB7F; flex: none; }
.chatbot-header .icon-btn { width: 36px; height: 36px; }
.chatbot-header .whatsapp-link { color: #1FAF55; }
.chatbot-status-bar { display: none; padding: 8px 16px; font-size: 12.5px; font-weight: 600; text-align: center; }
.chatbot-status-bar.offline { display: block; background: rgba(229, 72, 77, .12); color: #D93036; }
.chatbot-status-bar.reconnecting { display: block; background: rgba(245, 158, 11, .14); color: #B4690E; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.chatbot-msg { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.chatbot-msg.bot { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.chatbot-msg.user { align-self: flex-end; background: var(--brand-strong); color: #fff; border-bottom-right-radius: 6px; }
.chatbot-msg .msg-time { margin-top: 4px; font-size: 11px; opacity: .6; text-align: right; }
.chatbot-suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.chatbot-suggestion-chip { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font-size: 13px; font-weight: 600; color: var(--accent-text); }
.chatbot-suggestion-chip:hover { background: var(--chip-bg); }
.chatbot-typing { display: none; align-self: flex-start; gap: 4px; margin: 0 16px 10px; padding: 12px 14px; border-radius: 18px; background: var(--surface-2); width: max-content; }
.chatbot-typing.visible { display: flex; }
.chatbot-typing-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: typing 1.2s infinite ease-in-out; }
.chatbot-typing-dot:nth-child(2) { animation-delay: .15s; }
.chatbot-typing-dot:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
.chatbot-input-area { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); flex: none; }
.chatbot-input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); font-size: 16px; }
.chatbot-input:focus { outline: none; border-color: var(--brand); }
.chatbot-send { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--brand-strong); color: #fff; flex: none; }
.chatbot-send .icon { width: 18px; height: 18px; }

/* 15 Motion & responsive -------------------------------------------------- */
/* Scroll reveal: only enabled by allora.js, so content is never hidden without JS. */
.reveal-on .reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-on .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
.reveal-on .reveal[data-delay="1"] { transition-delay: .08s; }
.reveal-on .reveal[data-delay="2"] { transition-delay: .16s; }

/* One purposeful hero entrance: the passes settle into the device once. */
.hero__visual .device { animation: rise .9s var(--ease) both; }
.hero__visual .stack > .pass { animation: settle .8s var(--ease) both; animation-delay: calc(.25s + var(--i, 0) * .08s); }
.hero__visual .float-chip { animation: fade-in .6s ease both .9s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes settle { from { opacity: 0; transform: translateY(26px); } }
@keyframes fade-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal-on .reveal:not(.is-in) { opacity: 1; transform: none; }
}

@media (max-width: 1199px) {
    /* Six tabs: tighten them so the header still fits above the mobile breakpoint. */
    .site-nav__link { padding: 0 9px; font-size: 13.5px; }
    /* Not enough room beside the device: show the chips as a row beneath it. */
    .hero__visual { grid-template-columns: repeat(2, minmax(0, auto)); justify-content: center; gap: 28px 12px; }
    .hero__visual .device { grid-row: 1; grid-column: 1 / -1; justify-self: center; }
    .float-chip { position: static; grid-row: 2; width: auto; }
}

@media (max-width: 960px) {
    .site-nav { display: none; }
    .menu-toggle { display: inline-grid; }
    .site-header__actions { margin-left: auto !important; }
    .hero__grid, .split, .business, .contact { grid-template-columns: 1fr; }
    .hero__copy { text-align: center; }
    .hero__copy .lead { margin-inline: auto; }
    .hero__copy .store-buttons, .hero__explore { justify-content: center; }
    .p-hero .breadcrumb { justify-content: center; }
    .p-hero .note { margin-inline: auto; text-align: left; }
    .hero__visual { min-height: 0; padding-block: 12px 8px; }
    .product-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .product-tile--wide { flex-direction: column; }
    .product-tile--wide .product-tile__body { justify-content: flex-start; }
    .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .bento { grid-template-columns: 1fr 1fr; }
    .bento__item--wide { grid-column: span 2; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
    .split__art { order: -1; min-height: 360px; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .site-header__actions .btn { display: none; }
    .device { --w: 268px; }
    .float-chip { padding: 8px 12px 8px 8px; font-size: 12px; }
    .float-chip strong { font-size: 13px; }
    .float-chip__icon { width: 30px; height: 30px; border-radius: 9px; }
    .store-buttons { justify-content: center; }
    .store-btn { flex: 1 1 0; min-width: 0; justify-content: center; max-width: 220px; height: 54px; padding: 0 12px; gap: 8px; }
    .store-btn .icon { width: 22px; height: 22px; }
    .store-btn__text strong { font-size: 16px; }
    .store-btn__text small { font-size: 10.5px; }
    .bento, .feature-grid { grid-template-columns: 1fr; }
    .bento__item--wide { grid-column: auto; }
    .bento__art .pass:nth-child(3) { display: none; }
    .usecases { grid-template-columns: 1fr 1fr; gap: 10px; }
    .usecase { padding: 18px; min-height: 0; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .product-more { flex-direction: column; text-align: center; }
    .footer-grid { gap: 32px; }
    .cross-grid { grid-template-columns: 1fr; }
    .split__art { min-height: 300px; font-size: 16px; }
    .whatsapp-fab { display: none; }
    .chatbot-fab { width: 52px; height: 52px; }
    .fab__tip { display: none; }
}

@media (max-width: 480px) {
    .chatbot-window {
        top: var(--chatbot-viewport-top, 0px); bottom: auto; left: 0; right: 0;
        width: 100%; max-width: 100%;
        height: var(--chatbot-viewport-height, 100dvh); max-height: var(--chatbot-viewport-height, 100dvh);
        border-radius: 0; border: 0;
    }
    body.chatbot-open { overflow: hidden; }
    body.chatbot-open .chatbot-header { padding-top: calc(16px + env(safe-area-inset-top)); }
    .chatbot-input-area { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
    .device { --w: 244px; }
    .display { font-size: 2.35rem; }
    .float-chip { display: none; }
}
