/* ============================================
   Relocation HQ — Landing Page
   Mobile-first, clean, human
   ============================================ */

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

:root {
    --ink:        #1a1a2e;
    --ink-light:  #4a4a6a;
    --accent:     #e8633a;
    --accent-hover: #d4522a;
    --bg:         #faf9f7;
    --bg-alt:     #f0ede8;
    --white:      #ffffff;
    --border:     #e2ddd8;
    --success:    #2e7d52;
    --radius:     10px;
    --shadow:     0 4px 24px rgba(26,26,46,0.10);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Typography ---- */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h3 { font-size: 1.1rem; font-weight: 600; }

/* ---- Layout ---- */
.container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px;
}

section { padding: 64px 0; }

/* ---- Nav ---- */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250,249,247,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
}
.nav-inner {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-cta {
    background: var(--accent);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.15s;
}
.nav-cta:hover { background: var(--accent-hover); text-decoration: none; }

/* ---- Hero ---- */
.hero {
    padding: 72px 0 56px;
    text-align: center;
}
.hero-eyebrow {
    display: inline-block;
    background: #fde8e0;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.hero h1 {
    margin-bottom: 18px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.hero h1 em {
    font-style: normal;
    color: var(--accent);
}
.hero-sub {
    font-size: 1.05rem;
    color: var(--ink-light);
    max-width: 480px;
    margin: 0 auto 36px;
}
.hero-location {
    font-size: 0.82rem;
    color: var(--ink-light);
    margin-top: 14px;
}
.hero-location strong { color: var(--ink); }

/* ---- Waitlist Form ---- */
.waitlist-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    box-shadow: var(--shadow);
    text-align: left;
    max-width: 460px;
    margin: 0 auto;
}
.waitlist-form h3 {
    margin-bottom: 4px;
    font-size: 1rem;
}
.waitlist-form p {
    font-size: 0.85rem;
    color: var(--ink-light);
    margin-bottom: 20px;
}
.form-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}
.form-row input,
.form-row select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--ink);
    background: var(--bg);
    transition: border-color 0.15s;
    appearance: none;
    -webkit-appearance: none;
}
.form-row input:focus,
.form-row select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
}
.select-wrap { position: relative; }
.select-wrap::after {
    content: '▾';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-light);
    pointer-events: none;
    font-size: 0.85rem;
}
.btn-submit {
    width: 100%;
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s;
    letter-spacing: -0.01em;
}
.btn-submit:hover { background: var(--accent-hover); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-note {
    font-size: 0.78rem;
    color: var(--ink-light);
    text-align: center;
    margin-top: 10px;
}
.form-success {
    text-align: center;
    padding: 16px 0 4px;
}
.form-success .check {
    font-size: 2rem;
    margin-bottom: 8px;
}
.form-success h3 { margin-bottom: 6px; }
.form-success p { font-size: 0.9rem; color: var(--ink-light); }
.form-error {
    color: #c0392b;
    font-size: 0.85rem;
    margin-top: 8px;
    text-align: center;
}

/* ---- Problem Section ---- */
.section-problem { background: var(--ink); color: var(--white); }
.section-problem h2 { color: var(--white); margin-bottom: 10px; }
.section-problem .section-sub { color: rgba(255,255,255,0.6); margin-bottom: 40px; }
.pain-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.pain-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 20px;
}
.pain-card p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.85);
}
.pain-card p::before {
    content: '"';
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 700;
    margin-right: 2px;
}
.pain-card p::after {
    content: '"';
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 700;
    margin-left: 2px;
}

/* ---- How It Works ---- */
.section-how { text-align: center; }
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.section-sub {
    font-size: 1rem;
    color: var(--ink-light);
    max-width: 420px;
    margin: 0 auto 40px;
}
.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: left;
    max-width: 480px;
    margin: 0 auto;
}
.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    margin-top: 2px;
}
.step-body h3 { margin-bottom: 4px; }
.step-body p { font-size: 0.9rem; color: var(--ink-light); }

/* ---- Photos Feature ---- */
.section-photos { background: var(--bg-alt); }
.photo-feature {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.photo-feature-text {}
.photo-feature-text .section-label { display: block; }
.photo-feature-text h2 { margin-bottom: 12px; }
.photo-feature-text p {
    color: var(--ink-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
}
.photo-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.photo-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}
.photo-bullets li::before {
    content: '→';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.photo-device {
    background: var(--ink);
    border-radius: 24px;
    overflow: hidden;
    max-width: 260px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(26,26,46,0.25);
    aspect-ratio: 9/16;
    display: flex;
    align-items: center;
    justify-content: center;
}
.photo-device-placeholder {
    color: rgba(255,255,255,0.2);
    font-size: 0.8rem;
    text-align: center;
    padding: 20px;
}
.photo-device img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Screenshots ---- */
.section-screens { text-align: center; }
.screens-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 0 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.screens-grid::-webkit-scrollbar { display: none; }
.screen-item {
    flex-shrink: 0;
    width: 200px;
    scroll-snap-align: start;
}
.screen-device {
    background: var(--ink);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(26,26,46,0.20);
    aspect-ratio: 9/16;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.screen-device img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.screen-device-placeholder {
    color: rgba(255,255,255,0.2);
    font-size: 0.72rem;
    text-align: center;
    padding: 16px;
}
.screen-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-light);
    text-align: center;
}

/* ---- Who It's For ---- */
.section-who { background: var(--bg-alt); }
.who-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 36px;
}
.who-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
}
.who-card-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
}
.who-card h3 { margin-bottom: 6px; }
.who-card p { font-size: 0.9rem; color: var(--ink-light); line-height: 1.6; }

/* ---- Bottom CTA ---- */
.section-cta {
    text-align: center;
    background: var(--ink);
    color: var(--white);
    padding: 72px 0;
}
.section-cta h2 { color: var(--white); margin-bottom: 12px; }
.section-cta p { color: rgba(255,255,255,0.6); margin-bottom: 32px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* ---- Footer ---- */
footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 32px 20px;
    text-align: center;
}
.footer-inner {
    max-width: 680px;
    margin: 0 auto;
}
.footer-logo {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.footer-logo span { color: var(--accent); }
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.footer-links a {
    font-size: 0.82rem;
    color: var(--ink-light);
}
.footer-links a:hover { color: var(--ink); text-decoration: none; }
.footer-copy {
    font-size: 0.78rem;
    color: var(--ink-light);
}
.partner-link {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 22px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-light);
    transition: border-color 0.15s, color 0.15s;
}
.partner-link:hover {
    border-color: var(--ink);
    color: var(--ink);
    text-decoration: none;
}

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }

/* ============================================
   Desktop tweaks (680px+)
   ============================================ */
@media (min-width: 680px) {
    .photo-feature {
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }
    .photo-feature-text { flex: 1; }
    .photo-device { flex-shrink: 0; }

    .who-cards {
        flex-direction: row;
    }
    .who-card { flex: 1; }

    .screens-grid {
        justify-content: center;
        overflow-x: visible;
        flex-wrap: wrap;
    }
}
