@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/fonts/inter-400.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/fonts/inter-600.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url("/fonts/inter-800.ttf") format("truetype"); }
:root { color-scheme: dark; --bg: #05060c; --surface: #101119; --raised: #171925; --fg: #f4f6fc; --muted: #a5abbc; --line: #ffffff24; --cyan: #71eafa; --violet: #9766ff; --bad: #ff8a8a; --ok: #9bea4d; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 Inter, system-ui, sans-serif; }
main { max-width: 46rem; margin: auto; padding: 2rem 1rem 4rem; }
main.wide { max-width: 80rem; }
a { color: var(--cyan); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
header.top img { height: 2rem; width: auto; }
h1 { font-size: clamp(2rem, 7vw, 3rem); line-height: 1.1; letter-spacing: -.02em; margin: .25rem 0 1rem; }
h2 { font-size: 1.3rem; margin: 2.25rem 0 .75rem; }
.eyebrow { color: var(--cyan); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.tagline { color: var(--muted); font-weight: 600; }
.lead { font-size: 1.15rem; color: #d9dcea; }
.facts { padding-left: 1.2rem; color: #d9dcea; } .facts li { margin: .35rem 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: .75rem; padding: 1.25rem; margin: 1rem 0; }
fieldset { border: 1px solid var(--line); border-radius: .75rem; padding: 1rem 1.25rem 1.25rem; margin: 1.25rem 0; background: var(--surface); }
legend { font-weight: 600; padding: 0 .4rem; }
label { display: block; font-weight: 600; margin: .9rem 0 .3rem; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
input[type=text], input[type=email], input[type=number], input[type=url], select, textarea { width: 100%; padding: .65rem .75rem; border-radius: .5rem; border: 1px solid #ffffff3a; background: var(--raised); color: var(--fg); font: inherit; }
textarea { min-height: 6rem; resize: vertical; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: .4rem .75rem; margin-top: .4rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; margin: .35rem 0; }
.check input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; flex: none; accent-color: var(--cyan); }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0 1rem; }
.module { border-top: 1px dashed var(--line); padding-top: .5rem; margin-top: .75rem; }
button, .button { display: inline-flex; align-items: center; gap: .4rem; padding: .7rem 1.2rem; border-radius: 999px; border: 0; font: 600 1rem Inter, system-ui, sans-serif; cursor: pointer; background: linear-gradient(90deg, var(--cyan), var(--violet)); color: #05060c; text-decoration: none; }
button.secondary { background: transparent; color: var(--fg); border: 1px solid #ffffff55; }
button.small { padding: .35rem .8rem; font-size: .85rem; }
button:disabled { opacity: .5; cursor: progress; }
.error { color: var(--bad); font-size: .9rem; margin: .25rem 0 0; }
.ok { color: var(--ok); }
.status { padding: 1rem 1.25rem; border-left: 4px solid var(--cyan); background: var(--raised); border-radius: .4rem; }
.status.bad { border-color: var(--bad); }
.consent { border-color: #9766ff66; }
.agreement { white-space: pre-wrap; max-height: 22rem; overflow: auto; background: var(--raised); padding: 1rem; border-radius: .5rem; font-size: .92rem; }
[hidden] { display: none !important; }
footer { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1rem; font-size: .9rem; color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; position: sticky; top: 0; background: var(--bg); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: .75rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: .6rem; padding: .75rem 1rem; }
.stat b { display: block; font-size: 1.6rem; }
.stat span { color: var(--muted); font-size: .85rem; }
.stat.alert { border-color: var(--bad); }
.toolbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: end; margin: 1rem 0; }
.toolbar label { margin: 0; font-size: .85rem; }
.toolbar select, .toolbar input { width: auto; padding: .4rem .5rem; }
.scroll { overflow-x: auto; }
pre.mail { white-space: pre-wrap; background: var(--raised); padding: .75rem; border-radius: .5rem; font-size: .85rem; }
dialog { background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: .75rem; max-width: 52rem; width: calc(100% - 2rem); }
dialog::backdrop { background: #000a; }
@media (max-width: 600px) { header.top { flex-direction: column; align-items: flex-start; } }

/* TriggerMap beta recruitment branding */
body.recruitment { background: radial-gradient(ellipse at 85% 0%, #24224e 0, transparent 42rem), #060810; }
.recruitment main { max-width: 58rem; }
.recruitment header.top { padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.brand-hero { position: relative; padding: 1rem 0 2rem; }
.product-mark { display: block; width: min(100%, 30rem); height: auto; margin: 0 auto 1.5rem; border-radius: 1rem; }
.recruitment h1 { font-size: clamp(2.3rem, 7vw, 4rem); max-width: 42rem; letter-spacing: -.045em; }
.recruitment .tagline { color: var(--cyan); font-size: 1.15rem; }
.session-meta { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.5rem; }
.session-meta span { border: 1px solid #71eafa40; border-radius: 2rem; padding: .35rem .8rem; font-size: .8rem; color: #d5f7ff; background: #71eafa08; }
.recruitment fieldset { padding: 1.4rem 1.6rem 1.7rem; margin: 1.8rem 0; border-radius: 1rem; background: linear-gradient(135deg, #141824, #0d101a); box-shadow: 0 12px 35px #0002; }
.recruitment legend { color: #c7bbff; font-size: 1.15rem; }
.recruitment #submit { min-height: 3.3rem; padding-inline: 2rem; }
.recruitment #done { border: 1px solid #71eafa70; border-radius: 1.5rem; padding: clamp(1.5rem, 5vw, 3rem); background: radial-gradient(ellipse at top right, #34305c, #101624 70%); }
.recruitment #done h2 { font-size: clamp(1.8rem, 5vw, 2.8rem); line-height: 1.15; margin: .7rem 0 1.5rem; letter-spacing: -.03em; }
.confirmation-mark { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border: 1px solid var(--cyan); border-radius: 50%; color: var(--cyan); font-size: 1.8rem; }
.next-step { border-top: 1px solid var(--line); padding-top: 1.3rem; margin-top: 1.5rem; color: #ced6e6; }
@media(max-width:600px) { .recruitment fieldset { padding: 1rem; } .product-mark { margin-bottom: 1rem; } }

/* Guided applicant journey: retain the approved marks and existing fields. */
.recruitment .brand-hero { padding: 0 0 1rem; }
.recruitment .brand-hero .product-mark { width: 13rem; margin: 0 0 1rem; }
.recruitment .brand-hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); max-width: none; }
.requirements-summary { padding: .85rem 1.1rem; }
.requirements-summary summary { cursor: pointer; color: var(--cyan); font-weight: 600; }
.journey-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; list-style: none; padding: 0; margin: 2rem 0 1.5rem; counter-reset: steps; }
.journey-steps li { counter-increment: steps; color: var(--muted); padding: .7rem .25rem; border-bottom: 2px solid var(--line); font-size: .9rem; }
.journey-steps li::before { content: counter(steps) '. '; }
.journey-steps [aria-current=step] { color: var(--cyan); border-color: var(--cyan); font-weight: 600; }
#stepTitle { margin: .4rem 0 1rem; font-size: clamp(1.5rem, 4vw, 2rem); scroll-margin-top: 1.5rem; }
.recruitment .journey-panel fieldset { margin: 1.2rem 0; }
.product-choices .check { align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: .7rem; min-height: 4rem; }
.product-choices .check:has(input:checked) { border-color: var(--cyan); background: #71eafa12; }
.journey-actions { display: flex; justify-content: space-between; gap: 1rem; margin: 1.5rem 0 1rem; }
.journey-actions button { min-height: 3.3rem; }
#stepNext { margin-left: auto; min-width: 10rem; }
[aria-invalid=true] { border-color: var(--bad); outline: 2px solid var(--bad); outline-offset: 2px; }
.review-list { display:grid; grid-template-columns: 9rem 1fr; gap: .65rem 1rem; }
.review-list dt { color: var(--muted); }.review-list dd { margin: 0; overflow-wrap: anywhere; }
#done { scroll-margin-top: 2rem; } #done .next-step { padding-left: 1.5rem; } #done .next-step li { margin: .9rem 0; }
@media(max-width:600px) { .journey-steps { gap: .3rem; } .journey-steps li { font-size: .8rem; } .review-list { grid-template-columns: 1fr; gap: .2rem; } .review-list dd { margin-bottom: .7rem; } .product-choices { grid-template-columns: 1fr; } }

/* Preserve the complete approved marks, including their clear space and ratio. */
.recruitment header.top img { width: 11rem; height: auto; max-width: 42vw; object-fit: contain; }
.recruitment header.top a img { width: 8rem; }
.verification main { padding-top: 1.2rem; }
.verification #verifyNext { border: 1px solid #9766ff80; padding: clamp(1.5rem, 5vw, 2.5rem); border-radius: 1.25rem; background: radial-gradient(ellipse at 100% 0, #34305c, #101624 75%); }
.verification #verifyNext h2 { margin-top: 0; font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.2; }
.verification h1 { color: #fff; text-shadow: 0 0 40px #9766ff55; }
.verification .button { margin: .5rem 0; }
