/*
Theme Name: Arimba
Theme URI: https://arimba.io
Author: vistafar GmbH
Description: Child theme of Ollie for the Arimba website: colours, fonts, block styles and page patterns for the home, trial and help center pages.
Template: ollie
Version: 1.6.0
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arimba
*/

/* ---------- Base ---------- */

body {
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

/* ---------- Header ---------- */

.arimba-header {
	border-bottom: 1px solid var(--wp--preset--color--border-light);
}

.wp-block-image.arimba-logo {
	margin: 0 !important;
	line-height: 0;
}

.arimba-logo a {
	display: block;
	line-height: 0;
}

.arimba-logo img {
	display: block;
	height: 34px;
	width: auto;
}

.arimba-footer .arimba-logo img {
	height: 30px;
}

.arimba-header .wp-block-navigation a {
	color: var(--wp--preset--color--main);
	text-decoration: none;
	font-weight: 500;
}

/* ---------- Paragraph styles ---------- */

.is-style-arimba-eyebrow {
	font-size: 0.875rem !important;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
}

.is-style-arimba-number {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 2.5rem;
	line-height: 1;
	color: var(--wp--preset--color--primary);
}

.is-style-arimba-price {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 3rem;
	line-height: 1;
	letter-spacing: -0.02em;
}

.is-style-arimba-stat {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: clamp(3.5rem, 7vw, 5.5rem);
	line-height: 1;
	letter-spacing: -0.03em;
}

/* ---------- Group styles ---------- */

.is-style-arimba-card,
.is-style-arimba-card-featured {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 16px;
	padding: 28px;
}

.is-style-arimba-card-featured {
	border: 2px solid var(--wp--preset--color--primary);
	padding: 27px;
}

.is-style-arimba-dark {
	background: var(--wp--preset--color--main);
	color: var(--wp--preset--color--base);
	border-radius: 24px;
	padding: clamp(32px, 5vw, 64px);
}

.is-style-arimba-dark h1,
.is-style-arimba-dark h2,
.is-style-arimba-dark h3 {
	color: var(--wp--preset--color--base);
}

.is-style-arimba-dark p {
	color: var(--wp--preset--color--main-accent);
}

.is-style-arimba-dark .is-style-arimba-eyebrow {
	color: var(--wp--preset--color--primary-alt);
}

.is-style-arimba-dark .is-style-arimba-stat {
	color: var(--wp--preset--color--base);
}

.is-style-arimba-topline {
	border-top: 2px solid var(--wp--preset--color--main);
	padding-top: 16px;
}

.arimba-band {
	border-top: 1px solid var(--wp--preset--color--border-light);
	border-bottom: 1px solid var(--wp--preset--color--border-light);
}

.arimba-band .wp-block-column > p {
	margin: 0;
}

/* ---------- List styles ---------- */

.is-style-arimba-check,
.is-style-arimba-plain,
.is-style-arimba-lines {
	list-style: none;
	padding-left: 0;
}

.is-style-arimba-check li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 10px;
}

.is-style-arimba-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 20px;
	height: 20px;
	background: var(--wp--preset--color--primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.is-style-arimba-plain li {
	padding: 4px 0;
}

.is-style-arimba-plain a {
	color: var(--wp--preset--color--secondary);
	text-decoration: none;
}

.is-style-arimba-plain a:hover {
	color: var(--wp--preset--color--main);
	text-decoration: underline;
}

.is-style-arimba-lines li {
	padding: 16px 0;
	border-bottom: 1px solid var(--wp--preset--color--border-dark);
}

.is-style-arimba-lines li:last-child {
	border-bottom: 0;
}

/* ---------- Hero image ---------- */

.arimba-hero-image img {
	border-radius: 24px;
}

/* ---------- Image style ---------- */

.is-style-arimba-frame img {
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 18px;
	box-shadow: 0 24px 60px -30px rgba(15, 20, 25, 0.35);
	background: var(--wp--preset--color--base);
}

/* ---------- Pricing ---------- */

.arimba-pricing > .wp-block-column {
	display: flex;
	flex-direction: column;
}

.arimba-pricing > .wp-block-column > .wp-block-group {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.arimba-pricing .wp-block-buttons {
	margin-top: auto;
}

/* ---------- Trial steps ---------- */

.arimba-step {
	border-top: 1px solid var(--wp--preset--color--border-light);
	padding-top: 18px;
	padding-bottom: 18px;
}

.arimba-step .is-style-arimba-number {
	font-size: 1.375rem;
	width: 32px;
	flex-shrink: 0;
}

.arimba-step p {
	margin: 0;
}

/* ---------- Video placeholder ---------- */

.arimba-video {
	min-height: 340px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* ---------- FAQ ---------- */

.wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--border-light);
	padding: 18px 0;
}

.wp-block-details summary {
	font-size: 1.125rem;
	font-weight: 600;
	cursor: pointer;
}

.wp-block-details > p {
	color: var(--wp--preset--color--secondary);
}

.arimba-faq {
	border-top: 1px solid var(--wp--preset--color--border-light);
}

/* ---------- Footer ---------- */

.arimba-footer {
	font-size: 0.9375rem;
}


.arimba-footer .arimba-copyright {
	border-top: 1px solid var(--wp--preset--color--border-light);
	padding-top: 24px;
}

/* ---------- Guides ---------- */

.wp-block-code {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 10px;
	padding: 16px 20px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.9375rem;
	overflow-x: auto;
}

:where(p, li) code {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.9em;
	background: var(--wp--preset--color--primary-accent);
	border-radius: 4px;
	padding: 1px 5px;
}

.wp-block-image figcaption {
	font-size: 0.875rem;
	color: var(--wp--preset--color--secondary);
	text-align: center;
}

article h2[id] {
	scroll-margin-top: 24px;
}

/* ---------- Support form ---------- */

.arimba-form p {
	margin: 0 0 14px;
}

.arimba-form label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 6px;
}

.arimba-form input[type="text"],
.arimba-form input[type="email"],
.arimba-form textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	font-size: 1rem;
	padding: 11px 13px;
	border: 1px solid #8A93A0;
	border-radius: 10px;
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--main);
}

.arimba-form input:focus,
.arimba-form textarea:focus {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 1px;
	border-color: var(--wp--preset--color--primary);
}

.arimba-form textarea {
	resize: vertical;
}

.arimba-form-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.arimba-form-consent input {
	margin-top: 4px;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.arimba-form-consent label {
	font-weight: 400;
	font-size: 0.875rem;
	color: var(--wp--preset--color--secondary);
	margin: 0;
}

.arimba-form button {
	width: 100%;
	border: 0;
	cursor: pointer;
}

/* ---------- Pricing table ---------- */

.wp-block-table.arimba-pricing-table {
	margin: 0;
	overflow-x: auto;
}

.wp-block-table.arimba-pricing-table table {
	width: 100%;
	min-width: 760px;
	border-collapse: separate;
	border-spacing: 0;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: 18px;
	overflow: hidden;
}

.wp-block-table.arimba-pricing-table thead {
	border: 0;
}

.wp-block-table.arimba-pricing-table th,
.wp-block-table.arimba-pricing-table td {
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--border-light);
	padding: 16px 18px;
	text-align: center;
	vertical-align: middle;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--secondary);
}

/* Row labels */
.wp-block-table.arimba-pricing-table th:first-child,
.wp-block-table.arimba-pricing-table td:first-child {
	width: 20%;
	text-align: left;
	font-weight: 600;
	color: var(--wp--preset--color--main);
}

/* Plan names */
.wp-block-table.arimba-pricing-table thead th {
	padding-top: 28px;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--wp--preset--color--main);
}

/* Price row */
.wp-block-table.arimba-pricing-table tbody tr:first-child td {
	font-size: 0.875rem;
	padding-top: 4px;
}

.wp-block-table.arimba-pricing-table tbody tr:first-child strong {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 2.25rem;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--main);
}

/* Highlighted plan: Business */
.wp-block-table.arimba-pricing-table th:nth-child(4),
.wp-block-table.arimba-pricing-table td:nth-child(4) {
	background: var(--wp--preset--color--primary-accent);
	color: var(--wp--preset--color--main);
}

/* Button row */
.wp-block-table.arimba-pricing-table tbody tr:last-child td {
	border-bottom: 0;
	padding-top: 20px;
	padding-bottom: 24px;
}

.wp-block-table.arimba-pricing-table tbody tr:last-child a {
	display: block;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid var(--wp--preset--color--main);
	color: var(--wp--preset--color--main);
	font-weight: 600;
	text-decoration: none;
}

.wp-block-table.arimba-pricing-table tbody tr:last-child td:nth-child(4) a {
	background: var(--wp--preset--color--main);
	color: var(--wp--preset--color--base);
}

.wp-block-table.arimba-pricing-table tbody tr:last-child a:hover {
	background: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}
