*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background-color: #1a1a1f;
    color: #e6e6e6;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a {
    color: #79e0c1;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
}

.site-header {
    position: relative;
    z-index: 50;
    background: transparent;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .site-header {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .site-header {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .site-header {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .site-header {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .site-header {
        max-width: 1536px;
    }
}

.site-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #e6e6e6;
    min-width: 0;
}

.brand:hover {
    text-decoration: none;
}

.brand-logo {
    width: 20px;
    height: 27px;
    flex-shrink: 0;
    background: linear-gradient(to bottom right, #30c397 0%, #79e0c1 50%, #24886a 100%);
    -webkit-mask-image: url("../images/logo.png");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url("../images/logo.png");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

@media (min-width: 640px) {
    .brand-logo {
        width: 26px;
        height: 35px;
    }
}

.brand-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: -0.02em;
    color: #e6e6e6;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .brand-title {
        font-size: 30px;
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 9999px;
    background-color: #50e2b6;
    color: #000000;
    padding: 0.625rem 1.25rem;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .cta-button {
        padding: 0.625rem 1.5rem;
        font-size: 16px;
    }
}

.cta-button:hover {
    text-decoration: none;
    color: #000000;
    opacity: 0.92;
    box-shadow: 0 8px 24px rgba(80, 226, 182, 0.28);
}

.site-main {
    width: 100%;
    max-width: 48rem;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 4rem;
}

@media (min-width: 768px) {
    .site-main {
        padding-top: 2.5rem;
        padding-bottom: 6rem;
    }
}

.site-main h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 13px;
    color: #6e6e7a;
    margin: 0 0 28px;
    font-style: normal;
}

@media (min-width: 768px) {
    .site-main h1 {
        font-size: 36px;
    }
}

.site-main h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 12px;
}

.site-main p {
    margin: 0 0 14px;
}

.site-main ul {
    margin: 0 0 14px;
    padding-left: 22px;
}

.site-main li {
    margin-bottom: 8px;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(230, 230, 230, 0.12);
}

.lead {
    font-size: 18px;
    color: #c8c8c8;
}

.form-alert {
    margin: 0 0 24px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.45;
}

.form-alert--success {
    background: rgba(80, 226, 182, 0.12);
    border: 1px solid rgba(80, 226, 182, 0.28);
    color: #b8f5de;
}

.form-alert--error {
    background: rgba(255, 90, 90, 0.1);
    border: 1px solid rgba(255, 90, 90, 0.28);
    color: #ffc9c9;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 8px 0 4px;
    padding: 22px;
    border: 1px solid rgba(230, 230, 230, 0.1);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

@media (min-width: 640px) {
    .support-form {
        padding: 28px;
        gap: 22px;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(230, 230, 230, 0.88);
}

.form-field input,
.form-field textarea {
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(230, 230, 230, 0.12);
    border-radius: 14px;
    background: rgba(10, 10, 14, 0.55);
    color: #e6e6e6;
    font: inherit;
    line-height: 1.45;
    outline: none;
    appearance: none;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease,
        transform 0.18s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 168px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(110, 110, 122, 0.95);
}

.form-field input:hover,
.form-field textarea:hover {
    border-color: rgba(230, 230, 230, 0.2);
    background: rgba(10, 10, 14, 0.7);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(80, 226, 182, 0.55);
    background: rgba(10, 10, 14, 0.82);
    box-shadow: 0 0 0 4px rgba(80, 226, 182, 0.12);
}

.form-field--invalid input,
.form-field--invalid textarea,
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
    border-color: rgba(255, 90, 90, 0.55);
    box-shadow: 0 0 0 4px rgba(255, 90, 90, 0.1);
}

.form-error {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #ff7a7a;
}

.form-submit {
    align-self: stretch;
    margin-top: 4px;
    border: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, #63ecc4 0%, #50e2b6 45%, #3dd1a4 100%);
    color: #04140f;
    padding: 0.9rem 1.5rem;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: opacity 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

@media (min-width: 640px) {
    .form-submit {
        align-self: flex-start;
        min-width: 180px;
    }
}

.form-submit:hover {
    opacity: 0.94;
    box-shadow: 0 10px 28px rgba(80, 226, 182, 0.28);
    transform: translateY(-1px);
}

.form-submit:active {
    transform: translateY(0);
}

.form-submit:focus-visible {
    outline: 2px solid #50e2b6;
    outline-offset: 3px;
}

/* Invisible honeypot for bots — not shown to users */
.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
