@property --btn-primary-glow {
    syntax: '<color>';
    initial-value: #000;
    inherits: false;
}

:root {
    --site-max-width: 1440px;
    --brand-orange: #ff6d01;
    --brand-orange-dark: #e05500;
    --brand-blue: #006bc8;
    --brand-blue-dark: #0052a8;
    --muted: rgba(255, 255, 255, 0.5);
    --border: 1px solid rgba(255, 255, 255, 0.2);
    --radius: 10px;
    --speed: 0.5s;
    --shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: radial-gradient(
        at top center,
        var(--brand-blue),
        black,
        var(--brand-orange-dark)
    );
    color: white;
    font-family: sans-serif;
}

@media (width < 1080px) {
    body {
        background: linear-gradient(
            to bottom right,
            black,
            var(--brand-blue-dark),
            var(--brand-orange-dark)
        );
    }
}

main {
    min-height: 80dvh;
    max-width: var(--site-max-width);
    margin: auto;
    padding: 15px 30px 120px;
}

@media (width < 700px) {
    main {
        padding: 15px 15px 50px;
    }
}

h1, h2, h3 {
    margin: 15px 0;
    padding: 0;
    font-family: serif;
    text-align: center;
}

h1 {
    font-size: 60px;
    font-weight: 600;
    line-height: 70px;
}

h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 50px;
}

h3 {
    font-size: 30px;
    font-weight: 400;
    line-height: 40px;
}

p {
    margin: 25px 0;
    padding: 0;
    line-height: 25px;
}

a {
    color: white;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

header {
    font-family: sans-serif;
    font-size: 18px;
}

.logo {
    position: relative;
    top: 3px;
    height: 50px;
}

@media (width < 700px) {
    .logo {
        height: 40px;
    }
}

.desktop-menu {
    max-width: var(--site-max-width);
    margin: auto;
    padding: 5px 30px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.desktop-menu a {
    padding: 15px;
}

.desktop-menu .mobile-menu-toggler {
    display: none;
    font-size: 28px;
}

@media (width < 700px) {
    .desktop-menu a {
        display: none;
    }
    .desktop-menu a.mobile-menu-toggler {
        display: block;
        text-decoration: none;
        color: white;
    }
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 0 15px 15px;
    text-align: center;
}

.mobile-menu a {
    padding: 15px;
}

.mobile-menu a:hover {
    background-color: var(--brand-blue);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
}

@media (width > 699px) {
    .mobile-menu {
        position: absolute;
        top: -200px;
        left: -200px;
    }
}

.title-gradient {
    background: linear-gradient(90deg, #ff8a00, #dc1b62);
    -webkit-background-clip: text;
    color: transparent;
}

.btn {
    display: block;
    width: 100%;
    border: var(--border);
    border-radius: var(--radius);
    padding: 15px 30px;
    text-align: center;
    font-size: 18px;
    color: white;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    --btn-primary-glow: var(--brand-blue-dark);
    background: radial-gradient(
        at top center,
        white,
        var(--brand-blue),
        var(--brand-blue-dark),
        black,
        var(--btn-primary-glow)
    );
    transition: --btn-primary-glow var(--speed);
}

.btn-primary:hover {
    --btn-primary-glow: var(--brand-orange);
}

.btn-green {
    background: radial-gradient(
        at top center,
        white,
        green,
        darkgreen,
        black,
        darkgreen
    );
}

.btn:disabled {
    background: none;
    color: var(--muted);
}

:disabled {
    cursor: not-allowed;
}

form {
    margin: auto;
}

label {
    display: block;
    padding: 4px 4px 6px;
    font-weight: bold;
}

input {
    color-scheme: dark;
}

input[type=text],
input[type=email],
textarea {
    display: block;
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 18px;
    font-family: sans-serif;
    color: white;
    border: var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow);
    transition: all var(--speed);
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.12);
}

input[type=text]::placeholder,
input[type=email]::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

input[type=text]:focus::placeholder,
input[type=email]:focus::placeholder,
textarea:focus::placeholder {
    color: transparent;
    transition: color var(--speed);
}

textarea {
    line-height: 25px;
    resize: none;
}

.flex-row {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

@media (width < 1080px) {
    .flex-row {
        flex-direction: column;
    }
}

.card {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: white;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: background-color var(--speed), transform var(--speed);
}

.card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.card h3 {
    margin-top: 0;
}

.card div {
    margin-bottom: 8px;
}

.card input[type=text] {
    background-color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
}

.yes-no {
    width: 100%;
    padding: 10px 30px;
    border-radius: var(--radius);
    font-size: 20px;
}

.prominent {
    padding: 30px;
    border-radius: var(--radius);
    color: white;
}

.glass {
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.2);
    border: var(--border);
    box-shadow: var(--shadow);
}

hr {
    margin: 30px 0;
    border: 0;
    height: 1px;
    background-color: var(--muted);
}

table {
    width: 100%;
    border-collapse: collapse;
}

td {
    padding: 10px;
    vertical-align: middle;
    line-height: 30px;
}

tr {
    border-bottom: 1px solid var(--muted);
}

tr:last-child {
    border-bottom: none;
}

.legal-page {
    margin-top: 30px;
    text-align: center;
}

.message-window {
    position: relative;
    z-index: 1;
    margin: 60px auto 0;
    max-width: 600px;
    text-align: center;
}

.message-window::before {
    position: absolute;
    top: -60px;
    right: -65px;
    font-size: 250px;
    line-height: 1;
    z-index: -1;
    transform: rotate(15deg);
    filter: blur(2px);
    pointer-events: none;
    user-select: none;
}

.message-window.ok::before {
    content: '✅';
    color: rgba(0, 0, 0, 0.15);
}

.message-window.error::before {
    content: '❌';
    color: rgba(0, 0, 0, 0.2);
}

@media (width < 800px) {
    .message-window::before {
        top: -70px;
        right: 10px;
        font-size: 150px;
    }
}

footer {
    padding: 30px 15px;
    color: var(--muted);
    text-align: center;
    font-size: 14px;
}

.disclaimer {
    margin-top: 30px;
    font-style: italic;
    line-height: 20px;
}
