/* The public pre-launch page (/waitlist), from the myAHP landing page design. Loaded on every page of Www (module
   stylesheet), so every rule is scoped under .wl (WaitlistLayout). */
.wl {
    --wl-navy: #06132B;
    --wl-dark-blue: #002868;
    --wl-blue: #0062FF;
    --wl-blue-hover: #0050d6;
    --wl-cyan: #00C8FF;
    --wl-light-bg: #F4F7FA;
    --wl-slate: #475569;
    --wl-muted: #64748b;
    --wl-border: #e2e8f0;
    --wl-shadow-card: 0 10px 30px -10px rgba(6, 19, 43, 0.08);
    --wl-shadow-hover: 0 20px 40px -15px rgba(0, 98, 255, 0.2);
    --wl-glow: 0 0 25px -5px rgba(0, 200, 255, 0.4);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--wl-light-bg);
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}
.wl main { flex: 1; }
.wl a { text-decoration: none; }
.wl h1, .wl h2, .wl h3, .wl p { margin: 0; }
.wl-container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.wl-narrow { max-width: 48rem; }
.wl-center { text-align: center; }
.wl-navy { color: var(--wl-navy); }
.wl-blue { color: var(--wl-blue); }
.wl-muted { color: var(--wl-muted); font-size: .9rem; }
.wl-small { font-size: .78rem; }
.wl-gradient { background: linear-gradient(135deg, #0062FF 0%, #00C8FF 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Announcement bar and header */
.wl-announce {
    background: linear-gradient(135deg, #06132B 0%, #002868 50%, #0062FF 100%); color: #fff; font-size: .85rem; font-weight: 500;
    padding: .5rem 1rem; display: flex; align-items: center; justify-content: center; gap: .5rem; flex-wrap: wrap; text-align: center;
}
.wl-pill {
    display: inline-flex; align-items: center; gap: .4rem; background: rgba(0, 200, 255, .2); color: var(--wl-cyan);
    font-size: .72rem; font-weight: 600; padding: .15rem .6rem; border-radius: 999px; border: 1px solid rgba(0, 200, 255, .3);
}
.wl-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--wl-cyan); animation: wl-pulse 1.6s ease-in-out infinite; }
@keyframes wl-pulse { 50% { opacity: .35; } }
.wl-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(226, 232, 240, .8); }
.wl-header-row { height: 5rem; display: flex; align-items: center; justify-content: space-between; }
.wl-logo { display: flex; align-items: center; gap: .75rem; color: inherit; }
.wl-logo-mark {
    position: relative; width: 2.75rem; height: 2.75rem; border-radius: .75rem; background: linear-gradient(135deg, var(--wl-blue), var(--wl-cyan));
    color: #fff; display: grid; place-items: center; font-size: 1.5rem; box-shadow: 0 4px 10px rgba(0, 98, 255, .25); transition: box-shadow .3s;
}
.wl-logo:hover .wl-logo-mark { box-shadow: var(--wl-glow); }
.wl-logo-badge {
    position: absolute; right: -.25rem; bottom: -.25rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--wl-navy);
    border: 2px solid #fff; display: grid; place-items: center; font-size: .45rem; color: var(--wl-cyan);
}
.wl-logo-name { display: block; font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.wl-logo-name sup { font-size: .6rem; color: #94a3b8; font-weight: 600; margin-left: .1rem; }
.wl-logo-sub { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--wl-muted); }
.wl-logo-sub em { color: var(--wl-blue); font-weight: 500; }
.wl-sep { color: #cbd5e1; }

/* Buttons */
.wl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--wl-blue); color: #fff !important;
    border: 0; border-radius: .75rem; font-weight: 600; cursor: pointer; transition: background .2s, box-shadow .3s, transform .2s;
    box-shadow: 0 4px 10px rgba(0, 98, 255, .2);
}
.wl-btn:hover { background: var(--wl-blue-hover); box-shadow: var(--wl-glow); }
.wl-btn-sm { font-size: .875rem; padding: .6rem 1.1rem; }
.wl-btn-sm:hover { transform: translateY(-2px); }
.wl-btn-lg { width: 100%; font-size: 1rem; font-weight: 700; padding: 1rem 1.5rem; }
.wl-btn-lg .bi { transition: transform .2s; }
.wl-btn-lg:hover .bi { transform: translateX(4px); }

/* Hero */
.wl-hero {
    padding: 3rem 0 4rem;
    background: radial-gradient(circle at 50% 30%, rgba(0, 200, 255, .15) 0%, rgba(0, 98, 255, .05) 50%, rgba(255, 255, 255, 0) 70%);
}
.wl-tag {
    display: inline-flex; align-items: center; gap: .5rem; padding: .35rem 1rem; border-radius: 999px; background: #eff6ff;
    border: 1px solid #bfdbfe; color: var(--wl-blue); font-size: .85rem; font-weight: 600; margin-bottom: 1.5rem;
}
.wl-tag .bi { color: var(--wl-cyan); }
.wl-h1 { font-size: clamp(1.9rem, 5vw, 3.75rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.12; color: var(--wl-navy); max-width: 56rem; margin: 0 auto 1.5rem !important; }
.wl-lead { font-size: 1.1rem; color: var(--wl-slate); max-width: 42rem; margin: 0 auto 2.5rem !important; line-height: 1.65; }
.wl-counter {
    display: inline-flex; align-items: center; gap: .75rem; background: #fff; padding: .6rem 1.25rem; border-radius: 1rem;
    box-shadow: var(--wl-shadow-card); border: 1px solid #f1f5f9; margin-bottom: 3rem; font-size: .8rem; color: var(--wl-muted);
}
.wl-counter strong { color: var(--wl-navy); }
.wl-counter-icons { display: inline-flex; }
.wl-counter-icons .bi {
    width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; border: 2px solid #fff; margin-left: -.5rem;
    background: linear-gradient(135deg, var(--wl-blue), var(--wl-cyan)); color: #fff; font-size: .8rem;
}
.wl-counter-icons .bi:first-child { margin-left: 0; }
.wl-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; margin-bottom: 1rem !important; }
.wl-roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 56rem; margin: 0 auto; }
@media (min-width: 640px) { .wl-roles { grid-template-columns: repeat(4, 1fr); } }
.wl-role {
    background: #fff; padding: 1.25rem; border-radius: 1rem; border: 2px solid rgba(226, 232, 240, .8); box-shadow: var(--wl-shadow-card);
    display: flex; flex-direction: column; align-items: center; gap: .75rem; color: var(--wl-navy); transition: all .3s;
}
.wl-role:hover, .wl-role.is-selected { border-color: var(--wl-blue); box-shadow: var(--wl-shadow-hover); }
.wl-role.is-selected { background: rgba(239, 246, 255, .6); outline: 2px solid var(--wl-blue); }
.wl-role-icon { width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: #eff6ff; color: var(--wl-blue); display: grid; place-items: center; font-size: 1.5rem; transition: all .3s; }
.wl-role:hover .wl-role-icon, .wl-role.is-selected .wl-role-icon { background: var(--wl-blue); color: #fff; }
.wl-role-name { font-weight: 700; font-size: .95rem; }
.wl-role:hover .wl-role-name { color: var(--wl-blue); }

/* Form card */
.wl-form-section { padding: 3rem 0; background: #fff; scroll-margin-top: 5rem; }
.wl-card { position: relative; overflow: hidden; background: #fff; border-radius: 1.5rem; padding: 1.5rem; border: 1px solid #e2e8f0; box-shadow: 0 25px 50px -12px rgba(6, 19, 43, .18); }
@media (min-width: 640px) { .wl-card { padding: 2.5rem; } }
.wl-card-accent { position: absolute; top: 0; left: 0; right: 0; height: .5rem; background: linear-gradient(90deg, var(--wl-blue), var(--wl-cyan), var(--wl-blue)); }
.wl-h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 800; color: var(--wl-navy); margin-bottom: .5rem !important; }
.wl-form { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.wl-form fieldset { border: 0; padding: 0; margin: 0; }
.wl-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.wl-grid-tight { gap: .6rem; }
@media (min-width: 640px) { .wl-grid { grid-template-columns: 1fr 1fr; } }
.wl-label { display: block; font-size: .75rem; font-weight: 700; color: #334155; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5rem; }
.wl-req { color: #ef4444; }
.wl-optional { color: #94a3b8; font-weight: 400; text-transform: none; letter-spacing: 0; }
.wl-field { position: relative; }
.wl-field > .bi { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; }
.wl-input {
    width: 100%; padding: .75rem 1rem .75rem 2.5rem; background: #f8fafc; border: 1px solid var(--wl-border); border-radius: .75rem;
    font-size: .9rem; font-weight: 500; color: #1e293b; transition: all .2s; font-family: inherit;
}
.wl-input:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--wl-blue); }
.wl-select { appearance: none; cursor: pointer; background-image: none; }
.wl-input.invalid { border-color: #ef4444; }
.wl-invalid { color: #dc2626; font-size: .78rem; margin-top: .3rem; }
.wl-check-option {
    display: flex; align-items: center; gap: .75rem; padding: .75rem; background: #f8fafc; border: 1px solid rgba(226, 232, 240, .8);
    border-radius: .75rem; cursor: pointer; font-size: .8rem; font-weight: 500; color: #334155; transition: background .2s;
}
.wl-check-option:hover { background: rgba(239, 246, 255, .6); }
.wl-check-option input { width: 1rem; height: 1rem; accent-color: var(--wl-blue); }
.wl-alert { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: .75rem; padding: .75rem 1rem; margin-top: 1.5rem; font-size: .9rem; }
.wl-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* After joining */
.wl-check { width: 4rem; height: 4rem; border-radius: 50%; background: #d1fae5; color: #059669; display: grid; place-items: center; font-size: 2rem; margin: 0 auto 1rem; animation: wl-bounce 1s ease 2; }
@keyframes wl-bounce { 50% { transform: translateY(-25%); } }
.wl-position {
    position: relative; overflow: hidden; background: linear-gradient(135deg, var(--wl-navy), var(--wl-dark-blue)); color: #fff;
    padding: 1.5rem; border-radius: 1rem; margin: 1.5rem 0 2rem; box-shadow: 0 20px 25px -5px rgba(6, 19, 43, .3);
}
.wl-position-bg { position: absolute; top: .5rem; right: 1rem; font-size: 6rem; opacity: .1; }
.wl-position-label { font-size: .75rem; font-weight: 600; color: var(--wl-cyan); text-transform: uppercase; letter-spacing: .08em; }
.wl-position-number { font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 900; margin: .25rem 0 .5rem; }
.wl-position-hint { font-size: .8rem; color: #cbd5e1; }
.wl-share-box { background: #f8fafc; padding: 1.25rem; border-radius: 1rem; border: 1px solid rgba(226, 232, 240, .8); margin-bottom: 1.5rem; text-align: left; }
.wl-copy-row { display: flex; gap: .5rem; }
.wl-copy-row .wl-input { padding-left: .75rem; background: #fff; }
.wl-mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .8rem; }
.wl-social { display: flex; justify-content: center; gap: .75rem; margin-top: .75rem; }
.wl-social-btn { width: 2.5rem; height: 2.5rem; border-radius: .75rem; color: #fff !important; display: grid; place-items: center; transition: opacity .2s; }
.wl-social-btn:hover { opacity: .9; }

/* Features */
.wl-features { padding: 4rem 0 6rem; background: var(--wl-light-bg); border-top: 1px solid rgba(226, 232, 240, .6); }
.wl-features-head { max-width: 48rem; margin: 0 auto 4rem; }
.wl-features-head .wl-eyebrow { margin-bottom: .5rem !important; }
.wl-feature-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .wl-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wl-feature-grid { grid-template-columns: repeat(4, 1fr); } }
.wl-feature { background: #fff; padding: 1.5rem; border-radius: 1rem; border: 1px solid rgba(226, 232, 240, .7); box-shadow: var(--wl-shadow-card); transition: box-shadow .3s; }
.wl-feature:hover { box-shadow: var(--wl-shadow-hover); }
.wl-feature-icon { width: 3rem; height: 3rem; border-radius: .75rem; background: #eff6ff; color: var(--wl-blue); display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 1rem; }
.wl-feature h3 { font-size: 1.1rem; font-weight: 700; color: var(--wl-navy); margin-bottom: .5rem; }
.wl-feature p { color: var(--wl-slate); font-size: .9rem; line-height: 1.6; }

/* Footer */
.wl-footer { background: var(--wl-navy); color: #94a3b8; padding: 3rem 0; border-top: 1px solid #1e293b; }
.wl-footer-row { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 640px) { .wl-footer-row { flex-direction: row; } }
.wl-footer-brand { display: flex; align-items: center; gap: .75rem; }
.wl-footer-mark { width: 2rem; height: 2rem; border-radius: .5rem; background: var(--wl-blue); color: #fff; display: grid; place-items: center; }
.wl-footer-name { color: #fff; font-weight: 700; font-size: .9rem; }
.wl-footer-name span { color: #94a3b8; font-weight: 400; }
.wl-footer-copy { font-size: .75rem; color: #64748b; }
.wl-footer-link { color: #94a3b8; font-size: .8rem; font-weight: 500; }
.wl-footer-link:hover { color: var(--wl-cyan); }

@media (max-width: 639px) { .wl-hide-xs { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .wl * { animation: none !important; transition: none !important; } }
