  /* layout: sticky punch-clock nav; hero split into headline + "job ticket" pay-stub card;
     ledger table and stat strip use tabular monospace figures throughout, like a real timesheet */
  :root {
    --bg: #16130f;
    --surface: #1e1a15;
    --surface-2: #272019;
    --fg: #f3eee3;
    --muted: #9c9284;
    --accent: #1dbf73;
    --accent-fg: #f3fdf8;
    --border: #35302a;
    --good: #8fbf73;
    --good-fg: #16210f;
    --bad: #e2765a;
    --shadow: 0 20px 60px -20px rgba(0,0,0,.55);
    --font-display: 'Big Shoulders Display', system-ui, sans-serif;
    --font-body: 'Work Sans', system-ui, -apple-system, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
    color-scheme: dark;
  }
  @media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
      --bg: #f6f1e6;
      --surface: #ffffff;
      --surface-2: #efe7d4;
      --fg: #1c1812;
      --muted: #6c6252;
      --accent: #0f9d5c;
      --accent-fg: #f3fdf8;
      --border: #e1d6bf;
      --good: #43692e;
      --good-fg: #eef6e6;
      --bad: #b3432a;
      --shadow: 0 20px 50px -24px rgba(28,24,18,.2);
      color-scheme: light;
    }
  }
  :root[data-theme="light"] {
    --bg: #f6f1e6;
    --surface: #ffffff;
    --surface-2: #efe7d4;
    --fg: #1c1812;
    --muted: #6c6252;
    --accent: #0f9d5c;
    --accent-fg: #f3fdf8;
    --border: #e1d6bf;
    --good: #43692e;
    --good-fg: #eef6e6;
    --bad: #b3432a;
    --shadow: 0 20px 50px -24px rgba(28,24,18,.2);
    color-scheme: light;
  }

  * { box-sizing: border-box; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
  }
  .wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
  h1, h2, h3 { font-family: var(--font-display); font-weight: 800; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
  p { margin: 0; }
  a { color: inherit; }
  .mono { font-family: var(--font-mono); }
  .small { font-size: .78rem; letter-spacing: .02em; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

  /* nav */
  .nav {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
  .brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
  .brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--accent); color: var(--accent-fg); }
  .brand-mark svg { width: 16px; height: 16px; }
  .brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
  .nav-links { display: flex; gap: 26px; font-size: .92rem; color: var(--muted); }
  .nav-links a { text-decoration: none; }
  .nav-links a:hover { color: var(--fg); }
  .nav-actions { display: flex; gap: 10px; }

  .btn {
    font-family: var(--font-body); font-weight: 600; font-size: .88rem;
    border-radius: 8px; padding: 9px 16px; border: 1px solid var(--border);
    background: transparent; color: var(--fg); cursor: pointer;
    transition: border-color .15s ease, filter .15s ease, transform .1s ease;
  }
  .btn:hover { border-color: var(--fg); }
  .btn:active { transform: translateY(1px); }
  .btn-primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
  .btn-primary:hover { filter: brightness(1.07); border-color: var(--accent); }
  .btn-ghost { background: transparent; }
  .btn-lg { padding: 12px 20px; font-size: .95rem; }

  /* hero */
  .hero {
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px;
    align-items: center; padding-block: 64px 56px;
  }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: .78rem; color: var(--muted);
    border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px 6px 10px;
    margin-bottom: 22px;
  }
  .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); flex: none; animation: pulse 2.2s ease-in-out infinite; }
  @media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
  @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

  .hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.1rem); line-height: 1.0; letter-spacing: -.01em; }
  .lede { margin-top: 20px; font-size: 1.08rem; line-height: 1.6; color: var(--muted); max-width: 46ch; }
  .hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
  .link-arrow { font-size: .92rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--border); padding-bottom: 2px; }
  .link-arrow:hover { border-color: var(--fg); }
  .hero-meta { margin-top: 18px; font-size: .84rem; color: var(--muted); }

  .hero-loop {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin: 22px 0 0;
    padding: 0;
  }
  .hero-loop li { display: flex; align-items: center; gap: 8px; color: var(--fg); }
  .hero-loop-no {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--accent-fg);
    font-size: .72rem;
    flex: none;
  }
  .hero-loop-arrow { color: var(--muted); }

  /* ticket card */
  .ticket {
    background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
    box-shadow: var(--shadow); overflow: hidden;
  }
  .ticket-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--surface-2);
  }
  .ticket-head-label { display: flex; align-items: center; gap: 10px; color: var(--muted); }
  .badge {
    font-family: var(--font-mono); font-size: .68rem; letter-spacing: .04em;
    border: 1px solid var(--border); border-radius: 999px; padding: 3px 8px; color: var(--muted);
  }
  .ticket-icons { display: flex; gap: 6px; }
  .icon-btn {
    display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px;
    border: 1px solid var(--border); color: var(--muted); background: transparent;
  }
  .icon-btn svg { width: 14px; height: 14px; }

  .ticket-body { padding: 20px 18px 4px; }
  .ticket-agent { color: var(--muted); margin-bottom: 10px; }
  .ticket-task { font-size: 1.05rem; line-height: 1.5; }
  .ticket-sub { color: var(--muted); margin-top: 12px; display: flex; align-items: center; gap: 8px; }
  .status-chip {
    font-family: var(--font-mono); font-size: .68rem; letter-spacing: .03em;
    background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent);
    border-radius: 999px; padding: 3px 9px;
  }
  .status-chip.done { background: color-mix(in srgb, var(--good) 20%, transparent); color: var(--good); }

  .ticket-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px; }
  .stat-box { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
  .stat-label { display: block; font-size: .72rem; color: var(--muted); margin-bottom: 6px; }
  .stat-value { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
  .accent-text { color: var(--accent); }

  .ticket-note { padding: 0 18px 16px; font-size: .78rem; color: var(--muted); font-style: italic; }

  .ticket-footer { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
  .ticket-footer > div { padding: 12px 14px; border-right: 1px solid var(--border); }
  .ticket-footer > div:last-child { border-right: none; }
  .ticket-footer .label { display: block; color: var(--muted); margin-bottom: 4px; }
  .footer-desc { font-size: .78rem; line-height: 1.35; display: block; }

  /* stat strip */
  .strip {
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    display: grid; grid-template-columns: repeat(4, 1fr);
  }
  .strip-item { padding: 24px; border-right: 1px solid var(--border); min-width: 0; }
  .strip-item:last-child { border-right: none; }
  .strip-value { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
  .strip-label { font-size: .82rem; color: var(--muted); line-height: 1.4; }

  /* platforms */
  .platforms { padding-block: 40px; text-align: center; }
  .platforms-label { color: var(--muted); margin-bottom: 16px; }
  .chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .chip {
    font-family: var(--font-mono); font-size: .82rem; border: 1px solid var(--border);
    border-radius: 999px; padding: 7px 14px; color: var(--fg);
  }

  /* how it works */
  .how { padding-block: 56px; border-top: 1px solid var(--border); }
  .how h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 40px; max-width: 20ch; }
  .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps li { min-width: 0; }
  .step-no { display: block; color: var(--accent); font-size: .9rem; margin-bottom: 10px; }
  .steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
  .steps p { color: var(--muted); font-size: .92rem; line-height: 1.55; }

  /* ledger */
  .ledger { padding-block: 56px; border-top: 1px solid var(--border); }
  .ledger-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
  .ledger-head h2 { font-size: 1.5rem; }
  .ledger-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
  table.ledger-table { width: 100%; border-collapse: collapse; min-width: 560px; }
  .ledger-table th {
    text-align: left; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .03em;
    color: var(--muted); font-weight: 500; padding: 12px 16px; border-bottom: 1px solid var(--border);
    background: var(--surface-2);
  }
  .ledger-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); font-size: .9rem; }
  .ledger-table tr:last-child td { border-bottom: none; }
  .ledger-table tr:hover td { background: color-mix(in srgb, var(--surface-2) 60%, transparent); }
  .ledger-table td.num { font-variant-numeric: tabular-nums; }

  /* footer */
  footer.footer { padding-block: 44px 56px; border-top: 1px solid var(--border); }
  .footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
  .footer-brand { font-size: 1.1rem; margin-bottom: 6px; }
  .footer-tag { color: var(--muted); font-size: .88rem; }
  .ca-row {
    display: flex; align-items: center; gap: 10px; border: 1px solid var(--border);
    border-radius: 999px; padding: 8px 8px 8px 14px; color: var(--muted);
  }
  .ca-value { color: var(--fg); }
  .footer-bottom {
    margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border);
    display: flex; justify-content: flex-end; align-items: center; gap: 16px; flex-wrap: wrap;
  }
  .footer-disclaimer { font-size: .8rem; color: var(--muted); max-width: 52ch; line-height: 1.5; }
  .social-row { display: flex; gap: 8px; }

  @media (max-width: 920px) {
    .hero { grid-template-columns: 1fr; padding-block: 40px 36px; }
    .nav-links { display: none; }
    .strip { grid-template-columns: 1fr 1fr; }
    .strip-item:nth-child(2) { border-right: none; }
    .strip-item:nth-child(3), .strip-item:nth-child(4) { border-top: 1px solid var(--border); }
    .steps { grid-template-columns: 1fr; gap: 28px; }
    .ticket-footer { grid-template-columns: 1fr; }
    .ticket-footer > div { border-right: none; border-bottom: 1px solid var(--border); }
    .ticket-footer > div:last-child { border-bottom: none; }
  }
  @media (max-width: 560px) {
    .wrap { padding-inline: 16px; }
    .hero-actions { gap: 14px; }
    .btn-lg { width: 100%; text-align: center; }
    .ticket-stats { grid-template-columns: 1fr; }
  }

/* launch page: form on the left, live ticket preview on the right */
.launch-hero { padding-block: 56px 28px; }
.launch-hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.08; letter-spacing: -.02em; max-width: 18ch; }
.launch-hero .lede { margin-top: 16px; font-size: 1.05rem; color: var(--muted); max-width: 50ch; }

.launch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-block: 8px 64px; align-items: start; }

.launch-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: .85rem; font-weight: 600; }
.field-optional { font-weight: 400; color: var(--muted); }
.field-hint { font-size: .78rem; color: var(--muted); }

input[type="text"], input[type="number"], input[type="file"], textarea, select {
  font-family: var(--font-body); font-size: .95rem; color: var(--fg); background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; width: 100%;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }

.ticker-field, .sol-field { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); overflow: hidden; }
.ticker-field input, .sol-field input { border: none; background: transparent; padding-left: 4px; }
.ticker-prefix, .sol-suffix { padding: 0 12px; color: var(--muted); font-size: .9rem; }

.form-note { font-size: .78rem; color: var(--muted); margin-top: -6px; }
.launch-status { font-size: .8rem; margin-top: 2px; min-height: 1.2em; }
.launch-status.is-pending { color: var(--muted); }
.launch-status.is-success { color: var(--good); }
.launch-status.is-success a { color: var(--good); text-decoration: underline; }
.launch-status.is-error { color: var(--bad); }
.btn.is-loading { opacity: .75; cursor: wait; }

.launch-preview { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); }
.preview-label { color: var(--muted); margin-bottom: 10px; }

@media (max-width: 860px) {
  .launch-grid { grid-template-columns: 1fr; }
  .launch-preview { position: static; }
}


/* scroll reveal: sections and cards animate in on first scroll into view */
[data-reveal] {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1);
}
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="up"] { transform: translateY(26px); }
[data-reveal].in-view { opacity: 1; transform: translate(0, 0); }

.strip-item[data-reveal] { transition-delay: calc(var(--stagger, 0) * 100ms); }
.steps li[data-reveal] { transition-delay: calc(var(--stagger, 0) * 120ms); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* why section: typical coin vs a dayjob coin */
.why { padding-block: 56px; border-top: 1px solid var(--border); }
.why h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); max-width: 22ch; margin-bottom: 32px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-card { border: 1px solid var(--border); border-radius: 12px; padding: 24px; background: var(--surface); min-width: 0; }
.why-card-accent { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.why-label { display: block; color: var(--muted); margin-bottom: 12px; }
.why-card-accent .why-label { color: var(--accent); }
.why-text { font-size: .98rem; line-height: 1.6; color: var(--fg); }

/* agent specialties grid */
.specialties { padding-block: 56px; border-top: 1px solid var(--border); }
.section-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.section-sub { color: var(--muted); margin-top: 8px; font-size: .95rem; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.spec-card { border: 1px solid var(--border); border-radius: 12px; padding: 20px; background: var(--surface); min-width: 0; }
.spec-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--surface-2); color: var(--accent); margin-bottom: 14px; }
.spec-icon svg { width: 18px; height: 18px; }
.spec-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.spec-card p { font-size: .86rem; color: var(--muted); line-height: 1.5; }

/* faq accordion */
.faq { padding-block: 56px; border-top: 1px solid var(--border); }
.faq h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; background: var(--surface); }
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: .98rem; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--font-mono); color: var(--muted); font-size: 1.15rem; flex: none;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: 12px; color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* closing cta band */
.cta-band { padding-block: 56px 64px; border-top: 1px solid var(--border); }
.cta-inner {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 48px 32px; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 16px;
}
.cta-inner h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); max-width: 20ch; }
.cta-sub { color: var(--muted); max-width: 42ch; }

@media (max-width: 760px) {
  .why-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .spec-grid { grid-template-columns: 1fr; }
}

/* wallet connect button, once a wallet is linked */
.btn.wallet-connected { border-color: var(--good); color: var(--good); }

/* agents at work (homepage) */
.agents { padding-block: 56px; border-top: 1px solid var(--border); }
.agents .section-head h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sample-tag {
  background: color-mix(in srgb, var(--muted) 18%, transparent);
  color: var(--muted); border-color: transparent; font-weight: 600; vertical-align: middle;
}
.agents-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
.agent-card {
  border: 1px solid var(--border); border-radius: 12px; padding: 20px;
  background: var(--surface); min-width: 0; display: flex; gap: 14px;
}
.agent-icon {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px;
  background: var(--surface-2); color: var(--accent); flex: none;
}
.agent-icon svg { width: 18px; height: 18px; }
.agent-main { min-width: 0; }
.agent-name { font-size: .98rem; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.agent-role { color: var(--muted); margin-top: 4px; }
.agent-status { margin-top: 10px; }
.agent-addr { margin-top: 10px; color: var(--muted); overflow-wrap: anywhere; }
.agent-addr .label { color: var(--muted); margin-right: 6px; opacity: .75; }
.chip-sm { font-size: .68rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); }

@media (max-width: 480px) {
  .agent-card { flex-direction: column; }
}
