.fit-content {
	width: fit-content;
}

.banner svg,
.breadcrumb svg {
	width: 1.25rem;
	height: 1.25rem;
}

.code {
	padding: 2px 6px;
}

.quote {
	border-left-width: 2px;
	padding: 0.5rem 1rem;
	margin-left: 1rem;
}

.navbar-end {
	position: relative;
}

.hero-section {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 4rem 0;
}

.hero-section__eyebrow {
	display: block;
	color: var(--color-primary-600);
	font-weight: 700;
}

.hero-section__heading {
	font-size: 2.5rem;
	font-weight: 700;
	margin: 0 0 1rem;
}

.hero-section__subheading {
	font-size: 1.125rem;
	line-height: 1.75;
	max-width: 60rem;
}

.hero-section__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.hero-section__layout > div:not([data-component="hexagon-grid"]) {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.hero-section__layout > [data-component="hexagon-grid"] {
	justify-self: center;
}

.hero-section__image {
	max-width: 100%;
	height: auto;
	border-radius: 0.5rem;
}

.hero-section__actions {
	display: flex;
	margin-top: 1.5rem;
}

[data-component="list"] img {
	border-radius: 0.5rem;
	height: 2rem;
	margin-right: 0.5rem;
	width: 2rem;
}

.app-avatar {
	align-items: center;
	background-color: var(--color-primary-100);
	border-radius: 0.5rem;
	color: var(--color-primary-700);
	display: flex;
	font-size: 0.75rem;
	font-weight: 700;
	height: 2rem;
	justify-content: center;
	margin-right: 0.5rem;
	width: 2rem;
}

.apps-icon-preview {
	background: var(--surface-color);
	border-radius: 0.75rem;
	border: 1px dashed var(--border-color);
	cursor: pointer;
	margin-right: 0.25rem;
}

.apps-icon-preview--lg {
	width: 6rem;
	height: 6rem;
}

.apps-icon-preview--md {
	width: 4rem;
	height: 4rem;
}

.apps-icon-preview--sm {
	width: 2rem;
	height: 2rem;
	border-radius: 0.5rem;
}

.field-help-text {
	font-size: 0.8125rem;
	color: var(--secondary-color);
	margin-top: 0.25rem;
}

.collaborators-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
}

.permissions-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.permissions-table {
	width: 100%;
}

.client-id-display {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.client-secret-display {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	margin-top: 1rem;
}

.site-footer {
	padding: 3rem 0;
}

.site-prefooter {
	grid-column: 1 / -1;
	max-width: 78rem;
	margin-inline: auto;
	padding: 1.5rem 1rem;
	position: relative;
	width: 100%;
}

.site-prefooter::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	border-top: 1px solid var(--footer-border-color);
}

.footer > .hero-section {
	max-width: 78rem;
	margin: 0 auto;
}

.site-footer__columns {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 2rem;
	max-width: 78rem;
	margin: 0 auto;
}

.site-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.site-footer__mission {
	color: var(--secondary-color);
	font-size: 0.875rem;
	font-style: italic;
}

.site-footer__column-heading {
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 0.75rem;
}

.site-footer__links {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.site-footer__links a {
	color: var(--secondary-color);
	text-decoration: none;
	font-size: 0.875rem;
}

.site-footer__links a:hover {
	color: var(--primary-color);
}

.flex-1 {
	flex: 1 1 0%;
}

.w-64 {
	width: 16rem;
}

.layout {
	display: grid;
	grid-template-columns: minmax(10px, 1fr);
}

.sidebar {
	width: 16rem;
	flex-shrink: 0;
}

.h-128 {
	height: 32rem;
}

[data-type="method-badge"] {
	width: 3.5rem;
	justify-content: center;
	font-family: monospace;
}

[data-type="status-code-badge"] {
	width: 2.5rem;
	justify-content: center;
	font-family: monospace;
}

.prose pre {
	white-space: pre-wrap;
	word-break: break-word;
}

/* OpenAPI Stack */

.openapi-stack {
	display: flex;
	flex-direction: column;
}

.openapi-stack--sm {
	gap: 0.5rem;
}

.openapi-stack--md {
	gap: 1rem;
}

.openapi-stack--lg {
	gap: 1.5rem;
}

.openapi-stack--xl {
	gap: 2rem;
}

/* OpenAPI Inline */

.openapi-inline {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

/* OpenAPI Description List */

.openapi-dl {
	display: grid;
	gap: 1rem;
}

.openapi-dl dt {
	border-top: 1px solid var(--color-base-200);
	padding-top: 1rem;
}

.openapi-dl dd {
	padding-left: 1rem;
}

/* OpenAPI Content */

.openapi-content {
	width: 100%;
	display: grid;
	gap: 2rem;
}

.openapi-content__section {
	display: grid;
	gap: 0.5rem;
}

/* OpenAPI Misc */

.openapi-quote {
	border-left: 2px solid var(--color-base-300);
	padding: 0.5rem 1rem;
	margin-left: 1rem;
}

.openapi-required {
	color: var(--color-red-500);
	font-weight: bold;
}

.openapi-muted {
	color: var(--text-secondary);
	font-size: 0.75rem;
	font-family: monospace;
}

.openapi-type {
	color: var(--text-secondary);
	font-size: 0.75rem;
	font-family: monospace;
}

.openapi-schema-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.25rem 0.75rem;
	border: 1px solid var(--color-base-300);
	border-radius: 0.375rem;
	font-size: 0.875rem;
	text-decoration: none;
	color: inherit;
}

.openapi-schema-link:hover {
	background: var(--color-base-100);
}

/* OpenAPI Callback */

.openapi-callback {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1rem;
	border: 1px solid var(--color-base-200);
	border-radius: 0.5rem;
}
