/* ==========================================================================
   Landing page (public/index.php) — waitlist / marketing site.
   Namespaced under body.landing / .lp- so nothing here leaks onto the
   app-shell pages, and nothing app.css already owns (button, input, a,
   .card, etc.) leaks in here either.
   ========================================================================== */

:root {
    --lp-font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --lp-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --lp-ink-deep: #1C1E17;
    --lp-gold: #C98A2E;
    --lp-gold-soft: #F4E4C4;
    --lp-line-deep: #3A3D33;
    --lp-max: 1120px;
}

body.landing {
    display: block;
    min-height: 100vh;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--lp-font-body);
    -webkit-font-smoothing: antialiased;
}

.landing * {
    box-sizing: border-box;
}

.landing a {
    color: inherit;
}

.landing .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lp-wrap {
    max-width: var(--lp-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- nav ---------- */

.lp-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    background: rgba(238, 240, 234, 0.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.lp-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--lp-font-display);
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.lp-nav-brand img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
}

.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.92rem;
    font-weight: 600;
}

.lp-nav-links a {
    text-decoration: none;
    color: var(--ink-soft);
    transition: color 0.15s;
}

.lp-nav-links a:hover {
    color: var(--ink);
}

.lp-nav-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 99px;
    background: var(--ink);
    color: var(--paper) !important;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, transform 0.15s;
}

.lp-nav-cta:hover {
    background: var(--accent-ink);
    transform: translateY(-1px);
}

@media (max-width: 780px) {
    .lp-nav-links { display: none; }
}

/* ---------- hero ---------- */

.lp-hero {
    padding: 56px 24px 40px;
    overflow: hidden;
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}

@media (max-width: 900px) {
    .lp-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 99px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.lp-eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--good);
    box-shadow: 0 0 0 3px rgba(63, 122, 93, 0.18);
}

.lp-hero h1 {
    font-family: var(--lp-font-display);
    font-weight: 600;
    font-size: clamp(2.3rem, 4.6vw, 3.6rem);
    line-height: 1.06;
    letter-spacing: -0.01em;
    margin: 0 0 20px;
}

.lp-hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.lp-hero-sub {
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 46ch;
    margin: 0 0 32px;
}

.lp-form {
    display: flex;
    gap: 10px;
    max-width: 480px;
}

.lp-form-field {
    flex: 1;
    min-width: 0;
}

.lp-form input[type="email"] {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    border: 1.5px solid var(--line);
    border-radius: 99px;
    font-size: 1rem;
    font-family: var(--lp-font-body);
    background: var(--paper-raised);
    color: var(--ink);
}

.lp-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.lp-form button {
    flex-shrink: 0;
    height: 54px;
    padding: 0 28px;
    border: none;
    border-radius: 99px;
    background: var(--accent);
    color: white;
    font-family: var(--lp-font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
    white-space: nowrap;
}

.lp-form button:hover {
    background: var(--accent-ink);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .lp-form { flex-direction: column; }
    .lp-form button { width: 100%; }
}

/* "or" rule between the Google button and the email form. */
.lp-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 480px;
    margin: 18px 0;
    font-size: 0.85rem;
    color: var(--ink-soft);
}

.lp-divider::before,
.lp-divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid var(--line);
}

/* A pill, white with Google's own "G" per Google's sign-in branding
   guidelines. Prefixed with .landing to outrank `.landing a { color:
   inherit }`, which would otherwise turn its text white inside the dark CTA
   band. */
.landing .lp-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 480px;
    height: 54px;
    padding: 0 28px;
    border: 1.5px solid #747775;
    border-radius: 99px;
    background: white;
    color: #1F1F1F;
    font-family: var(--lp-font-body);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, transform 0.15s;
}

.landing .lp-google-btn:hover {
    background: #F2F2F2;
    transform: translateY(-1px);
}

.lp-cta-band .lp-google-btn,
.lp-cta-band .lp-divider {
    margin-left: auto;
    margin-right: auto;
}

/* The CTA band's own side padding leaves too little room for the default
   button padding at phone width — the label would wrap. */
@media (max-width: 480px) {
    .landing .lp-google-btn {
        gap: 10px;
        padding: 0 16px;
    }
}

.lp-form-note {
    margin: 14px 0 0;
    font-size: 0.82rem;
    color: var(--ink-soft);
}

.lp-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    max-width: 480px;
}

.lp-message.success {
    background: #E4F0E9;
    color: var(--good);
}

.lp-message.error {
    background: #F6E4E1;
    color: var(--bad);
}

.lp-stats {
    display: flex;
    gap: 28px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.lp-stat b {
    display: block;
    font-family: var(--lp-font-display);
    font-size: 1.5rem;
    color: var(--ink);
}

.lp-stat span {
    font-size: 0.8rem;
    color: var(--ink-soft);
}

/* hero phone visual */

.lp-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.lp-phone {
    position: relative;
    width: min(300px, 78vw);
    border-radius: 40px;
    padding: 12px;
    background: var(--ink);
    box-shadow: 0 30px 60px -20px rgba(28, 30, 23, 0.45);
    transform: rotate(2deg);
}

.lp-phone img {
    display: block;
    width: 100%;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.08);
}

.lp-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 12px 24px -8px rgba(28, 30, 23, 0.25);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
}

.lp-float-badge svg {
    flex-shrink: 0;
}

.lp-float-badge.one svg {
    color: var(--good);
}

.lp-float-badge.two svg {
    color: var(--accent);
}

.lp-float-badge.one {
    top: 8%;
    left: -6%;
    transform: rotate(-4deg);
}

.lp-float-badge.two {
    bottom: 12%;
    right: -8%;
    transform: rotate(3deg);
}

.lp-float-badge .amt {
    color: var(--good);
    font-family: var(--lp-font-display);
    font-size: 1.05rem;
}

@media (max-width: 900px) {
    .lp-float-badge.one { left: 2%; }
    .lp-float-badge.two { right: 2%; }
}

@media (max-width: 520px) {
    .lp-float-badge { display: none; }
}

/* ---------- section shell ---------- */

.lp-section {
    padding: 88px 24px;
}

.lp-section.tight {
    padding-top: 60px;
}

.lp-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.lp-kicker {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-ink);
    margin-bottom: 12px;
}

.lp-section-head h2 {
    font-family: var(--lp-font-display);
    font-weight: 600;
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    line-height: 1.15;
    margin: 0 0 14px;
}

.lp-section-head p {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* ---------- how it works ---------- */

.lp-steps {
    display: flex;
    flex-direction: column;
    gap: 90px;
}

.lp-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.lp-step:nth-child(even) .lp-step-media {
    order: 2;
}

@media (max-width: 860px) {
    .lp-step,
    .lp-step:nth-child(even) .lp-step-media {
        grid-template-columns: 1fr;
        order: initial;
    }
    .lp-step { gap: 24px; }
}

.lp-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    font-family: var(--lp-font-display);
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.lp-step-copy h3 {
    font-family: var(--lp-font-display);
    font-weight: 600;
    font-size: 1.6rem;
    margin: 0 0 12px;
}

.lp-step-copy p {
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 0;
}

.lp-step-media {
    display: flex;
    justify-content: center;
}

.lp-step-media-inner {
    width: 100%;
    max-width: 360px;
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 20px 40px -24px rgba(28, 30, 23, 0.35);
}

.lp-step-media-inner > img {
    display: block;
    width: 100%;
    border-radius: 12px;
}

.lp-step-map {
    width: 100%;
    max-width: 300px;
    border-radius: 32px;
    padding: 10px;
    background: var(--ink);
    box-shadow: 0 20px 40px -24px rgba(28, 30, 23, 0.4);
}

.lp-step-map img {
    display: block;
    width: 100%;
    border-radius: 24px;
}

/* ---------- value props ---------- */

.lp-value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .lp-value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .lp-value-grid { grid-template-columns: 1fr; }
}

.lp-value-card {
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px 22px;
}

.lp-value-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.lp-value-card h3 {
    font-size: 1.02rem;
    margin: 0 0 8px;
}

.lp-value-card p {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0;
}

/* ---------- coverage ---------- */

.lp-coverage {
    background: var(--paper-raised);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.lp-chip {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 99px;
    background: var(--paper);
    border: 1px solid var(--line);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}

.lp-marquee {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.lp-marquee-row {
    overflow: hidden;
}

.lp-marquee-track {
    display: flex;
    width: max-content;
    animation: lp-marquee-scroll 130s linear infinite;
}

.lp-marquee-row.reverse .lp-marquee-track {
    animation-direction: reverse;
}

.lp-marquee-row:hover .lp-marquee-track {
    animation-play-state: paused;
}

.lp-marquee-group {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
    padding-right: 10px;
}

@keyframes lp-marquee-scroll {
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .lp-marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }
    .lp-marquee-row {
        overflow: visible;
    }
    .lp-marquee-track {
        animation: none;
        flex-wrap: wrap;
        width: auto;
    }
    .lp-marquee-group[aria-hidden="true"] {
        display: none;
    }
}

/* ---------- FAQ ---------- */

.lp-faq {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-faq details {
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 4px 22px;
}

.lp-faq summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.98rem;
}

.lp-faq summary::-webkit-details-marker {
    display: none;
}

.lp-faq summary .plus {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: transform 0.15s;
}

.lp-faq details[open] summary .plus {
    transform: rotate(45deg);
}

.lp-faq p {
    margin: 0 0 20px;
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ---------- final CTA ---------- */

.lp-cta-band {
    background: var(--lp-ink-deep);
    color: var(--paper);
    border-radius: 28px;
    margin: 0 24px;
    padding: 64px 40px;
    text-align: center;
}

.lp-cta-band h2 {
    font-family: var(--lp-font-display);
    font-weight: 600;
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    margin: 0 0 14px;
}

.lp-cta-band p {
    color: #C7CABF;
    font-size: 1.05rem;
    margin: 0 0 32px;
}

.lp-cta-band .lp-form {
    margin: 0 auto;
}

.lp-cta-band .lp-form input[type="email"] {
    background: #2A2D24;
    border-color: var(--lp-line-deep);
    color: var(--paper);
}

.lp-cta-band .lp-form input[type="email"]::placeholder {
    color: #8C8F82;
}

.lp-cta-band .lp-divider {
    color: #8C8F82;
}

.lp-cta-band .lp-divider::before,
.lp-cta-band .lp-divider::after {
    border-color: var(--lp-line-deep);
}

.lp-cta-band .lp-message.success {
    background: #2A3D31;
    color: #9FD8B7;
}

.lp-cta-band .lp-message.error {
    background: #402923;
    color: #E8A79A;
}

.lp-cta-band .lp-form-note {
    color: #8C8F82;
}

/* At phone width the band's own margin and padding, inside .lp-wrap's,
   left ~166px for content — too narrow for the Google button's label. */
@media (max-width: 480px) {
    .lp-cta-band {
        margin: 0;
        padding: 48px 20px;
    }
}

/* ---------- footer ---------- */

.lp-footer {
    padding: 48px 24px 36px;
}

.lp-footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
}

.lp-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--lp-font-display);
    font-weight: 600;
    font-size: 1.1rem;
}

.lp-footer-brand img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.lp-footer-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.lp-footer-links a {
    text-decoration: none;
}

.lp-footer-links a:hover {
    color: var(--ink);
}

.lp-footer-bottom {
    padding-top: 20px;
    font-size: 0.8rem;
    color: var(--ink-soft);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
