/* zarvis.co — one file, no build step, no external requests.
   Deliberately self-contained: a landing page that fetches a font from a CDN
   is a landing page that breaks when the CDN does, and this one has to survive
   being the first thing anyone sees. */

:root {
  --bg: #ffffff;
  --panel: #f6f6f7;
  --ink: #16161a;
  --muted: #5c5c66;
  --line: #e3e3e7;
  --accent: #6d4aff;
  --accent-ink: #ffffff;
  --code: #f0eefb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101014;
    --panel: #17171c;
    --ink: #ececf1;
    --muted: #9a9aa6;
    --line: #26262e;
    --accent: #9b83ff;
    --accent-ink: #14141a;
    --code: #1b1826;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: min(760px, 90vw); margin: 0 auto; }

/* --- header --------------------------------------------------------------- */

header {
  border-bottom: 1px solid var(--line);
  padding: 5rem 0 3.5rem;
  background: var(--panel);
}

.mark {
  width: 46px; height: 52px;
  margin-bottom: 1.5rem;
  background: var(--accent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  position: relative;
}
.mark::after {
  content: "";
  position: absolute;
  left: 18%; right: 18%; top: 46%;
  height: 5px;
  border-radius: 3px;
  background: var(--panel);
}

h1 {
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 .4rem;
  letter-spacing: -0.03em;
}

.tagline { margin: 0 0 1.4rem; font-size: 1.15rem; color: var(--muted); }
.lede { margin: 0 0 1.1rem; font-size: 1.15rem; max-width: 34rem; }
.never { margin: 0 0 2rem; color: var(--muted); max-width: 34rem; }
.never strong { color: var(--ink); }

.cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.2rem; }

.btn {
  display: inline-block;
  padding: .7rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
  background: var(--bg);
}
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.08); }

.cost { margin: 0; color: var(--muted); font-size: .93rem; }

/* --- body ----------------------------------------------------------------- */

main { padding: 3.5rem 0 1rem; }
section { margin-bottom: 3.5rem; }

h2 {
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}

p { max-width: 38rem; }

.steps { padding-left: 1.2rem; max-width: 38rem; }
.steps li { margin-bottom: .5rem; }

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .9em;
  background: var(--code);
  padding: .12em .38em;
  border-radius: 4px;
}

.formula {
  background: var(--code);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  overflow-x: auto;
  max-width: 38rem;
}
.formula code { background: none; padding: 0; font-size: .95rem; line-height: 1.7; }

table {
  border-collapse: collapse;
  width: 100%;
  max-width: 38rem;
  margin-bottom: 1.2rem;
  display: block;
  overflow-x: auto;
}
th, td {
  text-align: left;
  padding: .6rem .8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

.callout {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.8rem;
}
.callout h2 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* --- footer --------------------------------------------------------------- */

footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: .93rem;
}
footer a { color: var(--muted); }
footer span { margin: 0 .5rem; opacity: .5; }
.by { margin: .8rem 0 0; }
