/* =====================================================================
   Clavarius — one-page landing
   Palette: navy #222d44 · slate #3a4a63 · grey #f2f2f2 · mist #EDF0F4
            ink #111111 · white #ffffff
   Type:    Inter
   ===================================================================== */

.clv {
	--navy:  #222d44;
	--slate: #3a4a63;
	--grey:  #f2f2f2;
	--mist:  #EDF0F4;
	--ink:   #111111;
	--white: #ffffff;

	--navy-2: #2b3958;   /* lighter navy for gradients */
	--slate-2:#4a5d7c;   /* hover slate */
	--line:   #dfe4ec;   /* hairline borders on light */
	--muted:  #5c6779;   /* secondary text */

	--wrap: 1160px;
	--r: 10px;           /* base radius */
	--r-lg: 16px;

	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	color: var(--ink);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* Astra can add page padding/containers — neutralise on the front page. */
.clv-body .site-content,
.clv-body #primary,
.clv-body .ast-container { max-width: none; padding: 0; margin: 0; }

.clv *, .clv *::before, .clv *::after { box-sizing: border-box; }
.clv h1, .clv h2, .clv h3, .clv h4, .clv p, .clv ul, .clv ol { margin: 0; }
.clv img { max-width: 100%; height: auto; display: block; }
.clv a { color: inherit; text-decoration: none; }
.clv strong { font-weight: 800; color: inherit; }

.clv-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Icons ------------------------------------------------------------- */
.clv .ico { width: 22px; height: 22px; flex: none; }

/* Buttons ----------------------------------------------------------- */
.clv-btn {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 700; font-size: 16px; line-height: 1;
	padding: 15px 24px; border-radius: var(--r);
	background: var(--navy); color: var(--white);
	border: 1.5px solid var(--navy);
	transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
	cursor: pointer;
}
.clv-btn:hover { background: var(--slate); border-color: var(--slate); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(34,45,68,.22); }
.clv-btn .ico { width: 18px; height: 18px; }
.clv-btn--sm { padding: 10px 18px; font-size: 14px; }
.clv-btn--lg { padding: 17px 30px; font-size: 17px; }
.clv-btn--block { display: flex; justify-content: center; width: 100%; }
.clv-btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.clv-btn--ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); box-shadow: none; }
.clv-btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.clv-btn--light:hover { background: var(--mist); color: var(--navy); border-color: var(--mist); }

/* Kickers / eyebrows ------------------------------------------------ */
.clv-kicker {
	display: inline-block; font-size: 13px; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase; color: var(--slate);
	margin-bottom: 14px;
}
.clv-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
	color: #c7d2e5; padding: 8px 14px; border: 1px solid rgba(255,255,255,.16);
	border-radius: 999px; margin-bottom: 26px;
}
.clv-eyebrow .ico { width: 16px; height: 16px; }

/* Headings ---------------------------------------------------------- */
.clv h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.clv h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.clv-head { max-width: 720px; margin-bottom: 52px; }
.clv-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.clv-head__sub { margin-top: 18px; color: var(--muted); font-size: 18px; }

/* Section rhythm ---------------------------------------------------- */
.clv-sec { padding: 96px 0; }
.clv-sec--mist { background: var(--mist); }

/* =========================== HEADER =========================== */
.clv-nav {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.clv-nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.clv-nav__brand img { height: 28px; width: auto; }
.clv-nav__links { display: flex; align-items: center; gap: 30px; }
.clv-nav__links a { font-size: 15px; font-weight: 600; color: var(--slate); transition: color .15s ease; }
.clv-nav__links a:hover { color: var(--navy); }
.clv-nav__links a.clv-btn { color: var(--white); }
.clv-nav__links a.clv-btn--sm:hover { color: var(--white); }
.clv-nav__toggle-cb, .clv-nav__burger { display: none; }

/* =========================== HERO =========================== */
.clv-hero {
	position: relative; overflow: hidden;
	background: radial-gradient(1200px 500px at 80% -10%, var(--slate) 0%, var(--navy-2) 40%, var(--navy) 75%);
	color: var(--white);
}
.clv-hero__grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
	background-size: 46px 46px;
	mask-image: radial-gradient(900px 500px at 75% 10%, #000 0%, transparent 70%);
	-webkit-mask-image: radial-gradient(900px 500px at 75% 10%, #000 0%, transparent 70%);
}
.clv-hero__inner {
	position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px;
	align-items: center; padding: 92px 24px 100px;
}
.clv-hero__title { font-size: clamp(42px, 6vw, 74px); font-weight: 900; line-height: 1.03; letter-spacing: -.03em; }
.clv-hl { color: #9fb3d6; }
.clv-hero__lead { margin-top: 24px; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: #d4dcea; max-width: 560px; }
.clv-hero__lead strong { color: var(--white); }
.clv-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.clv-hero__note { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; color: #aebbd2; }
.clv-hero__note .ico { width: 16px; height: 16px; color: #8fd0a6; }

/* Screenshot placeholders ------------------------------------------ */
.clv-shot {
	position: relative; border-radius: var(--r-lg);
	background: var(--mist); border: 1.5px dashed #c4cede;
	aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center;
	color: var(--slate); overflow: hidden;
}
.clv-shot span { display: flex; flex-direction: column; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; text-align: center; }
.clv-shot span .ico { width: 34px; height: 34px; opacity: .8; }
.clv-shot small { font-weight: 500; color: var(--muted); font-size: 13px; }
.clv-shot--hero {
	aspect-ratio: 16 / 11; background: rgba(255,255,255,.06);
	border-color: rgba(255,255,255,.28); color: #c7d2e5;
	box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.clv-shot--hero small { color: #9fb0cc; }

/* =========================== SPLIT SECTIONS =========================== */
.clv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.clv-split--rev .clv-split__media { order: 2; }
.clv-split__copy p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.clv-split__copy p strong { color: var(--ink); }
.clv-ticks { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.clv-ticks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.clv-ticks .ico { width: 20px; height: 20px; color: var(--slate); }

/* =========================== STEPS =========================== */
.clv-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.clv-step {
	position: relative; background: var(--white); border: 1px solid var(--line);
	border-radius: var(--r-lg); padding: 34px 28px 30px;
}
.clv-step__num {
	position: absolute; top: -18px; left: 28px;
	width: 40px; height: 40px; border-radius: 10px;
	background: var(--navy); color: var(--white);
	display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px;
}
.clv-step__ico { display: inline-flex; margin: 10px 0 16px; color: var(--slate); }
.clv-step__ico .ico { width: 32px; height: 32px; }
.clv-step h3 { margin-bottom: 8px; }
.clv-step p { color: var(--muted); font-size: 16px; }

/* =========================== FEATURES =========================== */
.clv-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.clv-feat {
	background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: 28px 24px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.clv-feat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(34,45,68,.1); border-color: #cfd8e6; }
.clv-feat__ico {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 13px; margin-bottom: 18px;
	background: var(--mist); color: var(--navy);
}
.clv-feat__ico .ico { width: 26px; height: 26px; }
.clv-feat h3 { margin-bottom: 8px; }
.clv-feat p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.clv-feat--accent { background: var(--navy); border-color: var(--navy); color: var(--white); }
.clv-feat--accent .clv-feat__ico { background: rgba(255,255,255,.1); color: #ffb9a3; }
.clv-feat--accent p { color: #c7d0df; }
.clv-feat--accent p strong { color: var(--white); }

/* =========================== PRICING =========================== */
.clv-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); gap: 26px; justify-content: center; }
.clv-plan {
	position: relative; background: var(--white); border: 1px solid var(--line);
	border-radius: var(--r-lg); padding: 36px 32px; display: flex; flex-direction: column;
}
.clv-plan--featured { border: 2px solid var(--navy); box-shadow: 0 22px 50px rgba(34,45,68,.14); }
.clv-plan__badge {
	position: absolute; top: -13px; left: 32px;
	background: var(--navy); color: var(--white); font-size: 12px; font-weight: 700;
	letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.clv-plan__name { font-size: 22px; font-weight: 800; }
.clv-plan__price { margin-top: 8px; font-size: 20px; font-weight: 700; color: var(--slate); }
.clv-plan__desc { margin-top: 12px; color: var(--muted); font-size: 15px; }
.clv-plan__list { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.clv-plan__list li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.clv-plan__list .ico { width: 18px; height: 18px; color: var(--slate); }
.clv-plan a { margin-top: auto; }

/* =========================== CTA BAND =========================== */
.clv-cta {
	background: radial-gradient(900px 400px at 50% 0%, var(--slate) 0%, var(--navy) 60%);
	color: var(--white); text-align: center;
}
.clv-cta__inner { padding: 84px 24px; }
.clv-cta__title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; }
.clv-cta__lead { margin: 16px auto 30px; font-size: 19px; color: #cdd6e6; max-width: 560px; }
.clv-cta__note { margin-top: 18px; font-size: 14px; color: #a7b4cd; }

/* =========================== FOOTER =========================== */
.clv-foot { background: var(--navy); color: #b9c2d4; padding: 64px 0 30px; }
.clv-foot__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.clv-foot__brand img { height: 26px; width: auto; margin-bottom: 16px; }
.clv-foot__brand p { font-size: 15px; color: #97a2b8; max-width: 340px; }
.clv-foot__nav h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--white); margin-bottom: 16px; }
.clv-foot__nav a { display: block; font-size: 15px; color: #a7b1c6; padding: 5px 0; transition: color .15s ease; }
.clv-foot__nav a:hover { color: var(--white); }
.clv-foot__bar {
	display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px;
	text-align: center;
	margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
	font-size: 14px; color: #8b96ac;
}
.clv-foot__bar a { color: #a7b1c6; }
.clv-foot__bar a:hover { color: var(--white); }

/* =========================== RESPONSIVE =========================== */
@media (max-width: 980px) {
	.clv-hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 72px 24px 80px; }
	.clv-hero__media { max-width: 560px; }
	.clv-split, .clv-split--rev { grid-template-columns: 1fr; gap: 34px; }
	.clv-split--rev .clv-split__media { order: 0; }
	.clv-steps { grid-template-columns: 1fr; }
	.clv-features { grid-template-columns: repeat(2, 1fr); }
	.clv-foot__inner { grid-template-columns: 1fr 1fr; }
	.clv-foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
	/* Mobile nav */
	.clv-nav__burger {
		display: flex; flex-direction: column; justify-content: center; gap: 5px;
		width: 44px; height: 44px; cursor: pointer;
	}
	.clv-nav__burger span { display: block; height: 2px; width: 24px; background: var(--navy); border-radius: 2px; transition: .2s ease; }
	.clv-nav__links {
		position: absolute; top: 72px; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 4px;
		background: var(--white); border-bottom: 1px solid var(--line);
		padding: 14px 24px 22px; box-shadow: 0 20px 30px rgba(0,0,0,.08);
		display: none;
	}
	.clv-nav__links a { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--grey); }
	.clv-nav__links a.clv-btn { margin-top: 10px; justify-content: center; border-bottom: none; }
	.clv-nav__toggle-cb:checked ~ .clv-nav__links { display: flex; }
	.clv-nav__toggle-cb:checked ~ .clv-nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.clv-nav__toggle-cb:checked ~ .clv-nav__burger span:nth-child(2) { opacity: 0; }
	.clv-nav__toggle-cb:checked ~ .clv-nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 560px) {
	.clv { font-size: 16px; }
	.clv-sec { padding: 68px 0; }
	.clv-features { grid-template-columns: 1fr; }
	.clv-plans { grid-template-columns: 1fr; }
	.clv-foot__inner { grid-template-columns: 1fr; }
	.clv-hero__cta .clv-btn { width: 100%; justify-content: center; }
}

/* Smooth anchor scrolling with sticky-header offset */
html { scroll-behavior: smooth; }
.clv [id] { scroll-margin-top: 84px; }

/* =====================================================================
   Colour overrides — Astra applies global colours directly to headings,
   links and buttons; these scoped rules (higher specificity) reclaim the
   landing page's intended palette. Keep this block last.
   ===================================================================== */

/* Default heading colour on light sections */
.clv h1, .clv h2, .clv h3, .clv h4 { color: var(--ink); }
.clv .clv-plan__name, .clv .clv-plan__price { color: var(--ink); }
.clv .clv-plan__price { color: var(--slate); }
.clv .clv-kicker { color: var(--slate); }

/* Headings that sit on dark backgrounds */
.clv .clv-hero__title { color: var(--white); }
.clv .clv-hero__title .clv-hl { color: #9fb3d6; }
.clv .clv-cta__title { color: var(--white); }
.clv .clv-feat--accent h3 { color: var(--white); }
.clv .clv-feat--accent p strong { color: var(--white); }
.clv .clv-foot__nav h4 { color: var(--white); }

/* Buttons — lock text colour regardless of Astra's link colour */
.clv .clv-btn { color: var(--white); }
.clv .clv-btn:hover { color: var(--white); }
.clv .clv-btn--ghost { color: var(--navy); }
.clv .clv-btn--ghost:hover { color: var(--white); }

/* Ghost button on the dark hero — light text + light border */
.clv .clv-hero .clv-btn--ghost { color: var(--white); border-color: rgba(255,255,255,.4); background: transparent; }
.clv .clv-hero .clv-btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.clv .clv-btn--light { color: var(--navy); }
.clv .clv-btn--light:hover { color: var(--navy); }

/* Nav links */
.clv .clv-nav__links a { color: var(--slate); }
.clv .clv-nav__links a:hover { color: var(--navy); }
.clv .clv-nav__links a.clv-btn { color: var(--white); }
