@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --bg: #fefefe;
  --panel: #e5e5e5;
  --ink: #1e1e1e;
  --muted: #545454;
  --line: #b5b5b5;
  --accent: #e58da4;
  --pink: #e58da4;
  --blue: #aebdbf;
  --sans: "DM Sans", Helvetica, sans-serif;
  --serif: var(--sans);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color-scheme: light;
  font-family: var(--sans);
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #8e2446;
  outline-offset: 5px;
}
::selection {
  background: var(--pink);
  color: var(--ink);
}
.wrap {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.header {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 55px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1.1px;
  white-space: nowrap;
  line-height: 1;
}
.brand svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: miter;
}
.brand-light {
  font-weight: 500;
}
.header nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 14px;
}
.header-actions {
  margin-left: auto;
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 14px;
}
.header a:hover,
footer a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--bg);
  font-weight: 500;
  font-size: 14px;
  box-shadow: 3px 3px 0 #a1a1a1;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #999;
  text-decoration: none !important;
}
.button.small {
  min-height: 35px;
  font-size: 12px;
  padding: 7px 13px;
  box-shadow: 2px 2px 0 #aaa;
}
.button.outline {
  background: var(--bg);
  color: var(--ink);
}
.release {
  width: fit-content;
  max-width: calc(100% - 40px);
  margin: 33px auto 0;
  border: 1px solid var(--ink);
  background: #e6e6e6;
  box-shadow: 3px 3px 0 #a0a0a0;
  font-family: var(--mono);
  font-size: 10px;
  padding: 0;
}
.release:before {
  content: "Jev Use 1.1 / Open source";
  display: block;
  background: var(--ink);
  color: var(--bg);
  padding: 3px 7px;
  font-size: 10px;
}
.release a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}
.release-separator {
  color: #888;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: currentColor;
  flex-shrink: 0;
}
.hero {
  display: flex;
  flex-direction: column;
  padding: 62px 0 0;
  gap: 65px;
}
.hero-copy {
  position: relative;
  text-align: center;
  padding: 30px 25px 34px;
  width: 100%;
  background:
    linear-gradient(var(--ink), var(--ink)) top left/12px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top left/1px 12px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top right/12px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top right/1px 12px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom left/12px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom left/1px 12px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom right/12px 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom right/1px 12px no-repeat;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3px;
  font-weight: 400;
  margin: 0 0 25px;
}
.hero h1 {
  font-size: clamp(64px, 7.7vw, 108px);
  font-weight: 600;
  letter-spacing: -6px;
  line-height: 0.96;
  margin: 0 auto 29px;
  max-width: 1150px;
}
.hero h1 em {
  font-style: normal;
}
em {
  font-style: normal;
  font-weight: inherit;
  color: inherit;
}
.intro {
  font-size: 17px;
  line-height: 1.5;
  max-width: 580px;
  margin: 0 auto 25px;
  color: #414141;
}
.intro br {
  display: none;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.hero-actions .button {
  background: none;
  color: var(--ink);
  border: 0;
  border-bottom: 2px solid var(--ink);
  box-shadow: none;
  padding: 4px 0;
  min-height: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.8px;
  gap: 14px;
}
.hero-actions .button:hover {
  transform: none;
  color: #8e2446;
  border-color: #8e2446;
}
.hero-note {
  font: 10px/1.5 var(--mono);
  margin: 23px 0 0;
  color: #595959;
}
.hero-art {
  margin: 0;
  position: relative;
  background: var(--pink);
  padding: 28px 28px 16px;
  width: 100%;
  border: 1px solid var(--ink);
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.5;
  object-fit: contain;
}
.hero-art figcaption {
  font: 9px/1.4 var(--mono);
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  gap: 20px;
}
.hero-art figcaption .status-dot {
  margin-right: 6px;
  width: 5px;
  height: 5px;
}
.pink-field {
  background: var(--pink);
  margin-top: -100px;
  padding-top: 140px;
}
.foundation {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding-block: 24px;
  border-block: 1px solid #a66074;
  gap: 20px;
}
.foundation p {
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}
.foundation div {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 13px;
}
.foundation div span {
  font: 11px/1 var(--mono);
  border: 1px solid var(--ink);
  padding: 6px;
}
.section {
  padding-block: 94px;
}
.section h2,
.start-section h2 {
  font-size: clamp(36px, 4.6vw, 65px);
  font-weight: 500;
  letter-spacing: -2.6px;
  line-height: 1.02;
  margin: 0 0 24px;
}
.section-heading {
  max-width: 950px;
}
.section-heading h2 {
  font-size: clamp(42px, 5.7vw, 78px);
  letter-spacing: -3.5px;
  max-width: 960px;
}
.section-heading > p:last-child {
  font-size: 16px;
  max-width: 470px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
  margin-top: 60px;
}
.principles article {
  border-left: 1px solid #a66074;
  padding-left: 20px;
}
.index {
  font: 10px/1.4 var(--mono);
}
h3 {
  font-size: 23px;
  letter-spacing: -0.8px;
  font-weight: 500;
  line-height: 1.1;
  margin: 28px 0 15px;
}
.principles p {
  font-size: 14px;
  max-width: 320px;
  margin: 0;
  line-height: 1.6;
}
.api-section {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.api-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  font-size: 13px;
}
.text-link:hover {
  color: #8e2446;
}
.api-top .text-link {
  margin-bottom: 25px;
}
.api-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.2fr;
  gap: 65px;
  margin-top: 40px;
}
.api-choice {
  width: 100%;
  display: grid;
  grid-template-columns: 25px 1fr 15px;
  gap: 12px;
  text-align: left;
  color: var(--ink);
  background: none;
  border: 0;
  border-top: 1px solid #b8b8b8;
  padding: 24px 12px;
}
.api-choice strong {
  font-size: 17px;
  line-height: 1.2;
  font-weight: 500;
  display: block;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.api-choice small {
  font-size: 12px;
  display: block;
  color: #505050;
}
.choice-number {
  font: 10px/1.5 var(--mono);
  padding-top: 2px;
}
.choice-arrow {
  font-size: 20px;
  opacity: 0;
}
.api-choice[aria-selected="true"] {
  background: var(--pink);
  border-color: var(--ink);
}
.api-choice[aria-selected="true"] .choice-arrow {
  opacity: 1;
}
.api-choice:hover {
  background: #f3d2dc;
}
.api-footnote {
  font: 10px/1.7 var(--mono);
  color: var(--muted);
  margin-top: 28px;
}
.code-window {
  background: #e6e6e6;
  border: 1px solid var(--ink);
  box-shadow: 5px 5px 0 #aaa;
  min-width: 0;
  align-self: start;
  padding: 5px;
}
.code-toolbar,
.install-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 10px;
  background: var(--ink);
  color: #f3f3f3;
  font: 11px/1.4 var(--mono);
  min-height: 32px;
}
.file-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--pink);
  margin-right: 8px;
}
.copy-button {
  display: flex;
  gap: 10px;
  align-items: center;
  background: transparent;
  color: inherit;
  border: 1px solid #aaa;
  padding: 4px 8px;
  min-height: 26px;
  font: 10px/1.3 var(--mono);
}
.copy-button:hover {
  background: #f3f3f3;
  color: var(--ink);
}
pre {
  overflow-x: auto;
  margin: 0;
  tab-size: 2;
  scrollbar-width: thin;
}
code {
  font: 11px/1.9 var(--mono);
}
.code-window pre {
  padding: 25px 19px;
  min-height: 305px;
  background: #f5f5f3;
  border: 1px solid #aaa;
  margin-top: 5px;
}
.token-purple {
  color: #753154;
}
.token-orange {
  color: #85402e;
}
.token-green {
  color: #355b45;
}
.token-comment {
  color: #5d5d5d;
}
.code-caption {
  border: 1px solid #aaa;
  margin-top: 5px;
  padding: 11px 14px;
  font: 10px/1.5 var(--mono);
  display: flex;
  align-items: center;
  gap: 10px;
}
.boundaries {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
}
.section-description {
  font-size: 15px;
  max-width: 320px;
  margin-bottom: 26px;
  color: var(--muted);
}
.boundaries dl {
  margin: 0;
}
.boundaries dl div {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.boundaries dt {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.boundaries dd {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 385px;
}
.start-section {
  background: var(--blue);
  padding-block: 85px;
  border-block: 1px solid #829395;
}
.start-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.start-section p:not(.eyebrow) {
  font-size: 15px;
}
.start-section .text-link {
  margin-top: 22px;
}
.install {
  border: 1px solid var(--ink);
  box-shadow: 5px 5px 0 #718384;
  padding: 5px;
  min-width: 0;
  background: #dedede;
}
.install pre {
  padding: 24px 19px;
  background: #eee;
  border: 1px solid #aaa;
  margin-top: 5px;
}
.install > p {
  font-size: 11px !important;
  line-height: 1.7;
  margin: 16px 16px 12px;
}
.install a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.install .install-note {
  border-top: 1px solid #aaa;
  padding-top: 12px;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  background: #1e1e1e;
  color: #f1f1f1;
  box-shadow: 0 0 0 100vmax #1e1e1e;
  clip-path: inset(0 -100vmax);
}
.faq details {
  border-top: 1px solid #5c5c5c;
}
.faq details:last-child {
  border-bottom: 1px solid #5c5c5c;
}
summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
  font: 12px/1.6 var(--mono);
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}
summary span {
  border: 1px solid #999;
  width: 15px;
  height: 15px;
  font: 14px/12px var(--mono);
  text-align: center;
  color: var(--pink);
}
details[open] summary span {
  transform: rotate(45deg);
}
details p {
  font-size: 14px;
  color: #cfcfcf;
  margin: 0 30px 25px 0;
  line-height: 1.7;
}
footer {
  background: #1e1e1e;
  color: #f1f1f1;
  box-shadow: 0 0 0 100vmax #1e1e1e;
  clip-path: inset(0 -100vmax);
  padding-block: 30px 24px;
  border-top: 1px solid #5c5c5c;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 30px;
}
.footer-top p {
  font-size: 12px;
  color: #ccc;
}
.footer-top nav {
  display: flex;
  gap: 25px;
  margin-left: auto;
  font-size: 12px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 9px/1.6 var(--mono);
  color: #c6c6c6;
  border-top: 1px solid #5c5c5c;
  padding-top: 22px;
  margin-top: 35px;
}
.footer-star {
  font-size: 18px;
  color: var(--pink);
  vertical-align: middle;
  margin-left: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  opacity: 0;
  pointer-events: none;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  z-index: 10;
}
.skip-link:focus-visible {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .header {
    gap: 28px;
  }
  .header nav {
    gap: 20px;
  }
  .hero h1 {
    letter-spacing: -4px;
  }
  .api-layout {
    gap: 35px;
  }
  .principles {
    gap: 28px;
  }
  .boundaries,
  .start-layout,
  .faq {
    gap: 40px;
  }
  .footer-top p {
    display: none;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .header {
    height: 66px;
    gap: 15px;
  }
  .brand {
    font-size: 22px;
  }
  .brand svg {
    width: 25px;
    height: 25px;
  }
  .header nav {
    font-size: 12px;
    gap: 15px;
  }
  .header nav > a:first-child,
  .source-link {
    display: none;
  }
  .header-actions {
    margin-left: 0;
  }
  .button.small {
    padding: 6px 9px;
    font-size: 10px;
    gap: 8px;
  }
  .release {
    margin-top: 22px;
    font-size: 8px;
  }
  .release:before {
    font-size: 9px;
  }
  .release a {
    gap: 6px;
    padding: 7px 9px;
  }
  .hero {
    padding-top: 40px;
    gap: 38px;
  }
  .hero-copy {
    padding: 25px 0 27px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 23px;
  }
  .hero h1 {
    font-size: clamp(44px, 8.7vw, 66px);
    letter-spacing: -2.7px;
    line-height: 1;
    margin-bottom: 25px;
  }
  .intro {
    font-size: 14px;
    max-width: 420px;
    padding-inline: 8px;
  }
  .hero-actions {
    gap: 25px;
  }
  .hero-actions .button {
    font-size: 18px;
    letter-spacing: -0.5px;
    gap: 9px;
  }
  .hero-note {
    font-size: 8px;
    margin-top: 20px;
  }
  .hero-art {
    padding: 12px 8px;
  }
  .hero-art img {
    aspect-ratio: 2.5;
    object-fit: contain;
    object-position: 50% 50%;
  }
  .hero-art figcaption {
    font-size: 7px;
    gap: 8px;
  }
  .hero-art figcaption > span:last-child {
    white-space: nowrap;
  }
  .pink-field {
    margin-top: -55px;
    padding-top: 84px;
  }
  .foundation {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .foundation p {
    font-size: 11px;
  }
  .foundation div {
    gap: 9px;
    font-size: 11px;
  }
  .foundation div span {
    font-size: 9px;
    padding: 4px;
  }
  .section {
    padding-block: 60px;
  }
  .section h2,
  .start-section h2 {
    font-size: 38px;
    letter-spacing: -1.8px;
  }
  .section-heading h2 {
    font-size: 44px;
    letter-spacing: -2.2px;
  }
  .section-heading > p:last-child {
    font-size: 14px;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 38px;
  }
  .principles article {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 0 14px;
    padding-left: 12px;
  }
  .principles .index {
    grid-row: 1/3;
    font-size: 8px;
    padding-top: 4px;
  }
  .principles h3 {
    font-size: 20px;
    margin: 0 0 10px;
  }
  .principles p {
    font-size: 12px;
    max-width: none;
  }
  .api-top {
    display: block;
  }
  .api-top .text-link {
    margin: 0;
  }
  .api-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 28px;
  }
  .api-choices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .api-choice {
    display: block;
    padding: 10px 8px;
  }
  .api-choice strong {
    font-size: 12px;
    margin: 8px 0 0;
    line-height: 1.4;
  }
  .api-choice small,
  .choice-arrow,
  .api-footnote {
    display: none;
  }
  .code-window pre {
    padding: 20px 10px;
    min-height: 280px;
  }
  .code-window code {
    font-size: 9px;
  }
  .code-caption {
    font-size: 8px;
    padding: 10px;
  }
  .code-toolbar,
  .install-top {
    font-size: 10px;
  }
  .boundaries,
  .start-layout,
  .faq {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .boundaries dd {
    max-width: none;
    font-size: 13px;
  }
  .boundaries dl div {
    padding: 20px 0;
  }
  .start-section {
    padding-block: 60px;
  }
  .start-section .text-link {
    margin-top: 12px;
  }
  .install pre {
    padding: 20px 10px;
  }
  .install code {
    font-size: 9px;
  }
  .install > p {
    margin-inline: 10px;
  }
  .faq h2 {
    margin: 0;
  }
  .footer-top {
    align-items: start;
    gap: 20px;
  }
  .footer-top nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 17px;
    font-size: 10px;
    max-width: 210px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 13px;
    font-size: 8px;
  }
  .footer-bottom > span:last-child {
    width: 100%;
  }
}
@media (max-width: 380px) {
  .header nav {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .hero h1 {
    font-size: 40px;
    letter-spacing: -2.1px;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero-actions .button {
    font-size: 16px;
    gap: 6px;
  }
  .hero-note {
    font-size: 7px;
  }
  .foundation div {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
