:root {
  --bg: #0a0a0b;
  --line: #ffffff14;
  --fg: #ecedee;
  --muted: #8e9097;
  --slash: #18d45c;
  --accent: #ee9f66;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 13px/1.7 var(--mono);
}
a { color: inherit; }
kbd {
  font: 0.85em var(--mono);
  border: 1px solid #ffffff30;
  border-radius: 4px;
  padding: 0 0.35em;
}
code { font-family: var(--mono); color: var(--accent); }
::selection { background: var(--slash); color: #000; }

main, header, section, nav, footer, .shot {
  max-width: 640px;
  margin: 0 auto;
  padding-inline: 24px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 20px;
  font-size: 14px;
}
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--fg); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg) !important; font-weight: 700; }
.brand img { border-radius: 6px; }

header { padding-block: clamp(56px, 10vw, 100px) 48px; text-align: center; }
h1 {
  font: 700 clamp(44px, 10vw, 84px)/0.9 var(--display);
  letter-spacing: -0.04em;
  margin: 0;
}
/* the green slash from the icon, cut once through the word */
.slash { position: relative; display: inline-block; }
.slash::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--slash);
  clip-path: polygon(0 60%, 100% 42%, 100% 50%, 0 68%);
  animation: cut 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both;
}
@keyframes cut { from { clip-path: polygon(0 60%, 0 42%, 0 50%, 0 68%); } }
.cursor { color: var(--accent); animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.lede { font: 500 clamp(17px, 2.2vw, 20px)/1.3 var(--display); margin: 24px 0 8px; }
.sub { color: var(--muted); max-width: 52ch; margin: 0 auto 28px; }
header .cta { justify-content: center; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid #ffffff2a;
  text-decoration: none;
  font-weight: 700;
  transition: border-color 0.2s, background 0.2s;
}
.btn:hover { border-color: var(--slash); }
.btn.primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn.primary:hover { background: var(--slash); border-color: var(--slash); }
.meta { font-size: 12px; font-weight: 400; opacity: 0.65; }

/* the browser, in its default pastel colours */
.shot { max-width: 760px; padding-bottom: 80px; }
.window {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9.5;
  display: flex;
  flex-direction: column;
  background: #cfd3da;
  color: #2f3136;
  font-size: clamp(8px, 1.25vw, 12px);
  box-shadow: 0 30px 80px -30px #000, 0 0 0 1px #ffffff14;
}
.page { flex: 1; position: relative; display: grid; place-items: center; }
.home { width: 62%; }
.home[hidden], .site[hidden] { display: none; }
.logo { font-size: 3.2em; letter-spacing: 0.04em; margin-bottom: 0.5em; }
.logo span { color: #ee9f66; }
.search {
  border: 1px solid #2f313640;
  border-left: 2px solid #ee9f66;
  background: #2f313612;
  padding: 0.7em 0.8em;
  font-size: 1.1em;
  white-space: nowrap;
  overflow: hidden;
}
.search b { color: #ee9f66; font-weight: 400; font-size: 0.85em; }
.site {
  position: absolute;
  inset: 0;
  padding: 6% 14%;
  background: #f4f4f2;
}
.site i { display: block; height: 0.7em; margin-bottom: 1em; border-radius: 3px; background: #dcdcd8; }
.site i:first-child { height: 40%; margin-bottom: 1.6em; background: #e2e2de; }
.site i:nth-child(3n) { width: 70%; }
.tabs { display: flex; min-height: 1.9em; }
.tab {
  flex: 0 1 25%;
  padding: 0.25em 0.6em;
  border-left: 3px solid #ee9f66;
  background: #bcc1c9;
  white-space: nowrap;
  overflow: hidden;
}
.tab.sel { background: #f5b183; }
.cmd { display: flex; align-items: center; padding: 0.25em 0.6em; border-top: 1px solid #2f313626; }
.cmd[hidden] { display: none; }
.caret { width: 0.55em; height: 1.1em; background: #2f3136; margin-left: 1px; animation: blink 1s steps(1) infinite; }

/* one slow band of the name, scrolling sideways */
.band {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 6px 0;
  margin-bottom: 80px;
}
.band-track {
  display: flex;
  width: max-content;
  animation: band 40s linear infinite;
  font: 700 clamp(32px, 5vw, 56px)/1.1 var(--display);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.band-track span { padding-right: 0.6em; color: transparent; -webkit-text-stroke: 1px #ffffff30; }
.band-track span:nth-child(even) { color: var(--fg); -webkit-text-stroke: 0; }
.band-track span::after { content: "●"; padding-left: 0.6em; font-size: 0.35em; vertical-align: middle; color: var(--slash); -webkit-text-stroke: 0; }
@keyframes band { to { transform: translateX(-50%); } }

section { padding-block: 0 80px; text-align: center; }
h2 { font: 700 clamp(22px, 3vw, 28px)/1.1 var(--display); letter-spacing: -0.02em; margin: 0 0 16px; }

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
.features h3 { font: 700 15px var(--display); margin: 0 0 6px; }
.features h3::before { content: "/ "; color: var(--slash); }
.features p { color: var(--muted); margin: 0; }

.mods > p { color: var(--muted); max-width: 52ch; margin: 0 auto 20px; }
.mods ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.mods li {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 14px;
  font-size: 12px;
}
.mods > a { color: var(--slash); text-decoration: none; }

.faq { text-align: left; }
.faq h2 { text-align: center; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  font: 500 15px var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--slash); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: 66ch; }

.download { text-align: center; }
.download h2 { font-size: clamp(28px, 5vw, 40px); }
.download > p { color: var(--muted); margin: 0 0 28px; }
.download .cta { justify-content: center; }
.fine { font-size: 13px; color: var(--muted); margin-top: 20px; }

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-block: 32px 48px;
  border-top: 1px solid var(--line);
  justify-content: center;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }
footer .muted { width: 100%; color: #5f6167; font-size: 11px; }

/* the page's own command bar */
.cmdbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: #000;
  border-top: 1px solid var(--slash);
}
.cmdbar[hidden] { display: none; }
.cmd-out { padding: 0 12px; color: var(--muted); white-space: pre-wrap; }
.cmd-out:not(:empty) { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.cmd-line { display: flex; align-items: center; padding: 6px 12px; gap: 2px; }
.cmd-line span { color: var(--slash); }
.cmd-line input { flex: 1; background: none; border: 0; outline: 0; color: #fff; font: inherit; caret-color: var(--slash); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* code signing and privacy pages */
.doc { padding-block: 32px 64px; }
.doc h1 { font-size: clamp(32px, 7vw, 48px); line-height: 1; margin: 24px 0 28px; }
.doc h2 { font: 700 18px/1.3 var(--display); margin: 36px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc b { color: var(--fg); }
.doc ul { padding-left: 18px; }
.doc li { margin-bottom: 8px; }
