/* ShiftTally site. Brand tokens mirror mockups/desktop/tokens.css. */
:root {
  --bg: #0f0f1a;
  --surface: #17172a;
  --line: #2b2b44;
  --ink: #e8e8f0;
  --muted: #9294ae;
  --green: #10b981;
  --purple: #7c8cf8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 24px 96px;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.7 ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main { max-width: 720px; margin: 0 auto; }
.wide { max-width: 860px; }

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 32px 0;
  max-width: 720px;
  margin: 0 auto;
}
header.site.wide { max-width: 860px; }
header.site a.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
header.site svg { display: block; }
header.site .wordmark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
header.site .wordmark .t { color: var(--green); }

h1 {
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 24px 0 12px;
  text-wrap: balance;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 48px 0 10px;
}
h3 {
  font-size: 17px;
  margin: 28px 0 6px;
}
p { margin: 0 0 16px; }
.lede { font-size: 19px; color: var(--muted); margin-bottom: 32px; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 40px; }

a { color: var(--purple); }
a:hover { color: var(--ink); }

ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin: 0 0 8px; }

strong { color: var(--ink); font-weight: 600; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 0 0 24px;
}
.card h2, .card h3 { margin-top: 0; }
.card :last-child { margin-bottom: 0; }

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 20px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #07120d;
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 0 0 24px;
}
.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  margin: 0 0 24px;
}
th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }
th {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
td.no { color: var(--muted); }

code, .mono {
  font: 14px/1.5 ui-monospace, Consolas, monospace;
  color: var(--ink);
}

footer {
  max-width: 720px;
  margin: 72px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
footer.wide { max-width: 860px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: #07120d;
}
.btn:hover { border-color: var(--muted); }
.btn.primary:hover { filter: brightness(1.08); color: #07120d; }

.two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 0 0 24px;
}

@media (max-width: 560px) {
  body { padding: 0 18px 64px; font-size: 16px; }
  .card { padding: 20px; }
}
