/* FightEdge funnel r1327: register, sign in, verify, pricing, checkout
   return and setup in the r1326 landing language.  One column, one filled
   mint action per screen, Inter, platform tokens (dark by default).
   Scoped to [data-fe-funnel="r1327"]; the shared platform rules read the
   same --fe-* tokens, so buttons and inputs follow without overrides.
   Mobile first (390px).  Bottom padding clears the iOS home indicator. */

[data-fe-funnel="r1327"] {
    --fe-radius-control: 12px;
    --fn-radius: 16px;
    --fn-muted: var(--fe-secondary); /* r1329: the brief's muted #B4C0CA, shared with the app */
    --fn-danger: #ff8a8a;
    --fn-danger-line: rgba(255, 107, 107, .38);
    --fn-mint-wash: rgba(47, 227, 208, .08);
    --fn-mint-line: rgba(47, 227, 208, .42);
    --fn-safe-bottom: env(safe-area-inset-bottom, 0px);
    --fn-warn: #f0b44c;
    font-family: var(--fe-font-ui);
    color: var(--fe-ink);
}
html[data-theme="light"] [data-fe-funnel="r1327"] {
    --fn-danger: #b3261e;
    --fn-danger-line: rgba(179, 38, 30, .35);
    --fn-mint-wash: rgba(0, 110, 104, .07);
    --fn-mint-line: rgba(0, 110, 104, .45);
    --fn-warn: #8a5a00;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] *,
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] *::before,
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] *::after { box-sizing: border-box; }
:where([data-fe-funnel="r1327"]) :where(h1, h2, h3, p, ul, ol, fieldset, legend) { margin: 0; }
:where([data-fe-funnel="r1327"]) :where(a:not([class])) { color: var(--fe-interaction); }


/* ---------------------------------------------------------------- auth shell resets
   (carried from the retired r998 stylesheet: the auth shell has no app chrome). */
body[data-fe-auth-shell="1"] { background: var(--fe-canvas); overflow-x: clip; }
body[data-fe-auth-shell="1"] :is(.mobile-header, .sidebar, .sidebar-backdrop, .fe-clock-chip, .fe-verify-banner, .fe-shell-backdrop) { display: none !important; }
body[data-fe-auth-shell="1"] .layout { display: block; min-height: 100vh; min-height: 100dvh; }
body[data-fe-auth-shell="1"] :is(.main-content, .fe-content-frame) {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
}
body[data-fe-auth-shell="1"] .main-content { animation: none; opacity: 1; }
html[data-theme] body[data-fe-design-system] .fe-journey[data-fe-funnel="r1327"] { padding-left: 0; padding-right: 0; }

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

html[data-theme] body[data-fe-design-system] .fe-journey[data-fe-funnel="r1327"] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--fe-canvas);
    padding-top: env(safe-area-inset-top, 0px);
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 1160px;
    min-height: 64px;
    margin: 0 auto;
    padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
    border-bottom: 1px solid var(--fe-line);
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-right: auto;
    color: var(--fe-ink);
    text-decoration: none;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__brand .fe-logo { width: 140px; height: auto; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__exit {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--fn-muted);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__exit:hover { color: var(--fe-ink); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__layout {
    flex: 1 0 auto;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 28px 16px calc(40px + var(--fn-safe-bottom));
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__panel {
    background: var(--fe-surface);
    border: 1px solid var(--fe-line);
    border-radius: var(--fn-radius);
    padding: 26px 22px 24px;
}
@media (max-width: 420px) {
    html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__layout { padding: 20px 12px calc(32px + var(--fn-safe-bottom)); }
    html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__panel { padding: 22px 16px 20px; }
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2px 16px;
    padding: 12px 16px calc(12px + var(--fn-safe-bottom));
    border-top: 1px solid var(--fe-line);
    color: var(--fn-muted);
    font-size: 13px;
    text-align: center;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__footer :is(a, button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 6px;
    border: 0;
    background: none;
    color: var(--fn-muted);
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

/* ---------------------------------------------------------------- steps */

html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    color: var(--fn-muted);
    font-size: 13px;
    font-weight: 600;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-steps li { display: inline-flex; align-items: center; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-steps li + li::before { content: "\00B7"; margin: 0 8px; color: var(--fe-line); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-steps .is-done { color: var(--fe-ink); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-steps .is-done span:first-child::before { content: "\2713\00A0"; color: var(--fe-interaction); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-steps [aria-current="step"] { color: var(--fe-interaction); }

/* ---------------------------------------------------------------- type */

html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__panel-kicker,
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-kicker {
    display: block;
    margin: 0 0 8px;
    color: var(--fn-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] h1 {
    color: var(--fe-ink);
    font-size: clamp(26px, 7vw, 32px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.12;
    text-wrap: balance;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__lede,
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-lede {
    margin: 10px 0 20px;
    color: var(--fn-muted);
    font-size: 16px;
    line-height: 1.55;
    text-wrap: pretty;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__lede strong,
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__accent-copy { color: var(--fe-ink); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-note { margin: 12px 0 0; color: var(--fn-muted); font-size: 14px; line-height: 1.5; }

/* ---------------------------------------------------------------- forms */

html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .form-group { margin: 0 0 16px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .form-group > label,
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-label {
    display: block;
    margin: 0 0 6px;
    color: var(--fe-ink);
    font-family: var(--fe-font-ui);
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-auth-label-note { display: inline; color: var(--fn-muted); font-weight: 500; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .form-group :is(input:not([type="checkbox"]):not([type="radio"]), select) {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 16px;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-password-field { position: relative; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-password-field input { padding-right: 76px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-password-toggle {
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    min-width: 64px;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--fe-interaction);
    font: 650 14px/1 var(--fe-font-ui);
    cursor: pointer;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-password-meter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-top: 8px;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-password-meter span { height: 4px; border-radius: 2px; background: var(--fe-line); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-password-meter[data-strength="1"] span:nth-child(-n+1),
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-password-meter[data-strength="2"] span:nth-child(-n+2) { background: var(--fn-warn); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-password-meter[data-strength="3"] span:nth-child(-n+3),
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-password-meter[data-strength="4"] span { background: var(--fe-interaction); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] :is(.fe-password-strength-label, .fe-password-hint) {
    margin-top: 6px;
    color: var(--fn-muted);
    font-size: 13px;
    line-height: 1.45;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-honeypot {
    position: absolute !important;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-auth-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 44px;
    padding: 4px 0;
    color: var(--fn-muted);
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-auth-check input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    accent-color: var(--fe-interaction);
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-auth-check strong { color: var(--fe-ink); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-auth-check a { display: inline; min-height: 0; color: var(--fe-interaction); font-weight: 650; }

/* Free vs Pro: two clear choices.  Pro's two billing options sit inside
   the Pro choice; every option is one radio in the same access_choice set. */
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice { margin: 4px 0 0; padding: 0; border: 0; min-width: 0; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice legend { padding: 0; margin: 0 0 8px; color: var(--fe-ink); font-size: 14px; font-weight: 650; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice__grid { display: grid; gap: 10px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice__card {
    border: 1px solid var(--fe-line);
    border-radius: 12px;
    background: var(--fe-sunken);
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice__card:has(input:checked) {
    border-color: var(--fn-mint-line);
    background: var(--fn-mint-wash);
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice__option { position: relative; display: block; cursor: pointer; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice__option input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice__row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 10px 14px;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice__dot {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--fe-control-line, var(--fe-line));
    border-radius: 50%;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice__option input:checked + .fn-choice__row .fn-choice__dot {
    border-color: var(--fe-interaction);
    box-shadow: inset 0 0 0 4px var(--fe-surface), inset 0 0 0 10px var(--fe-interaction);
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice__dot--check { border-radius: 6px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice__option input:checked + .fn-choice__row .fn-choice__dot--check {
    box-shadow: inset 0 0 0 3px var(--fe-surface), inset 0 0 0 10px var(--fe-interaction);
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice__option input:focus-visible + .fn-choice__row { outline: 2px solid var(--fe-focus); outline-offset: 2px; border-radius: 12px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice__title { display: block; color: var(--fe-ink); font-size: 16px; font-weight: 750; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice__meta { display: block; color: var(--fn-muted); font-size: 14px; line-height: 1.4; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice__head { padding: 12px 14px 0; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice__plans { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice__plans .fn-choice__row { min-height: 52px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice__save { color: var(--fe-interaction); font-weight: 700; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-choice + .form-group { margin-top: 20px; }
body[data-fe-auth-shell="1"] .fe-verify-banner,
body:has(.fn-pricing .fe-verify-cta) .fe-verify-banner { display: none; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__plan-summary {
    margin: 10px 0 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--fn-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* ---------------------------------------------------------------- actions */

html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] :is(.fe-auth-submit, .fe-journey__primary-action, .fn-primary) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin: 20px 0 0;
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid var(--fe-interaction);
    background: var(--fe-interaction);
    color: var(--fe-on-interaction);
    font-size: 17px;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: normal;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin: 10px 0 0;
    padding: 10px 18px;
    border: 1px solid var(--fe-control-line, var(--fe-line));
    border-radius: 12px;
    background: transparent;
    color: var(--fe-ink);
    font: 700 16px/1.2 var(--fe-font-ui);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 20px;
    margin-top: 10px;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__secondary-action,
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-textlink {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--fe-interaction);
    font-size: 15px;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-auth-foot {
    margin-top: 16px;
    color: var(--fn-muted);
    font-size: 15px;
    text-align: center;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-auth-foot + .fe-auth-foot { margin-top: 0; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-auth-foot a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--fe-interaction);
    font-weight: 650;
}

/* ---------------------------------------------------------------- status */

html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-auth-banner {
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid var(--fe-line);
    border-radius: 12px;
    background: var(--fe-sunken);
    color: var(--fe-ink);
    font-size: 14px;
    line-height: 1.5;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-auth-banner--error { border-color: var(--fn-danger-line); color: var(--fn-danger); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-auth-banner--success { border-color: var(--fn-mint-line); background: var(--fn-mint-wash); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__status-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 0 16px;
    border-radius: 50%;
    background: var(--fn-mint-wash);
    color: var(--fe-interaction);
    font-size: 22px;
    font-weight: 800;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__status-mark--error { background: rgba(255, 107, 107, .1); color: var(--fn-danger); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__checklist { display: grid; gap: 10px; margin: 0 0 4px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__checklist span {
    display: flex;
    gap: 10px;
    color: var(--fn-muted);
    font-size: 15px;
    line-height: 1.45;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__checklist span::before {
    content: attr(data-step);
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    height: 24px;
    border: 1px solid var(--fe-line);
    border-radius: 50%;
    color: var(--fe-ink);
    font-size: 12px;
    font-weight: 700;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-journey__plan-summary[role="status"] {
    padding: 12px 14px;
    border: 1px solid var(--fn-mint-line);
    border-radius: 12px;
    background: var(--fn-mint-wash);
    color: var(--fe-ink);
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] form { margin: 0; }

/* ---------------------------------------------------------------- pricing */

html[data-theme] body[data-fe-design-system] .fn-pricing[data-fe-funnel="r1327"] {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 8px 0 calc(40px + var(--fn-safe-bottom));
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-pricing__head { max-width: 640px; margin: 0 auto 24px; text-align: center; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-pricing__head .fn-lede { margin-bottom: 0; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-pricing-context {
    max-width: 640px;
    margin: 0 auto 20px;
    padding: 14px 16px;
    border: 1px solid var(--fn-mint-line);
    border-radius: 12px;
    background: var(--fn-mint-wash);
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-pricing-context__eyebrow { color: var(--fn-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-pricing-context__title { margin-top: 4px; color: var(--fe-ink); font-size: 16px; font-weight: 750; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-pricing-context__copy { margin-top: 4px; color: var(--fn-muted); font-size: 14px; line-height: 1.5; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-pricing-context__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-pricing-context__chips span { padding: 4px 9px; border: 1px solid var(--fe-line); border-radius: 999px; color: var(--fe-ink); font-size: 12px; font-weight: 650; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-pro-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    margin: 0 0 20px;
    padding: 16px;
    border: 1px solid var(--fn-mint-line);
    border-radius: 14px;
    background: var(--fn-mint-wash);
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-pro-status__title { color: var(--fe-ink); font-size: 16px; font-weight: 750; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-pro-status__meta { color: var(--fn-muted); font-size: 14px; margin-top: 2px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-pro-status__action { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-pro-status__action :is(.fn-primary, .fn-secondary) { width: auto; margin: 0; min-height: 44px; font-size: 15px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: stretch;
}
@media (min-width: 760px) {
    html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-pricing-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier {
    display: flex;
    flex-direction: column;
    padding: 22px 20px 20px;
    border: 1px solid var(--fe-line);
    border-radius: var(--fn-radius);
    background: var(--fe-surface);
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier--pro { border-color: var(--fn-mint-line); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__name { color: var(--fe-ink); font-size: 18px; font-weight: 800; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__trial-ribbon {
    position: static;
    margin: 0;
    padding: 4px 10px;
    border: 1px solid var(--fn-mint-line);
    border-radius: 999px;
    color: var(--fe-interaction);
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__price-row { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__price { color: var(--fe-ink); font-size: 40px; font-weight: 850; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__period { color: var(--fn-muted); font-size: 15px; font-weight: 600; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__yearly { margin-top: 6px; color: var(--fe-ink); font-size: 15px; font-weight: 650; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__yearly .save { color: var(--fe-interaction); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__sub { margin-top: 6px; color: var(--fn-muted); font-size: 14px; line-height: 1.5; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__features { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__features li { display: flex; gap: 10px; color: var(--fe-ink); font-size: 15px; line-height: 1.45; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__features li::before { content: "\2713"; display: inline; flex: 0 0 16px; width: auto; height: auto; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--fe-interaction); font-size: 15px; font-weight: 800; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__features li.is-exclude { color: var(--fn-muted); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__features li.is-exclude::before { content: "\2013"; color: var(--fn-muted); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-plan-details { margin-top: 12px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-plan-details summary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--fe-interaction);
    font-size: 15px;
    font-weight: 650;
    cursor: pointer;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__cta { margin-top: 0; padding-top: 16px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__cta-row { display: grid; gap: 10px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__cta-row :is(.fn-primary, .fn-secondary) { margin: 0; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__cta-row form { margin: 0; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-plan-button { display: flex; flex-direction: column; gap: 2px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-plan-button small { font-size: 13px; font-weight: 600; opacity: .85; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-plan-selected { box-shadow: 0 0 0 2px var(--fe-canvas), 0 0 0 4px var(--fe-interaction); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-tier__cta-fineprint { margin-top: 10px; color: var(--fn-muted); font-size: 13px; line-height: 1.5; text-align: center; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-immediate-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 10px;
    color: var(--fe-ink);
    font-size: 14px;
    line-height: 1.45;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-immediate-consent input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--fe-interaction); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-verify-cta { padding: 14px; border: 1px solid var(--fe-line); border-radius: 12px; background: var(--fe-sunken); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-verify-cta__title { color: var(--fe-ink); font-size: 15px; font-weight: 750; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-verify-cta__copy { margin-top: 4px; color: var(--fn-muted); font-size: 14px; line-height: 1.5; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-verify-cta + .fe-tier__cta-row { margin-top: 12px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-pricing__proof { margin: 20px 0 0; color: var(--fn-muted); font-size: 15px; text-align: center; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-referral-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin: 20px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--fe-line);
    border-radius: 14px;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-referral-band__title { color: var(--fe-ink); font-size: 15px; font-weight: 700; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-referral-band__copy { margin-top: 2px; color: var(--fn-muted); font-size: 14px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-referral-band .fn-secondary { width: auto; margin: 0; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-faq { margin: 28px 0 0; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-faq__title { margin: 0 0 6px; color: var(--fe-ink); font-size: 20px; font-weight: 800; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-faq__item { border-bottom: 1px solid var(--fe-line); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 6px 0;
    color: var(--fe-ink);
    font-size: 16px;
    font-weight: 650;
    list-style: none;
    cursor: pointer;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-faq__item summary::-webkit-details-marker { display: none; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-faq__icon { color: var(--fe-interaction); font-size: 20px; transition: transform .15s ease; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-faq__item[open] .fe-faq__icon { transform: rotate(45deg); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-faq__answer { padding: 0 0 14px; color: var(--fn-muted); font-size: 15px; line-height: 1.6; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-pricing__legal { margin: 24px 0 0; color: var(--fn-muted); font-size: 13px; line-height: 1.5; text-align: center; }

/* ---------------------------------------------------------------- setup */

html[data-theme] body[data-fe-design-system] .fn-setup[data-fe-funnel="r1327"] {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 12px 0 calc(40px + var(--fn-safe-bottom));
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-setup__card {
    padding: 24px 20px 22px;
    border: 1px solid var(--fe-line);
    border-radius: var(--fn-radius);
    background: var(--fe-surface);
}
@media (max-width: 420px) { html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-setup__card { padding: 20px 16px; } }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-question { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-question > legend { padding: 0; margin: 0 0 10px; color: var(--fe-ink); font-size: 16px; font-weight: 750; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-question__num { color: var(--fn-muted); font-weight: 700; margin-right: 6px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-segment { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-segment .fn-choice__card { background: var(--fe-sunken); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-segment .fn-choice__row { min-height: 52px; padding: 8px 12px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-setup__skip { display: flex; justify-content: center; margin-top: 6px; }

/* ---------------------------------------------------------------- r1327 review pass */

/* A chosen plan puts the Pro card first on phones. */
@media (max-width: 759px) {
    html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-pricing-grid--pro-first .fe-tier--pro { order: -1; }
}
/* The FAQ reads as a plain list, like the landing's. */
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-faq { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
/* No legacy route hairline or filled header button competing on funnel pages. */
body:has([data-fe-funnel="r1327"]) .fe-content-frame[data-fe-route-family]::before { display: none; }
html[data-theme] body[data-fe-design-system]:has(.fn-pricing) .fe-marketing-action--primary {
    border: 1px solid var(--fe-control-line, var(--fe-line));
    background: transparent;
    color: var(--fe-ink);
}
/* Setup now lives inside the funnel panel. */
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-setup { width: auto; max-width: none; margin: 0; padding: 0; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-question__follow { margin: 12px 0 0; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-question__label { margin: 4px 0 0; color: var(--fe-ink); font-size: 16px; font-weight: 750; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fn-question__label + .fn-primary { margin-top: 10px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] [data-plan-pro-head] { cursor: pointer; }
/* Windows high contrast: keep the chosen option visible without box-shadow. */
@media (forced-colors: active) {
    [data-fe-funnel="r1327"] .fn-choice__option input:checked + .fn-choice__row .fn-choice__dot { background: CanvasText; forced-color-adjust: none; }
    [data-fe-funnel="r1327"] .fn-choice__card:has(input:checked) { outline: 2px solid Highlight; }
    [data-fe-funnel="r1327"] .fe-plan-selected { outline: 2px solid Highlight; }
}

/* ---------------------------------------------------------------- r1334 SIGNUP
   Sign-up form clarity.  The auth shell never loads fe-terminal.css (base.html
   skips it when fe_auth_shell), so these rules live here, with this file's
   selector prefix (platform-design.css styles inputs at specificity 0,4,2).
   - placeholders: the retired r998 sheet's readable placeholder colour was not
     carried into r1327 (Chrome fell back to #757575, 3.99:1 on the field);
   - inline field errors under each sign-up field, and the invalid field's border;
   - the 18+ box keeps 20px on phones: style.css resets checkbox width to
     auto !important at <=768px, and min-width is not reset;
   - the Terms / Privacy links sit on their own line under the 18+ sentence, so
     they can be 44px tall without breaking the sentence (r1327 had collapsed
     them to inline links inside the label for that reason). */
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] :is(input, textarea)::placeholder { color: var(--fe-muted); opacity: 1; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-field-error {
    margin: 6px 0 0;
    color: var(--fn-danger);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-field-error[hidden] { display: none; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .form-group input[aria-invalid="true"] { border-color: var(--fn-danger-line); }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-auth-check input { min-width: 20px; }
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-auth-check__links {
    margin: 0;
    padding-left: 30px;
    color: var(--fn-muted);
    font-size: 14px;
    line-height: 1.5;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-auth-check__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--fe-interaction);
    font-weight: 650;
}
html[data-theme] body[data-fe-design-system] [data-fe-funnel="r1327"] .fe-auth-check__links + .fe-field-error { margin-top: 0; padding-left: 30px; }
/* END r1334 SIGNUP */
