/* Early Access Black Friday 2026 landing (/early-access). Builds on the
 * site's tokens (--blue, --orange, Inter, pill buttons) and reuses the
 * campaign cards (.campaign-box) of /blackfriday. Dark hero with the
 * invitation card (eligible members) or the lead form (everyone else) as the
 * single bold element; everything below keeps the site's white / light-grey
 * rhythm. Loaded by views/front/earlyaccess.view.php. */

:root {
    --ea-ink: #0d1333;        /* Black Friday navy, between the pre-header #020918 and the brand blue */
    --ea-ink-2: #1a2250;
    --ea-accent: #f6931d;     /* the campaign accent already used on search rows and badges */
    --ea-surface: #f7f9fa;    /* --gri-bg */
    --ea-text: #1f2937;
    --ea-muted: #64748b;
    --ea-line: #e8ecf1;
    --ea-ok: #15803d;
}

.ea-section { width: 100%; float: left; clear: both; display: block; }

/* ---- hero ---- */
.ea-hero {
    position: relative; color: #fff; padding: 56px 0 64px; overflow: hidden;
    background: var(--ea-ink) url(../images/earlyaccess/hero-bw.jpg) center 35% / cover no-repeat;
}
.ea-hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(13, 19, 51, .97) 0%, rgba(13, 19, 51, .9) 48%, rgba(13, 19, 51, .58) 100%);
}
.ea-hero > .container { position: relative; z-index: 1; }
.ea-hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.ea-hero-copy { flex: 1 1 440px; min-width: 0; max-width: 620px; }
.ea-hero-card { flex: 0 1 400px; min-width: 0; width: 100%; }
.ea-pill {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
    padding: 7px 14px 7px 11px; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
    font-size: 13px; font-weight: 600; color: #fff;
}
.ea-pill i { color: var(--ea-accent); }
.ea-hero h1 {
    font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; font-weight: 800;
    letter-spacing: -.6px; color: #fff; margin: 0 0 16px; text-wrap: balance;
}
.ea-hero-copy p { font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .8); margin: 0 0 14px; max-width: 560px; }
.ea-hero-copy p:last-of-type { margin-bottom: 26px; }
.ea-hero-copy .ea-lead-in { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ea-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* buttons: same pill geometry as .blue-btn / .orange-btn, no float */
.ea-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 48px; padding: 0 28px; border-radius: 24px; box-sizing: border-box;
    font-size: 15px; font-weight: 600; text-decoration: none !important;
    border: 1px solid transparent; cursor: pointer; white-space: nowrap; font-family: inherit;
    transition: background .2s, color .2s, box-shadow .2s;
}
.ea-btn-accent { background: var(--ea-accent); border-color: var(--ea-accent); color: #fff !important; box-shadow: 0 10px 24px -10px rgba(246, 147, 29, .7); }
.ea-btn-accent:hover { background: #fff; color: var(--ea-accent) !important; }
.ea-btn-blue { background: var(--blue); border-color: var(--blue); color: #fff !important; }
.ea-btn-blue:hover { background: #fff; color: var(--blue) !important; }
.ea-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.ea-btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.ea-btn-block { width: 100%; }
.ea-btn[disabled] { opacity: .6; cursor: progress; box-shadow: none; }
.ea-btn:focus-visible { outline: 3px solid rgba(246, 147, 29, .55); outline-offset: 2px; }

/* invitation card */
.ea-invite { background: #fff; border-radius: 18px; box-shadow: 0 28px 60px -26px rgba(0, 0, 0, .7); color: var(--ea-text); }
.ea-invite > :first-child { border-radius: 18px 18px 0 0; }
.ea-invite > :last-child { border-radius: 0 0 18px 18px; }
.ea-invite > :only-child { border-radius: 18px; }
.ea-invite-head { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px solid var(--ea-line); }
.ea-invite-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.ea-invite-head > span { min-width: 0; }
.ea-invite-head strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--ea-text); }
.ea-invite-head small { display: block; font-size: 12.5px; color: var(--ea-muted); margin-top: 2px; line-height: 1.4; }

.ea-timeline { list-style: none; margin: 0; padding: 20px 22px 4px; }
.ea-timeline li { position: relative; padding: 0 0 18px 30px; }
.ea-timeline li::before {
    content: ""; position: absolute; left: 6px; top: 5px; width: 12px; height: 12px;
    border-radius: 50%; background: #cbd5e1; box-shadow: 0 0 0 3px #fff;
}
.ea-timeline li::after { content: ""; position: absolute; left: 11px; top: 19px; bottom: -1px; width: 2px; background: var(--ea-line); }
.ea-timeline li:last-child::after { display: none; }
.ea-timeline li.is-now::before { background: var(--ea-ok); box-shadow: 0 0 0 3px #dcfce7; }
.ea-timeline strong { display: block; font-size: 14.5px; font-weight: 700; color: var(--ea-text); line-height: 1.3; }
.ea-timeline li.is-now strong { color: var(--ea-ok); }
.ea-timeline span { display: block; font-size: 12.5px; color: var(--ea-muted); margin-top: 2px; line-height: 1.45; }

.ea-note {
    display: flex; gap: 12px; align-items: flex-start; margin: 0 22px 22px; padding: 14px 16px;
    border-radius: 12px; background: #fff7ea; border: 1px solid #f3cfa0;
}
.ea-note > i { color: #b45309; font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.ea-note > span { font-size: 12.5px; color: #9a6b2f; line-height: 1.5; min-width: 0; }
.ea-note strong { display: block; font-size: 13px; font-weight: 700; color: #b45309; margin-bottom: 2px; }

/* lead form (lives in the hero card) */
.ea-lead { float: none; width: 100%; margin: 0; padding: 22px 22px 20px; box-sizing: border-box; }
.ea-lead-title { display: block; font-size: 19px; font-weight: 800; color: var(--ea-text); line-height: 1.25; letter-spacing: -.2px; margin: 0 0 16px; text-wrap: balance; }
.ea-lead-sub { font-size: 13.5px; color: var(--ea-muted); line-height: 1.5; margin: 0 0 16px; }
.ea-lead label { float: none; width: 100%; margin: 0; text-transform: none; letter-spacing: normal; font-weight: 400; line-height: 1.4; }
/* `.ea-lead label` above resets the site's global label rules; these two win on specificity */
.ea-lead label.ea-lead-field, .ea-lead div.ea-lead-field { display: block; margin: 0 0 10px; }
/* caption only (direct child): intl-tel-input's own spans live deeper in the field */
.ea-lead-field > span, .ea-lead .ea-lead-field > label { display: block; font-size: 12px; font-weight: 600; color: #475569; margin: 0 0 5px; line-height: 1.4; }
.ea-lead input[type=text], .ea-lead input[type=email], .ea-lead input[type=tel] {
    width: 100%; height: 46px; margin: 0; border: 1px solid #d7dce5; border-radius: 10px; padding: 0 14px;
    font-size: 14px; font-family: inherit; color: var(--ea-text); background: #fff; box-sizing: border-box; outline: 0;
    transition: border-color .15s, box-shadow .15s;
}
.ea-lead input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43, 57, 145, .15); }
/* intl-tel-input: country picker inside the field, number typed without the dial code */
.ea-lead .iti { width: 100%; display: block; }
.ea-lead .iti__flag-container { padding: 0; }
.ea-lead .iti__selected-flag { padding: 0 8px 0 12px; border-radius: 10px 0 0 10px; background: transparent; }
.ea-lead .iti--separate-dial-code .iti__selected-dial-code { font-size: 14px; color: var(--ea-text); margin-left: 6px; }
.ea-lead .iti--separate-dial-code input.ea-tel { min-width: 0; }
.ea-lead .iti--separate-dial-code.iti--allow-dropdown input.ea-tel { padding-left: 104px !important; }  /* the library's inline value is measured before the web font lands and comes out short */
.ea-lead .iti--separate-dial-code .iti__selected-flag { min-width: 92px; }
.ea-lead .iti__country-list { z-index: 60; border-radius: 10px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35); list-style: none; margin: 4px 0 0; padding: 0; text-align: left; }
.ea-lead .iti__country { float: none; display: flex; align-items: center; gap: 8px; padding: 7px 12px; font-size: 14px; line-height: 1.3; }
.ea-lead .iti__country span { display: inline; margin: 0; font-weight: 400; color: var(--ea-text); font-size: 14px; }
.ea-lead .iti__country .iti__dial-code { color: var(--ea-muted); }
.ea-lead .iti__country.iti__highlight { background: #f6f8fe; }
.ea-lead .iti__divider { padding: 0; margin: 4px 0; border-bottom: 1px solid var(--ea-line); }
.ea-lead input::placeholder { color: #a0aab8; }
.ea-lead label.ea-lead-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--ea-muted); line-height: 1.5; margin: 14px 0 22px; cursor: pointer; }
.ea-lead-consent span { min-width: 0; }
.ea-lead-consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
/* style.css hides native checkboxes (1px, opacity 0) and expects input+label:before;
   the wrapper + element specificity below wins (same trick as rollover.css). */
.ea-lead input.ea-cb {
    width: 18px !important; min-width: 18px; height: 18px !important; margin: 2px 0 0 !important; padding: 0 !important;
    opacity: 1 !important; appearance: none; -webkit-appearance: none; border: 2px solid #94a3b8; border-radius: 5px;
    background: #fff; cursor: pointer; flex-shrink: 0; transition: border-color .15s, background .15s;
}
.ea-lead input.ea-cb:hover { border-color: var(--blue); }
.ea-lead input.ea-cb:checked {
    background: var(--blue); border-color: var(--blue);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 14px; background-position: center; background-repeat: no-repeat;
}
.ea-lead input.ea-cb:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(43, 57, 145, .25); }
.ea-lead .ea-btn { height: 50px; font-size: 15px; }
.ea-lead-error { margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 13px; line-height: 1.45; }
.ea-lead-error[hidden] { display: none; }
.ea-lead [hidden] { display: none !important; }
.ea-otp-intro { font-size: 13.5px; color: var(--ea-muted); line-height: 1.5; margin: 0 0 14px; }
.ea-otp-intro strong { color: var(--ea-text); }
.ea-lead input.ea-otp-input { font-size: 24px; font-weight: 700; letter-spacing: 8px; text-align: center; height: 56px; }
.ea-otp-links { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0 18px; font-size: 12.5px; }
.ea-otp-links button { background: none; border: 0; padding: 0; margin: 0; font: inherit; font-size: 12.5px; color: var(--blue); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ea-otp-links button[disabled] { color: var(--ea-muted); text-decoration: none; cursor: default; }
.ea-invite-body { padding: 26px 24px 22px; text-align: center; }
.ea-invite-icon {
    width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 14px;
    background: rgba(43, 57, 145, .08); color: var(--blue);
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.ea-invite-icon.is-ok { background: #dcfce7; color: var(--ea-ok); }
.ea-invite-title { display: block; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ea-text); margin: 0 0 8px; text-wrap: balance; }
.ea-invite-body p { font-size: 14px; line-height: 1.55; color: var(--ea-muted); margin: 0; }
.ea-invite-foot { padding: 16px 24px 20px; background: var(--ea-surface); border-top: 1px solid var(--ea-line); }
.ea-invite-foot span { display: block; font-size: 12.5px; color: var(--ea-muted); line-height: 1.5; }
.ea-lead-foot { text-align: center; }
.ea-lead-foot a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ---- section heads ---- */
.ea-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin: 0 0 28px; }
.ea-sec-head > div { min-width: 0; flex: 1 1 420px; }
.ea-sec-head h2 { font-size: 28px; font-weight: 800; color: var(--blue); letter-spacing: -.4px; margin: 0 0 6px; line-height: 1.2; }
.ea-sec-head p { font-size: 15px; color: var(--ea-muted); margin: 0; max-width: 100%; line-height: 1.55; }
.ea-sec-note { font-size: 13px; font-weight: 500; color: var(--ea-text); display: inline-flex; align-items: center; gap: 8px; background: var(--ea-surface); border-radius: 999px; padding: 9px 15px; white-space: nowrap; }
.ea-sec-note i { color: var(--ea-accent); }

/* ---- routes (site campaign cards, adjusted for a white background) ---- */
.ea-routes { background: #fff; padding: 56px 0 28px; }
.ea-routes .row > [class*="col-"] { display: flex; }                 /* equal card heights in a row */
.ea-routes .campaign-box { box-shadow: 0 14px 34px -18px rgba(43, 57, 145, .35); border: 1px solid #eef0f4; display: flex; flex-direction: column; width: 100%; }
.ea-routes .campaign-box .campaign-box-img { flex-shrink: 0; }
.ea-routes .campaign-box-content { padding: 14px 0 10px; flex: 1 1 auto; }
.ea-routes .campaign-box-content h3 { font-size: 17px; margin-bottom: 4px; }
.ea-routes .campaign-box-content ul { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 6px 0 2px; margin: 0; }
.ea-routes .campaign-box-content ul li { float: none; font-size: 12.5px; color: #4a5568; line-height: 1.4; margin: 0; display: inline-flex; align-items: center; gap: 5px; }
.ea-routes .campaign-box-content ul li i { color: var(--blue); font-size: 11px; }
.ea-routes .campaign-rez-btn a { font-weight: 600; font-size: 14px; padding: 12px 0; transition: background .2s; }
.ea-routes .campaign-rez-btn a:hover { background: var(--ea-accent); color: #fff; }
.ea-routes .campaign-rez-btn a.is-disabled { background: #e5e7eb; color: #6b7280; cursor: default; pointer-events: none; }
.ea-price { text-align: right; }
.ea-price strong { display: block; font-size: 26px; font-weight: 800; color: var(--blue); line-height: 1.1; }
.ea-price strong em { font-style: normal; font-size: 14px; font-weight: 700; margin-left: 3px; }
.ea-price small { display: block; font-size: 11px; color: var(--ea-muted); line-height: 1.3; margin-top: 2px; }
.campaign-box.is-full .campaign-box-img { filter: grayscale(1); opacity: .75; }
.campaign-box.is-full .campaign-box-content { opacity: .6; }
.ea-full-flag {
    position: absolute; bottom: 15px; right: 15px; background: #1f2937; color: #fff;
    font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: 20px;
}
.ea-routes-foot { font-size: 13px; color: var(--ea-muted); margin: 4px 0 0; line-height: 1.55; }
.ea-group-title { font-size: 17px; font-weight: 700; color: var(--ea-text); margin: 6px 0 16px; clear: both; }
.row + .ea-group-title { margin-top: 10px; }
.ea-empty { text-align: center; padding: 36px 20px; border: 1px dashed #d7dce5; border-radius: 16px; margin-bottom: 24px; }
.ea-empty i { font-size: 26px; color: var(--blue); opacity: .6; }
.ea-empty strong { display: block; font-size: 17px; color: var(--ea-text); margin: 12px 0 6px; }
.ea-empty p { font-size: 14px; color: var(--ea-muted); margin: 0; }

/* locked preview (lead page) */
.ea-locked-grid { position: relative; min-height: 320px; }
.ea-locked-grid > .row {
    filter: blur(5px); pointer-events: none; user-select: none;
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
}
.ea-lock-card {
    position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
    background: #fff; border-radius: 16px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .45);
    border: 1px solid var(--ea-line); padding: 28px 32px 30px; text-align: center;
    max-width: 480px; width: calc(100% - 32px); box-sizing: border-box;
}
.ea-lock-card strong { display: block; font-size: 19px; font-weight: 700; color: var(--ea-text); line-height: 1.3; margin: 0 0 8px; text-wrap: balance; }
.ea-lock-card p { font-size: 14px; line-height: 1.55; color: var(--ea-muted); margin: 0 0 18px; }

/* ---- perks ---- */
.ea-perks { background: var(--ea-surface); padding: 56px 0; }
.ea-perk-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px;
    padding: 8px; background: #fff; border-radius: 16px; list-style: none; margin: 0;
    box-shadow: 0 18px 45px -26px rgba(43, 57, 145, .4);
}
.ea-perk { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 12px; min-width: 0; }
.ea-perk > i { width: 44px; height: 44px; border-radius: 12px; background: rgba(43, 57, 145, .08); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.ea-perk > span { min-width: 0; }
.ea-perk strong { display: block; font-size: 14.5px; color: #0f172a; line-height: 1.35; }
.ea-perk small { display: block; font-size: 12.5px; color: var(--ea-muted); line-height: 1.5; margin-top: 4px; }

/* ---- how it works (a real 3-step sequence) ---- */
.ea-how { background: #fff; padding: 56px 0; }
.ea-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
.ea-step { position: relative; min-width: 0; }
.ea-step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; margin: 0 0 14px; position: relative; z-index: 1; }
.ea-step::before { content: ""; position: absolute; top: 17px; left: 46px; right: -32px; height: 2px; background: var(--ea-line); }
.ea-step:last-child::before { display: none; }
.ea-step strong { display: block; font-size: 16px; font-weight: 700; color: var(--ea-text); margin: 0 0 6px; line-height: 1.35; }
.ea-step p { font-size: 14px; color: var(--ea-muted); line-height: 1.6; margin: 0; }

/* ---- faq ---- */
.ea-faq { background: var(--ea-surface); padding: 56px 0 64px; }
.ea-faq-card { background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 18px 45px -26px rgba(43, 57, 145, .4); }
.ea-faq-card h2 { font-size: 22px; font-weight: 800; color: var(--blue); margin: 0 0 18px; }
.ea-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; align-items: start; }
.ea-faq-item { border: 1px solid var(--ea-line); border-radius: 12px; overflow: hidden; background: #fff; min-width: 0; }
.ea-faq-item summary { list-style: none; cursor: pointer; padding: 15px 44px 15px 16px; position: relative; font-weight: 600; font-size: 15px; color: #0f172a; line-height: 1.4; }
.ea-faq-item summary::-webkit-details-marker { display: none; }
.ea-faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; line-height: 1; color: var(--blue); }
.ea-faq-item[open] summary::after { content: "\2212"; }
.ea-faq-item[open] summary { color: var(--blue); }
.ea-faq-item summary:hover { background: #f6f8fe; }
.ea-faq-a { padding: 0 16px 16px; }
.ea-faq-a p { margin: 0; font-size: 14px; line-height: 1.6; color: #475569; }
.ea-faq-foot { margin: 18px 0 0; font-size: 13px; color: var(--ea-muted); }
.ea-faq-foot a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ---- responsive ---- */
@media (max-width: 991px) {
    .ea-perk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ea-hero { padding: 40px 0 48px; }
    .ea-hero-grid { gap: 32px; }
    .ea-hero-card { flex-basis: 100%; }
    .ea-step::before { display: none; }
    .ea-steps { grid-template-columns: 1fr; gap: 22px; }
    .ea-sec-head h2 { font-size: 24px; }
}
@media (max-width: 860px) {
    .ea-faq-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .ea-perk-grid { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .ea-hero { padding: 32px 0 40px; }
    .ea-hero-copy p { font-size: 15px; }
    .ea-cta-row .ea-btn { flex: 1 1 auto; }
    .ea-cta-secondary { display: none; }            /* phones: the lead form follows the copy directly */
    .ea-hero-copy p:last-of-type { margin-bottom: 0; }
    .ea-lock-card { padding: 22px 18px 24px; top: 50%; }
    .ea-locked-grid { min-height: 0; }
    .ea-locked-grid .col-md-6:nth-child(n+2) { display: none; }
    .ea-sec-note { white-space: normal; }
    .ea-faq-card { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .ea-btn, .ea-routes .campaign-rez-btn a { transition: none; }
}
