:root {
  color-scheme: light;

  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f3f1ec;
  --border: #e8e4dc;
  --border-hi: #d6d0c2;

  --fg: #0e0e10;
  --fg-mut: #555055;
  --fg-dim: #98918a;

  --accent: #0b6b52;
  --accent-soft: #a6f7e2;

  --red: #b91c1c;
  --green: #0b6b52;

  --radius: 6px;
  --radius-lg: 12px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1200px 500px at 50% -200px, rgba(11, 107, 82, 0.06), transparent 60%),
    var(--bg);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--border-hi);
}

a:hover {
  border-bottom-color: var(--fg);
}

code {
  font-family: var(--font-mono);
  background: var(--surface-2);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.center {
  flex: 1;
  padding: 56px 0 80px;
}

/* mark (ascii-ish wordmark) */
.mark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--accent);
  font-family: var(--font-mono);
  line-height: 1;
  margin: 0 0 22px;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.mark__glyph {
  display: block;
}

.mark__wordrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0;
}

.mark__bar {
  color: var(--accent);
}

.mark__word {
  font-weight: 700;
  color: var(--fg);
  font-size: 22px;
  letter-spacing: -0.01em;
}

/* pitch line */
.pitch {
  color: var(--fg);
  font-size: 16px;
  margin: 0 0 28px;
  line-height: 1.55;
}

.pitch__cursor {
  color: var(--accent);
  margin-right: 6px;
}

/* terminal */
.term {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: 0 14px 40px -20px rgba(0, 0, 0, 0.18);
}

.term__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  position: relative;
}

.term__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-hi);
}

.term__title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--fg-dim);
  font-size: 12px;
}

.term__body {
  padding: 18px 18px 20px;
  color: var(--fg);
}

.term__line {
  display: flex;
  align-items: center;
}

.term__prompt {
  color: var(--fg-dim);
  user-select: none;
  margin-right: 8px;
}

.term__cmd {
  color: var(--fg);
  font-weight: 600;
}

.term__out {
  color: var(--fg);
  white-space: pre;
  font-size: 12.5px;
  margin-top: 10px;
}

.term__out .term__mut {
  color: var(--fg-dim);
}

.term__out .term__acc {
  color: var(--accent);
}

.term__out .term__url {
  color: var(--fg);
  border-bottom: 1px solid var(--border-hi);
}

.term__out .term__url:hover {
  border-bottom-color: var(--fg);
}

.term__copy {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--fg-dim);
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-mono);
  padding: 3px 8px;
  border-radius: 6px;
}

.term__copy:hover {
  color: var(--fg);
  border-color: var(--border);
  background: var(--surface-2);
}

/* flow: two windows with curved arrow between */
.flow {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.flow .term {
  max-width: 560px;
  width: 100%;
  justify-self: start;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.28);
}

.browser {
  max-width: 640px;
  width: 100%;
  justify-self: end;
  margin-top: -90px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 40px -20px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.browser__url {
  margin-left: auto;
  padding: 3px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--fg-mut);
  max-width: 320px;
}

.browser img {
  display: block;
  width: 100%;
  height: auto;
}


@media (max-width: 720px) {
  .flow {
    gap: 40px;
  }
  .flow .term,
  .browser {
    max-width: 100%;
    justify-self: stretch;
  }
  .flow__arrow {
    display: none;
  }
}

/* specs list */
.specs {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  color: var(--fg-mut);
  font-size: 13.5px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.specs__k {
  color: var(--accent);
  margin-right: 8px;
}

@media (max-width: 620px) {
  main.center {
    padding: 36px 0 60px;
  }
  .mark__word {
    font-size: 20px;
  }
  .pitch {
    font-size: 15px;
  }
}
