:root {
  --paper: #f4f1ea;
  --paper-deep: #e7e1d7;
  --ink: #171815;
  --muted: #69695f;
  --line: rgba(23, 24, 21, 0.16);
  --blue: #5b7cfa;
  --coral: #ff6b4a;
  --yellow: #f1d45b;
  --green: #3e9568;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --sans: "Avenir Next", Avenir, "Century Gothic", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Mono", "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.9), transparent 30rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.nav {
  position: relative;
  z-index: 20;
  display: flex;
  width: min(1440px, calc(100% - 64px));
  height: 92px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wordmark svg {
  width: 28px;
  height: 28px;
  fill: var(--ink);
}

.wordmark .mark-accent {
  fill: var(--coral);
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.nav nav a {
  opacity: 0.68;
  transition: opacity 160ms ease;
}

.nav nav a:hover {
  opacity: 1;
}

.nav nav .nav-download {
  padding: 12px 18px;
  color: var(--paper);
  background: var(--ink);
  opacity: 1;
}

.hero {
  display: grid;
  width: min(1440px, calc(100% - 64px));
  min-height: 720px;
  margin: 0 auto;
  grid-template-columns: minmax(360px, 0.78fr) minmax(560px, 1.22fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
  padding: 70px 0 92px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
}

.hero h1 {
  font-size: clamp(68px, 7.8vw, 126px);
  line-height: 0.81;
}

.hero h1 em {
  color: var(--coral);
  font-weight: 400;
}

.hero-deck {
  max-width: 530px;
  margin: 38px 0 0;
  color: #4f5049;
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  margin-top: 38px;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

.button:hover:not([aria-disabled="true"]) {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(23, 24, 21, 0.16);
}

.button-primary {
  min-width: 210px;
  color: var(--paper);
  background: var(--ink);
}

.button-dark {
  width: fit-content;
  min-width: 246px;
  margin-top: 30px;
  color: var(--ink);
  background: var(--paper);
}

[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.48 !important;
  pointer-events: none;
}

.text-link {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
}

.release-note {
  display: flex;
  margin: 24px 0 0;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(62, 149, 104, 0.12);
}

.canvas-demo {
  --mx: 0;
  --my: 0;
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid rgba(23, 24, 21, 0.36);
  border-radius: 2px;
  background-color: #e8e5dd;
  box-shadow: 18px 22px 0 rgba(23, 24, 21, 0.07);
  transform: perspective(1000px) rotateY(calc(var(--mx) * 1.5deg))
    rotateX(calc(var(--my) * -1.5deg));
  transition: transform 180ms ease-out;
}

.canvas-demo::before {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 16px;
  width: 38px;
  height: 8px;
  border-radius: 9px;
  background: var(--ink);
  box-shadow:
    46px 0 0 rgba(23, 24, 21, 0.13),
    86px 0 0 rgba(23, 24, 21, 0.13);
  content: "";
}

.canvas-grid {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  background-image: radial-gradient(rgba(23, 24, 21, 0.28) 0.8px, transparent 0.8px);
  background-size: 22px 22px;
}

.note {
  position: absolute;
  z-index: 3;
  top: var(--y);
  left: var(--x);
  display: flex;
  width: 38%;
  min-height: 142px;
  padding: 22px;
  flex-direction: column;
  transform: rotate(var(--r)) translate(calc(var(--mx) * -5px), calc(var(--my) * -5px));
  box-shadow: 0 12px 24px rgba(23, 24, 21, 0.12);
}

.note-yellow {
  background: var(--yellow);
}

.note-blue {
  color: #fff;
  background: var(--blue);
}

.note-coral {
  width: 34%;
  min-height: 120px;
  background: #ffa08c;
}

.note-label,
.note-meta {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.note strong {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 25px);
  font-weight: 500;
  line-height: 1.05;
}

.note-meta {
  margin-top: auto;
  opacity: 0.66;
}

.shape-pill {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 14%;
  padding: 18px 36px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.84);
  font-family: var(--mono);
  font-size: 10px;
  transform: translate(calc(var(--mx) * 7px), calc(var(--my) * 7px));
}

.connector {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: var(--ink);
  transform-origin: left;
}

.connector::after {
  position: absolute;
  top: -4px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  content: "";
  transform: rotate(45deg);
}

.connector-one {
  top: 44%;
  left: 33%;
  width: 27%;
  transform: rotate(-11deg);
}

.connector-two {
  top: 68%;
  left: 46%;
  width: 28%;
  transform: rotate(17deg);
}

.cursor {
  position: absolute;
  z-index: 8;
  display: flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  transition: transform 180ms ease-out;
}

.cursor svg {
  width: 18px;
  margin-right: -2px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.15));
}

.cursor span {
  padding: 4px 6px;
  color: #fff;
  border-radius: 2px;
}

.cursor-human {
  top: 44%;
  left: 18%;
  transform: translate(calc(var(--mx) * 14px), calc(var(--my) * 14px));
}

.cursor-human svg,
.cursor-human span {
  fill: var(--coral);
  background: var(--coral);
}

.cursor-agent {
  right: 19%;
  bottom: 26%;
  transform: translate(calc(var(--mx) * -18px), calc(var(--my) * -18px));
}

.cursor-agent svg,
.cursor-agent span {
  fill: var(--blue);
  background: var(--blue);
}

.zoom-chip {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 9px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(244, 241, 234, 0.84);
  font-family: var(--mono);
  font-size: 8px;
}

.marquee {
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
}

.marquee div {
  display: flex;
  width: max-content;
  min-width: 100%;
  padding: 19px 0;
  align-items: center;
  justify-content: space-around;
  animation: drift 22s linear infinite;
}

.marquee span,
.marquee i {
  margin-right: 42px;
}

.marquee i {
  color: var(--coral);
}

@keyframes drift {
  to {
    transform: translateX(-25%);
  }
}

.section {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 150px 0;
}

.section h2 {
  font-size: clamp(52px, 6.5vw, 94px);
  line-height: 0.96;
}

.what .section-heading {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  column-gap: 60px;
}

.what .section-heading .eyebrow {
  grid-row: 1 / 3;
}

.what .section-heading > p:last-child {
  margin: 22px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 21px;
}

.feature-grid {
  display: grid;
  margin-top: 100px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.feature-grid article {
  position: relative;
  min-height: 390px;
  padding: 28px 36px 20px 0;
  border-right: 1px solid var(--line);
}

.feature-grid article + article {
  padding-left: 36px;
}

.feature-grid article:last-child {
  border-right: 0;
}

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

.feature-icon {
  position: relative;
  width: 112px;
  height: 86px;
  margin: 54px 0 44px;
}

.icon-speed i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 12px;
  background: var(--yellow);
  transform: skewX(-36deg);
}

.icon-speed i:nth-child(2) {
  top: 27px;
  width: 76%;
  background: var(--coral);
}

.icon-speed i:nth-child(3) {
  top: 54px;
  width: 48%;
  background: var(--blue);
}

.icon-presence i {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(91, 124, 250, 0.82);
}

.icon-presence i:nth-child(2) {
  top: 24px;
  left: 31px;
  background: rgba(255, 107, 74, 0.82);
}

.icon-presence i:nth-child(3) {
  top: 5px;
  left: 54px;
  background: rgba(241, 212, 91, 0.82);
}

.icon-agent i:first-child {
  position: absolute;
  inset: 4px 8px 15px 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.icon-agent i:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42px;
  height: 42px;
  background: var(--coral);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 12% 55%);
}

.feature-grid h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
}

.feature-grid p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
}

.connect {
  display: grid;
  width: 100%;
  max-width: none;
  padding: 130px max(32px, calc((100% - 1280px) / 2));
  color: var(--paper);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--ink);
  background-size: 30px 30px;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(70px, 10vw, 160px);
}

.connect .eyebrow {
  color: rgba(244, 241, 234, 0.52);
}

.connect-intro > p:not(.eyebrow) {
  max-width: 530px;
  margin: 34px 0 0;
  color: rgba(244, 241, 234, 0.68);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.48;
}

.install-card {
  align-self: center;
  border: 1px solid rgba(244, 241, 234, 0.22);
  background: rgba(8, 9, 8, 0.72);
  box-shadow: 14px 14px 0 rgba(91, 124, 250, 0.22);
}

.desktop-window-bar {
  display: flex;
  min-height: 54px;
  padding: 0 20px;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.16);
}

.desktop-window-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}

.desktop-window-bar i:nth-child(2) {
  background: var(--yellow);
}

.desktop-window-bar i:nth-child(3) {
  background: var(--green);
}

.desktop-window-bar span {
  margin-left: auto;
  color: rgba(244, 241, 234, 0.48);
  font-family: var(--mono);
  font-size: 9px;
}

.install-steps {
  padding: 18px 30px 10px;
}

.step {
  display: grid;
  padding: 23px 0;
  grid-template-columns: 30px 1fr;
  border-bottom: 1px solid rgba(244, 241, 234, 0.1);
}

.step > span {
  color: var(--coral);
  font-family: var(--mono);
  font-size: 10px;
}

.step p {
  margin: 0;
  color: rgba(244, 241, 234, 0.78);
  font-family: var(--serif);
  font-size: 16px;
}

.step p strong {
  color: var(--paper);
  font-weight: 500;
}

.menu-preview {
  display: grid;
  min-width: 280px;
  margin-top: 16px;
  padding: 3px;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  color: var(--paper);
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.32);
  font-family: var(--mono);
  font-size: 9px;
}

.menu-preview span {
  padding: 9px 12px;
  text-align: center;
  color: rgba(244, 241, 234, 0.5);
}

.menu-preview .menu-preview-active {
  color: var(--paper);
  border-radius: 4px;
  background: rgba(91, 124, 250, 0.26);
  box-shadow: inset 0 -1px var(--blue);
}

.bundle-note {
  margin: 0;
  padding: 17px 30px;
  color: rgba(244, 241, 234, 0.42);
  background: rgba(244, 241, 234, 0.04);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
}

.download {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(50px, 9vw, 130px);
}

.download-title h2 {
  font-size: clamp(50px, 5.6vw, 80px);
}

.download-list {
  border-top: 1px solid var(--ink);
}

.download-list > a {
  display: grid;
  min-height: 100px;
  align-items: center;
  grid-template-columns: 52px 1fr 32px;
  border-bottom: 1px solid var(--line);
  transition:
    padding 180ms ease,
    background 180ms ease;
}

.download-list > a:hover:not([aria-disabled="true"]) {
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.55);
}

.os-mark {
  font-family: var(--sans);
  font-size: 24px;
}

.download-list strong,
.download-list small {
  display: block;
}

.download-list strong {
  font-family: var(--serif);
  font-size: 22px;
}

.download-list small {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.download-arrow {
  font-family: var(--mono);
  font-size: 20px;
}

.download-footnote {
  grid-column: 2;
  display: flex;
  margin: -84px 0 0;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.download-footnote a {
  border-bottom: 1px solid var(--line);
}

footer {
  display: grid;
  min-height: 190px;
  padding: 50px max(32px, calc((100% - 1440px) / 2));
  align-items: end;
  color: var(--paper);
  background: var(--ink);
  grid-template-columns: 1fr 1fr 1fr;
}

footer p {
  max-width: 310px;
  margin: 0;
  justify-self: center;
  text-align: center;
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
}

footer > span {
  justify-self: end;
  color: rgba(244, 241, 234, 0.44);
  font-family: var(--mono);
  font-size: 8px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-grid article:nth-child(2) {
  transition-delay: 100ms;
}

.feature-grid article:nth-child(3) {
  transition-delay: 200ms;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .canvas-demo {
    min-height: 520px;
  }

  .what .section-heading,
  .connect,
  .download {
    grid-template-columns: 1fr;
  }

  .what .section-heading .eyebrow {
    grid-row: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .feature-grid article + article {
    min-height: auto;
    padding: 28px 0 50px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-icon {
    margin: 38px 0 30px;
  }

  .download-footnote {
    grid-column: 1;
    margin: 18px 0 0;
  }
}

@media (max-width: 680px) {
  .nav,
  .hero,
  .section {
    width: calc(100% - 36px);
  }

  .nav {
    height: 74px;
  }

  .nav nav a:not(.nav-download) {
    display: none;
  }

  .nav nav .nav-download {
    padding: 10px 13px;
  }

  .hero {
    min-height: auto;
    padding: 68px 0;
  }

  .hero h1 {
    font-size: 66px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .canvas-demo {
    min-height: 430px;
    box-shadow: 9px 11px 0 rgba(23, 24, 21, 0.07);
  }

  .note {
    width: 48%;
    min-height: 120px;
    padding: 15px;
  }

  .note-blue {
    left: 47% !important;
  }

  .note-coral {
    width: 43%;
  }

  .note strong {
    font-size: 17px;
  }

  .section {
    padding: 96px 0;
  }

  .connect {
    width: 100%;
    padding: 96px 18px;
  }

  .install-steps {
    padding: 12px 18px 6px;
  }

  .menu-preview {
    min-width: 0;
  }

  .download-footnote {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  footer {
    padding: 42px 18px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  footer p,
  footer > span {
    justify-self: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
