/* preload graphics (js preload doesn't stop the animation flicker in chrome) */
body::after {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
	z-index: -1;
	content:
		url('https://d13exqa8fa735g.cloudfront.net/ascii-arm-f0.png')
        url('https://d13exqa8fa735g.cloudfront.net/ascii-arm-f1.png')
        url('https://d13exqa8fa735g.cloudfront.net/ascii-arm-f2.png')
		;
}

:root {
    --bg: #000;
    --surface: #141414;
    --border: #2a2a2a;
    --text: #e0e0e0;
    --text-secondary: #999;
    --accent: #6c5ce7;
    --accent-glow: rgba(108, 92, 231, 0.4);
    --white: #ffffff;
    --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
    --font-sans: 'Inter', 'SF Pro Display', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --toolbar-height: 64px;
    --transition-speed: 0.35s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-snap-type: y mandatory;
    
    /* optional: smooth scrolling for keyboard / anchor jumps */
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

BODY.no-scroll {
    overflow: hidden;
}

/* ========== FIXED TOOLBAR ========== */
.toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    height: var(--toolbar-height);
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    transition: background var(--transition-speed) ease,
        border-color var(--transition-speed) ease;
}

.toolbar.scrolled {
    background: rgba(0, 0, 0, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.5);
}

/* Small logo in toolbar — hidden by default, fades in on scroll */
.toolbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--transition-speed) ease,
        transform var(--transition-speed) ease;
    pointer-events: none;
}

.toolbar-logo.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toolbar-logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.toolbar-logo-text {
    font-weight: 700;
    font-size: 17px;
    color: var(--white);
    letter-spacing: -0.3px;
}

/* Toolbar nav links */
.toolbar-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.toolbar-nav a, .btn-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14.5px;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
    position: relative;
}

A.btn-link {
    color: var(--white);
}

.toolbar-nav a:hover, .btn-link:hover {
    color: var(--white);
}

.toolbar-nav a::after, .btn-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.toolbar-nav a:hover::after, .btn-link:hover::after {
    width: 100%;
}

/* Install button */
.btn-install, 
.dialog BUTTON.btn-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: var(--white);
    color: #0a0a0a !important;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 0.3px;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
    user-select: none;
}

.btn-install:hover,
.dialog BUTTON.btn-submit:hover {
    background: #00802e;
    color: var(--white) !important;
    /* background: #d4d4d4;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.15); */
}
/* .block-2 .btn-install:hover {

} */

.fancy-btn {
    border: none;
    outline: none;
    position: relative;
    z-index: 0;
}

.fancy-btn:hover {
    color: white !important;
    background-color: white;
}

.fancy-btn:hover:before {
    content: '';
    background: linear-gradient(90deg,#002bff, #7a00ff, #ff00c8, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5);
    position: absolute;
    top: -5px;
    left: -5px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 7px);
    height: calc(100% + 7px);
    animation: glowing 20s linear infinite;
    opacity: 1;
    transition: opacity .3s ease-in-out;
    border-radius: 5px;
}

@keyframes glowing{
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 800% 0;
    }
}

.toolbar-nav a.btn-install::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0px;
    height: 0px;
    background: transparent;
    border-radius: 0px;
}

.btn-install:active {
    transform: scale(0.97);
}

/* "Coming Soon" label */
.btn-install.coming-soon {
    pointer-events: none;
    cursor: not-allowed;
    background-color: rgba(255, 255, 255, .8);
    transition: none !important;
    box-shadow: none !important;
    color: rgba(0, 0, 0, .5) !important;
    /* padding-left: 30px; */
}
.btn-install.coming-soon::after {
    content: "Coming Soon";
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #00a540;
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 1px 12px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
    box-shadow: 0 1px 1px rgba(108, 92, 231, 0.5);
    /* animation: pulse-label 2.2s ease-in-out infinite; */
    /* rotate: -20deg; */
}

/* Subtle pulsing to draw attention */
/* @keyframes pulse-label {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.75;
        transform: translateX(-50%) translateY(-2px);
    }
} */

.btn-link {
    margin-left: 10px;
}

.btn-or {
    margin-left: 10px;
    letter-spacing: 0.2px;
}

.btn-link.inline, .btn-or.inline {
    margin-left: 0px;
    display: inline;
}

/* ========== HERO SECTION (First Screen) ========== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: var(--toolbar-height);
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

/* Subtle ambient glow behind the logo */
.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgb(8 119 201 / 20%) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: ambientPulse 6s ease-in-out infinite;
}

@keyframes ambientPulse {
    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15);
    }
}


.scroll-hint::before {
    content: '';
    position: absolute;
    width: 370px;
    height: 140px;
    /* background: radial-gradient(circle, rgb(0 0 0) 0%, transparent 50%); */
    background: radial-gradient(circle, rgb(0 0 0 / 20%) 20%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
}

.hero-logo-container {
    position: relative;
    z-index: 2;
    text-align: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin-top: -100px;
}

.hero-logo-container.fading-out {
    opacity: 0;
    transform: translateY(-30px) scale(0.92);
    pointer-events: none;
}

/* Big logo mark */
.hero-logo-mark {
    width: 140px;
    height: 140px;
    border-radius: 28px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 64px;
    color: #fff;
    letter-spacing: -2px;
    box-shadow: 0 20px 60px var(--accent-glow),
        0 0 120px rgba(108, 92, 231, 0.25);
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.hero-logo-text {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--white);
    line-height: 1;
}

.hero-tagline {
    margin-top: 12px;
    font-size: 17px;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: fadeInUp 1.5s ease-out 1s both;
    cursor: pointer;
}

.scroll-hint-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%,
    100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(8px) rotate(45deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 0.7;
        transform: translateX(-50%) translateY(0);
    }
}

/* ========== CONTENT BLOCKS ========== */
#page-wrapper {
    scroll-snap-align: start;
}

.content-block-wrapper {
    padding: 50px 0px 30px 0px;
    /* scroll-snap-align: start; */
    position: relative;
    overflow: hidden;
}

.content-block-wrapper.block-1 {
    background: linear-gradient(180deg, #00000000, #00000000, #061e5e)
}

.content-block-wrapper.block-2 {
    background: linear-gradient(-45deg, #690000, transparent);
}
.content-block-wrapper.block-3 {
    background: linear-gradient(45deg, #061e5e, transparent);
}

.content-block {
    max-width: 880px;
    margin: 0 auto;
    /* background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px; */
    padding: 48px 0px;
    z-index: 2;
    position: relative;
    /* margin-bottom: 32px; */
    /* transition: border-color 0.3s ease, box-shadow 0.3s ease; */
}

/* .content-block:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
} */

.content-block P.center {
    text-align: center;
    padding-top: 20px;
}

.content-block  P.center {
   padding-top: 40px;
}

.content-block .vertical-center {
    top: 50%;
    position: absolute;
    /* margin-top: -2em; */
    line-height: 100%;
    width: 100%;
    text-align: center;
    left: 0px;
    display: block;
    /* background: blue; */
    transform: translate(0, -50%);
}

.content-block h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.6px;
    color: var(--white);
    margin-bottom: 16px;
}

.content-block h3 {
    font-size: 19px;
    font-weight: 600;
    color: var(--white);
    margin-top: 28px;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.content-block p {
    color: var(--text-secondary);
    font-size: 15.5px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.block-2 .content-block p, .block-2 .feature-card .comment {
    color: rgba(255, 255, 255, 0.702);
}

.content-block .badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(108, 92, 231, 0.15);
    color: #a29bfe;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.block-2 .badge {
    background: #00a540;
    color: white;
}

.block-3 .badge {
    background: #9b0000;
    color: #fff;
}

.content-block code {
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 8px;
    border-radius: 5px;
    font-family: var(--font-mono);
    font-size: 13.5px;
    color: #c4b5fd;
    letter-spacing: 0.2px;
}

.content-block .feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.content-block .feature-grid.table {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
}

@media (max-width: 640px) {
    .content-block .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 22px 20px;
    transition: background 0.25s ease;
    
}

.feature-card.center {
    text-align: center;
    vertical-align: baseline;
    position: relative;
}


.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.feature-card .info {
    display: none;
}

.feature-card .feature-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.block-2 .feature-card .icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: 20px;
}

.block-2 .feature-card {
    padding-top: 10px;
    padding-bottom: 10px;
}

.block-3 .feature-card .icon {
    display: block;
    width: 60px;
    height: 60px;
    background-repeat: no-repeat;
    background-size: 60px;
    float: right;
    margin-left: 20px;
}

.feature-card .icon.navigation {
    background-image: url('../icon-navigation.svg');
}
.feature-card .icon.arm {
    background-image: url('../icon-arm.svg');
}
.feature-card .icon.vision {
    background-image: url('../icon-vision.svg');
}
.feature-card .icon.speach {
    background-image: url('../icon-speach.svg');
}
.feature-card .icon.brain {
    background-image: url('../icon-brain.svg');
}
.feature-card .icon.gear {
    background-image: url('../icon-gear.svg');
}

.feature-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
    letter-spacing: -0.2px;
    display: inline;
}

.feature-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.feature-card p.list {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

/* ========== FOOTER ========== */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg);
    padding: 64px 32px 40px;
    /* scroll-snap-align: end; */
}

.footer-inner {
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;;
    gap: 40px;
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}
.wide-only {
    
}
.narrow-only {
    display: none;
}
.feature-card.legend {
    visibility: hidden;
    position: relative;
}
.br-narrow {
    display: none;
}


#phntm-logo-narrow {
    display: none;
}

@media (max-width: 920px) {
    .toolbar-nav .light-link {
        padding-top: 20px; /* align with the small logo */
    }
    #phntm-logo-wide {
        display: none;
    }
    #phntm-logo-narrow {
        display: block;
    }
    .hero-logo-container {
        margin-top: -40px;
    }
    .open-source-info {
        text-align: left;
        display: block;
    }
    BR.wide-only {
        display: none;
    }
    .content-block-wrapper {
        padding-bottom: 20px;
        padding-top: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .content-section {
        padding-top: 40px;
    }
    .content-block {
        padding-top: 20px;
        padding-bottom: 0px;
    }
}

@media (max-width: 756px) {
    .toolbar-nav LI.github{
        display: none;
    }
}

@media (max-width: 666px) {
    .toolbar-nav LI.docs{
        display: none;
    }
}

@media (max-width: 610px) {
    .toolbar-nav LI.log-in{
        display: none;
    }
}

.feature-card.solo-narrow {
    display: none;
}
@media (max-width: 530px) {
    .toolbar {
        opacity: 0.0;
        transition: opacity 0.5s ease;
    }
    .toolbar.scrolled {
        opacity: 1.0;
    }
    .toolbar-nav LI.install {
        display: none;
    }
    .feature-card.free-opt {
        display: none;
    }
    .content-block .feature-grid.table {
        grid-template-columns: 3fr 1fr;
        gap: 10px;
    }
    SPAN.wide-only {
        display: none;
    }
    SPAN.narrow-only {
        display: block;
        text-align: center;
        margin-top: 5px;
    }
    .feature-card.solo-narrow {
        display: block;
    }
    .content-block .feature-grid {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .content-block .badge {
        margin-bottom: 4px;
    }
    .btn-install {
        padding: 7px 14px;
        font-size: 12px;
    }
    .hero-logo-mark {
        width: 100px;
        height: 100px;
        border-radius: 20px;
        font-size: 44px;
    }
    .hero-logo-text {
        font-size: 32px;
    }
    
    /* .block-2 .feature-grid.table {
        overflow-x: scroll;
    } */
    .feature-card.legend {
        visibility: visible;
    }
    .feature-card.legend .vertical-center {
        text-align: left;
        margin-left: 20px;
    }
    .br-narrow {
        display: block;
    }
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--white);
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 880px;
    margin: 40px auto 0;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 18px;
}

.footer-social a {
    font-size: 18px;
}

/* ========== UTILITY ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.company-links {
    color: var(--text-secondary);
    margin-top: 8px;
}

.company-links .icon {
    display: inline-block;
    margin-right: 3px;
    position: relative;
    top: 5px;
    width: 20px;
    height: 20px;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.company-links .icon.mail {
    background-image: url(../icon-mail.svg);
    background-size: 32px;
}

.company-links .icon.canada {
    background-image: url(../icon-canada.svg);
}

.feature-card .icon.check {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../icon-check.svg);
}

.feature-card .icon.check SPAN {
    display: none;
}

.about {
    margin-top: 60px;
    display: block;
}

.about .btn-link,
.open-source-info .btn-link {
    font-size: unset;
    color: var(--white);
}

#ascii-art {
    position: fixed;
    /* top: 20px; */
    /* transform: translate(-3%, 0); */
    /* rotate: -20deg; */
    /* opacity: 0.5; */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    z-index: -1;
    /* max-width: 2400px; */
    opacity: 0;
    transition: opacity 600ms ease-in;
}

#ascii-art.loaded {
    opacity: 1;
}
#ascii-art.faded-in {
    transition: unset;
}

#ascii-art.frame0 { background-image: url(https://d13exqa8fa735g.cloudfront.net/ascii-arm-f0.png); }
#ascii-art.frame1 { background-image: url(https://d13exqa8fa735g.cloudfront.net/ascii-arm-f1.png); }
#ascii-art.frame2 { background-image: url(https://d13exqa8fa735g.cloudfront.net/ascii-arm-f2.png); }

#ascii-power {
    position: absolute;
    /* top: 20px; */
    /* transform: translate(-3%, 0); */
    /* rotate: -20deg; */
    /* opacity: 0.5; */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 570px;
    height: 1130px;
    scale: 0.5;
    z-index: -1;
    left: 750px;
    top: -200px;
    /* max-width: 2400px; */
    opacity: 0.9;
    /* transition: opacity 600ms ease-in; */
}

#ascii-power.frame0 { background-image: url(https://d13exqa8fa735g.cloudfront.net/ascii-power-f0.png); }
#ascii-power.frame1 { background-image: url(https://d13exqa8fa735g.cloudfront.net/ascii-power-f2.png); }
#ascii-power.frame2 { background-image: url(https://d13exqa8fa735g.cloudfront.net/ascii-power-f1.png); }

.dialog {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    background-color: #0000008c;
    z-index: 20;
    left: 0px;
    top: 0px;
}

.dialog .content {
    background-color: black;
    border-radius: 10px;
    padding: 20px 30px;
    color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 480px;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 520px) {
    .dialog .content {
        width: calc(100% - 20px); 
    }
}

.dialog.error .content {
    animation-name: err-wobble;
	animation-duration: 0.2s;
	animation-iteration-count: 3;
}

@keyframes err-wobble {
	0% {
		left: 50%;
	}
	25% {
		left: calc(50% + 3px);
	}
	75% {
		left: calc(50% - 3px);
	}
	100% {
		left: 50%;
	}
}

.dialog .content P {
    font-size: 16px;
}

.dialog .line {
    clear: both;
}
.dialog .line.center {
    text-align: center;
}

.dialog FORM {
    display: block;
    margin: 0px;
    padding: 0px;
    text-align: left;
    margin: 20px auto 0px auto;
}


.dialog INPUT.inp-text {
    font-size: 16px;
    padding: 10px;
    width: 100%;
    /* margin-top: 0px; */
    line-height: 20px;
    border-radius: 5px;
    border: 0px;
    color: black;
    margin-top: 10px;
}

.dialog .inp-checkbox {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 5px;
    margin: 0px 10px 0px 0px;
    /* float: left; */
    color: black;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
}

.dialog .inp-checkbox:checked {
  background-color: #2563eb;
  border-color: #2563eb;
}

.dialog .inp-checkbox-label {
    font-size: 16px;
    /* padding: 10px; */
    line-height: 30px;
    display: block;
    float: left;
    margin-top: 15px;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
    user-select: none;
}

#subscribe-inputs {
    height: 110px;
}

.dialog.submitted FORM {
    display: none;
}

#subscribe-res {
    display: none;
    text-align: center;
    padding-top: 20px;
}
.dialog.submitted #subscribe-res {
    display: block;
}

.dialog BUTTON.btn-submit {
    margin: 0px auto 0px auto;
    margin-top: 20px;
}

.dialog .btn-close {
    background-color: transparent;   
    margin-right: 10px;
}

#sign-up-dialog-done-close {
    margin-top: 20px;
}

#page-message {
    position: fixed;
    display: none;
    left: 0px;
    top: 0px;
    width: 100%;
    height: auto;
    padding: 30px 100px;
    background: linear-gradient(180deg, #061e5e 0%, #041647 100%);
    /* border-bottom: #0c36a8 1px solid; */
    color: #fff;
    opacity: 0.0;
    transition: opacity .5s ease;
    z-index: 100;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.5);
}

#page-message.error {
    background: linear-gradient(180deg, #cc0000 0%, #a40101 100%);
}

#page-message.visible {
    display: block;
    opacity: 1.0;
}