@@ -74,7 +85,7 @@ const ogImage = Astro.site ? new URL(ogImagePath, Astro.site).href : null;
-
+
@@ -1042,6 +1053,308 @@ const ogImage = Astro.site ? new URL(ogImagePath, Astro.site).href : null;
}
}
+ /* ── Skip-to-content link ── */
+
+ .skip-link {
+ position: absolute;
+ top: -100%;
+ left: 50%;
+ transform: translateX(-50%);
+ z-index: 100;
+ padding: 0.75rem 1.5rem;
+ border-radius: 0 0 var(--radius-md) var(--radius-md);
+ background: var(--kn-landing-accent);
+ color: #fff;
+ font-weight: 600;
+ font-size: 0.88rem;
+ transition: top 0.2s ease;
+ }
+
+ .skip-link:focus {
+ top: 0;
+ }
+
+ /* ── Pill badge (Hero) ── */
+
+ .kn-pill {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.5rem;
+ padding: 0.4rem 0.7rem 0.4rem 0.4rem;
+ border-radius: 999px;
+ border: 1px solid var(--kn-landing-pill-border);
+ background: var(--kn-landing-pill-bg);
+ backdrop-filter: blur(18px);
+ font-size: 0.84rem;
+ transition: border-color 0.24s ease;
+ position: relative;
+ overflow: hidden;
+ }
+
+ .kn-pill::before {
+ content: "";
+ position: absolute;
+ inset: 0;
+ border-radius: 999px;
+ background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
+ transform: translateX(-100%);
+ animation: kn-pill-shimmer 8s ease-in-out infinite;
+ }
+
+ @keyframes kn-pill-shimmer {
+ 0%, 80%, 100% { transform: translateX(-100%); }
+ 40% { transform: translateX(100%); }
+ }
+
+ .kn-pill:hover {
+ border-color: var(--kn-landing-border-hover);
+ }
+
+ .kn-pill-badge {
+ display: inline-block;
+ padding: 0.25rem 0.55rem;
+ border-radius: 999px;
+ background: linear-gradient(135deg, var(--kn-landing-accent), var(--kn-landing-accent-bright));
+ color: #fff;
+ font-size: 0.68rem;
+ font-weight: 700;
+ text-transform: uppercase;
+ letter-spacing: 0.1em;
+ line-height: 1;
+ }
+
+ .kn-pill-text {
+ color: var(--kn-landing-text-secondary);
+ font-size: 0.82rem;
+ }
+
+ .kn-pill-arrow {
+ color: var(--kn-landing-text-muted);
+ transition: transform 0.2s ease;
+ }
+
+ .kn-pill:hover .kn-pill-arrow {
+ transform: translateX(3px);
+ }
+
+ /* ── Hero mark breathing ── */
+
+ @keyframes hero-mark-breathe {
+ 0%, 100% { transform: scale(1); opacity: 1; }
+ 50% { transform: scale(1.12); opacity: 0.7; }
+ }
+
+ .hero-mark-glow--violet {
+ animation: hero-mark-breathe 6s ease-in-out infinite;
+ }
+
+ .hero-mark-glow--cyan {
+ animation: hero-mark-breathe 8s ease-in-out infinite;
+ }
+
+ /* ── Button press states ── */
+
+ .hero-button:active,
+ .secondary-button:active {
+ transform: translateY(0) scale(0.98) !important;
+ transition-duration: 0.1s;
+ }
+
+ /* ── Hero visual stage (CSS mockup) ── */
+
+ .hero-visual-stage {
+ position: relative;
+ width: min(100%, 64rem);
+ margin: 2.5rem auto 0;
+ border-radius: 1.5rem;
+ border: 1px solid rgba(255, 255, 255, 0.1);
+ background:
+ linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
+ rgba(8, 10, 18, 0.88);
+ box-shadow:
+ 0 40px 120px rgba(0, 0, 0, 0.45),
+ inset 0 1px 0 rgba(255, 255, 255, 0.08);
+ overflow: hidden;
+ transform: perspective(2400px) rotateX(2deg);
+ -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent);
+ mask-image: linear-gradient(to bottom, black 75%, transparent);
+ }
+
+ .hero-visual-stage::before {
+ content: "";
+ position: absolute;
+ inset: -40%;
+ z-index: -1;
+ border-radius: 50%;
+ background: radial-gradient(circle, rgba(167, 139, 250, 0.12), transparent 60%),
+ radial-gradient(circle at 60% 40%, rgba(202, 58, 41, 0.06), transparent 50%);
+ pointer-events: none;
+ }
+
+ .hero-stage-chrome {
+ display: flex;
+ align-items: center;
+ gap: 0.75rem;
+ padding: 0.85rem 1rem;
+ border-bottom: 1px solid rgba(255, 255, 255, 0.08);
+ background: rgba(255, 255, 255, 0.04);
+ }
+
+ .hero-stage-dots { display: flex; gap: 0.4rem; }
+ .hero-stage-dots span { width: 0.6rem; height: 0.6rem; border-radius: 999px; background: rgba(255, 255, 255, 0.2); }
+
+ .hero-stage-title { font-size: 0.78rem; font-weight: 500; color: rgba(255, 255, 255, 0.5); }
+ .hero-stage-badge { margin-left: auto; padding: 0.3rem 0.6rem; border-radius: 999px; font-size: 0.66rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(103, 232, 249, 0.88); border: 1px solid rgba(103, 232, 249, 0.18); background: rgba(103, 232, 249, 0.08); }
+
+ .hero-stage-body { display: grid; grid-template-columns: 11rem minmax(0, 1fr) 14rem; gap: 1px; min-height: 16rem; background: rgba(255, 255, 255, 0.04); }
+ .hero-stage-sidebar, .hero-stage-main, .hero-stage-panel { padding: 0.85rem; background: rgba(8, 10, 18, 0.6); }
+ .hero-stage-sidebar { border-right: 1px solid rgba(255, 255, 255, 0.06); }
+ .hero-stage-panel { border-left: 1px solid rgba(255, 255, 255, 0.06); }
+
+ .hero-stage-sidebar-title { display: block; height: 0.6rem; width: 55%; border-radius: 999px; background: rgba(255, 255, 255, 0.1); margin-bottom: 0.85rem; }
+ .hero-stage-thread { height: 2rem; border-radius: 0.6rem; margin-bottom: 0.55rem; background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)); }
+ .hero-stage-thread--active { background: linear-gradient(90deg, rgba(202, 58, 41, 0.28), rgba(167, 139, 250, 0.14)); border: 1px solid rgba(202, 58, 41, 0.2); }
+ .hero-stage-thread--short { width: 72%; }
+
+ .hero-stage-msg { height: 0.6rem; border-radius: 999px; margin-bottom: 0.7rem; background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)); width: 80%; }
+ .hero-stage-msg--lg { width: 92%; }
+ .hero-stage-msg--sm { width: 60%; }
+ .hero-stage-msg--xs { width: 40%; }
+
+ .hero-stage-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
+ .hero-stage-panel-label { font-size: 0.72rem; font-weight: 600; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 0.1em; }
+ .hero-stage-panel-status { font-size: 0.66rem; color: rgba(52, 211, 153, 0.8); font-weight: 500; }
+
+ .hero-stage-line { height: 0.55rem; border-radius: 999px; margin-bottom: 0.55rem; background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); width: 85%; }
+ .hero-stage-line--add { background: linear-gradient(90deg, rgba(52, 211, 153, 0.35), rgba(255, 255, 255, 0.04)); }
+ .hero-stage-line--remove { width: 65%; background: linear-gradient(90deg, rgba(248, 113, 113, 0.28), rgba(255, 255, 255, 0.04)); }
+ .hero-stage-line--short { width: 55%; }
+
+ /* ── Feature card mini-visuals ── */
+
+ .feature-card-visual { margin-top: 1.25rem; padding: 0.85rem; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.04); }
+
+ .fv-threads { display: flex; flex-direction: column; gap: 0.45rem; }
+ .fv-thread { height: 1.6rem; border-radius: 0.5rem; background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)); transition: transform 0.3s ease; }
+ .fv-thread--active { background: linear-gradient(90deg, rgba(202, 58, 41, 0.24), rgba(167, 139, 250, 0.12)); border: 1px solid rgba(202, 58, 41, 0.18); }
+ .fv-thread--short { width: 70%; }
+ .feature-card:hover .fv-thread { transform: translateX(4px); }
+ .feature-card:hover .fv-thread--active { transform: translateX(6px); }
+
+ .fv-diff { display: flex; flex-direction: column; gap: 0.4rem; }
+ .fv-line { height: 0.55rem; border-radius: 999px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); width: 85%; transition: width 0.4s ease; }
+ .fv-line--add { background: linear-gradient(90deg, rgba(52, 211, 153, 0.35), rgba(255,255,255,0.04)); }
+ .fv-line--remove { background: linear-gradient(90deg, rgba(248, 113, 113, 0.28), rgba(255,255,255,0.04)); width: 60%; }
+ .fv-line--short { width: 55%; }
+
+ .fv-progress { display: flex; align-items: center; padding: 0.5rem 0; }
+ .fv-dot { width: 1rem; height: 1rem; border-radius: 999px; border: 2px solid rgba(255, 255, 255, 0.15); background: transparent; flex-shrink: 0; transition: transform 0.3s ease; }
+ .fv-dot--done { border-color: var(--kn-landing-accent); background: var(--kn-landing-accent-dim); }
+ .fv-connector { flex: 1; height: 2px; background: rgba(255, 255, 255, 0.1); min-width: 1.5rem; }
+ .fv-connector--done { background: rgba(202, 58, 41, 0.3); }
+ .feature-card:hover .fv-dot--done { transform: scale(1.15); }
+
+ /* ── Surface visual mockups ── */
+
+ .spotlight-panel-content { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: start; }
+ .spotlight-panel-visual { min-height: 12rem; }
+
+ .sv-mockup { border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, 0.06); background: rgba(8, 10, 18, 0.7); overflow: hidden; min-height: 12rem; }
+ .sv-chrome { display: flex; gap: 0.35rem; padding: 0.65rem 0.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); background: rgba(255, 255, 255, 0.03); }
+ .sv-chrome span { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: rgba(255, 255, 255, 0.18); }
+
+ .sv-thread { display: flex; align-items: center; gap: 0.6rem; padding: 0.65rem 0.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
+ .sv-thread--active { background: rgba(202, 58, 41, 0.08); border-left: 2px solid var(--kn-landing-accent); }
+ .sv-thread-dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: rgba(255, 255, 255, 0.15); flex-shrink: 0; }
+ .sv-thread--active .sv-thread-dot { background: var(--kn-landing-accent-bright); }
+ .sv-thread-label { height: 0.5rem; flex: 1; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
+ .sv-thread-label--short { max-width: 60%; }
+
+ .sv-diff-line { height: 0.5rem; margin: 0.4rem 0.75rem; border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
+ .sv-diff-line:first-of-type { margin-top: 0.65rem; }
+ .sv-diff-line--add { background: linear-gradient(90deg, rgba(52, 211, 153, 0.35), rgba(255,255,255,0.04)); width: 80%; }
+ .sv-diff-line--remove { background: linear-gradient(90deg, rgba(248, 113, 113, 0.28), rgba(255,255,255,0.04)); width: 60%; }
+ .sv-diff-line--short { width: 55%; }
+
+ .sv-browser-bar { height: 0.5rem; margin: 0.6rem 0.75rem 0.5rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); width: 40%; }
+ .sv-browser-body { padding: 0 0.75rem 0.75rem; }
+ .sv-block { border-radius: 0.5rem; background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(168, 85, 247, 0.06)); border: 1px solid rgba(255, 255, 255, 0.04); }
+ .sv-block--hero { height: 4rem; margin-bottom: 0.5rem; }
+ .sv-block-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
+ .sv-block--card { height: 3rem; }
+
+ .sv-comment { padding: 0.65rem 0.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
+ .sv-comment-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.45rem; }
+ .sv-avatar { width: 1.2rem; height: 1.2rem; border-radius: 999px; background: linear-gradient(135deg, rgba(167, 139, 250, 0.3), rgba(103, 232, 249, 0.2)); flex-shrink: 0; }
+ .sv-comment-name { height: 0.45rem; width: 4rem; border-radius: 999px; background: rgba(255, 255, 255, 0.12); }
+ .sv-comment-name--short { width: 2.5rem; }
+ .sv-comment-badge { margin-left: auto; font-size: 0.58rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.5rem; border-radius: 999px; color: rgba(52, 211, 153, 0.85); border: 1px solid rgba(52, 211, 153, 0.2); background: rgba(52, 211, 153, 0.08); }
+ .sv-comment-body { height: 0.45rem; border-radius: 999px; background: rgba(255, 255, 255, 0.06); margin-bottom: 0.35rem; width: 85%; }
+ .sv-comment-body--short { width: 55%; }
+
+ .sv-action-row { display: flex; gap: 0.5rem; padding: 0.65rem 0.75rem; }
+ .sv-action-btn { flex: 1; height: 2rem; border-radius: 0.5rem; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
+ .sv-terminal { margin: 0 0.75rem 0.75rem; padding: 0.6rem; border-radius: 0.5rem; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.04); }
+ .sv-terminal-line { height: 0.4rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); margin-bottom: 0.35rem; width: 80%; }
+ .sv-terminal-line--short { width: 50%; }
+ .sv-terminal-line--accent { background: rgba(52, 211, 153, 0.3); width: 65%; }
+
+ /* ── Theme showcase enhancements ── */
+
+ .theme-preview-toolbar-label { margin-left: auto; font-size: 0.66rem; font-weight: 500; color: rgba(255, 255, 255, 0.35); }
+ .theme-sidebar-item { height: 1.4rem; margin: 0.4rem 0.45rem; border-radius: 0.4rem; background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)); }
+ .theme-sidebar-item--active { background: linear-gradient(90deg, var(--theme-accent, rgba(255,255,255,0.15)), rgba(255,255,255,0.04)); opacity: 0.5; }
+ .theme-sidebar-item--short { width: 65%; }
+
+ .theme-palette { display: flex; gap: 0.5rem; padding: 0.75rem 1rem; border-top: 1px solid rgba(255, 255, 255, 0.06); }
+ .theme-swatch { width: 1.2rem; height: 1.2rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }
+
+ /* ── FAQ extra card ── */
+
+ .faq-extra { margin-top: 1.25rem; padding: 1.35rem; border-radius: 1.35rem; text-align: center; }
+ .faq-extra p { color: rgba(250, 250, 250, 0.72); line-height: 1.6; }
+ .faq-discord-btn { margin-top: 1rem; }
+
+ /* ── Shooting stars ── */
+
+ @keyframes kn-shooting-star {
+ 0% { stroke-dashoffset: 200; opacity: 0; }
+ 10% { opacity: 0.8; }
+ 50% { opacity: 0.8; }
+ 100% { stroke-dashoffset: -200; opacity: 0; }
+ }
+
+ .kn-shooting-star { stroke: var(--kn-landing-star-color); stroke-width: 1; stroke-dasharray: 40 160; stroke-dashoffset: 200; stroke-linecap: round; opacity: 0; }
+ .kn-shooting-star--1 { animation: kn-shooting-star 18s linear 3s infinite; }
+ .kn-shooting-star--2 { animation: kn-shooting-star 22s linear 11s infinite; }
+ .kn-shooting-star--3 { animation: kn-shooting-star 20s linear 19s infinite; }
+
+ /* ── Hero button shine on load ── */
+
+ @keyframes hero-shine-enter {
+ 0% { transform: rotate(24deg) translateX(-2rem); }
+ 100% { transform: rotate(24deg) translateX(2rem); }
+ }
+
+ .hero-button-shine.shine-entered {
+ animation: hero-shine-enter 0.6s ease forwards;
+ }
+
+ /* ── Responsive additions ── */
+
+ @media (max-width: 1100px) {
+ .spotlight-panel-content { grid-template-columns: 1fr; }
+ }
+
+ @media (max-width: 720px) {
+ .hero-stage-body { grid-template-columns: 1fr 1fr; }
+ .hero-stage-sidebar { display: none; }
+ .hero-visual-stage { transform: perspective(2400px) rotateX(1deg); }
+ .spotlight-panel-content { grid-template-columns: 1fr; }
+ .kn-shooting-star { display: none; }
+ .kn-thread-c, .kn-thread-d, .kn-thread-ocean, .kn-thread-ocean-hi { display: none; }
+ }
+
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
[data-reveal],
@@ -1055,11 +1368,24 @@ const ogImage = Astro.site ? new URL(ogImagePath, Astro.site).href : null;
.hero-button-shine,
.kn-star-twinkle,
.kn-nav-toggle-bar,
- .kn-nav-links a {
+ .kn-nav-links a,
+ .hero-mark-glow--violet,
+ .hero-mark-glow--cyan,
+ .kn-shooting-star,
+ .kn-thread-pulse,
+ .kn-thread-pulse-glow,
+ .kn-pill::before,
+ .fv-thread,
+ .fv-line,
+ .fv-dot--done {
transition: none !important;
animation: none !important;
transform: none !important;
opacity: 1 !important;
}
+
+ .hero-visual-stage {
+ transform: none !important;
+ }
}
diff --git a/apps/marketing/src/pages/index.astro b/apps/marketing/src/pages/index.astro
index 958744556..525235a16 100644
--- a/apps/marketing/src/pages/index.astro
+++ b/apps/marketing/src/pages/index.astro
@@ -370,10 +370,43 @@ const faqs = [
});
}
+ /** Hero button shine sweep on page load */
+ function initHeroShine() {
+ const shine = document.querySelector(".hero-button-shine");
+ if (!shine) return;
+ const prefersReducedMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
+ if (prefersReducedMotion) return;
+ setTimeout(() => shine.classList.add("shine-entered"), 1500);
+ }
+
+ /** Subtle scroll parallax on the hero visual stage */
+ function initHeroParallax() {
+ const stage = document.querySelector(".hero-visual-stage");
+ if (!stage) return;
+ const prefersReducedMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
+ if (prefersReducedMotion) return;
+ const isMobile = window.matchMedia("(max-width: 720px)").matches;
+ if (isMobile) return;
+
+ let ticking = false;
+ window.addEventListener("scroll", () => {
+ if (!ticking) {
+ requestAnimationFrame(() => {
+ const y = window.scrollY * 0.15;
+ stage.style.transform = `perspective(2400px) rotateX(2deg) translateY(${y}px)`;
+ ticking = false;
+ });
+ ticking = true;
+ }
+ }, { passive: true });
+ }
+
initDownloadButton();
initTabGroups();
initScrollReveal();
initFaqAccordion();
+ initHeroShine();
+ initHeroParallax();
diff --git a/apps/marketing/turbo.jsonc b/apps/marketing/turbo.jsonc
index 25ada22e7..c1cbc9bcd 100644
--- a/apps/marketing/turbo.jsonc
+++ b/apps/marketing/turbo.jsonc
@@ -1,5 +1,5 @@
{
- "$schema": "https://turbo.build/schema.json",
+ "$schema": "https://v2-9-3.turborepo.dev/schema.json",
"extends": ["//"],
"tasks": {
"preview": {
diff --git a/apps/mobile/turbo.jsonc b/apps/mobile/turbo.jsonc
index d844c83f6..e02cb927a 100644
--- a/apps/mobile/turbo.jsonc
+++ b/apps/mobile/turbo.jsonc
@@ -1,4 +1,4 @@
{
- "$schema": "https://turbo.build/schema.json",
+ "$schema": "https://v2-9-3.turborepo.dev/schema.json",
"extends": ["//"],
}
diff --git a/apps/server/turbo.jsonc b/apps/server/turbo.jsonc
index 34f8874f8..1f62a0480 100644
--- a/apps/server/turbo.jsonc
+++ b/apps/server/turbo.jsonc
@@ -1,5 +1,5 @@
{
- "$schema": "https://turbo.build/schema.json",
+ "$schema": "https://v2-9-3.turborepo.dev/schema.json",
"extends": ["//"],
"tasks": {
"start": {
diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx
index 01cf37696..b26546c61 100644
--- a/apps/web/src/components/Sidebar.tsx
+++ b/apps/web/src/components/Sidebar.tsx
@@ -1459,7 +1459,6 @@ export default function Sidebar() {
)}
-
{project.expanded && !appSettings.sidebarHideFiles ? (
diff --git a/apps/web/src/routes/_chat.settings.tsx b/apps/web/src/routes/_chat.settings.tsx
index 87635393b..7e4c7bec4 100644
--- a/apps/web/src/routes/_chat.settings.tsx
+++ b/apps/web/src/routes/_chat.settings.tsx
@@ -928,8 +928,7 @@ function SettingsRouteView() {