/* /careers, /careers/city-launcher and /creators (docs/CITY_LAUNCHERS_AND_CREATORS_PLAN.md).
   Rides on partners-media/kit.css (tokens, header, buttons, type). Light first;
   every colour here is a token, so the dark theme follows without a twin rule. */

/* The forms are grids, which would otherwise outrank the hidden attribute. */
[hidden]{display:none !important}

.hero{padding:64px 0 40px}
.hero h1{max-width:14ch}
.hero .acts{margin-top:32px}
.hero .lead{margin:22px 0 0}
.crumb{display:inline-block;margin:0 0 22px;font-weight:600;font-size:15px;color:var(--white);text-underline-offset:3px}

section.band{padding:40px 0 56px}
section.band > h2{margin-bottom:22px}
section.band > h2 + .lead{margin:-8px 0 26px}

/* Open roles: rows, not cards, so the next role is one more line. */
.roles{list-style:none;margin:0;padding:0;border-top:1px solid var(--line2)}
.roles a{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr auto;gap:8px 20px;align-items:center;padding:24px 4px;border-bottom:1px solid var(--line2);color:var(--white);text-decoration:none;transition:background-color .2s}
.roles a:hover{background:var(--wb-primary-soft)}
.roles b{font:600 22px/1.2 var(--sans);letter-spacing:-.01em}
.roles span{color:var(--muted)}
.roles .go{font-weight:600;color:var(--wb-primary);white-space:nowrap}

/* A strip of plain facts: the label small and mono, the value in ink. */
.facts{display:grid;grid-template-columns:repeat(4,1fr);margin:0;border:1px solid var(--line);border-radius:var(--wb-r-card);background:var(--surface);overflow:hidden}
.facts div{padding:20px 22px;border-inline-start:1px solid var(--line)}
.facts div:first-child{border-inline-start:0}
.facts dt{font:500 12px/1.3 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.facts dd{margin:0;font-weight:600;font-size:17px;line-height:1.35}

/* Two columns: words on one side, the proof (a table, a page, a form) on the other. */
.split{display:grid;grid-template-columns:1fr 1.05fr;gap:48px;align-items:start}
.split p{margin:0 0 14px;color:var(--muted);max-width:56ch}
.split h2{margin-bottom:18px}

.pay{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--line);border-radius:var(--wb-r-card);overflow:hidden;border-spacing:0}
.pay caption{text-align:start;font-weight:600;padding:0 0 12px}
.pay th,.pay td{padding:16px 18px;text-align:start;border-top:1px solid var(--line);vertical-align:top}
.pay thead th{border-top:0;font:500 12px/1.3 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.pay td:last-child,.pay th:last-child{text-align:end;white-space:nowrap}
.pay td:last-child{font-weight:700;font-size:18px;color:var(--wb-primary)}
.pay td small{display:block;font-size:14px;font-weight:400;color:var(--muted)}
.pay-wrap{border:1px solid var(--line);border-radius:var(--wb-r-card);overflow:hidden;background:var(--surface)}
.pay-wrap .pay{border:0;border-radius:0}

/* What you do: a numbered run, the number in mono. */
.run{list-style:none;margin:0;padding:0;counter-reset:run;border-top:1px solid var(--line2)}
.run li{counter-increment:run;display:grid;grid-template-columns:44px 1fr;gap:4px 12px;padding:18px 4px;border-bottom:1px solid var(--line2)}
.run li::before{content:counter(run,decimal-leading-zero);font:500 13px/1.9 var(--mono);color:var(--wb-primary)}
.run b{display:block;font-size:18px;line-height:1.35}
.run span{grid-column:2;color:var(--muted)}

.ticks{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.ticks li{display:flex;gap:12px;align-items:flex-start}
.ticks li::before{content:"";flex:none;width:22px;height:22px;margin-top:2px;border-radius:50%;background:var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
:root[data-theme="dark"] .ticks li::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2306121C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.ticks b{display:block}
.ticks span{color:var(--muted)}

/* The form card. */
.join{padding:40px;margin:16px 0 72px;scroll-margin-top:88px}
.join h2{font-size:clamp(34px,3.6vw,52px);margin-bottom:18px}
form{display:grid;gap:14px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
label,.chips legend{display:block;font-size:14px;font-weight:600;margin:0 0 6px 4px;padding:0}
.f{width:100%;font:400 16px/1.3 var(--sans);color:var(--white);background:var(--bg2);border:1px solid var(--line2);border-radius:14px;padding:13px 14px}
.f:focus{outline:2px solid var(--azure);outline-offset:0;border-color:var(--azure)}
.f::placeholder{color:#6B7F92}
:root[data-theme="dark"] .f::placeholder{color:#8DA7BC}
textarea.f{resize:vertical;min-height:96px}
select.f{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2326394B' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:18px;padding-right:40px}
select.f option{color:var(--wb-ink);background:var(--wb-surface)}
:root[data-theme="dark"] select.f{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23C5D7E6' stroke-width='2'/%3E%3C/svg%3E")}
.chips{display:flex;flex-wrap:wrap;gap:8px;border:0;margin:0;padding:0;min-width:0}
.chips legend{width:100%}
.chip{position:relative;margin:0;padding:0;cursor:pointer}
.chip input{position:absolute;inset:0;opacity:0;cursor:pointer}
.chip span{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border:1px solid var(--line2);border-radius:999px;background:var(--bg2);font:600 14px/1.2 var(--sans);color:var(--white);transition:background-color .15s,border-color .15s,color .15s}
.chip input:checked + span{background:var(--wb-primary);border-color:var(--wb-primary);color:var(--wb-on-primary)}
.chip input:focus-visible + span{outline:2px solid var(--wb-primary);outline-offset:2px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.err{color:var(--bad);font-weight:600;margin:0}
.err:empty{display:none}
.send{background:var(--wb-primary);color:var(--wb-on-primary);justify-self:start;font-weight:600;min-height:var(--wb-h-btn)}
.send:hover{background:var(--wb-primary-hover);color:var(--wb-on-primary)}
.send[disabled]{opacity:.6;cursor:progress}
.legal{font-size:14px;margin:0;color:var(--muted)}
.legal a{color:var(--white)}
.done h3{font-size:clamp(30px,3vw,40px);margin-bottom:12px}
.done h3:focus{outline:none}
.done p{margin:0 0 18px;color:var(--muted);max-width:52ch}

/* The example bio link on /creators: what a creator's own page holds. */
.bio{max-width:400px;margin-inline:auto;border:1px solid var(--line);border-radius:22px;background:var(--surface);overflow:hidden}
.bio-url{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line);background:var(--bg2);font:500 12px/1.2 var(--mono);color:var(--muted)}
.bio-url .tag{background:var(--surface);color:var(--white);border:1px solid var(--line)}
.bio-who{display:flex;align-items:center;gap:14px;padding:20px 18px 14px}
.bio-av{flex:none;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--wb-primary);color:var(--wb-on-primary);font:700 18px/1 var(--sans)}
.bio-who b{display:block;font-size:18px;line-height:1.25}
.bio-who span{color:var(--muted);font-size:14px}
/* After the rule above, which would otherwise grey the initials on the blue disc. */
.bio-who .bio-av{color:var(--wb-on-primary);font-size:18px}
.bio-trip{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;margin:0 18px;padding:16px 0;border-top:1px solid var(--line)}
.bio-trip b{font-size:16px;line-height:1.3}
.bio-trip span{grid-column:1;color:var(--muted);font-size:14px}
.bio-trip em{grid-row:1 / span 2;grid-column:2;font-style:normal;font:600 13px/1 var(--sans);padding:10px 14px;border-radius:var(--wb-r-btn);background:var(--wb-primary);color:var(--wb-on-primary);white-space:nowrap}
.bio-seats{display:block;color:var(--teal) !important;font-weight:600}
.bio-foot{padding:14px 18px 18px;border-top:1px solid var(--line);margin-top:2px;font-size:14px;color:var(--muted)}

.ways{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:var(--wb-r-card);background:var(--surface);overflow:hidden}
.ways > div{padding:32px}
.ways > div + div{border-inline-start:1px solid var(--line)}
.ways h3{font-size:clamp(22px,2vw,26px);margin-bottom:12px}
.ways p{margin:0 0 12px;color:var(--muted)}
.ways p:last-child{margin-bottom:0}
.ways .k{font:500 12px/1.3 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--wb-primary);margin:0 0 14px}

.faq{padding:0 0 80px;max-width:820px}
.faq h2{margin-bottom:22px}
.faq details{border-top:1px solid var(--line2);padding:18px 4px}
.faq details:last-child{border-bottom:1px solid var(--line2)}
.faq summary{cursor:pointer;font-weight:600;font-size:18px;list-style:none;display:flex;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:22px;line-height:1}
.faq details[open] summary::after{content:"\2212"}
.faq p{margin:12px 0 0;max-width:68ch;color:var(--muted)}

@media (max-width:900px){
  .split{grid-template-columns:1fr;gap:32px}
  .facts{grid-template-columns:1fr 1fr}
  .facts div:nth-child(odd){border-inline-start:0}
  .facts div:nth-child(n+3){border-top:1px solid var(--line)}
  .roles a{grid-template-columns:1fr 1fr}
  .roles b{grid-column:1 / -1}
  .roles .go{grid-column:1 / -1}
  .ways{grid-template-columns:1fr}
  .ways > div + div{border-inline-start:0;border-top:1px solid var(--line)}
  .join{padding:24px}
}
@media (max-width:540px){
  .grid2{grid-template-columns:1fr}
  .hero{padding:40px 0 28px}
  .facts{grid-template-columns:1fr}
  .facts div{border-inline-start:0}
  .facts div + div{border-top:1px solid var(--line)}
  .pay th,.pay td{padding:14px 12px}
  .ways > div{padding:24px}
}
