/* Referral landing page (gowoofer/hub#317).
   Tokens from the Figma design (Woofer-Onboarding-X-Booking, node 3285-312):
   cream #e6e1d5, ink #1a0e0a, warm white #fffaee, serif Iowan Old Style. */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --cream: #e6e1d5;
    --ink: #1a0e0a;
    --warm-white: #fffaee;
    --muted: #6d655d;
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
}
.page {
    max-width: 560px;
    margin: 0 auto;
}
h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 400;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    padding-bottom: 48px;
}
.hero-invitation {
    overflow: visible;
    padding-bottom: 130px;
}
.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}
.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(-26deg, rgba(26, 14, 10, 0.4) 2%, rgb(26, 14, 10) 80%);
}
.hero-invitation .hero-shade {
    background: linear-gradient(-26deg, rgba(26, 14, 10, 0.35) 0%, rgba(26, 14, 10, 0.9) 52%, rgb(26, 14, 10) 82%);
}
.hero-content {
    position: relative;
    padding: 36px 30px 0;
}
.hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 250, 238, 0.25);
}
.header-link {
    color: rgba(255, 250, 238, 0.55);
    font-size: 13px;
    letter-spacing: 0.2px;
    text-decoration: none;
}
.header-link:hover {
    color: var(--warm-white);
}
.logo {
    height: 34px;
    display: block;
}
.hero h1 {
    color: var(--warm-white);
    font-size: 50px;
    line-height: 1.2;
    letter-spacing: -2.5px;
    margin-bottom: 26px;
}
.hero-subtitle {
    color: var(--warm-white);
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: -0.18px;
    margin-bottom: 30px;
}

/* Pill buttons (hero actions + CTA) */
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--warm-white);
    color: var(--ink);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.34px;
    text-decoration: none;
    border-radius: 80px;
    padding: 12px 27px;
}
.pill img {
    width: 26px;
    height: 26px;
}
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
}

/* Login card (invitation state) */
.login-card {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: -78px;
    background: var(--cream);
    border-radius: 10px;
    box-shadow: 0 4px 38px rgba(0, 0, 0, 0.25);
    padding: 24px 26px 18px;
}
.login-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #382e29;
    border: 1px solid rgba(230, 225, 213, 0.12);
    border-radius: 14px;
    padding: 14px 17px;
    margin-bottom: 13px;
    text-decoration: none;
}
.login-apple {
    background: #42352d;
}
.login-btn img {
    width: 18px;
    height: 18px;
}
.login-btn span {
    flex: 1;
    text-align: center;
    color: var(--cream);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.13px;
}
.login-legal {
    color: var(--muted);
    font-size: 10.5px;
    line-height: 1.6;
    text-align: center;
}
.login-legal a {
    color: #8a7f74;
}

/* invitation-only extras */
.open-app-hint {
    margin: 96px 30px 0;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}
.open-app-hint a {
    color: var(--ink);
}

/* How it works */
.how {
    padding: 40px 30px 50px;
}
.eyebrow {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3.5px;
    color: rgba(26, 14, 10, 0.8);
    border-top: 1px solid rgba(26, 14, 10, 0.2);
    padding-top: 20px;
    margin-bottom: 8px;
}
.how h2 {
    font-size: 44px;
    line-height: 1.2;
    letter-spacing: -2.5px;
    text-transform: capitalize;
    margin-bottom: 40px;
}
.how-cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.how-card {
    border-left: 1px solid rgba(26, 14, 10, 0.2);
    padding-left: 24px;
}
.how-card img {
    width: 100%;
    max-width: 356px;
    display: block;
    margin-bottom: 22px;
}
.how-card h3 {
    font-size: 23px;
    letter-spacing: -0.46px;
    margin-bottom: 7px;
}
.how-card p {
    font-size: 14.5px;
    line-height: 1.75;
}

/* Claim CTA */
.cta {
    position: relative;
    overflow: hidden;
    background: #000;
    min-height: 560px;
}
.cta-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.cta-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, rgba(0, 0, 0, 0.75) 10%, rgba(0, 0, 0, 0.1) 100%);
}
.cta-content {
    position: relative;
    padding: 46px 26px;
}
.cta h2 {
    color: #fff;
    font-size: 50px;
    line-height: 1.45;
    letter-spacing: -2.5px;
    text-transform: capitalize;
    margin-bottom: 35px;
}
.cta .pill {
    width: 100%;
}

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    padding: 20px 44px 0;
}
.footer-col {
    position: relative;
    padding-bottom: 24px;
}
.footer-col h3 {
    font-family: var(--sans);
    text-transform: uppercase;
    color: rgba(255, 250, 238, 0.8);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 4.2px;
    margin: 24px 0 18px;
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 17px;
}
.footer-col a {
    color: var(--warm-white);
    font-size: 16px;
    text-decoration: none;
    text-transform: capitalize;
}
.footer-col a[href^="mailto"] {
    text-transform: none;
}
.footer-art {
    position: relative;
    display: block;
    width: 140%;
    margin: 30px -20% 0;
    opacity: 0.4;
}
