:root {
  --paper:#fafaf7;
  --ink:#0a0a0a;
  --muted:#62635e;
  --line:#deded6;
  --orange:#e85d1f;
  --cream:#f5f2e1;
  --card-width:360px;
  font-family:Satoshi,Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none;
  scroll-behavior:smooth;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
button,input,select {
  font:inherit;
  color:inherit;
}
button,a,input,select {
  -webkit-tap-highlight-color:transparent;
}
button,a {
  touch-action:manipulation;
}
button {
  cursor:pointer;
}
a {
  color:inherit;
}
button:disabled {
  cursor:wait;
  opacity:.48;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline:2px solid var(--orange);
  outline-offset:4px;
}
button {
  border-radius:0;
}
button svg {
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linejoin:round;
  stroke-linecap:round;
  flex-shrink:0;
}
.sr-only,.skip:not(:focus) {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
}
.skip:focus {
  position:fixed;
  top:8px;
  left:8px;
  z-index:20;
  background:var(--paper);
  padding:16px;
}
p {
  line-height:1.6;
  text-wrap:pretty;
}
button {
  background:none;
}
.topbar {
  height:86px;
  padding:0 4vw;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
.brand strong {
  font-size:27px;
  letter-spacing:-.06em;
}
.brand>span {
  margin-left:10px;
  color:var(--muted);
  font-size:14px;
}
.top-actions {
  display:flex;
  align-items:center;
  gap:32px;
}
.top-actions>a {
  font-size:13px;
  text-decoration:none;
}
.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:43px;
  padding:10px 16px;
  gap:8px;
  border:1px solid var(--ink);
  background:transparent;
  text-decoration:none;
  font-size:13px;
  font-weight:500;
  transition:background .15s,color .15s;
}
.button:hover {
  background:var(--ink);
  color:var(--paper);
}
.button-orange {
  border-color:var(--orange);
  background:var(--orange);
  color:var(--ink);
}
.button-orange:hover {
  background:#d64b0e;
  border-color:#d64b0e;
  color:var(--ink);
}
.intro {
  padding:64px 4vw 0;
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:40px 9vw;
  max-width:1800px;
  margin:auto;
}
.eyebrow {
  font-family:'JetBrains Mono',monospace;
  text-transform:uppercase;
  font-size:10px;
  letter-spacing:.14em;
  font-weight:400;
  line-height:1.5;
  margin:0;
}
.orange-dot {
  display:inline-block;
  width:7px;
  height:7px;
  background:var(--orange);
  margin-right:9px;
}
h1 {
  font-weight:900;
  font-size:clamp(64px,8.4vw,144px);
  line-height:.98;
  letter-spacing:-.065em;
  margin:26px 0 48px;
}
h1>span {
  color:var(--orange);
}
.intro-copy {
  padding-top:30px;
  max-width:440px;
}
.intro-copy .lead {
  font-size:clamp(27px,2.5vw,39px);
  line-height:1.15;
  font-weight:500;
  letter-spacing:-.035em;
  margin:0 0 22px;
}
.intro-copy>p:not(.lead) {
  color:var(--muted);
  font-size:15px;
  margin:0 0 12px;
}
.text-link {
  display:inline-block;
  text-decoration-color:var(--orange);
  text-underline-offset:5px;
  font-size:14px;
  font-weight:500;
  line-height:1.5;
}
.intro-copy>.text-link {
  margin-top:14px;
}
.intro-foot {
  grid-column:1/-1;
  display:flex;
  gap:20px;
  justify-content:space-between;
  padding:18px 0;
  border-top:1px solid var(--line);
  font-size:12px;
  color:var(--muted);
}
.canvas-section {
  scroll-margin-top:0;
  background:#eeeee8;
}
.toolbar {
  position:sticky;
  top:0;
  z-index:3;
  padding:16px 4vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:var(--paper);
  border-block:1px solid var(--line);
  flex-wrap:wrap;
}
.filters {
  display:flex;
  gap:4px;
  align-items:center;
  flex-wrap:wrap;
}
.filters>button {
  border:0;
  padding:10px 12px;
  font-size:13px;
  white-space:nowrap;
  min-height:42px;
}
.filters>button:hover {
  background:#efefe8;
}
.filters>button[aria-pressed=true] {
  background:var(--ink);
  color:var(--paper);
}
.filters span {
  font:10px monospace;
  opacity:.65;
  margin-left:4px;
}
.view-controls {
  display:flex;
  align-items:center;
  gap:16px;
}
.search {
  display:flex;
  align-items:center;
  gap:8px;
  border-bottom:1px solid #c5c5bc;
}
.search>span {
  font-size:23px;
}
.search input {
  border:0;
  background:none;
  padding:10px 0;
  width:140px;
  font-size:12px;
  min-height:40px;
}
.search input:focus-visible {
  outline-offset:0;
}
.sort-label select {
  border:0;
  border-bottom:1px solid #c5c5bc;
  font-size:12px;
  max-width:150px;
  background:none;
  padding:10px 0;
  min-height:40px;
}
.zoom {
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  height:40px;
}
.zoom button {
  height:38px;
  width:36px;
  border:0;
  font-size:20px;
}
.zoom button:hover {
  background:#e7e7df;
}
.zoom span {
  font:10px monospace;
  min-width:43px;
  text-align:center;
}
.canvas-meta {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:18px 4vw;
  color:var(--muted);
  font:10px monospace;
  letter-spacing:.02em;
}
.board {
  padding:8px 4vw 64px;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--card-width)),1fr));
  gap:32px;
  align-items:start;
  max-width:2400px;
  margin:auto;
}
.concept {
  min-width:0;
  background:var(--paper);
  border:1px solid #d6d6cc;
  transition:border-color .2s;
  position:relative;
}
.concept:hover {
  border-color:#aaa99d;
}
.card-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 18px;
  font:10px monospace;
  letter-spacing:.05em;
  color:var(--muted);
}
.card-top span:first-child {
  color:var(--ink);
}
.image-button {
  display:block;
  position:relative;
  width:100%;
  padding:0;
  border:0;
  background:#e4e3dc;
  overflow:hidden;
}
.image-button img {
  display:block;
  width:100%;
  height:clamp(230px,24vw,390px);
  object-fit:contain;
  transition:transform .4s cubic-bezier(.2,.8,.2,1);
}
.image-button:hover img {
  transform:scale(1.025);
}
.image-button .expand {
  position:absolute;
  right:12px;
  bottom:12px;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  background:var(--paper);
  border:1px solid #d4d4cc;
  font-size:18px;
}
.image-button .film {
  position:absolute;
  left:12px;
  bottom:12px;
  background:var(--ink);
  color:var(--paper);
  font:10px monospace;
  padding:8px 10px;
}
.card-copy {
  padding:20px 20px 16px;
}
.card-copy h2 {
  font-size:21px;
  line-height:1.2;
  letter-spacing:-.035em;
  margin:0 0 9px;
  font-weight:700;
}
.title-button {
  font:inherit;
  letter-spacing:inherit;
  text-align:left;
  border:0;
  padding:0;
}
.title-button:hover {
  text-decoration:underline;
  text-decoration-color:var(--orange);
  text-underline-offset:4px;
}
.card-copy p {
  font-size:13px;
  color:var(--muted);
  line-height:1.5;
  margin:0;
  min-height:59px;
}
.card-bottom {
  display:flex;
  justify-content:space-between;
  gap:8px;
  align-items:center;
  padding:0 20px 18px;
}
.votes {
  display:flex;
  gap:6px;
}
.vote {
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:center;
  min-width:60px;
  min-height:40px;
  padding:8px 11px;
  border:1px solid #d3d3c9;
  background:transparent;
  font-size:12px;
  font-variant-numeric:tabular-nums;
  transition:background .16s,transform .16s;
}
.vote:hover {
  border-color:var(--ink);
  transform:translateY(-1px);
}
.vote[aria-pressed=true] {
  border-color:var(--ink);
  background:var(--ink);
  color:var(--paper);
}
.open-link {
  font-size:11px;
  min-height:40px;
  padding:8px 0;
  border:0;
  color:var(--muted);
}
.open-link:hover {
  color:var(--ink);
  text-decoration:underline;
}
.empty {
  padding:60px;
  text-align:center;
}
.voting-note {
  padding:24px 4vw 44px;
  border-top:1px solid #d6d6cc;
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:40px;
  font-size:12px;
  color:var(--muted);
}
.voting-note>span {
  font:10px monospace;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.voting-note p {
  max-width:700px;
  margin:0;
}
.contribute {
  padding:80px 4vw;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px 9vw;
  background:var(--ink);
  color:var(--cream);
}
.contribute>.eyebrow {
  grid-column:1/-1;
  color:var(--orange);
}
.contribute h2 {
  font-size:clamp(32px,4vw,64px);
  font-weight:500;
  letter-spacing:-.04em;
  line-height:1.05;
  margin:12px 0;
}
.contribute>div {
  max-width:480px;
}
.contribute p {
  font-size:15px;
  margin:12px 0 24px;
  color:#c0c0b6;
}
footer {
  padding:30px 4vw;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  font-size:11px;
  color:var(--muted);
}
footer a {
  text-underline-offset:4px;
}
dialog {
  padding:0;
  border:0;
  width:calc(100vw - 48px);
  max-width:1800px;
  max-height:calc(100dvh - 48px);
  background:var(--paper);
  color:var(--ink);
  overflow:auto;
}
dialog::backdrop {
  background:rgba(10,10,10,.7);
}
.viewer-bar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 24px;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  background:var(--paper);
  z-index:2;
}
.viewer-bar>div {
  display:flex;
  gap:16px;
  align-items:center;
}
.icon-button {
  border:0;
  width:42px;
  height:42px;
  font-size:30px;
  font-weight:400;
  padding:0;
}
.icon-button:hover {
  background:#eeeee8;
}
.viewer-content {
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:32px;
  padding:24px;
}
.viewer-media {
  min-width:0;
  background:#e4e3dc;
  align-self:start;
}
#media-stage {
  position:relative;
  display:block;
  min-height:300px;
  height:calc(100dvh - 210px);
  max-height:1000px;
  overflow:auto;
}
#media-stage img,#media-stage video {
  position:absolute;
  inset:0;
  display:block;
  min-width:0;
  min-height:0;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
#media-options {
  display:flex;
  gap:8px;
  padding:12px;
  overflow:auto;
  background:#eeeee8;
}
#media-options:empty {
  display:none;
}
.media-option {
  flex:0 0 63px;
  height:58px;
  border:2px solid transparent;
  padding:3px;
  background:var(--paper);
}
.media-option img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.media-option[aria-pressed=true] {
  border-color:var(--orange);
}
.media-option.film-option {
  font:10px monospace;
}
.viewer-info {
  padding:24px 0;
  align-self:center;
}
.viewer-info .eyebrow {
  color:var(--muted);
}
.viewer-info h2 {
  font-size:34px;
  line-height:1.05;
  letter-spacing:-.045em;
  margin:22px 0;
}
.viewer-info>p:not(.eyebrow) {
  font-size:14px;
  color:var(--muted);
}
#viewer-votes {
  margin:24px 0;
}
.viewer-info .vote {
  min-height:48px;
  min-width:75px;
}
.viewer-info .media-note {
  font-size:11px;
  line-height:1.5;
  padding-top:20px;
  border-top:1px solid var(--line);
  margin-bottom:24px;
}
.viewer-navigation {
  margin-top:44px;
  display:flex;
  gap:8px;
}
.viewer-navigation .button {
  font-size:11px;
  padding-inline:12px;
}
.toast {
  position:fixed;
  bottom:28px;
  left:50%;
  transform:translateX(-50%);
  z-index:30;
  background:var(--ink);
  color:var(--paper);
  border:1px solid #777;
  padding:15px 24px;
  font-size:13px;
  max-width:calc(100vw - 32px);
  width:max-content;
}
.error {
  color:#b1280d!important;
}
[hidden] {
  display:none!important;
}
@media(min-width:1900px) {
  .board {
    gap:40px;
  }
  .image-button img {
    height:360px;
  }
}
@media(max-width:1150px) {
  .toolbar {
    gap:12px;
  }
  .view-controls {
    margin-left:auto;
  }
  .intro {
    gap:24px 6vw;
  }
  .viewer-content {
    grid-template-columns:minmax(0,1fr) 270px;
    gap:24px;
  }
  .viewer-info h2 {
    font-size:29px;
  }
  .viewer-bar {
    padding-inline:18px;
  }
  .viewer-content {
    padding:18px;
  }
  .board {
    gap:24px;
  }
  .image-button img {
    height:300px;
  }
}
@media(max-width:740px) {
  .topbar {
    height:70px;
    padding-inline:20px;
  }
  .top-actions>a {
    display:none;
  }
  .top-actions .button {
    font-size:11px;
    padding:8px 12px;
  }
  .brand>span {
    font-size:12px;
    margin-left:3px;
  }
  .brand img {
    width:25px;
    height:25px;
  }
  .brand strong {
    font-size:24px;
  }
  .intro {
    padding:40px 20px 0;
    grid-template-columns:1fr;
    gap:0;
  }
  h1 {
    font-size:clamp(68px,16vw,112px);
    margin-bottom:30px;
  }
  .intro-copy {
    padding:0 0 32px;
    max-width:550px;
  }
  .intro-copy .lead {
    font-size:27px;
    margin-bottom:16px;
  }
  .lead br {
    display:none;
  }
  .intro-copy>p:not(.lead) {
    font-size:14px;
  }
  .intro-foot {
    font-size:10px;
    gap:12px;
  }
  .intro-foot span {
    max-width:50%;
  }
  .toolbar {
    padding:10px 16px;
    gap:8px;
  }
  .filters {
    width:100%;
    flex-wrap:nowrap;
    overflow:auto;
    gap:2px;
    scrollbar-width:none;
  }
  .filters>button {
    padding:8px 10px;
    font-size:11px;
    min-height:38px;
  }
  .view-controls {
    width:100%;
    gap:12px;
    justify-content:space-between;
  }
  .search {
    flex:1;
    min-width:90px;
  }
  .search input {
    width:100%;
    min-width:0;
    font-size:11px;
  }
  .sort-label select {
    font-size:10px;
    max-width:132px;
  }
  .zoom {
    height:36px;
  }
  .zoom button {
    height:34px;
    width:29px;
  }
  .zoom span {
    min-width:35px;
    font-size:9px;
  }
  .canvas-meta {
    padding:16px;
    font-size:9px;
  }
  .board {
    padding:0 16px 36px;
    gap:20px;
  }
  .image-button img {
    height:330px;
  }
  .card-copy p {
    min-height:0;
  }
  .card-top {
    padding:12px 16px;
  }
  .card-copy {
    padding:18px 16px 14px;
  }
  .card-bottom {
    padding:0 16px 16px;
  }
  .voting-note {
    padding:24px 20px;
    grid-template-columns:1fr;
    gap:12px;
    font-size:11px;
  }
  .contribute {
    padding:48px 20px;
    grid-template-columns:1fr;
    gap:16px;
  }
  .contribute h2 {
    font-size:39px;
  }
  .contribute p {
    font-size:14px;
  }
  footer {
    padding:24px 20px;
    flex-wrap:wrap;
    gap:16px;
    font-size:10px;
  }
  footer span {
    order:3;
    width:100%;
  }
  dialog {
    width:100vw;
    max-height:100dvh;
    height:100dvh;
    margin:0;
  }
  .viewer-content {
    display:block;
    padding:12px;
  }
  .viewer-bar {
    padding:10px 16px;
  }
  .viewer-bar .button {
    font-size:11px;
    min-height:38px;
  }
  .viewer-bar>div {
    gap:8px;
  }
  #media-stage {
    height:52dvh;
    min-height:260px;
  }
  .viewer-info {
    padding:24px 12px;
  }
  .viewer-info h2 {
    margin:14px 0;
    font-size:31px;
  }
  .viewer-info .media-note {
    margin-top:24px;
  }
  .viewer-navigation {
    margin-top:24px;
  }
  .viewer-info .votes {
    justify-content:flex-start;
  }
  .card-copy h2 {
    font-size:22px;
  }
}
@media(prefers-reduced-motion:reduce) {
  :root {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
    animation:none!important;
  }
  .image-button:hover img {
    transform:none;
  }
}
@media(max-width:380px) {
  .view-controls {
    flex-wrap:wrap;
  }
  .search {
    flex:1 0 100%;
  }
  .sort-label {
    margin-right:auto;
  }
  h1 {
    font-size:60px;
  }
}

/* Playable directions and a library that can be compared. */
.playground {
  padding:60px 4vw 48px;
  border-bottom:1px solid var(--line)
}
.section-heading,.family-intro {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:40px;
  margin-bottom:28px
}
.section-heading h2,.family-intro h2 {
  font-size:clamp(28px,3.2vw,44px);
  line-height:1.06;
  letter-spacing:-.045em;
  font-weight:500;
  margin:12px 0 0
}
.section-heading>p {
  max-width:320px;
  font-size:14px;
  color:var(--muted);
  margin:0
}
.try-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px
}
.try-card {
  display:flex;
  flex-direction:column;
  align-items:start;
  position:relative;
  overflow:hidden;
  border:0;
  text-align:left;
  padding:25px;
  background:#10131d;
  color:#fff;
  border-radius:6px;
  transition:transform .25s,box-shadow .25s
}
.try-card:hover {
  transform:translateY(-4px);
  box-shadow:0 14px 26px #171a171a
}
.try-number {
  font:10px 'JetBrains Mono',monospace;
  letter-spacing:.07em;
  opacity:.7
}
.try-card>strong {
  font-size:25px;
  font-weight:500;
  letter-spacing:-.035em;
  margin-top:4px
}
.try-card>span:not(.try-number,.try-art) {
  font-size:12px;
  opacity:.65;
  line-height:1.6;
  margin-top:8px
}
.try-card>em {
  font-style:normal;
  font-size:12px;
  border-top:1px solid #8885;
  width:100%;
  padding-top:17px;
  margin-top:24px
}
.try-art {
  display:block;
  position:relative;
  height:180px;
  width:100%;
  margin:16px 0 8px;
  overflow:hidden
}
.ring-art {
  display:grid;
  place-items:center
}
.ring-art i {
  position:absolute;
  width:150px;
  height:150px;
  border:12px solid #63667b;
  border-radius:50%;
  border-top-color:#ffd06b;
  border-right-color:#9c8cf3;
  border-bottom-color:#ef63ad;
  transform:rotate(-25deg);
  box-shadow:0 0 32px #b8a4ff18
}
.ring-art b {
  font-size:33px;
  font-weight:400;
  text-align:center;
  letter-spacing:-.05em
}
.ring-art b span {
  display:block;
  font-size:10px;
  letter-spacing:0;
  opacity:.6;
  margin-top:4px
}
.try-fluid {
  background:#ece9df;
  color:#25251e
}
.fluid-art {
  border-radius:50% 45% 35% 42% / 20% 25% 30% 50%;
  background:#e2deb9
}
.fluid-art i {
  position:absolute;
  inset:-10% 30% -25% -30%;
  border-radius:45% 50% 47% 20%;
  background:radial-gradient(at 70% 20%,#d9c9ff,#9785da 80%);
  box-shadow:inset -5px -5px 20px #7660aa33,3px 5px 6px #5d4b6620;
  transform:rotate(-20deg)
}
.fluid-art i:nth-child(2) {
  inset:40% -20% -40% 45%;
  background:radial-gradient(at 20% 20%,#c7e5cf,#99cab4);
  transform:rotate(12deg)
}
.fluid-art i:nth-child(3) {
  inset:-50% -30% 60% 40%;
  background:radial-gradient(at 60% 40%,#fff2c5,#e9bd56);
  transform:rotate(15deg)
}
.try-ftw {
  background:#e9eee5;
  color:#21281f
}
.ftw-art {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
  border-radius:16px;
  background:#f7f9f3;
  padding:20px;
  margin-bottom:8px;
  box-shadow:0 4px 18px #313d1810
}
.ftw-art b {
  font-size:17px;
  font-weight:500
}
.ftw-art>span {
  font-size:9px;
  opacity:.7
}
.ftw-art i {
  height:45px;
  width:100%;
  display:block;
  background:url("/future/demos/ahead-curve.svg") center/100% 100% no-repeat;
  border-radius:10px
}
.playground-note {
  font-size:11px;
  color:var(--muted);
  margin:20px 0 0
}
.family-intro {
  padding:52px 4vw 24px;
  margin:0;
  align-items:center
}
.family-intro>div>p:last-child {
  color:var(--muted);
  font-size:14px;
  max-width:680px;
  margin-bottom:0
}
.library-guide {
  font:10px 'JetBrains Mono',monospace;
  color:var(--muted);
  white-space:nowrap
}
.toolbar {
  position:relative;
  top:auto;
  flex-direction:column;
  align-items:stretch;
  gap:18px;
  padding-block:20px
}
.filters {
  flex-wrap:wrap;
  gap:4px
}
.filters>button {
  white-space:nowrap
}
.filters>button>span {
  font:9px 'JetBrains Mono',monospace;
  margin-left:6px;
  opacity:.55
}
.view-controls {
  width:100%;
  margin:0;
  justify-content:flex-start
}
.interactive-toggle {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  white-space:nowrap;
  margin-right:auto;
  cursor:pointer
}
.interactive-toggle input {
  accent-color:var(--orange);
  width:16px;
  height:16px;
  margin:0
}
.card-top {
  gap:12px;
  line-height:1.5;
  font-size:9px
}
.card-top>span:last-child {
  text-align:right;
  color:var(--muted)
}
.concept {
  position:relative;
  padding-bottom:42px
}
.compare-pick {
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  padding:10px 18px;
  border:0;
  border-top:1px solid var(--line);
  text-align:left;
  font-size:11px;
  color:var(--muted);
  background:#f5f5ef
}
.compare-pick span {
  display:inline-grid;
  place-items:center;
  width:15px;
  height:15px;
  border:1px solid #a9aaa0;
  margin-right:6px
}
.compare-pick[aria-pressed=true] {
  color:#89400a;
  background:#fcf0dc
}
.compare-pick[aria-pressed=true] span {
  border-color:var(--orange);
  background:var(--orange);
  color:white
}
.film.playable {
  background:#f1eee2;
  color:#333b25
}
#media-stage iframe {
  display:block;
  width:100%;
  height:100%;
  border:0
}
.is-demo #media-stage {
  height:max(680px,calc(100dvh - 200px));
  max-height:900px;
  background:#e6e5df
}
.demo-option {
  font-size:11px;
  font-weight:600;
  flex-basis:85px
}
.media-option.demo-option[aria-pressed=true] {
  background:var(--orange);
  color:#fff
}
.viewer-info #viewer-compare {
  width:100%;
  border-color:var(--line);
  margin-bottom:6px
}
.viewer-info #viewer-compare[aria-pressed=true] {
  background:#fbe7cb;
  border-color:#d4ad78
}
.viewer-info .media-note {
  margin-top:20px
}
.viewer-info .viewer-navigation {
  flex-wrap:wrap
}
.compare-tray {
  position:fixed;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  z-index:8;
  display:flex;
  align-items:center;
  gap:22px;
  max-width:calc(100vw - 32px);
  width:760px;
  background:#11150f;
  color:#fff;
  padding:16px 20px;
  box-shadow:0 10px 45px #171b172d;
  border-radius:5px
}
.compare-tray>div {
  min-width:0;
  flex:1
}
.compare-tray span {
  display:block;
  font:9px 'JetBrains Mono',monospace;
  opacity:.55;
  margin-bottom:6px
}
.compare-tray strong {
  display:block;
  font-weight:400;
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}
.compare-tray .button {
  flex-shrink:0;
  border-color:transparent
}
.compare-tray .icon-button {
  color:#fff;
  flex-shrink:0;
  width:28px
}
.compare-tray .icon-button:hover {
  background:#ffffff19
}
.toast {
  bottom:110px
}
#comparison {
  max-width:1500px
}
#comparison-title {
  font-size:17px;
  letter-spacing:-.03em;
  margin:0
}
.comparison-prompt {
  padding:8px 28px;
  font-size:13px;
  color:var(--muted)
}
.comparison-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
  padding:0 28px 28px
}
.comparison-card {
  min-width:0
}
.comparison-card>h3 {
  font-weight:500;
  font-size:30px;
  letter-spacing:-.04em;
  margin:12px 0
}
.comparison-card>p:not(.eyebrow) {
  font-size:13px;
  min-height:44px;
  color:var(--muted)
}
.comparison-image {
  display:block;
  border:1px solid var(--line);
  padding:0;
  background:#e9e7df;
  width:100%
}
.comparison-image img {
  display:block;
  width:100%;
  height:44dvh;
  min-height:220px;
  object-fit:contain
}
.comparison-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:15px
}
@media(max-width:1000px) {
  .try-card {
    padding:20px
  }
  .try-card>strong {
    font-size:21px
  }
  .section-heading {
    gap:25px
  }
  .library-guide {
    display:none
  }
  .toolbar .view-controls {
    flex-wrap:wrap
  }
}
@media(max-width:740px) {
  .playground {
    padding:36px 20px
  }
  .section-heading {
    display:block;
    margin-bottom:22px
  }
  .section-heading>p {
    margin-top:16px;
    max-width:350px;
    font-size:13px
  }
  .try-grid {
    grid-template-columns:1fr;
    gap:14px
  }
  .try-card {
    min-height:225px;
    padding:20px 150px 20px 20px
  }
  .try-art {
    position:absolute;
    right:8px;
    top:35px;
    width:135px;
    height:140px;
    margin:0;
    pointer-events:none
  }
  .ring-art i {
    width:115px;
    height:115px;
    border-width:9px
  }
  .ring-art b {
    font-size:27px
  }
  .try-card>strong {
    font-size:24px;
    margin-top:25px;
    max-width:9ch
  }
  .try-card>em {
    margin-top:18px;
    width:calc(100% + 125px);
    position:relative
  }
  .try-card>span:not(.try-number,.try-art) {
    font-size:11px;
    max-width:18ch
  }
  .ftw-art {
    padding:12px;
    gap:12px;
    top:45px;
    height:120px
  }
  .ftw-art b {
    font-size:12px
  }
  .ftw-art>span {
    font-size:7px
  }
  .family-intro {
    padding:36px 20px 20px
  }
  .family-intro>div>p:last-child {
    font-size:13px
  }
  .toolbar {
    gap:14px;
    padding:12px 16px
  }
  .filters {
    flex-wrap:nowrap
  }
  .view-controls {
    gap:12px
  }
  .interactive-toggle {
    font-size:11px;
    flex:1 0 100%;
    margin:0 0 2px
  }
  .search {
    min-width:100px
  }
  .search input {
    font-size:11px
  }
  .card-top {
    font-size:8px
  }
  .concept {
    padding-bottom:40px
  }
  .compare-tray {
    bottom:10px;
    padding:12px;
    gap:8px;
    flex-wrap:wrap;
    width:calc(100vw - 24px)
  }
  .compare-tray>div {
    flex-basis:calc(100% - 40px);
    order:0
  }
  .compare-tray>.icon-button {
    order:1
  }
  .compare-tray>.button {
    order:2;
    width:100%;
    font-size:12px;
    min-height:36px
  }
  .toast {
    bottom:155px
  }
  .is-demo #media-stage {
    height:740px;
    min-height:620px;
    max-height:1000px
  }
  .is-demo .viewer-content {
    padding:0
  }
  .is-demo .viewer-info {
    padding:28px 24px
  }
  .is-demo #media-options {
    padding-inline:18px
  }
  .comparison-grid {
    grid-template-columns:1fr;
    padding:0 20px 25px;
    gap:32px
  }
  .comparison-prompt {
    padding-inline:20px
  }
  .comparison-card>h3 {
    font-size:27px
  }
  .comparison-card>p:not(.eyebrow) {
    min-height:0
  }
  .comparison-image img {
    height:50dvh
  }
  .comparison-card+.comparison-card {
    border-top:1px solid var(--line);
    padding-top:28px
  }
  #comparison .viewer-bar .button {
    padding-inline:9px;
    font-size:10px
  }
  #comparison-title {
    font-size:14px
  }
}
@media(max-width:380px) {
  .try-card {
    padding-right:125px
  }
  .try-art {
    width:112px;
    right:4px
  }
  .try-card>strong {
    font-size:22px
  }
  .try-card>em {
    width:calc(100% + 105px)
  }
  .try-number {
    font-size:8px
  }
  .ftw-art {
    padding:9px
  }
  .view-controls .search {
    flex:1 0 100%
  }
  .compare-tray strong {
    font-size:11px
  }
  .is-demo #media-stage {
    height:760px
  }
}
