:root {
  --ink: #1b1e2b;
  --ink-2: #3a3f55;
  --muted: #5d6378;
  --line: #d6dae6;
  --line-2: #c9cedd;
  --paper: #ffffff;
  --bg: #eceef4;
  --tint: #f5f6fa;
  --grid: #e3e6ef;
  --accent: #3446c8;
  --accent-ink: #2a39a8;
  --accent-soft: #e6e9fb;
  --duo: #f2a93b;
  --duo-soft: #fdf1dd;
  --sticker: #ffd2e3;
  --pink-ink: #c2335f;
  --ok: #1f8a5b;
  --shadow-sm: 0 1px 2px rgba(27, 30, 43, .06), 0 1px 1px rgba(27, 30, 43, .04);
  --shadow: 0 14px 34px -14px rgba(30, 38, 90, .22), 0 2px 6px rgba(27, 30, 43, .05);
  --shadow-lg: 0 40px 80px -28px rgba(30, 38, 90, .35), 0 8px 24px -8px rgba(27, 30, 43, .12);
  --r: 12px;
  --r-lg: 20px;
  --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', 'Avenir Next', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  --gw-knock: var(--paper);
  --gw-duo: var(--duo);
  --gw-sticker: var(--sticker);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
}

gw-icon {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.wrap-mid {
  max-width: 860px;
}

.eyebrow {
  display: inline-block;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 16px;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-2);
  max-width: 640px;
}

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 56px 0 88px;
}

.section-tint {
  background: var(--bg);
  --gw-knock: var(--bg);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 14px;
}
.section-head p {
  color: var(--ink-2);
  font-size: 1.1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: 28px;
  text-align: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font: 600 15px/1.2 var(--font);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--accent);
}

.btn-outline {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  background: var(--paper);
  border-color: var(--ink);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 14px;
}

.btn-lg {
  padding: 15px 24px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn-disabled {
  cursor: default;
  color: var(--muted);
  background: var(--tint);
}
.btn-disabled:hover {
  border-color: var(--line-2);
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 800 21px/1 var(--display);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.site-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav ul a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  color: var(--ink-2);
}
.site-nav ul a:hover {
  background: var(--tint);
  color: var(--ink);
}
.site-nav ul a[aria-current=page] {
  color: var(--accent-ink);
  background: var(--accent-soft);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
  line-height: 0;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px max(20px, env(safe-area-inset-left, 0px)) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav ul {
    flex-direction: column;
  }
}
.site-footer {
  background: var(--ink);
  color: #c6cad8;
  padding: 64px 0 32px;
  --gw-knock: var(--ink);
  --gw-sticker: #6b3a87;
}
.site-footer .brand {
  color: #fff;
}
.site-footer h2 {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8e94ab;
  margin-bottom: 14px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.site-footer a {
  color: #e3e6ef;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 280px;
}

.footer-base {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #2f3346;
  font-size: 14px;
  color: #8e94ab;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
}
.hero {
  padding: 80px 0 96px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0) 0 0/24px 24px, linear-gradient(180deg, var(--tint), var(--paper));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 22px;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}
.hero-note gw-icon {
  color: var(--ok);
}

.board {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  display: grid;
  gap: 14px;
}

.board-head {
  display: flex;
  gap: 8px;
}

.board-tag {
  font: 500 12px/1 var(--mono);
  padding: 6px 9px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.board-tag-muted {
  background: var(--tint);
  color: var(--muted);
}

.board-stage {
  position: relative;
  aspect-ratio: 1;
  max-width: 100%;
  border-radius: var(--r);
  background: var(--tint);
  color: var(--ink);
  overflow: hidden;
}
.board-stage .board-grid, .board-stage #hero-icon {
  position: absolute;
  inset: 9%;
  width: 82%;
  height: 82%;
}
.board-stage .board-grid {
  color: var(--line-2);
  overflow: visible;
}
.board-stage #hero-icon {
  display: block;
  --gw-knock: var(--tint);
}
.board-stage #hero-icon svg {
  width: 100%;
  height: 100%;
}

.variant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.variant-chips button {
  font: 500 13px/1 var(--font);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  color: var(--ink-2);
  cursor: pointer;
  transition: all 150ms ease;
}
.variant-chips button:hover {
  border-color: var(--accent);
  color: var(--ink);
}
.variant-chips button[aria-pressed=true] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

@media (max-width: 900px) {
  .hero {
    padding: 48px 0 64px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.style-wall {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.style-col {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 10px 14px;
  display: grid;
  gap: 14px;
  justify-items: center;
  --gw-knock: var(--paper);
  box-shadow: var(--shadow-sm);
}
.style-col figcaption {
  font: 500 12px/1 var(--mono);
  color: var(--muted);
}

.style-icons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  justify-items: center;
  color: var(--ink);
}

@media (max-width: 960px) {
  .style-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .style-icons {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 520px) {
  .style-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.split-copy h2 {
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  margin-bottom: 16px;
}
.split-copy > p {
  color: var(--ink-2);
  font-size: 1.08rem;
  margin-bottom: 22px;
}
.split-copy code {
  background: var(--tint);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 5px;
}
.split-copy .code {
  margin-bottom: 22px;
}

.split-flip .split-copy {
  order: 2;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split-flip .split-copy {
    order: 0;
  }
}
.motion-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.motion-row figure {
  margin: 0;
  aspect-ratio: 1.25;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  background: var(--bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  --gw-knock: var(--bg);
}
.motion-row figcaption {
  font: 500 12px/1 var(--mono);
  color: var(--muted);
}

.studio-shot {
  margin: 0 0 40px;
}
.studio-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  --gw-knock: var(--paper);
}
.feature gw-icon {
  color: var(--accent);
}
.feature h3 {
  font-size: 1.1rem;
  margin: 14px 0 6px;
}
.feature p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
.code {
  margin: 0;
  background: var(--ink);
  color: #e3e6ef;
  border-radius: var(--r);
  padding: 16px 18px;
  overflow-x: auto;
  font: 400 14px/1.7 var(--mono);
  max-width: 100%;
}
.code code {
  font-size: inherit;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}
.code .c {
  color: #8e94ab;
}

.code-lg {
  padding: 24px;
  font-size: 14.5px;
  box-shadow: var(--shadow-lg);
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

@media (max-width: 1180px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.plan {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  --gw-knock: var(--paper);
}
.plan h3 {
  font-size: 1.4rem;
}

.plan-featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.plan-flag {
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-blurb {
  color: var(--muted);
  margin-top: 6px;
  min-height: 3.2em;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 22px;
}

.plan-amount {
  font: 800 3rem/1 var(--display);
  letter-spacing: -0.03em;
}

.plan-per {
  color: var(--muted);
}

.plan-features {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
}
.plan-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.plan-features gw-icon {
  color: var(--ok);
  flex: none;
  margin-top: 2px;
}

.plans-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 900px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }
}
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper);
  --gw-knock: var(--paper);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 520px;
}
.compare th, .compare td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.compare thead th {
  font-family: var(--display);
  font-size: 1.05rem;
  background: var(--tint);
}
.compare tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--ink-2);
}
.compare tr:last-child th, .compare tr:last-child td {
  border-bottom: 0;
}
.compare td gw-icon[name=check] {
  color: var(--ok);
}
.compare td gw-icon[name=minus] {
  color: var(--line-2);
}

.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary gw-icon {
  flex: none;
  color: var(--muted);
  transition: transform 150ms ease;
}
.faq details[open] summary gw-icon {
  transform: rotate(180deg);
}
.faq .faq-a {
  padding: 0 20px 20px;
  color: var(--ink-2);
}
.faq .faq-a a {
  color: var(--accent-ink);
}
.faq .faq-a code {
  background: var(--tint);
  padding: 1px 5px;
  border-radius: 4px;
}

.cta-band {
  text-align: center;
  border-radius: 28px;
  padding: 72px 24px;
  background: var(--ink);
  color: #e3e6ef;
  --gw-knock: var(--ink);
  --gw-sticker: #6b3a87;
  --gw-duo: var(--duo);
  background-image: radial-gradient(circle at 1px 1px, #2f3346 1px, transparent 0);
  background-size: 24px 24px;
}
.cta-band h2 {
  color: #fff;
  max-width: 760px;
  margin: 22px auto 0;
  font-size: clamp(2rem, 4.4vw, 3rem);
}
.cta-band > p {
  margin-top: 14px;
  font-size: 1.1rem;
}
.cta-band .hero-ctas {
  justify-content: center;
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--ink);
}
.cta-band .btn-primary:hover {
  background: var(--sticker);
}
.cta-band .btn-ghost {
  color: #fff;
  border-color: #4a4f66;
}
.cta-band .btn-ghost:hover {
  background: transparent;
  border-color: #fff;
}

.cta-icons {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: #fff;
}

.page-hero {
  padding: 88px 0 64px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0) 0 0/24px 24px, var(--tint);
  --gw-knock: var(--tint);
}
.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}
.page-hero .lede {
  margin: 0 auto;
}
.page-hero .hero-ctas {
  justify-content: center;
}

.page-hero-compact {
  padding: 64px 0 48px;
}

.page-404 {
  padding: 120px 0;
}
.page-404 gw-icon {
  color: var(--ink);
  margin-bottom: 20px;
}

.gallery-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 260px;
  max-width: 360px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--paper);
  color: var(--muted);
}
.search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.search input {
  border: 0;
  outline: 0;
  padding: 11px 0;
  font: inherit;
  color: var(--ink);
  width: 100%;
  background: transparent;
}

.gallery-count {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.gallery-group {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 32px 0 12px;
}
.gallery-group span {
  color: var(--line-2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 8px;
}

.gallery-cell {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 20px 6px 12px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.gallery-cell > span:last-child {
  font: 400 11px/1.2 var(--mono);
  color: var(--muted);
  word-break: break-word;
}
.gallery-cell:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.gallery-art {
  display: grid;
  place-items: center;
  height: 28px;
  line-height: 0;
}

.pro-tag, .badge-pro {
  font: 700 10px/1 var(--font);
  letter-spacing: 0.06em;
  color: #fff;
  background: #5b45d9;
  border-radius: 6px;
  padding: 4px 6px;
}

.pro-tag {
  position: absolute;
  top: 6px;
  right: 6px;
}

.icon-detail {
  width: min(560px, 100vw - 24px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 28px;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.icon-detail::backdrop {
  background: rgba(27, 30, 43, 0.45);
}

.detail-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: 0;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.detail-head {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 22px;
}
.detail-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font: 700 26px/1.1 var(--mono);
}
.detail-head p {
  margin: 0;
  color: var(--muted);
}
.detail-head .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.detail-big {
  flex: none;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  line-height: 0;
}

.badge-free {
  font: 700 10px/1 var(--font);
  letter-spacing: 0.06em;
  color: var(--ink-2);
  border: 1.5px solid var(--line-2);
  border-radius: 6px;
  padding: 4px 6px;
}

.detail-label {
  margin: 0 0 10px;
  font: 600 14px var(--font);
  color: var(--ink-2);
}

.detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 10px;
}
.detail-row .detail-label {
  margin: 0;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.swatch {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 14px;
  line-height: 0;
}
.swatch.sw-1 {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
  --gw-knock: #fff;
}
.swatch.sw-2 {
  background: #1b1e2b;
  color: #fff;
  --gw-knock: #1b1e2b;
}
.swatch.sw-3 {
  background: #5b45d9;
  color: #fff;
  --gw-knock: #5b45d9;
}
.swatch.sw-4 {
  background: #ebe8fb;
  color: #5b45d9;
  --gw-knock: #ebe8fb;
}
.swatch.sw-5 {
  background: #fdf1dd;
  color: #b35a10;
  --gw-knock: #fdf1dd;
}
.swatch.sw-6 {
  background: #e3f2ea;
  color: #1f7a50;
  --gw-knock: #e3f2ea;
}
.swatch.sw-2 image, .swatch.sw-3 image {
  filter: invert(1);
}

.icon-detail .code {
  margin: 0;
  padding: 16px 18px;
  background: #1b1e2b;
  color: #e9e9f0;
  border-radius: 14px;
  font: 400 13px/1.6 var(--mono);
  overflow-x: auto;
  white-space: pre;
}
.icon-detail .code .c {
  color: #8c8fa3;
}

.code-locked {
  display: grid;
  gap: 10px;
  padding: 20px 18px;
}
.code-locked i {
  display: block;
  height: 11px;
  border-radius: 6px;
  background: #3a3d4f;
}
.code-locked i:nth-child(1) {
  width: 82%;
}
.code-locked i:nth-child(2) {
  width: 66%;
  margin-left: 4%;
}
.code-locked i:nth-child(3) {
  width: 60%;
  margin-left: 4%;
}
.code-locked i:nth-child(4) {
  width: 68%;
  margin-left: 4%;
}
.code-locked i:nth-child(5) {
  width: 16%;
}

.locked {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.detail-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
}
.detail-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5b45d9;
  border-color: #5b45d9;
}

.detail-signin {
  color: var(--ink-2);
  font-weight: 600;
}

@media (max-width: 560px) {
  .swatches {
    grid-template-columns: repeat(3, 1fr);
  }
  .detail-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
.gallery-loading {
  color: var(--muted);
  padding: 40px 0;
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 60;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font: 500 13px/1.3 var(--mono);
  max-width: calc(100vw - 32px);
}

.prose {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.75;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  font-size: 1.65rem;
  margin-top: 2em;
}
.prose h3 {
  font-size: 1.2rem;
  margin-top: 1.6em;
}
.prose a {
  color: var(--accent-ink);
  text-underline-offset: 3px;
}
.prose strong {
  color: var(--ink);
}
.prose ul, .prose ol {
  padding-left: 1.4em;
}
.prose ul li + li, .prose ol li + li {
  margin-top: 0.4em;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose code {
  font: 500 0.86em var(--mono);
  background: var(--tint);
  border: 1px solid var(--line);
  padding: 1px 5px;
  border-radius: 5px;
  color: var(--ink);
}
.prose pre {
  background: var(--ink);
  color: #e3e6ef;
  border-radius: var(--r);
  padding: 16px 18px;
  overflow-x: auto;
  font: 400 14px/1.7 var(--mono);
}
.prose pre code {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
}
.prose blockquote {
  margin-left: 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
  color: var(--ink);
  font-weight: 500;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}
.prose th, .prose td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  color: var(--ink);
  font-weight: 600;
  background: var(--tint);
}
.prose gw-icon {
  vertical-align: -0.2em;
}

.canvas-bg {
  background: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0) 0 0/24px 24px, var(--tint);
}

.docs-intro {
  max-width: 780px;
  margin: 0 auto 56px;
}

.docs-group + .docs-group {
  margin-top: 56px;
}
.docs-group h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.docs-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.docs-card {
  display: block;
  padding: 22px 24px;
  border-radius: var(--r);
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.docs-card gw-icon {
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.docs-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.docs-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}
.docs-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

@media (max-width: 960px) {
  .docs-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .docs-cards {
    grid-template-columns: 1fr;
  }
}
.docs-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  padding-top: 56px;
  padding-bottom: 96px;
}

.docs-nav {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  font-size: 14.5px;
}
.docs-nav h2 {
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 24px 0 8px;
}
.docs-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.docs-nav a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--ink-2);
  text-decoration: none;
}
.docs-nav a:hover {
  background: var(--tint);
  color: var(--ink);
}
.docs-nav a[aria-current=page] {
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 600;
}

.docs-nav-home {
  font-weight: 600;
}

.docs-article {
  max-width: 780px;
  min-width: 0;
}

.docs-head {
  margin-bottom: 36px;
}
.docs-head h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 14px;
}
.docs-head .lede {
  margin: 0;
}
.docs-head .eyebrow a {
  color: inherit;
  text-decoration: none;
}
.docs-head .eyebrow a:hover {
  text-decoration: underline;
}

.doc-shot {
  margin: 1.8em 0;
}
.doc-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.doc-shot figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.prose kbd {
  font: 600 0.8em var(--mono);
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  background: var(--paper);
  color: var(--ink);
  white-space: nowrap;
}

.prose .docs-tip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  border-radius: var(--r);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 15.5px;
  --gw-knock: var(--accent-soft);
}
.prose .docs-tip gw-icon {
  color: var(--accent);
  flex: none;
  margin-top: 3px;
}

.docs-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.docs-pager a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  max-width: 48%;
}
.docs-pager a:hover {
  border-color: var(--accent);
}
.docs-pager span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.docs-pager-next {
  margin-left: auto;
  text-align: right;
}

@media (max-width: 900px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
  }
  .docs-nav {
    order: 2;
    position: static;
    max-height: none;
    border-top: 1px solid var(--line);
    padding-top: 16px;
  }
  .docs-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .variant-chips button, .gallery-cell, .docs-card {
    transition: none;
  }
}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.dash-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.dash-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font: 700 17px/1.2 var(--display);
}
.dash-card code {
  font: 500 12.5px var(--mono);
}

.dash-wide {
  grid-column: span 2;
}

.dash-wide2 {
  grid-column: span 2;
}

.dash-signin {
  max-width: 460px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.dash-signin label {
  font-weight: 600;
}
.dash-signin input {
  font: 500 14px var(--mono);
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
}
.dash-signin input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.dash-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fdecef;
  color: var(--pink-ink);
  font-weight: 600;
}

.dash-muted {
  color: var(--muted);
  margin: 0 0 12px;
}

.dash-fine {
  color: var(--muted);
  font-size: 13px;
  margin: 10px 0 0;
}

.dash-plan {
  font: 800 28px/1 var(--display);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-pill {
  font: 600 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 999px;
}
.dash-pill.ok {
  background: #e3f4ec;
  color: var(--ok);
}
.dash-pill.off {
  background: #fdecef;
  color: var(--pink-ink);
}

.dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.dash-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  margin: 0;
}
.dash-dl dt {
  color: var(--muted);
  font-size: 13px;
}
.dash-dl dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.dash-snippet {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.dash-snippet code {
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
}

.dash-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent-ink);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.dash-sites {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.dash-sites li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: var(--tint);
  border-radius: 8px;
  font: 500 13px var(--mono);
}

.dash-x {
  background: none;
  border: 0;
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.dash-x:hover {
  color: var(--pink-ink);
}

.dash-add {
  display: flex;
  gap: 8px;
}
.dash-add input {
  flex: 1;
  min-width: 0;
  font: 500 13px var(--mono);
  padding: 8px 10px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
}

.dash-big {
  font: 800 30px/1 var(--display);
  margin: 0 0 12px;
}
.dash-big span {
  font: 500 14px var(--font);
  color: var(--muted);
}

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 70px;
  margin-bottom: 14px;
}
.dash-bars .dash-bar {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.dash-bars i {
  display: block;
  width: 100%;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
}
.dash-bars i.none {
  background: var(--line);
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.dash-table th, .dash-table td {
  text-align: left;
  padding: 7px 4px;
  border-top: 1px solid var(--line);
}
.dash-table th {
  color: var(--muted);
  font-weight: 600;
}
.dash-table td:last-child, .dash-table th:last-child {
  text-align: right;
}

@media (max-width: 1000px) {
  .dash-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dash-wide, .dash-wide2 {
    grid-column: span 2;
  }
}
@media (max-width: 640px) {
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .dash-wide, .dash-wide2 {
    grid-column: auto;
  }
}
