/* SERI Join — ad landing page */
:root {
    --sj-orange: #e85102;
    --sj-orange-2: #ff6b35;
    --sj-ink: #0a0a0a;
    --sj-text: #1f2937;
    --sj-muted: #6b7280;
    --sj-line: #e7e5e4;
    --sj-bg: #faf8f6;
    --sj-card: #ffffff;
    --sj-soft: #fff4ed;
    --sj-error: #b42318;
    --sj-radius: 16px;
    --sj-font: 'Inter', 'Noto Sans Ethiopic', system-ui, sans-serif;
    --sj-display: 'Syne', 'Noto Sans Ethiopic', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body.sj-body {
    margin: 0;
    font-family: var(--sj-font);
    color: var(--sj-text);
    background:
        radial-gradient(900px 500px at 100% -10%, rgba(232, 81, 2, .10), transparent 60%),
        radial-gradient(700px 400px at -10% 30%, rgba(232, 81, 2, .05), transparent 60%),
        var(--sj-bg);
    line-height: 1.5;
    min-height: 100vh;
}
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
a { color: inherit; }

/* Top bar */
.sj-top {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1080px; margin: 0 auto; padding: 18px 20px;
}
.sj-logo img { display: block; height: 30px; width: auto; }
.sj-call {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border: 1px solid var(--sj-line); border-radius: 999px;
    background: #fff; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--sj-ink);
}
.sj-call svg { width: 15px; height: 15px; color: var(--sj-orange); }

/* Layout */
.sj-wrap {
    max-width: 1080px; margin: 0 auto; padding: 8px 20px 40px;
    display: grid; gap: 28px;
}
@media (min-width: 960px) {
    .sj-wrap { grid-template-columns: 1fr 520px; align-items: start; gap: 56px; padding-top: 40px; }
    .sj-hero { position: sticky; top: 40px; }
    .sj-foot { grid-column: 1 / -1; }
}

/* Hero */
.sj-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 999px;
    background: var(--sj-soft); color: var(--sj-orange);
    font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.sj-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--sj-orange); animation: sj-pulse 1.8s infinite; }
@keyframes sj-pulse { 0% { box-shadow: 0 0 0 0 rgba(232,81,2,.5); } 70% { box-shadow: 0 0 0 8px rgba(232,81,2,0); } 100% { box-shadow: 0 0 0 0 rgba(232,81,2,0); } }
.sj-hero h1 {
    font-family: var(--sj-display); font-weight: 800; color: var(--sj-ink);
    font-size: clamp(30px, 7vw, 54px); line-height: 1.12; letter-spacing: -.01em;
    margin: 18px 0 14px;
}
.sj-hero h1 em { font-style: normal; color: var(--sj-orange); display: block; }
.sj-lead { font-size: clamp(16px, 2.2vw, 19px); color: #374151; margin: 0 0 20px; max-width: 34em; }
.sj-perks { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.sj-perks li {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--sj-line);
    font-size: 14px; font-weight: 600; color: var(--sj-ink);
}
.sj-perks svg { width: 16px; height: 16px; color: var(--sj-orange); stroke-width: 3; }
.sj-note { font-size: 13px; color: var(--sj-muted); margin: 6px 0 0; }

/* Card */
.sj-card {
    background: var(--sj-card); border: 1px solid var(--sj-line); border-radius: 24px;
    padding: 22px 18px 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 20px 50px -20px rgba(232,81,2,.25);
    scroll-margin-top: 12px;
}
@media (min-width: 480px) { .sj-card { padding: 28px 28px 24px; } }

.sj-progress { margin-bottom: 20px; }
.sj-steps { display: flex; gap: 8px; margin-bottom: 10px; }
.sj-steps span {
    width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    font-size: 12px; font-weight: 700; background: #f3f4f6; color: var(--sj-muted); transition: .25s;
}
.sj-steps span.on { background: var(--sj-orange); color: #fff; }
.sj-steps span.done { background: var(--sj-soft); color: var(--sj-orange); }
.sj-bar { height: 4px; border-radius: 4px; background: #f3f4f6; overflow: hidden; }
.sj-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--sj-orange), var(--sj-orange-2)); border-radius: 4px; transition: width .35s ease; }

.sj-step { display: none; }
.sj-step.is-active { display: block; animation: sj-in .35s ease; }
@keyframes sj-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.sj-q {
    display: block; font-weight: 700; color: var(--sj-ink); font-size: 15px; margin-bottom: 10px; padding: 0;
}
.sj-q span { display: block; font-weight: 500; font-size: 12.5px; color: var(--sj-muted); margin-top: 1px; }

/* Skill tiles */
.sj-skills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sj-skill:first-child { grid-column: 1 / -1; }
.sj-skill input, .sj-chip input { position: absolute; opacity: 0; pointer-events: none; }
.sj-skill span {
    display: flex; flex-direction: column; gap: 4px; height: 100%;
    padding: 14px; border: 1.5px solid var(--sj-line); border-radius: var(--sj-radius);
    cursor: pointer; transition: border-color .2s, background .2s, transform .15s;
}
.sj-skill svg { width: 24px; height: 24px; color: var(--sj-orange); margin-bottom: 6px; }
.sj-skill b { font-size: 14.5px; color: var(--sj-ink); line-height: 1.25; }
.sj-skill small { font-size: 12.5px; color: var(--sj-muted); }
.sj-skill:hover span { border-color: #f6b48f; }
.sj-skill input:checked + span { border-color: var(--sj-orange); background: var(--sj-soft); }
.sj-skill input:focus-visible + span, .sj-chip input:focus-visible + span { outline: 3px solid rgba(232,81,2,.3); outline-offset: 2px; }
.sj-skill:active span, .sj-chip:active span { transform: scale(.98); }

/* Chips */
.sj-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sj-chips--stack { display: grid; }
.sj-chips--two { display: grid; grid-template-columns: 1fr 1fr; }
.sj-chip { position: relative; }
.sj-chip span {
    display: flex; flex-direction: column; justify-content: center; min-height: 48px;
    padding: 10px 14px; border: 1.5px solid var(--sj-line); border-radius: 12px;
    cursor: pointer; transition: border-color .2s, background .2s, transform .15s;
}
.sj-chip b { font-weight: 600; font-size: 14.5px; color: var(--sj-ink); line-height: 1.3; }
.sj-chip small { font-size: 12px; color: var(--sj-muted); }
.sj-chip:hover span { border-color: #f6b48f; }
.sj-chip input:checked + span { border-color: var(--sj-orange); background: var(--sj-soft); }
.sj-chips--stack .sj-chip span { padding-left: 44px; position: relative; }
.sj-chips--stack .sj-chip span::before {
    content: ''; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
    border-radius: 50%; border: 1.5px solid #d1d5db; background: #fff; transition: .2s;
}
.sj-chips--stack .sj-chip input:checked + span::before { border: 5.5px solid var(--sj-orange); }

/* Inputs */
.sj-field { margin-bottom: 16px; }
.sj-field .sj-q { margin-bottom: 8px; }
.sj-row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.sj-field input, .sj-field select {
    width: 100%; height: 50px; padding: 0 14px;
    font: inherit; font-size: 16px; color: var(--sj-ink);
    background: #fafafa; border: 1.5px solid var(--sj-line); border-radius: 12px;
    transition: border-color .2s, box-shadow .2s, background .2s;
    -webkit-appearance: none; appearance: none;
}
.sj-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px;
}
.sj-field input::placeholder { color: #a8a29e; }
.sj-field input:focus, .sj-field select:focus { outline: none; border-color: var(--sj-orange); background: #fff; box-shadow: 0 0 0 4px rgba(232,81,2,.12); }
.sj-invalid input, .sj-invalid select, fieldset.sj-invalid .sj-chip span, fieldset.sj-invalid .sj-skill span { border-color: #f4a7a0; }
.sj-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Nav */
.sj-error {
    margin: 0 0 14px; padding: 12px 14px; border-radius: 12px;
    background: #fef3f2; color: var(--sj-error); font-size: 14px; border: 1px solid #fecdca;
}
.sj-nav { display: flex; gap: 10px; }
.sj-next, .sj-back, .sj-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 54px; padding: 0 22px; border-radius: 14px; border: 0;
    font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none;
    transition: transform .15s, box-shadow .2s, background .2s;
}
.sj-next {
    flex: 1; color: #fff;
    background: linear-gradient(135deg, var(--sj-orange), var(--sj-orange-2));
    box-shadow: 0 10px 24px -10px rgba(232,81,2,.7);
}
.sj-next:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(232,81,2,.8); }
.sj-next:disabled { opacity: .7; cursor: wait; transform: none; }
.sj-back { background: #f3f4f6; color: var(--sj-ink); padding: 0 16px; }
.sj-ghost { background: #fff; color: var(--sj-ink); border: 1.5px solid var(--sj-line); }
.sj-spin { display: none; width: 20px; height: 20px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: sj-rot .8s linear infinite; }
.is-loading .sj-spin { display: block; }
.is-loading span { display: none; }
@keyframes sj-rot { to { transform: rotate(360deg); } }
.sj-privacy { margin: 14px 0 0; font-size: 12px; color: var(--sj-muted); text-align: center; }

/* Done */
.sj-done { text-align: center; padding: 20px 4px 8px; animation: sj-in .4s ease; }
.sj-tick { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: var(--sj-soft); display: grid; place-items: center; }
.sj-tick svg { width: 34px; height: 34px; color: var(--sj-orange); stroke-width: 3; }
.sj-done h2 { font-family: var(--sj-display); font-size: 26px; color: var(--sj-ink); margin: 0 0 10px; }
.sj-done p { margin: 0 0 22px; color: #374151; }
.sj-done small { color: var(--sj-muted); }
.sj-done-links { display: grid; gap: 10px; }

.sj-foot {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px;
    font-size: 13px; color: var(--sj-muted); padding-top: 8px; border-top: 1px solid var(--sj-line);
}
.sj-foot a { text-decoration: none; }
.sj-foot a:hover { color: var(--sj-orange); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
