/* ZepTal site. Values mirror the app's design tokens ("The Pass"). */
:root {
  --bg: #F5F5F7; --card: #FFFFFF; --ink: #1D1D1F; --ink2: #424245; --ink3: #6E6E73; --ink4: #86868B;
  --rule: #E5E5EA; --rule2: #F0F0F2;
  --accent: #D63B1E; --accent-soft: #FCE5DF;
  --rail: #000000; --rail-raised: #1C1C1E; --rail-muted: rgb(255 255 255 / .64); --rail-hair: rgb(255 255 255 / .12);
  --saffron: #F4B400; --poster: #33403A;
  --r-card: 18px; --r-sheet: 24px; --r-pill: 999px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Roboto, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.45; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Coming soon banner */
.banner { background: var(--accent); color: #fff; text-align: center; font-size: 14px; font-weight: 600; padding: 10px 16px; }
.banner strong { font-weight: 800; }

/* Rail header + hero */
.rail { background: var(--rail); color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-weight: 800; font-size: 32px; letter-spacing: -0.04em; text-decoration: none; }
.logo span { color: var(--accent); }
.nav a.cta-small { font-size: 15px; font-weight: 600; text-decoration: none; padding: 10px 18px; border-radius: var(--r-pill); background: var(--rail-raised); border: 1px solid var(--rail-hair); }

.hero > * { min-width: 0; }
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; padding: 32px 0 88px; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--rail-muted); background: var(--rail-raised); border: 1px solid var(--rail-hair); padding: 6px 14px 6px 10px; border-radius: var(--r-pill); }
.tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: block; }
h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.045em; font-weight: 800; margin: 0 0 18px; }
h1 em { font-style: normal; color: var(--accent); white-space: nowrap; }
.lede { font-size: 19px; color: var(--rail-muted); max-width: 520px; margin: 0 0 32px; }

.waitlist input::placeholder { color: var(--rail-muted); }
.waitlist input:focus { border-color: var(--accent); }
.btn { min-height: 52px; padding: 0 26px; font: inherit; font-size: 16px; font-weight: 700; border: 0; border-radius: var(--r-pill); background: var(--accent); color: #fff; cursor: pointer; transition: transform .15s; }
.btn:active { transform: scale(.97); }
.form-note { font-size: 14px; color: var(--rail-muted); margin: 12px 0 0; min-height: 20px; }
.form-note.ok { color: #fff; font-weight: 600; }

/* Product glimpse: a shift card like the app's JobCard */
.glimpse { position: relative; }
.phone { color: var(--ink); background: var(--bg); border-radius: 36px; padding: 14px; max-width: 360px; margin-left: auto; box-shadow: 0 30px 80px rgb(0 0 0 / .45); }
.phone-rail { color: #fff; background: var(--rail); border-radius: 24px 24px 0 0; padding: 18px 18px 16px; }
.phone-rail b { display: block; font-size: 22px; letter-spacing: -0.03em; }
.phone-rail small { color: var(--rail-muted); font-size: 13px; }
.phone-body { padding: 14px 4px 6px; display: grid; gap: 12px; }
.job { background: var(--card); border-radius: var(--r-card); overflow: hidden; }
.job-photo { position: relative; aspect-ratio: 1.9 / 1; background: var(--poster); display: grid; place-items: center; }
.job-photo svg { width: 64px; height: 64px; opacity: .9; }
.job-pay { position: absolute; left: 14px; bottom: 12px; color: #fff; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.job-pay small { font-size: 13px; font-weight: 600; opacity: .8; }
.job-time { position: absolute; right: 12px; bottom: -12px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: var(--r-pill); box-shadow: 0 4px 12px rgb(0 0 0 / .12); }
.job-info { padding: 18px 14px 14px; }
.job-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.rating { display: inline-flex; align-items: center; gap: 3px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 7px; border-radius: 6px; }
.rating svg { width: 11px; height: 11px; fill: var(--saffron); }
.job-meta { font-size: 13px; color: var(--ink3); margin-top: 3px; }
.toast { background: var(--card); border-radius: var(--r-card); padding: 14px; display: flex; gap: 12px; align-items: center; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: #F9AEA7; display: grid; place-items: center; font-weight: 800; color: var(--ink); flex: none; }
.toast b { font-size: 15px; display: block; letter-spacing: -0.01em; }
.toast span { font-size: 13px; color: var(--ink3); }
.toast .pill { margin-left: auto; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: var(--r-pill); background: var(--accent); color: #fff; flex: none; }

/* Sections */
section { padding: 88px 0; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; margin: 0 0 14px; }
.sub { font-size: 18px; color: var(--ink3); max-width: 600px; margin: 0 0 44px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: var(--card); border-radius: var(--r-card); padding: 26px 22px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 19px; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--ink2); font-size: 15px; }
.big { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; color: var(--accent); line-height: 1; margin-bottom: 14px; font-variant-numeric: tabular-nums; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--card); border-radius: var(--r-sheet); padding: 30px 26px; }
.step-n { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 20px; }
.step h3 { font-size: 21px; letter-spacing: -0.02em; margin: 0 0 6px; font-weight: 800; }
.step p { margin: 0; color: var(--ink2); font-size: 15px; }

.fee { background: var(--rail); color: #fff; border-radius: var(--r-sheet); padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.fee h2 { margin-bottom: 10px; }
.fee p { color: var(--rail-muted); font-size: 17px; margin: 0; }
.fee-rows { display: grid; gap: 10px; }
.fee-row { display: flex; justify-content: space-between; padding: 16px 20px; border-radius: 14px; background: var(--rail-raised); border: 1px solid var(--rail-hair); font-size: 16px; font-variant-numeric: tabular-nums; }
.fee-row b { font-weight: 800; }
.fee-row.total { background: var(--accent); border-color: var(--accent); font-weight: 700; }

.workers { text-align: center; }
.workers .sub { margin: 0 auto 28px; }
.btn-dark { display: inline-flex; align-items: center; min-height: 52px; padding: 0 26px; border-radius: var(--r-pill); background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; }

footer { border-top: 1px solid var(--rule); padding: 28px 0 40px; color: var(--ink4); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 36px; }
  .phone { margin: 0 auto; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .fee { grid-template-columns: 1fr; }
  .fee { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .nav a.cta-small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Audience switch: body[data-for] shows one side's content */
body[data-for="business"] [data-show="workers"],
body[data-for="workers"] [data-show="business"] { display: none !important; }

.switch { display: inline-flex; padding: 4px; gap: 4px; border-radius: var(--r-pill); background: var(--rail-raised); border: 1px solid var(--rail-hair); }
.switch button { min-height: 40px; padding: 0 18px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--rail-muted); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.switch button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.hero-switch { margin-top: 40px; }

/* Waitlist form (replaces the single-field form) */
form.waitlist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 520px; }
form.waitlist .full { grid-column: 1 / -1; }
.waitlist input { width: 100%; min-height: 52px; padding: 0 20px; font: inherit; font-size: 16px; border-radius: var(--r-pill); border: 1px solid var(--rail-hair); background: var(--rail-raised); color: #fff; outline: none; }
.chips-label { font-size: 14px; color: var(--rail-muted); margin: 6px 0 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--rail-hair); background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.waitlist .btn { justify-self: start; margin-top: 6px; }
.btn:disabled { opacity: .6; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Worker phone mock: payout + record */
.paid { background: var(--card); border-radius: var(--r-card); padding: 16px; }
.paid small { color: var(--ink3); font-size: 13px; display: block; }
.paid b { display: block; font-size: 30px; letter-spacing: -0.04em; font-weight: 800; font-variant-numeric: tabular-nums; margin-top: 2px; }
.paid .ok { display: inline-flex; margin-top: 8px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); background: var(--ink); color: #fff; }

/* "Your record" card */
.record { background: var(--card); color: var(--ink); border-radius: var(--r-sheet); padding: 24px; display: grid; gap: 16px; }
.record-head { display: flex; align-items: center; gap: 14px; }
.record-head .avatar { width: 52px; height: 52px; font-size: 20px; }
.record-head b { font-size: 20px; letter-spacing: -0.02em; display: block; }
.tier { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.tier i { width: 10px; height: 10px; border-radius: 50%; background: #D4B848; display: block; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: var(--bg); border-radius: 14px; padding: 12px; }
.stat b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--ink3); }
.attest { display: grid; gap: 8px; }
.attest-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 14px; font-size: 14px; }
.attest-row span { color: var(--ink3); font-size: 13px; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.check svg { width: 14px; height: 14px; stroke: var(--ink); fill: none; stroke-width: 2.5; }

.grid.three { grid-template-columns: repeat(3, 1fr); }
.other-side { background: var(--card); border-radius: var(--r-sheet); padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.other-side h2 { margin: 0 0 6px; }
.other-side p { margin: 0; color: var(--ink3); font-size: 17px; }

@media (max-width: 920px) { .grid.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  form.waitlist { grid-template-columns: 1fr; }
  .grid.three { grid-template-columns: 1fr; }
  .other-side { padding: 28px 22px; }
}
