/* Taskuler landing: no build step, system fonts only, no inline styles. */
:root {
  --bg: #f4f8fb;
  --bg-alt: #e9f0f6;
  --surface: #ffffff;
  --ink: #0d1a2b;
  --muted: #4a5b70;
  --line: #d3dee9;
  --accent: #0f766e;          /* teal, AA on --bg */
  --accent-strong: #0b5c56;
  --accent-2: #2563eb;        /* blue */
  --accent-soft: rgba(15, 118, 110, 0.09);
  --grad: linear-gradient(90deg, #2dd4bf, #2563eb);
  --warn: #9a5b00;
  --warn-soft: rgba(217, 140, 0, 0.12);
  --navy: #0b1422;
  --navy-2: #101c2e;
  --navy-line: #1d2e45;
  --navy-ink: #e6eef8;
  --navy-muted: #9fb3c8;
  --shadow: 0 1px 0 rgba(0,0,0,.03), 0 18px 40px -24px rgba(11, 40, 80, .35);
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1422;
    --bg-alt: #0e1929;
    --surface: #111e31;
    --ink: #e6eef8;
    --muted: #9fb3c8;
    --line: #1d2e45;
    --accent: #2dd4bf;
    --accent-strong: #5eead4;
    --accent-2: #60a5fa;
    --accent-soft: rgba(45, 212, 191, 0.10);
    --warn: #fbbf24;
    --warn-soft: rgba(251, 191, 36, 0.10);
    --navy: #070e19;
    --navy-2: #0c1626;
    --shadow: 0 1px 0 rgba(255,255,255,.03), 0 24px 50px -28px rgba(0,0,0,.85);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  /* grid, as in the banner */
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  background-attachment: fixed;
  background-position: -1px -1px;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, transparent 0%, var(--bg) 70%);
  opacity: .93;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
code { font-family: var(--mono); font-size: .9em; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h1 em {
  font-style: italic; color: var(--accent);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); max-width: 26ch; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: var(--bg); padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: .5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header::before { content: ""; display: block; height: 3px; background: var(--grad); }
.nav { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand-logo { width: 34px; height: 34px; flex: none; }
.brand-name { line-height: 1; }
.site-footer .brand-logo { width: 40px; height: 40px; }
.site-footer .brand { font-size: 1.45rem; }
.nav nav { margin-left: auto; }
.nav nav ul { list-style: none; display: flex; gap: 1.3rem; margin: 0; padding: 0; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav nav a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .8rem 1.25rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--accent); color: #fff; font-weight: 650; text-decoration: none; font-size: 1rem;
  font-family: inherit; cursor: pointer; transition: transform .15s ease, background .15s ease, filter .15s ease;
}
.btn:not(.btn-ghost) { background: linear-gradient(90deg, #0f766e, #1d4ed8); }
.btn:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.08); }
@media (prefers-color-scheme: dark) {
  .btn:not(.btn-ghost) { background: var(--grad); color: #04121c; }
  .btn:not(.btn-ghost):hover { color: #04121c; }
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--ink); border-color: var(--accent); filter: none; }
.btn-small { padding: .5rem .95rem; font-size: .9rem; }

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.kicker, .eyebrow {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.1rem;
}
.eyebrow::before { content: "✓ "; opacity: .7; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.lede strong { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.6rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--accent); margin-right: .45rem; font-weight: 700; }

/* Job card (hero illustration) */
.job-card {
  margin: 0; background: var(--navy); color: var(--navy-ink); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--navy-line);
  font-size: .92rem; position: relative;
}
.job-card::before { content: ""; display: block; height: 4px; background: var(--grad); }
.job-head { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; border-bottom: 1px solid var(--navy-line); background: var(--navy-2); font-family: var(--mono); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #23354e; }
.dot:first-child { background: #2dd4bf; }
.job-title { margin-left: .5rem; color: var(--navy-muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline { list-style: none; margin: 0; padding: 1.1rem 1.2rem .4rem 1.2rem; }
.timeline li { position: relative; padding: 0 0 1rem 1.9rem; display: grid; gap: .1rem; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: .2rem; width: 14px; height: 14px; border-radius: 4px;
  border: 2px solid #2dd4bf; background: var(--navy);
}
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 1.15rem; bottom: .1rem; width: 2px; background: #1f3a4f; }
.timeline li.t-done::before { background: #2dd4bf; box-shadow: 0 0 0 4px rgba(45, 212, 191, .18); }
.t-step { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #5eead4; }
.t-text { color: var(--navy-ink); }
.job-rules { border-top: 1px dashed var(--navy-line); padding: .9rem 1.2rem .3rem; font-size: .88rem; color: var(--navy-muted); }
.job-rules p { margin: 0 0 .55rem; }
.tag { display: inline-block; padding: .05rem .5rem; margin-right: .35rem; border-radius: 999px; font-family: var(--mono); font-size: .72rem; border: 1px solid #2dd4bf; color: #5eead4; }
.tag.alt { border-color: #60a5fa; color: #93c5fd; }
.job-card figcaption { padding: .3rem 1.2rem 1rem; color: #7d93ab; font-size: .78rem; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; border-top: 1px solid var(--line); }
.section-alt { background: color-mix(in srgb, var(--bg-alt) 92%, transparent); }
.section-lede { color: var(--muted); font-size: 1.1rem; max-width: 46rem; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.pull {
  margin: 1.5rem 0; padding: 1.1rem 1.4rem; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0;
  background: var(--accent-soft); font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; font-style: italic;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step { position: relative; padding: 1.6rem 1.4rem 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.step-n { font-family: var(--mono); font-size: 2.2rem; font-weight: 700; line-height: 1; display: inline-block; margin-bottom: .9rem; color: var(--accent); }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }
.steps .step:not(:last-child)::after {
  content: ""; position: absolute; top: 2.3rem; right: -1.25rem; width: 1.25rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 10px);
}
.roles { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin-top: 2rem; color: var(--muted); font-size: .98rem; }
.roles p { margin: 0; }
.roles strong { color: var(--ink); }

/* Tables */
.table-wrap { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: .95rem 1.2rem; border-bottom: 1px solid var(--line); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; background: var(--bg-alt); }
tbody th { font-weight: 650; white-space: nowrap; }
.prot tbody th { color: var(--accent); }
.prot td, .dist td { color: var(--muted); }
.sub { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); white-space: normal; }
.dist td:nth-child(2) { font-family: var(--mono); font-weight: 700; color: var(--ink); white-space: nowrap; }

/* Cards */
.cards { display: grid; gap: 1.25rem; }
.cards.three { grid-template-columns: repeat(3, 1fr); margin-top: 2rem; }
.cards.two { grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.card h3 { font-family: var(--mono); font-size: 1.25rem; color: var(--accent); }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card strong { color: var(--ink); }
.phase { position: relative; overflow: hidden; }
.phase-1::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.phase-label { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 700; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: .5rem 0 .5rem 1.6rem; position: relative; color: var(--muted); border-bottom: 1px solid var(--line); }
.plain li:last-child { border-bottom: 0; }
.plain li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.sub-h { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 600; margin: 3rem 0 .5rem; }
.sub-h + .section-lede { margin-bottom: 0; }
.note { margin-top: 1.5rem; color: var(--muted); max-width: 60rem; }
.note strong { color: var(--ink); }

/* Draft token distribution */
.draft { margin-top: 2.5rem; padding: 1.6rem; border: 2px dashed var(--warn); border-radius: var(--radius); background: var(--warn-soft); }
.draft-head { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; }
.draft-head h3 { margin: 0; font-size: 1.2rem; }
.draft-badge { font-family: var(--mono); font-weight: 700; font-size: .8rem; letter-spacing: .12em; padding: .25rem .65rem; border-radius: 6px; background: var(--warn); color: #fff; }
@media (prefers-color-scheme: dark) { .draft-badge { color: #1a1200; } }
.draft .table-wrap { margin-top: 1.25rem; }
.legal { margin: 1.25rem 0 0; font-size: .95rem; color: var(--ink); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: .3rem 0; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 1.5rem; }
summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; font-weight: 650; font-size: 1.08rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font-family: var(--mono); font-size: 1.3rem; color: var(--accent); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: .8rem; margin: 0; max-width: 44rem; }

/* Join */
.join { background: var(--navy); color: var(--navy-ink); border-top: 0; position: relative; }
.join::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.join .eyebrow { color: #2dd4bf; }
.join h2 { color: #f2f7fc; }
.join .section-lede { color: var(--navy-muted); }
.join-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.waitlist { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 1.6rem; }
.soon { display: block; }
.soon-title { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: #f2f7fc; margin: 0 0 .5rem; }
.soon-title::before { content: "✓ "; color: #2dd4bf; }
.soon-text { color: var(--navy-muted); margin: 0; }

/* Footer */
.site-footer { padding: 3rem 0 2.5rem; border-top: 1px solid var(--line); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; }
.footer-tag { color: var(--muted); margin-top: .8rem; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; columns: 2; }
.site-footer nav li { margin-bottom: .5rem; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.fineprint { grid-column: 1 / -1; color: var(--muted); font-size: .82rem; border-top: 1px solid var(--line); padding-top: 1.2rem; margin: 0; }

/* Responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step:not(:last-child)::after { display: none; }
}
@media (max-width: 980px) {
  .hero-grid, .split, .join-grid { grid-template-columns: 1fr; }
  .cards.three { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .nav .btn-small { margin-left: auto; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .cards.two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .lede { font-size: 1.08rem; }
  th, td { padding: .75rem .85rem; }
  tbody th { white-space: normal; }
  /* stack the protections table into label/value rows */
  .prot thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prot tr, .prot th, .prot td { display: block; }
  .prot tbody th { border-bottom: 0; padding-bottom: .1rem; }
  .prot tr { border-bottom: 1px solid var(--line); }
  .prot tr:last-child { border-bottom: 0; }
  .prot td { border-bottom: 0; padding-top: .2rem; }
  .draft { padding: 1.1rem; }
  .waitlist { padding: 1.2rem; }
  .pull { font-size: 1.15rem; }
}
@media (max-width: 460px) {
  .nav .btn-small { display: none; }
  .cta-row .btn { width: 100%; }
  .dist th, .dist td { padding: .65rem .6rem; font-size: .9rem; }
}
@media print {
  .site-header { position: static; }
  body { background: #fff; }
}
