/* GeekScience · Terminal × Iris
   Near-black field, lime spark, Inter + IBM Plex Mono.
   Palette colours are design elements. Text is near-white. */

:root {
  --bg: #0b0b0c;
  --bg-2: #0f0f11;
  --line: #1c1c1f;
  --line-2: #202024;
  --ink: #f2f2f3;
  --muted: #8b8b92;
  --dim: #6a6a72;
  --spark: #dbf4a7;
  --iris: #7d84b2;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1320px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--spark); color: var(--bg); }
:focus-visible { outline: 2px solid var(--spark); outline-offset: 3px; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 56px 56px;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 30;
  padding: 8px 12px;
  background: var(--spark);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
}
.skip:focus { top: 12px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
}
.nav__in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
}
.logo__mark {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
.nav__links {
  display: flex;
  gap: 22px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.nav__links a::before { content: "/ "; color: #46464d; }
.nav__links a:hover { color: var(--spark); }
.nav__wa {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.nav__wa i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--spark);
}
.nav__wa:hover { color: var(--spark); }

/* ---------- hero ---------- */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px var(--gutter) 76px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--spark);
}
.display {
  margin-top: 22px;
  font-size: clamp(44px, 6.6vw, 92px);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: .93;
}
.display em { font-style: normal; color: var(--spark); }
.display--sm { font-size: clamp(32px, 5vw, 56px); }
.line { display: block; overflow: hidden; }
.line > span { display: block; }
.type {
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 14px;
  color: #9a9aa2;
  min-height: 22px;
}
.caret {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--spark);
  margin-left: 3px;
  transform: translateY(2px);
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.deck {
  margin-top: 22px;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  padding: 13px 22px;
  border: 1px solid #2a2a2f;
  color: #dcdce0;
  transition: border-color .22s, color .22s, background .22s;
}
.btn:hover { border-color: var(--spark); color: var(--spark); }
.btn--solid {
  background: var(--spark);
  border-color: var(--spark);
  color: var(--bg);
  font-weight: 600;
}
.btn--solid:hover { background: transparent; color: var(--spark); }

.panel { border: 1px solid var(--line-2); background: var(--bg-2); }
.panel__bar {
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  color: #75757d;
}
.panel__k { margin-left: auto; color: var(--spark); }
.panel__chart { padding: 8px 0 0; overflow: hidden; }
.panel__chart svg { width: 100%; height: 190px; display: block; overflow: hidden; }
.tl-grid path { fill: none; stroke: #1a1a1e; stroke-width: 1; vector-effect: non-scaling-stroke; }
.tl-line { fill: none; stroke: var(--spark); stroke-width: 2; vector-effect: non-scaling-stroke; }
.tl-area { fill: url(#tlFill); }
.tl-s1 { stop-color: var(--spark); stop-opacity: .26; }
.tl-s2 { stop-color: var(--spark); stop-opacity: 0; }
.tl-head { fill: var(--spark); }
.panel__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.panel__foot div { padding: 14px 16px; border-right: 1px solid var(--line); }
.panel__foot div:last-child { border-right: 0; }
.panel__foot span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
}
.panel__foot b {
  display: block;
  margin-top: 5px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.03em;
}

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 15px 0;
}
.marquee__t {
  display: flex;
  white-space: nowrap;
  animation: slide 34s linear infinite;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6f6f77;
}
.marquee__t span {
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 26px;
}
.marquee__t span::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--spark);
}
.marquee:hover .marquee__t { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.block { max-width: var(--wrap); margin: 0 auto; padding: 72px var(--gutter) 0; scroll-margin-top: 72px; }
.block__head { margin-bottom: 36px; }
.block__head h2 {
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -.042em;
  line-height: 1.05;
}
.cells {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cell {
  background: var(--bg);
  padding: 26px 22px 30px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transition: background .3s, color .3s;
}
.cell:hover { background: var(--spark); color: var(--bg); }
.cell__n {
  font-family: var(--mono);
  font-size: 11px;
  color: #5c5c64;
  transition: color .3s;
}
.cell:hover .cell__n { color: rgba(11,11,12,.55); }
.cell__i { margin-top: 18px; }
.cell__i svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--spark);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .3s;
}
.cell:hover .cell__i svg { stroke: var(--bg); }
.cell h3 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.026em;
}
.cell p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  transition: color .3s;
}
.cell:hover p { color: rgba(11,11,12,.72); }
.cell--cta {
  grid-column: 1 / -1;
  min-height: 140px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.cell--cta h3 {
  margin-top: 0;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -.035em;
  max-width: none;
}
.cell__go {
  width: 34px;
  height: 34px;
  border: 1px solid #2a2a2f;
  position: relative;
  transition: border-color .3s;
}
.cell__go::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 13px;
  width: 8px;
  height: 8px;
  border-top: 1.4px solid var(--spark);
  border-right: 1.4px solid var(--spark);
  transform: rotate(45deg);
}
.cell--cta:hover .cell__go { border-color: rgba(11,11,12,.35); }
.cell--cta:hover .cell__go::after { border-color: var(--bg); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.step {
  background: var(--bg);
  padding: 26px 22px 28px;
}
.step h3 {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.024em;
}
.step p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.statement {
  margin-top: 40px;
  max-width: 22ch;
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.15;
}
.statement em { font-style: normal; color: var(--spark); }

.block--contact { padding-bottom: 24px; }
.lede {
  max-width: 62ch;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
}
.channels { margin-top: 40px; display: grid; gap: 22px; }
.channel-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
}
.channel-item .eyebrow {
  flex: 0 0 auto;
}
.channel-pair {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 12px 16px;
  min-width: 0;
}
.channel {
  display: inline-block;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: -.035em;
  color: var(--spark);
  border-bottom: 1px solid #2a2a2f;
  line-height: 1.1;
}
.channel--sm { font-size: clamp(20px, 3.4vw, 36px); }
.channel:hover { border-bottom-color: var(--spark); }
.copy {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid #2a2a2f;
  padding-bottom: 2px;
}
.copy:hover, .copy.is-done { color: var(--spark); }

.foot {
  max-width: var(--wrap);
  margin: 48px auto 0;
  padding: 28px var(--gutter) 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .08em;
}
.foot em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .04em;
  color: #75757d;
}
.foot a {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--spark);
  border-bottom: 1px solid #2a2a2f;
}
.foot a:hover { border-bottom-color: var(--spark); }
.foot__copy {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--dim);
}

/* 404 */
.notfound { max-width: var(--wrap); margin: 0 auto; padding: 80px var(--gutter) 120px; }
.notfound .display { margin-top: 12px; }
.notfound .deck { margin-top: 20px; }
.notfound .actions { margin-top: 32px; }

/* motion gated behind html.js so a missing script still shows the page */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.in { opacity: 1; transform: none; }
.js .line > span { transform: translateY(105%); transition: transform .9s cubic-bezier(.16,.84,.28,1); }
.js .in .line > span, .js .display.in .line > span { transform: none; }

@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .nav__in { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; gap: 12px 20px; }
  .nav__wa { margin-left: 0; }
}
@media (max-width: 620px) {
  .cells, .steps { grid-template-columns: 1fr; }
  .foot__copy { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; }
  .js .line > span { transform: none; }
  .marquee__t { animation: none; }
}
