/* DayJob — landing page.
   Tokens from nexus-global-transfers-5-DESIGN.md (spacing, radii, motion) with DayJob purples,
   Nunito (the logo's font) for everything.
   Two site themes (light / dark, html[data-theme]) plus full-width dark section bands
   (.band-dark) that keep their own luxury backgrounds in both themes. */
:root {
  /* brand */
  --primary: #1D2939;      /* charcoal */
  --primary-deep: #0F1722; /* ink */
  --accent: #62D12A;       /* lime */
  --accent-deep: #2E7D0F;  /* lime that reads as text on light */
  --secondary: #F5B700;    /* warm yellow: selection fills, slider */

  /* light theme */
  --background: #F7F8F4;
  --surface: #FFFFFF;
  --border: #E1E4DC;
  --hairline: rgba(29, 41, 57, .13);
  --text-primary: #1D2939;
  --text-secondary: #4A5565;
  --em: var(--accent-deep);
  --accent-soft: #ECEEE8;
  --chip: #FFFFFF;
  --btn-bg: var(--accent);
  --btn-fg: var(--primary);
  --btn-hover: #56BD22;
  --glass-a: rgba(255, 255, 255, .62);
  --glass-b: rgba(255, 255, 255, .42);
  --glass-edge: rgba(255, 255, 255, .7);
  --nav-line: rgba(29, 41, 57, .09);
  --shadow-card: 0 1px 2px rgba(17, 24, 39, .04), 0 10px 30px -14px rgba(17, 24, 39, .16);
  --shadow-lift: 0 2px 4px rgba(17, 24, 39, .06), 0 24px 48px -20px rgba(17, 24, 39, .3);
  --phone-frame: var(--primary);
  --field-bg: #FFFFFF;
  --field-border: #E1E4DC;
  --role-bg: rgba(29, 41, 57, .06);
  --role-on: #FFFFFF;
  --role-on-fg: var(--primary);
  --tick-bg: #6B7480;
  --icon: #6B7480;
  --icon-bg: rgba(29, 41, 57, .06);
  --band-plum: #1D2939;
  --band-ink: #0C121A;
  --band-graphite: #1A1F24;
  color-scheme: light;

  /* One font everywhere: Nunito, the logo's font */
  --font-heading: "Nunito", system-ui, sans-serif;
  --font-display: "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --font-accent: "Nunito", system-ui, sans-serif;
  --font-mono: "Nunito", system-ui, sans-serif;

  --space-1: 8px;
  --gap: 16px;
  --card-pad: 24px;
  --section-pad: 96px;
  --r-card: 16px;
  --r-control: 8px;
  --r-pill: 9999px;

  --ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-move: cubic-bezier(0.25, 1, 0.5, 1);
  --tone-time: 300ms;
}

/* Dark palette — used by the dark theme and inside dark section bands */
[data-theme="dark"], .band-dark {
  --surface: rgba(255, 255, 255, .045);
  --border: rgba(255, 255, 255, .11);
  --hairline: rgba(255, 255, 255, .12);
  --text-primary: #F7F8F4;
  --text-secondary: #B4BDC8;
  --em: var(--accent);
  --secondary: #FFC83D;
  --accent-soft: rgba(255, 255, 255, .07);
  --chip: rgba(255, 255, 255, .06);
  --btn-bg: var(--accent);
  --btn-fg: #1D2939;
  --btn-hover: #7BE04A;
  --nav-line: rgba(255, 255, 255, .1);
  --glass-edge: rgba(255, 255, 255, .08);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 40px -24px rgba(0, 0, 0, .7);
  --shadow-lift: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 30px 60px -28px rgba(0, 0, 0, .8);
  --phone-frame: #2B3D52;
  --field-bg: rgba(255, 255, 255, .06);
  --field-border: rgba(255, 255, 255, .16);
  --role-bg: rgba(255, 255, 255, .07);
  --role-on: var(--secondary);
  --role-on-fg: #1D2939;
  --tick-bg: rgba(255, 255, 255, .2);
  --icon: #9AA4B0;
  --icon-bg: rgba(255, 255, 255, .06);
}
/* Dark theme page surface (deeper than the bands so they still stand apart) */
[data-theme="dark"] {
  --background: #0C121A;
  --glass-a: rgba(12, 18, 26, .7);
  --glass-b: rgba(12, 18, 26, .52);
  --band-plum: #172231;
  --band-ink: #0F1620;
  --band-graphite: #1C232C;
  color-scheme: dark;
}

/* Full-width section bands */
html { overflow-x: clip; }
.band { position: relative; isolation: isolate; color: var(--text-primary); }
.band::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: var(--band-bg);
  transition: background-color var(--tone-time) ease;
}
.band-plum { --band-bg: radial-gradient(70% 60% at 85% 0%, rgba(98, 209, 42, .14), transparent 70%), var(--band-plum); }
.band-graphite { --band-bg: radial-gradient(70% 60% at 85% 0%, rgba(255, 255, 255, .07), transparent 70%), var(--band-graphite); }
.band-ink  { --band-bg: radial-gradient(60% 55% at 50% 45%, rgba(98, 209, 42, .12), transparent 70%), var(--band-ink); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--text-primary); background: var(--background);
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--tone-time) ease, color var(--tone-time) ease;
}
/* Fine grain — quiet print texture */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--accent); color: var(--primary-deep); }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul, figure, fieldset { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h1 em, h2 em { font-family: var(--font-accent); font-style: italic; font-weight: 800; color: var(--em); transition: color var(--tone-time) var(--ease-move); }
a, button, input, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
section[id], #join, #main { scroll-margin-top: 96px; }
.mono { font: 700 12px/1.2 var(--font-mono); font-variant-numeric: tabular-nums; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }

.skip { border-radius: var(--r-pill) !important;
  position: absolute; left: 16px; top: -48px; z-index: 60;
  padding: 10px 14px; border-radius: var(--r-control);
  background: var(--primary); color: #FFFFFF; text-decoration: none; font: 500 15px/1.2 var(--font-display);
  transition: transform 160ms var(--ease-enter);
}
.skip:focus-visible { transform: translateY(64px); }
:where(a, button, input, summary):focus-visible { outline: 2px solid var(--text-primary); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 500 15px/1 var(--font-display);
  color: var(--btn-fg); background: var(--btn-bg);
  border: 0; border-radius: var(--r-pill);
  padding: 15px 22px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 140ms var(--ease-enter), background-color 400ms ease, color 400ms ease;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-light { background: #FFFFFF; color: var(--primary); }
.btn-ghost { background: transparent; color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--border); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--btn-hover); }
  .btn-light:hover { background: #DCE8D5; }
  .btn-ghost:hover { background: var(--accent-soft); }
}

/* Top nav — full-width frosted glass; follows the page tone */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(180deg, var(--glass-a), var(--glass-b));
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid var(--nav-line);
  box-shadow: inset 0 1px 0 var(--glass-edge);
  transition: background var(--tone-time) var(--ease-move), box-shadow 400ms ease, border-color var(--tone-time) ease;
}
.topbar-inner {
  width: min(1200px, 100% - 48px); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 18px 0; transition: padding 400ms var(--ease-move);
}
.topbar.is-scrolled { box-shadow: inset 0 1px 0 var(--glass-edge), 0 14px 34px -24px rgba(12, 18, 26, .45); }
.topbar.is-scrolled .topbar-inner { padding: 11px 0; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-primary); text-decoration: none; }
/* Wordmark: Nunito Black, "day" in charcoal (or off-white on dark), "job" in lime */
.wordmark { font: 900 24px/1 "Nunito", var(--font-body); letter-spacing: -0.035em; }
.wordmark b { font-weight: 900; color: var(--text-primary); }
.wordmark b + b { color: var(--accent); }
.brand-light .wordmark b:first-child, .band-dark .wordmark b:first-child { color: #FFFFFF; }
.bm-ink { fill: var(--primary); transition: fill var(--tone-time) ease; }
[data-theme="dark"] .bm-ink { fill: #FFFFFF; }
.bm-accent { transform-box: view-box; transform-origin: center; }
@media (hover: hover) and (pointer: fine) {
  .brand-anim:hover .bm-accent { animation: bmHop 600ms var(--ease-enter) both; }
}
@keyframes bmHop { 0% { transform: none; } 40% { transform: translateY(-9px); } 100% { transform: none; } }

.nav-links { position: relative; display: flex; gap: 2px; margin-inline: auto; padding: 4px; border-radius: var(--r-pill); }
.nav-links a {
  position: relative; z-index: 1; padding: 9px 15px; border-radius: var(--r-pill);
  font: 500 15px/1 var(--font-display); color: var(--text-secondary); text-decoration: none;
}
.nav-links a.is-active, .nav-links a:hover { color: var(--text-primary); }
.nav-pill {
  position: absolute; top: 4px; left: 0; height: calc(100% - 8px); width: var(--w, 0);
  border-radius: var(--r-pill); background: var(--accent-soft);
  transform: translateX(var(--x, 0)); opacity: 0;
  transition: transform 420ms var(--ease-move), width 420ms var(--ease-move), opacity 250ms ease, background-color var(--tone-time) ease;
}
.nav-links.has-pill .nav-pill { opacity: 1; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.btn-nav { gap: 8px; padding: 12px 14px 12px 18px; font-size: 14px; }
.btn-nav svg { transition: transform 250ms var(--ease-enter); }
@media (hover: hover) and (pointer: fine) { .btn-nav:hover svg { transform: translateX(3px); } }

.menu-btn {
  display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--hairline); background: var(--chip);
}
.menu-btn span {
  position: absolute; left: 13px; right: 13px; height: 1.8px; border-radius: 2px; background: var(--text-primary);
  transition: transform 350ms var(--ease-enter), background-color 250ms ease;
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 24px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Light / dark mode toggle */
.theme-btn {
  position: relative; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline); background: var(--chip); color: var(--text-primary);
  transition: background-color var(--tone-time) ease, border-color var(--tone-time) ease, color var(--tone-time) ease;
}
.theme-btn svg { width: 20px; height: 20px; overflow: visible; transition: transform 600ms var(--ease-enter); }
.theme-btn svg circle { fill: none; stroke: currentColor; stroke-width: 1.8; }
.theme-btn svg .half { fill: currentColor; }
[data-theme="dark"] .theme-btn svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .theme-btn:hover { background: var(--accent-soft); } }
.topbar.menu-open .theme-btn { background: transparent; border-color: rgba(255, 255, 255, .3); color: #FFFFFF; }
.nav-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 41; pointer-events: none; }
.nav-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(var(--p, 0)); transform-origin: left; }

.menu {
  position: fixed; inset: 0; z-index: 35;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 120px 24px 40px; background: var(--primary); color: #FFFFFF;
  animation: menuIn 350ms var(--ease-enter);
}
.menu[hidden] { display: none; }
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font: 500 clamp(32px, 9vw, 46px)/1.05 var(--font-heading); color: #FFFFFF; text-decoration: none;
  opacity: 0; transform: translateY(14px); animation: fadeUp 600ms var(--ease-enter) forwards;
  animation-delay: calc(var(--i) * 60ms + 80ms);
}
.menu-links .mono { color: var(--accent); }
.menu-cta { opacity: 0; transform: translateY(14px); animation: fadeUp 600ms var(--ease-enter) forwards; animation-delay: calc(var(--i) * 60ms + 80ms); }
.topbar.menu-open { background: transparent; box-shadow: none; border-bottom-color: rgba(255, 255, 255, .14); -webkit-backdrop-filter: none; backdrop-filter: none; }
.topbar.menu-open .wordmark b:first-child { color: #FFFFFF; }
.topbar.menu-open .bm-ink { fill: #FFFFFF; }
.topbar.menu-open .btn-nav { visibility: hidden; }
.topbar.menu-open .menu-btn { background: transparent; border-color: rgba(255, 255, 255, .3); }
.topbar.menu-open .menu-btn span { background: #FFFFFF; }
body.no-scroll { overflow: hidden; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  .topbar-inner { width: calc(100% - 24px); gap: 12px; padding: 14px 0; }
  .topbar.is-scrolled .topbar-inner { padding: 9px 0; }
  .btn-nav { padding: 11px 12px; }
  .btn-nav svg { display: none; }
}
@media (max-width: 480px) { .btn-nav { display: none; } }

/* Entrance motion */
.mask .line { display: block; overflow: hidden; padding-bottom: .08em; }
.mask .line > span { display: block; transform: translateY(105%); animation: lineUp 950ms var(--ease-enter) forwards; animation-delay: calc(var(--i) * 100ms + 80ms); }
@keyframes lineUp { to { transform: translateY(0); } }
.rv { opacity: 0; transform: translateY(12px); animation: fadeUp 800ms var(--ease-enter) forwards; animation-delay: calc(var(--i) * 100ms + 140ms); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.sr { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-enter), transform 700ms var(--ease-enter); }
.sr.in { opacity: 1; transform: none; }
@keyframes sweep { from { transform: scaleX(0); } to { transform: none; } }
@keyframes listIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Hero */
.hero { padding: 40px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
h1 { font-size: clamp(46px, 6.4vw, 88px); line-height: 1.02; font-weight: 900; letter-spacing: -0.035em; }
h1 em { font-weight: 900; letter-spacing: -0.02em; }
.lede { font-size: 19px; line-height: 1.6; color: var(--text-secondary); max-width: 500px; }

.ticks { list-style: none; padding: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; border-top: 1px solid var(--hairline); max-width: 520px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font: 400 15px/1.4 var(--font-body); }
.ticks li::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; border-radius: 50%;
  background: var(--tick-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.hero-photo { position: relative; }
/* The D window: three columns of working people drifting past, clipped to the DayJob D. */
.d-frame { filter: drop-shadow(0 30px 40px rgba(29, 41, 57, .22)); animation: dIn 1400ms var(--ease-enter) 150ms both; }
.d-mosaic {
  position: relative; aspect-ratio: 1; overflow: hidden; clip-path: url(#d-clip-box);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 3% 0 12%;
  background: #1D2939;
}
.d-col { overflow: hidden; height: 100%; }
.d-track { display: flex; flex-direction: column; gap: 8px; animation: drift 42s linear infinite; }
.d-col.c1 .d-track { margin-top: -12%; }
.d-col.c2 .d-track { animation-duration: 52s; animation-direction: reverse; }
.d-col.c3 .d-track { animation-duration: 36s; margin-top: -30%; }
.d-col figure { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.d-col img { width: 100%; height: 100%; object-fit: cover; display: block; }
.d-col figure::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(8, 12, 18, .6) 45%, rgba(8, 12, 18, .92)); pointer-events: none; }
.d-col figcaption { z-index: 1; }
.d-col figcaption {
  position: absolute; left: 8px; bottom: 8px; padding: 4px 9px; border-radius: var(--r-pill);
  font: 600 11px/1.2 var(--font-body); color: #FFFFFF;
  background: rgba(8, 12, 18, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 4px)); } }
.d-tint { position: absolute; left: 0; right: 0; top: 53.33%; bottom: 0; background: linear-gradient(rgba(29, 41, 57, .15), rgba(29, 41, 57, .45)); pointer-events: none; }
.d-band { position: absolute; left: 0; right: 0; height: 5%; background: var(--background); transform-origin: left center; animation: sweepX 1000ms var(--ease-enter) both; transition: background-color var(--tone-time) var(--ease-move); }
.d-band.b1 { top: 53.33%; animation-delay: 700ms; }
.d-band.b2 { top: 68.33%; animation-delay: 850ms; }
@keyframes sweepX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dIn { from { transform: scale(1.06); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-photo:hover .d-track { animation-play-state: paused; }

.float {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; border-radius: 12px;
  background: #FFFFFF; color: #111827; box-shadow: 0 2px 4px rgba(17, 24, 39, .06), 0 24px 48px -20px rgba(17, 24, 39, .3);
  font-family: var(--font-display);
  opacity: 0; animation: fadeUp 700ms var(--ease-enter) 1100ms forwards, bob 6s ease-in-out 1800ms infinite;
}
.float div { display: flex; flex-direction: column; gap: 2px; }
.float .mono { color: #4B5563; }
.float b { font-weight: 600; font-size: 15px; color: #111827; }
.float-top { top: 14%; left: -4%; }
.float-bottom { bottom: 8%; right: 4%; animation-delay: 1250ms, 4800ms; }
.float-bottom svg { box-sizing: content-box; flex-shrink: 0; padding: 7px; border-radius: 50%; background: var(--icon-bg); }
.float-dot { width: 10px; height: 10px; border-radius: 50%; background: #22A06B; box-shadow: 0 0 0 4px rgba(34, 160, 107, .18); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Join form: role choice + email */
.join-form { display: flex; flex-direction: column; gap: 12px; max-width: 500px; }
.role { border: 0; padding: 0; display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--role-bg); width: max-content; }
.role label { position: relative; cursor: pointer; }
.role input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.role span { display: inline-block; padding: 9px 16px; border-radius: var(--r-pill); font: 500 14px/1 var(--font-display); color: var(--text-secondary); transition: background-color 250ms ease, color 250ms ease, box-shadow 250ms ease; }
.role input:checked + span { background: var(--role-on); color: var(--role-on-fg); box-shadow: 0 2px 8px -2px rgba(29, 41, 57, .25); }
.role input:focus-visible + span { outline: 2px solid var(--text-primary); outline-offset: 2px; }
.role-dark { background: rgba(255, 255, 255, .08); }
.role-dark span { color: #C8EFB2; }
.role-dark input:checked + span { background: var(--secondary); color: #1D2939; box-shadow: none; }

.waitlist { display: flex; gap: var(--space-1); padding: 6px; border-radius: var(--r-pill); transition: border-color 200ms ease; }
.waitlist input[type=email] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 16px/1 var(--font-display); padding: 0 16px; }
.waitlist-light { background: var(--field-bg); border: 1px solid var(--field-border); box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 10px 30px -14px rgba(17, 24, 39, .16); }
.waitlist-light:focus-within { border-color: var(--primary); }
.waitlist-light input[type=email] { color: var(--text-primary); }
.waitlist-light input::placeholder { color: #9CA3AF; }
.waitlist-dark { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); }
.waitlist-dark:focus-within { border-color: var(--accent); }
.waitlist-dark input[type=email] { color: #FFFFFF; }
.waitlist-dark input::placeholder { color: rgba(255, 255, 255, .55); }
.form-note { font: 700 13px/1.3 var(--font-mono); margin-top: -6px; }
.form-note:empty { display: none; }
.hero .form-note { color: var(--em); }
.hero .form-note.err { color: #B42318; }
.foot .form-note { color: #C8EFB2; }
.foot .form-note.err { color: #FFB4C0; }

/* Section titles */
h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; }
.section-title { max-width: 780px; margin-bottom: 56px; }
.section-title.center { text-align: center; margin-inline: auto; }

/* Roles ticker */
.ticker { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); overflow: hidden; transition: border-color var(--tone-time) ease; }
.ticker-track { display: flex; width: max-content; animation: tick 56s linear infinite; }
.ticker span.tk {
  display: inline-flex; align-items: center; gap: 16px; padding: 20px 32px 20px 0;
  font: italic 400 clamp(22px, 2.4vw, 32px)/1 var(--font-accent); white-space: nowrap;
}
.ticon {
  width: clamp(40px, 3.6vw, 52px); height: clamp(40px, 3.6vw, 52px); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--chip); border: 1px solid var(--hairline);
  box-shadow: 0 6px 16px -10px rgba(29, 41, 57, .35);
  transition: transform 300ms var(--ease-enter), background-color 250ms ease;
}
.ticon svg, .svc-icon { fill: none; stroke: var(--icon); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ticon svg { width: 56%; height: 56%; }
.ticon svg .ac, .svc-icon .ac { stroke: var(--icon); stroke-width: 1.9; }
.ticker span.tk:nth-child(odd) .ticon { transform: rotate(-4deg); }
.ticker span.tk:nth-child(even) .ticon { transform: rotate(4deg); }
@media (hover: hover) and (pointer: fine) {
  .ticker span.tk:hover .ticon { transform: rotate(0) scale(1.08); background: var(--accent-soft); }
  .ticker:hover .ticker-track { animation-play-state: paused; }
}
@keyframes tick { to { transform: translateX(-50%); } }

/* Why DayJob */
.about { padding: var(--section-pad) 0; }
.about-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.about-head h2 { max-width: 720px; }
.about-head p { max-width: 300px; font-size: 19px; color: var(--text-secondary); }
.about-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap); }
.story { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--gap); }
.story li {
  position: relative; padding: 28px 28px 28px 84px; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card);
  transition: transform 300ms var(--ease-enter), box-shadow 300ms var(--ease-enter), background-color var(--tone-time) ease, border-color var(--tone-time) ease;
}
.story .mono { position: absolute; left: 28px; top: 32px; color: var(--em); }
.story h3 { font-size: 22px; margin-bottom: 6px; }
.story p { color: var(--text-secondary); }
.about-photo { border-radius: var(--r-card); overflow: hidden; min-height: 420px; position: relative; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .story li:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); } }

/* Roles */
.roles { padding: var(--section-pad) 0; }
/* Roles collage: photo tiles of mixed sizes, text on a dark fade at the bottom */
.svc-grid {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px;
  grid-template-areas:
    "a a b c"
    "a a d c"
    "e e f f";
}
.svc-grid > :nth-child(1) { grid-area: a; }
.svc-grid > :nth-child(2) { grid-area: b; }
.svc-grid > :nth-child(3) { grid-area: c; }
.svc-grid > :nth-child(4) { grid-area: d; }
.svc-grid > :nth-child(5) { grid-area: e; }
.svc-grid > :nth-child(6) { grid-area: f; }
.svc-grid .sr:nth-child(2n) { transition-delay: 80ms; }
.svc {
  position: relative; overflow: hidden; height: 100%;
  border-radius: var(--r-card); background: #1A1F24;
  box-shadow: var(--shadow-card); isolation: isolate;
  transition: opacity 700ms var(--ease-enter), transform 300ms var(--ease-enter), box-shadow 300ms var(--ease-enter);
}
.svc summary {
  list-style: none; cursor: pointer; position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: var(--card-pad);
  color: #FFFFFF;
}
.svc summary::-webkit-details-marker { display: none; }
/* The fade: dark enough at the bottom that white text always reads */
.svc summary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0) 30%, rgba(8, 12, 18, .55) 58%, rgba(8, 12, 18, .92) 100%);
}
.svc[open] summary::before { background: linear-gradient(180deg, rgba(8, 12, 18, .7) 0%, rgba(8, 12, 18, .35) 40%, rgba(8, 12, 18, .6) 62%, rgba(8, 12, 18, .94) 100%); }
.svc-icon {
  width: 38px; height: 38px; padding: 8px; border-radius: 50%; margin-bottom: 4px;
  stroke: #FFFFFF !important; background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .18);
}
.svc-icon .ac { stroke: #FFFFFF !important; }
.svc h3 { font-size: 22px; color: #FFFFFF; }
.svc:first-child h3 { font-size: clamp(26px, 2.6vw, 34px); }
.svc p { color: rgba(255, 255, 255, .82); font-size: 15px; line-height: 1.45; max-width: 38ch; }
.more { font: 500 14px/1.2 var(--font-display); color: #FFFFFF; margin-top: 4px; display: inline-flex; align-items: center; gap: 8px; }
.more::after { content: "+"; display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #FFFFFF; transition: transform 300ms var(--ease-enter); }
.svc[open] .more::after { transform: rotate(45deg); }
/* Open: the roles appear as glass chips across the top of the photo */
.svc ul {
  list-style: none; margin: 0; padding: 0; position: absolute; z-index: 2; top: var(--card-pad); left: var(--card-pad); right: var(--card-pad);
  display: flex; flex-wrap: wrap; gap: 8px; animation: listIn 400ms var(--ease-enter); pointer-events: none;
}
.svc li {
  font: 500 13px/1 var(--font-body); color: #FFFFFF; padding: 8px 12px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
@media (hover: hover) and (pointer: fine) { .svc.in:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); } }

/* How it works */
.how { padding: var(--section-pad) 0; }
.how-grid { display: grid; grid-template-columns: 1fr 350px 1fr; gap: 40px; align-items: center; }
.how-col { display: flex; flex-direction: column; gap: 120px; }
.how-col:last-child { text-align: right; align-items: flex-end; }
.step { max-width: 280px; display: flex; flex-direction: column; gap: 8px; }
.how-col:last-child .step { align-items: flex-end; }
.num { font: 700 12px/1 var(--font-mono); color: var(--btn-fg); background: var(--btn-bg); padding: 6px 8px; border-radius: 6px; width: max-content; transition: background-color var(--tone-time) ease, color var(--tone-time) ease; }
.step h3 { font-size: 21px; }
.step p { color: var(--text-secondary); }

/* Phone: search results (the app stays light, like a real screen) */
.phone {
  position: relative; height: 650px; border-radius: 46px; padding: 18px 14px;
  background: #FFFFFF; color: #111827; border: 10px solid var(--phone-frame);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .04), 0 0 120px -20px rgba(98, 209, 42, .35);
  overflow: hidden; display: flex; flex-direction: column;
  transition: opacity 700ms var(--ease-enter), transform 700ms var(--ease-enter), border-color var(--tone-time) ease;
}
.phone-notch { position: absolute; top: 8px; left: 50%; width: 96px; height: 24px; margin-left: -48px; border-radius: var(--r-pill); background: var(--phone-frame); }
.app-head { display: flex; flex-direction: column; gap: 4px; padding: 34px 6px 14px; border-bottom: 1px solid #E6E9E1; }
.app-head b { font: 600 19px/1.2 var(--font-display); color: #111827; }
.app-head .mono { color: #6B7480; }
.results { list-style: none; padding: 12px 0 0; display: flex; flex-direction: column; gap: 10px; }
.pro {
  display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px;
  background: #FFFFFF; border: 1px solid #E6E9E1; box-shadow: 0 8px 20px -16px rgba(29, 41, 57, .45);
  opacity: 0; transform: translateY(14px);
  transition: opacity 500ms var(--ease-enter), transform 500ms var(--ease-enter);
  transition-delay: calc(var(--i) * 180ms + 250ms);
}
.phone.in .pro { opacity: 1; transform: none; }
.avatar { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #DCE8D5; color: var(--primary); font: 600 14px/1 var(--font-display); }
.avatar.a2 { background: #FFE9D6; color: #7A3E0C; }
.avatar.a3 { background: #DDF3E6; color: #135C3A; }
.pro-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pro-main b { font: 600 15px/1.2 var(--font-display); color: #111827; }
.pro-main span { font-size: 12.5px; line-height: 1.3; color: #556070; }
.pro-meta { display: inline-flex; align-items: center; gap: 4px; }
.star { width: 11px; height: 11px; background: #F5B301; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.pro-side { text-align: right; display: flex; flex-direction: column; }
.pro-side b { font: 600 14px/1.2 var(--font-display); color: var(--primary); }
.pro-side span { font-size: 11.5px; color: #6B7480; }
.sheet {
  position: absolute; left: 10px; right: 10px; bottom: 12px;
  display: flex; align-items: center; gap: 12px; padding: 16px;
  border-radius: 18px; background: var(--primary); color: #FFFFFF;
  box-shadow: 0 -10px 30px -12px rgba(29, 41, 57, .5);
  transform: translateY(130%); transition: transform 700ms var(--ease-move); transition-delay: 1300ms;
}
.phone.in .sheet { transform: none; }
.sheet div, .req-done div { display: flex; flex-direction: column; gap: 2px; }
.sheet b { font: 600 15px/1.25 var(--font-display); }
.sheet span { font-size: 13px; color: #C8EFB2; }
.sheet-tick {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  background: var(--tick-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}

/* Two ways to hire */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 72px; }
.way {
  padding: 32px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
  transition: opacity 700ms var(--ease-enter), transform 300ms var(--ease-enter), background-color var(--tone-time) ease, border-color var(--tone-time) ease;
}
.way + .way { transition-delay: 90ms; }
.way-tag { font: 700 13px/1 var(--font-mono); color: var(--em); }
.way h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
.way p { color: var(--text-secondary); }
@media (hover: hover) and (pointer: fine) { .way.in:hover { transform: translateY(-4px); } }

/* For workers */
.work { padding: var(--section-pad) 0; }
.work-grid { display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: center; }
.work-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.work-lede { font-size: 19px; color: var(--text-secondary); max-width: 520px; }
.work-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; width: 100%; max-width: 560px; }
.work-list li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--hairline); }
.work-list li:last-child { border-bottom: 1px solid var(--hairline); }
.work-list div { display: flex; flex-direction: column; gap: 2px; }
.work-list b { font: 500 18px/1.3 var(--font-display); }
.work-list span:not(.roman) { color: var(--text-secondary); }
.roman { flex-shrink: 0; min-width: 32px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font: 700 12px/1 var(--font-mono); background: var(--icon-bg); color: var(--text-secondary); }

/* Interactive worker app demo (an app screen — stays light) */
.work-demo {
  display: flex; flex-direction: column; gap: 18px; padding: 22px;
  border-radius: 24px; background: #FFFFFF; color: #111827; border: 1px solid #E6E9E1;
  box-shadow: 0 2px 4px rgba(17, 24, 39, .05), 0 40px 80px -36px rgba(29, 41, 57, .45);
}
.wd-head { display: flex; align-items: center; gap: 12px; }
.wd-head div { display: flex; flex-direction: column; gap: 2px; }
.wd-head b { font: 600 17px/1.2 var(--font-display); }
.wd-head .mono { color: #6B7480; }
.wd-status { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: var(--r-pill); background: #F1F4EE; }
.wd-status button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 6px; border: 0; border-radius: var(--r-pill); background: transparent; cursor: pointer;
  font: 500 13.5px/1 var(--font-display); color: #556070;
  transition: background-color 250ms ease, color 250ms ease, box-shadow 250ms ease;
}
.wd-status i { width: 8px; height: 8px; border-radius: 50%; background: #22A06B; }
.wd-status [data-status="busy"] i { background: #E8A33A; }
.wd-status [data-status="off"] i { background: #6B7480; }
.wd-status button[aria-checked="true"] { background: #FFFFFF; color: #111827; box-shadow: 0 2px 8px -3px rgba(29, 41, 57, .3); }
.wd-week { display: flex; flex-direction: column; gap: 10px; }
.wd-week .mono { color: #6B7480; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.days button {
  padding: 12px 0; border-radius: var(--r-pill); cursor: pointer;
  border: 1px solid #E1E4DC; background: #FFFFFF; color: #6B7480;
  font: 500 13px/1 var(--font-display);
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, transform 140ms var(--ease-enter);
}
.days button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #FFFFFF; }
.days button:active { transform: scale(.94); }
.wd-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid #E6E9E1; border-bottom: 1px solid #E6E9E1; font: 500 15px/1.3 var(--font-display); }
.wd-switch button { position: relative; width: 48px; height: 28px; flex-shrink: 0; border: 0; border-radius: var(--r-pill); background: #D3D8CE; cursor: pointer; transition: background-color 250ms ease; }
.wd-switch button i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 2px 6px rgba(17, 24, 39, .25); transition: transform 300ms var(--ease-enter); }
.wd-switch button[aria-checked="true"] { background: #22A06B; }
.wd-switch button[aria-checked="true"] i { transform: translateX(20px); }
.wd-request { border-radius: 16px; background: #F2F5EE; border: 1px solid #E6E9E1; padding: 16px; min-height: 172px; }
.req-body { display: flex; flex-direction: column; gap: 4px; }
.req-body .mono { color: var(--primary); }
.req-body b { font: 600 17px/1.3 var(--font-display); }
.req-body > span:not(.mono) { color: #556070; font-size: 14px; }
.req-body strong { font: 700 24px/1.2 var(--font-display); color: var(--primary); margin-top: 4px; }
.req-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.req-actions .btn { padding: 12px; color: #FFFFFF; background: var(--primary); }
.req-actions .btn-ghost { background: #FFFFFF; color: #111827; box-shadow: inset 0 0 0 1px #E1E4DC; }
.req-done { display: flex; align-items: center; gap: 12px; min-height: 138px; animation: listIn 400ms var(--ease-enter); }
.req-done b { font: 600 17px/1.3 var(--font-display); }
.req-done span:not(.sheet-tick) { color: #556070; font-size: 14px; }
.req-done[hidden], .req-body[hidden] { display: none; }
.work-demo.is-off .wd-request { opacity: .45; }
.work-demo .wd-request { transition: opacity 300ms ease; }

/* Role card photos */
.svc-photo { position: absolute; inset: 0; z-index: -2; display: block; overflow: hidden; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 700ms var(--ease-enter); }
@media (hover: hover) and (pointer: fine) { .svc:hover .svc-photo img { transform: scale(1.05); } }

/* Team hiring demo (inside the ink band) */
.team {
  display: grid; grid-template-columns: 1fr 470px; gap: 48px; align-items: center;
  margin-top: var(--gap); padding: 40px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--border);
  transition: opacity 700ms var(--ease-enter), transform 700ms var(--ease-enter);
}
.team-copy { display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
.team-copy h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.12; }
.team-copy p { color: var(--text-secondary); font-size: 17px; }
.team-card {
  display: flex; flex-direction: column; border-radius: 22px; overflow: hidden;
  background: #FFFFFF; color: #111827; border: 1px solid #E6E9E1;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7), 0 0 100px -30px rgba(98, 209, 42, .35);
}
.team-head { display: flex; flex-direction: column; gap: 2px; padding: 18px 18px 12px; border-bottom: 1px solid #E6E9E1; }
.team-head b { font: 600 17px/1.2 var(--font-display); }
.team-head span { font-size: 13px; color: #6B7480; }
.team-list { list-style: none; padding: 8px; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.team-list button {
  width: 100%; display: grid; grid-template-columns: 38px 1fr auto 24px; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 14px; border: 1px solid transparent; background: transparent; cursor: pointer; text-align: left;
  font: inherit; color: inherit;
  transition: background-color 250ms ease, border-color 250ms ease, transform 140ms var(--ease-enter);
}
.team-list button:active { transform: scale(.98); }
.team-list button[aria-pressed="true"] { background: #EEF7E8; border-color: #9FD77F; }
.team-list .avatar { width: 38px; height: 38px; font-size: 13px; }
.avatar.a4 { background: #FFE3EC; color: #8A1C47; }
.avatar.a5 { background: #E0EEFF; color: #1C4A8A; }
.avatar.a6 { background: #FFF2C7; color: #7A5A00; }
.tm-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tm-main b { font: 600 15px/1.2 var(--font-display); }
.tm-main span { font-size: 12.5px; color: #6B7480; }
.tm-rate { font: 600 14px/1 var(--font-display); color: var(--primary); }
.tm-check { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #C9CFC4; transition: background-color 250ms ease, border-color 250ms ease; }
.team-list button[aria-pressed="true"] .tm-check {
  border-color: var(--primary);
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.team-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid #E6E9E1; background: #F8FAF6; }
.tm-stack { display: flex; min-width: 0; }
.tm-stack .avatar { width: 30px; height: 30px; font-size: 10.5px; box-shadow: 0 0 0 2px #F8FAF6; animation: popIn 350ms var(--ease-enter); }
.tm-stack .avatar + .avatar { margin-left: -9px; }
@keyframes popIn { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.tm-sum { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.tm-sum b { font: 600 15px/1.2 var(--font-display); }
.tm-sum span { font-size: 12.5px; color: #6B7480; font-variant-numeric: tabular-nums; }
.team-card .tm-send { padding: 12px 16px; font-size: 14px; background: var(--primary); color: #FFFFFF; }
.team-card .tm-send:disabled { opacity: .35; }

/* Earnings calculator (plum band) */
.earn { padding: var(--section-pad) 0; }
.earn-grid { display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: center; }
.earn-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.earn-copy p { color: var(--text-secondary); font-size: 19px; max-width: 480px; }
.calc {
  display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lift);
  transition: opacity 700ms var(--ease-enter), transform 700ms var(--ease-enter);
}
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; }
.calc-label { color: var(--text-secondary); font-size: 15px; }
.calc-value { font: 600 20px/1 var(--font-display); color: var(--text-primary); font-variant-numeric: tabular-nums; }
.calc input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 10px 0 14px; border-radius: var(--r-pill); cursor: pointer;
  background: linear-gradient(to right, var(--secondary) var(--fill, 50%), rgba(255, 255, 255, .14) var(--fill, 50%));
}
.calc input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #FFFFFF;
  box-shadow: 0 0 0 5px rgba(98, 209, 42, .35), 0 4px 10px rgba(0, 0, 0, .4); transition: transform 160ms var(--ease-enter);
}
.calc input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 5px rgba(98, 209, 42, .35), 0 4px 10px rgba(0, 0, 0, .4); }
.calc input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
.calc input[type=range]:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 6px; }
.calc-result { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; margin-top: 4px; border-top: 1px solid var(--hairline); }
.calc-result strong { font: 600 clamp(44px, 5.4vw, 64px)/1 var(--font-heading); letter-spacing: -0.02em; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.calc-week { color: var(--text-secondary); font-size: 14px; }
.calc-week b { color: var(--em); font-weight: 700; }

/* FAQ */
.faq { padding: var(--section-pad) 0 16px; }
.faq-list { max-width: 880px; border-top: 1px solid var(--hairline); }
.qa { border-bottom: 1px solid var(--hairline); transition: opacity 700ms var(--ease-enter), transform 700ms var(--ease-enter); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font: 500 clamp(18px, 1.8vw, 22px)/1.3 var(--font-heading);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--accent-soft); transition: transform 350ms var(--ease-enter), background-color 250ms ease; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; margin: -0.9px 0 0 -6px; border-radius: 2px; background: var(--icon); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { transform: rotate(45deg); }
.qa p { padding: 0 56px 26px 0; color: var(--text-secondary); font-size: 17px; max-width: 760px; animation: listIn 400ms var(--ease-enter); }
@media (hover: hover) and (pointer: fine) { .qa summary:hover i { background: var(--btn-bg); } .qa summary:hover i::before, .qa summary:hover i::after { background: var(--btn-fg); } }

@media (max-width: 1040px) {
  .team { grid-template-columns: 1fr; padding: 28px; }
  .team-card { max-width: 480px; width: 100%; }
  .earn-grid { grid-template-columns: 1fr; gap: 40px; }
  .calc { max-width: 520px; width: 100%; }
}
@media (max-width: 640px) {
  .team { padding: 20px; gap: 28px; }
  .team-list button { grid-template-columns: 34px 1fr auto 22px; gap: 10px; padding: 8px; }
  .team-bar { flex-wrap: wrap; }
  .team-card .tm-send { width: 100%; }
  .calc { padding: 22px; }
  .qa p { padding-right: 0; }
}

/* How it works — obsidian band, refined */
.band-ink {
  --band-bg:
    radial-gradient(38% 42% at 50% 36%, rgba(98, 209, 42, .30), transparent 70%),
    radial-gradient(45% 40% at 0% 100%, rgba(46, 125, 15, .38), transparent 70%),
    radial-gradient(35% 32% at 100% 0%, rgba(98, 209, 42, .14), transparent 70%),
    var(--band-ink);
}
/* Faint dot-grid "map" texture, fading out from the centre */
.band-ink::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background-image: radial-gradient(rgba(255, 255, 255, .085) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(62% 48% at 50% 32%, #000 20%, transparent 78%);
          mask-image: radial-gradient(62% 48% at 50% 32%, #000 20%, transparent 78%);
  pointer-events: none;
}
.how .section-title { margin-bottom: 16px; }
.how-sub { text-align: center; color: var(--text-secondary); font-size: 18px; max-width: 560px; margin: 0 auto 60px; }

/* Steps on frosted-glass cards */
.how .how-grid { gap: 32px; }
.how .how-col { gap: 20px; }
.how .how-col:last-child { text-align: left; align-items: stretch; }
.how .step, .how .how-col:last-child .step {
  max-width: none; align-items: flex-start; gap: 10px;
  padding: 24px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .09);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity 700ms var(--ease-enter), transform 300ms var(--ease-enter), border-color 300ms ease;
}
@media (hover: hover) and (pointer: fine) { .how .step.in:hover { transform: translateY(-3px); border-color: rgba(98, 209, 42, .4); } }
.how .step h3 { font-size: 20px; }
.how .num { border-radius: var(--r-pill); padding: 6px 10px; }

/* Phone: stronger violet halo */
.how .phone { box-shadow: 0 40px 90px -36px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .05), 0 0 160px -10px rgba(98, 209, 42, .5); }

/* Two ways + team: glass with a lilac edge glow */
.how .way, .how .team {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018)) padding-box,
    linear-gradient(#0D131B, #0D131B) padding-box,
    linear-gradient(140deg, rgba(98, 209, 42, .55), rgba(255, 255, 255, .08) 38%, rgba(255, 255, 255, .05)) border-box;
  border: 1px solid transparent;
}
.how .way { border-radius: 22px; padding: 34px; }
.how .way-tag { display: inline-flex; width: max-content; padding: 7px 13px; border-radius: var(--r-pill); background: rgba(98, 209, 42, .14); }
.how .ways { margin-top: 80px; }

@media (max-width: 1040px) {
  .how .how-col { flex-direction: row; gap: 16px; width: 100%; }
  .how .how-col .step { flex: 1; }
}
@media (max-width: 640px) {
  .how .how-col { flex-direction: column; }
  .how-sub { font-size: 16px; margin-bottom: 40px; }
  .how .step { padding: 20px; }
  .how .ways { margin-top: 48px; }
}

/* Sunrise footer */
.foot { margin-top: 0; }
.sunrise { position: relative; height: clamp(150px, 21vw, 300px); overflow: hidden; }
.sun {
  --sink: 40;
  position: absolute; left: 50%; bottom: 0;
  height: 188%; aspect-ratio: 1 / 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #C8EFB2 0%, var(--accent) 52%, #4CB31C 100%);
  transform: translate(-50%, calc(50% + var(--sink) * 1%));
}
.horizon { display: flex; flex-direction: column; padding: clamp(7px, .9vw, 13px) 0; }
.horizon i { display: block; height: clamp(12px, 1.7vw, 24px); background: var(--primary); }
.horizon i:last-child { display: none; }
.foot-body { background: var(--primary); color: #FFFFFF; }
.foot-body :where(p, span, a, b) { transition: none; }
.foot-cta { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; padding: 72px 0 48px; }
.cta-copy { display: flex; flex-direction: column; gap: 20px; }
.foot-cta h2 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; color: #FFFFFF; font-weight: 600; }
.foot-cta h2 em { color: var(--accent); }
.foot-cta p { font-size: 19px; color: #C8EFB2; }
.cta-globe { position: relative; aspect-ratio: 1 / 1; max-height: 400px; width: 100%; justify-self: end; }
#globe { position: absolute; inset: 0; width: 100%; height: 100%; }
.foot-rule { height: 1px; background: rgba(255, 255, 255, .16); }
.foot-links { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; }
.brand-light, .brand-light span { color: #FFFFFF; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.foot-cols a {
  color: #C8EFB2; text-decoration: none; font: 400 15px/1.3 var(--font-body);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 300ms var(--ease-enter), color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .foot-cols a:hover { color: #FFFFFF; background-size: 100% 1px; } }
.foot-bottom { display: flex; justify-content: space-between; padding: 20px 0 28px; font: 700 12px/1.2 var(--font-mono); color: rgba(255, 255, 255, .6); }

/* Responsive */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { max-width: 560px; width: 100%; justify-self: center; }
  .about-body { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; grid-template-areas: "a a" "b c" "d c" "e f"; }
  .how-grid { grid-template-columns: 1fr; justify-items: center; gap: 32px; }
  .how-col { flex-direction: row; gap: 32px; }
  .how-col:last-child { text-align: left; align-items: flex-start; }
  .how-col:last-child .step { align-items: flex-start; }
  .phone { width: 350px; }
  .work-grid { grid-template-columns: 1fr; gap: 40px; }
  .work-demo { max-width: 460px; width: 100%; }
  .foot-cta { grid-template-columns: 1fr; }
  .cta-globe { max-height: 340px; justify-self: center; }
}
@media (max-width: 640px) {
  :root { --section-pad: 64px; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 24px; }
  .lede, .work-lede { font-size: 17px; }
  .ticks { grid-template-columns: 1fr; }
  .waitlist { flex-direction: column; border-radius: 24px; }
  .waitlist input[type=email] { padding: 14px 12px; }
  .float { font-size: 13px; }
  .float-top { left: 0; top: 6%; }
  .float-bottom { right: 0; bottom: 4%; }
  .about-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .story li { padding: 24px 20px 24px 64px; }
  .story .mono { left: 20px; top: 28px; }
  .svc-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 10px; grid-template-areas: "a a" "b c" "d c" "e e" "f f"; }
  .svc h3 { font-size: 18px; }
  .svc p { display: none; }
  .svc:first-child p, .svc:nth-child(5) p, .svc:nth-child(6) p { display: block; font-size: 14px; }
  .svc[open] summary p { display: none !important; }
  .svc li { font-size: 12px; padding: 7px 10px; }
  .how-col { flex-direction: column; }
  .phone { width: 100%; max-width: 340px; height: 620px; }
  .ways { grid-template-columns: 1fr; margin-top: 48px; }
  .way { padding: 24px; }
  .work-demo { padding: 16px; }
  .days { gap: 4px; }
  .days button { font-size: 12px; padding: 11px 0; }
  .foot-cta { padding: 48px 0 32px; }
  .foot-links { flex-direction: column; align-items: flex-start; }
  .foot-bottom { flex-direction: column; gap: 8px; }
}

/* Dark mode: app mockups switch to dark app screens */
[data-theme="dark"] {
  --app-bg: #121A24;
  --app-card: #1A2431;
  --app-line: #263243;
  --app-line-strong: #344255;
  --app-text: #F7F8F4;
  --app-muted: #A3ADB8;
}
/* Avatars: deeper tints */
[data-theme="dark"] .avatar { background: rgba(98, 209, 42, .2); color: #C8EFB2; }
[data-theme="dark"] .avatar.a2 { background: rgba(255, 160, 90, .18); color: #FFC79A; }
[data-theme="dark"] .avatar.a3 { background: rgba(70, 200, 140, .18); color: #9BE3BD; }
[data-theme="dark"] .avatar.a4 { background: rgba(255, 110, 160, .18); color: #FFB0C8; }
[data-theme="dark"] .avatar.a5 { background: rgba(100, 160, 255, .18); color: #A9C8FF; }
[data-theme="dark"] .avatar.a6 { background: rgba(255, 205, 70, .18); color: #FFE08A; }

/* Hero floating cards */
[data-theme="dark"] .float { background: var(--app-card); color: var(--app-text); box-shadow: 0 0 0 1px var(--app-line), 0 24px 48px -20px rgba(0, 0, 0, .7); }
[data-theme="dark"] .float b { color: var(--app-text); }
[data-theme="dark"] .float .mono { color: var(--app-muted); }
[data-theme="dark"] .float-bottom svg path:first-child { fill: var(--icon); }
[data-theme="dark"] .float-bottom svg path:last-child { stroke: #1D2939; }

/* Search results phone */
[data-theme="dark"] .phone { background: var(--app-bg); color: var(--app-text); }
[data-theme="dark"] .app-head { border-bottom-color: var(--app-line); }
[data-theme="dark"] .app-head b { color: var(--app-text); }
[data-theme="dark"] .app-head .mono { color: var(--app-muted); }
[data-theme="dark"] .pro { background: var(--app-card); border-color: var(--app-line); box-shadow: none; }
[data-theme="dark"] .pro-main b { color: var(--app-text); }
[data-theme="dark"] .pro-main span { color: var(--app-muted); }
[data-theme="dark"] .pro-side b { color: var(--em); }
[data-theme="dark"] .pro-side span { color: var(--app-muted); }
[data-theme="dark"] .sheet { background: #243447; box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .6); }

/* Team hiring card */
[data-theme="dark"] .team-card { background: var(--app-bg); color: var(--app-text); border-color: var(--app-line); }
[data-theme="dark"] .team-head { border-bottom-color: var(--app-line); }
[data-theme="dark"] .team-head span, [data-theme="dark"] .tm-main span, [data-theme="dark"] .tm-sum span { color: var(--app-muted); }
[data-theme="dark"] .team-list button[aria-pressed="true"] { background: rgba(98, 209, 42, .14); border-color: rgba(98, 209, 42, .38); }
[data-theme="dark"] .tm-rate { color: var(--em); }
[data-theme="dark"] .tm-check { border-color: var(--app-line-strong); }
[data-theme="dark"] .team-list button[aria-pressed="true"] .tm-check { border-color: var(--secondary); background-color: var(--secondary); }
[data-theme="dark"] .team-bar { background: #151E2A; border-top-color: var(--app-line); }
[data-theme="dark"] .tm-stack .avatar { box-shadow: 0 0 0 2px #151E2A; }
[data-theme="dark"] .team-card .tm-send { background: var(--accent); color: #1D2939; }

/* Worker app demo */
[data-theme="dark"] .work-demo { background: var(--app-bg); color: var(--app-text); border-color: var(--app-line); box-shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 40px 80px -36px rgba(0, 0, 0, .8); }
[data-theme="dark"] .wd-head .mono, [data-theme="dark"] .wd-week .mono { color: var(--app-muted); }
[data-theme="dark"] .wd-status { background: #1C2633; }
[data-theme="dark"] .wd-status button { color: var(--app-muted); }
[data-theme="dark"] .wd-status button[aria-checked="true"] { background: #2A3646; color: var(--app-text); box-shadow: none; }
[data-theme="dark"] .days button { background: var(--app-card); border-color: var(--app-line); color: var(--app-muted); }
[data-theme="dark"] .days button[aria-pressed="true"] { background: var(--secondary); border-color: var(--secondary); color: #1D2939; }
[data-theme="dark"] .wd-switch { border-color: var(--app-line); }
[data-theme="dark"] .wd-switch button { background: var(--app-line-strong); }
[data-theme="dark"] .wd-switch button[aria-checked="true"] { background: #22A06B; }
[data-theme="dark"] .wd-request { background: var(--app-card); border-color: var(--app-line); }
[data-theme="dark"] .req-body .mono, [data-theme="dark"] .req-body strong { color: var(--em); }
[data-theme="dark"] .req-body > span:not(.mono), [data-theme="dark"] .req-done span:not(.sheet-tick) { color: var(--app-muted); }
[data-theme="dark"] .req-actions .btn { background: var(--accent); color: #1D2939; }
[data-theme="dark"] .req-actions .btn-ghost { background: transparent; color: var(--app-text); box-shadow: inset 0 0 0 1px var(--app-line-strong); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root { --tone-time: 0ms; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .sr, .pro { opacity: 1; transform: none; }
  .sheet { transform: none; }
  .mask .line > span { transform: none; }
}
