/* ==========================================================================
   Content Pages — shared styles for support.html, privacy.html
   Loaded alongside index.css which provides base tokens, nav, and footer.
   ========================================================================== */

/* Logo as link on sub-pages */
a.logo {
    text-decoration: none;
    color: var(--sand);
}

/* Sticky footer layout */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    max-width: 60rem;
    margin: 0 auto;
    padding: 8rem 1.5rem 4rem;
    flex: 1;
    width: 100%;
}

@media (min-width: 768px) {
    .page-content {
        padding: 4rem 3rem 4rem;
        margin-top: 7rem;
        margin-bottom: 2rem;
        background: var(--surface-deeper);
        border-radius: 1rem;
        box-shadow: 0 20px 40px -10px rgba(0, 17, 19, 0.4);
    }
}

/* Page Title */
.page-title {
    font-family: var(--font-headline);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    font-size: 2.5rem;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-shadow: 2px 3px 10px rgba(0, 40, 45, 0.3);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .page-title {
        font-size: 3.5rem;
    }
}

.page-subtitle {
    color: var(--sand-light);
    font-size: 1.125rem;
    line-height: 1.625;
    margin-bottom: 3rem;
    font-weight: 500;
}

/* ==========================================================================
   Prose — long-form text for privacy policy, terms, etc.
   ========================================================================== */

.prose h2 {
    font-family: var(--font-headline);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    font-size: 1.375rem;
    letter-spacing: -0.025em;
    color: var(--sand-light);
    margin-top: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 3px 10px rgba(0, 40, 45, 0.3);
}

.prose h3 {
    font-family: var(--font-headline);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    font-size: 1.125rem;
    color: var(--sand);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose p {
    color: var(--sand);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.prose ul,
.prose ol {
    color: var(--sand);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose strong {
    color: var(--sand-light);
    font-weight: 600;
}

.prose a {
    color: var(--red-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.prose a:hover {
    color: var(--sand);
}

/* Ocean-toned prose variant */

/* ==========================================================================
   Form Components
   ========================================================================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-family: var(--font-headline);
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: var(--sand);
    display: block;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--surface-card);
    color: var(--sand);
    border: 2px solid var(--border-subtle);
    border-radius: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--brand-red);
}

.form-textarea {
    min-height: 10rem;
    resize: vertical;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23FAE3C7' d='M1.4 0L6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-select option {
    background: var(--surface-dark);
    color: var(--sand);
}

/* Submit Button */
.btn-submit {
    display: inline-block;
    background: var(--brand-red);
    color: #fff;
    font-family: var(--font-headline);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1rem;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(238, 35, 82, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Status Feedback */
.form-status {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(110, 174, 171, 0.2);
    color: var(--ocean-sun);
}

.form-status.error {
    display: block;
    background: rgba(238, 35, 82, 0.15);
    color: var(--brand-red);
}

/* ==========================================================================
   Confirmation State
   ========================================================================== */

.confirmation {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 4rem;
}

.confirmation .page-title {
    margin-bottom: 1rem;
}

.confirmation .page-subtitle {
    margin-bottom: 2.5rem;
    max-width: 28rem;
}

.confirmation .btn-submit {
    text-decoration: none;
}

.confirmation-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: rgba(110, 174, 171, 0.2);
    border: 2px solid var(--ocean-sun);
    color: var(--ocean-sun);
    font-size: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}
