@font-face {
	font-family: "JetBrains Mono";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/fonts/tessa/jetbrains-mono-latin-400-normal.woff2") format("woff2");
}

@font-face {
	font-family: "JetBrains Mono";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("/fonts/tessa/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}

@font-face {
	font-family: "JetBrains Mono";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("/fonts/tessa/jetbrains-mono-latin-600-normal.woff2") format("woff2");
}

:root {
	scroll-padding-top: 64px;
}

/* The --tessa-blue tokens are defined for both sites in tessa.css. */

.tp-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid #e5e5e8;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.tp-nav-inner {
	width: min(1240px, calc(100% - 48px));
	height: 64px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

/* Tessa brand kit, endorsed lockup: the symbol sits centred on the two lines
   "tessa" / "by Ernst & Conte" (Inter 700 lowercase, tracking -0.03em; endorsement Inter 500 muted). */
.tp-nav-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.tp-nav-lockup {
	position: relative;
	padding-left: 34px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
}

.tp-nav-brand-product {
	display: block;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
	color: #111113;
}

.tp-nav-symbol {
	position: absolute;
	top: 50%;
	left: 0;
	width: 24px;
	height: 24px;
	margin-top: -12px;
	color: #111113;
}

.tp-nav-byline {
	display: block;
	font-size: 0.6875rem;
	font-weight: 500;
	line-height: 1;
	color: #6b6b73;
	transition: color 120ms ease;
}

.tp-nav-byline:hover {
	color: #111113;
	text-decoration: underline;
}

.tp-nav-links {
	display: flex;
	align-items: center;
	gap: 28px;
}

.tp-nav-links > a:not(.tp-button) {
	font-size: 0.875rem;
	font-weight: 500;
	color: #616168;
	transition: background-color 120ms ease;
}

.tp-nav-links > a:not(.tp-button):hover {
	color: #111113;
}

/* Every entry is a page; the current one is underlined in blue. */
.tp-nav-links > a[aria-current="page"]:not(.tp-button) {
	color: #111113;
	text-decoration: underline;
	text-decoration-color: var(--tessa-blue);
	text-decoration-thickness: 2px;
	text-underline-offset: 9px;
}

/* Log in, for existing accounts, set apart at the far right after the language switch. */
.tp-nav-divider {
	width: 1px;
	height: 22px;
	margin: 0 -8px;
	background: #dedee3;
}

.tp-nav-links > a.tp-nav-login {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
	color: #45454c;
}

.tp-nav-links > a.tp-nav-login:hover {
	color: #111113;
}

/* The menu button, shown on narrow screens; the icon swaps while the menu is open. */
.tp-nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: none;
	color: #111113;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.tp-nav-toggle:focus-visible {
	outline: 2px solid var(--tessa-blue);
	outline-offset: 2px;
}

.tp-nav-toggle .nav-icon-close,
.tp-nav[data-open] .tp-nav-toggle .nav-icon-open {
	display: none;
}

.tp-nav[data-open] .tp-nav-toggle .nav-icon-close {
	display: block;
}

.tessa-product {
	--tp-ink: #111113;
	--tp-muted: #66666e;
	--tp-faint: #686870;
	--tp-line: #dedee3;
	--tp-line-soft: #ececef;
	--tp-soft: #f6f6f7;
	--tp-raised: #fafafa;
	--tp-blue: var(--tessa-blue);
	--tp-blue-soft: #edf4ff;
	--tp-green: #237a48;
	--tp-green-soft: #edf8f1;
	--tp-amber: #87570f;
	--tp-amber-soft: #fff7e8;
	--tp-red: #b42331;
	--tp-red-soft: #fff0f1;
	--tpm-green: #47806a;
	--tpm-green-soft: #e9f0ec;
	--tpm-green-line: #c6d9d0;
	background: #fff;
	color: var(--tp-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
}

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

.tessa-product h1,
.tessa-product h2,
.tessa-product h3,
.tessa-product p,
.tessa-product ul,
.tessa-product ol,
.tessa-product dl {
	margin: 0;
}

.tessa-product h1,
.tessa-product h2,
.tessa-product h3 {
	color: var(--tp-ink);
	line-height: 1.08;
	letter-spacing: 0;
}

.tp-shell {
	width: min(1240px, calc(100% - 48px));
	margin: 0 auto;
}

.tp-eyebrow {
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0;
	color: var(--tp-faint);
}

.tp-button {
	min-height: 42px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.875rem;
	font-weight: 650;
	line-height: 1;
	text-align: center;
	transition: background-color 120ms ease, border-color 120ms ease;
}

.tp-button:active {
	transform: scale(0.985);
}

.tp-button-primary {
	background: var(--tessa-blue);
	border-color: var(--tessa-blue);
	color: #fff;
}

.tp-button-primary:hover {
	background: var(--tessa-blue-hover);
	border-color: var(--tessa-blue-hover);
	color: #fff;
}

.tp-button-secondary {
	background: #fff;
	border-color: #cfcfd5;
	color: var(--tp-ink);
}

.tp-button-secondary:hover {
	background: var(--tp-soft);
	border-color: #a9a9b1;
}

.tp-nav .tp-button {
	min-height: 34px;
	padding: 0 16px;
	border-radius: 8px;
	font-size: 0.8125rem;
}

.tp-hero {
	padding: 112px 0 52px;
	border-bottom: 1px solid var(--tp-line-soft);
}

.tp-hero-inner {
	max-width: 900px;
	text-align: center;
}

.tp-hero h1 {
	max-width: 860px;
	margin: 16px auto 18px;
	font-size: 4rem;
	font-weight: 750;
}

.tessa-product .tp-lead {
	max-width: 690px;
	margin: 0 auto;
	font-size: 1.25rem;
	line-height: 1.55;
	color: var(--tp-muted);
}

.tp-section-heading h2,
.tp-faq h2,
.tp-contact h2 {
	margin-top: 14px;
	font-size: 2.875rem;
	font-weight: 720;
}

.tp-section-heading > p:last-child {
	font-size: 1.125rem;
	color: var(--tp-muted);
}

.tp-badge {
	min-height: 22px;
	padding: 0 8px;
	border: 1px solid #d6d6db;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
	font-size: 9px;
	font-weight: 650;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0;
}

.tp-badge {
	border-color: var(--tp-ink);
	background: var(--tp-ink);
	color: #fff;
}

.tp-contact h2 {
	color: #fff;
}

.tp-contact-copy > p:last-child {
	font-size: 1.0625rem;
	color: #aaaab2;
}

.tp-tiers-section {
	padding: 128px 0;
	background: var(--tp-soft);
}

.tp-section-heading {
	max-width: 720px;
	margin-bottom: 48px;
}

.tp-section-heading h2 {
	margin-bottom: 18px;
}

.tp-trial-offer {
	margin-bottom: 16px;
	padding: 32px;
	border: 1px solid #0f58bd;
	border-radius: 6px;
	background: var(--tp-blue);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 48px;
}

.tp-trial-label {
	width: fit-content;
	padding: 5px 9px;
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
	font-size: 0.625rem;
	font-weight: 650;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.tp-trial-offer h3 {
	margin-top: 15px;
	color: #fff;
	font-size: 1.75rem;
	font-weight: 720;
}

.tp-trial-description {
	max-width: 800px;
	margin-top: 12px !important;
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.9375rem;
}

.tp-trial-offer .tp-button {
	min-width: 244px;
	background: #fff;
	border-color: #fff;
	color: var(--tp-ink);
}

.tp-trial-offer .tp-button:hover {
	background: var(--tp-blue-soft);
	border-color: var(--tp-blue-soft);
}

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

.tp-tier {
	min-width: 0;
	padding: 26px;
	border: 1px solid var(--tp-line);
	border-radius: 6px;
	background: #fff;
	display: flex;
	flex-direction: column;
	transition: border-color 120ms ease, background-color 120ms ease;
}

.tp-tier:hover {
	border-color: #aaaab2;
}

.tp-tier.is-featured {
	border-color: #777780;
}

.tp-tier-head {
	padding-bottom: 22px;
	border-bottom: 1px solid var(--tp-line-soft);
}

.tp-tier-title-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.tp-tier-title-row .tp-badge {
	flex: none;
}

.tp-tier h3 {
	font-size: 1.375rem;
	font-weight: 720;
}

.tp-tier-subtitle {
	margin-top: 7px !important;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--tp-faint);
}

.tp-tier > p:not(.tp-tier-callout) {
	padding: 22px 0;
	font-size: 0.9375rem;
	color: var(--tp-muted);
}

.tp-tier ul {
	padding: 0;
	list-style: none;
	flex: 1;
}

.tp-tier li {
	position: relative;
	padding: 10px 0 10px 18px;
	border-bottom: 1px solid var(--tp-line-soft);
	font-size: 0.875rem;
}

.tp-tier li::before {
	content: "";
	position: absolute;
	top: 17px;
	left: 1px;
	width: 6px;
	height: 6px;
	border-radius: 9999px;
	background: #8a8a92;
}

.tp-tier-callout {
	min-height: 74px;
	padding: 20px 0 16px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--tp-muted);
}

.tp-tier .tp-button {
	width: 100%;
}

.tp-faq {
	padding: 120px 0;
	border-top: 1px solid var(--tp-line-soft);
}

.tp-faq-grid {
	display: grid;
	grid-template-columns: 0.65fr 1.35fr;
	gap: 96px;
}

.tp-faq h2 {
	margin-top: 14px;
}

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

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

.tp-faq summary {
	min-height: 70px;
	padding: 18px 42px 18px 4px;
	position: relative;
	display: flex;
	align-items: center;
	font-size: 1rem;
	font-weight: 650;
	cursor: pointer;
	list-style: none;
	transition: background-color 120ms ease;
}

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

.tp-faq summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 8px;
	width: 24px;
	height: 24px;
	margin-top: -12px;
	border: 1px solid var(--tp-line);
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
	font-size: 0.8125rem;
	font-weight: 500;
}

.tp-faq details[open] summary::after {
	content: "-";
}

.tp-faq summary:hover {
	background: var(--tp-soft);
}

.tp-faq details p {
	max-width: 720px;
	padding: 0 42px 24px 4px;
	font-size: 1rem;
	color: var(--tp-muted);
}

.tp-contact {
	padding: 120px 0;
	background: #111113;
	color: #fff;
}

.tp-contact-grid {
	display: grid;
	grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
	gap: 96px;
	align-items: start;
}

.tp-contact .tp-eyebrow {
	color: #8b8b93;
}

.tp-contact h2 {
	margin: 14px 0 22px;
}

.tp-contact-form {
	padding: 30px;
	border: 1px solid #333338;
	border-radius: 6px;
	background: #171719;
}

.tp-contact .t-form-fields {
	gap: 16px;
}

.tp-contact .t-form-field label {
	margin-bottom: 6px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #cfcfd5;
}

.tp-contact .t-form-field input,
.tp-contact .t-form-field textarea,
.tp-contact .t-form-field select {
	min-height: 42px;
	padding: 9px 11px;
	border: 1px solid #3a3a40;
	border-radius: 4px;
	background: #0d0d0f;
	color: #fff;
	font-size: 0.8125rem;
	transition: background-color 120ms ease, border-color 120ms ease;
}

.tp-contact .t-form-field textarea {
	min-height: 112px;
}

.tp-contact .t-form-field input:focus,
.tp-contact .t-form-field textarea:focus,
.tp-contact .t-form-field select:focus {
	outline: 2px solid var(--tp-blue);
	outline-offset: 2px;
	border-color: var(--tp-blue);
}

.tp-contact .t-form-field select option {
	background: #111113;
	color: #fff;
}

.tp-contact .t-btn {
	min-height: 42px;
	margin-top: 18px;
	padding: 0 20px;
	border: 1px solid var(--tessa-blue);
	border-radius: 10px;
	background: var(--tessa-blue);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 650;
	transition: background-color 120ms ease;
}

.tp-contact .t-btn:hover {
	background: var(--tessa-blue-hover);
	border-color: var(--tessa-blue-hover);
}

.tp-nav a:focus-visible,
.tessa-product a:focus-visible,
.tessa-product button:focus-visible,
.tessa-product summary:focus-visible,
.tessa-product input:focus-visible,
.tessa-product textarea:focus-visible,
.tessa-product select:focus-visible {
	outline: 2px solid var(--tp-blue);
	outline-offset: 3px;
}

@media screen and (max-width: 1120px) {
	.tp-tiers {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 900px) {
	.tp-nav-inner,
	.tp-shell {
		width: min(100% - 32px, 720px);
	}

	/* The phone menu: a panel under the bar, opened by the menu button. */
	.tp-nav-toggle {
		display: inline-flex;
	}

	.tp-nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 0.5rem 24px 20px;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: #fff;
		border-bottom: 1px solid #e5e5e8;
		box-shadow: 0 16px 32px rgba(17, 17, 19, 0.08);
	}

	.tp-nav[data-open] .tp-nav-links {
		display: flex;
	}

	.tp-nav-links > a:not(.tp-button) {
		display: flex;
		min-height: 48px;
		padding: 0 4px;
		align-items: center;
		font-size: 1.0625rem;
	}

	/* Trial and Log in as a matching pair of large buttons, the language switch last. */
	.tp-nav-links > .tp-button {
		order: 1;
		min-height: 48px;
		margin: 12px 0 0;
		border-radius: 10px;
		font-size: 1rem;
	}

	.tp-nav-divider {
		display: none;
	}

	.tp-nav-links > a.tp-nav-login {
		order: 2;
		min-height: 48px;
		margin-top: 10px;
		padding: 0 20px;
		border: 1px solid #cfcfd5;
		border-radius: 10px;
		justify-content: center;
		font-size: 1rem;
		font-weight: 600;
		color: #111113;
	}

	.tp-nav-links .t-language-switcher {
		order: 3;
		margin-top: 8px;
		justify-content: center;
		gap: 1rem;
	}

	.tp-nav-links .t-language-switcher a,
	.tp-nav-links .t-language-switcher span {
		padding: 0.6rem 0.5rem;
	}

	.tp-hero {
		padding: 84px 0 32px;
	}

	.tp-hero h1 {
		font-size: 2.625rem;
	}

	.tessa-product .tp-lead {
		font-size: 1.125rem;
	}

	.tp-faq-grid,
	.tp-contact-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.tp-faq header {
		max-width: 440px;
	}

	.tp-contact-copy {
		max-width: 560px;
	}
}

@media screen and (max-width: 700px) {
	.tp-nav-inner {
		width: calc(100% - 24px);
	}

	.tp-nav-byline {
		display: none;
	}

	.tp-nav-links {
		gap: 0;
	}

	.tp-nav .tp-button {
		padding: 0 14px;
	}

	.tp-shell {
		width: calc(100% - 32px);
	}

	.tp-hero {
		padding: 84px 0 32px;
	}

	.tp-hero h1 {
		margin-top: 14px;
		font-size: 2.5rem;
	}

	.tessa-product .tp-lead {
		font-size: 1.0625rem;
	}

	.tp-faq,
	.tp-contact {
		padding-top: 56px;
		padding-bottom: 80px;
	}

	.tp-tiers-section {
		padding-top: 72px;
		padding-bottom: 72px;
	}

	.tp-section-heading h2,
	.tp-faq h2,
	.tp-contact h2 {
		font-size: 2.125rem;
	}

	.tp-tiers {
		grid-template-columns: 1fr;
	}

	.tp-trial-offer {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.tp-trial-offer .tp-button {
		min-width: 0;
		width: 100%;
	}

	.tp-tier-head,
	.tp-tier > p:not(.tp-tier-callout) {
		min-height: 0;
	}

	.tp-tier-callout {
		min-height: 0;
	}

	.tp-contact-form {
		padding: 20px;
	}

	.tp-contact .t-form-fields {
		grid-template-columns: 1fr;
	}

	.tp-contact .t-form-field.t-form-half {
		grid-column: 1 / -1;
	}
}

@media screen and (max-width: 480px) {
	.t-footer-inner {
		padding: 0 12px;
	}

	.tp-nav-brand-product {
		font-size: 1rem;
	}

	.tp-hero {
		padding: 84px 0 32px;
	}

	.tp-hero h1 {
		font-size: 2rem;
	}

	.tessa-product .tp-lead {
		font-size: 1rem;
	}

	.tp-trial-offer {
		padding: 24px;
	}

	.tp-contact-grid {
		gap: 36px;
	}
}

@media screen and (max-width: 360px) {
	.tp-hero {
		padding-top: 76px;
	}

	.tp-hero .tp-eyebrow {
		display: none;
	}

	.tp-hero h1 {
		margin-top: 0;
		font-size: 1.875rem;
	}

	.tessa-product .tp-lead {
		font-size: 0.9375rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tessa-product *,
	.tessa-product *::before,
	.tessa-product *::after,
	.tp-nav * {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}
}
