/* Share Check storefront (vend.tasktoxica.com). Static, no scripts. The TaskToxica tokens and Inter (self-hosted,
   fonts/OFL.txt), copied from pilot-sites tasktoxica/ at 38db46f so the two sites read as one brand. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-bright: #2dd4bf;
  --line: #dfe5e1;
  --night: #0b1220;
  --night-2: #111a2e;
  --night-text: #cbd5e1;
  --hazard: #facc15; /* only on dark backgrounds or behind dark text, never as text on white */
  --hazard-ink: #1a1405;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 12px 32px rgba(15, 23, 42, 0.08);
  --gutter: 16px;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

a {
  color: var(--accent-strong);
  text-underline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: var(--gutter);
  top: 8px;
  background: var(--surface);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 10;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(11, 18, 32, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.wordmark small {
  white-space: nowrap;
  color: var(--accent-bright);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--night-text);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover {
  color: #ffffff;
}

/* Hero */
.hero {
  background: radial-gradient(1200px 400px at 80% -10%, rgba(45, 212, 191, 0.18), transparent 60%), var(--night);
  color: var(--night-text);
  padding: 64px 0 56px;
}

.eyebrow {
  display: inline-block;
  background: var(--hazard);
  color: var(--hazard-ink);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 16px 0 12px;
  max-width: 18ch;
}

.hero .lede {
  font-size: 1.15rem;
  max-width: 60ch;
  margin: 0 0 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 10px;
}

.button:hover {
  background: var(--accent-strong);
}

/* The ghost button on a light section (Travis 10:46: white on light was unreadable). 7.05:1 on --bg, 6.35:1 on hover. */
.button.ghost {
  background: transparent;
  color: var(--accent-strong);
  border: 1px solid var(--accent-strong);
}

.button.ghost:hover {
  background: rgba(15, 118, 110, 0.08);
}

/* On the dark hero: white, 18.7:1 on --night, 15.3:1 on hover. */
.hero .button.ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.hero .button.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Sections */
section {
  padding: 56px 0;
}

section + section {
  border-top: 1px solid var(--line);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0 0 12px;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 6px;
}

.section-lede {
  color: var(--muted);
  max-width: 65ch;
  margin: 0 0 28px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.list-check,
.list-not {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.list-check li,
.list-not li {
  padding-left: 28px;
  position: relative;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
}

.list-not li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.8em;
  width: 12px;
  height: 3px;
  background: var(--muted);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}

th,
td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

tr:last-child td {
  border-bottom: 0;
}

th {
  background: #eef2ef;
  font-weight: 700;
}

.sev {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e2e8f0;
  color: var(--ink);
}

.sev.high {
  background: var(--hazard);
  color: var(--hazard-ink);
}

/* Pricing */
.price {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 4px 0;
}

.price-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.notice {
  background: #fffbea;
  border: 1px solid #f1d77a;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 20px;
}

/* Code */
code,
pre {
  font-family: var(--mono);
  font-size: 0.9rem;
}

:not(pre) > code {
  background: #e9eeeb;
  padding: 1px 6px;
  border-radius: 6px;
}

pre {
  background: var(--night);
  color: #e2e8f0;
  padding: 16px;
  border-radius: 12px;
  overflow-x: auto;
  line-height: 1.5;
  margin: 12px 0 20px;
}

/* Docs layout */
.doc {
  padding: 40px 0 64px;
}

.doc h2 {
  margin-top: 40px;
}

.doc h3 {
  margin-top: 24px;
}

.doc p,
.doc li {
  max-width: 72ch;
}

/* Footer */
.site-footer {
  background: var(--night);
  color: var(--night-text);
  padding: 32px 0;
  font-size: 0.95rem;
}

.site-footer a {
  color: #ffffff;
}

.site-footer p {
  margin: 4px 0;
}

@media (max-width: 560px) {
  /* A phone keeps one menu link; the page itself is one scroll. */
  .nav a:not(.keep) {
    display: none;
  }

  .hero {
    padding: 44px 0 40px;
  }

  section {
    padding: 40px 0;
  }
}
