/* ============================================================
   Teal theme — front page (hero + trust strip).
   Loaded only on the front page; tokens are scoped to .home-*
   so a later palette round on this page cannot leak elsewhere.
   ============================================================ */

.home {
	--home-ink: #1A1512;        /* warm black — headings, CTA, dark bands */
	--home-ink-dark: #221C18;
	--home-accent: #C97222;     /* burnt orange — accent word */
	--home-badge-bg: #F5E0C8;
	--home-lede: #665A4D;
	--home-stat: #E0A65F;       /* stat numbers on the dark bands */
	--home-label: #9A8F84;      /* stat labels */
	--home-card: #D8D0C7;
	--home-band: #F8F3EC;         /* tinted full-bleed band */
	--home-band-warm: #F5EEE4;    /* reviews band */
	--home-review-accent: #C97222; /* avatar ring + quote badge */
	--home-divider: rgba(255, 255, 255, .14);
	--home-on-dark: rgba(255, 255, 255, .78);
}

/* The two nested .site-main wrappers stack 60px of blank space above the footer CTA. */
body.home .site-main { padding-bottom: 0; }

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

.home-hero {
	padding: 46px 0 64px;
	overflow: hidden;
}

.home-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
	align-items: center;
	gap: 48px;
}

.home-badge {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--home-badge-bg);
	font-family: var(--font-title);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	line-height: 1.4;
	color: var(--home-ink);
}

.home-title {
	margin: 22px 0 0;
	font-family: var(--font-title);
	font-size: clamp(34px, 4.2vw, 56px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.5px;
	color: var(--home-ink);
}

.home-title em {
	font-style: normal;
	color: var(--home-accent);
}

.home-lede {
	max-width: 470px;
	margin: 22px 0 0;
	font-size: 17px;
	line-height: 1.7;
	color: var(--home-lede);
}

.home-cta {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 30px;
	padding: 15px 28px;
	border-radius: 10px;
	background: var(--home-accent);
	font-family: var(--font-title);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .01em;
	color: #fff;
	transition: background .18s ease, transform .18s ease;
}

.home-cta:hover {
	background: var(--accent-dark);
	color: #fff;
}

.home-cta-arrow { transition: transform .18s ease; }
.home-cta:hover .home-cta-arrow { transform: translateX(4px); }

/* ---------- hero media + floating chips ---------- */

.home-hero-media {
	position: relative;
	padding: 22px 26px;
}

.home-media-card {
	border-radius: 18px;
	background: var(--home-card);
	overflow: hidden;
}

.home-media-card img {
	display: block;
	width: 100%;
	height: auto;
}

.home-chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 18px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 10px 26px rgba(26, 21, 18, .11);
	font-family: var(--font-title);
	font-size: 14px;
	font-weight: 800;
	white-space: nowrap;
	color: #1A1512;
}

.home-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex: none;
}

.home-dot-green { background: var(--home-ink); }
.home-dot-orange { background: var(--home-accent); }
.home-dot-yellow { background: #E0A65F; }

.home-chip-a { top: 0; right: 0; }
.home-chip-b { bottom: 26%; left: 0; }
.home-chip-c { right: 14%; bottom: 0; }
/* ---------- trust strip ---------- */

.home-trust {
	background: var(--home-ink);
}

.home-trust-inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-stat {
	display: grid;
	justify-items: center;
	gap: 7px;
	padding: 34px 18px;
	text-align: center;
}

.home-stat + .home-stat { border-left: 1px solid var(--home-divider); }

.home-stat-value {
	font-family: var(--font-title);
	font-size: 30px;
	font-weight: 800;
	line-height: 1.1;
	color: var(--home-stat);
}

.home-stat-label {
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .11em;
	text-transform: uppercase;
	line-height: 1.4;
	color: var(--home-label);
}

/* ---------- industries ---------- */

.home-industries {
	padding: 68px 0 74px;
}

.home-industries-head,
.home-best-head,
.home-blog-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 24px;
}

.home-eyebrow {
	font-family: var(--font-title);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
	line-height: 1.4;
	color: var(--accent-dark);
}

.home-section-title {
	margin: 12px 0 0;
	font-family: var(--font-title);
	font-size: clamp(28px, 3.2vw, 40px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.5px;
	color: var(--home-ink);
}

.home-section-lede {
	max-width: 520px;
	margin: 14px 0 0;
	font-size: 16px;
	line-height: 1.7;
	color: var(--home-lede);
}

.home-see-all {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding-bottom: 4px;
	font-family: var(--font-title);
	font-size: 14px;
	font-weight: 800;
	color: var(--home-accent);
}

.home-see-all-arrow { transition: transform .18s ease; }
.home-see-all:hover .home-see-all-arrow { transform: translateX(4px); }

.home-industry-grid,
.home-best-grid {
	list-style: none;
	margin: 34px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.home-industry-card > a,
.home-best-card > a {
	display: grid;
	gap: 14px;
}

.home-industry-media {
	overflow: hidden;
	border-radius: 12px;
	background: var(--home-card);
	aspect-ratio: 4 / 3;
}

.home-industry-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.home-industry-card > a:hover .home-industry-media img { transform: scale(1.04); }

.home-industry-name {
	font-family: var(--font-title);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--home-ink);
}

.home-industry-card > a:hover .home-industry-name { color: var(--home-ink-dark); }

.home-industry-desc,
.home-best-desc {
	font-size: 14px;
	line-height: 1.6;
	color: var(--home-lede);
}

/* ---------- best sellers ---------- */

.home-best {
	padding: 66px 0 72px;
}

.home-best-media {
	overflow: hidden;
	border-radius: 12px;
	background: var(--home-badge-bg);
	aspect-ratio: 5 / 4;
}

.home-best-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.home-best-card > a:hover .home-best-media img { transform: scale(1.04); }

.home-best-name {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: #1A1512;
}

.home-best-card > a:hover .home-best-name { color: var(--home-ink); }

/* ---------- how it works ---------- */

.home-steps {
	padding: 62px 0 68px;
	background: var(--home-ink-dark);
}

.home-steps .home-eyebrow,
.home-steps .home-section-title {
	color: var(--home-stat);
}

.home-steps .home-section-lede {
	color: var(--home-label);
}

.home-steps-list {
	list-style: none;
	margin: 42px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-step {
	display: grid;
	gap: 11px;
	justify-items: start;
	padding-right: 34px;
}

.home-step + .home-step {
	padding-left: 34px;
	border-left: 1px solid var(--home-divider);
}

.home-step-icon { color: var(--home-accent); }
.home-step-icon svg { display: block; width: 30px; height: 30px; }

.home-step-num {
	font-family: var(--font-title);
	font-size: 38px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .02em;
	color: rgba(255, 255, 255, .16);
}

.home-step-title {
	margin: 4px 0 0;
	font-family: var(--font-title);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.35;
	color: var(--home-stat);
}

.home-step-text {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.75;
	color: var(--home-on-dark);
}

/* ---------- why CRIIO ---------- */

.home-why {
	padding: 66px 0 74px;
	background: var(--home-band);
}

.home-why-title { max-width: 680px; }

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

.home-why-card {
	display: grid;
	grid-template-rows: auto 1fr;
}

.home-why-media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 14px 14px 0 0;
	background: var(--home-card);
}

.home-why-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(26, 21, 18, .6), rgba(26, 21, 18, 0) 58%);
}

.home-why-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-why-num,
.home-why-label {
	position: absolute;
	left: 18px;
	right: 18px;
	z-index: 1;
	color: #fff;
}

.home-why-num {
	top: 14px;
	font-family: var(--font-title);
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
}

.home-why-label {
	top: 54px;
	font-family: var(--font-title);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	line-height: 1.5;
}

.home-why-body {
	display: grid;
	align-content: start;
	gap: 12px;
	padding: 22px 22px 24px;
	border: 1px solid var(--line);
	border-top: 0;
	border-radius: 0 0 14px 14px;
	background: #fff;
}

.home-why-title-txt {
	margin: 0;
	font-family: var(--font-title);
	font-size: 19px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--home-ink);
}

.home-why-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--home-lede);
}

.home-why-points {
	list-style: none;
	margin: 4px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--line);
	display: grid;
	gap: 9px;
}

.home-why-points li {
	position: relative;
	padding-left: 16px;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--home-ink);
}

.home-why-points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .6em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--home-accent);
}

.home-why-close {
	display: grid;
	justify-items: center;
	gap: 22px;
	margin-top: 46px;
	text-align: center;
}

.home-why-close-txt {
	max-width: 720px;
	margin: 0;
	font-size: 16px;
	line-height: 1.75;
	color: var(--home-lede);
}

.home-why-close .home-cta { margin-top: 0; }

/* ---------- client reviews ---------- */

.home-reviews {
	padding: 66px 0 74px;
	background: var(--home-band-warm);
}

.home-reviews-title { max-width: 680px; }

.home-reviews-grid {
	margin: 40px 0 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.home-review-card {
	display: grid;
	justify-items: center;
	text-align: center;
	padding: 42px 30px 40px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: #fff;
}

.home-review-avatar {
	position: relative;
	width: 96px;
	height: 96px;
	border: 2px solid var(--home-review-accent);
	border-radius: 50%;
}

.home-review-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	object-position: center top;
}

.home-review-quote {
	position: absolute;
	top: 2px;
	right: 2px;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--home-review-accent);
	color: #fff;
}

.home-review-quote svg {
	width: 13px;
	height: 13px;
}

.home-review-text {
	margin: 26px 0 0;
	font-size: 14px;
	line-height: 1.85;
	color: #665A4D;
}

.home-review-meta {
	margin: 30px 0 0;
	font-size: 15px;
	color: var(--home-ink);
}

.home-review-name { font-weight: 800; }

/* ---------- faq ---------- */

.home-faq {
	padding: 66px 0 74px;
}

.home-faq-panel {
	max-width: 1200px;
	margin: 0 auto;
	padding: 42px 48px;
	border-radius: 16px;
	background: var(--surface);
}

.home-faq-inner {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	gap: 44px;
	align-items: start;
}

.home-faq-title {
	margin: 0;
	font-family: var(--font-title);
	font-size: 34px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.4px;
	color: var(--home-ink);
}

.home-faq-sub {
	margin: 10px 0 0;
	font-size: 14px;
	color: var(--home-lede);
}

/* Right column: the lead sits above the question list. */
.home-faq-body {
	display: grid;
	gap: 18px;
	align-content: start;
}

.home-faq-lede {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--home-lede);
}

.home-faq-list {
	display: grid;
	gap: 12px;
}

.home-faq-item {
	padding: 16px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.home-faq-item summary {
	display: flex;
	align-items: center;
	gap: 8px;
	position: relative;
	padding-right: 26px;
	cursor: pointer;
	list-style: none;
	font-family: var(--font-title);
	font-size: 15px;
	font-weight: 700;
	color: var(--home-ink);
}

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

.home-faq-item summary::after {
	content: "";
	position: absolute;
	right: 2px;
	top: 50%;
	width: 9px;
	height: 9px;
	border: solid var(--home-ink);
	border-width: 0 2px 2px 0;
	transform: translateY(-70%) rotate(45deg);
	transition: transform .18s ease;
}

.home-faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }

.home-faq-item p {
	margin: 12px 0 0;
	padding-right: 22px;
	font-size: 14px;
	line-height: 1.75;
	color: var(--body);
}

/* ---------- blog ---------- */

.home-blog {
	padding: 66px 0 72px;
	background: var(--home-band);
}

.home-blog-grid {
	list-style: none;
	margin: 34px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.home-blog-card > a {
	display: grid;
	gap: 12px;
}

.home-blog-media {
	overflow: hidden;
	border-radius: 12px;
	background: var(--home-card);
	aspect-ratio: 4 / 3;
}

.home-blog-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.home-blog-card > a:hover .home-blog-media img { transform: scale(1.04); }

.home-blog-date {
	font-family: var(--font-title);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--home-lede);
}

.home-blog-name {
	font-family: var(--font-title);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.32;
	color: var(--home-ink);
}

.home-blog-card > a:hover .home-blog-name { color: var(--home-ink-dark); }

.home-blog-excerpt {
	font-size: 14px;
	line-height: 1.65;
	color: var(--home-lede);
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
	.home-hero { padding: 32px 0 44px; }
	.home-hero-inner { grid-template-columns: 1fr; gap: 34px; }
	.home-lede { max-width: none; }
	.home-hero-media { padding: 18px 18px 26px; }
	.home-chip { font-size: 13px; padding: 9px 15px; }
	.home-chip-b { bottom: 20%; }
	.home-trust-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-stat { padding: 26px 14px; }
	.home-stat:nth-child(3) { border-left: 0; }
	.home-stat:nth-child(n + 3) { border-top: 1px solid var(--home-divider); }
	.home-industries { padding: 46px 0 52px; }
	.home-best { padding: 46px 0 52px; }
	.home-industry-grid,
	.home-best-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.home-steps { padding: 44px 0 48px; }
	.home-steps-list { grid-template-columns: 1fr; gap: 26px; margin-top: 32px; }
	.home-step { padding-right: 0; }
	.home-step + .home-step { padding-left: 0; padding-top: 26px; border-left: 0; border-top: 1px solid var(--home-divider); }
	.home-why { padding: 46px 0 52px; }
	.home-why-grid { grid-template-columns: 1fr; gap: 20px; }
	.home-why-media { aspect-ratio: 16 / 7; }
	.home-reviews { padding: 46px 0 52px; }
	.home-reviews-grid { grid-template-columns: 1fr; gap: 20px; }
	.home-faq { padding: 46px 0 52px; }
	.home-faq-panel { padding: 28px 20px; border-radius: 12px; }
	.home-faq-inner { grid-template-columns: 1fr; gap: 18px; }
	.home-faq-title { font-size: 28px; }
	.home-blog { padding: 46px 0 52px; }
	.home-blog-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 620px) {
	.home-title { letter-spacing: -.3px; }
	.home-hero-media { padding: 0; }
	.home-media-card { border-radius: 14px; }
	.home-chip {
		position: static;
		box-shadow: 0 6px 16px rgba(26, 21, 18, .08);
	}
	.home-hero-media { display: grid; gap: 10px; justify-items: start; }
	.home-stat-value { font-size: 25px; }
	.home-industries-head,
	.home-blog-head { grid-template-columns: 1fr; align-items: start; gap: 14px; }
	.home-section-lede { max-width: none; }
	.home-step-num { font-size: 32px; }
	.home-why-media { aspect-ratio: 4 / 3; }
	.home-why-num { font-size: 28px; }
	.home-why-label { top: 46px; }
	.home-why-body { padding: 18px 16px 20px; }
	.home-why-close { gap: 18px; margin-top: 34px; }
	.home-review-card { padding: 32px 20px 30px; }
	.home-review-text { margin-top: 22px; }
	.home-review-meta { margin-top: 24px; }
}

@media (max-width: 440px) {
	.home-industry-grid { grid-template-columns: minmax(0, 1fr); }
}
