@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/static/fonts/inter-latin-wght.woff2?v=3100e775e861) format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/jetbrains-mono-latin-400.woff2?v=14425ba9c695) format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/jetbrains-mono-latin-500.woff2?v=cb182feeed4d) format("woff2");
}

:root {
  --ground: #fafaf9;
  --ink: #111113;
  --text: #44403c;
  --muted: #6b6560;
  --rule: #e7e5e4;
  --line: #d6d3d1;
  --accent: #5b5bf0;
  --accent-text: #4a4ae0;
  --on-accent: #ffffff;
  --block: #111113;
  --block-ink: #fafaf9;
  --block-text: #d6d3d1;
  --block-muted: #a8a29e;
  --block-accent: #c7c7ff;
  --block-edge: rgba(250, 250, 249, 0.14);
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1296px;
  --gutter: clamp(20px, 4vw, 24px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0c0c0e;
    --ink: #f4f4f5;
    --text: #c9c5c1;
    --muted: #a19b95;
    --rule: #232326;
    --line: #3a3a3f;
    --accent-text: #a5a6ff;
    --block: #151518;
    --block-ink: #f4f4f5;
    --block-text: #c9c5c1;
    --block-muted: #a19b95;
    --block-edge: rgba(244, 244, 245, 0.12);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}

img {
  display: block;
}

code,
.mono {
  font-family: var(--mono);
}

p code {
  font-size: 0.88em;
  color: var(--ink);
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 10;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--ground);
  font-weight: 600;
}

.skip:focus {
  top: 16px;
}

.arrow {
  width: 0.95em;
  height: 0.95em;
  margin-left: 0.4em;
  vertical-align: -0.1em;
  transition: transform 0.2s ease;
}

.keep {
  white-space: nowrap;
}

a:hover .arrow {
  transform: translateX(3px);
}

/* Bar */

.bar {
  border-bottom: 1px solid var(--rule);
}

.bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.logo img {
  width: auto;
  height: 40px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  font-size: 15px;
  font-weight: 500;
}

.nav a {
  padding: 10px 0;
}

.nav a:hover {
  color: var(--accent-text);
}

.nav .nav-cta {
  color: var(--accent-text);
  font-weight: 600;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 40px 72px;
  padding-top: clamp(56px, 9vw, 104px);
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.hero h1 {
  margin: 0;
  font-size: clamp(60px, 9.2vw, 132px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 12px;
}

.lead {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--text);
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.button:active {
  transform: translateY(1px);
}

.button-ink {
  background: var(--ink);
  color: var(--ground);
}

.button-ink:hover {
  background: var(--accent);
  color: var(--on-accent);
}

.button-line {
  box-shadow: inset 0 0 0 1px var(--line);
}

.button-line:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
}

.button-accent {
  background: var(--accent);
  color: var(--on-accent);
  min-height: 56px;
  padding: 0 30px;
  font-size: 17px;
}

.button-accent:hover {
  background: #4848dc;
}

.text-link {
  display: inline-block;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 600;
}

.text-link:hover {
  color: var(--accent-text);
}

/* The week */

.week {
  padding-top: clamp(56px, 8vw, 96px);
}

.week-scroll {
  overflow-x: clip;
}

.week-track {
  position: relative;
  height: 288px;
  container-type: inline-size;
}

.days {
  position: absolute;
  left: 0;
  right: 0;
  top: 224px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.axis {
  position: absolute;
  left: 0;
  right: 0;
  top: 206px;
  height: 1px;
  background: var(--line);
}

.now {
  position: absolute;
  left: 0;
  top: 52px;
  bottom: 68px;
  width: 2px;
  background: var(--accent);
  pointer-events: none;
  transform: translateX(57cqw);
  animation: sweep 14s linear infinite;
}

.now span {
  position: absolute;
  left: -14px;
  top: -24px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-text);
}

.event {
  position: absolute;
  top: 0;
  bottom: 0;
}

.event-bill {
  left: 7.14%;
}

.event-landlord {
  left: 21.43%;
}

.event-thesis-reminder {
  left: 50%;
}

.event-thesis {
  left: 64.29%;
}

.dot,
.tick {
  position: absolute;
  left: -7px;
  top: 199px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
}

.dot-open {
  background: var(--ground);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.tick {
  left: -5px;
  top: 201px;
  width: 10px;
  height: 10px;
  background: var(--accent);
}

.stem {
  position: absolute;
  left: 0;
  top: 118px;
  width: 1px;
  height: 82px;
  background: repeating-linear-gradient(var(--accent) 0 4px, transparent 4px 8px);
}

.label {
  position: absolute;
  left: -7px;
  top: 132px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  white-space: nowrap;
}

.label strong {
  font-size: 15px;
  font-weight: 600;
}

.label span {
  font-size: 12px;
  color: var(--muted);
}

.bubble {
  position: absolute;
  left: -6px;
  bottom: 170px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 12px 16px;
  border-radius: 14px 14px 14px 4px;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 14px 28px -14px rgba(91, 91, 240, 0.7);
  white-space: nowrap;
  transform-origin: bottom left;
}

.bubble strong {
  font-size: 15px;
  font-weight: 650;
}

.bubble small {
  font-size: 14px;
  font-weight: 400;
}

.event-bill .stem,
.bubble-bill {
  animation: bill 14s linear infinite;
}

.event-thesis-reminder .stem,
.event-thesis-reminder .tick,
.bubble-thesis {
  animation: thesis 14s linear infinite;
}

@keyframes sweep {
  0% {
    transform: translateX(6cqw);
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  90% {
    transform: translateX(95cqw);
    opacity: 1;
  }
  96%,
  100% {
    transform: translateX(95cqw);
    opacity: 0;
  }
}

@keyframes bill-alone {
  0%,
  1.2% {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  3.7%,
  42% {
    opacity: 1;
    transform: none;
  }
  44.5%,
  100% {
    opacity: 0;
    transform: none;
  }
}

@keyframes bill {
  0%,
  1.2% {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  3.7%,
  92% {
    opacity: 1;
    transform: none;
  }
  97%,
  100% {
    opacity: 0;
    transform: none;
  }
}

@keyframes thesis {
  0%,
  44.5% {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  47%,
  92% {
    opacity: 1;
    transform: none;
  }
  97%,
  100% {
    opacity: 0;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .week-track .now,
  .week-track .bubble,
  .week-track .stem,
  .week-track .tick {
    animation: none;
  }
  .week-track .now {
    transform: translateX(57cqw);
  }
  .arrow,
  .button {
    transition: none;
  }
}

@media (max-width: 640px) {
  .nav a:not(.nav-cta) {
    display: none;
  }
}

@media (max-width: 820px) {
  .event-landlord {
    display: none;
  }
  .days {
    font-size: 10px;
  }
  .bubble {
    padding: 10px 12px;
  }
  .bubble strong {
    font-size: 13px;
  }
  .bubble small {
    font-size: 12px;
  }
  .wide {
    display: none;
  }
  .label strong {
    font-size: 13px;
  }
  .label span {
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  .date {
    display: none;
  }
  .event-bill .stem,
  .bubble-bill {
    animation-name: bill-alone;
  }
}

@media (max-width: 420px) and (prefers-reduced-motion: reduce) {
  .week-track .bubble-bill,
  .week-track .event-bill .stem {
    display: none;
  }
}

/* Steps */

.steps {
  margin-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--rule);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 48px;
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.steps h2,
.build h2 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.steps h2 {
  grid-column: 1 / -1;
  max-width: 48rem;
  margin-bottom: 8px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}

.step-accent {
  border-top-color: var(--accent);
}

.step-number {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.step-accent .step-number {
  color: var(--accent-text);
}

.step h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  text-wrap: pretty;
}

/* Build */

.build {
  background: var(--block);
  color: var(--block-ink);
}

@media (prefers-color-scheme: dark) {
  .build {
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  align-items: center;
  gap: 48px 72px;
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.build-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.build-text p {
  margin: 0;
  max-width: 32rem;
  font-size: 18px;
  line-height: 1.6;
  color: var(--block-text);
  text-wrap: pretty;
}

.build-link {
  display: inline-block;
  padding: 12px 0;
  font-weight: 600;
  color: var(--block-accent);
}

.build-link:hover {
  color: var(--block-ink);
}

.commands {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.commands li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 18px 20px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--block-edge);
  font-family: var(--mono);
  font-size: 15px;
}

.commands code {
  color: var(--block-ink);
}

@media (max-width: 640px) {
  .commands li {
    flex-direction: column;
    gap: 6px;
  }
}

.commands .prompt,
.commands li > span {
  color: var(--block-muted);
}

/* Start */

.start {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
  padding-top: clamp(88px, 11vw, 144px);
  padding-bottom: clamp(88px, 11vw, 144px);
}

.start h2,
.lost h1 {
  margin: 0;
  max-width: 62rem;
  font-size: clamp(48px, 7.4vw, 112px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

/* Footer */

.foot {
  border-top: 1px solid var(--rule);
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 32px;
  padding-bottom: 40px;
}

.foot img {
  width: auto;
  height: 28px;
}

.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.foot-nav a {
  padding: 12px 0;
}

.foot-nav a:hover {
  color: var(--ink);
}

/* Not found */

.lost {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  min-height: 100vh;
  min-height: 100dvh;
}

.lost .mono {
  margin: 0;
  font-size: 14px;
  color: var(--accent-text);
}
