:root {
	--background: #ffffff;
	--foreground: #0f172a;
	--muted: #f8fafc;
	--muted-foreground: #64748b;
	--border: #e2e8f0;
	--accent: #059669;
	--accent-dark: #064e3b;
	--accent-muted: #ecfdf5;
	--shadow: 0 14px 34px rgb(15 23 42 / 0.12);
	--radius: 8px;
	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--background); color: var(--foreground); font-family: var(--font-sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

.nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--border); background: rgb(255 255 255 / 0.94); backdrop-filter: blur(12px); }
.nav-container { display: flex; height: 64px; align-items: center; justify-content: space-between; }
.logo-with-text { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.logo-mark { position: relative; display: inline-flex; height: 32px; width: 32px; flex: 0 0 auto; align-items: center; justify-content: center; overflow: hidden; color: transparent; font-size: 0; }
.logo-mark::before, .logo-mark::after { position: absolute; content: ""; }
.logo-mark::before { top: 4px; left: 3px; width: 26px; height: 8px; background: #22c55e; clip-path: polygon(0 0, 100% 0, 83% 100%, 14% 100%); }
.logo-mark::after { top: 14px; left: 8px; width: 18px; height: 14px; background: linear-gradient(#86efac 0 36%, transparent 36% 46%, #22c55e 46% 100%); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.logo-mark.small { height: 28px; width: 28px; }
.nav-links, .nav-actions { display: none; align-items: center; gap: 24px; }
.nav-link { color: var(--muted-foreground); font-size: 14px; font-weight: 500; }
.nav-link:hover { color: var(--foreground); }

.btn { display: inline-flex; height: 40px; align-items: center; justify-content: center; border-radius: 6px; padding: 0 16px; font-size: 14px; font-weight: 600; transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--foreground); color: white; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { border: 1px solid var(--border); background: white; color: var(--foreground); }
.btn-secondary:hover { background: var(--accent-muted); border-color: #a7f3d0; }
.btn-lg { height: 48px; padding: 0 22px; }

.mobile-menu-btn { display: inline-flex; border: 0; background: transparent; padding: 8px; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; height: 2px; width: 22px; background: var(--foreground); content: ""; transition: transform 160ms ease; }
.menu-icon::before { transform: translateY(-7px); }
.menu-icon::after { transform: translateY(5px); }
.mobile-menu { display: none; border-top: 1px solid var(--border); padding: 16px 20px 20px; }
.mobile-menu.active { display: grid; gap: 12px; }
.mobile-link { color: var(--muted-foreground); font-weight: 600; }
.margin-y { margin-top: 30px; margin-bottom: 30px; }

.hero { border-bottom: 1px solid var(--border); background: white; }
.hero-grid { display: grid; min-height: calc(100vh - 64px); align-items: center; gap: 42px; padding-top: 64px; padding-bottom: 64px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.hero-title { margin-top: 16px; max-width: 780px; font-size: clamp(44px, 7vw, 72px); line-height: 1.02; letter-spacing: 0; }
.hero-subtitle { margin-top: 24px; max-width: 680px; color: var(--muted-foreground); font-size: 19px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.product-preview { min-width: 0; overflow: visible; }
.app-frame { display: grid; grid-template-columns: 190px minmax(0, 1fr); height: 520px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: #f8fafc; box-shadow: var(--shadow); }
.app-sidebar { border-right: 1px solid var(--border); background: #f8fafc; padding: 18px 12px; }
.app-brand { display: flex; align-items: center; gap: 9px; min-height: 34px; margin-bottom: 26px; padding: 0 8px; color: #020617; font-size: 14px; font-weight: 700; line-height: 1.15; }
.app-nav { display: flex; align-items: center; gap: 11px; border-radius: 8px; margin-bottom: 8px; padding: 11px 12px; color: #334155; font-size: 14px; font-weight: 600; line-height: 1; }
.app-nav.active { background: #020617; color: white; }
.nav-icon { position: relative; display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; }
.compass-icon { border: 2px solid currentColor; border-radius: 999px; }
.compass-icon::before { position: absolute; top: 4px; left: 7px; width: 3px; height: 8px; border-radius: 2px; background: currentColor; content: ""; transform: rotate(40deg); }
.spark-icon::before, .spark-icon::after { position: absolute; background: currentColor; content: ""; }
.spark-icon::before { top: 0; left: 8px; width: 3px; height: 18px; border-radius: 999px; }
.spark-icon::after { top: 8px; left: 0; width: 18px; height: 3px; border-radius: 999px; }
.map-icon { border: 2px solid currentColor; border-radius: 3px; }
.map-icon::before, .map-icon::after { position: absolute; top: -2px; width: 2px; height: 18px; background: currentColor; content: ""; }
.map-icon::before { left: 5px; }
.map-icon::after { right: 5px; }
.building-icon { border: 2px solid currentColor; border-radius: 3px; }
.building-icon::before { position: absolute; top: 3px; left: 4px; width: 2px; height: 2px; box-shadow: 5px 0 0 currentColor, 0 5px 0 currentColor, 5px 5px 0 currentColor; background: currentColor; content: ""; }
.app-main { min-width: 0; padding: 42px 0 36px 44px; }
.saved-plan-card { width: 520px; max-width: calc(100% + 115px); border: 1px solid var(--border); border-radius: 8px; background: white; padding: 26px 30px 28px; box-shadow: 0 2px 8px rgb(15 23 42 / 0.12); }
.saved-plan-card span { color: var(--accent); font-size: 16px; font-weight: 700; }
.saved-plan-card strong { display: block; margin-top: 8px; color: #020617; font-size: 36px; line-height: 1.08; }
.saved-plan-card p { margin-top: 14px; color: #737373; font-size: 18px; white-space: nowrap; }
.resource-row { display: grid; grid-template-columns: 380px 270px; gap: 26px; margin-top: 40px; }
.resource-card { border: 1px solid var(--border); border-radius: 8px; background: white; padding: 26px; box-shadow: 0 2px 6px rgb(15 23 42 / 0.12); }
.resource-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.match-pill, .category-pill { display: inline-flex; min-height: 28px; align-items: center; border-radius: 8px; padding: 4px 11px; font-size: 15px; font-weight: 800; line-height: 1; }
.match-pill { background: var(--accent); color: white; }
.category-pill { background: #f1f5f9; color: #171717; }
.resource-card strong { display: block; margin-top: 22px; color: #020617; font-size: 24px; line-height: 1.18; }
.resource-card p { margin-top: 16px; color: #737373; font-size: 17px; line-height: 1.45; }
.reason-box { margin-top: 22px; border: 1px solid #bbf7d0; border-radius: 12px; background: #ecfdf5; padding: 16px 18px; color: #064e3b; font-size: 16px; font-weight: 700; }
.open-resource { display: inline-flex; min-height: 44px; align-items: center; margin-top: 26px; border: 1px solid var(--border); border-radius: 8px; background: white; padding: 0 18px; color: #020617; font-size: 16px; font-weight: 700; box-shadow: 0 1px 4px rgb(15 23 42 / 0.12); }
.secondary-resource { transform: translateX(0); }

.section { padding: 88px 150px; }
.section.alt { background: var(--muted); }
.section-grid { display: grid; gap: 32px; }
.section h2 { max-width: 620px; margin-top: 12px; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: 0; }
.feature-list, .cards-three { display: grid; gap: 16px; }
.feature-card { border: 1px solid var(--border); border-radius: var(--radius); background: white; padding: 24px; box-shadow: 0 1px 2px rgb(15 23 42 / 0.04); }
.feature-card h3 { font-size: 20px; }
.feature-card p { margin-top: 10px; color: var(--muted-foreground); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 420ms ease, transform 420ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 180ms; }

@media (min-width: 760px) {
	.nav-links, .nav-actions { display: flex; }
	.mobile-menu-btn { display: none; }
	.hero-grid { grid-template-columns: 3fr 2fr; }
	.section-grid { grid-template-columns: 0.95fr 1.05fr; align-items: start; }
	.cards-three { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1120px) and (min-width: 760px) {
	.hero-grid { grid-template-columns: 1fr; }
	.product-preview { max-width: 720px; }
}

@media (max-width: 759px) {
	.app-frame { grid-template-columns: 1fr; height: auto; }
	.app-sidebar { display: none; }
	.app-main { padding: 28px 18px; }
	.saved-plan-card { width: auto; max-width: none; padding: 24px; }
	.saved-plan-card strong { font-size: 34px; }
	.saved-plan-card p { font-size: 17px; white-space: normal; }
	.resource-row { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
	.resource-card { padding: 22px; }
	.resource-card strong { font-size: 24px; }
	.resource-card p { font-size: 17px; }
	.reason-box { font-size: 16px; }
	.secondary-resource { display: none; }
	.hero-title { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}