a:link,
a:visited {
	color: inherit;
	text-decoration: none;
}
::-moz-selection {
  color: #fff;
  background: #ED3320;
}

::selection {
  color: #fff;
  background: #ED3320;
}
::-webkit-media-controls-start-playback-button {
    display:none;
}
img {
    max-width: 100%;
}

/*
 * Color tokens
 * --navy-base:   page background
 * --navy-card:   card surface (slightly lighter than base for separation)
 * --red-accent:  brand red, used for accent bar / divider / links
 * --text-muted:  secondary text on navy
 */
:root {
    --navy-base: #0f2346;
    --navy-card: #090f29;
    --red-accent: #ED3320;
    --text-muted: #9fb3cc;
}

html {
	height: 100%;
	background: var(--navy-base);
}
body {
	display: flex;
	flex-direction: column;
    margin: 0;
	padding: 0;
	font-family: 'UniSans';
	overflow-x: hidden;
	height: 100%;
}

/* Background layer: flat navy + subtle grain, video-ready for future swap-in */
.bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: var(--navy-base);
}
.bg video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: auto !important;
    height: auto;
    max-width: 100vw;
    max-height: 100vh;
    pointer-events: none;
    object-fit: cover;
}
.bg .overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(10, 31, 58, 0.55);
    z-index: 1;
    pointer-events: none;
}
/* Subtle grain/noise texture overlay */
.bg-noise {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    opacity: 0.06;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 120px 120px;
}

/* Layout */
.center-box {
	display: flex;
    justify-content: center;
    align-items: center;
	flex-direction: column;
    flex: 1 0 auto;
    padding: 40px 10px;
    box-sizing: border-box;
}

/* Card */
.card {
    width: 570px;
    max-width: calc(100% - 20px);
    background: var(--navy-card);
    border-left: 6px solid var(--red-accent);
    border-radius: 0 6px 6px 0;
    box-sizing: border-box;
    box-shadow: 0.47em 0.58em 0.55em rgba(0, 0, 0, 0.25), -0.17em -0.35em 0.55em rgba(0, 0, 0, 0.05);
}
.card-top {
    padding: 32px 28px 8px;
}
.contacts {
    padding: 8px 28px 32px;
}

/* Logo */
.logo {
    text-align: left;
    margin-bottom: 28px;
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
    user-select: none;
}
.logo .logo-img {
    width: 260px;
    max-width: 100%;
}

/* Headline + body copy */
.headline {
    font-family: 'Quicksand', 'UniSans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 19px;
    line-height: 1.3;
    color: #fff;
    margin: 0 0 14px;
}
.nfo {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
    max-width: 480px;
}

/* Divider */
.divider {
    height: 1px;
    background: rgba(237, 51, 32, 0.35);
    margin: 15px 28px;
}

/* Contact block */
.contacts h3 {
    font-size: 18px;
    color: #fff;
    margin: 0;
    font-weight: 500;
    text-transform: none;
}
.contacts h3 strong {
    font-weight: 700;
}
.contacts p {
    font-family: 'Quicksand', 'UniSans', sans-serif;
    font-size: 15px;
    color: var(--text-muted);
    margin: 6px 0 0;
    line-height: 1.4;
}
.contacts a:hover {
    color: var(--red-accent);
}

/* Footer */
.footer {
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    padding: 14px 5px 16px 5px;
    padding-bottom: calc(env(safe-area-inset-bottom) + 12px);
    padding-bottom: min(calc(env(safe-area-inset-bottom) + 12px), 20px);
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.5px;

    flex: 0 0 auto;

    position: relative;
    min-height: 40px;
    box-sizing: border-box;
    z-index: 2;
}
.footer span {
	white-space: nowrap;
}

@media only screen and (max-width: 520px) {
    .card-top {
        padding: 26px 20px 6px;
    }
    .contacts {
        padding: 6px 20px 26px;
    }
    .divider {
        margin: 0 20px;
    }
    .logo .logo-img {
        width: 210px;
    }
    .headline {
        font-size: 16px;
    }
    .nfo {
        font-size: 15px;
    }
}