/* FightEdge landing r1326: one story, one primary action.
   Mobile first (390px). Scoped to body[data-fe-landing="r1326"] so shared
   design-system rules for the retired landing-* classes never reach it.
   Mint is reserved for primary buttons, links and one highlight phrase. */

html:has(body[data-fe-landing="r1326"]) { scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); }

body[data-fe-landing="r1326"] {
    --lp-canvas: #0B1015;
    --lp-canvas-deep: #08080C;
    --lp-surface: #121A22;
    --lp-surface-2: #0F161D;
    --lp-line: #22303B;
    --lp-line-strong: #34454F;
    --lp-ink: #EDF2F6;
    --lp-muted: #B4C0CA;
    --lp-accent: #2FE3D0;
    --lp-accent-ink: #08221E;
    --lp-focus: #8EF4E5;
    --lp-radius: 14px;
    --lp-gutter: max(16px, env(safe-area-inset-left, 0px));
    --lp-gutter-r: max(16px, env(safe-area-inset-right, 0px));
    --fe-focus: var(--lp-focus);
    margin: 0;
    background: var(--lp-canvas);
    color: var(--lp-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body[data-fe-landing="r1326"] *,
body[data-fe-landing="r1326"] *::before,
body[data-fe-landing="r1326"] *::after { box-sizing: border-box; }
body[data-fe-landing="r1326"] > .fe-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* entry-continuity.css pads #landing-main for the retired fixed nav. */
html[data-theme] body[data-fe-design-system][data-fe-landing="r1326"] #landing-main { padding-top: 0; }
#landing-main:focus { outline: none; }

/* Zero-specificity resets so every component rule below wins. */
.lp-page :where(h1, h2, h3) { margin: 0; color: var(--lp-ink); font-weight: 800; letter-spacing: -0.02em; }
.lp-page :where(p) { margin: 0; }
.lp-page :where(a) { color: var(--lp-accent); }
.lp-page :where(img) { display: block; max-width: 100%; height: auto; }

/* Focus ring: stays visible even when a light-theme cookie sets data-theme. */
html[data-theme] body[data-fe-design-system][data-fe-landing="r1326"] :is(a, button, summary):focus-visible { outline: 2px solid var(--lp-focus); outline-offset: 3px; }

.lp-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: var(--lp-gutter); padding-right: var(--lp-gutter-r); }
.lp-narrow { max-width: 760px; }
.lp-accent { color: var(--lp-accent); }
.lp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 1000; padding: 10px 14px; border-radius: 8px; background: var(--lp-ink); color: var(--lp-canvas) !important; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* Buttons: one primary style (filled mint), one secondary (outlined). */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 12px; font-size: 17px; font-weight: 750; line-height: 1.15; text-align: center; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.lp-btn--primary { background: var(--lp-accent); color: var(--lp-accent-ink) !important; border: 1px solid var(--lp-accent); }
.lp-btn--primary:hover { background: #5BEBDC; border-color: #5BEBDC; }
.lp-btn--primary:active { transform: translateY(1px); }
.lp-btn--secondary { background: transparent; color: var(--lp-ink) !important; border: 1px solid var(--lp-line-strong); }
.lp-btn--secondary:hover { border-color: var(--lp-muted); }
.lp-btn--small { min-height: 44px; padding: 0 14px; font-size: 15px; border-radius: 10px; }
.lp-btn--block { width: 100%; white-space: normal; }
.lp-btn[aria-busy="true"] { opacity: .8; }
.lp-textlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--lp-accent); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lp-textlink:hover { color: #7FF0E3; }
@media (max-width: 420px) {
    body[data-fe-landing="r1326"] .lp-btn:not(.lp-btn--small) { white-space: normal; padding: 10px 16px; }
}

/* Header */
.lp-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 16, 21, .94); border-bottom: 1px solid var(--lp-line); padding-top: env(safe-area-inset-top, 0px); }
@supports (backdrop-filter: blur(8px)) { .lp-header { background: rgba(11, 16, 21, .82); backdrop-filter: blur(12px); } }
.lp-header__inner { display: flex; align-items: center; gap: 12px; max-width: 1160px; margin: 0 auto; min-height: 64px; padding: 0 var(--lp-gutter-r) 0 var(--lp-gutter); }
.lp-brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--lp-ink) !important; text-decoration: none; margin-right: auto; }
body[data-fe-landing="r1326"] .lp-brand .fe-logo { width: 150px; height: auto; }
.lp-nav { display: none; gap: 4px; }
.lp-nav a, .lp-signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; white-space: nowrap; color: var(--lp-muted) !important; font-size: 15px; font-weight: 600; text-decoration: none; }
.lp-nav a:hover, .lp-signin:hover { color: var(--lp-ink) !important; }
@media (max-width: 420px) {
    .lp-header__inner { gap: 6px; }
    body[data-fe-landing="r1326"] .lp-brand .fe-logo { width: 112px; }
    .lp-signin { padding: 0 6px; }
}
@media (max-width: 359px) { .lp-signin { display: none; } }
.lp-brand__full { display: inline-flex; }
.lp-brand__mark { display: none; }
body[data-fe-landing="r1326"] .lp-brand__mark .fe-mark { width: 30px; height: 30px; }
@media (max-width: 340px) {
    .lp-brand__full { display: none; }
    .lp-brand__mark { display: inline-flex; }
}

/* Hero */
.lp-hero { padding: 28px 0 36px; background: radial-gradient(120% 70% at 85% 0%, rgba(237, 242, 246, .04), transparent 60%), var(--lp-canvas); }
.lp-hero__grid { display: grid; gap: 28px; }
.lp-eyebrow { color: var(--lp-muted); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lp-hero h1 { margin-top: 12px; font-size: clamp(32px, 8.4vw, 58px); line-height: 1.06; letter-spacing: -0.03em; }
.lp-hero__sub { margin-top: 16px; max-width: 34em; color: var(--lp-muted); font-size: 18px; line-height: 1.5; }
.lp-hero__actions { display: grid; gap: 8px; margin-top: 22px; }
.lp-hero__actions .lp-btn--primary { width: 100%; }
.lp-hero__micro { color: var(--lp-muted); font-size: 14px; }
.lp-hero__card { margin-top: 4px; color: var(--lp-ink); font-size: 15px; font-weight: 600; line-height: 1.6; }
.lp-hero__card span { display: inline-block; margin-right: 6px; padding: 1px 8px; border: 1px solid var(--lp-line-strong); border-radius: 999px; color: var(--lp-muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.lp-hero__actions .lp-textlink { justify-self: start; }

/* Previous fight week: the last graded card, shown whatever the result. */
.lp-lastcard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 12px;
    max-width: 460px;
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    background: var(--lp-surface);
    color: var(--lp-ink) !important;
    text-decoration: none;
    transition: border-color .15s ease;
}
.lp-lastcard:hover { border-color: var(--lp-line-strong); }
.lp-lastcard__label { grid-column: 1 / -1; color: var(--lp-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lp-lastcard__rec { color: var(--lp-ink); font-size: 18px; font-weight: 750; letter-spacing: -.01em; }
.lp-lastcard__rate { justify-self: end; padding: 2px 10px; border: 1px solid var(--lp-line-strong); border-radius: 999px; color: var(--lp-ink); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-lastcard__rate:empty { display: none; }
.lp-lastcard__event { grid-column: 1 / -1; color: var(--lp-muted); font-size: 14px; line-height: 1.45; }
.lp-lastcard__cta { grid-column: 1 / -1; margin-top: 2px; color: var(--lp-accent); font-size: 14px; font-weight: 650; }
@media (max-width: 420px) and (max-height: 700px) {
    .lp-hero { padding-top: 18px; }
    .lp-hero h1 { font-size: 29px; margin-top: 8px; }
    .lp-hero__sub { margin-top: 10px; font-size: 16px; }
    .lp-hero__actions { margin-top: 14px; }
}

/* Product frames (real UI stills). Space is reserved by width/height attributes. */
.lp-frame { margin: 0; overflow: hidden; border: 1px solid var(--lp-line-strong); border-radius: var(--lp-radius); background: var(--lp-canvas-deep); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.lp-frame img { width: 100%; height: auto; }
.lp-hero__frame { width: 100%; max-width: 520px; justify-self: center; }
.lp-frame figcaption { padding: 10px 14px 12px; border-top: 1px solid var(--lp-line); color: var(--lp-ink); font-size: 14px; font-weight: 600; }
.lp-frame figcaption span { display: block; margin-top: 2px; color: var(--lp-muted); font-size: 12px; font-weight: 500; }

/* Proof strip */
.lp-strip { border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); background: var(--lp-surface-2); }
.lp-strip__list { display: grid; gap: 16px; margin: 0 auto; padding-top: 20px; padding-bottom: 20px; list-style: none; }
.lp-strip__list li { display: grid; gap: 2px; }
.lp-strip__list strong { color: var(--lp-ink); font-size: 16px; }
.lp-strip__list strong a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; text-decoration: underline; text-underline-offset: 4px; }
.lp-strip__list span { color: var(--lp-muted); font-size: 14px; }

/* Sections */
.lp-section { padding: 56px 0; }
.lp-section h2 { font-size: clamp(26px, 6.2vw, 40px); line-height: 1.12; }
.lp-section + .lp-section { border-top: 1px solid var(--lp-line); }

.lp-problem__list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.lp-problem__list li { position: relative; padding-left: 20px; color: var(--lp-muted); font-size: 18px; }
.lp-problem__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 2px; background: var(--lp-line-strong); }
.lp-problem__turn { margin-top: 20px; color: var(--lp-ink); font-size: 18px; font-weight: 650; }

.lp-steps { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.lp-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 18px; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); background: var(--lp-surface); }
.lp-steps__n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--lp-line-strong); border-radius: 50%; color: var(--lp-ink); font-weight: 800; }
.lp-steps h3 { font-size: 19px; }
.lp-steps p { margin-top: 4px; color: var(--lp-muted); }

.lp-moments { display: grid; gap: 32px; margin-top: 24px; }
.lp-moment h3 { margin-top: 14px; font-size: 20px; }
.lp-moment p { margin-top: 6px; color: var(--lp-muted); }
.lp-moment .lp-frame { box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
/* Phones: show the top of each still so the page stays short; desktop shows it whole. */
@media (max-width: 899px) {
    .lp-moment .lp-frame img { max-height: 300px; object-fit: cover; object-position: top center; }
}
.lp-note { margin-top: 20px; color: var(--lp-muted); font-size: 13px; }

/* Trust */
.lp-trust__head p { margin-top: 12px; max-width: 40em; color: var(--lp-muted); font-size: 17px; }
.lp-trust__grid { display: grid; gap: 16px; margin-top: 24px; }
.lp-panel { padding: 20px; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); background: var(--lp-surface); min-width: 0; }
.lp-panel h3 { font-size: 15px; color: var(--lp-muted); font-weight: 700; letter-spacing: .02em; }
.lp-record__big { margin-top: 8px; color: var(--lp-ink); font-size: clamp(34px, 9vw, 48px); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.05; }
.lp-record__label { margin-top: 6px; color: var(--lp-muted); }
.lp-buckets { width: 100%; margin-top: 18px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.lp-buckets caption { margin-bottom: 8px; color: var(--lp-muted); font-size: 14px; font-weight: 600; text-align: left; }
.lp-buckets th, .lp-buckets td { padding: 10px 0; border-top: 1px solid var(--lp-line); text-align: left; font-size: 15px; }
.lp-buckets thead th { color: var(--lp-muted); font-size: 13px; font-weight: 600; border-top: 0; padding-top: 0; }
.lp-buckets tbody th { color: var(--lp-ink); font-weight: 650; }
.lp-buckets td { color: var(--lp-ink); }
.lp-buckets td:last-child, .lp-buckets th:last-child { text-align: right; }
.lp-buckets__foot { margin-top: 10px; color: var(--lp-muted); font-size: 13px; }
.lp-receipts ul { margin: 12px 0 0; padding: 0; list-style: none; }
.lp-receipts li + li { border-top: 1px solid var(--lp-line); }
.lp-receipts a { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name rec" "date rec"; gap: 2px 12px; align-items: center; min-height: 56px; padding: 10px 0; color: var(--lp-ink) !important; text-decoration: none; }
.lp-receipts a:hover .lp-receipts__name { text-decoration: underline; text-underline-offset: 4px; }
.lp-receipts__name { grid-area: name; font-weight: 650; overflow-wrap: anywhere; }
.lp-receipts__date { grid-area: date; color: var(--lp-muted); font-size: 13px; }
.lp-receipts__rec { grid-area: rec; padding: 4px 10px; border: 1px solid var(--lp-line-strong); border-radius: 999px; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-receipts__note { margin-top: 12px; color: var(--lp-muted); font-size: 14px; }
.lp-trust__close { margin-top: 20px; color: var(--lp-muted); }
.lp-trust .lp-textlink { margin-top: 4px; }

/* Pricing */
.lp-plans { display: grid; gap: 16px; margin-top: 24px; }
.lp-plan { display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); background: var(--lp-surface); }
.lp-plan--pro { border-color: var(--lp-line-strong); }
.lp-plan h3 { font-size: 20px; }
.lp-plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.lp-plan__price strong { color: var(--lp-ink); font-size: 36px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.lp-plan__price strong span[data-plan-period] { font-size: 18px; color: var(--lp-muted); font-weight: 650; }
.lp-plan__price > span { color: var(--lp-muted); font-size: 14px; }
.lp-plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.lp-plan li { position: relative; padding-left: 22px; color: var(--lp-ink); }
.lp-plan li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--lp-muted); border-bottom: 2px solid var(--lp-muted); transform: rotate(-45deg); }
.lp-plan .lp-btn { margin-top: auto; }
.lp-plan__terms { color: var(--lp-muted); font-size: 13px; line-height: 1.5; }
.lp-toggle { display: inline-grid; grid-auto-flow: column; gap: 4px; justify-self: start; align-self: start; padding: 4px; border: 1px solid var(--lp-line-strong); border-radius: 12px; }
.lp-toggle button { min-height: 44px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--lp-muted); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.lp-toggle button[aria-pressed="true"] { background: var(--lp-ink); color: var(--lp-canvas); }

/* FAQ */
.lp-faq details { border-top: 1px solid var(--lp-line); }
.lp-faq details:last-of-type { border-bottom: 1px solid var(--lp-line); }
.lp-faq h2 + details { margin-top: 20px; }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; color: var(--lp-ink); font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; content: "+" / ""; flex: none; color: var(--lp-muted); font-size: 22px; font-weight: 500; line-height: 1; }
.lp-faq details[open] summary::after { content: "\2212"; content: "\2212" / ""; }
.lp-faq details p { padding: 0 0 16px; color: var(--lp-muted); }

/* Close */
.lp-close { padding: 64px 0 72px; border-top: 1px solid var(--lp-line); background: radial-gradient(90% 80% at 50% 100%, rgba(237, 242, 246, .035), transparent 60%), var(--lp-canvas); text-align: center; }
.lp-close h2 { font-size: clamp(28px, 7vw, 44px); line-height: 1.1; }
.lp-close .lp-wrap > p:not(.lp-close__links) { margin-top: 12px; color: var(--lp-muted); }
.lp-close .lp-btn { margin-top: 22px; width: 100%; max-width: 420px; }
.lp-close__links { margin-top: 8px; }

/* Footer */
.lp-footer { padding: 32px 0 calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--lp-line); background: var(--lp-canvas-deep); color: var(--lp-muted); font-size: 14px; }
.lp-footer .lp-wrap { display: grid; gap: 14px; }
.lp-footer__brand { margin-right: 0; justify-self: start; }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: 0 4px; }
.lp-footer nav a, .lp-footer__privacy { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px 0 0; background: none; border: 0; color: var(--lp-muted) !important; font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lp-footer__rg { color: var(--lp-ink); font-weight: 650; }

/* Route progress injected by landing-main-r997.js on navigation. */
.landing-route-progress { position: fixed; z-index: 999; inset: 0 0 auto; height: 3px; overflow: hidden; background: rgba(47, 227, 208, .09); pointer-events: none; }
.landing-route-progress::after { content: ""; display: block; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, var(--lp-accent), #6EE7DE); animation: lp-route-progress 1.05s ease-in-out infinite; }
.landing-route-status { position: fixed; z-index: 998; top: 76px; left: 50%; max-width: calc(100% - 28px); padding: 8px 12px; border: 1px solid var(--lp-line-strong); border-radius: 999px; color: var(--lp-ink); background: rgba(12, 12, 16, .94); box-shadow: 0 10px 35px rgba(0, 0, 0, .35); font-size: 13px; font-weight: 700; transform: translateX(-50%); }
@keyframes lp-route-progress { from { transform: translateX(-110%); } to { transform: translateX(330%); } }

/* Wider screens */
@media (min-width: 720px) {
    .lp-strip__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .lp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lp-steps li { grid-template-columns: 1fr; }
    .lp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-trust__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
    .lp-hero__actions { justify-items: start; }
    .lp-hero__actions .lp-btn--primary { width: auto; }
}
@media (min-width: 900px) {
    .lp-nav { display: flex; }
    .lp-hero { padding: 64px 0 72px; }
    .lp-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
    .lp-moments { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .lp-section { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
    body[data-fe-landing="r1326"] *,
    body[data-fe-landing="r1326"] *::before,
    body[data-fe-landing="r1326"] *::after { transition: none !important; animation: none !important; }
}

/* r1334 LANDING: cookie chooser placement and the sign-out note (this page only).
   body[attr] .class out-specifies the chooser component's own rules, which load
   later in the page. Copy, buttons, 44px targets and behaviour are unchanged. */
/* Desktop: a 420px card in the bottom-right corner, clear of the record box. */
@media (min-width: 900px) {
    body[data-fe-landing="r1326"] .fe-cookie-consent { left: auto; max-width: 420px; grid-template-columns: minmax(0, 1fr); }
    body[data-fe-landing="r1326"] .fe-cookie-consent__actions { justify-content: flex-start; }
}
/* Phones: the Privacy Policy link keeps its 44px tap box without growing its
   line; the smaller bottom margin keeps the box clear of Decline/Accept. */
@media (max-width: 760px) {
    body[data-fe-landing="r1326"] .fe-cookie-consent__copy a { margin: -12px 0 -6px; }
}
/* "You're signed out." (hidden unless landing-main-r997.js shows it). */
body[data-fe-landing="r1326"] .lp-hero__copy > [data-fe-signed-out] { margin-bottom: 12px; color: var(--lp-ink); font-weight: 650; }
/* END r1334 LANDING */
