/* ═══════════════════════════════════════════════════
   Sailias Pre-Registration — Brand Stylesheet
   Colours: Dark Honey #946E1D, Sailias Black #1A1A1A,
            Sailias White #FAFAF8, Warm Cream #F5F0E8
   ═══════════════════════════════════════════════════ */

:root {
    --dark-honey: #946E1D;
    --sailias-black: #1A1A1A;
    --sailias-white: #FAFAF8;
    --warm-cream: #F5F0E8;
    --charcoal: #3A3A3A;
    --border: #D4D1CA;
    --light-gold: #EFE4CB;
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--sailias-white);
    color: var(--sailias-black);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* ─── Gold accent bar ─── */
.gold-bar {
    width: 100%;
    height: 4px;
    background: var(--dark-honey);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

/* ─── Container ─── */
.container {
    max-width: 920px;
    margin: 0 auto;
    padding: 80px 32px 60px;
}

/* ─── Logo ─── */
.logo-wrap {
    text-align: center;
    margin-bottom: 48px;
}

.logo {
    height: 76px;
    width: auto;
}

/* ─── Section label ─── */
.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--dark-honey);
    text-align: center;
    margin-bottom: 20px;
}

/* ─── Hero ─── */
.hero-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--sailias-black);
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--charcoal);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* ─── Teaser cards ─── */
.teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.silo-note {
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.15rem;
    color: var(--charcoal);
    line-height: 1.6;
    margin-bottom: 48px;
    margin-top: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.silo-note strong {
    font-family: 'DM Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-honey);
    display: block;
    margin-bottom: 8px;
}

.teaser-card {
    background: var(--warm-cream);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.teaser-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(148, 110, 29, 0.08);
}

.card-number {
    font-family: 'DM Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-honey);
    display: block;
    margin-bottom: 8px;
}

.teaser-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--sailias-black);
    margin-bottom: 6px;
}

.teaser-card p {
    font-size: 0.88rem;
    color: var(--charcoal);
    line-height: 1.5;
}

/* ─── Divider ─── */
.divider {
    width: 60px;
    height: 2px;
    background: var(--dark-honey);
    margin: 0 auto 48px;
}

/* ─── Register section ─── */
.register-section {
    text-align: center;
    margin-bottom: 56px;
}

.register-section h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--sailias-black);
    margin-bottom: 14px;
}

.register-sub {
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ─── Form ─── */
.register-form {
    max-width: 560px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.register-form input {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--sailias-black);
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease;
}

.register-form input::placeholder {
    color: #B0AEA8;
}

.register-form input:focus {
    border-color: var(--dark-honey);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 16px 36px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--dark-honey);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.cta-button:hover {
    background: #7D5C18;
    transform: translateY(-1px);
}

.cta-button:active {
    transform: translateY(0);
}

/* ─── Success message ─── */
.success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.success-message.visible {
    display: block;
}

.success-icon {
    width: 48px;
    height: 48px;
    background: var(--dark-honey);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.success-message h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sailias-black);
    margin-bottom: 8px;
}

.success-message p {
    color: var(--charcoal);
    font-size: 1rem;
}

/* ─── Trust strip ─── */
.trust-strip {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 48px;
    padding: 36px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 48px;
}

.trust-item {
    text-align: center;
}

.trust-number {
    font-family: 'DM Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-honey);
    display: block;
    margin-bottom: 6px;
}

.trust-label {
    font-size: 0.82rem;
    color: var(--charcoal);
    max-width: 320px;
    display: block;
    line-height: 1.5;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ─── Footer ─── */
.footer {
    padding: 24px 32px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 920px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--charcoal);
}

/* ─── Fingerprint watermark ─── */
.fingerprint-watermark {
    position: fixed;
    bottom: -60px;
    right: -60px;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.fingerprint-watermark img {
    width: 320px;
    height: auto;
}

/* ─── Mobile responsive ─── */
@media (max-width: 768px) {
    .container {
        padding: 60px 20px 40px;
    }

    .teaser-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        flex-direction: column;
        gap: 20px;
    }

    .trust-divider {
        width: 40px;
        height: 1px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }

    .fingerprint-watermark img {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 42px;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}
