:root {
    --fya-navy: #102044;
    --fya-navy-soft: #283753;
    --fya-green: #269b50;
    --fya-green-dark: #188542;
    --fya-green-soft: #edf8f0;
    --fya-mint: #fbfbf7;
    --fya-text: #202c43;
    --fya-muted: #68748a;
    --fya-line: #dde7e0;
    --fya-danger: #c83c4b;
    --fya-white: #ffffff;
    --fya-shadow: 0 24px 64px rgba(16, 32, 68, .10);
    --fya-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fya-heading: 'Manrope', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--fya-white); }
body.fya-page {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--fya-text);
    background: var(--fya-white);
    font-family: var(--fya-font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
.fya-page button, .fya-page input { font: inherit; }
.fya-page a { color: inherit; }
.fya-page svg { width: 18px; height: 18px; stroke-width: 1.9; }
.fya-layout { min-height: 100vh; display: flex; flex-direction: column; }

.fya-header {
    width: 100%;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 8px clamp(24px, 5vw, 76px);
    border-bottom: 1px solid #e7eee9;
    background: var(--fya-white);
}
.fya-logo { width: 142px; height: 62px; display: flex; align-items: center; text-decoration: none; }
.fya-logo img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: left center; }
.fya-header-actions, .fya-private-note, .fya-back-link { display: flex; align-items: center; }
.fya-header-actions { gap: 24px; }
.fya-private-note { gap: 8px; color: #536078; font-size: 13px; font-weight: 650; }
.fya-private-note svg { color: var(--fya-green); }
.fya-back-link {
    min-height: 40px;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--fya-line);
    border-radius: 10px;
    color: var(--fya-navy);
    background: var(--fya-white);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.fya-back-link:hover { color: var(--fya-green-dark); border-color: #a9d5b6; transform: translateY(-1px); }
.fya-back-link svg { width: 15px; height: 15px; }

.fya-main {
    min-height: calc(100vh - 78px);
    flex: 1;
    display: grid;
    grid-template-columns: minmax(500px, 1.08fr) minmax(470px, .92fr);
}
.fya-showcase {
    min-width: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(42px, 5.5vh, 64px) clamp(42px, 5.8vw, 88px) 32px;
    border-right: 1px solid #edf1ee;
    background: var(--fya-mint);
}
.fya-showcase-copy { max-width: 620px; position: relative; z-index: 2; }
.fya-pill {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border: 1px solid #d3ead9;
    border-radius: 999px;
    color: var(--fya-green-dark);
    background: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 700;
}
.fya-pill svg { width: 16px; height: 16px; }
.fya-showcase h1 {
    margin: 22px 0 16px;
    color: var(--fya-navy);
    font-family: var(--fya-heading);
    font-size: clamp(46px, 4.2vw, 68px);
    font-weight: 800;
    letter-spacing: -.052em;
    line-height: 1.02;
}
.fya-showcase h1 em { color: var(--fya-green); font-family: Georgia, 'Times New Roman', serif; font-weight: 500; }
.fya-showcase-copy > p { max-width: 560px; margin: 0; color: #56637a; font-size: 16px; line-height: 1.7; }
.fya-product-stage { min-height: 360px; position: relative; display: grid; place-items: end center; margin: -12px 0 -4px; }
.fya-phones {
    width: min(590px, 88%);
    height: min(45vh, 430px);
    display: block;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 28px 28px rgba(19, 43, 30, .13));
}
.fya-feature-card {
    min-width: 178px;
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    border: 1px solid #dce8df;
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 32px rgba(19, 43, 30, .09);
}
.fya-feature-card > span { width: 34px; height: 34px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--fya-green); background: var(--fya-green-soft); }
.fya-feature-card p, .fya-feature-card strong, .fya-feature-card small { display: block; }
.fya-feature-card p { margin: 0; }
.fya-feature-card strong { color: var(--fya-navy); font-size: 11px; line-height: 1.3; }
.fya-feature-card small { margin-top: 3px; color: var(--fya-muted); font-size: 9px; }
.fya-feature-card-experts { left: 0; top: 25%; }
.fya-feature-card-private { right: 0; bottom: 18%; }
.fya-proof-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fya-proof-row > span {
    min-width: 0;
    min-height: 52px;
    display: grid;
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 8px;
    padding: 9px 10px;
    border: 1px solid #dce8df;
    border-radius: 11px;
    color: var(--fya-muted);
    background: rgba(255, 255, 255, .72);
    font-size: 9px;
    white-space: nowrap;
}
.fya-proof-row svg { grid-row: 1 / 3; align-self: center; width: 22px; height: 22px; color: var(--fya-green); }
.fya-proof-row b { align-self: end; color: var(--fya-navy); font-size: 10px; }

.fya-panel { min-width: 0; display: grid; place-items: center; padding: 48px clamp(32px, 5vw, 78px); background: var(--fya-white); }
.fya-panel-inner { width: min(100%, 470px); }
.fya-form-heading { margin-bottom: 30px; }
.fya-kicker { display: block; margin-bottom: 10px; color: var(--fya-green-dark); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.fya-form-heading h2 { margin: 0; color: var(--fya-navy); font-family: var(--fya-heading); font-size: clamp(32px, 3vw, 42px); font-weight: 800; letter-spacing: -.035em; line-height: 1.14; }
.fya-form-heading p { margin: 10px 0 0; color: var(--fya-muted); font-size: 14px; line-height: 1.6; }
.fya-alert { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 20px; padding: 13px 14px; border: 1px solid; border-radius: 11px; font-size: 12px; line-height: 1.5; }
.fya-alert > svg { flex: 0 0 auto; margin-top: 1px; }
.fya-alert-success { color: #186f3b; border-color: #bfe1ca; background: var(--fya-green-soft); }
.fya-alert-error { color: var(--fya-danger); border-color: #f1c9ce; background: #fff3f4; }
.fya-alert strong { display: block; margin-bottom: 2px; }
.fya-alert ul { margin: 2px 0 0; padding-left: 17px; }

.fya-form { display: grid; gap: 19px; }
.fya-field { display: grid; gap: 8px; }
.fya-field label, .fya-label-row a { font-size: 12px; font-weight: 700; }
.fya-field label { color: var(--fya-navy); }
.fya-label-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fya-label-row a { color: var(--fya-green-dark); text-decoration: none; }
.fya-label-row a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fya-control { min-height: 54px; position: relative; display: flex; align-items: center; border: 1px solid var(--fya-line); border-radius: 11px; background: var(--fya-white); transition: border-color 150ms ease, box-shadow 150ms ease; }
.fya-control:focus-within { border-color: #5eb37a; box-shadow: 0 0 0 4px rgba(38, 155, 80, .11); }
.fya-control.is-invalid { border-color: #dd6a76; }
.fya-control > svg { width: 18px; height: 18px; flex: 0 0 auto; margin-left: 16px; color: #829087; }
.fya-control input { width: 100%; min-width: 0; height: 52px; padding: 0 15px 0 12px; border: 0; outline: 0; color: var(--fya-navy); background: transparent; font-size: 13px; font-weight: 550; }
.fya-control input::placeholder { color: #9aa5b4; opacity: 1; }
.fya-control:has(.fya-password-toggle) input { padding-right: 52px; }
.fya-password-toggle { width: 44px; height: 44px; position: absolute; right: 4px; top: 4px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 9px; color: #536078; background: transparent; cursor: pointer; }
.fya-password-toggle:hover { color: var(--fya-green-dark); background: var(--fya-green-soft); }
.fya-password-toggle .fya-eye-closed, .fya-password-toggle[aria-pressed="true"] .fya-eye-open { display: none; }
.fya-password-toggle[aria-pressed="true"] .fya-eye-closed { display: block; }
.fya-form-options { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.fya-checkbox { display: inline-flex; align-items: center; gap: 9px; color: #5d687d; font-size: 12px; font-weight: 600; cursor: pointer; }
.fya-checkbox input { width: 1px; height: 1px; position: absolute; overflow: hidden; opacity: 0; }
.fya-checkbox > span { width: 18px; height: 18px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid #cfd9d2; border-radius: 5px; color: transparent; background: var(--fya-white); transition: 150ms ease; }
.fya-checkbox > span svg { width: 12px; height: 12px; stroke-width: 2.8; }
.fya-checkbox input:checked + span { color: var(--fya-white); border-color: var(--fya-green); background: var(--fya-green); }
.fya-checkbox input:focus-visible + span { outline: 3px solid rgba(38, 155, 80, .18); outline-offset: 2px; }
.fya-protection { display: inline-flex; align-items: center; gap: 6px; color: var(--fya-muted); font-size: 10px; font-weight: 650; }
.fya-protection svg { width: 15px; height: 15px; color: var(--fya-green); }
.fya-submit { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 11px; padding: 12px 20px; border: 1px solid var(--fya-green); border-radius: 11px; color: var(--fya-white); background: var(--fya-green); box-shadow: 0 13px 28px rgba(38, 155, 80, .20); font-size: 13px; font-weight: 750; cursor: pointer; transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.fya-submit:hover { border-color: var(--fya-green-dark); background: var(--fya-green-dark); box-shadow: 0 16px 30px rgba(24, 133, 66, .24); transform: translateY(-1px); }
.fya-submit:active { transform: translateY(0); }
.fya-submit.is-loading { cursor: wait; opacity: .78; }
.fya-submit.is-loading svg { animation: fya-loading 800ms linear infinite; }
@keyframes fya-loading { to { transform: rotate(360deg); } }
.fya-signup { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 27px; padding-top: 24px; border-top: 1px solid #e8eee9; color: var(--fya-muted); font-size: 12px; }
.fya-signup a { display: inline-flex; align-items: center; gap: 4px; color: var(--fya-green-dark); font-weight: 750; text-decoration: none; }
.fya-signup a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fya-signup svg { width: 13px; height: 13px; }
.fya-footnote { max-width: 410px; display: flex; align-items: flex-start; gap: 7px; margin: 20px auto 0; color: #7f8a9b; font-size: 10.5px; line-height: 1.5; text-align: center; }
.fya-footnote svg { width: 13px; height: 13px; flex: 0 0 auto; margin-top: 1px; color: var(--fya-green); }
.fya-page a:focus-visible, .fya-page button:focus-visible { outline: 3px solid rgba(38, 155, 80, .22); outline-offset: 3px; }

/* Signup companion */
.fya-signup-panel { padding-block: clamp(28px, 4.5vh, 46px); }
.fya-signup-panel .fya-panel-inner { width: min(100%, 500px); }
.fya-signup-panel .fya-form-heading { margin-bottom: 18px; }
.fya-signup-panel .fya-form-heading h2 { font-size: clamp(30px, 2.55vw, 37px); }
.fya-signup-panel .fya-form-heading p { margin-top: 7px; font-size: 12.5px; line-height: 1.5; }
.fya-intended-action {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid #cfe8d6;
    border-radius: 11px;
    color: var(--fya-green-dark);
    background: var(--fya-green-soft);
}
.fya-intended-action > svg { width: 18px; height: 18px; flex: 0 0 auto; }
.fya-intended-action small, .fya-intended-action strong { display: block; }
.fya-intended-action small { margin-bottom: 1px; color: #5e7d68; font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.fya-intended-action strong { color: var(--fya-navy); font-size: 11px; }
.fya-step-header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 8px; }
.fya-step-header > div { display: grid; gap: 2px; }
.fya-step-label { color: var(--fya-green-dark); font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fya-step-header strong { color: var(--fya-navy); font-size: 12px; }
.fya-step-percent { color: var(--fya-green-dark); font-size: 11px; font-weight: 800; }
.fya-progress-track { height: 5px; overflow: hidden; margin-bottom: 16px; border-radius: 999px; background: #e7ede8; }
.fya-progress-fill { height: 100%; display: block; border-radius: inherit; background: var(--fya-green); transition: width 220ms ease; }
.fya-signup-form { gap: 0; }
.fya-signup-step { display: grid; gap: 13px; }
.fya-signup-step[hidden] { display: none !important; }
.fya-signup-panel .fya-field { gap: 6px; }
.fya-signup-panel .fya-control { min-height: 49px; }
.fya-signup-panel .fya-control input { height: 47px; }
.fya-signup-panel .fya-password-toggle { width: 41px; height: 41px; }
.fya-optional { color: #7c8798; font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.fya-password-requirements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; padding: 1px 2px; }
.fya-password-requirements span { display: flex; align-items: center; gap: 5px; color: #818b99; font-size: 9.5px; font-weight: 650; transition: color 150ms ease; }
.fya-password-requirements svg { width: 13px; height: 13px; flex: 0 0 auto; }
.fya-password-requirements span.is-met { color: var(--fya-green-dark); }
.fya-signup-actions { display: grid; grid-template-columns: 112px 1fr; gap: 10px; }
.fya-signup-actions .fya-submit { min-width: 0; }
.fya-secondary-button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 16px; border: 1px solid #d7e0da; border-radius: 11px; color: var(--fya-navy); background: var(--fya-white); font-size: 12px; font-weight: 750; cursor: pointer; transition: border-color 160ms ease, background 160ms ease, color 160ms ease; }
.fya-secondary-button:hover { color: var(--fya-green-dark); border-color: #abd4b8; background: var(--fya-green-soft); }
.fya-secondary-button svg { width: 15px; height: 15px; }
.fya-professional-note { display: flex; align-items: flex-start; gap: 8px; margin: 15px 0 0; padding: 10px 11px; border: 1px solid #e3ebe5; border-radius: 10px; color: #687487; background: #f9fbf9; font-size: 9.5px; line-height: 1.45; }
.fya-professional-note > svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--fya-green); }
.fya-professional-note a { color: var(--fya-green-dark); font-weight: 750; text-decoration: none; }
.fya-professional-note a:hover { text-decoration: underline; text-underline-offset: 2px; }
.fya-signup-panel .fya-signup { margin-top: 14px; padding-top: 14px; }

@media (max-width: 1180px) {
    .fya-main { grid-template-columns: minmax(420px, 1fr) minmax(440px, .95fr); }
    .fya-showcase { padding-inline: 44px; }
    .fya-feature-card { display: none; }
    .fya-phones { width: 100%; }
}

@media (max-width: 900px) {
    .fya-header { min-height: 70px; padding-inline: 22px; }
    .fya-logo { width: 124px; height: 54px; }
    .fya-private-note { display: none; }
    .fya-main { min-height: calc(100vh - 70px); display: block; }
    .fya-showcase { min-height: 196px; display: block; padding: 28px 28px 30px; text-align: center; }
    .fya-showcase-copy { max-width: 560px; margin: 0 auto; }
    .fya-pill { min-height: 30px; padding: 6px 11px; font-size: 10px; }
    .fya-showcase h1 { margin: 14px 0 9px; font-size: clamp(34px, 7.5vw, 48px); }
    .fya-showcase-copy > p { margin-inline: auto; font-size: 12px; line-height: 1.55; }
    .fya-product-stage, .fya-proof-row { display: none; }
    .fya-panel { padding: 36px 22px 42px; }
    .fya-panel-inner { width: min(100%, 520px); }
    .fya-signup-panel { padding-top: 30px; }
}

@media (max-width: 520px) {
    .fya-header { min-height: 64px; padding: 6px 16px; }
    .fya-logo { width: 110px; height: 50px; }
    .fya-back-link { min-height: 36px; padding: 8px 10px; font-size: 0; }
    .fya-back-link::before { content: 'Home'; font-size: 11px; }
    .fya-showcase { min-height: 172px; padding: 22px 17px 24px; }
    .fya-showcase h1 { font-size: 34px; }
    .fya-showcase-copy > p { max-width: 360px; }
    .fya-panel { padding: 29px 17px 36px; }
    .fya-form-heading { margin-bottom: 24px; }
    .fya-form-heading h2 { font-size: 30px; }
    .fya-form-heading p { font-size: 12px; }
    .fya-form { gap: 17px; }
    .fya-form-options { align-items: flex-start; }
    .fya-protection { max-width: none; white-space: nowrap; text-align: right; }
    .fya-signup { align-items: center; flex-direction: column; }
    .fya-signup-panel .fya-form-heading { margin-bottom: 18px; }
    .fya-signup-panel .fya-form-heading h2 { font-size: 29px; }
    .fya-signup-actions { grid-template-columns: 96px 1fr; }
    .fya-password-requirements { gap-inline: 8px; }
}

@media (max-height: 780px) and (min-width: 901px) {
    .fya-showcase, .fya-panel { padding-top: 34px; padding-bottom: 26px; }
    .fya-showcase h1 { margin-block: 14px 10px; font-size: 49px; }
    .fya-product-stage { min-height: 270px; }
    .fya-phones { height: 310px; }
    .fya-form-heading { margin-bottom: 22px; }
    .fya-form { gap: 15px; }
    .fya-signup { margin-top: 21px; padding-top: 19px; }
    .fya-footnote { margin-top: 15px; }
    .fya-signup-panel .fya-form-heading { margin-bottom: 14px; }
    .fya-signup-panel .fya-form-heading h2 { font-size: 30px; }
    .fya-signup-panel .fya-form-heading p { margin-top: 5px; }
    .fya-signup-panel .fya-kicker { margin-bottom: 6px; }
    .fya-signup-step { gap: 10px; }
    .fya-progress-track { margin-bottom: 12px; }
    .fya-signup-panel .fya-signup { margin-top: 11px; padding-top: 11px; }
    .fya-professional-note { margin-top: 11px; padding-block: 8px; }
}

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