* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg, #fff);
  color: var(--ink, #333);
  font:
    16px/1.6 Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
button,
input {
  font: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
a:hover {
  opacity: 0.7;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid #527feb;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
img {
  max-width: 100%;
  display: block;
}
button {
  border: 1px solid var(--line, #ddd);
  background: var(--card, #fff);
  border-radius: 7px;
  padding: 7px 12px;
}
.muted {
  color: var(--muted, #898989);
}
.small {
  font-size: 13px;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.spacer {
  height: 48px;
}
details summary {
  cursor: pointer;
  list-style: none;
}
details summary::-webkit-details-marker {
  display: none;
}
details p {
  margin: 14px 0;
  color: var(--muted, #777);
}
.article {
  padding: 14px 0;
  border-bottom: 1px solid var(--line, #e8e8e8);
}
.article summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.article summary span {
  font-size: 12px;
  color: var(--muted, #888);
  flex: none;
}
.article[open] summary {
  color: var(--ink, #111);
}
.theme-toggle {
  border: 0;
  background: none;
  font-size: 18px;
  padding: 5px 8px;
}
body.light {
  --bg: #fafafa;
  --ink: #292929;
  --muted: #777;
  --line: #e2e2e2;
  --card: #fff;
}
dialog {
  background: var(--bg, #fff);
  color: var(--ink, #333);
  border: 1px solid var(--line, #ddd);
  border-radius: 16px;
  width: min(900px, calc(100% - 30px));
  max-height: 90dvh;
  padding: 28px;
}
dialog::backdrop {
  background: #0007;
  backdrop-filter: blur(6px);
}
dialog .close {
  float: right;
}
dialog h2 {
  font-weight: 400;
  margin-top: 8px;
}
dialog img {
  border-radius: 8px;
}
.demo-project {
  padding: 36px;
  border-radius: 12px;
  background: #edf0f5;
  color: #38415b;
  margin: 18px 0;
}
.demo-project h3 {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -1px;
}
.demo-ui {
  background: white;
  border-radius: 9px;
  padding: 22px;
  box-shadow: 0 12px 32px #0001;
}
.demo-ui .row {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.demo-ui small {
  color: #999;
}
.demo-tag {
  background: #edf0f7;
  color: #7c89a3;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 12px;
}
.footer {
  margin-top: 64px;
  color: var(--muted, #888);
  font-size: 13px;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.pill {
  display: inline-flex;
  text-decoration: none;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line, #ddd);
  border-radius: 30px;
  padding: 7px 14px;
  background: var(--card, #fff);
  font-size: 14px;
}
.copy-status {
  font-size: 12px;
}
.hidden {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  .row {
    gap: 10px;
  }
  .demo-project {
    padding: 22px;
  }
  .demo-project h3 {
    font-size: 26px;
  }
  dialog {
    padding: 20px;
  }
}
body {
  --bg: #0c0c0b;
  --ink: #ececea;
  --muted: #8a8a85;
  --line: #262623;
  --card: #161615;
}
.operator {
  max-width: 860px;
  padding: 25px 28px 70px;
  margin: auto;
}
.operator nav {
  margin-bottom: 45px;
}
.operator nav a {
  font-size: 12px;
  text-decoration: none;
}
.operator-mark {
  font-size: 22px;
  font-weight: bold;
}
.operator nav .links {
  align-items: center;
}
.operator-hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 45px;
  align-items: center;
}
.operator h1 {
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -1px;
}
.operator h2 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 24px;
}
.operator p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.operator .workspace {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  filter: saturate(0.3);
  box-shadow: 0 0 70px #0005;
}
.operator .links button {
  font-size: 12px;
  padding: 2px 7px;
}
.operator main > section {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.work-banner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  text-decoration: none;
  background: var(--card);
}
.work-banner > div {
  font-size: 42px;
  line-height: 1;
  font-weight: bold;
  letter-spacing: -2px;
  padding: 30px;
  background: #242921;
  color: #dedecb;
  position: relative;
}
.work-banner > div span {
  position: absolute;
  bottom: 24px;
  right: 25px;
}
.work-banner section {
  padding: 28px;
}
.work-banner small {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
.work-banner h3 {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  margin: 14px 0;
}
.work-banner p {
  font-size: 12px;
}
.collection-tabs {
  display: flex;
  gap: 7px;
  margin-bottom: 15px;
}
.collection-tabs button {
  border: 0;
  color: var(--muted);
  background: none;
}
.collection-tabs [aria-pressed='true'] {
  color: var(--ink);
  background: var(--card);
}
@media (max-width: 650px) {
  .operator {
    padding: 20px 24px;
  }
  .operator nav .links {
    gap: 10px;
  }
  .operator nav a {
    font-size: 11px;
  }
  .operator-hero {
    grid-template-columns: 1fr;
  }
  .operator .workspace {
    aspect-ratio: 1.7;
    max-height: 280px;
  }
  .work-banner {
    grid-template-columns: 1fr;
  }
  .work-banner > div {
    font-size: 34px;
  }
}

/* Keep the original UI inspiration visible in previews and downloads. */
.ui-inspiration-credit{max-width:960px;margin:32px auto 0;padding:22px 24px;border-top:1px solid var(--line,#e5e5df);font:13px/1.6 Helvetica,Arial,sans-serif;color:var(--muted,#74746c);text-align:center}.ui-inspiration-credit a{color:var(--ink,#35352f);text-decoration:underline;text-underline-offset:3px}.ui-inspiration-credit a:hover{opacity:.75}
