:root {
    /* Palette sampled from logo */
    --sage-900: #3d6a69; /* deep green-grey */
    --sage-700: #6e8f8c; /* primary accent */
    --sage-500: #8faaa7; /* light accent */
    --mist: #efeadd;     /* cream background from logo */
    --sand: #d3a999;     /* warm accent from house */
    --stone: #4a5857;    /* dark text */
    --white: #ffffff;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--mist);
    background: var(--mist);
}

/* Header with logo */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 10;
    mix-blend-mode: normal;
    background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0));
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--mist);
}

.logo img {
    height: 44px;
    width: auto;
    display: block;
}

.logo span {
    font-family: "Andada Pro", serif;
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    isolation: isolate;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url('https://tinytravelfix.com/imgs/bg1.webp');
    background-size: cover;
    background-position: center 55%;
    background-repeat: no-repeat;
    transform: scale(1.02);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(61,106,105,.72) 0%, rgba(110,143,140,.50) 40%, rgba(239,234,221,.20) 100%),
                linear-gradient(90deg, rgba(0,0,0,.32), rgba(0,0,0,.32));
}

.center-card {
    width: min(720px, 92vw);
    backdrop-filter: blur(6px);
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.tagline {
    font-family: "Andada Pro", serif;
    font-weight: 700;
    font-size: clamp(28px, 5vw, 52px);
    line-height: 1.08;
    margin: 6px 0 10px;
}

.subhead {
    font-weight: 400;
    font-size: clamp(15px, 2.4vw, 18px);
    color: #F6F3EA;
    opacity: .95;
    margin: 0 0 20px;
}

.signup {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.signup input[type="email"] {
    width: min(420px, 86vw);
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.55);
    background: rgba(255,255,255,.9);
    color: #1a1a1a;
    padding: 0 14px;
    font-size: 16px;
    outline: none;
}

.signup input[type="email"]:focus {
    box-shadow: 0 0 0 3px rgba(111,143,140,.45);
}

.signup button {
    height: 48px;
    padding: 0 18px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    background: linear-gradient(180deg, var(--sage-700), var(--sage-900));
    color: var(--white);
    font-size: 16px;
    letter-spacing: .02em;
    transition: transform .08s ease, box-shadow .15s ease;
    box-shadow: 0 6px 14px rgba(0,0,0,.25);
}

.signup button:hover {
    transform: translateY(-1px);
}

.signup button:active {
    transform: translateY(0) scale(.98);
}

.tiny-note {
    font-size: 12px;
    opacity: .8;
    margin-top: 10px;
}

/* Footer */
footer {
    background: var(--mist);
    color: var(--stone);
    padding: 30px 18px;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--sage-900);
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    color: #5a6666;
    margin-top: 10px;
    font-size: 13px;
}

/* Mobile tweaks */
@media (max-width: 520px) {
    .site-header {
        justify-content: center;
        background: transparent;
    }
    .logo img {
        height: 40px;
    }
    .center-card {
        padding: 22px;
    }
    .signup button {
        width: 100%;
    }
}

