/* Burnup — standalone landing page styles.
   Intentionally independent from style.css: Burnup is a separate product that
   happens to be hosted on the Strainup domain, and it ships its own dark palette
   (the same tokens the in-app demo mockup uses). */

:root {
    --bg: #0a0d12;
    --bg-2: #0f141c;
    --surface: rgba(148, 163, 184, .06);
    --surface-2: rgba(148, 163, 184, .11);
    --border: rgba(148, 163, 184, .15);
    --border-2: rgba(148, 163, 184, .26);
    --text: #f8fafc;
    --dim: rgba(148, 163, 184, .92);
    --faint: rgba(148, 163, 184, .60);
    --indigo: #6366f1;
    --indigo-ink: #818cf8;
    --green: #22c55e;
    --green-ink: #4ade80;
    --amber: #f59e0b;
    --amber-ink: #fbbf24;
    --maxw: 1120px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; }

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

/* ── Ambient background glow ─────────────────────────────── */
.glow {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(720px 460px at 78% -8%, rgba(34, 197, 94, .13), transparent 70%),
        radial-gradient(680px 520px at 8% 6%, rgba(99, 102, 241, .14), transparent 70%),
        radial-gradient(900px 500px at 50% 100%, rgba(245, 158, 11, .06), transparent 70%);
}

.page { position: relative; z-index: 1; }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(10, 13, 18, .72);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 66px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.brand-mark {
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 11px;
    background: linear-gradient(140deg, var(--green), var(--amber));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(34, 197, 94, .28);
}

.brand-mark svg { width: 19px; height: 19px; display: block; }

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.brand-by {
    font-size: 11px;
    font-weight: 600;
    color: var(--faint);
    letter-spacing: .01em;
}

.brand-by a { color: var(--dim); text-decoration: none; }
.brand-by a:hover { color: var(--text); }

.nav-cta {
    flex: none;
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--green);
    color: #08120b;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, .3);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero { padding: 76px 0 40px; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 64px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px 7px 12px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--dim);
    letter-spacing: .01em;
}

.pill-dot {
    position: relative;
    display: flex;
    width: 8px;
    height: 8px;
    flex: none;
}

.pill-dot i,
.pill-dot b {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: var(--green);
}

.pill-dot i { animation: pulse 2.1s ease-in-out infinite; }

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.9); opacity: .25; }
}

h1 {
    margin-top: 22px;
    font-size: clamp(2.4rem, 5.2vw, 3.7rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.035em;
}

.grad {
    background: linear-gradient(105deg, var(--amber-ink), var(--green-ink) 60%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lede {
    margin-top: 20px;
    max-width: 33rem;
    font-size: 1.06rem;
    color: var(--dim);
}

.hero-points {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--dim);
}

.chip svg { width: 14px; height: 14px; flex: none; }

/* ── Waitlist ────────────────────────────────────────────── */
.waitlist-card {
    margin-top: 34px;
    max-width: 30rem;
    padding: 24px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
}

.waitlist-card h2 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.waitlist-card p {
    margin-top: 6px;
    font-size: .9rem;
    color: var(--faint);
}

/* LaunchList custom form — our markup, so it is styled natively. */
.waitlist-form {
    margin-top: 16px;
    display: flex;
    gap: 10px;
}

.waitlist-form input {
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(15, 20, 28, .55);
    border: 1px solid var(--border-2);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.waitlist-form input::placeholder { color: var(--faint); }

.waitlist-form input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .18);
}

.waitlist-form button {
    flex: none;
    height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: var(--green);
    color: #08120b;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.waitlist-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, .3);
}

.waitlist-form button:active { transform: translateY(0); }

/* LaunchList injects its own status/error text after the form. */
.launchlist-form-message,
.launchlist-error {
    margin-top: 10px;
    font-size: .88rem;
    color: var(--dim);
}

.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;
}

.waitlist-placeholder {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--surface-2);
    border: 1px dashed var(--border-2);
    font-size: .9rem;
    color: var(--dim);
}

.waitlist-note {
    margin-top: 14px;
    font-size: 11.5px;
    color: var(--faint);
}

/* ── Phone demo ──────────────────────────────────────────── */
.demo {
    flex: none;
    position: relative;
    /* The mockup is authored at a fixed 402x874; scale it down rather than
       reflowing an interface that is meant to look like a real device. */
    --scale: 1;
    width: calc(402px * var(--scale));
    height: calc(874px * var(--scale));
}

.demo-inner {
    width: 402px;
    height: 874px;
    transform: scale(var(--scale));
    transform-origin: top left;
}

.device {
    width: 402px;
    height: 874px;
    border-radius: 48px;
    overflow: hidden;
    position: relative;
    background: #000;
    box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(148, 163, 184, .18);
    font-family: -apple-system, system-ui, sans-serif;
}

.device-island {
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    width: 126px;
    height: 37px;
    border-radius: 24px;
    background: #000;
    z-index: 50;
}

.device-status {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    gap: 154px;
    align-items: center;
    justify-content: center;
    padding: 21px 24px 19px;
    width: 100%;
}

.device-status > div {
    flex: 1;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-status .status-icons { gap: 7px; padding-top: 1px; padding-right: 1px; }

.device-status .status-time {
    font-family: -apple-system, 'SF Pro', system-ui, sans-serif;
    font-weight: 590;
    font-size: 17px;
    line-height: 22px;
    color: #fff;
    padding-top: 1.5px;
}

.device-body { height: 100%; display: flex; flex-direction: column; }

.device-home {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 8px;
    pointer-events: none;
}

.device-home span {
    width: 139px;
    height: 5px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .7);
}

/* Demo interaction affordances (replaces the mockup's style-hover attrs) */
[data-bu-hover] { transition: background .15s ease, border-color .15s ease; }
[data-bu-hover]:hover { background: var(--bu-glass-2) !important; border-color: var(--bu-border-2) !important; }
[data-bu-tap] { transition: transform .12s ease; }
[data-bu-tap]:active { transform: scale(.965); }

.bu-slot {
    background: rgba(148, 163, 184, .10);
    border: 1px dashed rgba(148, 163, 184, .3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bu-slot span {
    font: 600 10.5px/1 -apple-system, system-ui, sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, .55);
}

.demo-caption {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--faint);
    letter-spacing: .02em;
}

.bu-mode-chip {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--dim);
    border-radius: 999px;
    padding: 5px 12px;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.bu-mode-chip:hover { border-color: var(--border-2); color: var(--text); }

.bu-mode-chip[aria-pressed="true"] {
    background: var(--green);
    border-color: transparent;
    color: #08120b;
}

/* ── Sections ────────────────────────────────────────────── */
section { padding: 74px 0; }

.section-head { max-width: 40rem; }

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--green-ink);
}

h2.section-title {
    margin-top: 12px;
    font-size: clamp(1.7rem, 3.4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -.03em;
}

.section-sub {
    margin-top: 14px;
    font-size: 1rem;
    color: var(--dim);
}

/* ── Steps ───────────────────────────────────────────────── */
.steps {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.step {
    position: relative;
    padding: 26px 24px 28px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border-2);
    font-size: 13px;
    font-weight: 800;
    color: var(--green-ink);
}

.step h3 {
    margin-top: 16px;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -.015em;
}

.step p {
    margin-top: 8px;
    font-size: .93rem;
    color: var(--dim);
}

/* ── Features ────────────────────────────────────────────── */
.features {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature {
    padding: 26px 24px 28px;
    border-radius: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: border-color .18s ease, transform .18s ease;
}

.feature:hover {
    border-color: var(--border-2);
    transform: translateY(-2px);
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg { width: 20px; height: 20px; }

.feature h3 {
    margin-top: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.015em;
}

.feature p {
    margin-top: 8px;
    font-size: .93rem;
    color: var(--dim);
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { margin-top: 40px; display: grid; gap: 12px; }

.faq details {
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 4px 22px;
}

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

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

.faq summary::after {
    content: '';
    flex: none;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--faint);
    border-bottom: 2px solid var(--faint);
    transform: rotate(45deg) translateY(-2px);
    transition: transform .22s ease;
}

.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

.faq p {
    padding: 0 0 20px;
    font-size: .95rem;
    color: var(--dim);
    max-width: 52rem;
}

/* ── Closing CTA ─────────────────────────────────────────── */
.cta-band {
    margin: 0 auto;
    padding: 54px 40px 58px;
    border-radius: 32px;
    background: linear-gradient(150deg, rgba(34, 197, 94, .12), rgba(99, 102, 241, .12));
    border: 1px solid var(--border-2);
    text-align: center;
}

.cta-band h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.03em;
}

.cta-band p {
    margin: 12px auto 0;
    max-width: 34rem;
    color: var(--dim);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    background: var(--green);
    color: #08120b;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(34, 197, 94, .32);
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    padding: 34px 0 44px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--faint);
}

.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { text-decoration: none; color: var(--dim); }
.footer-links a:hover { color: var(--text); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1080px) {
    .hero-grid { gap: 40px; }
    .demo { --scale: .82; }
}

@media (max-width: 900px) {
    .hero { padding: 52px 0 24px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .demo { --scale: .9; margin: 0 auto; }
    .waitlist-card { max-width: none; }
    .steps, .features { grid-template-columns: 1fr; }
    section { padding: 58px 0; }
}

@media (max-width: 480px) {
    .wrap { padding: 0 18px; }
    .waitlist-form { flex-direction: column; }
    .waitlist-form button { width: 100%; }
    .demo { --scale: .74; }
    .cta-band { padding: 40px 22px 44px; border-radius: 26px; }
    .brand-by { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}
