Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
193 changes: 193 additions & 0 deletions public/css/aws-landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -173,3 +173,196 @@ body.landing .cta-final .cta-notify-h {
font-size: 1.35rem !important;
font-weight: 750 !important;
}

/* ============================================================
One story (2026-11-25). The home page leads with what Darknode
checks and how you fix it; the long sections moved to their own
pages (/nexus, /security-knowledge, /darknode-os, /government).
New blocks use lt-* classes. Flat cards, the palette above, no
new colours. The hero is styled elsewhere and is not touched here.
============================================================ */

/* Tighter rhythm and section heads (pro-theme: 84px padding, 61px titles) */
html[data-style="pro"] body.landing .section {
padding-top: 64px !important;
padding-bottom: 64px !important;
}
html[data-style="pro"] body.landing .section > .wrap > .sec-title {
font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
line-height: 1.12 !important;
max-width: 980px !important;
}
html[data-style="pro"] body.landing .section > .wrap > .sec-sub {
max-width: 760px !important;
margin-bottom: 28px !important;
}
/* Scroll progress line: one flat colour, not a gradient */
html body.landing::before { background: #0972d3 !important; }
/* Home sections are reached by /#id links under a sticky header */
html body.landing .section[id], html body.landing .cta-final[id] { scroll-margin-top: 72px; }

/* Shared card look for the new blocks */
html body.landing :is(.lt-card, .lt-step, .lt-surface) {
margin: 0 !important; /* a generic card rule adds 16px below every *-card */
background: #ffffff;
border: 1px solid #e9ebed;
border-radius: 8px;
box-sizing: border-box;
min-width: 0;
}
html body.landing :is(.lt-card, .lt-step, .lt-surface) h3 {
margin: 0 0 6px;
font-size: 1.05rem;
line-height: 1.3;
color: #0f172a;
}
html body.landing :is(.lt-card, .lt-step, .lt-surface) p {
margin: 0;
font-size: .9rem;
line-height: 1.55;
color: #475569;
}

/* What it checks: 3 x 2 grid */
html body.landing .lt-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 16px;
margin-top: 28px;
}
html body.landing .lt-card { padding: 20px 20px 18px; display: flex; flex-direction: column; }
html body.landing .lt-card > p:not(.lt-fix) { flex: 1; }
html body.landing .lt-card-h { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
html body.landing .lt-card-h h3 { margin: 0; }
html body.landing .lt-icon {
flex: none;
width: 36px; height: 36px;
display: flex; align-items: center; justify-content: center;
border-radius: 6px;
background: rgb(239, 246, 255);
border: 1px solid rgb(191, 219, 254);
color: rgb(24, 24, 27);
}
html body.landing .lt-icon svg { width: 20px; height: 20px; }
html body.landing .lt-card .lt-fix {
margin-top: 14px;
padding-top: 12px;
border-top: 1px solid #e9ebed;
color: #0f172a;
}
html body.landing .lt-fix b { color: #0972d3; font-weight: 700; margin-right: 2px; }
html body.landing .lt-note { margin: 18px 0 0; font-size: .92rem; line-height: 1.55; color: #475569; }

/* How it works: four steps in one row */
html body.landing .lt-steps {
list-style: none;
margin: 28px 0 0;
padding: 0;
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 16px;
}
html body.landing .lt-step { padding: 20px 20px 18px; }
html body.landing .lt-num {
display: inline-flex; align-items: center; justify-content: center;
width: 28px; height: 28px;
border-radius: 50%;
background: #0f172a;
color: #ffffff;
flex: none;
font-size: .85rem;
font-weight: 700;
}

/* Where it runs: one row of four surfaces, then one line of links */
html body.landing .lt-surfaces {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 16px;
margin-top: 28px;
}
html body.landing .lt-surface {
padding: 20px;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 12px;
}
html body.landing .lt-surface h3 { margin: 0; }
html body.landing .lt-surface p { flex: 1; }
html body.landing .lt-surface .bento-dl { margin: 0; gap: 12px; }
html body.landing .lt-tag {
font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace !important;
font-size: .76rem;
padding: 3px 10px;
border-radius: 6px;
background: rgb(239, 246, 255);
color: rgb(37, 99, 235);
}
html body.landing .lt-link { font-size: .9rem; font-weight: 600; }
html body.landing .lt-more {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px 24px;
margin-top: 16px;
padding: 14px 18px;
border: 1px solid #e9ebed;
border-radius: 8px;
background: #fafafa;
font-size: .92rem;
}
html body.landing .lt-more-h { font-weight: 700; color: #0f172a; }

/* FAQ: two columns across the full width; extra questions only on /faq */
html body.landing #faq .faq-list {
max-width: none !important; /* pro-theme centres it at 720px !important */
margin: 28px 0 0 !important;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
column-gap: 48px;
align-items: start;
}
html body.landing #faq .faq-item:last-child { border-bottom: 1px solid #eeeeee; }
html body.landing #faq .faq-a-inner { max-width: none; }
html body.landing :is(.faq-item, .lt-faq-all)[hidden] { display: none !important; }
html body.landing .lt-faq-all { margin: 20px 0 0; font-size: .95rem; font-weight: 600; }

/* Pricing: cards span the content width; the preview note reads as one left-aligned line */
html body.landing #pricing .pricing-grid { padding: 0 !important; }
html[data-style="pro"] body.landing #pricing .price-card { padding: 24px 22px !important; }
html body.landing #pricing .pricing-note { text-align: left !important; max-width: none !important; margin: 22px 0 0 !important; }

/* Final CTA: "Get started" leads; the Pro launch form is a quiet second line */
html body.landing .cta-final { padding: 56px 24px !important; }
html body.landing .cta-final .cta-sub { max-width: 640px; margin-left: auto; margin-right: auto; }
html body.landing .cta-final .lt-notify {
margin: 28px auto 0;
padding-top: 22px;
border-top: 1px solid rgba(255, 255, 255, .14);
max-width: 440px;
}
html body.landing .cta-final .cta-notify-h {
font-size: .92rem !important;
font-weight: 600 !important;
margin: 0 0 10px !important;
color: #d5dbdb !important;
-webkit-text-fill-color: #d5dbdb !important;
}
html body.landing .cta-final .cta-email { padding: 8px 12px !important; font-size: .88rem; }
html body.landing .cta-final .cta-reassure { font-size: .8rem; margin: 8px 0 0; }

@media (max-width: 960px) {
html[data-style="pro"] body.landing .section { padding-top: 52px !important; padding-bottom: 52px !important; }
html body.landing :is(.lt-grid, .lt-steps, .lt-surfaces) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body.landing #faq .faq-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
html[data-style="pro"] body.landing .section { padding-top: 44px !important; padding-bottom: 44px !important; }
html body.landing .section > .wrap { padding-left: 4px !important; padding-right: 4px !important; } /* 16px from the screen edge, not 40 */
html body.landing :is(.lt-grid, .lt-steps, .lt-surfaces) { grid-template-columns: minmax(0, 1fr); gap: 12px; }
html body.landing :is(.lt-card, .lt-step, .lt-surface) { padding: 16px; }
html body.landing .lt-card .lt-fix { margin-top: 10px; padding-top: 10px; }
html body.landing .lt-more { gap: 8px 18px; padding: 12px 14px; }
html body.landing .cta-final { padding: 44px 16px !important; }
}
8 changes: 6 additions & 2 deletions public/js/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,9 @@ function showLanding() {
<a class="nav-dd-item" href="/get-started" data-nav="auth"><span class="nav-dd-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="3" y="3" width="18" height="18" rx="3"/><path d="M7 8h10M7 12h6M7 16h8"/></svg></span><span><strong>Web App</strong><span class="nav-dd-desc">The Deck security workspace in your browser</span></span></a>
<a class="nav-dd-item" href="/quelvra/"><span class="nav-dd-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M4 12h6M7 9v6M14 9h6M14 15h6"/><rect x="2" y="3" width="20" height="18" rx="3"/></svg></span><span><strong>Quelvra Math</strong><span class="nav-dd-desc">Verified math engine, works offline</span></span></a>
<a class="nav-dd-item" href="https://github.com/Darknode-Official/darknode-cli" target="_blank" rel="noopener"><span class="nav-dd-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><polyline points="4 17 10 11 4 5"/><line x1="12" y1="19" x2="20" y2="19"/></svg></span><span><strong>CLI</strong><span class="nav-dd-desc">Install from GitHub</span></span></a><!-- NPM_SUSPENDED: restore "Install via npm" when the npm account is back -->
<a class="nav-dd-item" href="https://github.com/Darknode-Official/darknode-os" target="_blank" rel="noopener"><span class="nav-dd-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="M2 8h20"/></svg></span><span><strong>Linux VM</strong><span class="nav-dd-desc">Pre-built Darknode OS</span></span></a>
<a class="nav-dd-item" href="https://github.com/Darknode-Official/darknode-app/releases/latest" target="_blank" rel="noopener"><span class="nav-dd-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="2" y="4" width="20" height="13" rx="2"/><path d="M8 21h8M12 17v4"/></svg></span><span><strong>Desktop App</strong><span class="nav-dd-desc">The Deck as an app, plus native tools</span></span></a>
<a class="nav-dd-item" href="/nexus" data-nav="section"><span class="nav-dd-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="3" y="3" width="7" height="7" rx="1"/><rect x="14" y="3" width="7" height="7" rx="1"/><rect x="3" y="14" width="7" height="7" rx="1"/><rect x="14" y="14" width="7" height="7" rx="1"/></svg></span><span><strong>Nexus</strong><span class="nav-dd-desc">Terminal agent across six AI engines</span></span></a>
<a class="nav-dd-item" href="/darknode-os" data-nav="section"><span class="nav-dd-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="M2 8h20"/></svg></span><span><strong>Darknode OS</strong><span class="nav-dd-desc">Research kernel and Linux desktop, in a VM</span></span></a>
</div>
</div>
<div class="nav-dd" data-dd="features">
Expand All @@ -684,13 +686,15 @@ function showLanding() {
<a class="nav-dd-item" href="/features" data-nav="section" data-section="features"><span class="nav-dd-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M12 2L2 7l10 5 10-5-10-5z"/><path d="M2 17l10 5 10-5M2 12l10 5 10-5"/></svg></span><span><strong>Overview</strong><span class="nav-dd-desc">What Darknode checks, and how</span></span></a>
<a class="nav-dd-item" href="/arsenal" data-nav="auth"><span class="nav-dd-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M14.7 6.3a1 1 0 000 1.4l1.6 1.6a1 1 0 001.4 0l3.77-3.77a6 6 0 01-7.94 7.94l-6.91 6.91a2.12 2.12 0 01-3-3l6.91-6.91a6 6 0 017.94-7.94l-3.76 3.76z"/></svg></span><span><strong>Tools</strong><span class="nav-dd-desc">Analysis tools for code, cloud, email and identity</span></span></a>
<a class="nav-dd-item" href="/ai" data-nav="auth"><span class="nav-dd-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="12" cy="12" r="3"/><path d="M12 1v4M12 19v4M4.22 4.22l2.83 2.83M16.95 16.95l2.83 2.83M1 12h4M19 12h4M4.22 19.78l2.83-2.83M16.95 7.05l2.83-2.83"/></svg></span><span><strong>Darknode AI</strong><span class="nav-dd-desc">AI-powered security agent</span></span></a>
<a class="nav-dd-item" href="/government" data-nav="section"><span class="nav-dd-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M3 21h18M5 21V10M19 21V10M9 21V10M15 21V10M2 10l10-7 10 7z"/></svg></span><span><strong>Government</strong><span class="nav-dd-desc">For government and regulated teams</span></span></a>
</div>
</div>
<div class="nav-dd" data-dd="resources">
<button class="nav-dd-btn">Resources <svg width="10" height="6" viewBox="0 0 10 6"><path d="M1 1l4 4 4-4" stroke="currentColor" stroke-width="1.5" fill="none" stroke-linecap="round"/></svg></button>
<div class="nav-dd-menu">
<a class="nav-dd-item" href="/pricing" data-nav="section" data-section="pricing"><span class="nav-dd-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="M12 8v8M8 12h8"/></svg></span><span><strong>Pricing</strong><span class="nav-dd-desc">Free forever, upgrade anytime</span></span></a>
<a class="nav-dd-item" href="/pricing" data-nav="section" data-section="pricing"><span class="nav-dd-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="M12 8v8M8 12h8"/></svg></span><span><strong>Pricing</strong><span class="nav-dd-desc">A free plan, and paid plans in preview</span></span></a>
<a class="nav-dd-item" href="/faq" data-nav="section" data-section="faq"><span class="nav-dd-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><circle cx="12" cy="12" r="10"/><path d="M9 9a3 3 0 115.12 2.13c-.6.53-1.12 1.28-1.12 2.37M12 17h.01"/></svg></span><span><strong>FAQ</strong><span class="nav-dd-desc">Common questions answered</span></span></a>
<a class="nav-dd-item" href="/security-knowledge" data-nav="section"><span class="nav-dd-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M4 19.5A2.5 2.5 0 016.5 17H20V3H6.5A2.5 2.5 0 004 5.5v14z"/><path d="M4 19.5A2.5 2.5 0 006.5 22H20v-5"/></svg></span><span><strong>Security knowledge</strong><span class="nav-dd-desc">OWASP, attack patterns and fixes</span></span></a>
<a class="nav-dd-item" href="https://github.com/Darknode-Official" target="_blank" rel="noopener"><span class="nav-dd-icon"><svg viewBox="0 0 24 24" fill="currentColor"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.3 3.44 9.8 8.2 11.39.6.11.82-.26.82-.58v-2.23c-3.34.73-4.04-1.42-4.04-1.42-.55-1.39-1.34-1.76-1.34-1.76-1.08-.74.08-.73.08-.73 1.2.08 1.84 1.23 1.84 1.23 1.07 1.83 2.81 1.3 3.5 1 .1-.78.42-1.3.76-1.6-2.67-.3-5.47-1.33-5.47-5.93 0-1.31.47-2.38 1.24-3.22-.14-.3-.54-1.52.1-3.18 0 0 1-.32 3.3 1.23a11.5 11.5 0 016.02 0c2.28-1.55 3.29-1.23 3.29-1.23.64 1.66.24 2.88.12 3.18.77.84 1.23 1.91 1.23 3.22 0 4.61-2.8 5.63-5.48 5.92.42.37.81 1.1.81 2.22v3.29c0 .32.22.7.82.58A12.01 12.01 0 0024 12c0-6.63-5.37-12-12-12z"/></svg></span><span><strong>GitHub</strong><span class="nav-dd-desc">Source code and releases</span></span></a>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions public/js/deck-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -4185,8 +4185,8 @@ export function renderDeck(host, opts) {
const el = sceneEls.plans;
const PLANS = [
{ id: "free", name: "Free", price: "$0", unit: "forever", tag: "", a: "#2552c6",
blurb: "The full browser toolbox for solo practitioners and evaluation.",
feats: ["Every browser-based security tool", "Quick Checks: email security, headers, certificates, DNS, breaches, CVEs", "Personal space: domain, link, secret and data checks", "Live vulnerability feed (CVE and known-exploited)", "Local-only security graph & case files", "Darknode AI assistant: 50 messages a day", "1 workspace, 1 seat"],
blurb: "Quick checks, the live feed and the assistant, for individuals and evaluation.",
feats: ["Free browser tools in the Tool Library", "Quick Checks: email security, headers, certificates, DNS, breaches, CVEs", "Personal space: domain, link, secret and data checks", "Live vulnerability feed (CVE and known-exploited)", "Local-only security graph & case files", "Darknode AI assistant: 50 messages a day", "1 workspace, 1 seat"],
cta: "Current plan", cur: true },
{ id: "pro", name: "Pro", price: "$29", unit: "per user / month", tag: "Recommended", a: "#2552c6",
blurb: "For professionals who need history, exports and the strongest AI models.",
Expand Down
Loading
Loading