/* ============================================================
   Hands — design tokens
   Light and roomy. Navy carries the structure, sky blue is the
   accent, orange is energy, green only ever means money.
   ============================================================ */

:root {
  /* surfaces */
  --paper: #ffffff;
  --mist: #f4f7fb;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;

  /* ink */
  --navy: #0d2440;
  --slate: #4a5c72;
  --faint: #5d6d80;

  /* accents */
  --sky: #2b7fff;
  --sky-deep: #1b57bd;
  --sky-soft: #e8f1ff;
  --orange: #f2681f;
  --orange-deep: #c04a0c;
  --orange-soft: #fff0e7;
  --green: #17a04a;
  --green-deep: #0f7436;
  --green-soft: #e7f7ed;

  /* type */
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --hand: "Caveat", ui-rounded, cursive;

  /* scale */
  --t-xs: 13px;
  --t-sm: 15px;
  --t-md: 17px;
  --t-lg: 20px;
  --t-xl: clamp(23px, 2.4vw, 27px);
  --t-2xl: clamp(28px, 3.6vw, 36px);
  --t-3xl: clamp(34px, 5vw, 52px);
  --t-4xl: clamp(42px, 6.6vw, 76px);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --page: 1140px;

  --lift: 0 1px 2px rgba(13, 36, 64, 0.05), 0 10px 24px -12px rgba(13, 36, 64, 0.16);
  --lift-lg: 0 2px 4px rgba(13, 36, 64, 0.05), 0 28px 56px -24px rgba(13, 36, 64, 0.3);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--slate);
  font-family: var(--body);
  font-size: var(--t-md);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { position: relative; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.06;
  margin: 0;
}

.shell { max-width: var(--page); margin: 0 auto; padding: 0 32px; }

/* ---------- masthead ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.masthead .shell { display: flex; align-items: center; gap: 30px; height: 70px; }

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wordmark .dot { width: 10px; height: 10px; background: var(--sky); border-radius: 2px; transform: rotate(45deg); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: var(--t-sm); font-weight: 500; }
.nav a { color: var(--slate); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav .btn { font-size: 14px; padding: 9px 16px; }

/* ---------- shared ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky-deep);
  margin: 0 0 16px;
}

.lede { font-size: 19px; color: var(--slate); max-width: 60ch; line-height: 1.62; }
.lede strong { color: var(--navy); font-weight: 600; }

.band { padding: 100px 0; }
.band.mist { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band h2 { font-size: var(--t-3xl); margin-bottom: 20px; max-width: 20ch; }

/* the caps benefit headline, one word carrying the colour */
.shout {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--navy);
  margin: 0 0 18px;
  font-size: var(--t-2xl);
  max-width: 22ch;
}

.shout .hit { color: var(--sky); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--lift);
  transition: background 0.14s ease, transform 0.1s ease;
}

.btn:hover { background: #163659; }
.btn:active { transform: translateY(1px); }

.btn.ghost { background: #fff; color: var(--navy); border-color: var(--line-strong); box-shadow: none; }
.btn.ghost:hover { background: var(--mist); border-color: var(--faint); }

:where(a, button, input, summary):focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- hero ---------- */

.hero {
  padding: 88px 0 80px;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 68px;
  align-items: start;
}

.hero > div:first-child { display: flex; flex-direction: column; }

.hero h1 { font-size: var(--t-4xl); letter-spacing: -0.04em; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero .lede { font-size: var(--t-lg); margin-bottom: 32px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 14.5px; color: var(--faint); margin: 0; }
.hero .hero-note { margin-top: 28px; }

/* ---------- the shift log ---------- */

.log {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--lift-lg);
}

.log-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.log-head .live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(23, 160, 74, 0.16); }
.log-head .who { margin-left: auto; color: var(--sky-deep); }

.log-body { padding: 20px 18px 22px; font-size: 15.5px; }

.ask {
  border-left: 3px solid var(--sky);
  background: var(--sky-soft);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 12px 14px;
  margin-bottom: 20px;
  color: var(--navy);
}

.ask .label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-deep);
  display: block;
  margin-bottom: 5px;
}

.row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(6px);
}

.row.in { animation: rowin 0.42s ease forwards; }
@keyframes rowin { to { opacity: 1; transform: none; } }

.row time { font-family: var(--mono); font-size: 12px; color: var(--faint); padding-top: 2px; font-variant-numeric: tabular-nums; }
.row .what { color: var(--slate); }
.row .what b { color: var(--navy); font-weight: 600; }

.row .what .stage {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--sky-deep);
  background: var(--sky-soft);
  border: 1px solid #cfe0ff;
  border-radius: 3px;
  padding: 1px 6px;
  white-space: nowrap;
}

.decide {
  margin-top: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--lift);
  padding: 15px 16px;
  opacity: 0;
}

.decide.in { animation: rowin 0.5s ease forwards; }

.decide .label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.decide p { margin: 0 0 13px; font-size: 15.5px; }
.decide p b { color: var(--navy); font-weight: 600; }
.decide .buttons { display: flex; gap: 8px; }

.decide .fake {
  font-size: 13.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  color: var(--slate);
  background: #fff;
}

.decide .fake.yes { border-color: var(--navy); background: var(--navy); color: #fff; }

/* ============================================================
   StaffCard — mascot, name, role, benefit line, tools, tasks,
   handwritten aside. Accent per card via .is-orange / .is-green;
   everything inside reads --accent, so one class recolours it.
   ============================================================ */

.roster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }

.staff-card {
  --accent: var(--sky);
  --accent-soft: var(--sky-soft);
  --accent-deep: var(--sky-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px 28px;
  box-shadow: var(--lift);
  display: flex;
  flex-direction: column;
}

.staff-card.is-orange { --accent: var(--orange); --accent-soft: var(--orange-soft); --accent-deep: var(--orange-deep); }
.staff-card.is-green { --accent: var(--green); --accent-soft: var(--green-soft); --accent-deep: var(--green-deep); }

.staff-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }

.staff-card .mascot {
  width: 54px;
  height: 54px;
  flex: none;
  background: var(--accent-soft);
  border-radius: var(--r-md);
  padding: 4px;
}

.staff-card h3 { font-size: var(--t-xl); margin: 0; }

.staff-card .role {
  margin: 3px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.staff-card .shout { font-size: 25px; max-width: none; margin-bottom: 16px; }
.staff-card .shout .hit { color: var(--accent); }

.tools { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 9px; padding: 0; list-style: none; }

.tools li {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--slate);
}

.tools svg { width: 17px; height: 17px; }
.tools-note { font-size: 13px; color: var(--faint); margin: 0 0 18px; }

.tasks {
  list-style: none;
  margin: 0 0 20px;
  padding: 14px;
  border-radius: var(--r-md);
  background: var(--mist);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--navy);
  line-height: 1.85;
}

.tasks li { display: flex; gap: 9px; }
.tasks li::before { content: ">"; color: var(--accent); }

.aside {
  margin: auto 0 0;
  font-family: var(--hand);
  font-size: 21px;
  line-height: 1.25;
  color: var(--accent-deep);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.aside svg { width: 24px; height: 24px; flex: none; margin-top: 5px; color: var(--accent); }

/* ---------- org chart ---------- */

.org { margin-top: 56px; text-align: center; }
.org .human, .org .bot { display: inline-flex; align-items: center; gap: 9px; border-radius: 999px; padding: 9px 17px; font-size: 14.5px; font-weight: 600; }
.org .human { background: var(--navy); color: #fff; }
.org .stem { width: 1px; height: 26px; background: var(--line-strong); margin: 0 auto; }
.org-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.org .bot { background: #fff; border: 1px solid var(--line); color: var(--navy); box-shadow: var(--lift); }
.org .bot .pip { width: 9px; height: 9px; border-radius: 2px; transform: rotate(45deg); }
.org .caption { font-size: 14.5px; color: var(--faint); margin: 20px 0 0; }

/* ---------- job quotes ---------- */

.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 38px 0 34px; }

.job {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 24px 26px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--navy);
  box-shadow: var(--lift);
}

.job::before {
  content: attr(data-kind);
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-deep);
  margin-bottom: 12px;
}

/* ---------- figures ---------- */

figure { margin: 44px 0 0; }
figure.flush { margin-top: 0; }

/* height:auto matters — the width/height attributes would otherwise pin the
   height while the width scales, squashing every screenshot. */
figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-md);
  border: 1px solid rgba(13, 36, 64, 0.12);
  box-shadow: var(--lift-lg);
}

figure.inline { margin: 30px 0 0; max-width: 520px; }
figure.inline img { border-radius: var(--r-sm); }
figcaption { font-size: 14.5px; color: var(--faint); margin-top: 14px; }

/* ---------- inverted band ---------- */

.band.dark {
  background: #0b1f38;
  background-image: radial-gradient(70% 90% at 15% 0%, rgba(43, 127, 255, 0.22), transparent 60%);
  color: #b3c4d8;
}

.band.dark h2, .band.dark .lede strong, .band.dark .shout { color: #fff; }
.band.dark .lede { color: #b3c4d8; }
.band.dark .eyebrow { color: #7fb0ff; }
.band.dark figcaption { color: #8296ad; }
.band.dark figure img { border-color: rgba(255, 255, 255, 0.1); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.75); }
.band.dark .btn { background: #fff; border-color: #fff; color: var(--navy); }
.band.dark .btn:hover { background: #e7eef7; }

/* ---------- two columns ---------- */

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.cols .lede { font-size: 18px; }

/* ---------- capability cards ---------- */

.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }

.cap {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--sky);
  border-radius: var(--r-md);
  padding: 24px 22px 26px;
}

.cap h3 { font-family: var(--body); font-size: var(--t-md); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.cap p { margin: 0; font-size: 15.5px; color: var(--slate); line-height: 1.55; }

/* ---------- waitlist ---------- */

.signup {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--lift-lg);
  padding: 34px 32px 32px;
}

.signup h2 { font-size: 28px; margin-bottom: 10px; }
.signup form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

.signup input {
  flex: 1 1 240px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--navy);
  font-family: var(--body);
  font-size: 16px;
  padding: 12px 14px;
}

.signup input::placeholder { color: var(--faint); }
.signup input:focus { border-color: var(--sky); outline: none; box-shadow: 0 0 0 3px rgba(43, 127, 255, 0.18); }

.signup .status { font-size: 14.5px; margin: 14px 0 0; min-height: 20px; color: var(--faint); }
.signup .status.ok { color: var(--green-deep); }
.signup .status.err { color: #c03a1c; }

/* ---------- pricing ---------- */

.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }

.tier { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 30px 28px 32px; box-shadow: var(--lift); }
.tier.lit { border-color: var(--sky); box-shadow: var(--lift-lg); }
.tier h3 { font-size: var(--t-2xl); margin-bottom: 6px; }

.tier .price {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky-deep);
  margin-bottom: 20px;
}

.tier ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tier li { padding: 12px 0 12px 24px; border-bottom: 1px solid var(--line); position: relative; font-size: 15.5px; color: var(--slate); }
.tier li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 7px; height: 7px; background: var(--sky); border-radius: 2px; transform: rotate(45deg); }
.tier li b { color: var(--navy); font-weight: 600; }

.rates {
  width: 100%;
  border-collapse: collapse;
  margin-top: 26px;
  font-size: 15.5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.rates th, .rates td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.rates tr:last-child td { border-bottom: 0; }

.rates th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 400;
  background: var(--mist);
}

.rates td { color: var(--slate); }
.rates td:first-child { color: var(--navy); font-weight: 600; }

/* ---------- faq ---------- */

.qa { margin-top: 44px; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }

.qa summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 19.5px;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
  list-style: none;
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "+"; font-family: var(--mono); color: var(--sky); font-size: 17px; }
.qa details[open] summary::before { content: "\2212"; }
.qa .answer { padding: 0 0 24px 33px; max-width: 74ch; color: var(--slate); }
.qa .answer a { color: var(--sky-deep); }
.qa .answer p:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */

.foot { border-top: 1px solid var(--line); background: var(--mist); padding: 44px 0 60px; font-size: 14.5px; color: var(--faint); }
.foot .shell { display: flex; gap: 26px; flex-wrap: wrap; align-items: baseline; }
.foot a { color: var(--slate); text-decoration: none; }
.foot a:hover { color: var(--navy); }
.foot .right { margin-left: auto; }

/* ---------- closing block ---------- */

.close { text-align: center; max-width: 640px; margin: 0 auto; }
.close h2 { margin: 0 auto 16px; max-width: 16ch; font-size: var(--t-3xl); }
.close .lede { margin: 0 auto; }
.close .signup { margin-top: 34px; text-align: left; }
.close .signup h2 { font-size: 28px; max-width: none; margin: 0 0 10px; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .roster { grid-template-columns: 1fr; }
  .staff-card { padding: 24px 22px 26px; }
}

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding: 60px 0 52px; }
  .cols { grid-template-columns: 1fr; gap: 30px; }
  .jobs { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .band { padding: 68px 0; }
  .nav { gap: 18px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .shell { padding: 0 20px; }
  .nav .hide-sm { display: none; }
  .row { grid-template-columns: 50px 1fr; }
  .signup { padding: 26px 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .row, .decide { opacity: 1; transform: none; animation: none !important; }
}
