/* =====================================================================================================================
   dashboardace  -  the site

   The product chrome: navigation, marketing pages, the build wizard, the member area, checkout and invoices.
   Dashboards themselves are styled by css/dash.css, per theme, and deliberately ignore the site theme - a dashboard
   is a designed document and looks the same to everyone who opens it.

   The look: a soft cool-grey page with the big moments set in deep ink panels inset from the window edge - the
   hero, the process, pricing, the closing call and the footer - each with a quiet indigo glow and fine diagonal
   rules at its edges. A floating glass navigation bar. Mona Sans at medium weight, large and relaxed. Clean white
   cards without borders, pill buttons carrying a dark arrow chip, and cube-marked section labels. Headings fill in
   and cards rise as they scroll into view.
   ===================================================================================================================== */

:root {
    --accent: #4F46E5;
    --accent-2: #6A63F6;
    --accent-light: #A5A1FF;
    --accent-soft: rgba(79, 70, 229, 0.10);
    --amber: #FFB224;

    --bg: #ECEEF3;
    --bg-2: #E2E5EE;
    --bg-3: #D8DCE7;
    --card: #FFFFFF;
    --input: #F4F5F9;
    --ink: #0F1222;
    --ink-2: #4B5165;
    --ink-3: #737A8E;
    --muted: #A3A8B8;
    --line: rgba(15, 18, 34, 0.08);
    --line-2: rgba(15, 18, 34, 0.15);
    --head-fade: #B7BBC8;

    /* The dark panels. */
    --panel: #0D1020;
    --panel-2: #1A1F35;
    --panel-3: #232A44;
    --panel-ink: #FFFFFF;
    --panel-mute: #A8ADC2;
    --panel-line: rgba(255, 255, 255, 0.09);
    --panel-line-2: rgba(255, 255, 255, 0.16);
    --panel-bg: radial-gradient(55% 65% at 88% 0%, rgba(106, 99, 246, 0.42), transparent 62%), radial-gradient(45% 60% at 8% 100%, rgba(79, 70, 229, 0.25), transparent 62%), #0D1020;
    --panel-rules: repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 15px);

    /* Names the application scripts and css/dash.css rely on. */
    --brand: #4F46E5;
    --brand-hover: #4338CA;
    --brand-2: #6A63F6;
    --brand-3: #FFB224;
    --brand-ink: #3730A3;
    --brand-tint: rgba(79, 70, 229, 0.10);
    --brand-line: rgba(79, 70, 229, 0.3);
    --grad: linear-gradient(135deg, #4F46E5, #6A63F6);
    --focus: rgba(79, 70, 229, 0.25);
    --good: #0E8A55;
    --good-bg: rgba(14, 138, 85, 0.10);
    --warn: #A86500;
    --warn-bg: rgba(255, 178, 36, 0.16);
    --bad: #D23C3C;
    --bad-bg: rgba(210, 60, 60, 0.09);

    --shadow-sm: 0 1px 2px rgba(15, 18, 34, 0.05);
    --shadow: 0 18px 40px -18px rgba(15, 18, 34, 0.22);
    --shadow-lg: 0 40px 80px -30px rgba(15, 18, 34, 0.35);

    --r-sm: 8px;
    --r: 12px;
    --r-lg: 16px;
    --r-xl: 20px;
    --pill: 999px;

    --font: 'Mona Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --display: 'Mona Sans', system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Menlo, monospace;
    --nav-h: 66px;

    --w-dashboard: #0F1222;
    --w-ace: #D97706;
}

[data-theme="dark"] {
    --accent-soft: rgba(124, 116, 255, 0.14);
    --bg: #090B14;
    --bg-2: #10131F;
    --bg-3: #181C2B;
    --card: #131727;
    --input: #0F1220;
    --ink: #F2F3F8;
    --ink-2: #B7BBCB;
    --ink-3: #8C91A5;
    --muted: #5B6075;
    --line: rgba(255, 255, 255, 0.07);
    --line-2: rgba(255, 255, 255, 0.14);
    --head-fade: #3D4257;
    --panel: #111526;
    --panel-bg: radial-gradient(55% 65% at 88% 0%, rgba(106, 99, 246, 0.36), transparent 62%), radial-gradient(45% 60% at 8% 100%, rgba(79, 70, 229, 0.2), transparent 62%), #111526;

    --brand: #8983FF;
    --brand-hover: #A19CFF;
    --brand-ink: #C8C5FF;
    --brand-tint: rgba(124, 116, 255, 0.14);
    --good: #3DDC97;
    --good-bg: rgba(61, 220, 151, 0.12);
    --warn: #FFB224;
    --warn-bg: rgba(255, 178, 36, 0.13);
    --bad: #FF6B6B;
    --bad-bg: rgba(255, 107, 107, 0.12);
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.85);

    --w-dashboard: #F2F3F8;
    --w-ace: #FFB224;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.08; letter-spacing: -0.035em; font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(36px, 5vw, 72px); }
h2 { font-size: clamp(32px, 4.2vw, 58px); }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
p { color: var(--ink-2); text-wrap: pretty; }
a { color: var(--accent); cursor: pointer; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-2); }
img, svg { max-width: 100%; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.muted { color: var(--ink-3); }
.small { font-size: 13.5px; }
.fine { font-size: 13px; color: var(--ink-3); margin: 6px 0 14px; }
.center-cta { text-align: center; margin-top: 48px; }
.grad-text { color: inherit; }

html.signed-out .auth-only, html.signed-in .guest-only { display: none !important; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.wrap.narrow { max-width: 960px; }

#app { flex: 1; }
.page { display: none; min-height: calc(100vh - 180px); padding-top: 110px; animation: pageIn 0.4s ease both; }
.page.active { display: block; }
#page-home, #page-login, #page-register, #page-forgot, #page-reset, .page:has(> .wrap > .page-top) { padding-top: 0; }
html.embed-mode .page { padding-top: 0; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* The dark panels share their surface: the glow, and the fine rules at both edges. */
.hero, #HowItWorks, .cta-band, .footer, .auth-wrap, .pricing-grid, .plan-hero, .own-theme-band { position: relative; isolation: isolate; }
.hero::after, #HowItWorks::after, .cta-band::after, .footer::after, .auth-wrap::after, .page-top::after {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
    background: var(--panel-rules);
    -webkit-mask: linear-gradient(90deg, #000, transparent 16%, transparent 84%, #000); mask: linear-gradient(90deg, #000, transparent 16%, transparent 84%, #000);
}


/* ---------------------------------------------------------------------------------------------------------------------
   BUTTONS  -  pills; the call-to-action carries a dark arrow chip that turns on hover
   --------------------------------------------------------------------------------------------------------------------- */

.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 50px; padding: 0 24px; border-radius: var(--pill); border: 1px solid transparent;
    font: 600 15.5px/1 var(--font); letter-spacing: -0.01em; cursor: pointer; white-space: nowrap; text-decoration: none !important;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--card); color: var(--ink); }
.btn-light { background: var(--accent); color: #fff; }
.btn-light:hover { background: var(--accent-2); color: #fff; }
.btn-danger { background: var(--bad); color: #fff; }
.btn-danger:hover { color: #fff; filter: brightness(1.05); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 15px; font-size: 13.5px; gap: 8px; }
.btn-block { width: 100%; }

/* The arrow chip. */
.btn-lg.btn-primary, .btn-lg.btn-light, .btn-nav, .price-card .btn, .own-theme-band .btn, .plan-hero .btn { padding-right: 6px; gap: 14px; }
.btn-lg.btn-primary > i, .btn-lg.btn-light > i, .btn-nav > i, .price-card .btn > i, .own-theme-band .btn > i, .plan-hero .btn > i { display: none; }
.btn-lg.btn-primary::after, .btn-lg.btn-light::after, .btn-nav::after, .price-card .btn::after, .own-theme-band .btn::after, .plan-hero .btn::after {
    content: '\f061'; font: 900 14px/1 'Font Awesome 6 Pro'; width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center; background: #0F1222; color: #fff; transform: rotate(-45deg);
    transition: transform 0.3s cubic-bezier(.3, 1.3, .5, 1);
}
.btn-nav::after { width: 34px; height: 34px; font-size: 12px; }
.btn-lg:hover::after, .btn-nav:hover::after, .price-card .btn:hover::after, .own-theme-band .btn:hover::after, .plan-hero .btn:hover::after { transform: rotate(0deg); }

.icon-btn {
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent;
    color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.icon-btn:hover { background: var(--card); }
.icon-btn .theme-sun { display: none; }
[data-theme="dark"] .icon-btn .theme-sun { display: inline-block; }
[data-theme="dark"] .icon-btn .theme-moon { display: none; }

.play-btn { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 24px 0 7px; border-radius: var(--pill); border: 1px solid var(--panel-line-2); background: rgba(255, 255, 255, 0.07); backdrop-filter: blur(8px); cursor: pointer; font: 600 15.5px/1 var(--font); color: #fff; transition: background 0.25s ease; }
.play-ring { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; background: #fff; color: var(--panel); }
.play-ring i { margin-left: 2px; }
.play-btn:hover { background: rgba(255, 255, 255, 0.14); }

/* Back to top, with the page's scroll progress drawn as a ring. */
.to-top {
    position: fixed; right: 26px; bottom: 26px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
    color: var(--ink); font-size: 15px;
    background: radial-gradient(closest-side, var(--card) 86%, transparent 88%), conic-gradient(var(--accent) calc(var(--p, 0) * 1%), var(--bg-3) 0);
    box-shadow: 0 10px 30px -10px rgba(15, 18, 34, 0.35);
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
html.embed-mode .to-top, html.dash-mode .to-top { display: none; }


/* ---------------------------------------------------------------------------------------------------------------------
   NAVIGATION  -  a floating glass bar
   --------------------------------------------------------------------------------------------------------------------- */

.nav {
    position: fixed; z-index: 50; top: 26px; left: 50%; transform: translateX(-50%); width: min(1240px, calc(100% - 60px)); height: var(--nav-h);
    border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
    transition: background 0.3s ease, top 0.3s ease, box-shadow 0.3s ease;
}
.nav.solid { top: 14px; background: rgba(13, 16, 32, 0.86); border-color: rgba(255, 255, 255, 0.1); box-shadow: 0 20px 40px -20px rgba(13, 16, 32, 0.6); }
.nav-inner { height: 100%; padding: 0 12px 0 20px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand-mark { display: inline-flex; }
.brand-emblem { display: block; }
.brand-name { font: 800 23px/1 'Sora', var(--display); letter-spacing: -0.035em; }
.w-dashboard { color: var(--w-dashboard); }
.w-ace { color: var(--w-ace); }
.nav .w-dashboard { color: #fff; }
.nav .w-ace { color: var(--amber); }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, 0.78); font: 500 15.5px/1 var(--font); padding: 10px 14px; border-radius: var(--pill); text-decoration: none; transition: color 0.2s ease, background 0.2s ease; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav .icon-btn { color: #fff; border-color: rgba(255, 255, 255, 0.18); }
.nav .icon-btn:hover { background: rgba(255, 255, 255, 0.1); }
.nav-signin { color: #fff; font: 600 15px/1 var(--font); padding: 12px 12px; }
.nav-signin:hover { color: var(--accent-light); }
.btn-nav { height: 46px; padding-left: 20px; font-size: 15px; }
.mobile-toggle { display: none; }

.nav-account { position: relative; }
.account-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px 0 5px; border-radius: var(--pill); border: 1px solid rgba(255, 255, 255, 0.18); background: transparent; cursor: pointer; color: rgba(255, 255, 255, 0.8); }
.account-btn .fa-chevron-down { font-size: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 600 12.5px/1 var(--font); }
.tier-pill { font: 600 10.5px/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 8px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.12); color: #fff; }
.tier-pill.pro { background: var(--accent); }
.tier-pill.business { background: var(--amber); color: #0F1222; }
.account-menu {
    position: absolute; right: 0; top: calc(100% + 14px); width: 270px; padding: 8px; border-radius: 16px;
    background: var(--card); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.2s ease; z-index: 60;
}
.account-menu.open { opacity: 1; visibility: visible; transform: none; }
.account-menu-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.account-menu-head strong { display: block; font: 600 15px/1.4 var(--font); color: var(--ink); }
.account-menu-head span { font-size: 13px; color: var(--ink-3); word-break: break-all; }
.account-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-size: 15px; text-decoration: none; }
.account-menu a i { width: 16px; text-align: center; color: var(--accent); }
.account-menu a:hover { background: var(--bg); color: var(--ink); }
.account-menu a.danger, .mobile-menu a.danger, .account-menu a.danger i { color: var(--bad); }
.menu-rule { height: 1px; background: var(--line); margin: 6px 0; }

.mobile-menu {
    position: fixed; top: calc(var(--nav-h) + 26px); left: 14px; right: 14px; z-index: 49; padding: 8px 18px 14px; display: none;
    border-radius: 16px; background: rgba(13, 16, 32, 0.9); border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); max-height: calc(100vh - 110px); overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: flex; align-items: center; gap: 14px; padding: 15px 4px; color: #fff; font: 500 18px/1.2 var(--font); border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-decoration: none; }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a i { width: 18px; color: var(--accent-light); font-size: 14px; }

html.embed-mode .nav, html.embed-mode .footer, html.embed-mode .mobile-menu { display: none !important; }
html.dash-mode .footer { display: none; }


/* ---------------------------------------------------------------------------------------------------------------------
   SECTION FURNITURE  -  cube-marked labels, a heading on the left, its explanation on the right
   --------------------------------------------------------------------------------------------------------------------- */

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13.5px/1.4 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: '\f1b2'; font: 900 13px/1 'Font Awesome 6 Pro'; }
.eyebrow i { display: none; }

.section { position: relative; padding: 120px 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 70px; align-items: end; max-width: none; margin: 0 0 56px; }
.section-head > .eyebrow { grid-column: 1; grid-row: 1; }
.section-head > h1, .section-head > h2 { grid-column: 1; grid-row: 2; margin-top: 16px; }
.section-head > p { grid-column: 2; grid-row: 2; align-self: end; font-size: 17px; line-height: 1.6; padding-bottom: 6px; max-width: 520px; }
.section-head > .period-toggle { grid-column: 1 / -1; }
.section-head.left { margin-left: 0; }

/* Inner pages open on a dark panel, centred like a banner. */
.page-top { position: relative; isolation: isolate; text-align: center; display: block; padding: 200px 0 100px; margin: 0 0 100px; color: var(--panel-mute); }
.page-top::before {
    content: ''; position: absolute; z-index: -2; top: 15px; bottom: 0; left: 50%; width: calc(100vw - 30px); transform: translateX(-50%); border-radius: 20px;
    background: radial-gradient(60% 90% at 50% 45%, rgba(13, 16, 32, 0.55), transparent 75%), linear-gradient(180deg, rgba(30, 27, 90, 0.82) 0%, rgba(13, 16, 32, 0.92) 100%), url(/images/banner-dashboards.jpg) center / cover no-repeat, #0D1020;
}
.page-top::after { top: 15px; left: 50%; width: calc(100vw - 30px); transform: translateX(-50%); border-radius: 20px; }
.page-top .eyebrow { display: none; }
.page-top h1 { color: #fff; font-size: clamp(44px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -0.045em; margin: 0 auto 22px; max-width: 1000px; }
.page-top p { color: rgba(255, 255, 255, 0.78); font-size: 18px; max-width: 720px; margin: 22px auto 0; }
.page-banner { padding: 190px 0 90px; margin-bottom: 60px; }
.page-banner h1 { font-size: clamp(40px, 5vw, 76px); }

/* The breadcrumb pill under a banner's title. */
.crumbs { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px; font: 500 15.5px/1 var(--font); color: #fff;
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.crumbs a { color: rgba(255, 255, 255, 0.72); cursor: pointer; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs a .fa-house { color: var(--accent-light); margin-right: 4px; }
.crumbs > i { font-size: 11px; color: rgba(255, 255, 255, 0.45); }
.crumbs span { font-weight: 600; }

/* Where a banner carries the title, the page's own heading steps aside. */
.has-banner .page-head > div > h1, .has-banner .create-head h1, .has-banner .checkout-summary > h1 { display: none; }
.has-banner .create-head { justify-content: center; }
.has-banner .create-wrap, .has-banner .checkout-wrap, .has-banner .invoice-wrap { padding-top: 0; }
.has-banner .member-layout { padding-top: 0; }

/* Centred section heads on inner pages: a dashed label pill and one accented word. */
.section-head.center { display: block; text-align: center; max-width: 820px; margin: 0 auto 50px; }
.section-head.center .eyebrow { padding: 8px 14px; border: 1px dashed var(--line-2); border-radius: 6px; color: var(--ink); }
.section-head.center .eyebrow::before { color: var(--accent); }
.section-head.center h2 { margin-top: 18px; }
.accent { color: var(--accent); }

/* A section head can carry a button on the right, as the reference's "Explore more". */
.section-head:has(> .head-btn) { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; column-gap: 50px; }
.section-head > .head-btn { grid-column: 3; grid-row: 2; align-self: end; margin-bottom: 6px; }


/* ---------------------------------------------------------------------------------------------------------------------
   HOME  -  hero: a dark panel under the glass nav, the promise on the left, the story on the right
   --------------------------------------------------------------------------------------------------------------------- */

.hero { margin: 15px; border-radius: 22px; padding: 170px 0 80px; background: var(--panel-bg); color: var(--panel-mute); overflow: hidden; }
.hero .wrap { max-width: 1480px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head media" "body media"; grid-template-rows: auto 1fr; column-gap: 60px; row-gap: 30px; align-items: start; }
.hero-head { grid-area: head; }
.hero-body { grid-area: body; }
.hero-media { grid-area: media; container: hero / inline-size; }

.hero .eyebrow { color: var(--accent-light); letter-spacing: 0.1em; font-size: 12.5px; }
.hero .eyebrow strong { font-weight: 800; background: linear-gradient(92deg, #FFC857 0%, #FFB224 45%, #FF8B3D 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-head h1 { color: #fff; font-size: clamp(42px, 4.4vw, 54px); line-height: 1.02; letter-spacing: -0.045em; margin-top: 22px; }
.hero-head h1 .grad-text { color: #fff; }
.hero-head h1 em { font-style: normal; background: linear-gradient(92deg, #FFC857 0%, #FFB224 45%, #FF8B3D 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 17.5px; line-height: 1.65; color: var(--panel-mute); max-width: 540px; }
.hero-cta { display: flex; gap: 12px 14px; flex-wrap: wrap; align-items: center; margin: 32px 0 34px; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; max-width: 560px; }
.hero-proof li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: #fff; }
.hero-proof i { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; background: rgba(165, 161, 255, 0.18); color: var(--accent-light); }

/* The window sits in a glass frame. */
.hero-demo { position: relative; padding: 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.7); }
.browser { position: relative; border-radius: 12px; overflow: hidden; background: #12162B; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #12162B; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); flex-shrink: 0; }
.browser-url { margin-left: 8px; flex: 1; min-width: 0; font: 400 12px/1 var(--mono); color: var(--panel-mute); background: rgba(255, 255, 255, 0.06); padding: 8px 12px; border-radius: var(--pill); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-url i { font-size: 10px; margin-right: 6px; color: #3DDC97; }
.hero-clock { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: var(--pill); font: 600 13px/1 var(--mono); color: #fff; background: rgba(255, 255, 255, 0.07); font-variant-numeric: tabular-nums; transition: background 0.3s ease, color 0.3s ease; }
.hero-clock.run i { color: var(--amber); animation: tick 1s steps(2) infinite; }
.hero-clock.done { background: var(--amber); color: #0F1222; }
@keyframes tick { 50% { opacity: 0.3; } }
.demo-switch { display: flex; gap: 5px; flex-shrink: 0; transition: opacity 0.3s ease; }
.demo-switch.ha-hide { opacity: 0; pointer-events: none; }
.demo-switch button { width: 15px; height: 15px; border-radius: 50%; border: 2px solid #12162B; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); cursor: pointer; padding: 0; transition: transform 0.2s ease; }
.demo-switch button:hover { transform: scale(1.15); }
.demo-switch button.active { box-shadow: 0 0 0 2px var(--amber); }
.hero-replay { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: var(--pill); border: 0; background: rgba(255, 255, 255, 0.09); color: #fff; font: 600 12.5px/1 var(--font); cursor: pointer; }
.hero-replay:hover { background: rgba(255, 255, 255, 0.18); }
.hero-replay[hidden] { display: none; }
.browser-body { height: 560px; overflow: hidden; position: relative; background: #F4F6FA; }
.ha-stage { container: stage / inline-size; }
#HeroDemo { position: absolute; inset: 0; overflow: hidden; }
#HeroDemo.ha-wait { opacity: 0; }
.ha-stage.s-done #HeroDemo { overflow-y: auto; overscroll-behavior: contain; }
#HeroDemo.ha-in { opacity: 1; transition: opacity 0.4s ease; }
#HeroDemo.ha-in .w { animation: wIn 0.6s cubic-bezier(.2, .7, .2, 1) both; }
#HeroDemo.ha-in .w:nth-child(2) { animation-delay: 60ms; }
#HeroDemo.ha-in .w:nth-child(3) { animation-delay: 120ms; }
#HeroDemo.ha-in .w:nth-child(4) { animation-delay: 180ms; }
#HeroDemo.ha-in .w:nth-child(5) { animation-delay: 240ms; }
#HeroDemo.ha-in .w:nth-child(6) { animation-delay: 300ms; }
#HeroDemo.ha-in .w:nth-child(7) { animation-delay: 360ms; }
@keyframes wIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@container hero (max-width: 640px) { .browser-url { display: none; } .browser-bar .dot { display: none; } }
@container hero (max-width: 420px) { .demo-switch button:nth-child(n+6) { display: none; } .hero-replay { font-size: 0; gap: 0; width: 30px; padding: 0; justify-content: center; } .hero-replay i { font-size: 12px; } .hero-clock { margin-left: auto; } }

/* ---- The story: 1 drop -------------------------------------------------------------------------------------- */

.ha-drop { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; padding: 24px; background: #F4F6FA; transition: opacity 0.3s ease; }
.ha-drop-zone { width: min(520px, 100%); height: min(300px, 70%); border: 2px dashed #C6CAD9; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #737A8E; font: 600 15px/1 var(--font); background: #fff; transition: all 0.3s ease; }
.ha-drop-zone i { font-size: 30px; color: #4F46E5; }
.ha-file { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px; background: #fff; color: #1f2937; box-shadow: 0 24px 50px -14px rgba(15, 18, 34, 0.45); transform: translate(-190%, -210%) rotate(-8deg); opacity: 0; }
.ha-file b { display: block; font: 600 13.5px/1.3 var(--font); white-space: nowrap; }
.ha-file small { font: 400 11.5px/1.3 var(--mono); color: #6b7280; white-space: nowrap; }
.ha-cursor { position: absolute; right: -14px; bottom: -16px; font-size: 22px; color: #0F1222; filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff); }
.xl-badge { width: 34px; height: 34px; border-radius: 8px; background: #107C41; color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 16px/1 var(--font); flex-shrink: 0; }
.s-drag .ha-file { opacity: 1; transform: translate(-50%, -50%) rotate(-3deg); transition: transform 1.35s cubic-bezier(.3, .8, .25, 1), opacity 0.4s ease; }
.s-drag .ha-drop-zone { border-color: #4F46E5; background: #EEF0FF; color: #4F46E5; }
.s-dropped .ha-file { transform: translate(-50%, -50%) scale(0.92); transition: transform 0.2s ease; }
.s-dropped .ha-cursor { opacity: 0; transition: opacity 0.2s ease; }
.s-sheet .ha-drop { opacity: 0; pointer-events: none; }

/* ---- The story: the sheet ----------------------------------------------------------------------------------- */

.ha-sheet { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; background: #fff; color: #1f2937; font-family: 'Segoe UI', Calibri, var(--font); opacity: 0; transform: scale(0.98); transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.2, .7, .2, 1), filter 0.5s ease; }
.s-sheet .ha-sheet { opacity: 1; transform: none; }
.s-fly .ha-sheet { opacity: 0; transform: scale(1.015); filter: blur(3px); transition-duration: 1.1s; transition-delay: 0.3s; }
.xl-title { display: flex; align-items: center; gap: 10px; padding: 7px 14px; background: #107C41; color: #fff; font-size: 12.5px; white-space: nowrap; }
.xl-title .xl-badge { width: 20px; height: 20px; border-radius: 4px; background: #fff; color: #107C41; font-size: 11px; }
.xl-file { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.xl-dim { opacity: 0.7; }
.xl-ribbon { display: flex; gap: 20px; padding: 7px 16px; background: #f3f3f3; border-bottom: 1px solid #e1e1e1; font-size: 12px; color: #444; white-space: nowrap; overflow: hidden; }
.xl-ribbon .on { color: #107C41; font-weight: 600; box-shadow: 0 2px 0 #107C41; }
.xl-formula { display: flex; align-items: center; gap: 10px; padding: 5px 10px; border-bottom: 1px solid #e1e1e1; font-size: 12px; color: #333; }
.xl-ref { width: 60px; padding: 2px 6px; border: 1px solid #d4d4d4; background: #fff; }
.xl-fx { font-style: italic; color: #888; font-family: Georgia, serif; }
.xl-grid { position: relative; flex: 1; overflow: hidden; }
.xl-grid table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12.5px; }
.xl-grid th { position: relative; overflow: hidden; height: 24px; background: #f3f3f3; border: 1px solid #e1e1e1; font-weight: 400; color: #555; font-size: 11.5px; }
.xl-grid th.rn, .xl-grid td.rn { width: 36px; background: #f3f3f3; color: #666; text-align: center; font-size: 11px; }
.xl-grid td { height: 26px; padding: 0 8px; border: 1px solid #e6e6e6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #222; }
.xl-grid td.num { text-align: right; font-variant-numeric: tabular-nums; }
.xl-grid tr.hdr td { font-weight: 700; background: #fff; transition: all 0.3s ease; }
.xl-grid tbody tr { opacity: 0; transform: translateY(6px); }
.s-sheet .xl-grid tbody tr { opacity: 1; transform: none; transition: opacity 0.4s ease, transform 0.4s ease; transition-delay: calc(var(--r, 0) * 45ms); }
.xl-letter { display: inline-block; transition: all 0.3s ease; }
.ha-chip { position: absolute; inset: 3px 3px; display: flex; align-items: center; justify-content: center; border-radius: 4px; font: 600 9.5px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: #fff; background: #4F46E5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(8px); transition: all 0.35s cubic-bezier(.3, 1.4, .5, 1); }
.ha-chip.date { background: #7C3AED; } .ha-chip.money { background: #0E8A55; } .ha-chip.link { background: #FFB224; color: #0F1222; } .ha-chip.cat { background: #2563EB; } .ha-chip.geo { background: #0891B2; } .ha-chip.num { background: #475569; } .ha-chip.key { background: #0F1222; }
.xl-grid th.typed .ha-chip { opacity: 1; transform: none; }
.xl-grid th.typed .xl-letter { opacity: 0; transform: translateY(-8px); }
.xl-grid tr.hdr td.typed { background: #EEF0FF; box-shadow: inset 0 -2px 0 #A5A1FF; }
.ha-scan { position: absolute; left: 0; right: 0; top: 0; height: 56px; background: linear-gradient(180deg, transparent, rgba(79, 70, 229, 0.16)); border-bottom: 2px solid #4F46E5; opacity: 0; pointer-events: none; }
.s-scan .ha-scan { animation: scan 2.8s cubic-bezier(.45, 0, .55, 1) both; }
@keyframes scan { 0% { opacity: 0; transform: translateY(-56px); } 10% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(560px); } }
.xl-tabs { display: flex; align-items: center; gap: 2px; padding: 0 10px; height: 30px; background: #f3f3f3; border-top: 1px solid #e1e1e1; font-size: 12px; color: #444; white-space: nowrap; }
.xl-tabs > span:not(.xl-status) { padding: 6px 12px; transition: all 0.3s ease; }
.xl-tabs .on { background: #fff; color: #107C41; font-weight: 600; box-shadow: 0 2px 0 #107C41 inset; }
.xl-tabs .linked { background: #FFE9B8; color: #7A4B00; font-weight: 600; }
.xl-tabs .linked::before { content: '\f0c1'; font-family: 'Font Awesome 6 Pro'; font-weight: 900; margin-right: 6px; font-size: 10px; }
.xl-status { margin-left: auto; font: 500 11.5px/1 var(--mono); color: #6b7280; white-space: nowrap; }
.xl-status i { color: #d1d5db; margin-right: 4px; }
.s-verify .xl-status { color: #0E8A55; }
.s-verify .xl-status i { color: #0E8A55; }

.ha-model { position: absolute; right: 16px; bottom: 44px; z-index: 4; width: 300px; padding: 16px 18px; border-radius: 14px; background: rgba(13, 16, 32, 0.95); color: #fff; box-shadow: 0 30px 60px -20px rgba(13, 16, 32, 0.6); font-family: var(--font); opacity: 0; transform: translateY(14px); transition: all 0.45s cubic-bezier(.2, .7, .2, 1); }
.s-model .ha-model { opacity: 1; transform: none; }
.s-fly .ha-model { opacity: 0; transform: translateY(10px); transition-duration: 0.25s; }
.ha-model-head { font: 600 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.ha-model-head i { margin-right: 6px; }
.ha-model-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 12.5px; color: #A8ADC2; }
.ha-model-row b { font: 500 12px/1.3 var(--mono); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ha-model-row b.ok { color: #3DDC97; }
.ha-model-total { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 12px; color: #A8ADC2; max-height: 0; overflow: hidden; opacity: 0; transition: all 0.4s ease; }
.s-verify .ha-model-total { max-height: 80px; opacity: 1; }
.ha-model-total b { font: 600 14px/1.2 var(--mono); color: var(--amber); text-align: right; font-variant-numeric: tabular-nums; }

.ha-ghost { position: absolute; z-index: 6; display: flex; align-items: center; justify-content: flex-end; padding: 0 8px; background: #EEF0FF; color: #312E81; border: 1px solid #A5A1FF; border-radius: 6px; font: 600 12px/1 var(--mono); white-space: nowrap; overflow: hidden; pointer-events: none; will-change: transform, opacity; }

@container stage (max-width: 760px) { .xl-grid .p3 { display: none; } }
@container stage (max-width: 440px) { .xl-grid .p2 { display: none; } .ha-model { left: 10px; right: 10px; width: auto; bottom: 40px; } .xl-ribbon span:nth-child(n+4) { display: none; } .xl-tabs > span:not(.xl-status) { padding: 6px 8px; } .xl-tabs .linked::before { display: none; } .xl-long { display: none; } .ha-chip { font-size: 8px; letter-spacing: 0.02em; inset: 3px 2px; } .xl-grid td { padding: 0 6px; font-size: 12px; } }

/* ---- The story: 0 intro - "Watch the magic happen" ---------------------------------------------------------- */

.ha-intro {
    position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    padding: 30px; text-align: center; color: #fff;
    background: radial-gradient(60% 70% at 50% 40%, rgba(106, 99, 246, 0.55), transparent 70%), radial-gradient(40% 50% at 85% 95%, rgba(255, 178, 36, 0.18), transparent 70%), #0D1020;
}
.ha-intro::before { content: ''; position: absolute; inset: 0; background: var(--panel-rules); -webkit-mask: radial-gradient(closest-side, transparent 55%, #000); mask: radial-gradient(closest-side, transparent 55%, #000); pointer-events: none; }
.hi-orb { position: relative; width: 88px; height: 88px; margin-bottom: 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #0F1222; background: radial-gradient(circle at 30% 25%, #FFE3A3, #FFB224 70%); box-shadow: 0 0 60px rgba(255, 178, 36, 0.55); }
.hi-orb span { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 178, 36, 0.5); animation: hiRing 1.6s ease-out infinite; }
.hi-orb span + span { animation-delay: 0.8s; }
@keyframes hiRing { from { transform: scale(0.85); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.hi-kicker { font: 600 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); }
.hi-title { font: 600 clamp(30px, 5.4cqi, 56px)/1.02 var(--font); letter-spacing: -0.045em; color: #fff; }
.hi-title em { font-style: normal; background: linear-gradient(92deg, #FFC857, #FF8B3D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hi-sub { max-width: 440px; font-size: 16px; line-height: 1.55; color: var(--panel-mute); }
.hi-bar { width: min(260px, 70%); height: 4px; margin-top: 12px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.hi-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent-light), #FFB224); }
.s-intro .hi-bar i { animation: fillW 2.8s linear forwards; }
@keyframes fillW { to { width: 100%; } }
.ha-intro > * { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.2, .7, .2, 1); }
.s-intro .ha-intro > *, .ha-stage:not(.s-intro) .ha-intro > * { opacity: 1; transform: none; }
.s-intro .ha-intro > :nth-child(2) { transition-delay: 0.08s; }
.s-intro .ha-intro > :nth-child(3) { transition-delay: 0.14s; }
.s-intro .ha-intro > :nth-child(4) { transition-delay: 0.22s; }
.s-intro .ha-intro > :nth-child(5) { transition-delay: 0.3s; }
.s-intro-out .ha-intro { opacity: 0; transform: scale(1.06); filter: blur(6px); transition: all 0.35s ease-in; }

/* ---- The story: 5 ace - the speed reveal once the dashboard is up ----------------------------------------- */

.ha-ace { position: absolute; inset: 0; z-index: 7; display: flex; align-items: center; justify-content: center; padding: 20px; overflow: hidden;
    background: rgba(13, 16, 32, 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); transition: background 0.35s ease, backdrop-filter 0.35s ease; }
.s-ace .ha-ace { background: rgba(13, 16, 32, 0.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.s-ace-out .ha-ace { background: rgba(13, 16, 32, 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); }
.ht-lines { position: absolute; inset: 0; pointer-events: none; }
.ht-lines i { position: absolute; left: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent); opacity: 0; }
.ht-lines i:nth-child(3n) { background: linear-gradient(90deg, transparent, rgba(255, 178, 36, 0.95), transparent); height: 3px; }
.ht-lines i:nth-child(4n) { background: linear-gradient(90deg, transparent, rgba(165, 161, 255, 0.95), transparent); }
.s-ace .ht-lines i { animation-name: whoosh; animation-timing-function: cubic-bezier(.55, 0, .45, 1); animation-iteration-count: infinite; }
.s-ace-out .ht-lines i { animation: none; opacity: 0; }
@keyframes whoosh { 0% { transform: translateX(260%); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(-160%); opacity: 0; } }

.ht-card { position: relative; width: min(460px, 100%); padding: 22px 26px 22px; border-radius: 22px; text-align: center; color: #fff;
    background: radial-gradient(80% 70% at 50% 0%, rgba(106, 99, 246, 0.45), transparent 70%), rgba(15, 18, 34, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 178, 36, 0.12), 0 0 80px -20px rgba(255, 178, 36, 0.35);
    opacity: 0; transform: scale(0.82) translateY(20px); transition: opacity 0.35s ease, transform 0.55s cubic-bezier(.3, 1.45, .5, 1); }
.s-ace .ht-card { opacity: 1; transform: none; }
.s-ace-out .ht-card { opacity: 0; transform: scale(1.08); transition: all 0.4s ease-in; }
.ht-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #FFB224; color: #0F1222; font: 700 12px/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; }
.ht-badge i { animation: zap 0.5s steps(2) 4; }
@keyframes zap { 50% { opacity: 0.2; } }
.ht-gauge { display: block; width: min(250px, 80%); margin: 12px auto 0; overflow: visible; }
.ht-track { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 12; stroke-linecap: round; }
.ht-fill { fill: none; stroke: url(#htArc); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 258; stroke-dashoffset: 258; }
.s-ace .ht-fill { animation: gaugeFill 1.9s cubic-bezier(.3, .9, .3, 1) 0.4s forwards; }
@keyframes gaugeFill { to { stroke-dashoffset: 18; } }
.ht-gauge line { stroke: rgba(255, 255, 255, 0.35); stroke-width: 2; stroke-linecap: round; }
.ht-gauge line.big { stroke: rgba(255, 255, 255, 0.7); stroke-width: 3; }
.ht-gauge line.red { stroke: #FF6B6B; }
.ht-needle { transform-box: view-box; transform-origin: 100px 100px; transform: rotate(-90deg); }
.ht-needle line { stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.ht-needle circle { fill: #FFB224; stroke: #0F1222; stroke-width: 3; }
.s-ace .ht-needle { animation: needle 2s cubic-bezier(.3, 1.35, .5, 1) 0.4s forwards; }
@keyframes needle { 0% { transform: rotate(-90deg); } 70% { transform: rotate(84deg); } 82% { transform: rotate(72deg); } 90% { transform: rotate(80deg); } 100% { transform: rotate(76deg); } }
.ht-time { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: -6px; }
.ht-num { font: 700 64px/1 var(--font); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; background: linear-gradient(92deg, #FFC857, #FF8B3D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ht-time span { font: 600 18px/1 var(--font); color: var(--panel-mute); }
.ht-label { margin-top: 6px; font: 500 18px/1.35 var(--font); letter-spacing: -0.015em; color: #fff; }
.ht-label strong { color: #FFB224; font-weight: 700; }
.ht-sub { margin-top: 6px; font: 500 12px/1.4 var(--mono); color: var(--panel-mute); }
.ht-vs { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, 0.16); font-size: 13px; color: var(--panel-mute); }
.ht-vs s { color: #FF8A8A; text-decoration-thickness: 2px; }
.ht-vs i { color: #FFB224; font-size: 11px; }
.ht-vs b { color: #3DDC97; }

@container stage (max-width: 440px) {
    .hi-title { font-size: 34px; }
    .hi-sub { font-size: 14.5px; }
    .ht-card { padding: 18px 16px; }
    .ht-num { font-size: 50px; }
    .ht-label { font-size: 15.5px; }
    .ht-vs { font-size: 12px; }
}

/* ---- Replay: loud, labelled, and it pulses when the story ends ------------------------------------------------ */

.hero-replay { height: 34px; padding: 0 14px; background: #FFB224; color: #0F1222; font: 700 13px/1 var(--font); box-shadow: 0 6px 18px -6px rgba(255, 178, 36, 0.7); }
.hero-replay:hover { background: #FFC857; color: #0F1222; }
.hero-replay-big { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 24px 0 8px; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
    background: #FFB224; color: #0F1222; font: 700 15.5px/1 var(--font); box-shadow: 0 16px 34px -12px rgba(255, 178, 36, 0.75); transition: transform 0.25s ease, background 0.25s ease; }
.hero-replay-big i { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #0F1222; color: #FFB224; font-size: 14px; transition: transform 0.5s cubic-bezier(.3, 1.3, .5, 1); }
.hero-replay-big:hover { background: #FFC857; transform: translateY(-2px); }
.hero-replay-big:hover i { transform: rotate(-360deg); }
.hero-replay-big[hidden] { display: none; }
.hero-replay.pulse, .hero-replay-big.pulse { animation: replayPulse 1.6s ease-out 3; }
@keyframes replayPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 178, 36, 0.75); } 100% { box-shadow: 0 0 0 18px rgba(255, 178, 36, 0); } }

/* ---- Who gets access: the permission levels, right under the promise ---------------------------------------- */

.hero-share { margin: 0 0 26px; padding: 18px 0 0; border-top: 1px dashed rgba(255, 255, 255, 0.14); }
.hs-label { display: block; margin-bottom: 12px; font: 600 12.5px/1.3 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-light); }
.hs-levels { display: flex; flex-wrap: wrap; gap: 8px; }
.hs-levels span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font: 500 14px/1 var(--font); color: #fff;
    background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.13); backdrop-filter: blur(6px); }
.hs-levels span i { color: #FFB224; font-size: 12px; }

/* ---- The caption under the window --------------------------------------------------------------------------- */

.hero-caption { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center; }
.hero-caption .hs-track { grid-column: 1 / -1; grid-row: 1; }
.hero-caption .hero-steps { grid-column: 1; grid-row: 2; }
.hero-caption .hero-replay-big { grid-column: 2; grid-row: 2; }
.hs-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.hs-track i { position: relative; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.hs-track i::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent-light), #fff); transform: scaleX(0); transform-origin: left; }
.hs-track i.done::after { transform: none; }
.hs-track i.now::after { animation: fillBar var(--d, 1500ms) linear both; }
@keyframes fillBar { from { transform: scaleX(0); } to { transform: none; } }
.hero-steps { list-style: none; display: grid; }
.hero-steps li { grid-area: 1 / 1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.3s ease; }
.hero-steps li.now, .hero-steps[data-step="0"] li:first-child, .hero-steps[data-step="5"] li:last-child { opacity: 1; transform: none; }
.hs-no { font: 600 12px/1 var(--mono); padding: 7px 11px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.1); color: #fff; margin-top: 1px; }
.hero-steps strong { display: block; font: 600 20px/1.2 var(--font); letter-spacing: -0.02em; color: #fff; margin-bottom: 4px; }
.hero-steps li div span { font-size: 15px; line-height: 1.5; color: var(--panel-mute); }


/* ---------------------------------------------------------------------------------------------------------------------
   HOME  -  who it is for: two crossing bands
   --------------------------------------------------------------------------------------------------------------------- */

.logos-strip { position: relative; padding: 90px 0 70px; overflow: hidden; }
.logos-strip .wrap > span { display: block; text-align: center; font: 600 13.5px/1.4 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 34px; }
.logos-strip::before { content: ''; position: absolute; left: -5%; right: -5%; bottom: 96px; height: 74px; background: var(--card); transform: rotate(2.2deg); }
.personas { position: relative; margin: 0 -60px; padding: 24px 0; background: var(--accent); transform: rotate(-2deg); box-shadow: 0 30px 60px -30px rgba(79, 70, 229, 0.6); }
.marquee { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee > div { display: flex; }
.marquee span { display: inline-flex; gap: 14px; align-items: center; font: 600 32px/1 var(--font); letter-spacing: -0.03em; color: #fff; white-space: nowrap; }
.marquee span::after { content: '\2733'; font-size: 22px; color: rgba(255, 255, 255, 0.55); margin: 0 44px; }
.marquee span i { display: none; }
.personas:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }


/* ---------------------------------------------------------------------------------------------------------------------
   HOME  -  months to minutes
   --------------------------------------------------------------------------------------------------------------------- */

.halo { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, #E2E4FF 70%); color: var(--accent); font-size: 21px; box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.1); }

.speed-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; }
.speed-arrow { display: none; }
.speed-card { position: relative; border-radius: var(--r-xl); padding: 40px 40px 30px; background: var(--card); }
.speed-card .halo { margin-bottom: 34px; }
.speed-card.new { background: var(--panel-bg); color: var(--panel-mute); overflow: hidden; }
.speed-card.new .halo { background: rgba(255, 255, 255, 0.08); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.speed-top { display: flex; flex-direction: column; gap: 14px; padding-bottom: 24px; margin-bottom: 6px; border-bottom: 1px dashed var(--line-2); }
.speed-card.new .speed-top { border-color: var(--panel-line-2); }
.speed-top span { font: 600 13px/1.3 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.speed-card.new .speed-top span { color: var(--accent-light); }
.speed-top strong { font: 500 clamp(46px, 5.4vw, 80px)/1 var(--font); letter-spacing: -0.045em; color: var(--ink); }
.speed-card.old .speed-top strong { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: var(--bad); }
.speed-card.new .speed-top strong { background: linear-gradient(92deg, #FFC857, #FF8B3D); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 4px; }
.speed-card ul { list-style: none; }
.speed-card li { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px dashed var(--line-2); font-size: 16px; color: var(--ink-2); }
.speed-card li:last-child { border-bottom: 0; }
.speed-card.new li { border-color: var(--panel-line-2); color: var(--panel-mute); }
.speed-card li em { font: normal 600 15px/1.5 var(--font); color: var(--ink); white-space: nowrap; }
.speed-card.new li em { color: #fff; }

.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px; padding: 36px 10px; border-radius: var(--r-xl); background: var(--card); }
.stat-strip div { padding: 0 30px; }
.stat-strip div + div { border-left: 1px dashed var(--line-2); }
.stat-strip strong { display: block; font: 500 clamp(46px, 5.4vw, 80px)/1 var(--font); letter-spacing: -0.05em; color: var(--ink); margin-bottom: 12px; }
.stat-strip span { font-size: 15.5px; line-height: 1.5; color: var(--ink-3); }


/* ---------------------------------------------------------------------------------------------------------------------
   HOME  -  how it works: the process panel, staggered steps on a dashed line
   --------------------------------------------------------------------------------------------------------------------- */

#HowItWorks { margin: 0 15px; border-radius: 22px; background: var(--panel-bg); color: var(--panel-mute); overflow: hidden; padding: 130px 0 140px; }
#HowItWorks .section-head { display: block; text-align: center; margin: 0 auto 90px; max-width: 800px; }
#HowItWorks .eyebrow { color: var(--accent-light); justify-content: center; }
#HowItWorks .section-head h2 { color: #fff; margin: 16px 0 18px; }
#HowItWorks .section-head p { color: var(--panel-mute); margin: 0 auto; max-width: 600px; }
.split { display: block; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding-top: 64px; counter-reset: step; }
.steps::before { content: ''; position: absolute; top: 20px; left: -60px; right: -60px; border-top: 1px dashed rgba(255, 255, 255, 0.18); }
.step-card { --drop: 0px; position: relative; margin-top: var(--drop); padding: 34px 32px 38px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.07); counter-increment: step; }
.step-card:nth-child(2) { --drop: 130px; }
.step-card:nth-child(3) { --drop: 260px; }
.step-card::before { content: 'Step ' counter(step, decimal-leading-zero); position: absolute; z-index: 1; left: 50%; top: calc(-1 * var(--drop) - 64px); transform: translateX(-50%); padding: 10px 24px; border-radius: var(--pill); border: 1px dashed rgba(255, 255, 255, 0.22); background: var(--panel); color: #fff; font: 600 16px/1 var(--font); letter-spacing: -0.01em; white-space: nowrap; }
.step-card::after { content: ''; position: absolute; left: 50%; top: calc(-1 * var(--drop) - 24px); height: calc(var(--drop) + 24px); border-left: 1px dashed rgba(255, 255, 255, 0.18); }
.step-no { display: block; font: 600 clamp(72px, 7vw, 112px)/0.9 var(--font); letter-spacing: -0.05em; background: linear-gradient(180deg, #8C86FF, rgba(140, 134, 255, 0.12)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 26px; }
.step-icon { display: none; }
.step-card h3 { color: #fff; font-size: 25px; margin-bottom: 14px; }
.step-card p { color: var(--panel-mute); font-size: 16px; line-height: 1.6; }


/* ---------------------------------------------------------------------------------------------------------------------
   HOME  -  why it gets it right: white solution cards
   --------------------------------------------------------------------------------------------------------------------- */

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.feature { display: flex; flex-direction: column; min-height: 360px; padding: 30px 28px 32px; border-radius: 18px; background: var(--card); transition: transform 0.4s cubic-bezier(.2, .7, .2, 1), box-shadow 0.4s ease; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature h3 { order: 1; font-size: 23px; letter-spacing: -0.03em; }
.feature i { order: 2; align-self: center; width: 92px; height: 92px; margin: 34px 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--accent); background: radial-gradient(circle at 30% 25%, #fff, #E1E3FF 72%); box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.12), 0 14px 30px -14px rgba(79, 70, 229, 0.45); transition: transform 0.4s cubic-bezier(.3, 1.3, .5, 1); }
.feature:hover i { transform: scale(1.08) rotate(-6deg); }
.feature p { order: 3; margin-top: auto; font-size: 15.5px; line-height: 1.6; }


/* ---------------------------------------------------------------------------------------------------------------------
   HOME  -  themes
   --------------------------------------------------------------------------------------------------------------------- */

.template-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.tmpl-card { border-radius: 18px; overflow: hidden; border: 0; background: var(--card); padding: 10px; cursor: pointer; text-align: left; font: inherit; color: inherit; transition: transform 0.4s cubic-bezier(.2, .7, .2, 1), box-shadow 0.4s ease; }
.tmpl-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tmpl-card .tmpl-thumb { height: 150px; position: relative; overflow: hidden; border-radius: 12px; }
.tmpl-card .tmpl-meta { padding: 16px 10px 10px; }
.tmpl-card .tmpl-meta strong { display: block; font: 600 18px/1.25 var(--font); letter-spacing: -0.02em; color: var(--ink); margin-bottom: 4px; }
.tmpl-card .tmpl-meta span { font-size: 14px; color: var(--ink-3); line-height: 1.45; }
.tmpl-card .tmpl-lock { position: absolute; top: 10px; right: 10px; font: 600 10.5px/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--pill); background: rgba(13, 16, 32, 0.8); color: #fff; backdrop-filter: blur(6px); }
.tmpl-card .tmpl-lock.free { background: var(--amber); color: #0F1222; }


/* ---------------------------------------------------------------------------------------------------------------------
   HOME  -  sharing
   --------------------------------------------------------------------------------------------------------------------- */

.share-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.share-mode { padding: 34px 30px 36px; border-radius: 18px; background: var(--card); transition: transform 0.4s cubic-bezier(.2, .7, .2, 1), box-shadow 0.4s ease; }
.share-mode:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.share-mode:last-child { background: var(--panel-bg); }
.share-mode:last-child h3 { color: #fff; }
.share-mode:last-child p { color: var(--panel-mute); }
.share-mode:last-child .halo { background: rgba(255, 255, 255, 0.08); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.share-mode .halo { margin-bottom: 44px; }
.share-mode h3 { font-size: 24px; margin-bottom: 12px; }
.share-mode p { font-size: 15.5px; line-height: 1.6; }


/* ---------------------------------------------------------------------------------------------------------------------
   HOME  -  questions and the closing call
   --------------------------------------------------------------------------------------------------------------------- */

.faq-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 70px; align-items: start; }
.faq-split .section-head { display: block; position: sticky; top: 130px; margin: 0; }
.faq-split .section-head h2 { margin-top: 16px; }
.faq details { margin-bottom: 14px; padding: 0 28px; border-radius: 16px; background: var(--card); transition: background 0.35s ease, box-shadow 0.3s ease; }
.faq details[open] { background: var(--accent); box-shadow: 0 24px 50px -24px rgba(79, 70, 229, 0.7); }
.faq details[open] summary, .faq details[open] p { color: #fff; }
.faq details[open] p { color: rgba(255, 255, 255, 0.86); }
.faq details[open] a { color: #fff; text-decoration: underline; }
.faq summary { cursor: pointer; padding: 24px 0; font: 600 19px/1.35 var(--font); letter-spacing: -0.02em; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '\2b'; font: 900 14px/1 'Font Awesome 6 Pro'; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--accent); color: var(--accent); transition: transform 0.35s cubic-bezier(.3, 1.3, .5, 1), border-color 0.3s ease, color 0.3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); border-color: #fff; color: #fff; }
.faq details p { padding: 0 60px 26px 0; font-size: 16px; line-height: 1.7; }

.cta-band { margin: 0 15px 15px; border-radius: 22px; padding: 110px 0; background: var(--panel-bg); overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px 60px; align-items: center; padding: 60px 60px; max-width: 1240px; border-radius: 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); }
.cta-band h2 { grid-row: span 2; color: #fff; font-size: clamp(38px, 4.6vw, 66px); letter-spacing: -0.045em; }
.cta-band p { color: var(--panel-mute); font-size: 18px; line-height: 1.6; }
.cta-band .btn { justify-self: start; }


/* ---------------------------------------------------------------------------------------------------------------------
   PRICING
   --------------------------------------------------------------------------------------------------------------------- */

.period-toggle { display: inline-flex; gap: 4px; padding: 5px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); margin-top: 34px; }
.period-toggle button { border: 0; background: transparent; padding: 13px 24px; border-radius: var(--pill); font: 600 15px/1 var(--font); color: #fff; cursor: pointer; transition: all 0.25s ease; }
.period-toggle button.active { background: var(--accent); color: #fff; }
.period-toggle em { font: normal 600 11px/1 var(--font); color: #0F1222; background: var(--amber); padding: 4px 7px; border-radius: var(--pill); margin-left: 8px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 30px; border-radius: 22px; background: var(--panel-bg); overflow: hidden; }
.pricing-grid::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--panel-rules); -webkit-mask: linear-gradient(90deg, #000, transparent 18%, transparent 82%, #000); mask: linear-gradient(90deg, #000, transparent 18%, transparent 82%, #000); }
.price-card { position: relative; display: flex; flex-direction: column; padding: 34px 32px 32px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--panel-mute); }
.price-card:last-child { background: var(--panel-3); border-color: transparent; }
.price-card.featured { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
.price-card .badge { position: absolute; top: 30px; right: 28px; background: var(--amber); color: #0F1222; font: 700 11px/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 11px; border-radius: var(--pill); }
.price-card h3 { font: 600 24px/1.2 var(--font); letter-spacing: -0.02em; color: #fff; }
.price-card .tagline { font-size: 15px; color: var(--panel-mute); margin: 6px 0 28px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.price strong { font: 600 62px/1 var(--font); letter-spacing: -0.05em; color: #fff; }
.price span { color: var(--panel-mute); font-size: 15px; }
.price-note { font-size: 14px; color: var(--panel-mute); min-height: 22px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px dashed rgba(255, 255, 255, 0.16); }
.price-note .save { color: var(--amber); font-weight: 600; }
.price-card ul { list-style: none; margin: 0 0 32px; display: grid; gap: 14px; }
.price-card li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.45; color: #fff; }
.price-card li i { flex-shrink: 0; margin-top: 3px; font-size: 12px; color: var(--accent-light); }
.price-card .btn { margin-top: auto; height: 56px; width: 100%; justify-content: center; padding-left: 50px; }
.price-card .btn-secondary, .price-card .btn-ghost { background: var(--accent); color: #fff; border-color: transparent; }
.price-card .btn-secondary:hover, .price-card .btn-ghost:hover { background: var(--accent-2); color: #fff; }
.price-card .btn:disabled { background: rgba(255, 255, 255, 0.1); }
.price-card .current { text-align: center; font-size: 14px; color: var(--good); font-weight: 600; margin-top: 12px; }

.compare { margin: 110px 0 130px; }
.compare .section-head h2 { margin-bottom: 0; }
.compare .table-scroll { border-radius: 20px; background: var(--card); padding: 10px 28px; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 16px 16px; border-bottom: 1px dashed var(--line-2); text-align: center; font-size: 15.5px; color: var(--ink-2); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--ink); padding-left: 0; }
.compare-table thead th { font: 600 21px/1.2 var(--font); letter-spacing: -0.02em; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-top: 20px; padding-bottom: 18px; }
.compare-table .yes { color: var(--accent); }
.compare-table .no { color: var(--muted); }


/* ---------------------------------------------------------------------------------------------------------------------
   CREATE  -  the build wizard
   --------------------------------------------------------------------------------------------------------------------- */

.create-wrap { padding-top: 30px; padding-bottom: 110px; }
.create-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.create-head h1 { font-size: clamp(40px, 5vw, 72px); letter-spacing: -0.045em; }
.stepper { list-style: none; display: flex; gap: 4px; padding: 5px; border-radius: var(--pill); background: var(--card); }
.stepper li { display: flex; align-items: center; gap: 9px; font: 600 14px/1 var(--font); color: var(--ink-3); padding: 9px 16px 9px 9px; border-radius: var(--pill); }
.stepper li span { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg); font-size: 12.5px; }
.stepper li.active { color: #fff; background: var(--accent); }
.stepper li.active span { background: #fff; color: var(--accent); }
.stepper li.done { color: var(--ink); }
.stepper li.done span { background: var(--good); color: #fff; }

.dropzone {
    position: relative; display: block; text-align: center; padding: 80px 24px 72px; border-radius: 22px;
    border: 2px dashed rgba(79, 70, 229, 0.3); background: var(--card); cursor: pointer; transition: all 0.3s ease;
}
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: #F4F4FF; }
[data-theme="dark"] .dropzone:hover, [data-theme="dark"] .dropzone.drag { background: var(--bg-3); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dz-icon { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 34px; color: var(--accent); background: radial-gradient(circle at 30% 25%, #fff, #E1E3FF 72%); box-shadow: 0 18px 36px -16px rgba(79, 70, 229, 0.5); transition: transform 0.4s cubic-bezier(.3, 1.3, .5, 1); }
.dropzone:hover .dz-icon { transform: translateY(-6px) scale(1.05); }
.dropzone h2 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 10px; }
.dropzone .link { color: var(--accent); font-weight: 600; }
.dz-limit { font-size: 14px; color: var(--ink-3); margin-top: 12px; }
.dz-progress { display: none; max-width: 420px; margin: 24px auto 0; }
.dropzone.busy .dz-progress { display: block; }
.dz-bar { height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden; margin-bottom: 8px; }
.dz-bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.2s ease; }
.dz-progress > span { font-size: 14px; color: var(--ink-3); }

.samples { margin-top: 40px; }
.samples-label { display: flex; align-items: center; gap: 10px; font: 600 13.5px/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.samples-label::before { content: '\f1b2'; font: 900 13px/1 'Font Awesome 6 Pro'; }
.sample-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sample-card { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; text-align: left; padding: 20px; border-radius: 18px; border: 0; background: var(--card); cursor: pointer; font: inherit; color: var(--ink); transition: transform 0.35s cubic-bezier(.2, .7, .2, 1), box-shadow 0.35s ease; }
.sample-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sample-card i { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, #E1E3FF 72%); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.sample-card strong { font: 600 17px/1.3 var(--font); letter-spacing: -0.015em; }
.sample-card span { font-size: 13.5px; color: var(--ink-3); }

.assurance { display: flex; justify-content: center; gap: 12px 30px; flex-wrap: wrap; margin-top: 34px; font-size: 14.5px; color: var(--ink-2); }
.assurance i { color: var(--accent); margin-right: 8px; }

.review-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 24px; }
.review-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.review-warnings .notice { margin-bottom: 10px; }
.review-joins { margin-bottom: 24px; }
.join-list { display: grid; gap: 10px; }
.join-item { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; background: var(--card); font-size: 15px; }
.join-item code { font: 500 12.5px/1.3 var(--mono); background: var(--bg); padding: 4px 8px; border-radius: 6px; color: var(--ink); }
.join-item .arrow { color: var(--accent); }
.join-item .cov { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--good); }
.join-item .cov.weak { color: var(--warn); }

.review-tables { display: grid; gap: 14px; }
.rt { border-radius: 18px; background: var(--card); overflow: hidden; }
.rt.excluded { opacity: 0.55; }
.rt-head { display: flex; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; }
.rt-head .rt-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.rt-head h3 { font-size: 19px; }
.rt-head .rt-meta { font-size: 13.5px; color: var(--ink-3); }
.rt-head .rt-toggle { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.rt-body { display: none; border-top: 1px solid var(--line); }
.rt.open .rt-body { display: block; }
.rt-notes { padding: 12px 22px; font-size: 14px; color: var(--ink-2); background: var(--bg); border-bottom: 1px solid var(--line); }
.rt-notes i { color: var(--accent); margin-right: 6px; }
.col-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.col-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: var(--pill); background: var(--bg); font-size: 13px; color: var(--ink); }
.col-chip .t { font: 600 9.5px/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 6px; border-radius: var(--pill); background: var(--bg-3); color: var(--ink-3); }
.col-chip .t.number, .col-chip .t.integer { background: rgba(79, 70, 229, 0.12); color: var(--accent); }
.col-chip .t.date, .col-chip .t.datetime { background: rgba(124, 58, 237, 0.12); color: #7C3AED; }
.col-chip .t.string { background: var(--good-bg); color: var(--good); }
.col-chip .t.boolean { background: var(--warn-bg); color: var(--warn); }
.col-chip .k { color: var(--warn); font-size: 11px; }

.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--bg-3); border-radius: 999px; transition: 0.25s; cursor: pointer; }
.switch span::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: 0.25s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::before { transform: translateX(20px); }

.template-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 20px 0 28px; }
.template-picker .tmpl-card.selected { box-shadow: 0 0 0 3px var(--accent); }
.template-picker .tmpl-card.locked { opacity: 0.6; }

.instructions-box { background: var(--card); border-radius: 18px; padding: 24px; }
.instructions-box label { display: block; font: 600 16px/1.4 var(--font); color: var(--ink); margin-bottom: 12px; }
.instructions-box label i { color: var(--accent); margin-right: 8px; }
.build-bar { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.build-stage { max-width: 600px; margin: 40px auto; text-align: center; }
.build-orb { position: relative; width: 128px; height: 128px; margin: 0 auto 36px; border-radius: 50%; background: var(--panel-bg); display: flex; align-items: center; justify-content: center; color: var(--amber); font-size: 40px; box-shadow: 0 30px 60px -20px rgba(79, 70, 229, 0.6); animation: orbPulse 2.4s ease-in-out infinite; }
.orb-ring { position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(79, 70, 229, 0.35); animation: orbRing 2.4s ease-out infinite; }
.orb-ring.r2 { animation-delay: 1.2s; }
@keyframes orbPulse { 50% { transform: scale(1.04); } }
@keyframes orbRing { from { transform: scale(0.9); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.build-status { font-size: 16.5px; color: var(--ink-2); margin: 12px 0 22px; min-height: 26px; }
.build-meter { height: 8px; border-radius: 999px; background: var(--card); overflow: hidden; margin-bottom: 28px; }
.build-meter span { display: block; height: 100%; width: 3%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 0.8s ease; }
.build-checklist { list-style: none; text-align: left; display: grid; gap: 12px; max-width: 440px; margin: 0 auto 16px; }
.build-checklist li { display: flex; gap: 14px; align-items: center; color: var(--ink-3); font-size: 15.5px; }
.build-checklist li.done { color: var(--ink); }
.build-checklist li.done i { color: var(--good); }
.build-checklist li.now { color: var(--ink); font-weight: 600; }
.build-checklist li.now i { color: var(--accent); }


/* ---------------------------------------------------------------------------------------------------------------------
   MEMBER AREA
   --------------------------------------------------------------------------------------------------------------------- */

.member-layout { max-width: 1320px; margin: 0 auto; padding: 20px 40px 110px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; }
.member-nav { position: sticky; top: 120px; align-self: start; display: grid; gap: 2px; padding: 10px; border-radius: 20px; background: var(--card); }
.member-nav .mn-plan { padding: 20px; border-radius: 14px; background: var(--panel-bg); color: var(--panel-mute); margin-bottom: 8px; }
.member-nav .mn-plan span { font-size: 12.5px; color: var(--panel-mute); display: block; }
.member-nav .mn-plan strong { display: block; font: 600 26px/1.2 var(--font); letter-spacing: -0.03em; color: #fff; margin: 2px 0; }
.member-nav .mn-plan a { display: inline-block; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--amber); }
.member-nav > a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; color: var(--ink-2); font: 500 15.5px/1.2 var(--font); text-decoration: none; transition: all 0.2s ease; }
.member-nav > a i { width: 18px; text-align: center; color: var(--ink-3); }
.member-nav > a:hover { background: var(--bg); color: var(--ink); }
.member-nav > a.active { background: var(--accent-soft); color: var(--accent); }
.member-nav > a.active i { color: var(--accent); }

.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.page-head h1 { font-size: clamp(36px, 4.2vw, 56px); letter-spacing: -0.045em; }
.page-head h2 { font-size: 30px; }

.panel { background: var(--card); border-radius: 20px; padding: 34px; margin-bottom: 20px; }
.panel h2 { font-size: 26px; margin-bottom: 22px; }
.panel-danger { box-shadow: inset 0 0 0 1px rgba(210, 60, 60, 0.3); }
.panel-danger p { margin-bottom: 18px; }
.sub-head { font-size: 18px; margin: 24px 0 16px; padding-top: 22px; border-top: 1px dashed var(--line-2); }

.dash-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.dcard { position: relative; border-radius: 20px; background: var(--card); padding: 10px; overflow: hidden; transition: transform 0.4s cubic-bezier(.2, .7, .2, 1), box-shadow 0.4s ease; cursor: pointer; }
.dcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dcard-thumb { height: 160px; position: relative; overflow: hidden; border-radius: 12px; }
.dcard-body { padding: 16px 10px 4px; }
.dcard-body h3 { font-size: 18px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dcard-body p { font-size: 13.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dcard-foot { display: flex; align-items: center; gap: 10px; padding: 10px 10px 8px; font-size: 13px; color: var(--ink-3); flex-wrap: wrap; }
.dcard-menu { position: absolute; top: 18px; right: 18px; z-index: 2; }
.dcard-menu > button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(13, 16, 32, 0.7); color: #fff; cursor: pointer; backdrop-filter: blur(6px); }
.dcard-menu .menu { right: 0; top: 40px; }
.dcard-new { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 270px; border: 2px dashed rgba(79, 70, 229, 0.3); background: transparent; color: var(--ink); font: 600 17px/1 var(--font); }
.dcard-new i { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, #E1E3FF 72%); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 70px 24px; border-radius: 22px; background: var(--card); }
.empty-state i { font-size: 30px; color: var(--accent); margin-bottom: 22px; width: 88px; height: 88px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, #E1E3FF 72%); display: inline-flex; align-items: center; justify-content: center; }
.empty-state h2 { font-size: 34px; margin-bottom: 10px; }
.empty-state p { margin: 0 auto 24px; max-width: 520px; }

.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--font); padding: 6px 10px; border-radius: var(--pill); background: var(--bg); color: var(--ink-2); }
.chip.good { background: var(--good-bg); color: var(--good); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.bad { background: var(--bad-bg); color: var(--bad); }
.chip.brand { background: var(--accent-soft); color: var(--accent); }

.menu { position: absolute; min-width: 200px; padding: 6px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: none; z-index: 30; }
.menu.open { display: block; }
.menu a, .menu button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 0; background: none; color: var(--ink-2); font: 500 14.5px/1.2 var(--font); cursor: pointer; text-align: left; text-decoration: none; }
.menu a:hover, .menu button:hover { background: var(--bg); color: var(--ink); }
.menu a i, .menu button i { width: 16px; text-align: center; color: var(--accent); }
.menu .danger, .menu .danger i { color: var(--bad); }

.plan-hero { overflow: hidden; display: flex; justify-content: space-between; gap: 24px; align-items: center; flex-wrap: wrap; padding: 40px 44px; border-radius: 22px; color: var(--panel-mute); margin-bottom: 20px; background: var(--panel-bg); }
.plan-hero span { font-size: 13.5px; color: var(--accent-light); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.plan-hero h2 { color: #fff; font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -0.045em; margin: 8px 0 10px; }
.plan-hero p { color: var(--panel-mute); }
.plan-hero .btn { height: 56px; }
.usage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.usage { padding: 26px; border-radius: 20px; background: var(--card); }
.usage span { font-size: 13.5px; color: var(--ink-3); font-weight: 500; }
.usage strong { display: block; font: 600 42px/1.1 var(--font); letter-spacing: -0.045em; color: var(--ink); margin: 10px 0 14px; }
.usage strong small { font: 500 14px var(--font); color: var(--ink-3); letter-spacing: 0; }
.meter { height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.meter.warn span { background: var(--amber); }
.meter.full span { background: var(--bad); }


/* ---------------------------------------------------------------------------------------------------------------------
   FORMS
   --------------------------------------------------------------------------------------------------------------------- */

.field { margin-bottom: 18px; }
.field label { display: block; font: 600 14px/1.4 var(--font); color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea, textarea, .input {
    width: 100%; height: 54px; padding: 0 20px; border-radius: 14px; border: 1px solid transparent; background: var(--input);
    color: var(--ink); font: 400 16px/1.4 var(--font); transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; outline: none;
}
textarea, .field textarea { height: auto; padding: 14px 20px; resize: vertical; }
.field input:focus, .field select:focus, textarea:focus, .input:focus { border-color: var(--accent); background: var(--card); box-shadow: 0 0 0 4px var(--focus); }
.field.has-error input { border-color: var(--bad); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.three { grid-template-columns: 2fr 1.3fr 1fr; }
.field-row { display: flex; justify-content: flex-end; margin: -6px 0 18px; font-size: 14px; }
.check { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); margin: 8px 0 22px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }

.auth-wrap { min-height: calc(100vh - 30px); margin: 15px; border-radius: 22px; display: flex; align-items: center; justify-content: center; padding: 140px 20px 70px; background: var(--panel-bg); overflow: hidden; }
.form-card { width: 100%; max-width: 480px; padding: 46px 42px; border-radius: 22px; background: var(--card); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.7); margin: 0 auto; }
.form-header { text-align: center; margin-bottom: 30px; }
.form-header h1, .form-header h2 { font-size: 36px; letter-spacing: -0.04em; margin: 22px 0 8px; }
.form-icon { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, #E1E3FF 72%); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 16px 34px -14px rgba(79, 70, 229, 0.5); }
.form-card .btn-block { height: 56px; margin-top: 6px; }
.form-footer { text-align: center; margin-top: 24px; font-size: 15px; color: var(--ink-3); }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; font-size: 15px; line-height: 1.55; }
.notice i { margin-top: 4px; }
.notice-warn { background: var(--warn-bg); color: var(--warn); }
.notice-info { background: var(--accent-soft); color: var(--brand-ink); }
.notice-good { background: var(--good-bg); color: var(--good); }
.notice-bad { background: var(--bad-bg); color: var(--bad); }


/* ---------------------------------------------------------------------------------------------------------------------
   TABLES
   --------------------------------------------------------------------------------------------------------------------- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th { text-align: left; font: 600 12px/1.2 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding: 12px 14px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.data-table td { padding: 16px 14px; border-bottom: 1px dashed var(--line-2); color: var(--ink-2); vertical-align: middle; }
.data-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table .empty { text-align: center; color: var(--ink-3); padding: 36px 12px; }


/* ---------------------------------------------------------------------------------------------------------------------
   CHECKOUT / INVOICE
   --------------------------------------------------------------------------------------------------------------------- */

.checkout-wrap { padding-top: 30px; padding-bottom: 110px; }
.checkout-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; }
.checkout-summary h1 { font-size: clamp(40px, 5vw, 68px); letter-spacing: -0.045em; }
.order-card { margin: 24px 0; padding: 28px; border-radius: 20px; background: var(--card); }
.order-line { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--line-2); }
.order-line strong { display: block; font: 600 18px/1.3 var(--font); color: var(--ink); }
.order-line span { font-size: 14px; color: var(--ink-3); }
.order-total { display: flex; justify-content: space-between; padding-top: 16px; font: 600 24px/1.2 var(--font); letter-spacing: -0.03em; color: var(--ink); }
.order-tax { display: flex; justify-content: space-between; padding-top: 8px; font-size: 14px; color: var(--ink-3); }
.order-switch { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.checkout-assure { list-style: none; display: grid; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.checkout-assure i { color: var(--accent); width: 22px; }
.pay-card { padding: 38px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-lg); }
.pay-card h2 { font-size: 28px; margin-bottom: 8px; }
#PayPalButtons { margin: 24px 0 16px; min-height: 60px; }

.success-card { max-width: 680px; margin: 40px auto; text-align: center; padding: 56px 44px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-lg); }
.success-icon { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--good); background: var(--good-bg); }
.receipt { display: grid; gap: 12px; margin: 28px auto; max-width: 420px; text-align: left; }
.receipt div { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px dashed var(--line-2); font-size: 15px; }
.receipt span { color: var(--ink-3); }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }

.invoice-wrap { padding-top: 30px; padding-bottom: 110px; max-width: 900px; }
.invoice-tools { display: flex; justify-content: space-between; margin-bottom: 22px; }
.invoice-doc { background: #fff; color: #111827; border-radius: 18px; box-shadow: var(--shadow); padding: 52px 56px; font-size: 14.5px; line-height: 1.6; }
.invoice-doc h1 { color: #111827; font-size: 34px; }
.invoice-doc p, .invoice-doc td, .invoice-doc span { color: #374151; }
.inv-top { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.inv-brand { display: flex; align-items: center; gap: 10px; font: 800 22px/1 'Sora', var(--display); letter-spacing: -0.035em; color: #111827; margin-bottom: 16px; }
.inv-brand .w-dashboard { color: #0F1222; }
.inv-brand .w-ace { color: #D97706; }
.inv-meta { text-align: right; }
.inv-meta div { margin-bottom: 4px; }
.inv-meta strong { color: #111827; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; padding: 22px 0; border-top: 1px solid #E5E7EB; border-bottom: 1px solid #E5E7EB; }
.inv-parties h4 { font: 600 11px/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: #4F46E5; margin-bottom: 12px; }
.inv-parties strong { color: #111827; }
.inv-lines { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.inv-lines th { text-align: left; font: 600 11px/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: #6B7280; padding: 12px 0; border-bottom: 1px solid #D1D5DB; }
.inv-lines td { padding: 15px 0; border-bottom: 1px solid #F3F4F6; }
.inv-lines .r { text-align: right; }
.inv-totals { margin-left: auto; width: 300px; }
.inv-totals div { display: flex; justify-content: space-between; padding: 7px 0; }
.inv-totals .grand { border-top: 2px solid #111827; margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: 17px; color: #111827; }
.inv-paid { display: inline-flex; gap: 8px; align-items: center; margin-top: 30px; padding: 10px 16px; border-radius: 999px; background: #ECFDF5; color: #047857 !important; font-weight: 600; }
.inv-foot { margin-top: 36px; padding-top: 18px; border-top: 1px solid #E5E7EB; font-size: 12.5px; color: #6B7280; }


/* ---------------------------------------------------------------------------------------------------------------------
   SUPPORT / PROSE
   --------------------------------------------------------------------------------------------------------------------- */

.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 110px; }
.support-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 34px 28px 38px; border-radius: 20px; background: var(--card); transition: transform 0.4s cubic-bezier(.2, .7, .2, 1), box-shadow 0.4s ease; }
.support-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.support-item i { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--accent); background: #DEE1FA; }
[data-theme="dark"] .support-item i { background: var(--accent-soft); }
.support-item strong { display: block; font: 600 22px/1.3 var(--font); letter-spacing: -0.02em; color: var(--ink); word-break: break-word; margin-bottom: 6px; }
.support-item span { font-size: 15.5px; color: var(--ink-2); }

.contact-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 30px; align-items: stretch; margin-bottom: 110px; }
.contact-form { padding: 50px 50px 46px; margin: 0; }
.contact-form h2 { font-size: clamp(30px, 3vw, 42px); font-weight: 500; letter-spacing: -0.04em; margin-bottom: 34px; }
.contact-form .field label { font-size: 15px; font-weight: 500; color: var(--ink-3); margin-bottom: 0; }
.contact-form .field input, .contact-form .field textarea { background: transparent; border: 0; border-bottom: 1px dashed var(--line-2); border-radius: 0; padding-left: 0; padding-right: 0; height: 48px; }
.contact-form .field textarea { height: auto; padding-top: 12px; }
.contact-form .field input:focus, .contact-form .field textarea:focus { box-shadow: none; border-bottom: 1.5px solid var(--accent); background: transparent; }
.contact-form .form-row { gap: 30px; }
.contact-form .btn { margin-top: 12px; }
.contact-cta { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 46px 42px; border-radius: 20px; color: var(--panel-mute);
    background: linear-gradient(180deg, rgba(30, 27, 90, 0.55), rgba(13, 16, 32, 0.95) 70%), url(/images/banner-dashboards.jpg) 30% center / cover, #0D1020; }
.contact-cta .eyebrow { color: var(--accent-light); }
.contact-cta h3 { color: #fff; font-size: clamp(28px, 2.6vw, 38px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; }
.contact-cta p { color: rgba(255, 255, 255, 0.78); margin-bottom: 10px; }
.contact-cta .btn { align-self: flex-start; }

.prose-page { padding-bottom: 110px; }
.prose { font-size: 17.5px; line-height: 1.8; }
.prose h2 { font-size: 30px; margin: 46px 0 14px; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 16px; }
.prose ul { padding-left: 22px; }
.prose li::marker { color: var(--accent); }


/* ---------------------------------------------------------------------------------------------------------------------
   FOOTER  -  a dark panel
   --------------------------------------------------------------------------------------------------------------------- */

.footer { margin: 0 15px 15px; border-radius: 22px; background: var(--panel-bg); color: var(--panel-mute); padding: 100px 0 0; overflow: hidden; }
#page-home.active ~ .footer { margin-top: 0; }
.footer .w-dashboard { color: #fff; }
.footer .w-ace { color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 24px; font-size: 16px; line-height: 1.65; max-width: 380px; color: var(--panel-mute); }
.footer-col h4 { font: 600 21px/1.2 var(--font); letter-spacing: -0.02em; color: #fff; margin-bottom: 26px; }
.footer-col a { display: block; color: var(--panel-mute); font-size: 16.5px; margin-bottom: 14px; transition: color 0.2s ease, transform 0.2s ease; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-giant { display: none; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: var(--panel-mute); cursor: pointer; }
.footer-legal a + a { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.footer-legal a:hover { color: #fff; }
.footer-copy { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 80px; padding-top: 26px; padding-bottom: 28px; border-top: 1px dashed rgba(255, 255, 255, 0.14); font-size: 14.5px; color: var(--panel-mute); }


/* ---------------------------------------------------------------------------------------------------------------------
   OVERLAYS  -  toasts, dialogs, modals, loading
   --------------------------------------------------------------------------------------------------------------------- */

.loading-overlay { position: fixed; inset: 0; z-index: 200; background: color-mix(in srgb, var(--bg) 60%, transparent); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--accent-soft); border-top-color: var(--accent); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; display: flex; gap: 12px; align-items: center;
    padding: 14px 22px; border-radius: 999px; background: rgba(13, 16, 32, 0.92); color: #fff; font-size: 15px; backdrop-filter: blur(10px); box-shadow: 0 20px 50px -14px rgba(0, 0, 0, 0.5); transition: all 0.3s ease; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast i { font-size: 15px; }
.toast.success i { color: #3DDC97; }
.toast.error i { color: #FF6B6B; }
.toast.warning i { color: var(--amber); }
.toast.info i { color: var(--accent-light); }

.modal-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(13, 16, 32, 0.5); backdrop-filter: blur(8px); display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px; overflow-y: auto; opacity: 0; transition: opacity 0.25s ease; }
.modal-overlay.show { opacity: 1; }
.modal { width: 100%; max-width: 580px; background: var(--card); color: var(--ink); border-radius: 22px; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.6); transform: translateY(14px) scale(0.99); transition: transform 0.3s cubic-bezier(.2, .7, .2, 1); }
.modal-overlay.show .modal { transform: none; }
.modal.wide { max-width: 980px; }
.modal.xl { max-width: 1200px; }
.modal-head { display: flex; align-items: center; gap: 14px; padding: 22px 28px; border-bottom: 1px dashed var(--line-2); }
.modal-head h2 { font-size: 24px; letter-spacing: -0.03em; font-weight: 600; }
.modal-head .icon-btn { margin-left: auto; }
.modal-body { padding: 26px 28px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 28px; border-top: 1px dashed var(--line-2); flex-wrap: wrap; }
.modal-foot .left { margin-right: auto; }
.dialog-message { color: var(--ink-2); margin-bottom: 18px; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.ask-chip { display: inline-flex; align-items: center; gap: 8px; text-align: left; padding: 9px 14px; border-radius: 999px; border: 0; background: var(--bg); color: var(--ink-2); font: 500 14px/1.35 var(--font); cursor: pointer; transition: all 0.2s ease; }
.ask-chip i { color: var(--accent); font-size: 12px; }
.ask-chip:hover { background: var(--accent-soft); color: var(--accent); }
.dialog-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.modal.danger .dialog-icon { background: var(--bad-bg); color: var(--bad); }


/* ---------------------------------------------------------------------------------------------------------------------
   THEME CARDS, PICKER, SHOWCASE, PRICING VALUE STRIP
   --------------------------------------------------------------------------------------------------------------------- */

.theme-card { border-radius: 16px; border: 0; box-shadow: 0 1px 2px rgba(15, 18, 34, 0.06); }
.theme-card:hover, .theme-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
.theme-card.current { box-shadow: 0 0 0 3px var(--accent); }
.theme-new { border: 2px dashed rgba(79, 70, 229, 0.3); }
.theme-filters button { border-radius: 999px; border: 0; background: var(--card); color: var(--ink-2); font: 600 14px/1 var(--font); padding: 11px 18px; }
.theme-filters button.active { background: var(--accent); color: #fff; box-shadow: none; }
.theme-filters button.new { background: var(--accent-soft); color: var(--accent); }

.value-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 60px 0 10px; }
.value-strip div { display: flex; flex-direction: column; gap: 10px; padding: 32px 30px; border-radius: 20px; background: var(--card); }
.value-strip i { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 22px; margin-bottom: 20px; background: radial-gradient(circle at 30% 25%, #fff, #E1E3FF 72%); }
.value-strip strong { font: 600 22px/1.25 var(--font); letter-spacing: -0.02em; color: var(--ink); }
.value-strip span { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }

.theme-filters.centered { justify-content: center; margin-bottom: 28px; }
.showcase-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.showcase-head > div { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.showcase-head strong { font: 600 34px/1.1 var(--font); letter-spacing: -0.04em; color: var(--ink); }
.showcase-head span:not(.chip) { color: var(--ink-3); font-size: 15.5px; }
.showcase-head p { margin: 0; font-size: 14px; color: var(--ink-3); }
.template-live { padding: 10px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.showcase-grid { margin-top: 50px; }
.own-theme-band { overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 70px 0 110px; padding: 54px 56px; border-radius: 22px; color: var(--panel-mute); background: var(--panel-bg); }
.own-theme-band h2 { font-size: clamp(32px, 3.8vw, 54px); margin: 0 0 14px; color: #fff; }
.own-theme-band h2 i { color: var(--amber); margin-right: 10px; font-size: 0.7em; }
.own-theme-band p { margin: 0; color: var(--panel-mute); max-width: 680px; }
.own-theme-band .btn { flex-shrink: 0; height: 56px; }
.picker-grid { margin: 20px 0 30px; }


/* ---------------------------------------------------------------------------------------------------------------------
   IN VIEW  -  headings fill in and cards rise as they scroll into view (where the browser supports scroll timelines)
   --------------------------------------------------------------------------------------------------------------------- */

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .section-head h2 {
            background: linear-gradient(90deg, var(--ink) 0 45%, var(--head-fade) 55% 100%) 100% 0 / 220% 100% no-repeat;
            -webkit-background-clip: text; background-clip: text; color: transparent;
            animation: fillText linear both; animation-timeline: view(); animation-range: entry 15% cover 42%;
        }
        #HowItWorks .section-head h2 { background-image: linear-gradient(90deg, #fff 0 45%, rgba(255, 255, 255, 0.28) 55% 100%); }
        @keyframes fillText { to { background-position: 0 0; } }

        .feature, .step-card, .tmpl-card, .share-mode, .speed-card, .price-card, .stat-strip, .value-strip div, .faq details {
            animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
        }
        @keyframes rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
    }
}


/* ---------------------------------------------------------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------------------------------------------------------- */

@media (max-width: 1240px) {
    .nav-inner { gap: 20px; }
    .nav-links a { padding: 10px 10px; font-size: 15px; }
    .template-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .share-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "body"; grid-template-rows: auto; row-gap: 36px; }
    .hero-head h1 { font-size: clamp(42px, 7.6vw, 80px); }
    .section-head { grid-template-columns: minmax(0, 1fr); }
    .section-head > p { grid-column: 1; grid-row: 3; margin-top: 16px; }
    .faq-split { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    .faq-split .section-head { position: static; }
    .speed-compare { grid-template-columns: minmax(0, 1fr); }
    .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
    .stat-strip div:nth-child(3) { border-left: 0; }
    .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 0; }
    .steps::before { display: none; }
    .step-card, .step-card:nth-child(2), .step-card:nth-child(3) { --drop: 0px; }
    .step-card::before { position: static; display: inline-block; transform: none; margin-bottom: 20px; }
    .step-card::after { display: none; }
    .value-strip { grid-template-columns: minmax(0, 1fr); }
    .pricing-grid { grid-template-columns: minmax(0, 1fr); }
    .cta-band .wrap { grid-template-columns: minmax(0, 1fr); }
    .cta-band h2 { grid-row: auto; }
}

@media (max-width: 900px) {
    :root { --nav-h: 60px; }
    .nav { top: 14px; width: calc(100% - 28px); }
    .nav.solid { top: 10px; }
    .nav-inner { padding: 0 8px 0 14px; gap: 10px; }
    .nav-links { display: none; }
    .mobile-toggle { display: inline-flex; }
    .btn-nav { width: 44px; height: 44px; padding: 0; gap: 0; }
    .btn-nav span { display: none; }
    .btn-nav > i { display: inline-block; }
    .btn-nav::after { display: none; }
    .usage-grid, .support-grid { grid-template-columns: minmax(0, 1fr); }
    .member-layout { grid-template-columns: minmax(0, 1fr); padding-top: 10px; gap: 20px; }
    .member-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 6px; }
    .member-nav .mn-plan { display: none; }
    .member-nav > a { white-space: nowrap; }
    .checkout-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .sample-cards { grid-template-columns: minmax(0, 1fr); }
    .inv-top, .inv-parties { grid-template-columns: 1fr; flex-direction: column; }
    .inv-meta { text-align: left; }
    .invoice-doc { padding: 30px 24px; }
    .own-theme-band { flex-direction: column; align-items: flex-start; padding: 40px 30px; }
}

@media (max-width: 720px) {
    .wrap { padding: 0 18px; }
    .nav-signin { display: none; }
    .tier-pill { display: none; }
    .brand-name { font-size: 21px; }
    .page { padding-top: 96px; }
    .section { padding: 84px 0; }
    .section-head { margin-bottom: 40px; }
    .hero { margin: 8px; border-radius: 18px; padding: 110px 0 56px; }
    .hero-head h1 { font-size: clamp(36px, 11vw, 58px); }
    .hero-caption { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
    .hero-caption .hero-replay-big { grid-column: 1; grid-row: 3; justify-self: stretch; justify-content: center; }
    .hero-cta .btn { width: 100%; justify-content: space-between; padding-left: 24px; }
    .play-btn { width: 100%; }
    .hero-demo { padding: 6px; border-radius: 16px; }
    .browser { border-radius: 11px; }
    .browser-body { height: 500px; }
    .hero-steps strong { font-size: 18px; }
    .hero-steps li div span { font-size: 14.5px; }
    .logos-strip { padding: 60px 0 50px; }
    .marquee span { font-size: 24px; }
    .marquee span::after { margin: 0 28px; }
    .speed-card { padding: 30px 22px 22px; }
    .speed-card li { flex-wrap: wrap; gap: 2px 16px; }
    .stat-strip { grid-template-columns: minmax(0, 1fr); }
    .stat-strip div, .stat-strip div + div { border-left: 0; padding: 0 20px; }
    .stat-strip div + div { border-top: 1px dashed var(--line-2); padding-top: 24px; }
    #HowItWorks { margin: 0 8px; border-radius: 18px; padding: 84px 0 90px; }
    .template-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .tmpl-card .tmpl-thumb { height: 110px; }
    .feature-grid, .share-modes { grid-template-columns: minmax(0, 1fr); }
    .feature { min-height: 0; }
    .pricing-grid { padding: 14px; gap: 14px; border-radius: 18px; }
    .price-card { padding: 30px 24px 26px; }
    .faq details { padding: 0 20px; }
    .faq summary { font-size: 17px; }
    .faq details p { padding-right: 0; }
    .cta-band { margin: 0 8px 8px; border-radius: 18px; padding: 60px 0; }
    .cta-band .wrap { padding: 34px 24px; width: calc(100% - 28px); }
    .page-top { padding: 140px 0 70px; margin-bottom: 56px; }
    .page-top::before, .page-top::after { top: 8px; width: calc(100vw - 16px); border-radius: 18px; }
    .auth-wrap { margin: 8px; border-radius: 18px; padding-top: 110px; }
    .form-row, .form-row.three { grid-template-columns: 1fr; gap: 0; }
    .form-card { padding: 34px 22px; }
    .stepper li { padding: 6px 8px; font-size: 12.5px; }
    .stepper li:not(.active) { font-size: 0; gap: 0; }
    .stepper li:not(.active) span { font-size: 12px; }
    .panel { padding: 24px 20px; }
    .footer { margin: 0 8px 8px; border-radius: 18px; padding-top: 70px; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .inv-totals { width: 100%; }
    .to-top { right: 14px; bottom: 14px; width: 52px; height: 52px; }
    .compare .table-scroll { padding: 6px 14px; }
    .compare-table th, .compare-table td { padding: 12px 8px; font-size: 13.5px; }
    .compare-table thead th { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    .marquee { animation: none; }
    .page { animation: none; }
}


/* ---------------------------------------------------------------------------------------------------------------------
   PRINT  -  invoices and dashboards print clean
   --------------------------------------------------------------------------------------------------------------------- */

@media print {
    .nav, .footer, .mobile-menu, .no-print, .toast, .modal-overlay, .to-top { display: none !important; }
    body { background: #fff; }
    .page { animation: none; padding-top: 0; }
    .invoice-doc { box-shadow: none; border: 0; padding: 0; }
    .invoice-wrap { padding: 0; max-width: none; }
}

@container hero (max-width: 480px) { .hero-replay { display: none !important; } }


/* ---------------------------------------------------------------------------------------------------------------------
   HOME  -  closer to the reference: the months-to-minutes head sits in a big white card, and the questions sit in a
   pale tinted panel like its testimonials
   --------------------------------------------------------------------------------------------------------------------- */

.speed-section .section-head { padding: 56px 56px 60px; margin-bottom: 26px; border-radius: 22px; background: var(--card); }
#page-home .section:has(.faq-split) { margin: 0 15px 120px; border-radius: 22px; background: #DEE1F5; overflow: hidden; isolation: isolate; }
#page-home .section:has(.faq-split)::after { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(118deg, rgba(79, 70, 229, 0.07) 0 1px, transparent 1px 15px); -webkit-mask: linear-gradient(90deg, #000, transparent 18%, transparent 82%, #000); mask: linear-gradient(90deg, #000, transparent 18%, transparent 82%, #000); pointer-events: none; }
[data-theme="dark"] #page-home .section:has(.faq-split) { background: #151A33; }

@media (max-width: 1100px) {
    .section-head:has(> .head-btn) { grid-template-columns: minmax(0, 1fr); }
    .section-head > .head-btn { grid-column: 1; grid-row: 4; justify-self: start; margin-top: 22px; }
    .contact-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
    .page-top { padding: 140px 0 64px; margin-bottom: 64px; }
    .page-banner { padding: 130px 0 56px; margin-bottom: 36px; }
    .crumbs { font-size: 14px; padding: 8px 14px; }
    .speed-section .section-head { padding: 34px 24px; }
    .contact-form { padding: 32px 22px; }
    .contact-form .form-row { gap: 0; }
    .contact-cta { padding: 34px 24px; min-height: 340px; }
    .support-grid { margin-bottom: 70px; }
    .footer-legal { gap: 14px; }
    .footer-legal a + a { padding-left: 14px; }
    #page-home .section:has(.faq-split) { margin: 0 8px 80px; border-radius: 18px; }
}

/* The questions heading sits at the top of its column; the footer's bottom bar keeps the legal links on one line. */
.faq-split .section-head { align-self: start; }
#page-home .section:has(.faq-split) .faq-split { align-items: start; }
.footer-copy > span:nth-child(2) { order: 3; flex-basis: 100%; font-size: 13.5px; opacity: 0.75; }
.footer-legal { order: 2; }


/* ---------------------------------------------------------------------------------------------------------------------
   PRICING  —  each tier is glass on the dark panel: hover lifts it, lights it from the pointer and rings it in glow;
   the chosen tier stays lifted with an amber ring. The others step back while one is in focus.
   --------------------------------------------------------------------------------------------------------------------- */

.pricing-grid { overflow: visible; }
.price-card {
    isolation: isolate; cursor: pointer;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
    transition: transform 0.45s cubic-bezier(.2, .9, .25, 1.15), box-shadow 0.45s ease, border-color 0.35s ease, background 0.35s ease, opacity 0.35s ease, filter 0.35s ease;
}
.price-card:not([data-plan]) { cursor: default; }
.price-card:last-child { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); }
.price-card.featured {
    background: radial-gradient(120% 70% at 50% 0%, rgba(150, 144, 255, 0.6), transparent 62%), radial-gradient(90% 55% at 100% 100%, rgba(255, 178, 36, 0.2), transparent 60%),
        linear-gradient(180deg, rgba(106, 99, 246, 0.5), rgba(79, 70, 229, 0.2));
    border-color: transparent;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 60px -18px rgba(106, 99, 246, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* The pointer light and the glow ring. */
.price-card::before {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s ease;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(165, 161, 255, 0.28), transparent 60%);
}
.price-card::after {
    content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity 0.35s ease;
    background: linear-gradient(140deg, rgba(165, 161, 255, 0.95), rgba(255, 255, 255, 0.15) 40%, rgba(255, 178, 36, 0.9));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.price-card:hover, .price-card.selected {
    transform: translateY(-14px) scale(1.025); border-color: transparent;
    box-shadow: 0 40px 80px -28px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(165, 161, 255, 0.25), 0 0 70px -10px rgba(106, 99, 246, 0.65);
}
.price-card:hover { background: rgba(255, 255, 255, 0.1); }
.price-card.featured:hover, .price-card.featured.selected {
    background: radial-gradient(120% 70% at 50% 0%, rgba(150, 144, 255, 0.7), transparent 62%), radial-gradient(90% 55% at 100% 100%, rgba(255, 178, 36, 0.26), transparent 60%),
        linear-gradient(180deg, rgba(106, 99, 246, 0.58), rgba(79, 70, 229, 0.26));
    box-shadow: 0 40px 80px -28px rgba(0, 0, 0, 0.75), 0 0 80px -8px rgba(106, 99, 246, 0.8); }
.price-card.featured::after { opacity: 0.85; }
.price-card:hover::before, .price-card:hover::after, .price-card.selected::after { opacity: 1; }
.pricing-grid:hover .price-card:not(:hover):not(.selected), .pricing-grid:has(.selected) .price-card:not(.selected):not(:hover) { opacity: 0.72; filter: saturate(0.8); transform: scale(0.975); }
.price-card .btn { transition: transform 0.35s cubic-bezier(.3, 1.3, .5, 1), background 0.25s ease, box-shadow 0.3s ease; }
.price-card:hover .btn, .price-card.selected .btn { box-shadow: 0 16px 34px -12px rgba(106, 99, 246, 0.9); }

/* The chosen tier: an amber ring and a "Selected" tag. */
.price-card.selected::after { background: linear-gradient(140deg, #FFB224, #FFD166 45%, #FF8B3D); padding: 2px; }
.pc-picked { position: absolute; top: -13px; left: 50%; transform: translate(-50%, 6px) scale(0.9); display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
    background: #FFB224; color: #0F1222; font: 700 11.5px/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0; transition: all 0.35s cubic-bezier(.3, 1.4, .5, 1); z-index: 3; box-shadow: 0 10px 24px -8px rgba(255, 178, 36, 0.8); }
.price-card.selected .pc-picked { opacity: 1; transform: translate(-50%, 0) scale(1); }

@media (hover: none) {
    .pricing-grid:hover .price-card:not(:hover):not(.selected) { opacity: 1; filter: none; transform: none; }
}

/* ---- The checkout, under the plans ----------------------------------------------------------------------------- */

.pricing-checkout { margin-top: 90px; scroll-margin-top: 110px; animation: checkoutIn 0.55s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes checkoutIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.pricing-checkout .section-head.center p { margin: 14px auto 0; max-width: 560px; }
.pricing-checkout .checkout-summary > h1 { display: none; }
.pricing-checkout .order-card { margin-top: 0; }
.pricing-checkout .checkout-grid { gap: 30px; }
.pricing-guest { max-width: 760px; margin: 0 auto; }
.pricing-guest .panel { padding: 40px; }
.pricing-guest h3 { font-size: 28px; font-weight: 500; letter-spacing: -0.035em; margin: 22px 0 6px; }
.pricing-guest form { margin-top: 22px; }
.pricing-guest .form-footer { text-align: left; }
.pg-plan { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; background: var(--panel-bg); color: #fff; }
.pg-plan span { font-weight: 600; }
.pg-plan strong { font: 600 24px/1 var(--font); letter-spacing: -0.03em; color: #FFB224; }


/* ---------------------------------------------------------------------------------------------------------------------
   THEMES PAGE  —  the quick picks above the live preview
   --------------------------------------------------------------------------------------------------------------------- */

.quick-themes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.quick-themes button { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 8px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
    color: var(--ink); font: 600 15px/1 var(--font); cursor: pointer; transition: transform 0.3s cubic-bezier(.3, 1.3, .5, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease; }
.quick-themes button:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.quick-themes button.active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), 0 14px 30px -14px rgba(79, 70, 229, 0.6); }
.qt-swatch { width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(15, 18, 34, 0.12); flex-shrink: 0; }
.quick-themes em { font: 700 10px/1 var(--font); font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 7px; border-radius: 999px; background: #FFB224; color: #0F1222; }
.quick-themes .qt-all { padding: 0 20px; background: var(--accent); border-color: var(--accent); color: #fff; }
.quick-themes .qt-all:hover { background: var(--accent-2); }
.showcase-grid-head { margin-top: 110px; scroll-margin-top: 110px; }
.showcase-grid-head .section-head { margin-bottom: 22px; }
.showcase-grid-head + .showcase-grid { margin-top: 10px; }


/* ---------------------------------------------------------------------------------------------------------------------
   PHONES  —  light / dark moves into the menu in portrait, and content gets the width back
   --------------------------------------------------------------------------------------------------------------------- */

.mobile-menu .mobile-theme { display: none; }
@media (max-width: 720px) and (orientation: portrait) {
    .nav .nav-theme { display: none; }
    .mobile-menu .mobile-theme { display: flex; }
}

@media (max-width: 720px) {
    .wrap, .hero .wrap { padding-left: 10px; padding-right: 10px; }
    .hero { margin: 6px; }
    .hero-demo { padding: 0; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .member-layout { padding-left: 8px; padding-right: 8px; }
    .create-wrap, .checkout-wrap, .invoice-wrap { padding-left: 8px; padding-right: 8px; }
    .panel { padding: 22px 16px; border-radius: 16px; }
    .page-top::before, .page-top::after { width: calc(100vw - 12px); }
    #HowItWorks, .cta-band, .footer { margin-left: 6px; margin-right: 6px; }
    .template-live { padding: 0; border-radius: 14px; }
    .pricing-grid { padding: 10px; }
    .price-card:hover, .price-card.selected { transform: translateY(-6px); }
    .pricing-checkout { margin-top: 60px; }
    .pricing-guest .panel { padding: 26px 16px; }
    .quick-themes button { height: 42px; font-size: 14px; }
    .qt-swatch { width: 26px; height: 26px; }
}


/* The logo is the image (images/dashboardace-logo-dark.png on the dark nav and footer, -light on invoices). */
.brand-logo { display: block; height: 36px; width: auto; }
.footer .brand-logo { height: 40px; }
.inv-logo { display: block; height: 36px; width: auto; }
@media (max-width: 720px) { .nav .brand-logo { height: 30px; } }
