/* tapmapwp.com – no build step. */

@font-face {
	font-family: "Archivo";
	src: url("fonts/archivo-latin.woff2") format("woff2-variations"), url("fonts/archivo-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}

:root {
	--paper: #f5f6f8;
	--surface: #ffffff;
	--ink: #1b2230;
	--ink-soft: #4f5a6b;
	--line: #d9dee6;
	--blue: #2448d8;
	--blue-dark: #1a36a8;
	--blue-soft: #e8edfc;
	--sheet: #eaf0fa;
	--grid: #d5dff0;
	--available: #15803d;
	--reserved: #92400e;
	--sold: #b91c1c;
	--radius: 14px;
	--wrap: 1160px;
	color-scheme: light;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 84px;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.6;
	font-stretch: 100%;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--blue-dark);
	text-underline-offset: 3px;
}

h1,
h2,
h3 {
	margin: 0;
	font-stretch: 116%;
	font-weight: 760;
	line-height: 1.04;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(40px, 5.6vw, 72px);
}

h2 {
	font-size: clamp(30px, 4vw, 50px);
}

h3 {
	font-size: 22px;
	line-height: 1.2;
	font-stretch: 108%;
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 1em;
}

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 3px;
}

.wrap {
	width: min(var(--wrap), 100% - 32px);
	margin-inline: auto;
}

.skip {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: 8px;
	background: var(--ink);
	color: #fff;
}

.skip:focus {
	top: 12px;
}

/* ---------- buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 2px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-weight: 650;
	font-stretch: 104%;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}

.btn--primary {
	background: var(--blue);
	color: #fff;
}

.btn--primary:hover {
	background: var(--blue-dark);
}

.btn--ghost {
	border-color: var(--ink);
	color: var(--ink);
}

.btn--ghost:hover {
	background: var(--ink);
	color: #fff;
}

.btn--dark {
	background: var(--ink);
	color: #fff;
	min-height: 42px;
	padding: 0 18px;
}

.btn--block {
	width: 100%;
}

.btn[aria-disabled="true"] {
	background: transparent;
	border-color: var(--line);
	color: var(--ink-soft);
	cursor: default;
}

/* ---------- header ---------- */

.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(245, 246, 248, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 68px;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	font-size: 21px;
	font-weight: 780;
	font-stretch: 118%;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.logo svg {
	flex: none;
}

.nav {
	display: flex;
	align-items: center;
	gap: 26px;
}

.nav__link {
	color: var(--ink);
	font-weight: 520;
	text-decoration: none;
}

.nav__link:hover {
	text-decoration: underline;
}

/* ---------- hero ---------- */

.hero {
	padding: 52px 0 40px;
}

.hero__head {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 24px 56px;
	align-items: end;
}

.hero__lead {
	margin: 0 0 24px;
	color: var(--ink-soft);
	font-size: 19px;
	max-width: 46ch;
}

.hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* The drafting sheet the live demo sits on. */
.sheet {
	position: relative;
	margin-top: 40px;
	padding: 56px 40px 34px 64px;
	border: 1px solid var(--grid);
	border-radius: 22px;
	background-color: var(--sheet);
	background-image:
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 24px 24px;
	background-position: -1px -1px;
}

.dim {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #3f4c63;
	font-size: 13px;
	font-weight: 560;
	font-stretch: 92%;
	font-variant-numeric: tabular-nums;
}

.dim::before {
	content: "";
	position: absolute;
	border-color: #6c7a92;
	border-style: solid;
}

.dim span {
	position: relative;
	padding: 0 10px;
	background: var(--sheet);
}

.dim--x {
	top: 20px;
	left: 64px;
	right: 40px;
	height: 18px;
}

.dim--x::before {
	inset: 8px 0 auto;
	height: 9px;
	border-width: 0 1px;
	border-top-width: 1px;
	border-radius: 0;
	top: 8px;
}

.dim--y {
	top: 108px;
	bottom: 72px;
	left: 18px;
	width: 22px;
}

.dim--y::before {
	inset: 0 auto 0 10px;
	width: 9px;
	border-width: 1px 0;
	border-left-width: 1px;
}

.dim--y span {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	padding: 10px 0;
}

.sheet__note {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 24px;
	margin: 18px 0 0;
	color: #3f4c63;
	font-size: 15px;
}

.sheet__note strong {
	color: var(--ink);
}

/* Tapmap on the sales page */
.sheet .tapmap,
.plan .tapmap {
	margin: 0;
	--tapmap-ink: var(--ink);
}

.sheet .tapmap__canvas,
.plan .tapmap__canvas {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 0 rgba(27, 34, 48, 0.08), 0 18px 40px -24px rgba(27, 34, 48, 0.45);
}

.sheet .tapmap__tabs {
	background: rgba(255, 255, 255, 0.7);
}

/* ---------- uses ---------- */

.uses {
	padding: 24px 0 72px;
}

.uses__text {
	max-width: 30ch;
	margin: 0;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 560;
	font-stretch: 110%;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.uses__text span {
	color: var(--ink-soft);
}

/* ---------- sections ---------- */

.section {
	padding: 88px 0;
	border-top: 1px solid var(--line);
}

.section--white {
	background: var(--surface);
}

.section__head {
	max-width: 720px;
	margin-bottom: 44px;
}

.section__head p {
	margin: 16px 0 0;
	color: var(--ink-soft);
	font-size: 19px;
}

.tier {
	display: inline-block;
	margin-bottom: 14px;
	padding: 3px 12px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 650;
}

.tier--free {
	background: #dcfce7;
	color: #14532d;
}

.tier--pro {
	background: var(--blue-soft);
	color: var(--blue-dark);
}

/* free: hotspots */

.plan {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 56px;
	align-items: center;
}

.ticks {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.ticks li {
	position: relative;
	padding: 7px 0 7px 30px;
	border-top: 1px solid var(--line);
}

.ticks li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 15px;
	width: 12px;
	height: 7px;
	border: solid var(--available);
	border-width: 0 0 2.5px 2.5px;
	transform: rotate(-45deg);
}

/* pro rows */

.feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
	padding: 48px 0;
	border-top: 1px solid var(--line);
}

.feature:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.feature--flip .feature__mock {
	order: -1;
}

.feature__text p {
	margin: 14px 0 0;
	color: var(--ink-soft);
	max-width: 48ch;
}

.feature__mock {
	padding: 28px;
	border-radius: 18px;
	background: var(--paper);
	border: 1px solid var(--line);
}

/* mock: views */
.mock-views {
	display: grid;
	gap: 14px;
}

.mock-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	width: fit-content;
	padding: 4px;
	border-radius: 12px;
	background: #e4e7ed;
	font-size: 15px;
	font-weight: 600;
}

.mock-tabs span {
	padding: 7px 14px;
	border-radius: 9px;
	color: var(--ink-soft);
}

.mock-tabs .is-on {
	background: #fff;
	color: var(--ink);
	box-shadow: 0 1px 3px rgba(27, 34, 48, 0.18);
}

.mock-site {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
}

/* mock: email */
.mock-mail {
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--line);
	font-size: 15px;
}

.mock-mail__top {
	padding: 14px 18px;
	border-bottom: 1px solid var(--line);
}

.mock-mail__subject {
	display: block;
	font-weight: 700;
	font-size: 17px;
}

.mock-mail__from {
	color: var(--ink-soft);
}

.mock-mail dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 18px;
	margin: 0;
	padding: 16px 18px;
}

.mock-mail dt {
	color: var(--ink-soft);
}

.mock-mail dd {
	margin: 0;
	font-weight: 600;
}

.mock-mail__msg {
	margin: 0;
	padding: 0 18px 18px;
}

/* mock: stats */
.mock-stats {
	display: grid;
	gap: 12px;
}

.mock-stats__kpis {
	display: flex;
	gap: 28px;
	margin: 0 0 6px;
}

.mock-stats__kpis strong {
	display: block;
	font-size: 34px;
	font-stretch: 116%;
	line-height: 1;
}

.mock-stats__kpis span {
	color: var(--ink-soft);
	font-size: 15px;
}

.mock-stats table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	font-variant-numeric: tabular-nums;
}

.mock-stats th,
.mock-stats td {
	padding: 7px 0;
	border-top: 1px solid var(--line);
	text-align: right;
}

.mock-stats th {
	color: var(--ink-soft);
	font-weight: 560;
}

.mock-stats th:first-child,
.mock-stats td:first-child {
	text-align: left;
	width: 60%;
}

.bar {
	display: block;
	height: 6px;
	margin-top: 5px;
	border-radius: 3px;
	background: var(--blue);
}

/* mock: csv */
.mock-csv {
	overflow-x: auto;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--line);
}

.mock-csv table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	font-variant-numeric: tabular-nums;
}

.mock-csv th,
.mock-csv td {
	padding: 8px 14px;
	border-bottom: 1px solid var(--line);
	border-right: 1px solid var(--line);
	text-align: left;
	white-space: nowrap;
}

.mock-csv th {
	background: #eef1f5;
	font-weight: 600;
}

.mock-csv tr:last-child td {
	border-bottom: 0;
}

.mock-csv .is-changed {
	background: #fef3c7;
	font-weight: 650;
}

/* editor */

.shot {
	margin: 0;
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid var(--line);
	background: #fff;
	box-shadow: 0 30px 60px -40px rgba(27, 34, 48, 0.5);
}

.shot img {
	display: block;
	width: 100%;
}

.facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.facts strong {
	display: block;
	margin-bottom: 4px;
	font-size: 18px;
	font-stretch: 106%;
}

.facts span {
	color: var(--ink-soft);
}

/* compare */

.compare {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 0 0 1px var(--line);
}

.compare th,
.compare td {
	padding: 13px 18px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.compare thead th {
	background: var(--ink);
	color: #fff;
	font-weight: 650;
	font-stretch: 108%;
}

.compare td {
	width: 120px;
	text-align: center;
}

.compare tbody th {
	font-weight: 450;
}

.compare tbody tr:last-child > * {
	border-bottom: 0;
}

.compare .group th {
	padding-top: 20px;
	background: var(--paper);
	font-weight: 700;
	font-stretch: 108%;
}

.yes,
.no {
	display: inline-block;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	vertical-align: middle;
}

.yes {
	background: var(--available) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.no {
	width: 14px;
	height: 2px;
	border-radius: 1px;
	background: #9aa3b2;
}

/* pricing */

.prices {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.price {
	display: flex;
	flex-direction: column;
	padding: 30px 28px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--line);
}

.price--main {
	position: relative;
	border: 2px solid var(--blue);
	box-shadow: 0 24px 48px -32px rgba(36, 72, 216, 0.6);
}

.price h3 {
	font-size: 24px;
}

.price__badge {
	position: absolute;
	top: -15px;
	left: 26px;
	margin: 0;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--blue);
	color: #fff;
	font-size: 14px;
	font-weight: 650;
}

.price__amount {
	margin: 16px 0 2px;
	font-size: 52px;
	font-weight: 760;
	font-stretch: 116%;
	line-height: 1;
	letter-spacing: -0.03em;
}

.price__amount small {
	font-size: 17px;
	font-weight: 500;
	font-stretch: 100%;
	letter-spacing: 0;
	color: var(--ink-soft);
}

.price__sites {
	margin: 0 0 18px;
	color: var(--ink-soft);
}

.price ul {
	flex: 1;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}

.price li {
	padding: 6px 0;
	border-top: 1px solid var(--line);
}

.prices__note {
	margin: 24px 0 0;
	color: var(--ink-soft);
	text-align: center;
}

/* faq */

.faq {
	max-width: 780px;
}

.faq details {
	border-top: 1px solid var(--line);
}

.faq details:last-child {
	border-bottom: 1px solid var(--line);
}

.faq summary {
	position: relative;
	padding: 20px 44px 20px 0;
	font-size: 19px;
	font-weight: 650;
	font-stretch: 104%;
	cursor: pointer;
	list-style: none;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: "";
	position: absolute;
	right: 8px;
	top: 27px;
	width: 10px;
	height: 10px;
	border: solid var(--ink);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	transition: transform 0.2s;
}

.faq details[open] summary::after {
	transform: rotate(-135deg);
	top: 32px;
}

.faq details p {
	margin: 0 0 20px;
	color: var(--ink-soft);
	max-width: 64ch;
}

/* closing band */

.band {
	padding: 88px 0;
	background: var(--ink);
	color: #fff;
}

.band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.band h2 {
	max-width: 18ch;
}

.band .btn--ghost {
	border-color: #fff;
	color: #fff;
}

.band .btn--ghost:hover {
	background: #fff;
	color: var(--ink);
}

.band .btn--ghost[aria-disabled="true"] {
	border-color: #5d6779;
	color: #c3c9d4;
	background: transparent;
}

.band .btn--primary {
	background: #fff;
	color: var(--ink);
}

.band .btn--primary:hover {
	background: var(--blue-soft);
}

.band :focus-visible {
	outline-color: #fff;
}

/* footer */

.footer {
	padding: 32px 0 44px;
	font-size: 15px;
	color: var(--ink-soft);
}

.footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
}

.footer nav {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.footer a {
	color: var(--ink);
}

/* legal pages */

.legal {
	max-width: 720px;
	padding: 64px 0 88px;
}

.legal h1 {
	font-size: clamp(36px, 5vw, 56px);
	margin-bottom: 12px;
}

.legal h2 {
	font-size: 26px;
	margin: 40px 0 12px;
}

.legal .muted {
	color: var(--ink-soft);
}

/* ---------- small screens ---------- */

@media (max-width: 960px) {
	.hero__head,
	.plan,
	.feature {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.feature--flip .feature__mock {
		order: 0;
	}

	.prices {
		grid-template-columns: 1fr;
		max-width: 480px;
	}
}

@media (max-width: 760px) {
	.nav__link {
		display: none;
	}

	.hero {
		padding-top: 40px;
	}

	.sheet {
		margin-top: 32px;
		margin-inline: -8px;
		padding: 44px 12px 20px;
		border-radius: 16px;
	}

	.dim--x {
		left: 12px;
		right: 12px;
		top: 14px;
	}

	.dim--y {
		display: none;
	}

	.section {
		padding: 64px 0;
	}

	.feature {
		padding: 36px 0;
	}

	.feature__mock {
		padding: 18px;
	}

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

	.compare th,
	.compare td {
		padding: 11px 10px;
		font-size: 15px;
	}

	.compare td {
		width: 56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}

.plan__lead {
	margin: 16px 0 0;
	color: var(--ink-soft);
	font-size: 19px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.legal ul {
	padding-left: 1.2em;
}

.legal li {
	margin-bottom: 6px;
}

.notfound {
	padding-top: 120px;
	min-height: 60vh;
}
