/* Wiri Market marketing landing page (/) — bespoke design, isolated from
   css/style.css (the app shell's stylesheet). Tokens per the design brief. */

:root {
	--wm-amber: #e8850a;
	--wm-gold: #f5b824;
	--wm-dark: #1c2526;
	--wm-darker: #141c1a;
	--wm-cream: #fff8ee;
	--wm-white: #ffffff;
	--wm-text-light: #f5f2ec;
	--wm-muted: #6b7280;
	--wm-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html, body { margin: 0; padding: 0; }

.lp { font-family: var(--wm-font); color: var(--wm-dark); }
.lp * { box-sizing: border-box; }
.lp img { max-width: 100%; }

.lp .wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 640px) { .lp .wrap { padding: 0 20px; } }

.lp .eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--wm-amber);
}

/* ---------- Nav ---------- */

.lp-nav {
	background: var(--wm-dark);
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp-nav .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
@media (max-width: 640px) { .lp-nav .wrap { height: 56px; } }

.lp-nav__logo img { height: 48px; display: block; }

.lp-nav__links { display: flex; align-items: center; gap: 28px; }
.lp-nav__links a { color: rgba(245,242,236,0.55); text-decoration: none; font-size: 13.5px; font-weight: 500; transition: color 0.15s ease; }
.lp-nav__links a:hover { color: var(--wm-text-light); }

.lp-nav__right { display: flex; align-items: center; gap: 18px; }

.lp-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--wm-amber);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 8px 16px;
	border-radius: 20px;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	white-space: nowrap;
}
.lp-pill:hover { transform: scale(1.03); box-shadow: 0 8px 20px -8px rgba(232,133,10,0.6); }

.lp-pill--ghost {
	background: transparent;
	border: 1.5px solid rgba(245,242,236,0.2);
	color: var(--wm-text-light);
}
.lp-pill--ghost:hover { border-color: rgba(245,242,236,0.4); box-shadow: none; }

.lp-pill--dark {
	background: var(--wm-dark);
	color: var(--wm-text-light);
}

.lp-nav__toggle { display: none; background: none; border: none; color: var(--wm-text-light); font-size: 24px; cursor: pointer; padding: 4px; line-height: 1; }

/* "Log In" dropdown — reuses js/nav.js's generic .nav-dropdown toggle
   logic (same script the app shell uses), restyled here for the dark nav. */
.lp-nav .nav-dropdown { position: relative; }
.lp-nav .nav-dropdown__trigger {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	font: inherit;
	color: rgba(245,242,236,0.55);
	font-size: 13.5px;
	font-weight: 500;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 4px;
	transition: color 0.15s ease;
}
.lp-nav .nav-dropdown__trigger:hover,
.lp-nav .nav-dropdown.is-open .nav-dropdown__trigger { color: var(--wm-text-light); }
.lp-nav .nav-dropdown__trigger span { font-size: 0.7em; }
.lp-nav .nav-dropdown__menu {
	display: none;
	flex-direction: column;
	position: absolute;
	top: 100%;
	left: 0;
	margin-top: 14px;
	background: var(--wm-darker);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 10px;
	box-shadow: 0 16px 32px -16px rgba(0,0,0,0.5);
	min-width: 170px;
	padding: 6px;
	z-index: 60;
}
.lp-nav .nav-dropdown.is-open .nav-dropdown__menu { display: flex; }
.lp-nav .nav-dropdown__menu a {
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 13.5px;
	font-weight: 500;
	color: rgba(245,242,236,0.75);
}
.lp-nav .nav-dropdown__menu a:hover { background: rgba(255,255,255,0.06); color: var(--wm-text-light); }

@media (max-width: 860px) {
	.lp-nav__links { display: none; }
	.lp-nav__toggle { display: block; }
	.lp-nav.is-open .lp-nav__links {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--wm-dark);
		padding: 16px 20px 20px;
		gap: 16px;
		border-bottom: 1px solid rgba(255,255,255,0.08);
	}
	.lp-nav .nav-dropdown__menu {
		position: static;
		margin-top: 8px;
		box-shadow: none;
		border: none;
		background: rgba(255,255,255,0.04);
		width: 100%;
	}
}
@media (max-width: 480px) {
	.lp-nav__right .lp-pill:not(.lp-nav__toggle) { display: none; }
}

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

.lp-hero { background: var(--wm-dark); }
.lp-hero .wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	align-content: center;
	min-height: calc(100vh - 64px);
	padding-top: 48px;
	padding-bottom: 48px;
}
@media (max-width: 1024px) {
	.lp-hero .wrap { grid-template-columns: 1fr; min-height: auto; padding-top: 56px; padding-bottom: 40px; }
	.lp-hero__visual { display: none; }
}

.lp-hero__eyebrow-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba(232,133,10,0.4);
	color: var(--wm-gold);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.5px;
	padding: 7px 14px;
	border-radius: 20px;
	margin-bottom: 22px;
}

.lp-hero h1 {
	color: var(--wm-text-light);
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 800;
	letter-spacing: -1.5px;
	line-height: 1.08;
	margin: 0 0 20px;
}
.lp-hero h1 span { color: var(--wm-amber); }

.lp-hero__body { color: rgba(245,242,236,0.65); font-size: 17px; line-height: 1.65; max-width: 46ch; margin: 0 0 30px; }

.lp-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.lp-hero__ctas .lp-pill { font-size: 14px; padding: 13px 24px; }
.lp-hero__trust { display: flex; align-items: center; gap: 7px; color: rgba(245,242,236,0.55); font-size: 13.5px; margin: 0; }
.lp-hero__trust i { color: var(--wm-gold); font-size: 15px; }

.lp-hero__visual img { display: block; width: 100%; height: auto; border-radius: 20px; }

/* ---------- Stats bar ---------- */

.lp-stats { background: var(--wm-dark); border-top: 1px solid rgba(255,255,255,0.05); }
.lp-stats .wrap { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.lp-stat { text-align: center; }
.lp-stat__value { color: var(--wm-amber); font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lp-stat__label { color: rgba(245,242,236,0.4); font-size: 10.5px; letter-spacing: 0.3px; margin-top: 4px; }

/* ---------- Generic section scaffolding ---------- */

.lp-section { padding: 80px 40px; }
@media (max-width: 640px) { .lp-section { padding: 48px 20px; } }
.lp-section--cream { background: var(--wm-cream); }
.lp-section--white { background: var(--wm-white); }
.lp-section--dark { background: var(--wm-dark); }
.lp-section--amber { background: var(--wm-amber); }

.lp-section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.lp-section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.8px; line-height: 1.1; margin: 10px 0 0; color: var(--wm-dark); }
.lp-section-head.on-dark h2 { color: var(--wm-text-light); }

/* ---------- How it works ---------- */

.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
@media (max-width: 640px) { .lp-steps { grid-template-columns: 1fr; } }

.lp-card {
	background: #fff;
	border: 0.5px solid rgba(232,133,10,0.14);
	border-radius: 14px;
	padding: 24px 20px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.lp-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -20px rgba(28,37,38,0.25); }

.lp-icon-box {
	width: 38px;
	height: 38px;
	background: var(--wm-amber);
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 19px;
	margin-bottom: 16px;
}
.lp-icon-box--tint { background: rgba(232,133,10,0.12); color: var(--wm-amber); }

.lp-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; color: var(--wm-dark); }
.lp-card p { font-size: 14px; line-height: 1.65; color: var(--wm-muted); margin: 0; }

/* ---------- Features ---------- */

.lp-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1200px; margin: 0 auto; }
@media (max-width: 640px) { .lp-features { grid-template-columns: 1fr; } }
.lp-features .lp-card { background: var(--wm-cream); }

/* ---------- Owners section ---------- */

.lp-owners .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 1024px) { .lp-owners .wrap { grid-template-columns: 1fr; } }

.lp-owners__eyebrow { margin-bottom: 18px; }
.lp-owners h2 { color: var(--wm-text-light); font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -0.8px; line-height: 1.15; margin: 0 0 18px; }
.lp-owners__body { color: rgba(245,242,236,0.6); font-size: 16px; line-height: 1.65; margin: 0 0 28px; max-width: 46ch; }

.lp-benefits { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.lp-benefits li { display: flex; align-items: flex-start; gap: 10px; color: var(--wm-text-light); font-size: 14.5px; }
.lp-benefits .ti { color: var(--wm-amber); flex-shrink: 0; margin-top: 2px; }

.lp-mock-card {
	background: rgba(245,242,236,0.05);
	border: 1px solid rgba(232,133,10,0.25);
	border-radius: 16px;
	padding: 18px;
	max-width: 360px;
	margin: 0 auto;
}
.lp-mock-card__image { height: 150px; border-radius: 10px; background: linear-gradient(135deg, rgba(232,133,10,0.35), rgba(20,28,26,0.4)); margin-bottom: 14px; }
.lp-mock-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.lp-mock-card__name { color: var(--wm-text-light); font-weight: 700; font-size: 16px; }
.lp-mock-card__meta { color: rgba(245,242,236,0.5); font-size: 12.5px; margin-bottom: 14px; }
.lp-mock-card__badges { display: flex; gap: 8px; margin-bottom: 16px; }
.lp-mock-card__badge { font-size: 11px; padding: 3px 10px; border-radius: 12px; font-weight: 600; }
.lp-mock-card__badge--open { background: rgba(30,130,76,0.18); color: #4fbf82; }
.lp-mock-card__badge--rating { background: rgba(232,133,10,0.18); color: var(--wm-gold); display: flex; align-items: center; gap: 4px; }
.lp-mock-card__actions { display: flex; gap: 10px; }
.lp-mock-card__actions .lp-pill { flex: 1; justify-content: center; font-size: 12.5px; padding: 9px 14px; }

/* ---------- Final CTA ---------- */

.lp-final { text-align: center; }
.lp-final h2 { color: #fff; font-size: clamp(28px, 4vw, 38px); font-weight: 800; margin: 0 0 12px; }
.lp-final p { color: rgba(255,255,255,0.75); font-size: 16px; margin: 0 0 28px; }
.lp-final .lp-pill { background: var(--wm-dark); color: #fff; font-size: 14px; padding: 13px 28px; display: inline-flex; }
.lp-final .lp-pill:hover { box-shadow: 0 8px 20px -8px rgba(0,0,0,0.4); }

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

.lp-footer { background: var(--wm-darker); padding: 18px 32px; }
.lp-footer .wrap { padding: 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.lp-footer__left { display: flex; align-items: center; gap: 10px; color: rgba(245,242,236,0.4); font-size: 12px; }
.lp-footer__left img { height: 20px; }
.lp-footer__links { display: flex; gap: 18px; }
.lp-footer__links a { color: rgba(245,242,236,0.4); font-size: 12px; text-decoration: none; }
.lp-footer__links a:hover { color: var(--wm-text-light); }

/* ---------- Scroll-reveal (progressively enhanced by landing.js) ---------- */

.lp-reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.lp-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
	.lp-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
	.lp * { animation: none !important; }
}
