:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #627087;
  --line: #e5e9f1;
  --paper: #ffffff;
  --canvas: #f5f7fb;
  --navy: #10182b;
  --brand: #6558e8;
  --brand-dark: #4b3dcc;
  --mint: #28c6a4;
  --green: #168765;
  --orange: #a45b0b;
  --red: #c53b54;
  --shadow: 0 18px 48px rgba(28, 38, 63, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 15px; line-height: 1.6; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }
button, input, select, textarea { font: inherit; }
button, .btn, .button { min-height: 42px; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #8e85ff; outline-offset: 3px; }
::selection { background: #dcd8ff; color: var(--navy); }

.skip-link {
  position: absolute; z-index: 100; left: 16px; top: -60px; padding: 10px 14px;
  border-radius: 8px; background: #fff; color: var(--navy); box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(230, 233, 241, .82); background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); }
.site-header-inner { width: min(1180px, calc(100% - 48px)); min-height: 74px; margin: auto; display: flex; align-items: center; gap: 42px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 20px; font-weight: 760; letter-spacing: -.045em; white-space: nowrap; }
.site-brand:hover { color: var(--navy); }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; color: white; background: linear-gradient(140deg, #8274ff, #4f46d8 70%, #344bb4); box-shadow: 0 7px 16px #6558e833; }
.brand-mark svg { width: 23px; height: 23px; }
.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.site-nav a, .text-link { color: #536078; font-size: 14px; font-weight: 600; }
.site-nav a:hover, .text-link:hover { color: var(--brand-dark); }
.site-actions { display: flex; align-items: center; gap: 20px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid transparent; border-radius: 11px; font-size: 14px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: linear-gradient(115deg, #7568f4, #5549db); color: #fff; box-shadow: 0 9px 22px #5144d733; }
.button-primary:hover { color: #fff; box-shadow: 0 12px 26px #5144d744; }
.button-small { min-height: 40px; padding: 0 16px; border-radius: 9px; }
.button-quiet { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; }
.button-quiet:hover { color: #fff; background: rgba(255,255,255,.14); }
.mobile-menu { display: none; position: relative; margin-left: auto; }
.mobile-menu summary { list-style: none; width: 42px; height: 42px; display: grid; align-content: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
.mobile-menu nav { position: absolute; top: 50px; right: 0; width: min(280px, calc(100vw - 32px)); padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
.mobile-menu nav a { display: block; padding: 11px 12px; border-radius: 8px; color: var(--ink); font-weight: 600; }
.mobile-menu nav a:hover { background: var(--canvas); }

.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 79% 17%, #354072 0, transparent 37%), linear-gradient(118deg, #10182b, #101329 65%, #151a36); }
.hero-glow { position: absolute; width: 500px; height: 500px; right: 8%; top: -38%; border-radius: 50%; background: #7063f522; filter: blur(15px); pointer-events: none; }
.hero-inner { position: relative; width: min(1180px, calc(100% - 48px)); min-height: 535px; margin: auto; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 44px; padding: 68px 0 58px; }
.hero-copy { max-width: 580px; }
.eyebrow { margin: 0 0 16px; color: #7568ed; font-size: 11px; font-weight: 800; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.hero .eyebrow { color: #c3beff; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin: 0 9px 1px 0; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px #28c6a426; }
.hero h1 { margin: 0; font-size: clamp(46px, 6vw, 72px); font-weight: 740; letter-spacing: -.065em; line-height: 1.04; }
.gradient-text { color: #a9a0ff; background: linear-gradient(95deg, #c0b9ff, #8bdecd); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { max-width: 530px; margin: 23px 0 0; color: #c1c8d8; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; margin-top: 28px; }
.hero-note { margin: 18px 0 0; color: #929cb3; font-size: 12px; }
.product-visual { position: relative; max-width: 530px; width: 100%; justify-self: end; padding: 26px; }
.product-visual::before { position: absolute; inset: 4% 2% 12%; border: 1px solid #8f91ff24; border-radius: 28px; background: linear-gradient(145deg, #ffffff08, transparent 70%); content: ""; transform: rotate(3deg); }
.visual-window { position: relative; overflow: hidden; border: 1px solid #ffffff24; border-radius: 16px; background: #f9faff; color: var(--ink); box-shadow: 0 30px 70px #080c1c66; transform: rotate(-1.5deg); }
.visual-bar { height: 43px; display: flex; align-items: center; gap: 5px; padding: 0 14px; border-bottom: 1px solid #eaedf3; background: #fff; }
.visual-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #d9deea; }
.visual-bar b { margin: 0 auto; color: #7b8599; font-size: 10px; font-weight: 650; }
.visual-content { min-height: 265px; display: grid; grid-template-columns: 43px 1fr; }
.visual-side { display: flex; flex-direction: column; align-items: center; gap: 17px; padding-top: 20px; border-right: 1px solid #eaedf3; background: #fff; }
.visual-side i { width: 16px; height: 16px; border-radius: 5px; background: #e7e9f4; }
.visual-side i:first-child { background: #7669ea; }
.visual-panel { padding: 22px 18px; }
.visual-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 750; }
.status-pill { padding: 5px 8px; border-radius: 20px; background: #e9f8f2; color: #237b60; font-size: 9px; font-weight: 700; }
.status-pill i { display: inline-block; width: 5px; height: 5px; margin: 0 4px 1px 0; border-radius: 50%; background: #36ba8d; }
.workflow { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.workflow-step { flex: 1; min-height: 112px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 12px; border: 1px solid #e6e9f2; border-radius: 11px; background: #fff; }
.step-icon { width: 27px; height: 27px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 8px; background: #efedff; color: #5b50d7; font-size: 9px; font-weight: 800; }
.workflow-step b { font-size: 11px; }
.workflow-step small { margin-top: 3px; color: #78839a; font-size: 9px; }
.workflow-arrow { color: #919ab0; }
.visual-foot { display: flex; justify-content: space-between; margin-top: 19px; padding-top: 12px; border-top: 1px solid #edf0f5; color: #78839a; font-size: 9px; }
.visual-caption { position: absolute; right: 23px; bottom: 8px; color: #aeb8d0; font-size: 11px; }
.hero-bottom { position: relative; display: flex; justify-content: space-between; padding: 16px max(24px, calc((100% - 1180px) / 2)); border-top: 1px solid #ffffff18; color: #8d98b1; font-size: 9px; font-weight: 750; letter-spacing: .16em; }

.android-app-section { padding: clamp(42px, 6vw, 78px) 24px; background: linear-gradient(180deg, #f5f7fb, #fff); }
.android-app-card { position: relative; isolation: isolate; overflow: hidden; width: min(1180px, 100%); min-height: 390px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 30px; margin: auto; padding: clamp(30px, 6vw, 72px); border: 1px solid #7770ef55; border-radius: 28px; background: radial-gradient(ellipse at 86% 22%, #6f65df52, transparent 38%), linear-gradient(118deg, #111a31, #151631 68%, #24204b); box-shadow: 0 26px 70px #1717331b; color: #fff; }
.android-app-card::before, .android-app-card::after { position: absolute; z-index: -1; border: 1px solid #c5c1ff16; border-radius: 50%; content: ""; pointer-events: none; }
.android-app-card::before { width: 430px; height: 430px; top: -240px; right: 7%; }
.android-app-card::after { width: 320px; height: 320px; right: 11%; bottom: -240px; }
.android-app-copy { position: relative; z-index: 1; max-width: 610px; }
.android-app-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; color: #c6c2ff; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.android-app-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #54dfbb; box-shadow: 0 0 0 5px #54dfbb20; }
.android-app-copy h2 { margin: 0; font-size: clamp(31px, 4vw, 48px); font-weight: 740; letter-spacing: -.055em; line-height: 1.1; }
.android-app-copy h2 span { color: #a9a0ff; }
.android-app-description { max-width: 500px; margin: 17px 0 0; color: #c2c9dc; font-size: 15px; line-height: 1.75; }
.android-app-details { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 21px; color: #c4c9d9; font-size: 11px; font-weight: 650; }
.android-app-details b { margin-right: 4px; color: #fff; }
.android-app-detail-separator { width: 3px; height: 3px; border-radius: 50%; background: #7d82a0; }
.android-download-button { min-height: 52px; margin-top: 24px; padding: 0 21px; background: linear-gradient(115deg, #8a7fff, #6558e8); color: #fff; box-shadow: 0 10px 24px #080c2480; }
.android-download-button:hover { color: #fff; box-shadow: 0 13px 30px #080c248c; }
.android-download-button svg { width: 20px; height: 20px; }
.android-download-arrow { margin-left: 4px; font-size: 18px; transition: transform .18s ease; }
.android-download-button:hover .android-download-arrow { transform: translateX(3px); }
.android-app-note { max-width: 490px; margin: 13px 0 0; color: #969eb7; font-size: 11px; line-height: 1.65; }
.android-app-visual { position: relative; min-height: 280px; display: grid; place-items: center; }
.android-app-orbit { position: absolute; width: min(300px, 90%); aspect-ratio: 1; border: 1px solid #a9a0ff32; border-radius: 50%; box-shadow: 0 0 0 24px #a9a0ff08, 0 0 0 50px #a9a0ff06; }
.android-phone { position: relative; width: 168px; height: 292px; padding: 8px; border: 1px solid #ffffff6b; border-radius: 30px; background: linear-gradient(145deg, #50537c, #1d203b 45%, #101326); box-shadow: 0 30px 60px #080b206e, inset 0 0 0 2px #ffffff12; transform: rotate(5deg); }
.android-phone-camera { position: absolute; z-index: 2; top: 13px; left: 50%; width: 43px; height: 10px; border-radius: 10px; background: #111326; transform: translateX(-50%); }
.android-phone-screen { height: 100%; display: flex; align-items: center; flex-direction: column; justify-content: center; overflow: hidden; border-radius: 23px; background: radial-gradient(circle at 50% 18%, #6d64db, transparent 50%), linear-gradient(155deg, #1e2949, #101629 75%); color: #fff; }
.android-phone-kicker { margin-bottom: 15px; color: #c0c4dc; font-size: 7px; font-weight: 800; letter-spacing: .16em; }
.android-phone-logo { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 8px; border: 1px solid #ffffff32; border-radius: 15px; background: linear-gradient(140deg, #8274ff, #4f46d8 70%, #344bb4); box-shadow: 0 8px 20px #080c246e; }
.android-phone-logo svg { width: 31px; height: 31px; }
.android-phone-screen > b { font-size: 15px; letter-spacing: -.04em; }
.android-phone-status { display: flex; align-items: center; gap: 5px; margin-top: 14px; color: #c6cbe0; font-size: 7px; }
.android-phone-status i { width: 5px; height: 5px; border-radius: 50%; background: #54dfbb; }
.android-phone-card { width: 112px; display: flex; gap: 6px; margin-top: 18px; padding: 10px 8px; border: 1px solid #ffffff20; border-radius: 9px; background: #ffffff0b; }
.android-phone-card i { height: 4px; flex: 1; border-radius: 4px; background: #ffffff25; }
.android-phone-card i:first-child { flex: 1.4; background: #8c82ff; }
.android-app-float { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #ffffff25; border-radius: 12px; background: #202441d9; box-shadow: 0 10px 24px #080b2040; color: #e6e7f2; font-size: 10px; font-weight: 700; backdrop-filter: blur(12px); }
.android-app-float b { color: #68e0be; font-size: 13px; }
.android-app-float-top { top: 24px; right: 0; }
.android-app-float-bottom { bottom: 20px; left: 0; }
.android-app-float-bottom b { color: #b6afff; font-size: 17px; }

.section { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 95px 0; }
.section-heading { max-width: 660px; margin: 0 auto 42px; text-align: center; }
.section-heading h2, .trust-copy h2, .cta-section h2 { margin: 0; font-size: clamp(30px, 4vw, 43px); font-weight: 730; letter-spacing: -.05em; line-height: 1.18; }
.section-heading > p:last-child { max-width: 620px; margin: 16px auto 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 225px; padding: 26px; border: 1px solid #e9ecf4; border-radius: 16px; background: #fff; box-shadow: 0 8px 30px #18264a08; transition: transform .18s ease, box-shadow .18s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 21px; border-radius: 12px; background: #efedff; color: #564ad1; font-size: 23px; font-weight: 650; }
.feature-card:nth-child(2) .feature-icon { background: #e4f8f2; color: #168765; }
.feature-card:nth-child(3) .feature-icon { background: #fff2df; color: #a45b0b; }
.feature-card h3, .steps-grid h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -.02em; }
.feature-card p, .steps-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.workflow-section { max-width: none; width: 100%; padding-right: max(24px, calc((100% - 1180px) / 2)); padding-left: max(24px, calc((100% - 1180px) / 2)); background: #eef1f8; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.steps-grid li { position: relative; min-height: 180px; padding: 23px 20px; border: 1px solid #e1e6f0; border-radius: 14px; background: #fff; }
.steps-grid li > span { display: inline-block; margin-bottom: 24px; color: #665ae5; font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.trust-section { width: min(1180px, calc(100% - 48px)); display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 70px; margin: auto; padding: 92px 0; }
.trust-copy h2 { max-width: 470px; }
.trust-copy > p:not(.eyebrow) { max-width: 570px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.inline-link { display: inline-flex; gap: 8px; margin-top: 9px; font-size: 14px; font-weight: 750; }
.trust-points { padding: 23px 26px; border: 1px solid #e7eaf2; border-radius: 16px; background: white; box-shadow: 0 12px 35px #18264a08; }
.trust-points p { display: flex; align-items: center; gap: 12px; margin: 11px 0; color: #48566d; font-size: 14px; }
.trust-points p span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: #e3f7f0; color: #168765; font-size: 12px; font-weight: 800; }
.cta-section { padding: 72px 24px 82px; background: radial-gradient(ellipse at top, #292a57 0, #13182c 70%); color: #fff; text-align: center; }
.cta-section .eyebrow { color: #bcb6ff; }
.cta-section h2 { font-size: clamp(31px, 4vw, 44px); }
.cta-section > p:not(.eyebrow):not(.cta-support) { max-width: 560px; margin: 14px auto 0; color: #c1c8d8; }
.cta-section .hero-actions { justify-content: center; }
.cta-support { margin: 23px 0 0; color: #9da8c0; font-size: 13px; }
.cta-support a { color: #d0ccff; text-decoration: underline; text-underline-offset: 3px; }

.content-main { width: min(900px, calc(100% - 48px)); min-height: 65vh; margin: 0 auto; padding: 38px 0 78px; }
.breadcrumbs { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; color: #778398; font-size: 12px; }
.breadcrumbs a { font-weight: 650; }
.content-card { padding: clamp(25px, 5vw, 54px); border: 1px solid #e8ebf3; border-radius: 20px; background: white; box-shadow: 0 12px 45px #18264a08; }
.content-intro { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.content-intro .eyebrow { margin-bottom: 10px; }
.content-intro h1 { margin: 0; color: var(--navy); font-size: clamp(34px, 5vw, 48px); font-weight: 740; letter-spacing: -.055em; line-height: 1.13; }
.content-lead { max-width: 710px; margin: 18px 0 0; color: #59677e; font-size: 17px; line-height: 1.75; }
.content-section { margin-top: 29px; }
.content-section h2, .support-panel h2 { margin: 0 0 10px; color: var(--navy); font-size: 21px; letter-spacing: -.035em; }
.content-section p, .content-section li, .support-panel p { color: #536179; font-size: 14px; line-height: 1.8; }
.content-section p { margin: 9px 0; }
.content-section ul { margin: 10px 0 0; padding-left: 22px; }
.content-section li { padding-left: 4px; margin: 7px 0; }
.related-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.related-links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #e5e8f1; border-radius: 9px; color: #4f48c8; font-size: 13px; font-weight: 700; }
.related-links a:hover { border-color: #bdb8f5; background: #f7f6ff; }
.faq-list { display: grid; gap: 10px; margin-top: 25px; }
.faq-item { padding: 17px 19px; border: 1px solid #e8ebf3; border-radius: 12px; background: #fff; }
.faq-item summary { position: relative; padding-right: 22px; color: var(--navy); font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; right: 0; content: "+"; color: var(--brand); font-size: 20px; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 13px 0 0; color: #59677e; font-size: 14px; line-height: 1.75; }
.support-panel { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 36px; padding: 24px; border: 1px solid #e5e4fa; border-radius: 15px; background: linear-gradient(120deg, #f8f7ff, #f3fbf9); }
.support-panel .eyebrow { margin-bottom: 7px; }
.support-panel h2 { margin-bottom: 4px; }
.support-panel p { margin: 0; }
.support-panel .button { flex: none; }
.support-unavailable { max-width: 190px; color: #765a2c !important; font-size: 12px !important; }
.policy-updated { margin: 36px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: #778398; font-size: 12px; }
.site-footer { border-top: 1px solid #e6e9f1; background: #fff; }
.footer-inner { width: min(1180px, calc(100% - 48px)); display: grid; grid-template-columns: 1fr 1.5fr; gap: 22px 50px; margin: auto; padding: 42px 0 27px; }
.footer-brand p { max-width: 270px; margin: 12px 0 0; color: #738097; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: 13px 20px; }
.footer-links a { color: #59677e; font-size: 12px; font-weight: 650; }
.footer-links a:hover { color: var(--brand-dark); }
.footer-note { grid-column: 1 / -1; margin: 0; padding-top: 17px; border-top: 1px solid #edf0f5; color: #7a869b; font-size: 11px; }

.app-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid #e7eaf1; background: #fff; }
.app-header-inner { width: min(1180px, calc(100% - 40px)); min-height: 68px; display: flex; align-items: center; gap: 35px; margin: auto; }
.app-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-size: 18px; font-weight: 780; letter-spacing: -.04em; }
.app-brand:hover { color: var(--navy); }
.app-brand .brand-mark { width: 32px; height: 32px; border-radius: 10px; }
.app-brand .brand-mark svg { width: 21px; height: 21px; }
.app-nav { display: flex; align-items: center; flex: 1; gap: 5px; }
.app-nav a, .app-nav button { display: inline-flex; min-height: 39px; align-items: center; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: #5b667b; font-size: 13px; font-weight: 650; white-space: nowrap; }
.app-nav a:hover, .app-nav button:hover, .app-nav a.on { background: #f0efff; color: #4d43c3; }
.app-nav form { margin: 0; }
.app-nav .nav-logout { cursor: pointer; }
.app-header .app-user { margin-left: auto; color: #66738a; font-size: 13px; font-weight: 650; }
.app-main { width: min(1180px, calc(100% - 40px)); min-height: calc(100vh - 190px); margin: auto; padding: 34px 0 55px; }
.app-main h1 { margin: 0 0 20px; color: var(--navy); font-size: 30px; font-weight: 720; letter-spacing: -.045em; }
.app-main-inner { min-width: 0; }
.app-announcement { margin-bottom: 16px; padding: 13px 16px; border: 1px solid #e5e3fc; border-left: 4px solid var(--brand); border-radius: 10px; background: #f8f7ff; color: #4b4969; }
.app-footer { border-top: 1px solid #e6e9f1; background: #fff; }
.app-footer-inner { width: min(1180px, calc(100% - 40px)); display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: auto; padding: 20px 0; color: #758197; font-size: 12px; }
.app-footer-links { display: flex; flex-wrap: wrap; gap: 8px 15px; }
.app-footer-links a { color: #59677e; font-weight: 600; }
.app-footer-links a:hover { color: var(--brand-dark); }

.card { min-width: 0; margin-bottom: 18px; padding: 23px; border: 1px solid #e7eaf2; border-radius: 15px; background: var(--paper); box-shadow: 0 6px 24px #18264a08; }
.card h2, .card h3 { margin: 0 0 8px; color: var(--navy); font-size: 18px; font-weight: 700; letter-spacing: -.025em; }
.card .sub, .meta { color: var(--muted); font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.grid .card { margin: 0; }
.grid h2 { margin: 0; font-size: 26px; }
.btn { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 7px; padding: 0 15px; border: 1px solid transparent; border-radius: 9px; background: linear-gradient(115deg, #7568f4, #5549db); color: white; box-shadow: 0 6px 14px #5144d722; font-size: 13px; font-weight: 700; }
.btn:hover { color: white; filter: brightness(1.05); }
.btn.ghost, .btn.b3 { border-color: #dde2ec; background: white; color: #4c5870; box-shadow: none; }
.btn.danger { background: #c53b54; box-shadow: none; }
.btn.green, .btn.b4 { background: #168765; box-shadow: none; }
.btn.b2 { background: #465fca; }
.btn.sm { min-height: 34px; padding: 0 11px; font-size: 12px; }
label { display: block; margin: 14px 0 6px; color: #39465d; font-size: 13px; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 43px; padding: 9px 12px; border: 1px solid #dfe4ed; border-radius: 9px; background: #fff; color: var(--ink); font-size: 14px; }
input:focus, select:focus, textarea:focus { border-color: #8178ed; outline: 3px solid #8178ed2b; }
input:disabled { background: #f1f3f8; color: #758197; }
input[type="file"] { padding: 8px; }
input[type="file"]::file-selector-button { margin-right: 10px; padding: 6px 10px; border: 0; border-radius: 6px; background: #f0efff; color: #4f45c1; font-weight: 700; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.alert, .msg { margin: 14px 0; padding: 12px 15px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; }
.alert.ok, .msg.ok { border-color: #c6ebdd; background: #effaf5; color: #17684f; }
.alert.err, .msg.err { border-color: #f1d0d6; background: #fff4f5; color: #a63149; }
.badge, .tag { display: inline-block; padding: 4px 9px; border-radius: 99px; background: #edf0f6; color: #56637a; font-size: 11px; font-weight: 750; }
.badge.live, .tag.approved { background: #e4f7ef; color: #17684f; }
.badge.idle { background: #eff1f5; color: #637087; }
.badge.starting, .tag.pending { background: #fff3df; color: #945407; }
.badge.expired, .tag.rejected { background: #fff0f2; color: #a63149; }
.dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #28a77c; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid #e9ecf2; text-align: left; vertical-align: top; font-size: 13px; }
th { color: #68758a; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.x { overflow-x: auto; }
.slot { margin: 15px 0; padding: 20px; border: 1px solid #e5e9f1; border-radius: 13px; background: #fff; }
.slot-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.slot-head h3 { margin: 0; font-size: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.log { max-height: 150px; overflow: auto; margin-top: 12px; padding: 12px; border-radius: 9px; background: #151d2d; color: #c5eadb; font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 18px; }
.plan { padding: 25px; border: 1px solid #e2e6ef; border-radius: 14px; background: #fff; text-align: center; }
.plan.best { border-color: #766cf0; box-shadow: 0 8px 22px #6558e81b; }
.plan .price { margin: 10px 0 2px; color: var(--navy); font-size: 35px; font-weight: 760; }
.plan ul { margin: 15px 0 20px; padding: 0; color: var(--muted); line-height: 2; list-style: none; }
.empty { padding: 30px 0; color: var(--muted); text-align: center; }
.auth-layout { min-height: calc(100vh - 170px); display: grid; place-items: center; padding: 24px 16px 54px; }
.auth-card { width: min(470px, 100%); padding: clamp(25px, 5vw, 40px); border: 1px solid #e7eaf2; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.auth-card .site-brand { margin-bottom: 25px; }
.auth-card h2 { margin: 0 0 7px; font-size: 27px; letter-spacing: -.045em; }
.auth-card > p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.auth-card form .btn, .auth-card form button { width: 100%; margin-top: 17px; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 19px; font-size: 13px; }
.auth-links a { font-weight: 650; }
.foot { margin-top: 18px; color: var(--muted); text-align: center; }
progress { accent-color: var(--brand); }

@media (max-width: 860px) {
  .site-header-inner { min-height: 66px; gap: 18px; }
  .site-nav, .site-actions { display: none; }
  .mobile-menu { display: block; }
  .hero-inner { min-height: 0; grid-template-columns: 1fr; gap: 36px; padding: 62px 0 45px; }
  .hero-copy { max-width: 690px; }
  .product-visual { justify-self: center; max-width: 580px; padding-bottom: 32px; }
  .android-app-card { grid-template-columns: 1fr .8fr; gap: 8px; padding: 34px; }
  .android-app-visual { min-height: 300px; }
  .android-app-details { gap: 8px; }
  .hero-bottom { gap: 16px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-section { grid-template-columns: 1fr; gap: 27px; }
  .app-header-inner { gap: 18px; }
  .app-nav { overflow-x: auto; }
  .app-header .app-user { display: none; }
}
@media (max-width: 600px) {
  .site-header-inner, .hero-inner, .section, .trust-section, .footer-inner { width: min(100% - 36px, 1180px); }
  .site-header-inner { min-height: 62px; }
  .site-brand { font-size: 18px; }
  .hero-inner { padding: 48px 0 35px; }
  .hero h1 { font-size: clamp(43px, 13vw, 58px); }
  .hero-description { margin-top: 17px; font-size: 15px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex: 1 1 100%; }
  .product-visual { padding: 8px 0 27px; }
  .android-app-section { padding: 34px 18px; }
  .android-app-card { grid-template-columns: 1fr; gap: 0; padding: 30px 22px 18px; border-radius: 21px; }
  .android-app-copy h2 { font-size: 34px; }
  .android-app-description { font-size: 14px; }
  .android-app-details { gap: 7px; font-size: 10px; }
  .android-download-button { width: 100%; }
  .android-app-visual { min-height: 270px; margin-top: 6px; }
  .android-app-float-top { top: 20px; right: 0; }
  .android-app-float-bottom { bottom: 14px; left: 0; }
  .visual-content { grid-template-columns: 32px 1fr; min-height: 220px; }
  .visual-panel { padding: 17px 11px; }
  .visual-heading { align-items: flex-start; flex-direction: column; }
  .workflow { gap: 6px; }
  .workflow-step { min-height: 103px; padding: 9px; }
  .workflow-arrow { font-size: 12px; }
  .visual-foot { font-size: 8px; }
  .visual-caption { right: 0; bottom: 3px; font-size: 9px; }
  .hero-bottom { flex-direction: column; padding: 14px 18px; font-size: 8px; }
  .section { padding: 65px 0; }
  .section-heading { margin-bottom: 28px; text-align: left; }
  .section-heading > p:last-child { margin-left: 0; font-size: 14px; }
  .feature-grid, .steps-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; padding: 21px; }
  .steps-grid li { min-height: 0; }
  .steps-grid li > span { margin-bottom: 12px; }
  .workflow-section { padding-right: 18px; padding-left: 18px; }
  .trust-section { padding: 65px 0; }
  .trust-points { padding: 17px; }
  .cta-section { padding: 58px 18px; }
  .content-main { width: calc(100% - 28px); padding: 22px 0 48px; }
  .content-card { padding: 23px 18px; border-radius: 15px; }
  .content-intro h1 { font-size: 36px; }
  .content-lead { font-size: 15px; }
  .support-panel { align-items: flex-start; flex-direction: column; padding: 19px; }
  .support-panel .button { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; padding-top: 31px; }
  .footer-note { grid-column: auto; }
  .app-header { position: static; }
  .app-header-inner { width: calc(100% - 28px); align-items: flex-start; flex-direction: column; gap: 9px; padding: 12px 0; }
  .app-nav { width: 100%; flex: none; gap: 3px; padding-bottom: 2px; }
  .app-nav a, .app-nav button { min-height: 36px; padding: 0 10px; font-size: 12px; }
  .app-main { width: calc(100% - 28px); padding: 25px 0 42px; }
  .app-main h1 { font-size: 26px; }
  .app-footer-inner { width: calc(100% - 28px); align-items: flex-start; flex-direction: column; }
  .card { padding: 18px; border-radius: 12px; }
  .row { grid-template-columns: 1fr; gap: 4px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid .card { padding: 14px; }
  .grid h2 { font-size: 22px; }
  th, td { padding: 10px 8px; font-size: 12px; }
  .slot { padding: 15px; }
  .auth-layout { min-height: calc(100vh - 190px); padding: 18px 10px 35px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.app-site {
  --brand: #6558e8;
  --brand-dark: #4b3dcc;
  min-height: 100vh;
  background: #f5f7fb;
}
.app-site .app-shell { min-height: 100vh; }
.app-site .app-sidebar {
  position: fixed;
  z-index: 40;
  inset: 0 auto 0 0;
  width: 248px;
  display: flex;
  flex-direction: column;
  padding: 21px 16px 15px;
  border-right: 1px solid #e7eaf1;
  background: #fff;
}
.app-site .app-sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 22px; }
.app-site .app-sidebar-head .app-brand { gap: 10px; font-size: 19px; }
.app-site .app-nav { display: grid; align-content: start; gap: 6px; flex: 1; }
.app-site .app-nav form { margin: 0; }
.app-site .app-nav-link { width: 100%; min-height: 43px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: #647087; font-size: 13px; font-weight: 650; text-align: left; }
.app-site .app-nav-link svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-site .app-nav-link:hover { background: #f5f4ff; color: var(--brand-dark); }
.app-site .app-nav-link.on { background: #efedff; color: var(--brand-dark); }
.app-site .app-nav-link.nav-logout { cursor: pointer; }
.app-site .app-sidebar-bottom { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 15px 11px 5px; border-top: 1px solid #eef0f5; color: #778198; font-size: 11px; }
.app-site .sidebar-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #28a77c; box-shadow: 0 0 0 4px #28a77c20; }
.app-site .app-main-column { min-height: 100vh; margin-left: 0; }
.app-site .app-shell.has-app-sidebar .app-main-column { margin-left: 248px; }
.app-site .app-header { position: sticky; z-index: 30; top: 0; border: 0; background: rgba(255,255,255,.94); box-shadow: 0 2px 12px rgba(32,38,58,.045); backdrop-filter: blur(12px); }
.app-site .app-header-inner { width: auto; min-height: 67px; gap: 14px; margin: 0; padding: 0 28px; }
.app-site .app-menu-toggle, .app-site .app-sidebar-close { width: 40px; height: 40px; display: none; place-items: center; border: 1px solid #e7eaf1; border-radius: 9px; background: #fff; color: #566178; }
.app-site .app-menu-toggle svg, .app-site .app-sidebar-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.app-site .app-breadcrumb { display: flex; align-items: center; gap: 10px; color: #9099ab; font-size: 12px; }
.app-site .app-breadcrumb a { color: var(--brand-dark); font-weight: 650; }
.app-site .app-user { display: flex; align-items: center; gap: 10px; margin-left: auto; color: #5e6a80; font-size: 12px; font-weight: 650; }
.app-site .app-avatar { width: 37px; height: 37px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: linear-gradient(145deg,#786cf0,#5144d1); box-shadow: 0 2px 7px #5144d128; color: white; font-size: 14px; font-weight: 750; }
.app-site .app-main { width: min(1240px, calc(100% - 56px)); min-height: calc(100vh - 146px); margin: 0 auto; padding: 27px 0 44px; }
.app-site .app-pagehead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.app-site .app-pagehead h1 { margin: 0; color: #263248; font-size: 24px; font-weight: 680; letter-spacing: -.035em; }
.app-site .app-pagehead > p { display: flex; align-items: center; gap: 9px; margin: 0; color: #929bad; font-size: 11px; }
.app-site .app-pagehead > p strong { color: var(--brand-dark); font-weight: 650; }
.app-site .app-footer { border-top: 1px solid #e9ecf2; background: transparent; }
.app-site .app-footer-inner { width: min(1240px, calc(100% - 56px)); min-height: 58px; padding: 14px 0; color: #818ba0; font-size: 10px; }
.app-site .app-footer-links { justify-content: flex-end; gap: 8px 13px; }
.app-site .app-footer-links a { color: #66738a; font-size: 10px; }
.app-site .app-footer-links a:hover { color: var(--brand-dark); }
.app-site .app-drawer-scrim { display: none; }
.app-site .app-overview { margin-bottom: 19px; }
.app-site .app-section-heading, .app-site .slot-list-heading, .app-site .video-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.app-site .app-section-heading h2, .app-site .slot-list-heading h2, .app-site .video-list-heading h2 { margin: 0; color: #30394d; font-size: 18px; font-weight: 680; }
.app-site .app-section-heading p:not(.app-eyebrow) { margin: 3px 0 0; color: #818ba0; font-size: 12px; }
.app-site .app-updated { display: inline-flex; align-items: center; gap: 7px; color: #8892a6; font-size: 11px; }
.app-site .app-updated i { width: 7px; height: 7px; border-radius: 50%; background: #28a77c; }
.app-site .app-stat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.app-site .app-stat-card, .app-site .app-video-summary { min-width: 0; min-height: 99px; display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid #e8ebf2; border-radius: 12px; background: #fff; box-shadow: 0 4px 15px #1d2c4b08; color: #243049; }
.app-site .app-stat-card { transition: transform .16s ease, box-shadow .16s ease; }
.app-site .app-stat-card:hover, .app-site .app-video-summary:hover { transform: translateY(-2px); box-shadow: 0 9px 22px #1d2c4b12; color: #243049; }
.app-site .app-stat-icon { width: 45px; height: 45px; display: grid; flex: none; place-items: center; border-radius: 12px; }
.app-site .app-stat-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app-site .stat-purple { background: #efedff; color: #6558e8; }
.app-site .stat-orange { background: #fff3e1; color: #c58323; }
.app-site .stat-gray { background: #eff1f5; color: #747f92; }
.app-site .app-stat-card > span:nth-child(2), .app-site .app-video-summary > span:nth-child(2) { display: grid; gap: 2px; }
.app-site .app-stat-card strong, .app-site .app-video-summary strong { color: #30394d; font-size: 24px; font-weight: 700; line-height: 1.15; }
.app-site .app-stat-card small, .app-site .app-video-summary small { color: #7e899e; font-size: 12px; }
.app-site .stat-arrow { margin-left: auto; color: #aab2c0; }
.app-site .app-video-summary { min-height: 80px; margin-bottom: 17px; }
.app-site .app-video-summary-action { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--brand-dark); font-size: 12px; font-weight: 680; }
.app-site .app-card { border-color: #e8ebf2; border-radius: 12px; box-shadow: 0 4px 15px #1d2c4b08; }
.app-site .app-card h2 { color: #30394d; }
.app-site .app-eyebrow { margin: 0 0 5px; color: var(--brand-dark); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.app-site .app-quick-actions { margin-top: 0; }
.app-site .app-quick-actions .quick-action-links { display: flex; flex-wrap: wrap; gap: 8px; }
.app-site .app-announcement { border-color: #e4e1fc; border-left-color: var(--brand); border-radius: 10px; background: #f8f7ff; }
.app-site .slot-overview-card { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 17px; padding: 20px 22px; border: 1px solid #e7e8f4; border-radius: 12px; background: linear-gradient(110deg,#fff 55%,#f7f6ff); }
.app-site .slot-overview-card h2, .app-site .slot-request-card h2 { margin: 0; color: #30394d; font-size: 18px; font-weight: 700; }
.app-site .slot-overview-card p:not(.app-eyebrow), .app-site .slot-request-card p:not(.app-eyebrow) { max-width: 700px; margin: 5px 0 0; color: #7d889d; font-size: 12px; }
.app-site .slot-overview-actions, .app-site .slot-request-form { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.app-site .slot-request-card { align-items: center; margin-bottom: 18px; }
.app-site .slot-request-form { width: min(520px, 55%); }
.app-site .slot-request-form input, .app-site .slot-request-form select { min-width: 0; flex: 1 1 145px; margin: 0; }
.app-site .slot-request-form .btn { flex: 0 0 auto; }
.app-site .slot-list-card { padding: 0; overflow: hidden; }
.app-site .slot-list-heading, .app-site .video-list-heading { margin: 0; padding: 18px 20px; }
.app-site .slot-list-heading h2 span, .app-site .video-list-heading h2 span { display: inline-grid; min-width: 24px; height: 24px; place-items: center; margin-left: 5px; padding: 0 6px; border-radius: 20px; background: #efedff; color: var(--brand-dark); font-size: 11px; vertical-align: 2px; }
.app-site .slot-filter-label { display: flex; align-items: center; gap: 8px; margin: 0; color: #7b869a; font-size: 11px; }
.app-site .slot-filter-label select { width: 155px; min-height: 37px; padding: 5px 9px; font-size: 12px; }
.app-site .slot-table-scroll, .app-site .video-table-scroll { width: 100%; overflow-x: auto; }
.app-site .slot-table, .app-site .video-table { min-width: 750px; }
.app-site .slot-table th, .app-site .video-table th { padding: 11px 15px; background: #f9fafe; color: #707c91; font-size: 10px; }
.app-site .slot-table td, .app-site .video-table td { padding: 14px 15px; color: #4c5870; vertical-align: middle; }
.app-site .slot-table-name, .app-site .video-table-name { display: block; color: #30394d; font-size: 12px; font-weight: 700; }
.app-site .slot-table td > small, .app-site .slot-stream-state + small { display: block; margin-top: 3px; color: #8791a4; font-size: 10px; }
.app-site .slot-status-pill, .app-site .video-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 20px; background: #eff1f5; color: #69758b; font-size: 10px; font-weight: 700; white-space: nowrap; }
.app-site .slot-status-pill.active, .app-site .video-status.ready { background: #e8f7f0; color: #197253; }
.app-site .slot-status-pill.expiring { background: #fff4e2; color: #996218; }
.app-site .slot-status-pill.expired, .app-site .video-status.failed { background: #fff0f2; color: #a63149; }
.app-site .slot-status-pill.pending { background: #f0edff; color: #5d50cd; }
.app-site .slot-stream-state { display: inline-flex; align-items: center; gap: 7px; color: #747f92; font-size: 11px; font-weight: 650; }
.app-site .slot-stream-state i, .app-site .video-status i { width: 7px; height: 7px; border-radius: 50%; background: #a8b0be; }
.app-site .slot-stream-state.is-live { color: #197253; }
.app-site .slot-stream-state.is-live i { background: #28a77c; box-shadow: 0 0 0 3px #28a77c20; }
.app-site .slot-table-actions { min-width: 210px; }
.app-site .slot-table-actions > form, .app-site .slot-renew-form { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 7px 0 0; }
.app-site .slot-renew-form select { width: auto; min-width: 120px; min-height: 33px; padding: 4px 8px; font-size: 11px; }
.app-site .slot-config { margin-bottom: 7px; }
.app-site .slot-config > summary, .app-site .slot-logs > summary { width: fit-content; color: var(--brand-dark); cursor: pointer; font-size: 11px; font-weight: 700; }
.app-site .slot-config-form { width: min(100%, 340px); margin: 10px 0 8px; padding: 13px; border: 1px solid #e8ebf2; border-radius: 9px; background: #fafbfe; }
.app-site .slot-config-form label { margin: 10px 0 4px; font-size: 11px; }
.app-site .slot-config-form label:first-child { margin-top: 0; }
.app-site .slot-config-form input, .app-site .slot-config-form select { min-height: 36px; font-size: 12px; }
.app-site .slot-config-form button { margin-top: 11px; }
.app-site .slot-table-hint, .app-site .slot-table-error, .app-site .slot-order-link { display: block; margin-top: 6px; color: #7b869a; font-size: 10px; }
.app-site .slot-table-error { color: #a63149; }
.app-site .slot-order-link { color: var(--brand-dark); font-weight: 700; }
.app-site .slot-logs { margin-top: 7px; }
.app-site .slot-logs ul { margin: 7px 0; padding-left: 15px; color: #768197; font-size: 10px; }
.app-site .slot-filter-empty, .app-site .slot-empty { padding: 27px 18px; color: #7b869a; text-align: center; }
.app-site .slot-empty h3 { margin: 0; color: #30394d; font-size: 14px; }
.app-site .slot-empty p { margin: 5px 0 0; font-size: 12px; }
.app-site .slot-list-card > .app-alert { margin: 10px 18px; }
.app-site .slot-list-card .slot-empty { border-top: 1px solid #e9ecf2; }
.app-site .video-upload-card { align-items: stretch; gap: 28px; }
.app-site .video-upload-copy, .app-site .video-upload-form-wrap { flex: 1 1 0; min-width: 0; }
.app-site .video-upload-copy h2 { margin: 0; color: #30394d; font-size: 18px; }
.app-site .video-upload-copy > p:not(.app-eyebrow) { margin: 6px 0 17px; color: #7e899e; font-size: 12px; }
.app-site .video-storage { max-width: 430px; }
.app-site .video-storage > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: #7d889d; font-size: 11px; }
.app-site .video-storage strong { color: #3c465c; font-size: 12px; }
.app-site .video-storage strong small { color: #7e899e; font-size: 10px; font-weight: 500; }
.app-site .video-storage progress { width: 100%; height: 7px; margin-top: 6px; accent-color: var(--brand); }
.app-site .video-upload-form-wrap form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px; }
.app-site .video-upload-form-wrap label { grid-column: 1 / -1; margin: 0 0 -3px; font-size: 11px; }
.app-site .video-upload-form-wrap input { min-width: 0; }
.app-site .video-upload-form-wrap .btn { white-space: nowrap; }
.app-site .video-upload-form-wrap p { min-height: 18px; margin: 6px 0 0; color: #68758a; font-size: 11px; }
.app-site .video-upload-form-wrap .err { color: #a63149; }
.app-site .video-upload-locked { align-items: center; }
.app-site .video-upload-locked p:not(.app-eyebrow) { margin-bottom: 0; color: #7e899e; font-size: 12px; }
.app-site .video-list-card { display: block; padding: 0; overflow: hidden; }
.app-site .video-list-heading { border-bottom: 1px solid #e9ecf2; }
.app-site .video-status { padding: 5px 8px; }
.app-site .video-status.processing { background: #fff4e2; color: #95601a; }
.app-site .video-status.processing i { background: #d2912d; }
.app-site .video-status.ready i { background: #28a77c; }
.app-site .video-status.failed i { background: #c53b54; }
.app-site .video-table form { margin: 0; }
.app-site .app-menu-toggle:hover, .app-site .app-sidebar-close:hover { border-color: #c8c3fb; color: var(--brand-dark); }
@media (max-width: 900px) {
  .app-site .app-sidebar { width: 255px; transform: translateX(-101%); transition: transform .2s ease; }
  .app-site .app-shell.has-app-sidebar .app-main-column { margin-left: 0; }
  .app-site .app-menu-toggle { display: grid; }
  .app-site .app-sidebar-close { display: grid; }
  .app-site.app-drawer-open .app-sidebar { transform: translateX(0); }
  .app-site .app-drawer-scrim { position: fixed; z-index: 35; inset: 0; border: 0; background: rgba(22,29,48,.38); }
  .app-site.app-drawer-open .app-drawer-scrim { display: block; }
  .app-site .app-main { width: min(1240px, calc(100% - 40px)); }
}
@media (max-width: 620px) {
  .app-site .app-header-inner { min-height: 61px; padding: 0 15px; }
  .app-site .app-user-name { display: none; }
  .app-site .app-main { width: calc(100% - 28px); padding: 21px 0 35px; }
  .app-site .app-pagehead { align-items: flex-start; flex-direction: column; gap: 5px; margin-bottom: 17px; }
  .app-site .app-pagehead h1 { font-size: 22px; }
  .app-site .app-footer-inner { width: calc(100% - 28px); align-items: flex-start; flex-direction: column; }
  .app-site .app-footer-links { justify-content: flex-start; }
  .app-site .app-stat-grid { grid-template-columns: 1fr; gap: 9px; }
  .app-site .app-stat-card { min-height: 76px; padding: 12px 14px; }
  .app-site .app-stat-icon { width: 39px; height: 39px; }
  .app-site .app-stat-card strong { font-size: 21px; }
  .app-site .app-video-summary { min-height: 70px; padding: 12px 14px; }
  .app-site .app-section-heading { align-items: flex-start; }
  .app-site .app-updated { font-size: 10px; white-space: nowrap; }
  .app-site .slot-overview-card, .app-site .slot-request-card { align-items: stretch; flex-direction: column; gap: 15px; padding: 17px; }
  .app-site .slot-overview-actions { width: 100%; }
  .app-site .slot-overview-actions .btn { flex: 1; }
  .app-site .slot-request-form { width: 100%; display: grid; grid-template-columns: 1fr; }
  .app-site .slot-request-form input, .app-site .slot-request-form select { width: 100%; }
  .app-site .slot-request-form .btn { width: 100%; }
  .app-site .slot-list-heading, .app-site .video-list-heading { align-items: flex-start; padding: 15px; }
  .app-site .slot-filter-label { align-items: flex-end; flex-direction: column; gap: 4px; }
  .app-site .slot-filter-label select { width: 140px; }
  .app-site .slot-table th, .app-site .slot-table td, .app-site .video-table th, .app-site .video-table td { padding: 11px 12px; }
  .app-site .video-upload-card { flex-direction: column; gap: 18px; padding: 17px; }
  .app-site .video-upload-form-wrap form { grid-template-columns: 1fr; }
  .app-site .video-upload-form-wrap label { grid-column: auto; }
  .app-site .video-upload-form-wrap .btn { width: 100%; }
}


/* =====================================================================
   PREMIUM THEME v2 - layered over the base styles above.
   Bigger type, deep indigo sidebar, glass header, glowing buttons,
   large soft cards. Remove this block to return to the old look.
   ===================================================================== */
:root {
  --brand: #7a5cff; --brand-dark: #5b3ff0; --navy: #0b1030; --ink: #151b36; --muted: #5b6585;
  --line: #e4e7f5; --canvas: #f3f4fc; --mint: #2de2b3;
  --shadow: 0 26px 64px rgba(34, 26, 104, .11);
  --grad: linear-gradient(125deg, #9275ff 0%, #5b3ff0 52%, #3b5cf2 100%);
  --glow: 0 14px 34px rgba(91, 63, 240, .36);
  --ring: 0 0 0 4px rgba(122, 92, 255, .22);
  font-family: Inter, "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
html { background: var(--canvas); }
body, body.app-site, .app-site {
  font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background:
    radial-gradient(1000px 520px at 88% -8%, #e6e0ff 0%, transparent 62%),
    radial-gradient(900px 480px at -8% 6%, #dcf4ff 0%, transparent 58%),
    var(--canvas);
  background-repeat: no-repeat;
}
::selection { background: #7a5cff; color: #fff; }

/* ---------- buttons ---------- */
.btn, .button-primary, .auth-card form button {
  background: var(--grad); color: #fff; border: 0; border-radius: 13px; min-height: 48px; padding: 0 22px;
  font-weight: 700; letter-spacing: .005em; box-shadow: var(--glow); transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover, .button-primary:hover, .auth-card form button:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 18px 40px rgba(91, 63, 240, .45); color: #fff; }
.btn:active, .button:active { transform: translateY(0); }
.btn.ghost, .btn.b3 { background: #fff; color: #3d4668; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(30, 24, 90, .06); }
.btn.ghost:hover, .btn.b3:hover { color: var(--brand-dark); border-color: #c9c0ff; filter: none; box-shadow: 0 10px 24px rgba(30, 24, 90, .10); }
.btn.green, .btn.b4 { background: linear-gradient(125deg, #2fd9a3, #10a97a); box-shadow: 0 12px 28px rgba(16, 169, 122, .32); }
.btn.danger { background: linear-gradient(125deg, #ff6b88, #d93a5c); box-shadow: 0 12px 28px rgba(217, 58, 92, .30); }
.btn.sm { min-height: 38px; padding: 0 15px; font-size: 13px; border-radius: 11px; }
.btn[disabled], button[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; filter: grayscale(.3); }
.button { min-height: 54px; padding: 0 28px; border-radius: 14px; font-size: 15px; }
.button-quiet { border-color: rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .10); backdrop-filter: blur(8px); }

/* ---------- form fields ---------- */
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  min-height: 50px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 13px; background: #fff; color: var(--ink);
  font-size: 15px; transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--brand); box-shadow: var(--ring); }
label { font-weight: 650; color: #2a3358; font-size: 14px; }
input[type=file] { padding: 14px; border: 2px dashed #cfc8ff; border-radius: 14px; background: #faf9ff; width: 100%; }

/* ---------- public header & landing ---------- */
.site-header { background: rgba(255, 255, 255, .78); backdrop-filter: blur(22px) saturate(1.4); border-bottom: 1px solid rgba(228, 231, 245, .9); }
.site-header-inner { min-height: 82px; }
.site-brand { font-size: 23px; }
.brand-mark { width: 42px; height: 42px; border-radius: 14px; background: var(--grad); box-shadow: var(--glow); }
.site-nav a { font-size: 15px; font-weight: 650; }
.hero { position: relative; }
.hero h1 { font-size: clamp(46px, 7.2vw, 92px); line-height: 1; letter-spacing: -.055em; font-weight: 780; }
.hero-description { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.65; }
.hero-glow { opacity: 1; filter: blur(70px); }
.gradient-text { background: linear-gradient(100deg, #cbbfff 0%, #8ecbff 50%, #7ff0d2 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.visual-window, .visual-panel { border-radius: 24px; box-shadow: 0 40px 90px rgba(8, 6, 40, .5); border: 1px solid rgba(255, 255, 255, .5); }
.section h2, .trust-copy h2, .cta-section h2 { font-size: clamp(30px, 3.8vw, 50px); letter-spacing: -.045em; line-height: 1.08; }
.eyebrow { font-weight: 800; letter-spacing: .14em; }
.feature-card, .workflow-step, .plan, .faq-item, .content-card, .support-panel {
  border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, .86); box-shadow: 0 6px 22px rgba(30, 24, 90, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature-card { padding: 32px; min-height: 250px; }
.feature-card:hover, .workflow-step:hover, .plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfc7ff; }
.feature-card h3, .steps-grid h3 { font-size: 20px; }
.feature-card p, .steps-grid p { font-size: 15.5px; }
.cta-section { border-radius: 30px; background: radial-gradient(700px 300px at 80% 0%, #6a4cff 0%, transparent 60%), linear-gradient(135deg, #0e1240, #1c1670); box-shadow: 0 40px 90px rgba(30, 24, 120, .35); }
.site-footer { border-top: 1px solid var(--line); }

/* ---------- sign in / sign up ---------- */
.auth-layout {
  background: radial-gradient(640px 360px at 50% 0%, rgba(122, 92, 255, .16), transparent 70%);
}
.auth-card { padding: clamp(28px, 5vw, 48px); width: min(500px, 100%); border: 1px solid rgba(255, 255, 255, .9); border-radius: 28px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); box-shadow: 0 40px 100px rgba(40, 28, 130, .16); }
.auth-card h2 { font-size: 32px; font-weight: 780; letter-spacing: -.05em; }
.auth-card > p { font-size: 15.5px; }
.auth-card form label { display: block; margin: 16px 0 7px; }
.auth-card input { width: 100%; }

/* ---------- generic cards / tables ---------- */
.card, .app-site .app-card, .content-card {
  padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 24px rgba(30, 24, 90, .06);
}
.card h2, .card h3 { font-size: 21px; letter-spacing: -.03em; }
table { border-collapse: separate; border-spacing: 0; }
th { padding: 14px 14px; background: #f6f5ff; color: #5d6485; font-size: 11.5px; letter-spacing: .1em; }
th:first-child { border-radius: 12px 0 0 12px; } th:last-child { border-radius: 0 12px 12px 0; }
td { padding: 16px 14px; font-size: 14.5px; border-bottom: 1px solid #eef0f8; }
tbody tr:hover td, table tr:hover > td { background: #fbfaff; }
.alert, .msg { border-radius: 14px; font-size: 14.5px; padding: 14px 18px; }

/* ---------- app shell (logged-in area) ---------- */
.app-site .app-sidebar {
  background: radial-gradient(420px 260px at 0% 0%, rgba(122, 92, 255, .38), transparent 70%), linear-gradient(190deg, #0c1133 0%, #111a4a 55%, #0b1030 100%);
  border-right: 0; box-shadow: 8px 0 40px rgba(12, 17, 51, .22); color: #c5cbf0;
}
.app-site .app-sidebar-head .app-brand, .app-site .app-sidebar .app-brand { color: #fff; font-size: 22px; }
.app-site .app-sidebar .brand-mark { box-shadow: 0 10px 26px rgba(122, 92, 255, .55); }
.app-site .app-nav-link { min-height: 50px; padding: 0 16px; border-radius: 14px; font-size: 15px; font-weight: 650; color: #b9c0ea; transition: background .18s ease, color .18s ease, transform .18s ease; }
.app-site .app-nav-link svg { width: 20px; height: 20px; }
.app-site .app-nav-link:hover { background: rgba(255, 255, 255, .08); color: #fff; transform: translateX(3px); }
.app-site .app-nav-link.on { background: linear-gradient(120deg, rgba(146, 117, 255, .95), rgba(80, 60, 235, .95)); color: #fff; box-shadow: 0 12px 28px rgba(91, 63, 240, .45); }
.app-site .nav-logout { color: #ffb1c0; }
.app-site .app-sidebar-bottom { border-top: 1px solid rgba(255, 255, 255, .10); color: #98a1d6; font-size: 12.5px; }
.app-site .app-header { background: rgba(255, 255, 255, .72); backdrop-filter: blur(22px) saturate(1.5); box-shadow: 0 1px 0 rgba(228, 231, 245, .9), 0 10px 30px rgba(30, 24, 90, .05); }
.app-site .app-header-inner { min-height: 76px; }
.app-site .app-breadcrumb { font-size: 13.5px; }
.app-site .app-user { font-size: 14px; color: #3d4668; }
.app-site .app-avatar { width: 44px; height: 44px; border: 3px solid #fff; background: var(--grad); box-shadow: 0 8px 20px rgba(91, 63, 240, .35); }
.app-site .app-main { width: min(1320px, calc(100% - 64px)); padding: 38px 0 60px; }
.app-site .app-pagehead h1, .app-main h1 { font-size: 36px; font-weight: 780; letter-spacing: -.05em; color: var(--navy); }
.app-site .app-section-heading h2, .app-site .slot-list-heading h2, .app-site .video-list-heading h2 { font-size: 26px; font-weight: 760; letter-spacing: -.04em; color: var(--navy); }
.app-site .app-section-heading p { font-size: 15px; color: var(--muted); }
.app-site .app-updated { font-size: 13px; color: #5d6785; }
.app-site .app-eyebrow { font-size: 12px; letter-spacing: .14em; color: var(--brand-dark); font-weight: 800; }
@media (min-width: 861px) {
  .app-site .app-sidebar { width: 276px; }
  .app-site .app-shell.has-app-sidebar .app-main-column { margin-left: 276px; }
}

/* stat tiles */
.app-site .app-stat-card, .app-site .app-video-summary {
  min-height: 138px; padding: 26px 28px; gap: 20px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 28px rgba(30, 24, 90, .07); position: relative; overflow: hidden;
}
.app-site .app-stat-card::after, .app-site .app-video-summary::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(122, 92, 255, .14), transparent 70%); }
.app-site .app-stat-card:hover, .app-site .app-video-summary:hover { transform: translateY(-5px); box-shadow: 0 24px 56px rgba(34, 26, 104, .16); border-color: #cfc7ff; }
.app-site .app-stat-card strong, .app-site .app-video-summary strong { font-size: 40px; font-weight: 780; letter-spacing: -.045em; color: var(--navy); }
.app-site .app-stat-card small, .app-site .app-video-summary small { font-size: 15px; color: var(--muted); font-weight: 600; }
.app-site .app-stat-icon { width: 62px; height: 62px; border-radius: 19px; }
.app-site .app-stat-icon svg { width: 28px; height: 28px; }
.app-site .stat-purple { background: linear-gradient(135deg, #ece8ff, #d9d1ff); color: #5b3ff0; }
.app-site .stat-orange { background: linear-gradient(135deg, #fff0d9, #ffe0b2); color: #c2680b; }
.app-site .stat-gray { background: linear-gradient(135deg, #eef0f6, #e1e5f0); color: #5d6785; }
.app-site .stat-arrow { color: var(--brand-dark); font-size: 22px; }
.app-site .app-alert { border-radius: 16px; padding: 16px 20px; font-size: 15px; }
.app-site .app-quick-actions { padding: 34px; background: radial-gradient(520px 240px at 100% 0%, rgba(122, 92, 255, .14), transparent 70%), #fff; }
.app-site .app-quick-actions h2 { font-size: 30px; letter-spacing: -.045em; }
.app-site .quick-action-links { gap: 12px; }

/* slots & videos */
.app-site .slot-overview-card { padding: 34px; border-radius: 26px; border: 0; color: #fff; background: radial-gradient(600px 280px at 90% 0%, rgba(146, 117, 255, .55), transparent 65%), linear-gradient(135deg, #0e1342, #1d1778); box-shadow: 0 30px 70px rgba(30, 24, 120, .30); }
.app-site .slot-overview-card h2 { color: #fff; font-size: 32px; letter-spacing: -.045em; }
.app-site .slot-overview-card p { color: #cdd3ff; font-size: 16px; }
.app-site .slot-overview-card .app-eyebrow { color: #b9a8ff; }
.app-site .slot-overview-card .btn.ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }
.app-site .slot-table, .app-site .video-table { font-size: 14.5px; }
.app-site .slot-table td, .app-site .video-table td { padding: 18px 14px; }
.app-site .slot-table-name { font-size: 16px; color: var(--navy); }
.app-site .slot-status-pill, .tag { display: inline-flex; align-items: center; padding: 5px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 750; }
.app-site .slot-stream-state.is-live { color: #0e9f6e; font-weight: 800; }
.app-site .slot-stream-state.is-live i { box-shadow: 0 0 0 5px rgba(14, 159, 110, .22); animation: lpulse 1.6s ease-in-out infinite; }
@keyframes lpulse { 50% { box-shadow: 0 0 0 9px rgba(14, 159, 110, 0); } }
.app-site .slot-config summary, .app-site .slot-logs summary { font-weight: 700; color: var(--brand-dark); cursor: pointer; }
.app-site progress { height: 10px; border-radius: 99px; }

/* older pages (profile, verify-otp, forgot, admin) use plain <button>/<input> inside .card */
.card form { display: grid; gap: 12px; }
.card form[style*="inline"] { display: inline; }
.card button:not(.btn) { min-height: 48px; padding: 0 22px; border: 0; border-radius: 13px; background: var(--grad); color: #fff; font-weight: 700; box-shadow: var(--glow); cursor: pointer; transition: transform .18s ease, filter .18s ease; }
.card button:not(.btn):hover { transform: translateY(-2px); filter: brightness(1.07); }
.card button.b3 { min-height: 38px; padding: 0 14px; font-size: 13px; background: #fff; color: #3d4668; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(30, 24, 90, .06); }
.card button.b3:hover { color: var(--brand-dark); border-color: #c9c0ff; }
.card button.b4 { min-height: 38px; padding: 0 14px; font-size: 13px; background: linear-gradient(125deg, #2fd9a3, #10a97a); box-shadow: 0 10px 24px rgba(16, 169, 122, .3); }
.card p.err, p.err { color: #b42846; font-weight: 600; }

/* admin (older markup) */
.grid .card { padding: 24px 26px; border-radius: 22px; }
.grid .card h2 { font-size: 38px; font-weight: 780; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.tag.active, .tag.approved { background: #dcf8ee; color: #0b7a56; } .tag.pending { background: #fff1d6; color: #a15d05; } .tag.rejected, .tag.expired { background: #ffe3e8; color: #b42846; }
.r { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid #eef0f8; font-size: 14.5px; }

/* ---------- entrance motion ---------- */
@keyframes lrise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.app-site .app-main > *, .auth-card, .hero-copy, .feature-card { animation: lrise .55s cubic-bezier(.2, .7, .2, 1) both; }
.app-site .app-main > *:nth-child(2) { animation-delay: .06s; } .app-site .app-main > *:nth-child(3) { animation-delay: .12s; } .app-site .app-main > *:nth-child(4) { animation-delay: .18s; }
@media (prefers-reduced-motion: reduce) { .app-site .app-main > *, .auth-card, .hero-copy, .feature-card { animation: none; } }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .app-site .app-main { width: calc(100% - 28px); padding-top: 22px; }
  .app-site .app-pagehead h1, .app-main h1 { font-size: 28px; }
  .app-site .app-stat-card, .app-site .app-video-summary { min-height: 110px; padding: 20px; }
  .app-site .app-stat-card strong, .app-site .app-video-summary strong { font-size: 32px; }
  .app-site .slot-overview-card, .app-site .app-quick-actions { padding: 24px; }
  .app-site .slot-overview-card h2 { font-size: 26px; }
  .card, .app-site .app-card { padding: 20px; border-radius: 18px; }
  .feature-card { padding: 24px; min-height: 0; }
  .button { min-height: 52px; }
}

/* slot actions: Configure + Go live as matching buttons, both on the left */
.app-site .slot-table-actions { text-align: left; min-width: 260px; }
.app-site .slot-btn-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 10px; margin: 0 0 10px; }
.app-site .slot-btn-row > form { display: inline-flex; margin: 0; }
.app-site .slot-btn-row .btn { min-height: 40px; min-width: 112px; padding: 0 18px; font-size: 13.5px; }
.app-site .slot-config-panel { width: 100%; margin: 0 0 12px; }
.app-site .slot-config-panel[hidden] { display: none; }
.app-site .slot-config-form { width: min(100%, 380px); padding: 18px; border-radius: 16px; background: #faf9ff; border: 1px solid #e3defc; }
.app-site .slot-config-form label { font-size: 13px; }
.app-site .slot-config-form input, .app-site .slot-config-form select { min-height: 42px; font-size: 14px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.app-site .slot-table td, .app-site .slot-table th { padding-left: 10px; padding-right: 10px; }
.app-site .slot-table-actions { min-width: 232px; }
.app-site .slot-btn-row { gap: 8px; }
.app-site .slot-btn-row .btn { min-width: 100px; padding: 0 14px; }
.app-site .slot-request-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.app-site .slot-request-form input { flex: 1 1 220px; }
.app-site .slot-request-form select { flex: 0 1 190px; }
.app-site .slot-table, .app-site .video-table { min-width: 0; }
.app-site .slot-table-actions { min-width: 240px; }
.app-site .slot-table .slot-status-pill { white-space: nowrap; }
@media (max-width: 1180px) {
  .app-site .slot-table th:nth-child(3), .app-site .slot-table td:nth-child(3) { display: none; }   /* stream On/Off is also shown by the Stop / Go live button */
}

/* slots table: buttons column at the far LEFT, slot name to its right */
.app-site .slot-table, .app-site .slot-table thead, .app-site .slot-table tbody { display: block; width: 100%; }
.app-site .slot-table tr { display: grid; grid-template-columns: 250px minmax(0, 1.3fr) 150px 90px minmax(0, 1.2fr); align-items: center; column-gap: 8px; }
.app-site .slot-table tr[hidden] { display: none; }
.app-site .slot-table th:last-child, .app-site .slot-table td.slot-table-actions { order: -1; }
.app-site .slot-table th, .app-site .slot-table td { min-width: 0; text-align: left; }
.app-site .slot-table td.slot-table-actions { min-width: 0; align-self: start; }
@media (max-width: 1180px) {
  .app-site .slot-table tr { grid-template-columns: 250px minmax(0, 1.3fr) 140px minmax(0, 1.2fr); }
}
@media (max-width: 860px) {
  .app-site .slot-table tr { grid-template-columns: 1fr 1fr; }
  .app-site .slot-table thead { display: none; }
  .app-site .slot-table td.slot-table-actions { grid-column: 1 / -1; order: 5; }
}

/* ---------- phone / Android app (WebView) polish ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary, select, label, input { -webkit-tap-highlight-color: transparent; }
button, .btn, .button, a.btn, summary, select { touch-action: manipulation; }
body { overflow-x: hidden; }
img, svg, video { max-width: 100%; }
.site-header, .app-header { padding-top: env(safe-area-inset-top); }
.site-footer, .app-footer { padding-bottom: env(safe-area-inset-bottom); }
.app-site .app-sidebar { padding-top: max(18px, env(safe-area-inset-top)); padding-bottom: max(14px, env(safe-area-inset-bottom)); }
@media (max-width: 860px) {
  input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { font-size: 16px; }   /* stops iOS/Android zooming into fields */
  .btn, .button, button, .app-site .app-nav-link { min-height: 46px; }
  .btn.sm, .app-site .slot-btn-row .btn { min-height: 44px; }
  .app-site .app-main { padding-bottom: calc(44px + env(safe-area-inset-bottom)); }
  .app-site .app-header-inner { padding: 0 14px; min-height: 64px; }
  .app-site .app-pagehead { flex-wrap: wrap; }
  .app-site .app-user span:not(.app-avatar) { display: none; }        /* keep the avatar, hide the long name on small screens */
  .auth-card { padding: 26px 20px; border-radius: 22px; }
  .app-site .slot-request-form input, .app-site .slot-request-form select, .app-site .slot-request-form .btn { flex: 1 1 100%; }
  .app-site .slot-table td, .app-site .slot-table th { padding-left: 4px; padding-right: 4px; }
  .app-site .slot-table td { border-bottom: 0; }
  .app-site .slot-table tbody tr { padding: 14px 4px; border-bottom: 1px solid #eef0f8; row-gap: 6px; }
  .app-site .slot-btn-row .btn { flex: 1 1 calc(50% - 8px); }
  .app-site .video-table-scroll, .app-site .slot-table-scroll, .x { -webkit-overflow-scrolling: touch; }
}
@media (hover: none) {
  .btn:hover, .button-primary:hover, .app-site .app-stat-card:hover, .feature-card:hover { transform: none; }   /* no sticky hover lift on touch screens */
}
@media (max-width: 860px) {
  .app-site .app-header-inner { flex-wrap: nowrap; gap: 10px; }
  .app-site .app-header .app-breadcrumb { display: none; }          /* the page title already shows the path, so keep the phone header to one slim line */
  .app-site .app-user { margin-left: auto; }
  .app-site .app-pagehead > p { display: none; }
  .app-site .app-pagehead h1 { font-size: 30px; }
}
@media (max-width: 620px) {
  .app-site .app-header-inner { flex-direction: row; align-items: center; width: auto; padding: 0 14px; }
}

/* =====================================================================
   PREMIUM THEME v3 - "Studio Gold": deep navy + gold + cyan, shared by the whole site.
   LiveLoop and Cricket Scoreboard Studio Pro now look like one brand.
   Remove everything from this comment down to return to the previous look.
   ===================================================================== */
body.cricket-page,
body.gateway {
  --brand: #c98a12; --brand-dark: #9a6708; --navy: #060b22; --ink: #101730; --muted: #55607f;
  --gold: #f5c04a; --gold-2: #ffe08a; --gold-3: #d99a1e; --cyan: #35e0ff; --deep: #0a1f66;
  --grad: linear-gradient(125deg, #ffe38c 0%, #f5c04a 46%, #d99a1e 100%);
  --glow: 0 14px 34px rgba(217, 154, 30, .36);
  --ring: 0 0 0 4px rgba(245, 192, 74, .30);
  --shadow: 0 26px 64px rgba(6, 11, 34, .14);
}
body.cricket-page :focus-visible,
body.gateway :focus-visible { outline-color: #f5c04a; }
body.cricket-page ::selection,
body.gateway ::selection { background: #f5c04a; color: #060b22; }
body.cricket-page .btn,
body.gateway .btn,
body.cricket-page .button-primary,
body.gateway .button-primary,
body.cricket-page .auth-card form button,
body.gateway .auth-card form button { color: #1a1305; text-shadow: none; }
body.cricket-page .btn:hover,
body.gateway .btn:hover,
body.cricket-page .button-primary:hover,
body.gateway .button-primary:hover,
body.cricket-page .auth-card form button:hover,
body.gateway .auth-card form button:hover { color: #1a1305; box-shadow: 0 18px 40px rgba(217, 154, 30, .48); }
body.cricket-page .btn.ghost,
body.gateway .btn.ghost,
body.cricket-page .btn.b3,
body.gateway .btn.b3 { color: #2b3350; }
body.cricket-page .btn.ghost:hover,
body.gateway .btn.ghost:hover,
body.cricket-page .btn.b3:hover,
body.gateway .btn.b3:hover { color: var(--brand-dark); border-color: #f0d28a; }
body.cricket-page .btn.green,
body.gateway .btn.green,
body.cricket-page .btn.b4,
body.gateway .btn.b4,
body.cricket-page .btn.danger,
body.gateway .btn.danger { color: #fff; }
body.cricket-page .button-primary,
body.gateway .button-primary { box-shadow: var(--glow); }
body.cricket-page .button-gold,
body.gateway .button-gold { background: var(--grad); color: #1a1305; border-color: transparent; box-shadow: var(--glow); }
body.cricket-page .button-gold:hover,
body.gateway .button-gold:hover { color: #1a1305; filter: brightness(1.06); box-shadow: 0 18px 42px rgba(217, 154, 30, .5); }
body.cricket-page .button-quiet,
body.gateway .button-quiet { color: #fff; }
body.cricket-page a,
body.gateway a { color: var(--brand-dark); }
body.cricket-page a:hover,
body.gateway a:hover { color: var(--brand); }
body.cricket-page .site-header,
body.gateway .site-header { background: rgba(6, 11, 34, .90); border-bottom: 1px solid rgba(245, 192, 74, .20); backdrop-filter: blur(20px) saturate(1.3); }
body.public-site.cricket-page .site-brand,
body.public-site.gateway .site-brand,
body.public-site.cricket-page .site-brand:hover,
body.public-site.gateway .site-brand:hover { color: #fff; }
body.cricket-page .brand-mark,
body.gateway .brand-mark { color: #1a1305; background: var(--grad); box-shadow: 0 8px 22px rgba(217, 154, 30, .4); }
body.public-site.cricket-page .site-nav a,
body.public-site.gateway .site-nav a,
body.public-site.cricket-page .text-link,
body.public-site.gateway .text-link { color: #c9d2f4; }
body.public-site.cricket-page .site-nav a:hover,
body.public-site.gateway .site-nav a:hover,
body.public-site.cricket-page .text-link:hover,
body.public-site.gateway .text-link:hover { color: var(--gold); }
body.cricket-page .site-header .mobile-menu summary,
body.gateway .site-header .mobile-menu summary { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); }
body.cricket-page .site-header .mobile-menu summary span,
body.gateway .site-header .mobile-menu summary span { background: #fff; }
body.cricket-page .site-footer,
body.gateway .site-footer { background: #050a1e; color: #aab4d6; border-top: 1px solid rgba(245, 192, 74, .16); }
body.cricket-page .site-footer a,
body.gateway .site-footer a { color: #cfd7f5; }
body.cricket-page .site-footer a:hover,
body.gateway .site-footer a:hover { color: var(--gold); }
body.cricket-page .site-footer .site-brand,
body.gateway .site-footer .site-brand { color: #fff; }
body.cricket-page .gold-text,
body.gateway .gold-text { background: linear-gradient(120deg, #ffe28a, #f5c04a 55%, #e0a02a); -webkit-background-clip: text; background-clip: text; color: transparent; }


/* ---------- home: two products side by side ---------- */
.split-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(820px, calc(100vh - 82px)); background: #060b22; }
.split-half { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: 56px clamp(22px, 4vw, 64px); color: #fff; isolation: isolate; }
.split-loop { background: radial-gradient(700px 420px at 14% 0%, rgba(53, 224, 255, .16), transparent 62%), radial-gradient(640px 420px at 100% 100%, rgba(122, 92, 255, .22), transparent 60%), linear-gradient(140deg, #080e2a, #14104a 70%, #0b1235); }
.split-cricket { background: radial-gradient(760px 460px at 88% 0%, rgba(245, 192, 74, .20), transparent 60%), repeating-linear-gradient(90deg, rgba(53, 224, 255, .05) 0 1px, transparent 1px 90px), linear-gradient(140deg, #050a1e, #0a1f66 62%, #06103a); border-left: 1px solid rgba(245, 192, 74, .35); }
.split-inner { position: relative; z-index: 2; max-width: 560px; }
.split-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #d9e0ff; }
.split-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.split-badge.gold { border-color: rgba(245, 192, 74, .5); color: #ffe9b0; }
.split-badge.gold i { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.split-half h1, .split-half .split-title { margin: 18px 0 0; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -.045em; font-weight: 780; color: #fff; }
.split-loop .gradient-text { background: linear-gradient(120deg, #8ff0ff, #8d7bff 60%, #c4a6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.split-lead { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: #cdd5f3; max-width: 520px; }
.split-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; color: #e3e8ff; font-weight: 600; font-size: 15px; }
.split-points li::before { content: "✓"; margin-right: 10px; color: var(--cyan); font-weight: 800; }
.split-cricket .split-points li::before { color: var(--gold); }
.split-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.split-note { margin: 14px 0 0; font-size: 13px; color: #9ca8d2; }
.split-visual { position: relative; z-index: 1; }
.cricket-visual { margin-right: -12%; transform: perspective(1400px) rotateY(-9deg) rotateX(2deg); transform-origin: left center; }
.cricket-visual img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 60px rgba(245, 192, 74, .18); }
.chip { position: absolute; padding: 8px 16px; border-radius: 12px; font-weight: 800; font-size: 14px; letter-spacing: .04em; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }
.chip-a { top: -14px; left: 8%; background: #e8283c; color: #fff; }
.chip-b { bottom: -14px; right: 22%; background: var(--grad); color: #1a1305; }
.loop-visual .loop-window { width: min(380px, 90%); border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; background: rgba(8, 14, 42, .85); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); overflow: hidden; }
.loop-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.loop-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.loop-body { padding: 16px; display: grid; gap: 12px; }
.loop-screen { display: grid; place-items: center; aspect-ratio: 16 / 8; border-radius: 12px; background: linear-gradient(135deg, #1b2a6b, #5a3fd6); color: #fff; }
.loop-screen b { font-size: 34px; } .loop-screen small { opacity: .8; }
.loop-row { display: flex; gap: 8px; } .loop-row i { flex: 1; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .14); }
.loop-live { font-size: 13px; font-weight: 700; color: #cdd5f3; } .loop-live em { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: #ff4d6a; animation: livepulse 1.6s infinite; }
@keyframes livepulse { 50% { opacity: .35; transform: scale(.8); } }
@media (max-width: 1000px) {
  .split-hero { grid-template-columns: 1fr; min-height: 0; }
  .split-cricket { border-left: 0; border-top: 1px solid rgba(245, 192, 74, .35); }
  .cricket-visual { margin-right: 0; transform: none; }
  .split-half { padding: 44px 22px 52px; }
}

/* ---------- the Cricket software page ---------- */
html:has(body.cricket-page) { background: #060b22; }
body.cricket-page { background: #060b22; color: #dbe2fb; }
.cp-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.cp-narrow { max-width: 820px; }
.cp-hero { position: relative; overflow: hidden; padding: 72px 0 40px; background: radial-gradient(900px 520px at 85% -5%, rgba(245, 192, 74, .20), transparent 60%), radial-gradient(800px 520px at -5% 20%, rgba(53, 224, 255, .12), transparent 60%), repeating-linear-gradient(90deg, rgba(53, 224, 255, .045) 0 1px, transparent 1px 100px), #060b22; }
.cp-glow { position: absolute; inset: auto 0 -140px 0; height: 280px; background: radial-gradient(ellipse at 50% 100%, rgba(245, 192, 74, .18), transparent 70%); }
.cp-hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 56px; }
.cp-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.cp-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.cp-eyebrow.center { display: flex; justify-content: center; }
.cp-hero h1 { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.04; letter-spacing: -.05em; font-weight: 790; color: #fff; }
.cp-lead { margin: 20px 0 0; font-size: 18px; line-height: 1.65; color: #c5cdee; max-width: 560px; }
.cp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cp-actions.center { justify-content: center; }
.cp-fine { margin: 16px 0 0; font-size: 13px; color: #8f9bc6; }
.cp-fine.center { text-align: center; }
.cp-fine a { color: var(--gold); }
.cp-hero-visual { position: relative; }
.cp-frame { border-radius: 18px; padding: 8px; background: linear-gradient(145deg, rgba(245, 192, 74, .55), rgba(53, 224, 255, .25)); box-shadow: 0 50px 110px rgba(0, 0, 0, .6), 0 0 80px rgba(245, 192, 74, .16); transform: perspective(1500px) rotateY(-7deg); }
.cp-frame img, .cp-float img { display: block; width: 100%; height: auto; border-radius: 12px; }
.cp-float { position: absolute; width: 46%; padding: 5px; border-radius: 14px; background: rgba(10, 18, 54, .95); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
.cp-float-a { left: -9%; bottom: -26px; } .cp-float-b { right: -4%; top: -30px; width: 36%; }
.cp-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.cp-stats div { padding: 18px 20px; border: 1px solid rgba(245, 192, 74, .22); border-radius: 16px; background: rgba(255, 255, 255, .035); text-align: center; }
.cp-stats b { display: block; font-size: 28px; letter-spacing: -.02em; color: var(--gold); }
.cp-stats span { font-size: 13px; color: #aab5dd; }
.cp-section { padding: 96px 0; }
.cp-alt { background: linear-gradient(180deg, #08102e, #060b22); border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.cp-h2 { margin: 0; text-align: center; font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.04em; line-height: 1.1; font-weight: 780; color: #fff; }
.cp-h2.left, .cp-sub.left { text-align: left; }
.cp-sub { margin: 14px auto 0; max-width: 680px; text-align: center; font-size: 17px; line-height: 1.6; color: #b4bee3; }
.cp-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.cp-card { padding: 28px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); transition: transform .2s ease, border-color .2s ease; }
.cp-card:hover { transform: translateY(-4px); border-color: rgba(245, 192, 74, .5); }
.cp-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 16px; border-radius: 14px; background: rgba(245, 192, 74, .14); border: 1px solid rgba(245, 192, 74, .35); font-size: 24px; }
.cp-card h3 { margin: 0 0 8px; font-size: 19px; color: #fff; letter-spacing: -.02em; }
.cp-card p { margin: 0; color: #b4bee3; line-height: 1.6; font-size: 15px; }
.cp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.cp-gallery figure { margin: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; background: #0a1238; }
.cp-gallery img, .cp-wide img, .cp-download-art img { display: block; width: 100%; height: auto; }
.cp-gallery figcaption { display: grid; gap: 2px; padding: 14px 16px 16px; } .cp-gallery figcaption b { color: #fff; } .cp-gallery figcaption span { font-size: 13px; color: #9ca8d2; }
.cp-wide { margin: 40px auto 0; max-width: 980px; text-align: center; }
.cp-wide img { border-radius: 16px; border: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 40px 90px rgba(0, 0, 0, .5); }
.cp-wide p { margin: 14px 0 0; color: #aab5dd; }
.cp-steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.cp-steps li { position: relative; padding: 26px 22px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: rgba(255, 255, 255, .035); }
.cp-steps span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #1a1305; font-weight: 800; }
.cp-steps h3 { margin: 14px 0 6px; color: #fff; font-size: 18px; } .cp-steps p { margin: 0; color: #b4bee3; font-size: 14.5px; line-height: 1.55; }
.cp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; align-items: stretch; }
.cp-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); }
.cp-plan.best { border: 1px solid rgba(245, 192, 74, .75); background: linear-gradient(180deg, rgba(245, 192, 74, .14), rgba(245, 192, 74, .03)); box-shadow: 0 30px 80px rgba(217, 154, 30, .18); transform: translateY(-10px); }
.cp-plan h3 { margin: 0; font-size: 19px; color: #fff; }
.cp-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 16px; border-radius: 999px; background: var(--grad); color: #1a1305; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.cp-price { display: flex; align-items: baseline; gap: 8px; } .cp-price b { font-size: 46px; letter-spacing: -.04em; color: #fff; } .cp-price span { color: #9ca8d2; font-size: 14px; }
.cp-plan > p { margin: 0; color: #b4bee3; font-size: 15px; }
.cp-plan ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 9px; flex: 1; color: #dbe2fb; font-size: 15px; }
.cp-plan li::before { content: "✓"; margin-right: 10px; color: var(--gold); font-weight: 800; }
.cp-download { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cp-download-art img { border-radius: 16px; border: 1px solid rgba(255, 255, 255, .15); box-shadow: 0 40px 90px rgba(0, 0, 0, .5); }
.cp-req { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; color: #c5cdee; } .cp-req li::before { content: "•"; margin-right: 10px; color: var(--gold); }
.cp-faq { margin-top: 36px; display: grid; gap: 12px; }
.cp-faq details { border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: rgba(255, 255, 255, .035); }
.cp-faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.cp-faq summary::-webkit-details-marker { display: none; } .cp-faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.cp-faq details[open] summary::after { content: "–"; } .cp-faq details p { margin: 0; padding: 0 22px 20px; color: #b4bee3; line-height: 1.65; }
.cp-final { padding: 84px 0; text-align: center; background: radial-gradient(700px 300px at 50% 0, rgba(245, 192, 74, .22), transparent 70%), #07102f; }
.cp-final h2 { margin: 0; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.04em; color: #fff; }
@media (max-width: 1000px) {
  .cp-hero-grid, .cp-download { grid-template-columns: 1fr; gap: 40px; }
  .cp-grid3, .cp-gallery { grid-template-columns: repeat(2, 1fr); }
  .cp-steps { grid-template-columns: repeat(2, 1fr); }
  .cp-plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .cp-plan.best { transform: none; }
  .cp-float { display: none; }
  .cp-frame { transform: none; }
  .cp-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .cp-section { padding: 64px 0; } .cp-hero { padding: 44px 0 28px; }
  .cp-grid3, .cp-gallery, .cp-steps { grid-template-columns: 1fr; }
  .cp-wrap { width: calc(100% - 32px); }
  .cp-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .loop-live em { animation: none; } .cp-card, .cp-card:hover { transition: none; transform: none; } }

/* ---- demo video ---- */
.cp-demo-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 28px; align-items: center; margin: 36px auto 34px; max-width: 1120px; }
.cp-player { border-radius: 18px; padding: 8px; background: linear-gradient(145deg, rgba(245, 192, 74, .55), rgba(53, 224, 255, .25)); box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 70px rgba(245, 192, 74, .14); }
.cp-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; }
.cp-demo-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cp-demo-points li { padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.cp-demo-points b { display: block; color: var(--gold); font-size: 17px; margin-bottom: 4px; }
.cp-demo-points span { color: #c5cdee; font-size: 15px; line-height: 1.5; }
@media (max-width: 860px) { .cp-demo-grid { grid-template-columns: 1fr; } .cp-demo-points { grid-template-columns: 1fr; } }

/* ---- hero video under the preview ---- */
/* ---- hero video under the preview ---- */
.cp-hero-video { position: relative; margin-top: 64px; border-radius: 16px; padding: 6px; background: linear-gradient(145deg, rgba(245, 192, 74, .5), rgba(53, 224, 255, .22)); box-shadow: 0 36px 90px rgba(0, 0, 0, .55); }
.cp-hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 11px; background: #000; }
.cp-sound { position: absolute; right: 18px; bottom: 18px; padding: 8px 14px; border: 0; border-radius: 999px; background: rgba(6, 11, 34, .82); color: #fff; font: 700 13px/1 inherit; cursor: pointer; backdrop-filter: blur(6px); }
.cp-sound:hover { background: rgba(245, 192, 74, .95); color: #1b1300; }
@media (max-width: 1000px) { .cp-hero-video { margin-top: 28px; } }

/* ---- video under the home preview ---- */
.home-video { position: relative; margin-top: 34px; border-radius: 16px; padding: 6px; background: linear-gradient(145deg, rgba(245, 192, 74, .5), rgba(53, 224, 255, .22)); box-shadow: 0 36px 90px rgba(0, 0, 0, .55); }
.home-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 11px; background: #000; }

/* ---- tutorial video (home) ---- */
.tutorial-video { max-width: 980px; margin: 56px auto 0; text-align: center; }
.tutorial-video h3 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; }
.tutorial-video p { margin: 0 0 22px; color: #aab5dd; }
.tutorial-frame { border-radius: 18px; padding: 8px; background: linear-gradient(145deg, rgba(245, 192, 74, .5), rgba(53, 224, 255, .25)); box-shadow: 0 36px 90px rgba(0, 0, 0, .5); }
.tutorial-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; }

/* =====================================================================
   SEPARATE SERVICES
   LiveLoop (video loop streaming)  = indigo + violet + white sections   (body.svc-loop, the original look)
   Cricket Scoreboard Studio Pro    = deep navy + gold + cyan            (body.cricket-page)
   "/" is a neutral chooser: light LiveLoop half and dark Cricket half     (body.gateway)
   ===================================================================== */

/* ---- service switch in the header ---- */
.svc-switch { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid rgba(127, 135, 170, .35); background: rgba(127, 135, 170, .10); }
.svc-switch a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 750; letter-spacing: .01em; white-space: nowrap; color: inherit; opacity: .78; }
.svc-switch a i { width: 8px; height: 8px; border-radius: 50%; }
.svc-switch .t-loop i { background: #8b7bff; box-shadow: 0 0 8px #8b7bff; }
.svc-switch .t-cricket i { background: #f5c04a; box-shadow: 0 0 8px #f5c04a; }
.svc-switch a:hover { opacity: 1; }
.svc-switch a[aria-current="page"] { opacity: 1; }
.svc-switch .t-loop[aria-current="page"] { background: linear-gradient(135deg, #7a6bff, #5a47e6); color: #fff; }
.svc-switch .t-cricket[aria-current="page"] { background: linear-gradient(125deg, #ffe38c, #f5c04a 50%, #d99a1e); color: #1a1305; }
.svc-switch .t-loop[aria-current="page"] i, .svc-switch .t-cricket[aria-current="page"] i { background: currentColor; box-shadow: none; }
body.svc-loop .svc-switch { color: var(--ink); }
body.cricket-page .svc-switch, body.gateway .svc-switch { color: #e6ebff; }
@media (max-width: 1000px) { .site-header .svc-switch { display: none; } }
.mobile-menu .svc-switch-m { display: flex; gap: 8px; padding: 6px 0 10px; }
.mobile-menu .svc-switch-m a { flex: 1; text-align: center; padding: 10px; border-radius: 12px; font-weight: 750; border: 1px solid rgba(127, 135, 170, .35); }

/* ---- LiveLoop pages: keep the indigo/violet look, make it clearly "LiveLoop" ---- */
body.svc-loop .site-brand .brand-mark { background: linear-gradient(135deg, #8b7bff, #5a47e6); box-shadow: 0 10px 24px rgba(101, 88, 232, .35); color: #fff; }
body.svc-loop .tutorial-video p { color: var(--muted); }
body.svc-loop .tutorial-video h3 { color: var(--navy); }
body.svc-loop .tutorial-frame { background: linear-gradient(145deg, #8b7bff, #35e0ff); box-shadow: 0 30px 70px rgba(75, 61, 204, .28); }
body.svc-loop .loop-hero-video { margin-top: 18px; }

/* ---- "/" chooser: light LiveLoop half (left), dark Cricket half (right) ---- */
html:has(body.gateway) { background: #060b22; }
body.gateway { background: #060b22; color: #dbe2fb; }
body.gateway .split-loop { background: radial-gradient(640px 420px at 10% 0%, rgba(139, 123, 255, .28), transparent 62%), radial-gradient(520px 380px at 100% 100%, rgba(53, 224, 255, .22), transparent 60%), linear-gradient(150deg, #f6f4ff, #e9e4ff 70%, #f1efff); color: #1b1650; }
body.gateway .split-loop h1 { color: #1b1650; }
body.gateway .split-loop .gradient-text { background: linear-gradient(120deg, #5a47e6, #8b5cf6 55%, #d946ef); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.gateway .split-loop .split-lead { color: #4a4f78; }
body.gateway .split-loop .split-points { color: #2a2766; }
body.gateway .split-loop .split-points li::before { color: #6558e8; }
body.gateway .split-loop .split-note { color: #6b6f98; }
body.gateway .split-loop .split-badge { background: rgba(101, 88, 232, .10); border-color: rgba(101, 88, 232, .35); color: #4b3dcc; }
body.gateway .split-loop .split-badge i { background: #6558e8; box-shadow: 0 0 10px #8b7bff; }
body.gateway .split-loop .button-primary { background: linear-gradient(135deg, #7a6bff, #5a47e6); color: #fff; box-shadow: 0 14px 30px rgba(101, 88, 232, .38); }
body.gateway .split-loop .button-primary:hover { color: #fff; filter: brightness(1.07); }
body.gateway .split-loop .button-quiet { color: #3b2fb0; border: 1px solid rgba(101, 88, 232, .4); background: rgba(255, 255, 255, .55); }
body.gateway .split-cricket { border-left: 0; }
body.gateway .split-loop .loop-window { background: #fff; border-color: rgba(101, 88, 232, .25); box-shadow: 0 30px 70px rgba(75, 61, 204, .25); }
body.gateway .split-loop .loop-bar { border-bottom-color: #ece9ff; } body.gateway .split-loop .loop-bar span { background: #cfc9ff; }
body.gateway .split-loop .loop-row i { background: #e3dfff; } body.gateway .split-loop .loop-live { color: #3b3a66; }
.gw-title { text-align: center; padding: 44px 20px 8px; background: #060b22; }
.gw-title h2 { margin: 0; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.03em; color: #fff; }
.gw-title p { margin: 10px auto 0; max-width: 640px; color: #aab5dd; }
.gw-compare { width: min(1100px, calc(100% - 40px)); margin: 28px auto 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.gw-card { padding: 28px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); }
.gw-card h3 { margin: 0 0 6px; font-size: 22px; color: #fff; }
.gw-card.loop { border-color: rgba(139, 123, 255, .45); background: linear-gradient(160deg, rgba(139, 123, 255, .16), rgba(255, 255, 255, .03)); }
.gw-card.cricket { border-color: rgba(245, 192, 74, .45); background: linear-gradient(160deg, rgba(245, 192, 74, .14), rgba(255, 255, 255, .03)); }
.gw-card ul { margin: 14px 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; color: #cdd5f3; }
.gw-card.loop li::before { content: "▸"; color: #a99cff; margin-right: 10px; } .gw-card.cricket li::before { content: "▸"; color: #f5c04a; margin-right: 10px; }
.gw-card .for { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; margin-bottom: 10px; }
.gw-card.loop .for { color: #a99cff; } .gw-card.cricket .for { color: #f5c04a; }
@media (max-width: 800px) { .gw-compare { grid-template-columns: 1fr; } }

/* ---- chooser fine tuning: neutral header, LiveLoop actions in violet, straight (uncropped) cricket visual ---- */
body.gateway .brand-mark { background: linear-gradient(135deg, #8b7bff, #35e0ff); color: #0b1030; box-shadow: 0 8px 22px rgba(101, 88, 232, .45); }
body.gateway .site-actions .button-primary, body.gateway .gw-card.loop .button-primary { background: linear-gradient(135deg, #7a6bff, #5a47e6); color: #fff; box-shadow: 0 14px 30px rgba(101, 88, 232, .4); }
body.gateway .site-actions .button-primary:hover, body.gateway .gw-card.loop .button-primary:hover { color: #fff; filter: brightness(1.08); }
body.gateway .site-nav a:hover { color: #fff; }
body.gateway .cricket-visual { margin-right: 0; transform: none; }
body.gateway .split-half { justify-content: flex-start; padding-top: 72px; }
body.gateway .loop-tut { margin-top: 30px; max-width: 520px; background: linear-gradient(145deg, #8b7bff, #35e0ff); box-shadow: 0 30px 70px rgba(75, 61, 204, .28); }
.loop-tut-cap { margin: 12px 0 0; font-size: 14px; font-weight: 700; color: #4b3dcc; }

/* =====================================================================
   LIVE SLOTS page: one clean card, filter pills, a simple table, one main action per row, details on demand
   ===================================================================== */
.ls-card { background: #fff; border: 1px solid #e6e9f5; border-radius: 22px; box-shadow: 0 24px 60px rgba(40, 34, 120, .08); padding: 28px 30px 12px; overflow: hidden; }
.ls-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid #eef0f8; }
.ls-head h2 { margin: 2px 0 6px; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.03em; color: #15133d; }
.ls-head p { margin: 0; color: #6b7090; }
.ls-head .app-eyebrow { color: #6558e8; margin-bottom: 4px; }
.ls-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ls-add { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr auto; gap: 12px; align-items: center; margin-top: 20px; padding: 18px; border-radius: 16px; background: #f5f3ff; border: 1px dashed #b9b0ff; }
.ls-add[hidden] { display: none; }
.ls-add > div { display: grid; gap: 2px; } .ls-add small { color: #6b7090; }
.ls-add input, .ls-add select { margin: 0; }
.ls-toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 8px; }
.ls-pill { min-height: 0; padding: 8px 16px; border-radius: 999px; border: 1px solid #dcdff0; background: #fff; color: #4a4f78; font-weight: 700; font-size: 13px; }
.ls-pill b { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #eef0fb; color: #4b3dcc; font-size: 12px; }
.ls-pill[aria-pressed="true"] { background: linear-gradient(135deg, #7a6bff, #5a47e6); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(101, 88, 232, .3); }
.ls-pill[aria-pressed="true"] b { background: rgba(255, 255, 255, .22); color: #fff; }
.ls-table-wrap { margin: 0 -30px; overflow-x: auto; }
.ls-table { width: 100%; border-collapse: collapse; }
.ls-table thead th { padding: 11px 28px; background: #f4f4fb; color: #6b7090; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-align: left; font-weight: 800; }
.ls-table td { padding: 16px 28px; vertical-align: middle; border-bottom: 1px solid #eef0f8; }
.ls-item[hidden] { display: none; }
.ls-row:hover td { background: #fafaff; }
.ls-row td small { display: block; color: #8a8fb0; font-size: 12px; }
.ls-actions { width: 1%; white-space: nowrap; }
.ls-actions-in { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.ls-actions form { margin: 0; }
.ls-manage { min-height: 0; padding: 8px 12px; border: 0; background: transparent; color: #5a47e6; font-weight: 700; font-size: 13px; border-radius: 10px; }
.ls-manage:hover { background: #efecff; }
.ls-manage[aria-expanded="true"] i { display: inline-block; transform: rotate(180deg); }
.ls-detail td { padding: 0 28px 22px; background: #fafaff; border-bottom: 1px solid #eef0f8; }
.ls-detail[hidden] { display: none; }
.ls-detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; padding-top: 18px; }
.ls-detail h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #6558e8; }
.ls-config { display: grid; gap: 8px; align-content: start; }
.ls-config label { font-size: 13px; color: #6b7090; margin-top: 4px; }
.ls-config input, .ls-config select { margin: 0; }
.ls-config .btn { justify-self: start; margin-top: 8px; }
.ls-side { display: grid; gap: 10px; align-content: start; }
.ls-renew { display: flex; gap: 8px; flex-wrap: wrap; } .ls-renew select { flex: 1; min-width: 140px; margin: 0; }
.ls-note { margin: 0; color: #6b7090; font-size: 14px; }
.ls-logs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: #6b7090; }
.ls-logs li { display: flex; justify-content: space-between; gap: 12px; }
@media (max-width: 900px) {
  .ls-add { grid-template-columns: 1fr; }
  .ls-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ls-card { padding: 18px 14px 4px; border-radius: 18px; }
  .ls-table-wrap { margin: 0 -14px; }
  .ls-table thead { display: none; }
  .ls-table, .ls-item, .ls-detail, .ls-detail td { display: block; width: 100%; }
  .ls-item[hidden], .ls-detail[hidden] { display: none; }
  /* one compact card per slot:  name ............ status   /   stream  expires ........ action */
  .ls-row { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "slot slot status" "stream exp act"; gap: 6px 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid #eef0f8; }
  .ls-row td { display: block; width: auto; padding: 0; border: 0; background: transparent; }
  .ls-row td::before { content: none; }
  .ls-row td[data-label="Slot"] { grid-area: slot; display: flex; align-items: baseline; gap: 8px; min-width: 0; }
  .ls-row td[data-label="Slot"] small { display: inline; }
  .ls-row td[data-label="Status"] { grid-area: status; justify-self: end; }
  .ls-row td[data-label="Stream"] { grid-area: stream; }
  .ls-row td[data-label="Stream"] small { display: none; }
  .ls-row td[data-label="Expires on"] { grid-area: exp; font-size: 12.5px; color: #6b7090; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ls-row td[data-label="Expires on"]::before { content: "Exp. "; }
  .ls-row td.ls-actions { grid-area: act; width: auto; }
  .ls-actions-in { justify-content: flex-end; gap: 8px; }
  .ls-row .btn.sm { padding: 7px 12px; min-height: 34px; font-size: 13px; }
  .ls-time { display: none; }
  .ls-row.is-open td { background: transparent; } .ls-row.is-open { background: #f4f2ff; }
  .ls-detail td { padding: 0 14px 16px; }
}
.ls-row { cursor: pointer; }
.ls-row:focus-visible { outline: 3px solid #8e85ff; outline-offset: -3px; }
.ls-row.is-open td { background: #f4f2ff; }
.ls-chev { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #5a47e6; background: #efecff; font-size: 14px; transition: transform .2s; }
.ls-row.is-open .ls-chev { transform: rotate(180deg); }
.ls-go { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.ls-go .btn { min-width: 150px; font-size: 16px; }
.ls-go small { color: #8a8fb0; }

/* ---- add / renew: Months | Days switch + amount ---- */
.ls-add { grid-template-columns: 1.1fr 1.1fr auto; }
.ls-period { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ls-period select { margin: 0; min-width: 170px; }
.ls-seg { display: inline-flex; border: 1px solid #6558e8; border-radius: 8px; overflow: hidden; flex: none; }
.ls-seg label { cursor: pointer; margin: 0; } .ls-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ls-seg span { display: block; padding: 9px 20px; font-weight: 700; color: #6558e8; background: #fff; line-height: 1.2; }
.ls-seg input:checked + span { background: linear-gradient(135deg, #7a6bff, #5a47e6); color: #fff; }
.ls-seg input:focus-visible + span { outline: 3px solid #8e85ff; outline-offset: 2px; }
.ls-renew-form .ls-period { align-items: stretch; }
@media (max-width: 900px) { .ls-add { grid-template-columns: 1fr; } }
.ls-add { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.ls-add > div:first-of-type { grid-column: 1 / -1; }
.ls-period { flex-wrap: nowrap; }
.ls-period select { flex: 1; min-width: 0; }
.ls-period .btn { flex: none; white-space: nowrap; }
.ls-renew-form .ls-period { flex-wrap: wrap; }
@media (max-width: 900px) { .ls-add { grid-template-columns: 1fr; } .ls-period { flex-wrap: wrap; } }
.ls-renew-form .ls-period select { min-width: 170px; }
.ls-add > .ls-period { display: flex; gap: 10px; }
@media (max-width: 900px) {
  .ls-add > .ls-period, .ls-renew-form .ls-period { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .ls-period .ls-seg { display: flex; } .ls-period .ls-seg label { flex: 1; } .ls-period .ls-seg span { text-align: center; }
  .ls-period select, .ls-period .btn { width: 100%; min-width: 0; }
}
