:root {
  color-scheme: light;
  --background: #ffffff;
  --ink: #1d1d1f;
  --grey: #8e8e93;
  --soft: #6e6e73;
  --canvas: #f5f5f7;
  --line: #e5e5ea;
  --outline: #d2d2d7;
  --button: #1d1d1f;
  --button-text: #ffffff;
  --dot: #34c759;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #000000;
  --ink: #f5f5f7;
  --soft: #a1a1a6;
  --canvas: #1c1c1e;
  --line: #2c2c2e;
  --outline: #3a3a3c;
  --button: #f5f5f7;
  --button-text: #000000;
  --dot: #30d158;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.wordmark {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.wordmark-dot {
  width: 0.19em;
  height: 0.19em;
  border-radius: 50%;
  background: var(--dot);
  margin-left: 0.05em;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.button {
  height: 52px;
  padding: 0 26px;
  border-radius: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}
.button.primary {
  background: var(--button);
  color: var(--button-text);
}
.button.secondary {
  box-shadow: inset 0 0 0 1px var(--outline);
}
.button.small {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--outline);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.sun,
[data-theme="dark"] .moon {
  display: none;
}
[data-theme="dark"] .sun {
  display: block;
}
main {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero {
  padding: 88px 24px 0;
  text-align: center;
}
h1 {
  margin: 0;
  font-size: 64px;
  line-height: 68px;
  letter-spacing: -2.4px;
  font-weight: 600;
}
.hero-mark {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.morse {
  --mark-width: 84px;
  display: inline-flex;
  align-items: center;
  gap: calc(var(--mark-width) / 17);
}
.morse i {
  display: block;
  width: calc(var(--mark-width) / 5.1 * 1.75);
  height: calc(var(--mark-width) / 5.1 * 0.88);
  background: var(--ink);
  border-radius: 999px;
}
.morse i:first-child {
  width: calc(var(--mark-width) / 5.1);
  height: calc(var(--mark-width) / 5.1);
  background: var(--dot);
}
.subline {
  max-width: 640px;
  margin: 28px auto 0;
  font-size: 20px;
  line-height: 30px;
  color: var(--soft);
}
.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding: 0 20px;
}
.demo {
  width: 300px;
  height: 652px;
  border-radius: 36px;
  overflow: hidden;
  background: #000000;
  box-shadow:
    0 0 0 1px var(--line),
    0 40px 90px rgba(0, 0, 0, 0.28);
  margin-top: 80px;
}
.demo video {
  display: block;
  width: 100%;
  height: 100%;
}
.compatibility {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin: 104px 20px 44px;
}
.compatibility h2 {
  margin: 0;
  color: var(--grey);
  font:
    500 13px/1 "IBM Plex Mono",
    monospace;
  letter-spacing: 0.4px;
}
.agents {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.agents li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}
.agent-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px var(--line);
}
.claude {
  background: #faf9f5;
}
.codex,
.gemini {
  background: #ffffff;
}
.cursor {
  background: #14120b;
}
.linux {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1;
  color: var(--soft);
}
.linux code {
  font:
    500 13px/1.5 "IBM Plex Mono",
    monospace;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--canvas);
  overflow-wrap: anywhere;
}
.coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0 20px 40px;
  font-size: 14px;
  line-height: 1;
  color: var(--soft);
}
.coming-soon li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.coming-soon li + li::before {
  content: "·";
  color: var(--outline);
  margin-right: 2px;
}
.coming-soon span {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 11px;
  background: var(--canvas);
  font:
    500 12px/1 "IBM Plex Mono",
    monospace;
}
footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 40px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1;
  color: var(--grey);
}
footer .morse {
  --mark-width: 54px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.footer-items {
  display: flex;
  gap: 20px;
}

@media (max-width: 600px) {
  .topbar {
    height: 60px;
    padding: 0 20px;
  }
  .wordmark {
    font-size: 22px;
  }
  .topbar nav {
    gap: 10px;
  }
  .button.small {
    height: 34px;
    padding: 0 14px;
  }
  .hero {
    padding-top: 34px;
  }
  h1 {
    font-size: 40px;
    line-height: 44px;
    letter-spacing: -1.4px;
    max-width: 390px;
  }
  .desktop-break {
    display: none;
  }
  .hero-mark {
    margin-top: 22px;
  }
  .hero-mark .morse {
    --mark-width: 56px;
  }
  .subline {
    font-size: 17px;
    line-height: 25px;
    margin-top: 16px;
  }
  .demo {
    order: 1;
    width: 250px;
    height: 544px;
    border-radius: 30px;
    margin-top: 40px;
  }
  .actions {
    display: none;
  }
  .compatibility {
    order: 3;
    margin-top: 56px;
  }
  .coming-soon {
    order: 4;
    gap: 14px;
  }
  .coming-soon li + li::before {
    display: none;
  }
  footer {
    padding: 0 16px;
    font-size: 11px;
  }
  footer .morse {
    --mark-width: 32px;
  }
  .footer-items {
    gap: 8px;
  }
}
