/*
 * satsforcompute.com — pay sats, get attested compute
 *
 * Visual sibling to devopsdefender.com: same monochrome cryptographic
 * theme (near-black + single mint-green "verified" accent + monospace
 * typography + hex-band motif). Customer-facing copy here, builder-
 * facing on the dd page.
 */

:root {
  --bg:        #08080d;
  --bg-rise:  #0d0d14;
  --fg:        #e8e8ec;
  --fg-dim:   #8a8a9c;
  --fg-mute:  #50505e;
  --line:      rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent:   #00d68f;
  --accent-soft: rgba(0, 214, 143, 0.10);
  --warn:     #f4a361;
  --bad:      #ef6c75;
  --mono:     "JetBrains Mono", "SF Mono", ui-monospace, "Cascadia Mono", "Fira Code", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.7;
  font-feature-settings: "calt" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; border-bottom: 1px dotted var(--accent-soft); }
a:hover { border-bottom-color: var(--accent); }

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--bg-rise);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--fg);
}

em { font-style: italic; color: var(--fg); }
strong { color: var(--accent); font-weight: 600; }

.muted { color: var(--fg-mute); }
.ok    { color: var(--accent); }

/* hex-band */
.hex-band {
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 6px 24px;
  user-select: none;
}
.hex-band.footer-band { border-bottom: none; border-top: 1px solid var(--line); margin-top: 64px; }
.hex-band span { display: inline-block; opacity: 0.55; }

/* header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(8, 8, 13, 0.92);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.brand {
  font-weight: 600;
  color: var(--fg);
  border-bottom: none;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.brand .dot { color: var(--accent); margin-right: 4px; }
nav { display: flex; gap: 24px; }
nav a {
  color: var(--fg-dim);
  font-size: 13px;
  border-bottom: none;
}
nav a:hover { color: var(--fg); }

/* sections */
section {
  max-width: 800px;
  margin: 0 auto;
  padding: 96px 32px;
  border-bottom: 1px solid var(--line);
}
section:last-of-type { border-bottom: none; }

h1, h2, h3, h4 { color: var(--fg); font-weight: 600; letter-spacing: -0.015em; }
h2 {
  font-size: 22px;
  margin-bottom: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.01em;
}
h3 { font-size: 16px; margin-bottom: 10px; color: var(--fg); }

p { margin-bottom: 16px; }

ul {
  margin: 0 0 16px 0;
  padding-left: 0;
  list-style: none;
}
ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  color: var(--fg);
}
ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--fg-mute);
  font-size: 13px;
}

pre.code {
  background: var(--bg-rise);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px 20px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.65;
  margin: 18px 0;
  color: var(--fg);
}
pre.code .comment { color: var(--fg-mute); font-style: italic; }
pre.code .str { color: var(--accent); }

/* hero */
.hero {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 32px 96px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  font-weight: 600;
}
.hero h1 .accent { color: var(--accent); }
.hero .lede {
  font-size: 18px;
  color: var(--fg-dim);
  max-width: 620px;
  margin-bottom: 36px;
  line-height: 1.55;
}
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--mono);
  border: 1px solid var(--line-strong);
  color: var(--fg);
  background: transparent;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn.primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn.primary:hover { background: transparent; color: var(--accent); }
.btn.ghost { color: var(--fg-dim); }

.proof {
  font-size: 12px;
  color: var(--fg-mute);
  border-left: 2px solid var(--accent-soft);
  padding-left: 14px;
  margin-top: 24px;
  font-family: var(--mono);
}
.proof code { background: transparent; border: none; padding: 0; color: var(--accent); }

/* modes (two side-by-side cards, same as dd) */
.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.mode {
  background: var(--bg-rise);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
}
.mode h3 { margin: 12px 0 12px; font-size: 17px; }
.mode p { color: var(--fg); font-size: 14px; margin-bottom: 12px; line-height: 1.6; }
.mode p.dim { color: var(--fg-mute); font-style: italic; font-size: 13px; }
.mode-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--mono);
}
.mode-customer h3 { color: #cba6f7; }
.mode-customer .mode-tag { background: rgba(203, 166, 247, 0.15); color: #cba6f7; }
.mode-confidential h3 { color: var(--warn); }
.mode-confidential .mode-tag { background: rgba(244, 163, 97, 0.15); color: var(--warn); }

/* steps */
.steps { list-style: none; padding-left: 0; }
.steps > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.steps > li::before { content: ""; }
.steps > li:first-child { border-top: none; padding-top: 8px; }
.steps .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-mute);
  letter-spacing: 0.05em;
  padding-top: 4px;
  font-feature-settings: "tnum" 1;
}
.steps h3 { margin-bottom: 8px; }
.steps p { margin-bottom: 12px; color: var(--fg-dim); }
.steps pre.code { font-size: 12px; }

/* pricing table */
table.pricing {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 18px;
  font-size: 14px;
}
table.pricing td {
  padding: 14px 12px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  line-height: 1.6;
}
table.pricing td:first-child { width: 200px; white-space: nowrap; }
.callout {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--accent-soft);
  border-left: 2px solid var(--accent);
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  color: var(--fg);
}

/* verify footnote */
.footnote {
  font-size: 13px;
  color: var(--fg-mute);
  border-left: 2px solid var(--line-strong);
  padding-left: 14px;
  margin-top: 18px;
}

/* final CTA */
.cta-section { text-align: left; }
.cta-section h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 12px;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.cta-section p { color: var(--fg-dim); margin-bottom: 24px; }

/* footer */
footer { padding-bottom: 24px; }
.foot-row {
  max-width: 800px;
  margin: 0 auto;
  padding: 18px 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--fg-mute);
}
.foot-row .brand { font-size: 12px; color: var(--fg-dim); }
.foot-row .links { display: flex; gap: 18px; }
.foot-row .links a {
  color: var(--fg-mute);
  border-bottom: none;
  font-size: 12px;
}
.foot-row .links a:hover { color: var(--accent); }

/* responsive */
@media (max-width: 640px) {
  header { padding: 16px 20px; flex-wrap: wrap; gap: 14px; }
  nav { gap: 14px; flex-wrap: wrap; }
  nav a { font-size: 12px; }
  section, .hero { padding: 72px 20px; }
  .modes { grid-template-columns: 1fr; }
  .steps > li { grid-template-columns: 1fr; gap: 8px; }
  .steps .num { padding-top: 0; }
  table.pricing td:first-child { width: auto; }
  .foot-row { padding: 18px 20px 0; flex-direction: column; align-items: flex-start; }
}
