/* Locals — developers page only. Builds on site.css and ui.css. */

#quickstart,
#api,
#builder,
#webhooks,
#errors,
#sandbox,
#changelog {
	scroll-margin-top: 128px;
}

/* Hero: terminal with a request, its response and the webhooks that follow */

.dv-hero .crumbs {
	margin-bottom: 20px;
}

.dv-hero h1 {
	font-size: clamp(44px, 4.7vw, 68px);
}

.dv-demo {
	position: relative;
	padding: 10px 34px 70px 0;
}

.dv-term {
	position: relative;
	z-index: 1;
	background: #0a1a12;
	color: #d9e4dc;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	overflow: hidden;
	box-shadow:
		0 50px 100px -40px rgba(16, 41, 30, 0.6),
		0 18px 36px -24px rgba(16, 41, 30, 0.4);
	transform: perspective(1600px) rotateY(-4deg) rotateX(2deg);
	transform-origin: left center;
	transition: transform 0.6s var(--ease-out);
}

.dv-demo:hover .dv-term {
	transform: none;
}

.dv-term-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 42px;
	padding: 0 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.02);
}

.dv-term-bar > i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
}

.dv-term-title {
	margin-left: 10px;
	font-family: var(--mono);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
}

.dv-env {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--mono);
	font-size: 11.5px;
	color: var(--lime);
	background: rgba(200, 241, 105, 0.08);
	border: 1px solid rgba(200, 241, 105, 0.2);
	padding: 3px 10px;
	border-radius: 999px;
}

.dv-env .pulse {
	width: 6px;
	height: 6px;
	background: var(--lime);
}

.dv-env .pulse::after {
	border-color: var(--lime);
}

.dv-term-body {
	padding: 18px 20px 22px;
	min-height: 488px;
}

.dv-term pre {
	margin: 0;
	font-size: 12.5px;
	line-height: 1.65;
	white-space: pre-wrap;
	word-break: break-word;
}

.dv-caret {
	display: inline-block;
	width: 7px;
	height: 14px;
	vertical-align: -2px;
	background: var(--lime);
	animation: blinkc 1s steps(1) infinite;
}

.dv-res {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px dashed rgba(255, 255, 255, 0.12);
	transition: opacity 0.4s ease;
}

.dv-res.is-off {
	opacity: 0;
}

.dv-res-head {
	display: flex;
	justify-content: space-between;
	font-family: var(--mono);
	font-size: 12px;
	margin-bottom: 8px;
}

.dv-res-head b {
	color: var(--lime);
	font-weight: 600;
}

.dv-res-head span {
	color: rgba(255, 255, 255, 0.4);
}

.dv-hook {
	top: 292px;
	right: -28px;
	width: 300px;
	padding: 14px 16px;
}

.dv-hook-head {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--mono);
	font-size: 11.5px;
	color: var(--muted);
}

.dv-hook-head .ic {
	width: 16px;
	height: 16px;
	color: var(--forest-3);
}

.dv-hook-head b {
	margin-left: auto;
	color: #24531a;
	background: #e4f6cf;
	padding: 1px 8px;
	border-radius: 999px;
	font-weight: 650;
}

.dv-hook strong {
	display: block;
	font-family: var(--mono);
	font-size: 15px;
	margin: 8px 0 8px;
	letter-spacing: -0.01em;
}

.dv-hook-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 0;
	border-top: 1px solid var(--paper-2);
	font-size: 12.5px;
	color: var(--muted);
}

.dv-hook-row code {
	font-size: 12.5px;
	color: var(--ink);
	font-weight: 600;
}

.dv-hook-row code.ok {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #2e6b1f;
}

.dv-hook-row .ic {
	width: 15px;
	height: 15px;
	--ic-fill: rgba(63, 174, 42, 0.2);
}

.dv-dep {
	left: -40px;
	bottom: 18px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px 12px 12px;
}

.dv-dep .fl {
	width: 36px;
	height: 36px;
}

.dv-dep strong {
	display: block;
	font-family: var(--mono);
	font-size: 13.5px;
}

.dv-dep small {
	display: block;
	font-size: 12.5px;
	color: var(--muted);
}

.dv-dep-st {
	margin-left: 6px;
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 600;
	color: var(--lime);
	background: var(--forest);
	padding: 4px 10px;
	border-radius: 999px;
	white-space: nowrap;
}

.dv-basics {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1fr;
	margin-top: 72px;
	border-top: 1px solid var(--line);
}

.dv-basics > div {
	padding: 22px 24px 0 0;
	min-width: 0;
}

.dv-basics small {
	display: block;
	font-size: 13px;
	font-weight: 650;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 6px;
}

.dv-basics code {
	font-size: 15.5px;
	font-weight: 600;
	color: var(--ink);
	word-break: break-word;
}

/* On this page */

.dv-subnav {
	position: sticky;
	top: 72px;
	z-index: 40;
	background: rgba(244, 241, 232, 0.9);
	backdrop-filter: saturate(1.4) blur(12px);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.dv-subnav .wrap {
	display: flex;
	align-items: center;
	gap: 4px;
	height: 56px;
	overflow-x: auto;
	scrollbar-width: none;
}

.dv-subnav .wrap::-webkit-scrollbar {
	display: none;
}

.dv-subnav-label {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	margin-right: 12px;
	white-space: nowrap;
}

.dv-subnav a {
	padding: 7px 14px;
	border-radius: 999px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--ink-2);
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}

.dv-subnav a:hover {
	background: var(--paper-2);
}

.dv-subnav a.on {
	background: var(--forest);
	color: var(--white);
}

/* Quickstart */

.dv-qs {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 48px;
	align-items: start;
}

.dv-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line);
}

.dv-step {
	position: relative;
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 16px;
	align-items: start;
	width: 100%;
	padding: 18px 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: none;
	text-align: left;
	font-family: inherit;
	color: inherit;
	cursor: pointer;
}

.dv-n {
	width: 44px;
	height: 44px;
	border-radius: 13px;
	display: grid;
	place-items: center;
	background: var(--paper);
	border: 1px solid var(--line);
	color: var(--forest);
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.dv-n .ic {
	width: 21px;
	height: 21px;
}

.dv-step strong {
	display: block;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 44px;
	color: var(--muted);
	transition: color 0.3s ease;
}

.dv-step small {
	display: block;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	font-size: 15px;
	color: var(--ink-2);
	max-width: 440px;
	transition: max-height 0.45s var(--ease-out), opacity 0.3s ease, margin 0.45s var(--ease-out);
}

.dv-step:hover strong,
.dv-step.on strong {
	color: var(--ink);
}

.dv-step.on small {
	max-height: 90px;
	opacity: 1;
	margin: -4px 0 4px;
}

.dv-step.on .dv-n {
	background: var(--forest);
	border-color: var(--forest);
	color: var(--lime);
	--ic-fill: rgba(200, 241, 105, 0.22);
}

.dv-step.done .dv-n {
	background: #eef8e2;
	border-color: #cfe9b4;
	color: #24531a;
}

.dv-step-bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	overflow: hidden;
}

.dv-step-bar i {
	display: block;
	height: 100%;
	width: 0;
	background: var(--forest);
}

.dv-step.on .dv-step-bar i {
	animation: ucbar var(--qs-time, 5s) linear forwards;
}

.dv-qs.paused .dv-step.on .dv-step-bar i {
	animation-play-state: paused;
}

.dv-qs-code {
	position: sticky;
	top: 150px;
}

.dv-qs-code .code-tabs {
	gap: 12px;
	padding: 10px 14px;
}

.dv-qs-code .copy {
	margin: 0;
}

.dv-file {
	font-family: var(--mono);
	font-size: 12.5px;
	color: var(--white);
	background: rgba(255, 255, 255, 0.07);
	padding: 5px 10px;
	border-radius: 8px;
	white-space: nowrap;
}

.dv-prog {
	flex: 1;
	min-width: 40px;
	height: 3px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.dv-prog i {
	display: block;
	height: 100%;
	width: 16.6%;
	background: var(--lime);
	transition: width 0.5s var(--ease-out);
}

.dv-count {
	font-family: var(--mono);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	white-space: nowrap;
}

.dv-qs-code pre {
	min-height: 250px;
}

.dv-qs-code .code-pane.active {
	animation: ev-in 0.4s var(--ease-out);
}

.dv-del {
	color: #ff9e80;
}

.dv-add {
	color: var(--lime);
}

/* API reference */

.dv-ref {
	columns: 2;
	column-gap: 18px;
}

.dv-ref-group {
	break-inside: avoid;
	margin-bottom: 18px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 22px;
	padding: 8px 8px 10px;
}

.dv-ref-group.is-preview {
	background: transparent;
	border-style: dashed;
}

.dv-ref-group h4 {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 12px 10px;
	font-size: 17px;
}

.dv-ref-group h4 .ic-box {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: var(--forest);
	color: var(--lime);
	--ic-fill: rgba(200, 241, 105, 0.22);
}

.dv-ref-group h4 .ic {
	width: 19px;
	height: 19px;
}

.dv-ref-group h4 small {
	margin-left: auto;
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	color: var(--muted);
	letter-spacing: 0;
}

.dv-ep {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	gap: 2px 12px;
	align-items: center;
	padding: 11px 12px;
	border-radius: 12px;
	transition: background 0.2s ease;
}

.dv-ep + .dv-ep {
	box-shadow: 0 -1px 0 var(--paper-2);
}

.dv-ep:hover {
	background: var(--paper);
	box-shadow: none;
}

.dv-ep > code {
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
	overflow-wrap: anywhere;
}

.dv-ep > span:not(.dv-m) {
	grid-column: 2 / -1;
	font-size: 14px;
	color: var(--muted);
}

.dv-ep em {
	grid-row: 1;
	grid-column: 3;
	font-style: normal;
	font-family: var(--mono);
	font-size: 11px;
	color: var(--muted);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 1px 8px;
}

.dv-ep em:empty {
	display: none;
}

.dv-ep em.sbx {
	color: #7a4f05;
	background: #fbefd6;
	border-color: #f3dfb0;
}

.dv-ep em.prev {
	border-style: dashed;
}

a.dv-ep:hover em::after {
	content: ' · try it';
}

.dv-m {
	display: inline-block;
	width: 52px;
	padding: 3px 0;
	border-radius: 6px;
	text-align: center;
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.dv-m.post {
	background: var(--forest);
	color: var(--lime);
}

.dv-m.get {
	background: #e3eefa;
	color: #1d4f7a;
}

.dv-m.evt {
	background: #fbefd6;
	color: #7a4f05;
	font-size: 10px;
}

/* Request builder */

.dv-build {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.dv-eps {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.dv-eps button {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 14px;
	border: 1px solid var(--line-dark);
	background: rgba(255, 255, 255, 0.02);
	color: rgba(255, 255, 255, 0.72);
	font-family: inherit;
	font-size: 15px;
	font-weight: 650;
	text-align: left;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dv-eps button:hover {
	background: rgba(255, 255, 255, 0.05);
}

.dv-eps button[aria-selected='true'] {
	background: rgba(200, 241, 105, 0.08);
	border-color: rgba(200, 241, 105, 0.4);
	color: var(--white);
}

.dv-eps small {
	display: block;
	font-family: var(--mono);
	font-size: 11.5px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.45);
}

.dark .dv-m.post {
	background: var(--lime);
	color: var(--forest);
}

.dark .dv-m.get {
	background: rgba(143, 211, 255, 0.14);
	color: #8fd3ff;
}

.dv-build-out {
	display: grid;
	gap: 16px;
	min-width: 0;
}

.dv-build-out pre {
	min-height: 236px;
}

.dv-resp pre,
.dv-err-code pre {
	max-height: 320px;
	overflow: auto;
}

.dv-err-code pre {
	white-space: pre-wrap;
}

.dv-resp-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	font-family: var(--mono);
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.6);
}

.dv-code-pill {
	font-weight: 700;
	color: var(--lime);
	background: rgba(200, 241, 105, 0.14);
	padding: 2px 8px;
	border-radius: 6px;
}

.dv-code-pill.bad {
	color: #ff9e80;
	background: rgba(255, 158, 128, 0.14);
}

.dv-resp-id {
	margin-left: auto;
	color: rgba(255, 255, 255, 0.4);
}

.dv-swap {
	animation: ev-in 0.35s var(--ease-out);
}

/* Status model */

.dv-sm {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 24px;
	padding: 6px 28px;
}

.dv-lane {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	padding: 24px 0;
}

.dv-lane + .dv-lane {
	border-top: 1px solid var(--paper-2);
}

.dv-lane-name {
	display: flex;
	align-items: center;
	gap: 12px;
}

.dv-lane-name .ic-box {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: var(--paper);
	border: 1px solid var(--line);
	color: var(--forest);
	flex-shrink: 0;
}

.dv-lane-name strong,
.dv-lane-name > span {
	display: block;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.dv-lane-name small {
	display: block;
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	color: var(--muted);
}

.dv-flow {
	display: flex;
	align-items: center;
}

.dv-node {
	font-family: var(--mono);
	font-size: 13.5px;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: var(--paper);
	color: var(--ink-2);
	white-space: nowrap;
	transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.dv-node.on {
	background: var(--forest);
	border-color: var(--forest);
	color: var(--lime);
	box-shadow: 0 0 0 5px rgba(200, 241, 105, 0.35);
}

.dv-node.warn.on {
	background: #fbefd6;
	border-color: #f2d394;
	color: #7a4f05;
	box-shadow: 0 0 0 5px rgba(242, 179, 61, 0.2);
}

.dv-node.bad.on {
	background: #fde3da;
	border-color: #f5c1b0;
	color: #8a2c14;
	box-shadow: 0 0 0 5px rgba(239, 111, 77, 0.15);
}

.dv-node.was {
	background: var(--white);
	color: var(--forest-3);
	border-color: #cfe9b4;
}

.dv-edge {
	flex: 1;
	min-width: 110px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 0 6px;
	margin-top: -22px;
}

.dv-edge code {
	font-size: 11.5px;
	color: var(--forest-3);
	white-space: nowrap;
}

.dv-edge i {
	position: relative;
	display: block;
	width: 100%;
	height: 2px;
	background: var(--line);
	overflow: visible;
}

.dv-edge i::after {
	content: '';
	position: absolute;
	right: -1px;
	top: -4px;
	border: 5px solid transparent;
	border-left: 7px solid var(--line);
	border-right: 0;
}

.dv-edge i::before {
	content: '';
	position: absolute;
	left: 0;
	top: -2px;
	width: 0;
	height: 6px;
	border-radius: 3px;
	background: var(--forest-3);
	opacity: 0;
}

.dv-edge.on i {
	background: var(--forest-3);
}

.dv-edge.on i::after {
	border-left-color: var(--forest-3);
}

.dv-edge.go i::before {
	opacity: 1;
	animation: dv-packet 0.9s var(--ease-out) forwards;
}

@keyframes dv-packet {
	from { left: 0; width: 18px; }
	to { left: calc(100% - 18px); width: 18px; }
}

.dv-fork {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.dv-loop {
	margin-left: 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
}

.dv-loop code {
	font-size: 11.5px;
	color: var(--forest-3);
	border: 1px dashed var(--line);
	border-radius: 999px;
	padding: 4px 11px;
	background: var(--paper);
}

.dv-loop code::before {
	content: '\21BB  ';
}

.dv-loop small {
	font-size: 12px;
	color: var(--muted);
}

.dv-hooks {
	margin-top: 40px;
	align-items: start;
}

.dv-hooks > *,
.dv-sbx > * {
	min-width: 0;
}

.dv-hooks .checks {
	margin: 28px 0 0;
}

/* Errors */

.dv-errs {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.dv-err-list {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 18px;
	overflow: hidden;
}

.dv-err-list button {
	display: grid;
	grid-template-columns: 50px minmax(0, 210px) minmax(0, 1fr);
	gap: 2px 16px;
	align-items: center;
	width: 100%;
	padding: 15px 18px;
	border: 0;
	border-bottom: 1px solid var(--paper-2);
	background: none;
	text-align: left;
	font-family: inherit;
	color: inherit;
	cursor: pointer;
	transition: background 0.2s ease;
}

.dv-err-list button:last-child {
	border-bottom: 0;
}

.dv-err-list button:hover {
	background: #fcfbf8;
}

.dv-err-list button[aria-selected='true'] {
	background: var(--paper);
	box-shadow: inset 3px 0 0 var(--forest);
}

.dv-err-list code {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--ink);
	overflow-wrap: anywhere;
}

.dv-err-list span:not(.dv-http) {
	font-size: 14.5px;
	color: var(--ink-2);
}

.dv-err-list em {
	grid-column: 3;
	font-style: normal;
	font-size: 13.5px;
	color: var(--muted);
}

.dv-err-list em a {
	border-bottom: 1px solid currentColor;
}

.dv-http {
	display: inline-block;
	width: 44px;
	padding: 3px 0;
	border-radius: 6px;
	text-align: center;
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 700;
	grid-row: span 2;
}

.dv-http.c4 {
	background: #fde3da;
	color: #8a2c14;
}

.dv-http.c42 {
	background: #fbefd6;
	color: #7a4f05;
}

.dv-err-list code {
	grid-row: span 2;
}

.dv-err-code {
	position: sticky;
	top: 150px;
}

/* Sandbox simulator */

.dv-sim {
	background: var(--white);
	color: var(--ink);
	border-radius: 22px;
	padding: 22px;
	box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.7);
	--ic-fill: rgba(200, 241, 105, 0.55);
}

.dv-sim-head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.dv-sim-head .fl {
	width: 38px;
	height: 38px;
}

.dv-sim-head strong {
	display: block;
	font-size: 16px;
}

.dv-sim-head small {
	display: block;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--muted);
}

.dv-sim-head .state {
	margin-left: auto;
}

.dv-sim-ctl {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--paper-2);
}

.dv-sim-ctl > small {
	font-size: 12.5px;
	color: var(--muted);
}

.dv-amts {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.dv-amts button {
	border: 1px solid var(--line);
	background: var(--white);
	border-radius: 999px;
	padding: 6px 12px;
	font-family: var(--mono);
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-2);
	cursor: pointer;
}

.dv-amts button[aria-pressed='true'] {
	background: var(--forest);
	border-color: var(--forest);
	color: var(--white);
}

.dv-sim-ctl .btn {
	margin-left: auto;
	gap: 8px;
}

.dv-sim-ctl .btn .ic {
	width: 18px;
	height: 18px;
	color: var(--lime);
	--ic-fill: rgba(200, 241, 105, 0.25);
}

.dv-sim-ctl .btn[disabled] {
	opacity: 0.6;
	cursor: default;
}

.dv-sim-req {
	display: block;
	margin-top: 14px;
	padding: 9px 12px;
	border-radius: 10px;
	background: var(--paper);
	border: 1px solid var(--paper-2);
	font-size: 12px;
	color: var(--ink-2);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dv-sim .timeline strong {
	font-family: var(--mono);
	font-size: 13.5px;
	font-weight: 600;
}

.dv-done {
	color: #2e6b1f;
}

/* Changelog */

.dv-log-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
	gap: 64px;
	align-items: start;
}

.dv-log-wrap > .section-head {
	grid-template-columns: 1fr;
	gap: 24px;
	margin: 0;
	position: sticky;
	top: 150px;
}

.dv-log {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dv-log li {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr);
	gap: 20px;
}

.dv-log time {
	font-family: var(--mono);
	font-size: 13px;
	color: var(--muted);
	padding-top: 4px;
}

.dv-log li > div {
	position: relative;
	padding: 0 0 44px 30px;
	border-left: 2px solid var(--line);
}

.dv-log li:last-child > div {
	padding-bottom: 0;
}

.dv-log li > div::before {
	content: '';
	position: absolute;
	left: -8px;
	top: 4px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--lime);
	box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--forest-3);
}

.dv-tag {
	display: inline-block;
	margin-bottom: 12px;
	padding: 3px 10px;
	border-radius: 999px;
	font-family: var(--mono);
	font-size: 11.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: var(--paper-2);
	color: var(--ink-2);
}

.dv-tag.live {
	background: #e4f6cf;
	color: #24531a;
}

/* Changes in the partner network behind Locals */
.dv-tag.network {
	background: var(--forest);
	color: var(--lime);
}

/* Product the entry is about */
.dv-tag.prod {
	margin-left: 6px;
	background: none;
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--muted);
}

.dv-log h3 {
	font-size: 24px;
	margin-bottom: 8px;
}

.dv-log p {
	color: var(--ink-2);
	max-width: 620px;
}

.dv-log p code {
	font-size: 0.88em;
	background: var(--paper-2);
	padding: 1px 6px;
	border-radius: 5px;
}

.dv-log li > div > code {
	display: inline-block;
	font-size: 12.5px;
	color: var(--forest-3);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 5px 10px;
}

/* Responsive */

@media (max-width: 1080px) {
	.dv-demo {
		max-width: 640px;
	}

	.dv-term {
		transform: none;
	}

	.dv-basics {
		grid-template-columns: 1fr 1fr;
	}

	.dv-basics > div {
		padding-bottom: 20px;
	}

	.dv-qs,
	.dv-build,
	.dv-errs,
	.dv-log-wrap {
		grid-template-columns: 1fr;
	}

	.dv-qs-code,
	.dv-err-code,
	.dv-log-wrap > .section-head {
		position: static;
	}

	.dv-ref {
		columns: 1;
	}

	.dv-eps {
		flex-direction: row;
		overflow-x: auto;
		scrollbar-width: none;
		padding-bottom: 4px;
	}

	.dv-eps button {
		flex-shrink: 0;
	}

	.dv-lane {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

@media (max-width: 680px) {
	.dv-demo {
		padding: 0 0 20px;
	}

	.dv-hook,
	.dv-dep {
		display: none;
	}

	.dv-term-body {
		min-height: 0;
		padding: 14px;
	}

	.dv-term pre {
		font-size: 11.5px;
	}

	.dv-term-title {
		display: none;
	}

	.dv-basics {
		margin-top: 48px;
	}

	.dv-basics code {
		font-size: 13.5px;
	}

	.dv-subnav-label {
		display: none;
	}

	.dv-step strong {
		font-size: 17px;
	}

	.dv-qs-code .dv-file {
		display: none;
	}

	.dv-ep {
		grid-template-columns: 52px minmax(0, 1fr);
	}

	.dv-ep em {
		display: none;
	}

	.dv-sm {
		padding: 4px 18px;
	}

	.dv-flow {
		flex-direction: column;
		align-items: flex-start;
	}

	.dv-edge {
		flex: none;
		min-width: 0;
		flex-direction: row-reverse;
		justify-content: flex-end;
		gap: 12px;
		height: 42px;
		margin: 0 0 0 18px;
		padding: 0;
	}

	.dv-edge i {
		width: 2px;
		height: 100%;
	}

	.dv-edge i::after {
		right: auto;
		left: -4px;
		top: auto;
		bottom: -1px;
		border: 5px solid transparent;
		border-top: 7px solid var(--line);
		border-bottom: 0;
	}

	.dv-edge.on i::after {
		border-left-color: transparent;
		border-top-color: var(--forest-3);
	}

	.dv-edge.go i::before {
		animation: none;
		opacity: 0;
	}

	.dv-fork {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.dv-loop {
		margin: 12px 0 0;
		align-items: flex-start;
	}

	.dv-err-list button {
		grid-template-columns: 48px minmax(0, 1fr);
		padding: 14px;
	}

	.dv-http,
	.dv-err-list code {
		grid-row: auto;
	}

	.dv-err-list span:not(.dv-http),
	.dv-err-list em {
		grid-column: 2;
	}

	.dv-sim {
		padding: 18px;
	}

	.dv-sim-ctl .btn {
		margin-left: 0;
		width: 100%;
	}

	.dv-log li {
		grid-template-columns: 1fr;
		gap: 8px;
	}
}

/* Screenshots and reduced motion: final state, no loops */

.shot .dv-caret,
.shot .dv-step.on .dv-step-bar i,
.shot .dv-edge.go i::before,
.shot .dv-qs-code .code-pane.active,
.shot .dv-swap {
	animation: none;
}

.shot .dv-edge.go i::before {
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
	.dv-caret,
	.dv-step.on .dv-step-bar i,
	.dv-edge.go i::before,
	.dv-qs-code .code-pane.active,
	.dv-swap {
		animation: none;
	}
}
