@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/plus-jakarta-sans.woff2") format("woff2-variations");
}

:root {
  color-scheme: light dark;
  --page: light-dark(#f9f9fb, #0b0b0f);
  --card: light-dark(#ffffff, #16161c);
  --ink: light-dark(#111114, #f4f4f6);
  --muted: light-dark(#5c5c66, #a0a0ab);
  --stroke: light-dark(rgb(17 17 20 / 8%), rgb(255 255 255 / 9%));
  --accent: #f76808;
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  --gutter: max(20px, env(safe-area-inset-left));
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
  color: var(--ink);
  font: 16px/1.5 "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top)) var(--gutter) 14px;
  background: color-mix(in srgb, var(--page) 78%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  backdrop-filter: blur(20px) saturate(1.8);
}

.brand svg {
  display: block;
  height: 26px;
  fill: currentColor;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.nav nav > a:not(.pill) {
  color: var(--muted);
  transition: color 0.2s;
}

.nav nav > a:not(.pill):hover {
  color: var(--ink);
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--page);
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 0.3s var(--spring),
    opacity 0.2s;
}

.pill:hover {
  transform: scale(1.03);
}

.pill:active {
  transform: scale(0.97);
}

.pill.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--stroke);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero {
  padding: clamp(56px, 11vw, 132px) 0 clamp(40px, 7vw, 80px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0;
  text-wrap: balance;
  font-size: clamp(42px, 7.4vw, 88px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 560px;
  text-wrap: balance;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.5;
}

.demos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 20px;
}

.demo {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  background: var(--card);
  box-shadow:
    0 0 0 1px var(--stroke),
    0 1px 2px rgb(0 0 0 / 4%),
    0 12px 32px -12px rgb(0 0 0 / 12%);
  transition:
    transform 0.5s var(--spring),
    box-shadow 0.5s var(--spring);
}

.demo:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px var(--stroke),
    0 2px 4px rgb(0 0 0 / 4%),
    0 28px 56px -20px rgb(0 0 0 / 22%);
}

.shot {
  aspect-ratio: 5 / 4;
  overflow: hidden;
}

.bricks .shot {
  background: #f6f6f9;
}

.blocks .shot {
  background: linear-gradient(#d8dbe5, #cbd0dd);
}

.shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--spring);
}

.demo:hover .shot img {
  transform: scale(1.03);
}

.info {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 22px 22px;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
}

.info h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.info p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.go {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: light-dark(#f0f0f3, #24242c);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s;
}

.demo:hover .go {
  background: var(--accent);
  color: #fff;
}

.cta {
  padding: clamp(72px, 11vw, 128px) 0;
  text-align: center;
}

.cta h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.cta p {
  max-width: 480px;
  text-wrap: balance;
  margin: 14px auto 28px;
  color: var(--muted);
  font-size: 17px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.actions .pill {
  height: 44px;
  padding: 0 22px;
  font-size: 15px;
}

footer {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--stroke);
  color: var(--muted);
  font-size: 13px;
}

footer a:hover {
  color: var(--ink);
}

@media (max-width: 560px) {
  .nav nav > a:not(.pill) {
    display: none;
  }

  .demo {
    border-radius: 24px;
  }

  .info {
    grid-template-columns: auto 1fr;
  }

  .go {
    display: none;
  }
}

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