/*
Theme Name: ilovetesla owner os
Theme URI: https://ilovetesla.com
Description: Child theme for ilovetesla owner os — owner-guide-first presentation
             on top of Kadence. Provides the owner guide single template, guide
             archive, and the owner os front page.
Author: FRIDAY / ilovetesla
Template: kadence
Version: 0.1.0
Text Domain: ilovetesla-owner-os
*/

/* =========================================================================
   Owner OS home — jobs-first landing
   ========================================================================= */

.ilv-home { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem 3rem; }

.ilv-hero {
	padding: 3.5rem 0 2rem;
	text-align: center;
}
.ilv-hero h1 {
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	line-height: 1.08;
	margin: 0 0 0.8rem;
	letter-spacing: -0.02em;
}
.ilv-hero h1 em { color: #00c2a8; font-style: normal; }
.ilv-hero-sub {
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	color: #55606e;
	max-width: 640px;
	margin: 0 auto 1.6rem;
	line-height: 1.6;
}
.ilv-hero-cta { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

.ilv-btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	border-radius: 10px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.ilv-btn:hover { transform: translateY(-1px); }
.ilv-btn-primary { background: #0a0a0a; color: #fff; border: 1px solid #0a0a0a; }
.ilv-btn-primary:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.ilv-btn-ghost { background: transparent; color: #0a0a0a; border: 1px solid #c8d0da; }
.ilv-btn-ghost:hover { border-color: #0a0a0a; }

.ilv-home-block { margin: 2.6rem 0; }
.ilv-home-block h2 {
	font-size: 1.6rem;
	letter-spacing: -0.01em;
	margin: 0 0 1.1rem;
	padding-bottom: 0.5rem;
	border-bottom: 3px solid #0a0a0a;
	display: inline-block;
}

.ilv-hub-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 0.9rem;
}
.ilv-hub-card, .ilv-tool-card {
	display: block;
	background: #fff;
	border: 1px solid #e0e5ec;
	border-radius: 14px;
	padding: 1.1rem 1.2rem;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
	box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.ilv-hub-card:hover, .ilv-tool-card:hover {
	border-color: #0a0a0a;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.ilv-hub-card h3, .ilv-tool-card h3 { margin: 0 0 0.3rem; font-size: 1.08rem; }
.ilv-hub-card p, .ilv-tool-card p { margin: 0; color: #5a6472; font-size: 0.92rem; line-height: 1.5; }
.ilv-tool-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 0.9rem;
}
.ilv-tool-card { border-left: 5px solid #00c2a8; }

.ilv-latest { list-style: none; margin: 0; padding: 0; }
.ilv-latest li {
	padding: 0.55rem 0;
	border-bottom: 1px solid #eef1f5;
	font-size: 1.02rem;
}
.ilv-latest a { font-weight: 600; text-decoration: none; }
.ilv-latest a:hover { text-decoration: underline; }
.ilv-latest-verified { color: #7d8794; font-size: 0.85rem; }

/* =========================================================================
   Owner guide single
   ========================================================================= */

.ilv-guide-single { max-width: 800px; margin: 0 auto; padding: 0 1.25rem 3rem; }
.ilv-guide-header { margin-bottom: 1.6rem; }
.ilv-guide-model {
	text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem;
	font-weight: 700; color: #00a98f;
}
.ilv-guide-title { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.12; margin: 0.3rem 0 0.7rem; }
.ilv-guide-answer {
	font-size: 1.15rem; line-height: 1.6; color: #33404f;
	background: #f4f8f7; border-left: 4px solid #00c2a8;
	padding: 0.9rem 1.1rem; border-radius: 0 10px 10px 0;
}
.ilv-guide-facts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.6rem;
	margin: 1.2rem 0;
}
.ilv-fact {
	background: #f7f9fb; border: 1px solid #e6ebf1; border-radius: 10px; padding: 0.55rem 0.8rem;
}
.ilv-fact-k { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: #7d8794; font-weight: 700; }
.ilv-fact-v { font-size: 0.95rem; font-weight: 600; color: #1c2430; }
.ilv-guide-content { font-size: 1.05rem; line-height: 1.75; }
.ilv-guide-footer { margin-top: 2rem; border-top: 1px solid #e6ebf1; padding-top: 1.2rem; }
.ilv-related { margin-top: 2rem; }
.ilv-related h2 { font-size: 1.25rem; }
.ilv-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.5rem; }
.ilv-related a {
	display: block; background: #f7f9fb; border: 1px solid #e6ebf1; border-radius: 10px;
	padding: 0.7rem 0.9rem; text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.ilv-related a:hover { border-color: #00c2a8; }

/* =========================================================================
   Guide archive
   ========================================================================= */

.ilv-guide-archive { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem 3rem; }
.ilv-archive-header { margin-bottom: 1.4rem; }
.ilv-guide-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1rem;
}
.ilv-guide-card {
	background: #fff; border: 1px solid #e0e5ec; border-radius: 14px; padding: 1.2rem;
	box-shadow: 0 2px 6px rgba(0,0,0,0.03);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ilv-guide-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.ilv-card-model { font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #00a98f; }
.ilv-card-title { font-size: 1.2rem; margin: 0.3rem 0 0.5rem; }
.ilv-card-title a { text-decoration: none; }
.ilv-card-title a:hover { text-decoration: underline; }
.ilv-card-excerpt { color: #5a6472; font-size: 0.95rem; line-height: 1.55; margin: 0 0 0.8rem; }
.ilv-card-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.8rem; color: #68707c; }

@media (max-width: 640px) {
	.ilv-hero { padding-top: 2rem; }
	.ilv-hero-sub { font-size: 1.02rem; }
}
