:root {
  color-scheme: dark;
  --ink: #fff7e8;
  --muted: #c9bdab;
  --dim: #83796b;
  --black: #090a08;
  --coal: #10120f;
  --panel: #181a16;
  --paper: #fff0c8;
  --gold: #f0b84f;
  --green: #19d36b;
  --acid: #c8ff58;
  --violet: #a98cff;
  --coral: #ff6f43;
  --line: rgba(255, 247, 232, 0.16);
  --max: 1220px;
  font-family: "Avenir Next", Avenir, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  background:
    radial-gradient(circle at 18% 0%, rgba(25, 211, 107, 0.18), transparent 28rem),
    linear-gradient(120deg, transparent 0 46%, rgba(255, 111, 67, 0.1) 46% 57%, transparent 57%),
    repeating-linear-gradient(90deg, rgba(255, 247, 232, 0.035) 0 1px, transparent 1px 72px),
    #090a08;
  color: var(--ink);
  margin: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(58px, 8vw, 118px);
  letter-spacing: -0.045em;
  line-height: 0.82;
  margin-bottom: 24px;
  max-width: 760px;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(38px, 5vw, 74px);
  letter-spacing: -0.04em;
  line-height: 0.88;
  margin-bottom: 18px;
  text-transform: uppercase;
}

p {
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 650;
  line-height: 1.42;
}

.site-header {
  align-items: center;
  background: rgba(9, 10, 8, 0.82);
  border-bottom: 1px solid var(--line);
  display: flex;
  inset: 0 0 auto;
  justify-content: space-between;
  padding: 13px clamp(18px, 4vw, 48px);
  position: sticky;
  z-index: 50;
}

.brand {
  align-items: center;
  display: flex;
  font-size: 17px;
  font-weight: 950;
  gap: 10px;
}

.brand img {
  height: 34px;
  width: 34px;
}

nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
}

nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

nav a:hover {
  color: var(--acid);
}

main {
  overflow: hidden;
}

section[id] {
  scroll-margin-top: 84px;
}

.hero {
  display: grid;
  gap: clamp(24px, 4vw, 54px);
  grid-template-columns: minmax(420px, 0.82fr) minmax(0, 1.18fr);
  margin: 0 auto;
  max-width: 1500px;
  min-height: min(820px, calc(100svh - 61px));
  padding: clamp(38px, 5vw, 68px) clamp(18px, 4vw, 48px) clamp(36px, 5vw, 64px);
}

.hero-copy {
  align-self: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--acid);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero-copy p {
  max-width: 690px;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 950;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  transition: transform 180ms ease, filter 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.problem-grid article.reveal-on-scroll:nth-child(1) {
  --reveal-delay: 0ms;
}

.problem-grid article.reveal-on-scroll:nth-child(2) {
  --reveal-delay: 100ms;
}

.problem-grid article.reveal-on-scroll:nth-child(3) {
  --reveal-delay: 200ms;
}

.primary {
  background: var(--acid);
  color: #11140c;
}

.secondary {
  background: rgba(255, 247, 232, 0.09);
  border: 1px solid var(--line);
}

.hero-visual {
  min-height: 600px;
  position: relative;
}

.product-shot {
  filter: drop-shadow(0 34px 86px rgba(0, 0, 0, 0.5));
}

.hero-shot {
  position: absolute;
}

.hero-shot.wide {
  width: min(1040px, 64vw);
}

.hero-shot.top {
  right: -86px;
  top: 16px;
  transform: rotate(3.5deg);
  z-index: 2;
}

.hero-shot.bottom {
  bottom: 18px;
  left: -20px;
  transform: rotate(-4deg);
}

.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
}

.ticker div {
  animation: ticker 24s linear infinite;
  display: flex;
  gap: clamp(36px, 8vw, 104px);
  padding: 20px 0;
  width: max-content;
}

.ticker span {
  color: var(--paper);
  font-size: clamp(32px, 5vw, 78px);
  font-weight: 950;
  letter-spacing: -0.05em;
  line-height: 0.8;
  text-transform: uppercase;
}

@keyframes ticker {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.problem,
.use-cases,
.screenshot-wall,
.mac-section,
.pro,
.download {
  margin: 0 auto;
  max-width: var(--max);
  padding: clamp(44px, 6vw, 84px) clamp(18px, 4vw, 28px);
}

.problem {
  display: grid;
  gap: clamp(24px, 5vw, 64px);
  grid-template-columns: 0.78fr 1.22fr;
}

.problem-grid {
  display: grid;
  gap: 12px;
}

.problem-grid article,
.mac-grid article {
  background: rgba(255, 247, 232, 0.075);
  border: 1px solid var(--line);
  padding: clamp(22px, 3vw, 30px);
}

.problem-grid article:nth-child(1) {
  border-top: 6px solid var(--green);
}

.problem-grid article:nth-child(2) {
  border-top: 6px solid var(--gold);
}

.problem-grid article:nth-child(3) {
  border-top: 6px solid var(--coral);
}

strong {
  display: block;
  font-size: clamp(22px, 2.3vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}

.problem-grid p,
.mac-grid p {
  font-size: 16px;
  margin-bottom: 0;
}

.use-cases {
  display: grid;
  gap: clamp(38px, 6vw, 72px);
}

.feature {
  align-items: center;
  display: grid;
  gap: clamp(22px, 4vw, 54px);
  grid-template-columns: 0.74fr 1.26fr;
}

.feature:nth-child(even) {
  grid-template-columns: 1.26fr 0.74fr;
}

.feature:nth-child(even) .feature-copy {
  order: 2;
}

.feature-device {
  --device-rotate: -2.2deg;
  transform: rotate(var(--device-rotate));
  width: min(100%, 880px);
}

.feature:nth-child(even) .feature-device {
  --device-rotate: 2.2deg;
}

.feature-device.reveal-on-scroll {
  transform: translate3d(0, 34px, 0) rotate(var(--device-rotate));
}

.feature-device.reveal-on-scroll.is-visible {
  transform: translate3d(0, 0, 0) rotate(var(--device-rotate));
}

.feature-copy p {
  max-width: 610px;
}

.screenshot-wall {
  max-width: 1500px;
}

.wall-copy {
  margin: 0 auto 26px;
  max-width: var(--max);
}

.wall-copy p {
  max-width: 780px;
}

.screenshot-slider {
  margin-left: max(18px, calc((100vw - var(--max)) / -2));
  margin-right: max(18px, calc((100vw - var(--max)) / -2));
  overflow: hidden;
  padding: 12px clamp(18px, 4vw, 42px) 46px;
  --gallery-x: 0px;
}

.screenshot-track {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  grid-auto-columns: minmax(720px, 82vw);
  grid-auto-flow: column;
  transform: translate3d(var(--gallery-x), 0, 0);
  will-change: transform;
}

.screenshot-slider .product-shot {
  width: 100%;
}

.screenshot-track .reveal-on-scroll:nth-child(1) {
  --reveal-delay: 0ms;
}

.screenshot-track .reveal-on-scroll:nth-child(2) {
  --reveal-delay: 90ms;
}

.screenshot-track .reveal-on-scroll:nth-child(3) {
  --reveal-delay: 180ms;
}

.screenshot-track .reveal-on-scroll:nth-child(4) {
  --reveal-delay: 270ms;
}

.screenshot-track .reveal-on-scroll:nth-child(5) {
  --reveal-delay: 360ms;
}

.mac-section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(22px, 4vw, 48px);
  grid-template-columns: 0.62fr 1.38fr;
}

.mac-content {
  display: grid;
  gap: 10px;
}

.companion-shot {
  border: 1px solid rgba(255, 247, 232, 0.18);
  border-radius: 18px;
  filter: drop-shadow(0 34px 90px rgba(0, 0, 0, 0.5));
}

.mac-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
}

.mac-grid article {
  border-radius: 14px;
  padding: 13px 14px;
}

.mac-grid strong {
  font-size: clamp(15px, 1.1vw, 18px);
  margin-bottom: 6px;
}

.mac-grid p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.32;
}

.pro {
  align-items: center;
  display: grid;
  gap: clamp(24px, 5vw, 68px);
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 0.9fr);
}

.pro-shots {
  min-height: 420px;
  position: relative;
}

.pro-shots .product-shot {
  position: absolute;
  width: min(520px, 42vw);
}

.pro-shots .product-shot:first-child {
  left: -38px;
  top: 18px;
  --pro-rotate: -5deg;
  transform: rotate(var(--pro-rotate));
}

.pro-shots .product-shot:last-child {
  left: 34px;
  top: 178px;
  --pro-rotate: 4deg;
  transform: rotate(var(--pro-rotate));
}

.pro-shots .product-shot.reveal-on-scroll {
  transform: translate3d(0, 34px, 0) rotate(var(--pro-rotate));
}

.pro-shots .product-shot.reveal-on-scroll.is-visible {
  transform: translate3d(0, 0, 0) rotate(var(--pro-rotate));
}

.pro-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.pro-list span {
  background: rgba(200, 255, 88, 0.12);
  border: 1px solid rgba(200, 255, 88, 0.28);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  padding: 10px 14px;
}

.download {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(25, 211, 107, 0.22), transparent 32%),
    linear-gradient(315deg, rgba(240, 184, 79, 0.2), transparent 36%),
    #171914;
  border: 1px solid var(--line);
  border-radius: 34px;
  display: grid;
  gap: clamp(28px, 7vw, 86px);
  grid-template-columns: 0.9fr 1.1fr;
  margin-bottom: 42px;
}

.download-left {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 112px 1fr;
}

.download-left img {
  border-radius: 26px;
}

.download h2 {
  margin-bottom: 0;
}

.download-right p {
  max-width: 600px;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 13px;
  font-weight: 850;
  gap: 22px;
  justify-content: center;
  padding: 30px 18px 42px;
}

footer span {
  color: var(--ink);
}

.legal-page {
  margin: 0 auto;
  max-width: 1040px;
  padding: clamp(42px, 6vw, 84px) clamp(18px, 4vw, 32px) clamp(54px, 8vw, 110px);
}

.legal-hero {
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(28px, 5vw, 54px);
  padding-bottom: clamp(28px, 5vw, 54px);
}

.legal-hero h1 {
  font-size: clamp(48px, 8vw, 92px);
  max-width: 900px;
}

.legal-hero p:not(.eyebrow) {
  font-size: 18px;
  margin-bottom: 0;
}

.legal-content {
  background: rgba(255, 247, 232, 0.055);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 56px);
}

.legal-content h2 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  margin: 34px 0 12px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.55;
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-content li + li {
  margin-top: 8px;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero,
  .problem,
  .feature,
  .feature:nth-child(even),
  .mac-section,
  .pro,
  .download {
    grid-template-columns: 1fr;
  }

  .feature:nth-child(even) .feature-copy {
    order: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-shot.wide {
    width: min(880px, 92vw);
  }

  .hero-shot.top {
    right: -100px;
  }

  .hero-shot.bottom {
    left: -110px;
  }

  .screenshot-slider {
    margin-left: 0;
    margin-right: 0;
  }

  .screenshot-track {
    grid-auto-columns: minmax(620px, 88vw);
  }

  .download-left {
    grid-template-columns: 88px 1fr;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 12px 16px;
  }

  h1 {
    font-size: clamp(46px, 13vw, 58px);
    line-height: 0.88;
  }

  h2 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 0.94;
  }

  p {
    font-size: 17px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-actions,
  .download-actions,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    display: grid;
    gap: 12px;
    min-height: auto;
    padding-top: 10px;
  }

  .hero-shot.wide {
    width: min(118vw, 560px);
  }

  .hero-shot {
    position: static;
  }

  .hero-shot.top {
    justify-self: start;
    margin-left: -58px;
    transform: rotate(2.5deg);
  }

  .hero-shot.bottom {
    justify-self: end;
    margin-right: -58px;
    transform: rotate(-3deg);
  }

  .ticker span {
    font-size: 34px;
  }

  .problem,
  .use-cases,
  .screenshot-wall,
  .mac-section,
  .pro,
  .download {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .feature-device,
  .feature:nth-child(even) .feature-device,
  .pro-shots .product-shot {
    --device-rotate: 0deg;
    --pro-rotate: 0deg;
    transform: none;
  }

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

  .pro-shots {
    display: grid;
    gap: 12px;
    min-height: auto;
  }

  .pro-shots .product-shot {
    position: static;
    width: 100%;
  }

  .pro-shots .product-shot:first-child {
    left: auto;
    top: auto;
  }

  .pro-shots .product-shot:last-child {
    left: auto;
    top: auto;
  }

  .screenshot-slider {
    padding-bottom: 28px;
  }

  .screenshot-track {
    grid-auto-columns: minmax(330px, 92vw);
  }

  .download-left {
    grid-template-columns: 1fr;
  }

  .download-left img {
    width: 86px;
  }
}

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

  .ticker div {
    animation: none;
  }

  .button {
    transition: none;
  }

  .screenshot-track {
    transform: none;
    will-change: auto;
  }

  .reveal-on-scroll,
  .reveal-on-scroll.is-visible,
  .feature-device.reveal-on-scroll,
  .feature-device.reveal-on-scroll.is-visible,
  .pro-shots .product-shot.reveal-on-scroll,
  .pro-shots .product-shot.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}
