/* FlarePath — marketing layout on the cockpit instrument panel (shared with app).
   Loaded after app.css on public pages. Layout and hero sizing only; colors
   and chrome come from app.css + tokens.css. */

body.sq-body main > .container,
body.sq-body main > .container-fluid {
    max-width: 1100px;
}

/* ============ Footer (marketing pages) ============ */
.sq-foot--marketing {
    margin-top: 4rem;
    padding-bottom: 2rem;
}

/* ============ Page sections (rhythm & separation) ============ */
.l-section {
    padding: 3.5rem 0;
    border-top: 1px solid var(--rule-app);
}
.l-section:first-of-type,
.l-section--intro {
    border-top: none;
}
.l-section--intro {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
}
.l-section--tight {
    padding: 2.5rem 0;
}
.l-section--flush-bottom {
    padding-bottom: 1.5rem;
}
.l-section__lead {
    color: var(--ink-3);
    font-size: 0.95rem;
    max-width: 32em;
    margin: -0.25rem 0 2rem;
    line-height: 1.55;
}
.l-section__lead--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.l-callout {
    border: 1px solid var(--rule-cockpit);
    background: var(--cockpit-bg-soft);
    padding: 1.35rem 1.5rem;
    margin-top: 1.75rem;
    font-size: 0.92rem;
    color: var(--ink-2);
    line-height: 1.6;
    max-width: 36em;
}
.l-callout--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.l-callout strong {
    color: var(--ink-app);
    font-weight: 600;
}

/* ============ Stage cards (signals — vertical stack) ============ */
.l-stage-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.l-stage-stack__item {
    border: 1px solid var(--rule-app);
    padding: 1.35rem 1.5rem;
    background: var(--cockpit-bg-soft);
}
.l-stage-stack__label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink-app);
    margin-bottom: 0.4rem;
}
.l-stage-stack__body {
    font-size: 0.9rem;
    color: var(--ink-3);
    line-height: 1.55;
    margin: 0;
}

/* ============ Question row (signals — simpler than 3-col grid) ============ */
.l-question-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.l-question-list li {
    border-left: 2px solid var(--flare-amber);
    padding: 0.15rem 0 0.15rem 1rem;
}
.l-question-list strong {
    display: block;
    font-size: 0.95rem;
    color: var(--ink-app);
    margin-bottom: 0.2rem;
}
.l-question-list span {
    font-size: 0.875rem;
    color: var(--ink-3);
    line-height: 1.5;
}

/* ============ Footer note (signals extras) ============ */
.l-aside-note {
    border-top: 1px solid var(--rule-app);
    padding-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--ink-3);
    line-height: 1.55;
}
.l-aside-note ul {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
}
.l-aside-note li {
    margin-bottom: 0.35rem;
}

/* ============ Cards / surfaces ============ */
.l-card {
    border-top: 1px solid var(--rule-app);
    padding: 1.5rem 0;
}

/* ============ Screenshots / product shots ============ */
.l-shot {
    margin: 0;
    text-align: center;
}
.l-shot img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border: 1px solid var(--rule-cockpit);
    border-radius: 0;
    background: var(--cockpit-bg-soft);
    box-shadow: 0 0 0 1px var(--rule-cockpit-soft), 0 12px 40px -16px rgba(0, 0, 0, 0.55);
}
.l-shot__cap {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    color: var(--ink-3);
    margin-top: 0.6rem;
}
.l-shot--hero {
    margin: 2rem auto 0;
    max-width: 760px;
}
.l-shot--inline {
    margin: 1.5rem 0 0;
    max-width: 560px;
}
.l-shot--centered {
    margin-left: auto;
    margin-right: auto;
    max-width: 580px;
}

/* ============ Hero ============ */
.l-hero {
    padding: 2.5rem 0 2rem;
    text-align: center;
}
.l-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.12;
    max-width: 18em;
    margin-left: auto;
    margin-right: auto;
}
.l-hero h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}
.l-hero__eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: lowercase;
    letter-spacing: 0.06em;
    color: var(--flare-amber);
    margin-bottom: 0.75rem;
}
.l-hero__lead {
    font-size: 1.05rem;
    color: var(--ink-2);
    max-width: 36em;
    margin: 1rem auto 1.5rem;
    line-height: 1.65;
}
.l-hero__lead--narrow {
    max-width: 28em;
}
.l-hero__lead + .l-hero__lead {
    margin-top: 0;
}

.l-hero__metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.75rem auto 0;
    max-width: 36rem;
}
.l-hero__metrics .l-pill {
    padding: 0.4rem 0.75rem;
    font-size: 0.72rem;
}

/* ============ Trust strip ============ */
.l-trust-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    color: var(--ink-3);
    margin: 1rem 0 0;
    line-height: 1.4;
}
.l-trust-strip--center {
    margin-top: 1.25rem;
}
.l-trust-strip__sep {
    color: var(--rule-cockpit);
}
.l-trust-strip__link {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-align: center;
    margin: 0.35rem 0 0;
}

/* ============ Founder compact (hero) ============ */
.l-founder-compact {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 32rem;
    margin: 1.75rem auto 0;
    padding: 1rem 0 0;
    border-top: 1px solid var(--rule-app);
    text-align: left;
}
.l-founder-compact__photo,
.l-founder-full__photo,
.l-about-photo {
    flex-shrink: 0;
    object-fit: cover;
    border: 1px solid var(--rule-cockpit);
    border-radius: 0;
    background: var(--cockpit-surface);
}
.l-founder-compact__photo {
    width: 56px;
    height: 56px;
}
.l-founder-full__photo {
    width: 72px;
    height: 72px;
}
.l-about-photo {
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 1;
}
.l-founder-compact__name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ink-app);
    margin: 0 0 0.15rem;
}
.l-founder-compact__cred,
.l-founder-full__cred {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    color: var(--ink-3);
    margin: 0 0 0.4rem;
}
.l-founder-full__cred {
    margin-bottom: 0;
}
.l-founder-compact__blurb {
    font-size: 0.88rem;
    color: var(--ink-2);
    margin: 0;
    line-height: 1.45;
}
.l-founder-full__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* ============ Signup reassurance ============ */
.l-signup-reassure {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0.75rem 0 0;
    border-top: 1px solid var(--rule-app);
    font-size: 0.88rem;
    color: var(--ink-2);
}
.l-signup-reassure li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.45rem;
}
.l-signup-reassure li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: var(--flare-amber);
    font-weight: 700;
}
.l-signup-reassure li:last-child {
    margin-bottom: 0;
}

/* ============ Ruled list (how-it-works) ============ */
.l-ruled {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    border-top: 1px solid var(--rule-app);
}
.l-ruled li {
    display: grid;
    grid-template-columns: 3.5rem 1fr;
    gap: 1.5rem;
    align-items: baseline;
    padding: 2rem 0;
    border-bottom: 1px solid var(--rule-app);
}
.l-ruled__num {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--flare-amber);
    line-height: 1;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.l-ruled__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink-app);
    margin: 0 0 0.35rem;
}
.l-ruled__body {
    color: var(--ink-2);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.6;
}
.l-ruled__body + .l-ruled__body {
    margin-top: 0.85rem;
}
.l-ruled__body + .l-shot {
    margin-top: 1.5rem;
}

/* ============ Metric pills ============ */
.l-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--rule-cockpit);
    background: var(--cockpit-bg-soft);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink-2);
}
.l-pill__label {
    color: var(--ink-3);
    text-transform: lowercase;
}
.l-pill__value {
    color: var(--ink-app);
    font-weight: 500;
}

/* ============ Forms (marketing width) ============ */
.l-form {
    max-width: 26rem;
    margin: 0 auto;
}
.l-form__title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.l-form__hint {
    font-size: 0.92rem;
    color: var(--ink-3);
    margin-bottom: 1.75rem;
}
.l-form__sub {
    font-size: 0.875rem;
    color: var(--ink-2);
    text-align: center;
    line-height: 1.5;
    margin: 1rem 0 0;
}

.l-oauth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.l-oauth-btn__icon {
    flex-shrink: 0;
}

/* ============ Legal pages ============ */
.l-legal {
    max-width: 38rem;
    margin: 0 auto;
}
.l-legal h2 {
    margin-top: 2.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--rule-app);
}
.l-legal h3 {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--ink-app);
}
.l-legal p,
.l-legal li {
    color: var(--ink-2);
}
.l-legal__meta {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-3);
    text-transform: lowercase;
}

/* ============ Error page ============ */
.l-error {
    text-align: center;
    padding: 3rem 0;
}
.l-error__code {
    font-family: var(--font-mono);
    font-size: clamp(4rem, 14vw, 8rem);
    font-weight: 500;
    color: var(--ink-app);
    line-height: 1;
    margin: 0;
    font-variant-numeric: tabular-nums;
}
.l-error__headline {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
}
.l-error__lead {
    color: var(--ink-2);
    max-width: 28em;
    margin: 0 auto;
}

/* ============ Responsive ============ */
/* ============ Pricing page ============ */
.l-pricing-tier {
    border: 1px solid var(--rule-cockpit);
    padding: 1.5rem;
    background: var(--cockpit-bg-soft);
}
.l-pricing-tier--secondary {
    border-color: var(--rule-app);
    background: transparent;
}
.l-pricing-tier__badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    color: var(--ink-3);
    margin: 0;
}
.l-pricing-tier__price {
    margin: 0;
}
.l-pricing-tier__amount {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* ============ Signals reference page ============ */
.l-signal-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.l-signal__example {
    font-size: 0.875rem;
    color: var(--ink-3);
    border-left: 2px solid var(--flare-amber);
    padding-left: 0.85rem;
    margin: 1rem 0 0;
    line-height: 1.55;
}
.l-signal-details {
    border: 1px solid var(--rule-app);
    background: var(--cockpit-bg-soft);
}
.l-signal-details__summary {
    list-style: none;
    cursor: pointer;
    padding: 1.15rem 2rem 1.15rem 1.25rem;
    position: relative;
}
.l-signal-details__summary::-webkit-details-marker {
    display: none;
}
.l-signal-details__summary::after {
    content: "";
    position: absolute;
    right: 1.1rem;
    top: 1.45rem;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 1.5px solid var(--ink-3);
    border-bottom: 1.5px solid var(--ink-3);
    transform: rotate(45deg);
    transition: transform 0.15s ease;
}
.l-signal-details[open] .l-signal-details__summary::after {
    transform: rotate(-135deg);
    top: 1.65rem;
}
.l-signal-details__summary:hover {
    background: var(--cockpit-surface);
}
.l-signal-details__title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--ink-app);
}
.l-signal-details__drift {
    display: none;
}
.l-signal-details[open] .l-signal-details__summary {
    border-bottom: 1px solid var(--rule-app);
}
.l-signal-details__body {
    padding: 1.25rem 1.25rem 1.35rem;
    font-size: 0.9375rem;
    line-height: 1.6;
}
.l-signal-details__body p {
    margin-bottom: 0.85rem;
}
.l-signal-details__body p:last-child {
    margin-bottom: 0;
}
.l-signal-details__when {
    font-size: 0.875rem;
    color: var(--ink-3);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--rule-app-soft);
}

@media (max-width: 640px) {
    .l-hero {
        padding: 1.75rem 0 1.5rem;
    }
    .l-founder-compact {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .l-ruled li {
        grid-template-columns: 2.5rem 1fr;
        gap: 1rem;
    }
    .l-ruled__num {
        font-size: 1.2rem;
    }
    .l-section {
        padding: 2.5rem 0;
    }
}
