@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&display=swap');

html {
	height: 100%;
	width: 100%;
	scroll-behavior: smooth;
}

html,
body {
	margin: 0;
	padding: 0;
	font-family: "DM Sans", sans-serif;
	line-height: 1.5em;
}

a {
	text-decoration: none;
}
a:hover {
	border-bottom: 2px solid;
}

/* GENERAL */
h1 {
	line-height: 1.2em;
}
h1, h2, h3 {
	font-family: "Space Grotesk", sans-serif;
}
body>div {
	/* ~tmp */
	padding: 1em;
}

hr {
	background-color: rgba(0, 0, 0, 0.2);
	border: none;
	height: 1px;
}

.centre-page-content {
	max-width: 1200px;
	margin: 0 auto;
}

.product-name {
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
}

.footnote {
	opacity: 0.6;
	font-size: 0.8em;
}

.h-text-center {
	text-align: center;
}

/* COVER */
.cover {
	margin-top: 40px;
	margin-bottom: 20px;
}
.cover .cover-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.cover-content .cover-text {
	max-width: 390px;
	/* flex: 1; */
}

.cover-content .cover-text h1 {
	font-size: 48px;
	font-weight: bold;
	line-height: 1em;
	margin-bottom: 0;
}
.cover-content .cover-text p {
	margin: 24px 0;
}

.cover-content .cover-image {
	/* flex: 1; */
	display: flex;
	align-items: center; /* Vertically centers the image within its container */
	justify-content: center; /* Horizontally centers the image within its container if necessary */
}

.cover .cover-image img {
	max-width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: contain;
}
.cover a.button {
	margin-bottom: 20px;
}

@media (max-width: 700px) {
	.cover .cover-content {
		flex-direction: column-reverse;
	}
	.cover .cover-text {
		max-width: 100%;
	}
}

/* FOOTER */
div.dark {
	background: black;
	color: white;
}

div.dark a {
	color: white;
}

.footer .links a {
	margin-right: 3em;
}

.footer .links {
	margin-bottom: 1.5em;
}

.footer {
	margin-bottom: 2.5em;
	margin-top: 1.5em;
}

/* HEADER */
.header nav .product-logo-long {
	padding-right: 1.5em;
}

.header nav a {
	color: black;
}

.header nav>div {
	display: inline-block;
	vertical-align: middle;
}

.header nav .ctas {
	float: right;
}

.header nav .ctas a:not(:first-child) {
	margin-left: 8px;
}

@media (max-width: 870px) {
	.header nav .links {
		display: none;
	}
}
@media (max-width: 520px) {
	.header nav .ctas {
		float: none;
	}
}

.header nav .links a {
	margin-right: 1.5em;
}

a.product-logo-long {
	display: flex;
	align-items: center;
	color: black;
}

a.product-logo-long:hover {
	border-bottom: none;
}

/* GENERAL - BUTTON */

a.button {
	background: white;
	color: black;
	border-radius: 0.5em;
	padding: 12px 20px;
	display: inline-block;
	/* position: relative; */
	transition: all 0.3s ease;
	border: 1px solid black;
}

a {
	color: #00795F;
}

a.button:hover,
a.button.secondary:hover, 
a.button.primary:hover {
	background: #FFE815;
	color: #00795F;
	/* border-color: #00795F; */
	border-color: transparent;
}
a.button.secondary {
	background: white;
	color: black;
}

a.button.primary {
	border: none;
	/* background: #FFE815; */
	/* background: #00795F; */
	background: black;
	color: white;
	font-weight: bold;
}

/* GENERAL - COLUMNS */

.columns {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	align-items: stretch;
}

.columns-2>div {
	flex: 1;
	padding: 15px;
	border-radius: 8px;
	box-sizing: border-box;
}

.columns-3>div {
	flex: 1;
	padding: 15px;
	border-radius: 8px;
	box-sizing: border-box;
}

.columns-4>div {
	flex: 1;
	padding: 15px;
	border-radius: 8px;
	box-sizing: border-box;
}

@media screen and (max-width: 600px) {
	.columns {
		flex-direction: column;
		align-items: flex-start;
	}
	.rows-2cols-alternating .columns:nth-child(even) {
		flex-direction: column !important;
	}
}

/* PARTNERS */
.partners {
	text-align: center;
}
.partners img {
	/* max-width: 150px; */
	max-height: 50px;
}

/* USE CASES */
.use-cases {
	text-align: center;
}
.use-cases .item {
	text-align: left;
	padding: 10px;
	/* border: 1px solid #ccc; */
	border-radius: 8px;
	background-color: #f9f9f9;
	max-width: 500px;
}
.quote .main {
	/* font-style: italic; */
}
.quote .attribution {
	font-style: italic;
	text-align: right;
	font-size: 0.9em;
	opacity: 0.6;
}

/* FEATURES */
.features .image img {
	max-width: 100%;
	height: auto; /* Maintains aspect ratio */
	display: block; /* Removes any unwanted inline spacing */
	border-radius: 8px;
	/* border: 1px solid rgba(0, 0, 0, 0.1); */
}
.features .columns-2 {
	max-width: 1000px;
	margin: 80px auto;
	align-items: center;
}
.rows-2cols-alternating .columns:nth-child(even) {
	flex-direction: row-reverse;
}

.features h3 {
	font-size: 12px;
	color: rgba(0, 0, 0, 0.4);
	text-transform: uppercase;
	font-weight: bold;
}

.features h2 {
	font-size: 40px;
	font-weight: bold;
	line-height: 1.1em;
	margin-top: 0em;
	margin-bottom: 0.25em;
}

.features .texts {
	padding: 0 2em;
	/* line-height: 1.5em; */
}

/* BEFORE-AFTER */

.before-after .before {
	background-color: #EFEFEF;
}

.before-after .after {
	background-color: #E8FAF3;
}

.before-after .before,
.before-after .after {
	max-width: 400px;
	line-height: 1.5em;
}
.before-after .before h3,
.before-after .after h3 {
	margin-top: 0;
}

@media screen and (max-width: 600px) {
	.before-after .before,
	.before-after .after {
		max-width: initial;
		width: 100%;
	}
}

/* ROLES */
.roles {
	padding: 20px;
	text-align: center;
}

.roles-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* 3 equal columns by default */
	gap: 20px;
	margin: 48px 0px;
	text-align: left;
	justify-content: center;
}

.role {
	padding: 10px;
	/* border: 1px solid #ccc; */
	border-radius: 8px;
	background-color: #f9f9f9;
}

.role img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: 3px;
}

.role-title {
	font-size: 1.2em;
	margin-top: 12px;
	margin-bottom: 8px;
	font-weight: bold;
}

.role-description {
	margin-top: 0px;
	font-size: 0.95em;
	color: #666;
}

@media (max-width: 768px) {
		.roles-list {
				grid-template-columns: 1fr; /* Single column */
		}
}

/* FAQ SECTION */
.faq-section .centre-page-content {
	max-width: 1000px;
}
.faq-section .qas .item .question {
	font-weight: bold;
}
.faq-section .qas .item .answer {
	padding-bottom: 24px;
}
.faq-section .columns {
	align-items: baseline;
}

/* COMPARISON SECTION */
.comparison h2 {
	text-align: center;
}
.comparison table {
	margin: 40px auto;
	text-align: center;
	border-collapse: collapse;
	line-height: 1.2em;
}
.comparison table th:first-child,
.comparison table td:first-child {
	text-align: left;
	max-width: 250px;
}

.comparison tbody td {
	/* border: 1px solid black; */
}
.comparison td {
	padding: 8px 0px;
}
.comparison tr.category {
	
	border-bottom: 1px solid lightgray;
}
.comparison tr.category td {
	padding-top: 16px;
}
.comparison th {
	border: none;
}
.comparison tbody th:not(:first-child) {
	padding: 0 16px;
}

.comparison td:not(:first-child) {
	font-weight: bold;
}

.comparison td.positive {
	color: #1FB800;
}
.comparison td.negative {
	color: #D40000;
}
.comparison td.average {
	color: #666;
}

/* PRICING */
.pricing h1 {
	text-align: center;
	line-height: 1.2em;
	padding-bottom: 16px;
}
.pricing-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin: 20px;
	justify-content: center; /* Ensures the columns are always centered */
}

.pricing-grid .pricing-column {
	flex: 1;
	min-width: 250px;
	max-width: calc(25% - 20px);
	/* border: 1px solid #ccc; */
	padding: 20px;
	box-sizing: border-box;
	background-color: #f9f9f9;
	text-align: left;
	border-radius: 8px;
}

.pricing-grid .pricing-column.dark {
	background-color: #050505;
}

.pricing-grid .pricing-header {
	font-size: 1.2em; /* Smaller than the price */
	margin-bottom: 10px;
}

.pricing-grid .price {
	font-size: 2em; /* Make the price the largest text */
	font-weight: bold;
	margin-bottom: 10px;
}

.pricing-grid .plan {
	margin-top: 16px;
	margin-bottom: 32px;
}

.pricing-grid .description {
	list-style-type: disc;
	padding-left: 20px; /* Maintain left indent for list items */
	text-align: left;
}

.pricing-grid .note {
	font-size: 0.9em;
	color: #666;
	margin-top: 10px;
	text-align: left; /* Align the note to the left */
}

p.caption, span.caption {
	font-size: 12px;
	opacity: 0.6;
}

.pricing-grid .price {
	margin-top: 16px;
	margin-bottom: 8px;
}

.pricing-grid .price p {
	padding: 0;
	margin: 0;
}

.pricing .already-account {
	text-align: center;
}

/* SIGNUP PAGE + LOGIN PAGE */
body.signup hr,
body.login hr {
	margin-bottom: 0;
}
body.signup .main,
body.login .main {
	background-color: #EEE;
	min-height: 75vh;

	display: flex;
	justify-content: center;
	align-items: center;
}

body.signup .main .centre-page-content,
body.login .main .centre-page-content {
	margin: 40px;
	text-align: center;
}
body.signup .main .content,
body.login .main .content {
	background-color: white;
	border-radius: 8px;
	padding: 40px 60px;
}
body.signup .main .description,
body.login .main .description {
	max-width: 500px;
}

body.signup .footer,
body.login .footer {
	margin-top: 0;
}
form {
	text-align: left;
}
form .plan {
	display: none;
}
form label {
	display: block;
	padding-top: 16px;
	padding-bottom: 8px;
}
form input {
	padding: 16px;
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 8px;
}
form input[type="submit"] {
	margin-top: 24px;
	display: block;
	background: black;
	color: white;
	border-radius: 0.5em;
	padding: 12px 20px;
	display: inline-block;
	position: relative;
	top: 0px;
	transition: all 0.3s ease;
	box-shadow: 24px 24px 64px 8px rgba(0, 0, 0, 0.25);
	font-family: 'DM Sans', sans-serif;
	font-weight: regular;
	font-size: 1em;
}
form input[type="submit"]:hover {
	top: -3px;
	cursor: pointer;
}

/* LOGIN */
body.login form {
	width: 280px;
}

.error-message {
	color: #D40000;
	margin-top: 20px;
	font-size: 0.8em;
	text-align: center;
}