html {
	height: 100%;
	width: 100%;
	overflow: hidden;
}
body {
	height: 100%;
	padding: 0;
	overflow: auto;
	margin: 0;
	background: hsl(0, 0%, 97%);
	background-image: url(images/bg_21qWg9_.png);
	background-size: 14px 6px;
	overscroll-behavior: none;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	--content-width: 602px;
	--border-lightness: 0%;
}

h1 {
	font-size: 32px;
}
button {
	--h-padding: 6px;
	padding: 1px var(--h-padding);
	background: hsl(0, 0%, 95%);
	color: #000;
	border: 1px solid hsla(0, 0%, var(--border-lightness), 0.15);
	font-size: inherit;
	font-weight: normal;
	border-radius: 3px;
	cursor: pointer;
	outline-offset: 1px;
}
button:not(:disabled):hover {
	background-color: hsl(0, 0%, 92%);
	border-color: hsla(0, 0%, var(--border-lightness), 0.2);
}
button:focus:not(:focus-visible) {
	outline: unset;
}
button:disabled {
	color: hsl(0, 0%, 40%);
	background: transparent;
	cursor: default;
}
button:not(:disabled):active {
	background-color: hsl(0, 0%, 88%);
}
input {
	border: 1px solid hsla(0, 0%, var(--border-lightness), 0.15);
}


[data-y-range]:not(.visible) {
	visibility: hidden;
}
[data-y-range] {
	opacity: 0;
}
#hero_inside:not(.shifted) .demo-overlays {
	display: none;
}
.anim-ready [data-y-range] {
	transition: .2s ease-out opacity;
}
[data-y-range].visible {
	opacity: 1;
}
#logo {
	margin: auto 0 0 0;
	padding-top: 1vh;
}
#logo small {
	color: hsl(0, 0%, 60%);
}
#logo a[href] {
	color: hsla(240, 100%, 50%, 0.8);
	text-decoration-color: hsla(240, 100%, 50%, 0.2);
}
#logo a[href]:hover {
	color: hsl(240, 100%, 50%);
	text-decoration-color: hsla(240, 100%, 50%, 0.3);
}

.slide {
	max-width: var(--content-width);
	margin: 0 auto;
}
#hero {
	height: 200vh;
	min-height: 600px;
}
#hero_inside {
	position: sticky;
	top: 0;
	/* width: 100%; */
	left: 0;
	/* width: var(--content-width); */
	right: 0;
	box-sizing: border-box;
	height: 100vh;
	height: 100svh;
	/* overflow: hidden; */
	display: flex;
	flex-direction: column;
}
#content {
	position: relative;
	max-height: 75vh;
	--annotation-color-text: hsl(329, 100%, 45%);
	--annotation-color: hsla(329, 100%, 50%, 0.8);
}
.content-before {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	padding: 0 39px;
}
.content-before p {
	margin: 8px 0 0 0;
}
.content-before .main-text {
	font-size: 20px;
}

.content-after {
	flex-grow: 2;
	justify-self: start;
}

.annotations {
	font-family: sans-serif;
}

.browser {
	background: hsl(0, 0%, 95%);
	border: 1px solid hsla(0, 0%, 0%, 0.2);
	padding-top: 8px;
	--border-radius: 8px;
	border-radius: var(--border-radius);
	--border-color: hsla(0, 0%, 0%, 0.2);
	user-select: none;
	/* pointer-events: none; */
	box-shadow: 1px 1px hsl(0deg 0% 0% / 10%);
}

.tabbar {
	display: flex;
	overflow: hidden;
	font-size: 12px;
	--border-secondary-color: hsl(0, 0%, 90%);
}
.tabbar .tab {
	flex-basis: 0px;
	flex-grow: 1;
	flex-shrink: 1;
	display: inline-flex;
	min-width: 16px;
	--tab-padding-side: 6px;
	padding: 6px var(--tab-padding-side);
	white-space: nowrap;
	--tab-border-radius: 8px;
	text-overflow: ellipsis;
	flex-wrap: nowrap;
}

.tabbar .tab,
.tabbar .spacer {
	border-bottom: 1px solid var(--border-secondary-color);
}

/* CSS is 1-base index, not 0-base :| */
.tabbar .tab:nth-child(n+2):not(.pinned):not(.selected)::before {
	content: '';
	width: 1px;
	height: 16px;
	background: var(--border-color);
	display: inline-block;
	position: relative;
	vertical-align: top;
	left: calc(-1 * var(--tab-padding-side));
}

.tabbar .tab.selected {
	background: white;
	border-top-left-radius: var(--tab-border-radius);
	border-top-right-radius: var(--tab-border-radius);
	border: 1px solid rgba(0,0,0,0.1);
	border-bottom-color: white;
}
.tabbar .tab.pinned {
	flex-grow: 0;
}
.tabbar .tab {
	border-top: 1px solid transparent;
}
#hero.last_opened_annotation .tabbar .tab.old_tab {
	border-top-color: var(--annotation-color);
}
.tab > .text {
	white-space: nowrap;
	overflow: hidden;
	align-self: center;
	/* text-overflow: ellipsis; */
}
.tabbar .tab.pinned > .text {
	display: none;
}
.tabbar .spacer {
	min-width: 12px;
	flex-grow: 1;
}

.favicon {
	width: 16px;
	height: 16px;
	margin-right: 2px;
	vertical-align: -2px;
}


.content-view {
	font: 14px system-ui, sans-serif;
	min-height: 240px;
	background: white;
	border-bottom-left-radius: var(--border-radius);
	border-bottom-right-radius: var(--border-radius);
	padding: 4px 0 0 12px;
}

.main-text {
	font-size: 18px;
}

#sidebar [data-y]:not(.active) {
	display: none;
}

#sidebar p {
	margin: 0;
	font-size: 1em;
	max-width: 300px;
}
#sidebar p + p {
	margin-top: 4em;
}
.content-view .tab {
	font-size: 13px;
}
.stashed_tab {
	padding: 3px 2px;
}
@media (max-width: 640px) {
	.stashed_tab {
		padding: 2px;
	}
}

.tab-header {
	--border-lightness: 0%;
	--h-padding: 8px;
	padding-left: calc(10px + var(--h-padding));
	margin-top: 14px;
	margin-bottom: -8px;
	border-top: 1px solid hsla(0, 0%, var(--border-lightness), 0.15);
	font-weight: 500;
	position: relative;
}
.tab-header > span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: white;
    margin-top: -16px;
    position: relative;
    top: -10px;
    color: #444;
    padding: 0 var(--h-padding);
}

#waitlist_form {
	background: hsl(0, 0%, 97%);
	background-image: url(images/bg_21qWg9_.png);
	background-size: 14px 6px;
	width: 300px;
	min-height: 25px;
	margin: 1vh auto 0;
	padding: 8px 10px;
	display: flex;
	font-size: 16px;
	align-self: start;
	position: relative;
}
#waitlist_form.submitted {
	display: block;
}
#waitlist_form input {
	flex: 1;
	margin-right: 4px;
}
#waitlist_form :is(input, button) {
	font-size: inherit;
	white-space: nowrap;
}
label {
	display: none;
}
#waitlist_response {}


#clock {
	width: 120px;
	text-align: center;
}
#analog_clock {
	margin: 10px 10px 0 10px;
	width: 100px;
	height: 100px;
}
#hour_hand,
#minute_hand {
	transform-origin: 50% 50%;
}
line {
	stroke-width: 1;
	stroke: black;
}
#hour_hand {
	stroke-width: 2;
	stroke: black;
}
#minute_hand {
	stroke-width: 0.5;
	stroke: hsl(0deg 0% 0% / 50%);
}
#digital_clock {
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	text-align: right;
	margin-top: -50px;
	position: relative;
	top: -46px;
	background: hsl(0deg 0% 100% / 60%);
	border-radius: 8px;
}
#analog_clock .mark {
	stroke: hsla(0, 0%, 0%, 0.7);
}

#slide_1 {
	max-width: 600px;
	margin: 0 3px;
}
#slide_2 {
	position: absolute;
	top: 0;
	width: 100%;
	height: 484px;
	overflow: hidden;
}

@media all and (min-width: 621px) {
	.anim-ready .content-before {
		transition: 100ms ease-in-out transform;
	}
	#hero_inside.shifted > .content-before {
		transform: translateX(75px);
		width: calc(100% - 80px - 75px);
	}
}
@media all and (max-width: 620px) {
	#hero_inside.shifted > .content-before {
		text-align: center;
	}
	.notes {
		left: 8px;
	}
}
