@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/space-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pixelify Sans";
  src: url("/assets/pixelify-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* Agent Radio palette from web/style.css. */
:root {
  color-scheme: light;
  --bg: #f7edd8;
  --tile: #fff9ee;
  --raise: #ebe3f3;
  --text: #25273f;
  --text-2: #3c3f5c;
  --line: #938caa;
  --lime: #ffe2a3;
  --lime-ink: #543988;
  --on-lime: #302013;
  --max: 79rem;
  --gutter: clamp(1.25rem, 4.8vw, 4.5rem);
  --display: "Pixelify Sans", "Space Grotesk", system-ui, sans-serif;
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  scrollbar-color: var(--line) var(--bg);
  scroll-padding-top: 1.25rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #151724;
    --tile: #202335;
    --raise: #292b40;
    --text: #fbf0df;
    --text-2: #e2d9ed;
    --line: #62617d;
    --lime: #ded19a;
    --lime-ink: #ded19a;
    --on-lime: #282117;
  }
}

* { box-sizing: border-box; }
body { margin: 0; }
h1, h2, p, ul, dl, dd, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--lime); color: var(--on-lime); }
:focus-visible { outline: 2px solid var(--lime-ink); outline-offset: 4px; }

.wrap {
  width: min(calc(100% - 2 * var(--gutter)), var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  inset: 1rem auto auto 1rem;
  z-index: 1;
  padding: .6rem 1rem;
  background: var(--lime);
  color: var(--on-lime);
  transform: translateY(-180%);
}
.skip:focus { transform: none; }

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  width: max-content;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand img { flex: none; image-rendering: pixelated; }
nav { display: flex; align-items: center; gap: clamp(.8rem, 3vw, 2.1rem); }
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
}
nav a:hover, .subtle-link:hover, .preview-link:hover { text-decoration: underline; text-underline-offset: .23em; }
.nav-action { gap: .55rem; padding: 0 .85rem; border: 1px solid var(--line); border-radius: .4rem; background: var(--raise); }

.arrow {
  position: relative;
  display: inline-block;
  flex: none;
  width: .85rem;
  height: .85rem;
}
.arrow::before, .arrow::after { content: ""; position: absolute; }
.arrow::before {
  inset: .2rem .12rem auto auto;
  width: .46rem;
  height: .46rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}
.arrow::after {
  inset: .47rem 0 auto auto;
  width: .79rem;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(19rem, .78fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(2.1rem, 5vw, 5rem);
  padding-block: clamp(4rem, 7vw, 7.1rem) clamp(3.75rem, 6.5vw, 6rem);
}
.hero-copy { min-width: 0; }
h1, h2 { font-weight: 700; letter-spacing: -.04em; }
h1 { font-family: var(--display); font-size: clamp(3.1rem, 5.3vw, 5.5rem); line-height: .99; text-wrap: balance; }
h1 span {
  background: linear-gradient(transparent 81%, color-mix(in srgb, var(--lime) 55%, transparent) 81%);
}
.hero-copy p {
  max-width: 32ch;
  margin-top: 1.55rem;
  color: var(--text-2);
  font-size: clamp(1.07rem, 1.48vw, 1.27rem);
  line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; margin-top: 1.75rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.15rem;
  padding: .65rem 1rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: var(--lime);
  color: var(--on-lime);
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: color-mix(in srgb, var(--lime) 87%, var(--on-lime)); }
.subtle-link { font-weight: 600; text-underline-offset: .25em; }

.product {
  min-width: 0;
  padding: clamp(.75rem, 2vw, 1.7rem);
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--raise);
}
.preview-image { display: block; overflow: hidden; border-radius: .4rem; box-shadow: 0 8px 19px #191b2a26; }
.preview-image img { width: 100%; }
figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .45rem .8rem;
  flex-wrap: wrap;
  padding-top: .9rem;
  color: var(--text-2);
  font-size: .83rem;
  font-weight: 600;
}
.caption-dot { display: inline-block; width: .27rem; height: .27rem; margin-inline: .2rem; border-radius: 50%; background: currentColor; vertical-align: .17em; }
.preview-link { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; }
.preview-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .preview-dark { display: inline-flex; }
  .preview-light { display: none; }
}

.compatibility { border-block: 1px solid var(--line); background: var(--tile); }
.compatibility-inner { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.8rem; padding-block: 1.15rem; }
.compatibility p { color: var(--text-2); font-size: .91rem; }
.compatibility ul { display: flex; flex-wrap: wrap; gap: .65rem clamp(.85rem, 2.5vw, 2rem); list-style: none; padding: 0; font-size: .96rem; font-weight: 700; }

.overview {
  display: grid;
  grid-template-columns: minmax(17rem, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 7.5vw, 7rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}
h2 { font-size: clamp(2.45rem, 4.15vw, 4.35rem); line-height: 1; }
.overview-intro p, .setup p { max-width: 40ch; margin-top: 1rem; font-size: 1.06rem; line-height: 1.55; }
.overview-intro p, .setup p { color: var(--text-2); }
.feature-list { border-top: 1px solid var(--line); }
.feature-list > div { padding: 1.05rem 0 1.25rem; border-bottom: 1px solid var(--line); }
.feature-list dt { font-weight: 700; font-size: clamp(1.25rem, 1.75vw, 1.6rem); letter-spacing: -.027em; }
.feature-list dd { max-width: 59ch; margin-top: .35rem; color: var(--text-2); font-size: 1rem; line-height: 1.55; }

.setup {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.65rem 3rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--raise);
}
.setup .button { flex: none; }

.site-footer { min-height: 5.6rem; border-bottom: 0; color: var(--text-2); }
.site-footer .brand { font-size: 1.02rem; }
.site-footer .subtle-link { font-size: .9rem; }

@media (max-width: 840px) {
  .hero, .overview { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3.45rem, 9.6vw, 5rem); }
  .hero { padding-top: 3.7rem; }
  .hero-copy p { max-width: 37ch; }
  .product { width: min(100%, 45rem); }
  .overview h2 br { display: none; }
}

@media (max-width: 560px) {
  .site-header { min-height: 4.3rem; }
  nav a { font-size: .88rem; }
  .brand { font-size: 1.16rem; }
  .brand img { width: 29px; }
  .setup { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 355px) {
  .wrap { width: calc(100% - 2rem); }
  h1 { font-size: clamp(2.75rem, 14.6vw, 3.35rem); }
  .nav-action { padding-inline: .55rem; }
}
