:root {
  color-scheme: light;
  --purple: #5944df;
  --purple-dark: #4432bd;
  --ink: #25262e;
  --muted: #9599a6;
  --surface: #f5f5fa;
  --orange: #e9915d;
  --font: "Avenir Next", "Trebuchet MS", sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; }
body.is-splash { overflow: hidden; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a { touch-action: manipulation; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 3px solid #edaf53; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* The entry screen deliberately has exactly one interactive element. */
.welcome {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: max(28px, env(safe-area-inset-top)) 20px max(28px, env(safe-area-inset-bottom));
  color: white;
  background:
    radial-gradient(ellipse 56% 62% at 50% 103%, #ff8147 0%, #cb686e 32%, #985d88 57%, transparent 100%),
    radial-gradient(ellipse 85% 67% at 52% 0%, #7c69f3 0%, #6251e4 49%, transparent 100%),
    linear-gradient(165deg, #5545e0 8%, #4335bb 72%, #5140b5 100%);
}
.welcome-content { width: 100%; max-width: 580px; text-align: center; animation: welcome-in 650ms ease-out both; }
.welcome-icon {
  display: grid;
  place-items: center;
  width: clamp(78px, 20vw, 112px);
  height: clamp(78px, 20vw, 112px);
  margin: 0 auto 20px;
  border: 1px solid #ffffff58;
  border-radius: 32%;
  background: #ffffff20;
  box-shadow: 0 20px 36px #29207535, inset 0 0 0 1px #ffffff0a;
  font-size: clamp(39px, 10vw, 56px);
}
.availability { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #ffffff48; background: #ffffff24; border-radius: 999px; font-weight: 700; }
.welcome-availability { max-width: 100%; min-height: 30px; padding: 6px 12px; font-size: clamp(10px, 2.9vw, 17px); }
.status-dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #56e89a; box-shadow: 0 0 0 5px #5bf1a526; }
.welcome h1 { margin-top: 15px; font-size: clamp(24px, 6.9vw, 41px); line-height: 1.2; font-weight: 700; letter-spacing: -.55px; }
.welcome h1 > span { display: block; margin-top: 3px; color: #ffdb94; font-size: clamp(22px, 6.95vw, 41px); white-space: nowrap; }
.welcome-description { margin-top: 13px; font-size: clamp(11px, 3.35vw, 19px); line-height: 1.5; color: #f1e8fa; }
.welcome-description strong { font-weight: 700; }
.enter-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: calc(100% - 30px);
  min-height: clamp(58px, 15vw, 86px);
  margin: 25px auto 0;
  border-radius: clamp(17px, 4.6vw, 26px);
  background: linear-gradient(112deg, #ffe496 0%, #ffc45c 45%, #ffa617 100%);
  color: #803800;
  box-shadow: 0 0 0 10px #ffc2a433, 0 15px 47px #ff9a4870;
  font-size: clamp(18px, 4.8vw, 28px);
  font-weight: 700;
  letter-spacing: .3px;
  transition: transform 180ms, box-shadow 180ms;
}
.enter-button:hover { transform: translateY(-2px); box-shadow: 0 0 0 10px #ffc2a440, 0 18px 48px #ff9a4880; }
.enter-button:active { transform: translateY(1px); }
.enter-button > span { font-size: 1.1em; }
.welcome-benefits { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; color: #f8e5e9; font-size: clamp(10px, 2.8vw, 16px); }
.welcome-hint { margin-top: 18px; color: #eed9eb; font-size: clamp(11px, 3vw, 17px); text-decoration: underline; text-underline-offset: 2px; }

.jobs-page { min-height: 100vh; padding-bottom: calc(76px + env(safe-area-inset-bottom)); animation: page-in 400ms ease-out both; }
.site-header { background: #ffffffef; border-bottom: 1px solid #efedf8; }
.header-content { max-width: 760px; height: 48px; margin: auto; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; letter-spacing: -.3px; }
.brand-mark { display: grid; place-items: center; height: 23px; width: 23px; color: #fff; border-radius: 7px; background: linear-gradient(140deg, #8c70f2, #5c43dd); box-shadow: 0 2px 6px #6245d94a; font-size: 15px; }
.header-apply { background: #f0edff; color: #6252bd; border-radius: 99px; padding: 7px 13px; font-size: 11px; line-height: 1.1; font-weight: 700; }
.jobs-hero { position: relative; overflow: hidden; padding: 22px 18px 66px; color: #fff; border-radius: 0 0 25px 25px; background: radial-gradient(ellipse at 0% 100%, #f18c54 0%, transparent 44%), radial-gradient(ellipse at 90% 0%, #8d75fb 0%, transparent 62%), linear-gradient(145deg, #6047e8, #352591); }
.hero-inner { max-width: 724px; margin: 0 auto; }
.hero-availability { padding: 5px 10px; gap: 7px; font-size: clamp(8px, 2.45vw, 12px); line-height: 1.3; }
.hero-availability .status-dot { height: 5px; width: 5px; box-shadow: 0 0 0 3px #5bf1a51f; }
.jobs-hero h1 { margin-top: 12px; font-size: clamp(23px, 6.55vw, 36px); line-height: 1.2; font-weight: 700; letter-spacing: -.5px; }
.jobs-hero h1:focus { outline: none; }
.jobs-hero .hero-inner > p:not(.availability) { margin-top: 9px; color: #e7ddf1; font-size: 12px; line-height: 1.55; }
.hero-actions { display: flex; gap: 7px; margin-top: 15px; }
.hero-apply { flex: 1; border: 1px solid #fff; border-radius: 12px; background: #fff; color: #6756c6; min-height: 41px; font-size: 14px; font-weight: 700; box-shadow: 0 0 0 4px #ffffff18; }
.hero-browse { display: grid; place-items: center; min-width: 65px; border: 1px solid #ffffff45; border-radius: 11px; background: #ffffff16; font-size: 12px; font-weight: 700; }
.page-content { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; margin-top: -44px; padding: 16px 0; min-height: 73px; border-radius: 17px; background: #fff; box-shadow: 0 14px 28px #30243c12; }
.stats > div { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.stats > div + div { border-left: 1px solid #f2f1f6; }
.stats strong { font-size: 19px; line-height: 1.25; font-weight: 700; }
.stats small { padding-left: 2px; color: #8c8e98; font-size: 10px; font-weight: 500; }
.stats span { font-size: 10px; color: var(--muted); }
.section { margin-top: 23px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 13px; }
.section-heading h2 { font-size: 17px; line-height: 1.3; font-weight: 700; letter-spacing: -.25px; }
.section-heading p { margin-top: 4px; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.show-all { flex: 0 0 auto; padding: 4px 0 3px 8px; background: none; font-size: 11px; color: #9193a1; }
.filters { display: flex; gap: 8px; margin: 0 0 15px; }
.filters button { flex: 1; padding: 7px 10px; color: #666875; background: #fff; border-radius: 99px; font-size: 11px; font-weight: 700; transition: background 160ms, color 160ms, box-shadow 160ms; }
.filters button[aria-pressed="true"] { background: var(--purple); color: white; box-shadow: 0 3px 8px #5944df38; }
.job-list { display: grid; gap: 11px; }
.job-card { display: flex; gap: 11px; padding: 14px 13px 12px; border-radius: 17px; background: #fff; box-shadow: 0 9px 25px #27213d07; }
.job-icon, .feature-icon { display: grid; place-items: center; flex: 0 0 auto; width: 37px; height: 39px; border-radius: 12px; background: linear-gradient(130deg, #f0efff, #faf8fc); font-size: 20px; }
.job-info { flex: 1; min-width: 0; }
.job-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.job-heading h3 { font-size: 13px; line-height: 1.5; font-weight: 700; letter-spacing: -.3px; }
.job-pay { flex: 0 0 auto; font-size: 12px; line-height: 1.5; color: var(--orange); font-weight: 700; letter-spacing: -.3px; }
.job-pay small { margin-left: 1px; color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.tags > span { border-radius: 4px; padding: 3px 5px; background: #f5f4f9; color: #777987; font-size: 8.5px; line-height: 1.3; }
.tags > .tag-hot { color: #c48b64; background: #fff3e8; }
.job-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.job-footer p { font-size: 10px; color: #a0a4ad; }
.job-footer button { min-width: 57px; min-height: 26px; border: 1px solid #e8e5f3; border-radius: 99px; color: #7362bb; background: #f8f7fd; font-size: 10px; font-weight: 700; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.benefit-card { padding: 14px 13px; border-radius: 16px; background: #fff; box-shadow: 0 9px 25px #27213d06; }
.feature-icon { width: 34px; height: 34px; font-size: 18px; border-radius: 10px; margin-bottom: 10px; }
.benefit-card h3, .steps h3 { font-size: 12px; font-weight: 700; line-height: 1.5; }
.benefit-card p { margin-top: 4px; font-size: 10.5px; line-height: 1.5; color: #999da7; }
.steps { display: grid; gap: 20px; list-style: none; padding: 0 5px; margin: 0; }
.steps li { display: flex; align-items: flex-start; gap: 12px; position: relative; }
.steps li:not(:last-child)::after { content: ""; position: absolute; width: 1px; top: 29px; bottom: -16px; left: 13px; background: linear-gradient(#dcd6f3, #edeaf8); }
.step-number { display: grid; place-items: center; flex: 0 0 auto; width: 27px; height: 27px; background: #fff; border: 1px solid #e4dff6; border-radius: 50%; color: #7866c3; box-shadow: 0 2px 7px #4232981c; font-size: 12px; font-weight: 700; }
.steps li:first-child .step-number { border-color: var(--purple); background: var(--purple); color: #fff; box-shadow: 0 4px 10px #5944df2e; }
.steps p { margin-top: 3px; font-size: 10.5px; line-height: 1.5; color: var(--muted); }
.reviews { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 7px 16px 11px; margin: 0 -16px; scrollbar-width: none; }
.reviews::-webkit-scrollbar { display: none; }
.review-card { flex: 0 0 86%; scroll-snap-align: center; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px #27213d06; }
.review-person { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.avatar { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 auto; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #6542e1, #9674f2); font-size: 13px; font-weight: 700; }
.avatar-orange { background: linear-gradient(135deg, #fa814d, #ffa66d); }
.avatar-teal { background: linear-gradient(135deg, #36a998, #7bcab5); }
.review-person h3 { font-size: 11px; font-weight: 700; }
.review-person p { font-size: 9px; color: var(--muted); margin-top: 2px; }
.stars { margin-left: auto; font-size: 10px; letter-spacing: -.5px; color: #e7b44b; }
.review-card > p { font-size: 11px; line-height: 1.55; color: #797d86; }
.faq-section { margin-top: 18px; }
.faq-list { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 9px 25px #27213d06; }
.faq-list details + details { border-top: 1px solid #f0eff5; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 13px; cursor: pointer; list-style: none; font-size: 11.5px; font-weight: 700; line-height: 1.4; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { color: #a2a1b0; transition: transform 180ms; }
.faq-list details[open] summary > span { transform: rotate(180deg); }
.faq-list details > p { padding: 0 13px 15px; color: #8d909d; font-size: 11px; line-height: 1.6; }
.site-footer { padding: 25px 0 27px; text-align: center; font-size: 10px; line-height: 1.6; color: #a3a5b1; }
.site-footer p:first-child { font-size: 11px; font-weight: 700; color: #727583; letter-spacing: .2px; }
.site-footer p + p { margin-top: 7px; }
.site-footer p:last-child { color: #b2b1bd; }
.bottom-bar { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; padding: 9px 16px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid #eeeaf6; background: #ffffffed; backdrop-filter: blur(16px); }
.bottom-bar-inner { max-width: 728px; display: flex; align-items: center; gap: 15px; margin: auto; }
.bottom-bar p { font-size: 10px; color: #9b9ca6; line-height: 1.3; }
.bottom-bar strong { display: block; color: var(--orange); font-size: 14px; font-weight: 700; }
.primary-button { min-height: 40px; padding: 10px 20px; border-radius: 11px; background: linear-gradient(110deg, #5741df, #7958e7); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 5px 12px #5843db26; }
.bottom-bar .primary-button { flex: 1; }
.primary-button:hover, .header-apply:hover, .hero-apply:hover, .job-footer button:hover { filter: brightness(.97); }

dialog { width: min(360px, calc(100% - 36px)); max-height: calc(100svh - 40px); padding: 29px 24px 24px; border: none; border-radius: 24px; background: #fff; color: var(--ink); text-align: center; box-shadow: 0 24px 80px #21144840; }
dialog::backdrop { background: #251b4e65; backdrop-filter: blur(5px); }
.dialog-close { position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; border-radius: 50%; color: #85818f; background: #f4f2fa; font-size: 24px; line-height: 1; }
.dialog-icon { display: grid; place-items: center; width: 65px; height: 65px; margin: 0 auto 16px; border-radius: 20px; background: #f2efff; font-size: 33px; }
.dialog-eyebrow { color: #8b78ca; font-size: 9px; font-weight: 700; letter-spacing: 2px; }
dialog h2 { margin-top: 6px; font-size: 23px; letter-spacing: -.5px; }
.dialog-job { margin-top: 12px; color: var(--purple); font-size: 13px; font-weight: 700; }
#dialog-description { margin-top: 14px; color: #92909b; font-size: 13px; line-height: 1.65; }
.dialog-done { width: 100%; margin-top: 23px; }
.noscript-message { position: fixed; bottom: 12px; left: 12px; right: 12px; text-align: center; color: #fff; font-size: 12px; }

@keyframes welcome-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
/* A transform here would make the bottom bar fixed to the page, not the viewport. */
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 600px) {
  .welcome-content { max-width: 580px; }
  .welcome-icon { margin-bottom: 29px; }
  .welcome-availability { padding: 9px 18px; }
  .welcome h1 { margin-top: 23px; }
  .welcome-description { margin-top: 20px; }
  .enter-button { margin-top: 34px; }
  .welcome-benefits { margin-top: 22px; gap: 24px; }
  .welcome-hint { margin-top: 24px; }
  .jobs-hero { padding-top: 34px; padding-bottom: 72px; }
  .hero-actions { max-width: 420px; }
  .hero-browse { min-width: 80px; }
  .header-content { height: 58px; }
  .stats { padding: 20px 0; }
  .section { margin-top: 29px; }
  .filters { max-width: 440px; }
  .job-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-heading { flex-wrap: wrap; gap: 2px 8px; }
  .job-heading h3 { width: 100%; }
  .benefit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .benefit-card { padding: 17px 14px; }
  .review-card { flex-basis: calc((100% - 12px) / 2); }
  .faq-list summary { font-size: 13px; padding: 18px; }
  .faq-list details > p { padding: 0 18px 18px; font-size: 12px; }
}

@media (max-width: 359px) {
  .welcome { padding-left: 12px; padding-right: 12px; }
  .welcome-benefits { gap: 8px; }
  .page-content { padding: 0 12px; }
  .header-content { padding: 0 14px; }
  .jobs-hero { padding-left: 14px; padding-right: 14px; }
  .job-card { gap: 8px; padding-left: 10px; padding-right: 10px; }
  .job-icon { width: 32px; height: 35px; font-size: 17px; }
  .job-heading h3 { font-size: 11px; }
  .job-pay { font-size: 10.5px; }
  .job-pay small { font-size: 8px; }
  .tags > span { font-size: 7.5px; padding: 3px 4px; }
  .filters { gap: 5px; }
  .filters button { padding-left: 7px; padding-right: 7px; }
  .reviews { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
}

/* Keep the single entry button reachable on short landscape screens. */
@media (max-height: 600px) and (min-width: 600px) {
  body.is-splash { overflow-y: auto; }
  .welcome-content { max-width: 430px; }
  .welcome-icon { width: 56px; height: 56px; margin-bottom: 12px; font-size: 30px; }
  .welcome-availability { font-size: 12px; padding: 6px 12px; }
  .welcome h1 { margin-top: 12px; font-size: 27px; }
  .welcome h1 > span { font-size: 27px; }
  .welcome-description { margin-top: 10px; font-size: 13px; }
  .enter-button { margin-top: 20px; min-height: 52px; font-size: 19px; }
  .welcome-benefits { margin-top: 16px; font-size: 11px; }
  .welcome-hint { margin-top: 12px; font-size: 12px; }
}

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