/* GENERATED by build.php -- edit the source string in build.php, not this file. */
* { box-sizing: border-box; }

body.ef-founding100-landing {
    margin: 0;
    padding: 0;
    background: #0a1f33;
    /* Slides are pure images; killing the inline gap here means each section
       stacks seamlessly. Text areas re-assert their own line-height below. */
    line-height: 0;
}

.ef-slide { position: relative; width: 100%; }
.ef-slide__img { display: block; width: 100%; height: auto; }

/* Invisible tap targets sitting exactly on the buttons painted into the artwork.
   Without these the client's gold "CONFIRM YOUR FOUNDING 100 POSITION" buttons
   are dead pixels -- visitors tap them and nothing happens. */
.ef-hotspot {
    position: absolute;
    display: block;
    z-index: 2;
    background: transparent;
    border-radius: 8px;
    -webkit-tap-highlight-color: rgba(255, 255, 255, .18);
}
.ef-hotspot:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.ef-hotspot--desktop { display: none; }
@media (min-width: 768px) {
    .ef-hotspot--mobile  { display: none; }
    .ef-hotspot--desktop { display: block; }
}

/* Real overlay button, used where the artwork has no painted button of its own. */
.ef-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 28px;
    background: linear-gradient(180deg, #e0b25c 0%, #c8912f 100%);
    color: #0a1f33;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: clamp(14px, 3.2vw, 18px);
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
    cursor: pointer;
}
/* Label and its parenthetical stay inline on a single line. The qualifier is set
   slightly smaller so the whole string still fits a phone without wrapping. */
.ef-cta__label { display: inline; }
.ef-cta__sub {
    display: inline;
    margin-left: .35em;
    font-size: .8em;
    font-weight: 600;
    letter-spacing: .01em;
    opacity: .82;
}
.ef-cta--overlay {
    position: absolute;
    left: 50%;
    bottom: 6%;
    transform: translateX(-50%);
    width: min(90%, 420px);
    z-index: 2;
}
.ef-cta--overlay:active { transform: translateX(-50%) scale(.98); }

/* Button placed under the artwork rather than over it, for slides whose design
   leaves no empty space to sit on. */
.ef-cta-band {
    background: #0a1f33;
    padding: 18px 12px 22px;
    text-align: center;
    line-height: 1.5;
}
/* Sized to its text and never wrapped, so "(In Development)" cannot be orphaned
   onto a second line. The font scales down on narrow screens so the full string
   still fits rather than overflowing. */
.ef-cta--below {
    width: auto;
    max-width: 96%;
    white-space: nowrap;
    padding: 14px 20px;
    font-size: clamp(11.5px, 3.15vw, 17px);
}

/* Persistent CTA. The desktop artwork's painted buttons could not be located
   reliably enough to place tap targets on them, so this guarantees a visitor can
   always act, at any scroll position, on any breakpoint. */
.ef-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(10, 31, 51, .92);
    backdrop-filter: blur(8px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .45);
    text-align: center;
    transform: translateY(0);
    transition: transform .25s ease, opacity .25s ease;
}
.ef-sticky-cta[hidden] {
    display: block;          /* animate out rather than snap away */
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
}
.ef-sticky-cta .ef-cta { width: min(100%, 460px); }

/* ---- text areas: restore normal typography inside the image stack ---- */
.ef-form-slot,
.ef-payment-slot {
    position: relative;
    z-index: 1;
    background: #0a1f33;
    padding: 32px 16px 40px;
    line-height: 1.5;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.ef-placeholder { color: #7fd6c0; }

/* ---- verification form: mirrors the card/step/icon language of the artwork ---- */
.ef-verify-form-wrap { max-width: 900px; margin: 0 auto; }
.ef-verify-form { display: flex; flex-direction: column; gap: 18px; }

.ef-visually-hidden {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.ef-icon { width: 20px; height: 20px; flex: 0 0 20px; }

/* Offer summary: shows the full membership price alongside the reservation, so
   the value is clear and the deposit reads as a step toward it, not a discount. */
.ef-offer {
    border: 1px solid #d9a441;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(217,164,65,.10) 0%, rgba(217,164,65,.04) 100%);
    padding: 18px 20px;
    margin: 0 0 18px;
}
.ef-offer__row {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px;
    padding: 8px 0;
}
.ef-offer__row + .ef-offer__row { border-top: 1px solid rgba(217,164,65,.28); }
.ef-offer__label { color: #cbd9e5; font-size: 14.5px; }
.ef-offer__value { color: #f4e9d8; font-size: 19px; font-weight: 700; white-space: nowrap; }
.ef-offer__value em { font-style: normal; font-size: 12.5px; font-weight: 500; color: #90a6ba; }
.ef-offer__row--primary .ef-offer__label { color: #fff; font-weight: 600; }
.ef-offer__row--primary .ef-offer__value { color: #e8b64c; font-size: 30px; letter-spacing: -.01em; }
.ef-offer__note {
    display: flex; align-items: flex-start; gap: 10px;
    margin: 12px 0 0; padding-top: 12px;
    border-top: 1px solid rgba(217,164,65,.28);
    color: #b9cbdb; font-size: 13px; line-height: 1.5;
}
.ef-offer__note .ef-icon { color: #52c6b2; flex: 0 0 20px; margin-top: 1px; }
.ef-offer__note strong { color: #f4e9d8; }

.ef-form-assurance {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin: 0 0 22px; padding: 12px 18px;
    border: 1px solid #2f6f70; border-radius: 10px;
    background: rgba(27, 90, 92, .18);
    color: #cfe9e4; font-size: 15px; text-align: left;
}
.ef-form-assurance .ef-icon { color: #4fc3b0; }
.ef-form-assurance strong { color: #e8b64c; }

/* Step card */
.ef-fs {
    border: 1px solid #24425f; border-radius: 12px;
    background: rgba(12, 38, 61, .75); overflow: hidden;
}
.ef-fs__head {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    margin: 0; padding: 16px 18px;
    border-bottom: 1px solid #1d3a55;
    font-size: 15px; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; color: #fff;
}
.ef-step {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%;
    background: #146f6a; color: #fff; font-size: 15px; font-weight: 700;
}
.ef-fs__hint {
    margin-left: auto; color: #52c6b2;
    font-size: 12.5px; font-weight: 600; letter-spacing: .02em; text-transform: none;
}
.ef-fs__body { padding: 18px; }
.ef-fields { display: flex; flex-direction: column; gap: 12px; }

/* Icon-prefixed field, cream input like the artwork */
.ef-field { position: relative; display: flex; align-items: stretch; }
.ef-field__icon {
    display: flex; align-items: center; justify-content: center;
    width: 48px; flex: 0 0 48px;
    border: 1px solid #2c5170; border-right: 0;
    border-radius: 8px 0 0 8px;
    background: rgba(20, 111, 106, .16); color: #4fc3b0;
}
.ef-field input,
.ef-field select {
    flex: 1 1 auto; min-width: 0; min-height: 52px;
    padding: 12px 30px 12px 14px;
    border: 1px solid #2c5170; border-radius: 0 8px 8px 0;
    background: #f2efe6; color: #10283f;
    font-family: inherit;
    font-size: 16px;              /* 16px keeps iOS from zooming on focus */
    line-height: 1.4;
    appearance: none;
}
.ef-field select { cursor: pointer; }

/* The landing template runs wp_head(), so the active theme's stylesheet loads too
   and its input rules outrank ours on specificity -- which left the text fields
   dark while the select rendered correctly. This block restates the field styling
   at high specificity so the form looks the same under any theme. */
body.ef-founding100-landing .ef-verify-form .ef-field > input,
body.ef-founding100-landing .ef-verify-form .ef-field > select {
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 12px 30px 12px 14px !important;
    border: 1px solid #2c5170 !important;
    border-left: 0 !important;
    border-radius: 0 8px 8px 0 !important;
    background: #f2efe6 !important;
    background-image: none !important;
    color: #10283f !important;
    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    box-shadow: none !important;
    -webkit-text-fill-color: #10283f;   /* Safari/iOS ignores `color` on some inputs */
}
body.ef-founding100-landing .ef-verify-form .ef-field > input::placeholder {
    color: #6b7f92 !important;
    opacity: 1 !important;              /* Firefox dims placeholders by default */
    -webkit-text-fill-color: #6b7f92;
}
body.ef-founding100-landing .ef-verify-form .ef-field > input:focus,
body.ef-founding100-landing .ef-verify-form .ef-field > select:focus {
    background: #fff !important;
    color: #10283f !important;
    outline: 2px solid #d9a441 !important;
    outline-offset: 1px !important;
}
/* Chrome paints autofilled fields blue and overrides background entirely. */
body.ef-founding100-landing .ef-verify-form .ef-field > input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 100px #f2efe6 inset !important;
    -webkit-text-fill-color: #10283f !important;
}
.ef-field--select::after {
    content: ""; position: absolute; right: 14px; top: 50%;
    width: 9px; height: 9px; margin-top: -6px;
    border-right: 2px solid #10283f; border-bottom: 2px solid #10283f;
    transform: rotate(45deg); pointer-events: none;
}
.ef-field input:focus,
.ef-field select:focus {
    outline: 2px solid #d9a441; outline-offset: 1px;
    background: #fff;
}
.ef-req {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    color: #c8703a; font-size: 15px; pointer-events: none;
}
.ef-field--select .ef-req { right: 30px; }

/* Side panels (categories legend / security note) */
.ef-fs__body--split { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) {
    .ef-fs__body--split { grid-template-columns: 1.55fr 1fr; align-items: start; }
}
.ef-legend, .ef-note {
    border: 1px solid #24425f; border-radius: 10px;
    background: rgba(8, 28, 46, .7); padding: 14px 16px;
}
.ef-legend h4 {
    margin: 0 0 10px; color: #52c6b2;
    font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.ef-legend ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ef-legend li { display: flex; align-items: flex-start; gap: 10px; color: #b9cbdb; font-size: 13px; }
.ef-legend li .ef-icon { color: #e8b64c; margin-top: 2px; }
.ef-legend li span { display: flex; flex-direction: column; line-height: 1.35; }
.ef-legend li strong { color: #f4e9d8; font-weight: 600; }
.ef-note { display: flex; gap: 10px; align-items: flex-start; }
.ef-note .ef-icon { color: #4fc3b0; margin-top: 2px; }
.ef-note p { margin: 0; color: #b9cbdb; font-size: 13px; line-height: 1.5; }
.ef-note strong { color: #f4e9d8; display: block; margin-bottom: 4px; }

.ef-field-checkbox {
    display: flex; align-items: flex-start; gap: 12px;
    color: #cbd9e5; font-size: 13.5px; line-height: 1.5;
}
.ef-field-checkbox input {
    margin: 2px 0 0; flex: 0 0 22px; width: 22px; height: 22px;  /* comfortable tap target */
    accent-color: #146f6a;
}
.ef-field-checkbox a { color: #e8b64c; }

.ef-cta--submit {
    width: 100%; gap: 12px; margin-top: 16px;
    letter-spacing: .06em;
}
.ef-cta--submit .ef-icon { width: 22px; height: 22px; flex: 0 0 22px; }

.ef-form-foot {
    display: flex; align-items: flex-start; gap: 10px;
    margin: 14px 0 0; color: #90a6ba; font-size: 12.5px; line-height: 1.5;
}
.ef-form-foot .ef-icon { color: #4fc3b0; margin-top: 1px; }

.ef-field-hp { position: absolute; left: -9999px; top: -9999px; }

.ef-form-error {
    color: #ffc9c9;
    background: rgba(200, 40, 40, .15);
    border: 1px solid #d98080;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px;
}
.ef-cta--submit { width: 100%; margin-top: 6px; }

/* ---- payment result ---- */
.ef-result {
    max-width: 620px;
    margin: 0 auto;
    padding: 34px 26px 30px;
    border: 1px solid #24425f;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(14, 44, 70, .92) 0%, rgba(9, 30, 49, .92) 100%);
    text-align: center;
    color: #cbd9e5;
}
.ef-result h2 { color: #fff; margin: 0 0 12px; font-size: clamp(22px, 5vw, 30px); line-height: 1.2; }
.ef-result p { margin: 0 0 12px; line-height: 1.6; }
.ef-result .ef-cta { margin-top: 18px; }
.ef-result--intro { padding: 26px; }

.ef-result__icon {
    width: 68px; height: 68px; margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, #1c8f7f 0%, #0f5f57 100%);
    border: 2px solid #e8b64c;
    color: #fff;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .4);
}
.ef-result__icon svg { width: 34px; height: 34px; }
.ef-result__icon--muted {
    background: rgba(255, 255, 255, .06);
    border-color: #3a5674;
    color: #9fb3c6;
}
.ef-result__eyebrow {
    margin: 0 0 6px !important;
    color: #52c6b2;
    font-size: 12.5px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
}
.ef-result__lead { color: #e4edf4; font-size: 16px; }
.ef-result__lead strong { color: #fff; }
.ef-result__foot { margin: 22px 0 0 !important; font-size: 13px; color: #90a6ba; }

.ef-receipt {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
    margin: 22px 0 4px; padding: 0;
}
.ef-receipt > div {
    flex: 1 1 190px; max-width: 260px;
    padding: 12px 14px;
    border: 1px solid #24425f; border-radius: 10px;
    background: rgba(8, 28, 46, .6);
}
.ef-receipt dt {
    margin: 0 0 4px; color: #7f97ad;
    font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.ef-receipt dd { margin: 0; color: #f4e9d8; font-size: 17px; font-weight: 700; }
.ef-receipt__ref {
    font-size: 11.5px !important; font-weight: 500 !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    word-break: break-all; color: #b9cbdb !important;
}

.ef-next { margin-top: 26px; text-align: left; }
.ef-next h3 {
    margin: 0 0 14px; color: #52c6b2; text-align: center;
    font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.ef-next ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ef-next li {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 14px 16px;
    border: 1px solid #1d3a55; border-radius: 10px;
    background: rgba(8, 28, 46, .55);
}
.ef-next li > span {
    flex: 0 0 28px; width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: #146f6a; color: #fff;
    font-size: 14px; font-weight: 700;
}
.ef-next li > div { font-size: 13.5px; line-height: 1.5; color: #b9cbdb; }
.ef-next li strong { display: block; margin-bottom: 3px; color: #f4e9d8; font-size: 14.5px; }

/* Once payment is confirmed, remove every route back into the form. Without this
   a founder sees an empty form above their own receipt and can pay twice. */
body.ef-founding100-paid .ef-slide--verify-form,
body.ef-founding100-paid .ef-hotspot,
body.ef-founding100-paid .ef-cta--overlay,
body.ef-founding100-paid .ef-sticky-cta { display: none !important; }

.ef-footer {
    background: #071827;
    color: #9fb3c6;
    padding: 28px 16px calc(96px + env(safe-area-inset-bottom));  /* clears sticky bar */
    text-align: center;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 13px;
    line-height: 1.6;
}
.ef-footer a { color: #d9a441; margin: 0 10px; text-decoration: none; }
.ef-footer a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
    .ef-sticky-cta { transition: none; }
    html { scroll-behavior: auto; }
}