/* ─────────────────────────────────────────────────────────────────────────
   FLIPPED — useflipped.com
   2026-04-30 redesign — Variant A from `ui-previews-website.html`:
   mega-text hero, single-column scroll, signup form + visible download.
   Pure black background, hairline borders, white-on-black, Inter system
   fallback.  No chrome, no bevels, no brand colour beyond the metallic
   wordmark gradient.
   ───────────────────────────────────────────────────────────────────── */

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

html, body {
    background: #000;
    color: #f0f0f0;
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "SF Pro Text",
                 "Helvetica Neue", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    padding-bottom: 48px;
}

a { color: rgba(255,255,255,0.85); text-decoration: none; }
a:hover { color: #fff; }


/* ── Top nav ───────────────────────────────────────────────────────────── */

.topnav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 28px;
}

.brand-mini {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 4px;
    background: linear-gradient(180deg, #fff 0%, #c8c8c8 50%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.topnav-links {
    display: flex;
    gap: 22px;
    font-family: ui-monospace, "SF Mono", monospace;
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5);
}
.topnav-links a:hover { color: #fff; }


/* ── Hero ──────────────────────────────────────────────────────────────── */

.hero {
    max-width: 720px;
    margin: 0 auto;
    padding: 80px 28px 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lbl {
    font-family: ui-monospace, "SF Mono", monospace;
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 18px;
}

.headline-mega {
    font-size: clamp(40px, 8vw, 64px);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -2px;
    margin-bottom: 22px;
}

.lede {
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    line-height: 1.5;
    max-width: 460px;
    margin: 0 auto 32px;
}


/* ── Signup form ───────────────────────────────────────────────────────── */

.signup-form {
    display: inline-flex;
    gap: 10px;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.signup-form input[type="email"] {
    flex: 1 1 240px;
    min-width: 220px;
    background: rgba(255,255,255,0.04);
    color: #fff;
    font-family: inherit;
    font-size: 16px; /* iOS Safari auto-zooms inputs <16px on focus. */
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.08);
    outline: none;
    border-radius: 12px;
    text-align: left;
}
.signup-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.signup-form input[type="email"]:focus {
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.06);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-family: ui-monospace, "SF Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    padding: 14px 22px;
    border-radius: 12px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}
.btn .arrow { font-size: 11px; }

.btn.primary {
    background: #fff;
    color: #000;
}
.btn.primary:hover { background: #ddd; color: #000; }

.btn.secondary {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.18);
}
.btn.secondary:hover { color: #fff; border-color: rgba(255,255,255,0.45); }


/* ── Hero meta + secondary CTA ─────────────────────────────────────────── */

.micro {
    color: rgba(255,255,255,0.4);
    font-family: ui-monospace, "SF Mono", monospace;
    font-size: 11px;
    letter-spacing: 1px;
    margin-top: 14px;
}
.micro.warn { color: #c08267; }
.micro.ok   { color: #98b59a; }

.hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-secondary .muted {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}


/* ── Signup success state (replaces the form) ──────────────────────────── */

.signup-success {
    width: 100%;
    text-align: center;
    padding: 22px 18px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
}
.signup-success-line {
    font-family: ui-monospace, "SF Mono", monospace;
    font-size: 12px;
    letter-spacing: 2px;
    color: #fff;
    font-weight: 600;
}
.signup-success-help {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    margin-top: 14px;
    line-height: 1.5;
}


/* ── Sections (how / faq) ──────────────────────────────────────────────── */

.section {
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 28px 0;
}

.section-label {
    font-family: ui-monospace, "SF Mono", monospace;
    font-size: 10px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.36);
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}


/* ── Features (How it works) ───────────────────────────────────────────── */

.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 720px) {
    .features { grid-template-columns: 1fr 1fr 1fr; }
}

.feature {
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-num {
    font-family: ui-monospace, "SF Mono", monospace;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
}

.feature h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}

.feature p {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.55;
}


/* ── FAQ ───────────────────────────────────────────────────────────────── */

.faq {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.02);
    overflow: hidden;
}
.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    font-family: ui-monospace, monospace;
    color: rgba(255,255,255,0.5);
    font-size: 16px;
}
.faq[open] summary::after { content: "−"; }
.faq[open] summary { border-bottom: 1px solid rgba(255,255,255,0.06); }
.faq p {
    padding: 16px 18px;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    line-height: 1.55;
}


/* ── Footer ────────────────────────────────────────────────────────────── */

footer {
    max-width: 720px;
    margin: 64px auto 0;
    padding: 24px 28px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-family: ui-monospace, "SF Mono", monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.36);
}
footer a { color: rgba(255,255,255,0.5); }
footer a:hover { color: #fff; }


/* ── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 540px) {
    .signup-form { flex-direction: column; }
    .signup-form input[type="email"] { width: 100%; }
    .signup-form .btn { width: 100%; }
    .hero { padding: 48px 22px 40px; }
}
