Give public website an editorial novelist identity and isolate its theme

This commit is contained in:
Nick Beckley 2026-10-31 15:18:52 +00:00
parent 134de29a8b
commit 8c879b4631
31 changed files with 1278 additions and 591 deletions

View File

@ -0,0 +1,35 @@
# Public website
The public website uses `Views/Shared/_PublicLayout.cshtml` and the scoped `wwwroot/css/public-site.css`. `Views/_ViewStart.cshtml` selects it for Home/Index, Public, Help, Account and Pricing/Index. Application and checkout/result pages retain their existing layout.
Public pages always use the paper/ink palette, including in installed windows and for signed-in users. They do not load application navigation or apply appearance preferences. Normal-browser authentication uses this same public design. Installed authentication uses `public-auth-theme.js`, the existing display-mode detector, and the application palette: signed-in account preference first, then the last device preference, then the legacy light/dark preference, then warm light. The Word Companion's separate login presentation is preserved.
`plotdirector.applicationTheme` stores only a non-sensitive theme identifier. The application shell updates it as the author changes theme; no authentication or subscription state is cached there.
## Browser checks and product images
From the repository root, after building:
```sh
dotnet run --no-build --project PlotLine.Tests/PlotLine.Tests.csproj -- --toolbar-browser-host
```
In a second terminal:
```sh
node PlotLine.Tests/Browser/public-site.cjs
node PlotLine.Tests/Browser/public-site-capture.cjs
node PlotLine.Tests/Browser/public-social-image.cjs
```
These commands use the existing Playwright dependency in `PlotLine.Tests/Browser`. The host is loopback-only and uses in-memory fixtures. It never connects to a database, starts background analysis, creates real accounts or calls Stripe. Test-only public prices are illustrative; production pricing still comes from the original Pricing controller/model.
The ten JPEG files in `wwwroot/images/public` are captures of real compiled application Razor views in standalone presentation, using fictional demonstration data. The plot map uses `PublicWebsiteFixtures.PlotMap()`: eight scenes and three populated plot lines. The remaining captures use the existing toolbar/scene fixture host. Do not substitute live manuscript exports or user accounts when refreshing these public assets. The homepage manuscript fragment is an HTML illustration, not a purported screenshot.
The capture script uses actual application controls and actual focused-editor Razor fragments. It does not redraw UI. The small editor requests are served by the isolated fixture host. Marketing screenshot links open the full-size image for inspection.
The guided manuscript import currently uses the Microsoft Word Companion. The scene workspace supplies notes, planning and drafting support; marketing must not imply a standalone prose editor or that PlotDirector writes the author's book.
The social-image script renders the PlotDirector editorial identity into `wwwroot/images/public/plotdirector-social.png` and the legacy `wwwroot/og-image.png` (1200 × 630). The new default URL avoids reusing cached previews of the old branding. It replaces the legacy image whose baked-in text used the incorrect product name. Product branding must always be PlotDirector.
No development-service or production deployment is part of these commands.

View File

@ -0,0 +1,68 @@
// Start --toolbar-browser-host first. Captures real compiled views with fictional, database-free data.
// Run from repository root: node PlotLine.Tests/Browser/public-site-capture.cjs
const { chromium } = require('playwright');
const fs = require('node:fs');
const path = require('node:path');
const base = 'http://127.0.0.1:5238';
const output = path.resolve(__dirname, '../../PlotLine/wwwroot/images/public');
(async () => {
fs.mkdirSync(output, { recursive: true });
const browser = await chromium.launch();
try {
const context = await browser.newContext({ viewport: { width: 1440, height: 960 }, reducedMotion: 'reduce' });
await context.addInitScript(() => Object.defineProperty(navigator, 'standalone', { value: true }));
await context.addCookies([{ name: "fixture-user", value: "5", domain: "127.0.0.1", path: "/" }]);
const page = await context.newPage();
await page.route(/\/(Scenes|Warnings)\/Scene\w+Editor\?/, async route => {
const name = new URL(route.request().url()).pathname.split('/').pop();
const editors = { SceneNotesEditor: 'notes', SceneKnowledgeEditor: 'knowledge', SceneContinuityEditor: 'warnings' };
const response = await page.request.get(base + '/fixture?page=scene-edit&editor=' + editors[name]);
if (response.status() !== 200) throw new Error('Editor fixture failed: ' + name);
await route.fulfill({ response });
});
async function capture(name, url, prepare) {
const response = await page.goto(base + url);
if (response.status() !== 200) throw new Error('Capture failed: ' + url);
await page.evaluate(() => document.fonts.ready);
if (prepare) await prepare();
await page.screenshot({ path: path.join(output, name + '.jpg'), type: 'jpeg', quality: 88 });
console.log('Captured real view: ' + name);
}
async function sceneArea(area) {
// Desktop shell moves source controls into its existing ribbon.
const command = page.locator(`[data-scene-area-command="${area}"]:visible`);
if (await command.count()) await command.click();
else {
const group = page.locator('.pd-context-group[aria-label="Edit Scene"]');
const details = group.locator('details[data-compact="true"]');
if (await details.count() && await details.getAttribute('open') === null) await details.locator('summary').click();
await group.locator('button.pd-context-command').filter({ hasText: new RegExp('^' + area + '$', 'i') }).click();
}
}
await capture('scene', '/fixture?page=scene-edit');
await capture('writing', '/fixture?page=scene-edit', async () => {
await sceneArea('writer');
await page.locator('[data-scene-editor="notes"]:visible').first().click();
await page.locator('[data-scene-editor-body] textarea').first().waitFor();
});
await capture('workspace', '/fixture?page=dashboard');
await capture('calendar', '/fixture?marketing=true');
await capture('characters', '/fixture?record=Characters');
await capture('continuity', '/fixture?page=scene-edit', async () => { await sceneArea('continuity'); });
await capture('knowledge', '/fixture?page=scene-edit', async () => {
await sceneArea('people');
await page.locator('[data-scene-editor="knowledge"]:visible').click();
await page.locator('[data-scene-editor-body] h4').first().waitFor();
});
await capture('import', '/fixture?desktop=ManuscriptImport');
await page.setViewportSize({ width: 1920, height: 900 });
await capture('plot-lines', '/plot-map-fixture?marketing=true', async () => {
await page.locator('#plot-map-zoom').selectOption('180');
await page.evaluate(() => new Promise(resolve => requestAnimationFrame(() => requestAnimationFrame(resolve))));
});
await page.setViewportSize({ width: 1440, height: 960 });
await capture('insights', '/plot-map-fixture?healthDetail=true&marketing=true');
} finally {
await browser.close();
}
})().catch(error => { console.error(error); process.exitCode = 1; });

View File

@ -0,0 +1,120 @@
// Real public Razor views and auth forms; isolated host, no database or payment requests.
// Start --toolbar-browser-host, then run: node PlotLine.Tests/Browser/public-site.cjs
const { chromium } = require('playwright');
const assert = require('node:assert/strict');
const base = 'http://127.0.0.1:5238';
const themes = ['warm-light', 'warm-dark', 'modern-light', 'modern-dark', 'rose-pink', 'baby-blue'];
(async () => {
const browser = await chromium.launch();
const errors = [];
try {
for (const standalone of [false, true]) {
const context = await browser.newContext({ viewport: { width: 1440, height: 960 }, reducedMotion: 'reduce' });
await context.addInitScript(mode => {
Object.defineProperty(navigator, 'standalone', { value: mode });
localStorage.setItem('plotline.theme', 'dark');
localStorage.setItem('plotdirector.applicationTheme', 'rose-pink');
}, standalone);
const page = await context.newPage();
page.on('pageerror', e => errors.push(e.message));
for (const theme of themes) {
for (const name of ['home', 'tour', 'pricing']) {
for (const anonymous of [false, true]) {
assert.equal((await page.goto(`${base}/public-fixture/${name}?theme=${theme}&anonymous=${anonymous}`)).status(), 200);
assert.equal(await page.locator('html').getAttribute('data-site-theme'), 'public');
assert.equal(await page.locator('html').getAttribute('data-app-theme'), null);
assert.equal(await page.locator('html').getAttribute('data-bs-theme'), 'light');
assert.equal(await page.locator('.public-links a').allTextContents().then(a => a.join('|')), 'Home|Tour|Pricing|Help');
assert.equal(await page.locator('[data-ribbon-shell]').count(), 0);
assert.equal(await page.locator('body').evaluate(el => getComputedStyle(el).backgroundColor), 'rgb(248, 245, 238)');
assert.equal(await page.locator('.public-account').innerText().then(s => s.includes('Your workspace')), !anonymous);
}
}
for (const name of ['login', 'register']) {
await page.goto(`${base}/public-fixture/${name}?theme=${theme}`);
assert.equal(await page.locator('html').getAttribute('data-app-theme'), standalone ? theme : null);
assert.equal(await page.locator('html').getAttribute('data-site-theme'), standalone ? null : 'public');
assert(await page.locator('form input[name="__RequestVerificationToken"]').count());
}
}
// An expired session can still use the last non-sensitive device preference.
await page.goto(base + '/public-fixture/login?anonymous=true');
assert.equal(await page.locator('html').getAttribute('data-app-theme'), standalone ? 'rose-pink' : null);
// Client validation and the original login form contract still work.
await page.locator('button[type="submit"]').click();
assert(await page.locator('[data-valmsg-for="Email"]').innerText());
assert(await page.locator('[data-valmsg-for="Password"]').innerText());
assert.match(await page.locator('form').getAttribute('action'), /Account\/Login$/);
await page.locator('[name="Email"]').fill('fictional-author@example.invalid');
await page.locator('[name="Password"]').fill('Fictional-only-passphrase');
await page.locator('[name="Password"]').press('Tab');
await page.waitForFunction(() => !document.querySelector('.field-validation-error'));
await page.route('**/Account/Login', route => route.fulfill({ contentType: 'text/html', body: 'Isolated form contract verified' }));
const posted = page.waitForRequest(request => request.method() === 'POST' && new URL(request.url()).pathname === '/Account/Login');
await page.locator('button[type="submit"]').click();
const form = new URLSearchParams((await posted).postData());
assert.equal(form.get('Email'), 'fictional-author@example.invalid');
assert(form.get('__RequestVerificationToken'));
// ReturnUrl remains an ordinary server form field, untouched by appearance code.
assert(form.has('ReturnUrl'));
await context.close();
}
// First installed login defaults safely when there is no saved preference, including blocked storage.
for (const blocked of [false, true]) {
const firstVisit = await browser.newContext();
await firstVisit.addInitScript(blocked => {
Object.defineProperty(navigator, 'standalone', { value: true });
if (blocked) Object.defineProperty(window, 'localStorage', { get() { throw new Error('Storage unavailable'); } });
}, blocked);
const firstPage = await firstVisit.newPage();
firstPage.on('pageerror', e => errors.push(e.message));
await firstPage.goto(base + '/public-fixture/login?anonymous=true');
assert.equal(await firstPage.locator('html').getAttribute('data-app-theme'), 'warm-light');
await firstVisit.close();
}
const page = await browser.newPage({ reducedMotion: 'reduce' });
page.on('pageerror', e => errors.push(e.message));
for (const width of [320, 390, 768, 1440]) {
await page.setViewportSize({ width, height: 960 });
for (const name of ['home', 'tour', 'pricing', 'login', 'register']) {
await page.goto(`${base}/public-fixture/${name}?anonymous=true`);
assert(await page.evaluate(() => document.documentElement.scrollWidth <= innerWidth + 1), `${name} overflows at ${width}`);
assert(await page.locator('h1').isVisible());
await page.locator('img').evaluateAll(nodes => Promise.all(nodes.map(async img => { img.loading = 'eager'; await img.decode().catch(() => {}); })));
const broken = await page.locator('img').evaluateAll(nodes => nodes.filter(img => !img.complete || !img.naturalWidth).map(img => img.src));
assert.deepEqual(broken, [], `${name} screenshots load`);
const primary = page.locator('main .marketing-btn--primary').first();
if (await primary.count()) assert(await primary.evaluate(el => getComputedStyle(el).color !== getComputedStyle(el).backgroundColor), 'CTA text readable');
assert.equal(await page.evaluate(() => getComputedStyle(document.documentElement).scrollBehavior), 'auto');
}
}
// A compact menu and sticky horizontal tour navigation remain operable on phones.
await page.setViewportSize({ width: 390, height: 844 });
await page.goto(base + '/public-fixture/tour?anonymous=true');
await page.locator('.navbar-toggler').click();
assert(await page.locator('.public-links a').first().isVisible());
await page.locator('.tour-jump a[href="#plot-lines"]').click();
assert.equal(new URL(page.url()).hash, '#plot-lines');
const top = await page.locator('#plot-lines').evaluate(el => el.getBoundingClientRect().top);
assert(top >= 50 && top < 180, 'jump heading clears sticky navigation');
await page.goto(base + '/public-fixture/pricing');
assert.equal(await page.locator('a[href*="billingInterval=Annual"]').count(), 3);
assert.equal(await page.locator('a[href*="billingInterval=Monthly"]').count(), 3);
assert.equal(await page.locator('.pricing-card').count(), 4);
for (const url of ['/', '/features', '/about', '/contact', '/privacy', '/terms', '/help', '/help?q=scene']) {
assert.equal((await page.goto(base + url)).status(), 200, url);
assert.equal(await page.locator('html').getAttribute('data-site-theme'), 'public');
assert(await page.locator('link[rel="canonical"]').count());
}
await page.goto(base + '/help');
await page.locator('[data-help-icon] button').first().click();
const more = page.locator('.popover a.plotline-help-more');
await more.waitFor();
const articlePath = new URL(await more.getAttribute('href'), base).pathname;
await more.click();
await page.waitForURL(url => url.pathname === articlePath);
assert(await page.locator('.help-markdown-body').isVisible());
assert.deepEqual(errors, []);
console.log('PASS public theme isolation: all six themes, browser/standalone, signed in/out; authentication palette and validation; responsive layouts, assets, navigation, checkout links and public SEO.');
} finally { await browser.close(); }
})().catch(error => { console.error(error); process.exitCode = 1; });

View File

@ -0,0 +1,20 @@
// Generate the PlotDirector social-sharing asset directly from the public editorial design.
const { chromium } = require('playwright');
const path = require('node:path');
const fs = require('node:fs');
(async () => {
const browser = await chromium.launch();
try {
const page = await browser.newPage({ viewport: { width: 1200, height: 630 }, deviceScaleFactor: 1 });
await page.setContent(`<!doctype html><html lang="en-GB"><meta charset="utf-8"><style>
*{box-sizing:border-box}body{margin:0;width:1200px;height:630px;background:#f8f5ee;color:#292c27;font-family:Georgia,serif;padding:62px 76px;position:relative;overflow:hidden}
.brand{font-weight:bold;font-size:33px;letter-spacing:-1px}.brand span{color:#a77d34}.eyebrow{font:600 11px system-ui;letter-spacing:3px;text-transform:uppercase;color:#65665b;margin:65px 0 24px}
h1{font-weight:400;font-size:74px;line-height:1.04;letter-spacing:-3px;margin:0;position:relative;z-index:1}em{color:#6b7655;font-weight:400}.rule{width:330px;height:5px;background:#e3b85e;transform:rotate(-2deg);margin:20px 0 27px}
p{font:20px/1.5 system-ui;color:#65665b;margin:0}.note{position:absolute;right:70px;top:210px;transform:rotate(7deg);width:230px;padding:30px;background:#f1d88d;box-shadow:4px 12px 25px #292c2712;font:italic 31px/1.35 Georgia}.note small{display:block;font:10px system-ui;letter-spacing:2px;text-transform:uppercase;margin-bottom:20px}
footer{position:absolute;bottom:40px;left:76px;right:76px;border-top:1px solid #d9d8cb;padding-top:15px;font:12px system-ui;letter-spacing:.5px;color:#65665b}
</style><div class="brand">PlotDirector<span>.</span></div><div class="eyebrow">A little order. A lot more story.</div><h1>You've got a<br />book to <em>finish.</em></h1><div class="rule"></div><p>You write it. PlotDirector remembers it.</p><div class="note"><small>A promise to the author</small>Your book.<br />Your words.</div><footer>plotdirector.com · For the stories only you can tell.</footer></html>`);
const image = await page.screenshot({ path: path.resolve(__dirname, '../../PlotLine/wwwroot/og-image.png') });
fs.writeFileSync(path.resolve(__dirname, '../../PlotLine/wwwroot/images/public/plotdirector-social.png'), image);
console.log('Created PlotDirector social image: 1200 × 630.');
} finally { await browser.close(); }
})().catch(error => { console.error(error); process.exitCode = 1; });

View File

@ -0,0 +1,35 @@
using PlotLine.Models;
using PlotLine.ViewModels;
// Fictional, database-free data for reproducible marketing screenshots of the real application views.
internal static class PublicWebsiteFixtures
{
public static IReadOnlyList<StoryCalendarSceneViewModel> CalendarScenes() =>
new[] { "Arrival at the harbour", "The letter", "An unexpected ally", "A promise made", "Footsteps on the pier", "The missing page", "A change of plan", "The sender revealed", "Across the water", "The last crossing" }
.Select((title, i) => new StoryCalendarSceneViewModel { SceneID = 101 + i, BookID = 12, ChapterID = 21 + i / 2,
Title = title, StoryDate = new DateOnly(2026, 10, 3 + i * 2), ChapterNumber = i / 2 + 1, SceneNumber = i % 2 + 1,
Pov = i % 2 == 0 ? "Mara" : "Elias", NarrativeOrder = i + 1, TimeLabel = i % 2 == 0 ? "Before dawn" : "Evening" }).ToList();
public static PlotLineWorkspaceData PlotMap()
{
var titles = new[] { "Arrival at the harbour", "An unexpected ally", "The missing page", "A promise made", "Footsteps on the pier", "The sender revealed", "Across the water", "The last crossing" };
var lines = new[] { "The missing letter", "Mara & Elias", "The harbour secret" };
var colours = new[] { "#5bada0", "#c88d55", "#829ccf" };
var events = new List<PlotLineWorkspaceContributionRow>();
for (var scene = 0; scene < titles.Length; scene++)
for (var line = 0; line < lines.Length; line++)
{
if ((scene + line) % 3 == 2) continue;
events.Add(new() { ThreadEventID = 1000 + scene * 10 + line, PlotLineID = line + 1, PlotThreadID = 11 + line,
SceneID = 101 + scene, NarrativeOrder = scene + 1, ChapterNumber = scene / 2 + 1, SceneNumber = scene % 2 + 1,
ChapterTitle = "The crossing", SceneTitle = titles[scene], ThreadTitle = lines[line],
CanonicalTitle = titles[scene], CanonicalRole = scene == 0 ? "Introduced" : scene == 7 ? "Resolved" : "Developed",
PovCharacterName = scene % 2 == 0 ? "Mara" : "Elias", LocationName = "North Pier" });
}
return new() {
PlotLines = lines.Select((name, i) => new PlotLineWorkspaceLineRow { PlotLineID = i + 1, PlotLineName = name, Colour = colours[i], SortOrder = i + 1, ThreadCount = 1, ContributionSceneCount = events.Where(e => e.PlotLineID == i + 1).Select(e => e.SceneID).Distinct().Count() }).ToList(),
Threads = lines.Select((name, i) => new PlotLineWorkspaceThreadRow { PlotThreadID = 11 + i, PlotLineID = i + 1, ThreadTitle = name, ContributionCount = events.Count(e => e.PlotLineID == i + 1), IntroducedSceneID = 101, PlannedResolutionSceneID = 108 }).ToList(),
Contributions = events
};
}
}

View File

@ -47,7 +47,8 @@ internal static class ToolbarBrowserHost
SceneCharacters = Enumerable.Range(1, 8).Select(i => new SceneCharacter { CharacterID = i, CharacterName = i == 1 ? "Mara Vale" : $"Harbour character {i}", RoleInSceneTypeName = i == 1 ? "POV" : "Supporting" }).ToList(),
ThreadEvents = [new() { EventTitle = "The letter", ThreadTitle = "Missing sender", PlotLineName = "Harbour mystery", EventDescription = "A clue at the water's edge." }],
Warnings = Enumerable.Range(1, 6).Select(i => new ContinuityWarning { ContinuityWarningID = i, WarningTypeName = "Location", Message = $"Review location evidence {i}." }).ToList(),
Notes = [new() { NoteTitle = "Atmosphere", NoteText = "Keep the harbour quiet." }],
CharacterKnowledge = [new() { CharacterKnowledgeID = 1, CharacterID = 1, CharacterName = "Mara Vale", AssetName = "The letter", KnowledgeStateName = "Knows", Description = "Mara knows the letter was delivered before dawn. She has not yet discovered who sent it." }],
Notes = [new() { NoteTitle = "Atmosphere", NoteText = "Keep the harbour quiet." }, new() { NoteTitle = "Next draft", NoteText = "Let the letter carry the tension. Hold back the identity of the sender until the next chapter." }],
ChecklistItems = [new() { ItemText = "Check the tide", IsCompleted = false }]
};
@ -74,6 +75,7 @@ internal static class ToolbarBrowserHost
builder.Services.AddSingleton<IAppearanceRepository, AppearanceMemoryPreferences>();
builder.Services.AddScoped<ApplicationNavigation>(_ => new ApplicationNavigation(null!, null!, null!));
builder.Services.AddSingleton<IHelpService, HelpService>();
builder.Services.AddSingleton<IHelpMarkdownRenderer, HelpMarkdownRenderer>();
builder.Services.AddScoped<ICurrentUserService>(services => new ToolbarTestUser(int.Parse(services.GetRequiredService<IHttpContextAccessor>().HttpContext!.User.FindFirstValue(ClaimTypes.NameIdentifier)!)));
var app = builder.Build();
app.Urls.Add("http://127.0.0.1:5238");
@ -90,8 +92,8 @@ internal static class ToolbarBrowserHost
app.MapGet("/Projects", () => Results.Redirect("/fixture"));
app.MapGet("/plot-map-fixture", async context =>
{
var data = context.Request.Query["health"] == "true" || context.Request.Query["healthDetail"] == "true"
? HealthFixture() : PlotLineWorkspaceTests.Fixture();
var data = context.Request.Query["marketing"] == "true" ? PublicWebsiteFixtures.PlotMap()
: context.Request.Query["health"] == "true" || context.Request.Query["healthDetail"] == "true" ? HealthFixture() : PlotLineWorkspaceTests.Fixture();
var ids = context.Request.Query["focus"] == "true" ? new[] { 1 } : new[] { 1, 2, 3 };
var model = new PlotLineWorkspaceViewModel {
Project = new Project { ProjectID = 7 },
@ -109,9 +111,39 @@ internal static class ToolbarBrowserHost
var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary()) { Model = model };
await view.View.RenderAsync(new ViewContext(action, view.View, viewData, new TempDataDictionary(context, context.RequestServices.GetRequiredService<ITempDataProvider>()), writer, new HtmlHelperOptions()));
context.Response.ContentType = "text/html; charset=utf-8";
if (context.Request.Query["healthDetail"] == "true") { await context.Response.WriteAsync(writer.ToString()); return; }
if (context.Request.Query["healthDetail"] == "true" && context.Request.Query["marketing"] != "true") { await context.Response.WriteAsync(writer.ToString()); return; }
await context.Response.WriteAsync("<html data-app-theme='modern-dark' data-theme='dark'><head><link rel='stylesheet' href='/lib/bootstrap/dist/css/bootstrap.min.css'><link rel='stylesheet' href='/css/site.css'><link rel='stylesheet' href='/css/plotline-theme.css'><link rel='stylesheet' href='/css/application-shell.css'><link rel='stylesheet' href='/css/record-workspace.css'><link rel='stylesheet' href='/css/application-context-menu.css'><link rel='stylesheet' href='/css/plot-line-workspace.css'></head><body class='app-layout'><form id='plot-workspace-form'><input type='hidden' name='projectId' value='7'></form>" + writer + "<div id='plot-inspector-backdrop' hidden></div><aside class='plot-inspector' id='plot-inspector' aria-hidden='true'><div id='plot-inspector-content'></div></aside><script src='/js/plot-line-workspace.js'></script></body></html>");
});
// Public QA renders the real views/layout with isolated models; no account, payment or DB calls.
app.MapGet("/public-fixture/{page}", async context =>
{
var page = context.Request.RouteValues["page"]?.ToString() ?? "home";
var (controller, viewName, viewModel) = page switch
{
"home" => ("Home", "Index", (object?)null),
"tour" => ("Public", "Features", (object?)null),
"login" => ("Account", "Login", (object?)new LoginViewModel { ReturnUrl = "/Projects" }),
"register" => ("Account", "Register", (object?)new RegisterViewModel()),
"pricing" => ("Pricing", "Index", (object?)new PricingViewModel { Plans = Enumerable.Range(0, 4).Select(i => new SubscriptionLevel {
SubscriptionLevelID = i + 1, DisplayName = new[] { "Draft Desk", "Writing Room", "Story Forge", "Author Studio" }[i],
RequiresStripeSubscription = i > 0, MonthlyPricePence = i == 0 ? null : i * 500, AnnualPricePence = i == 0 ? null : i * 5000,
MaxBooks = i + 1, MaxChaptersPerBook = (i + 1) * 50, MaxCharactersPerProject = (i + 1) * 50, MaxScenesPerBook = (i + 1) * 100, MaxStorageMB = (i + 1) * 250, MaxCollaborators = i
}).ToList() }),
_ => throw new InvalidOperationException("Unknown public fixture")
};
if (context.Request.Query["anonymous"] == "true") context.User = new ClaimsPrincipal(new ClaimsIdentity());
if (context.Request.Query.TryGetValue("theme", out var theme) && ApplicationAppearance.IsValid(theme.ToString()))
await context.RequestServices.GetRequiredService<IAppearanceRepository>().SaveThemeAsync(4, theme.ToString());
var route = new RouteData(); route.Values["controller"] = controller; route.Values["action"] = viewName;
var action = new ActionContext(context, route, new ActionDescriptor());
var view = context.RequestServices.GetRequiredService<ICompositeViewEngine>().GetView(null, $"/Views/{controller}/{viewName}.cshtml", true);
if (!view.Success) throw new InvalidOperationException(string.Join(",", view.SearchedLocations));
using var writer = new StringWriter();
var data = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary()) { Model = viewModel };
await view.View.RenderAsync(new ViewContext(action, view.View, data, new TempDataDictionary(context, context.RequestServices.GetRequiredService<ITempDataProvider>()), writer, new HtmlHelperOptions()));
context.Response.ContentType = "text/html; charset=utf-8";
await context.Response.WriteAsync(writer.ToString());
});
app.MapGet("/fixture", async context =>
{
var model = new ApplicationNavigationViewModel { ActiveSection = "Calendar", ShowCompanionPresence = true };
@ -167,6 +199,14 @@ internal static class ToolbarBrowserHost
Days = Enumerable.Range(0, 7).Select(day => new StoryCalendarDayViewModel { Date = new DateOnly(2026, 9, 28).AddDays(week * 7 + day), IsInSelectedMonth = week * 7 + day >= 3 }).ToList()
}).ToList()
};
if (context.Request.Query["marketing"] == "true")
{
calendar.DatedScenes = PublicWebsiteFixtures.CalendarScenes();
foreach (var day in calendar.Weeks.SelectMany(w => w.Days))
day.Scenes = calendar.DatedScenes.Where(scene => scene.StoryDate == day.Date).ToList();
calendar.EarliestStoryDate = new DateOnly(2026, 10, 3);
calendar.LatestStoryDate = new DateOnly(2026, 10, 24);
}
var surface = dashboardPage ? "" : await Render("StoryCalendar/_StoryCalendarSurface", calendar);
if (timelinePage)
{
@ -216,6 +256,7 @@ internal static class ToolbarBrowserHost
if (context.Request.Query["owner"] == "false") project.AccessRole = "Editor";
object pageModel = desktopPage switch
{
"ManuscriptImport" => new OnboardingWizardViewModel { CurrentStep = OnboardingSteps.NextPathPreview, WritingSoftware = WritingSoftwareValues.MicrosoftWord, SelectedProjectName = "The Glass Harbour", SelectedBookTitle = "A Distant Shore", ProjectID = 7, BookID = 12 },
"StoryBible" => new StoryBibleViewModel { Project = project, Query = context.Request.Query["q"] },
"Books" => new BookDetailViewModel { Project = project, Book = model.Book! },
"Characters" => new CharacterListViewModel { Project = project, Characters = context.Request.Query["context"] == "objects" ? [new Character { CharacterID = 71, CharacterName = "Context A" }, new Character { CharacterID = 72, CharacterName = "Context B" }] : [] },
@ -236,8 +277,8 @@ internal static class ToolbarBrowserHost
"SchedulePreview" => new WritingSchedulePreviewViewModel(),
_ => throw new InvalidOperationException("Unknown desktop fixture")
};
var viewController = desktopPage switch { "ReviewCentre" => "Onboarding", "ProjectEdit" => "Projects", "WritingPlans" or "SchedulePreview" => "Writer", _ => desktopPage };
var viewAction = desktopPage switch { "ReviewCentre" => "StoryIntelligenceReviewCentre", "ProjectEdit" => "Edit", "WritingPlans" or "SchedulePreview" => desktopPage, "Dynamics" => "Story", "Books" => "Details", _ => "Index" };
var viewController = desktopPage switch { "ManuscriptImport" or "ReviewCentre" => "Onboarding", "ProjectEdit" => "Projects", "WritingPlans" or "SchedulePreview" => "Writer", _ => desktopPage };
var viewAction = desktopPage switch { "ManuscriptImport" => "Index", "ReviewCentre" => "StoryIntelligenceReviewCentre", "ProjectEdit" => "Edit", "WritingPlans" or "SchedulePreview" => desktopPage, "Dynamics" => "Story", "Books" => "Details", _ => "Index" };
route.Values["controller"] = viewController;
route.Values["action"] = viewAction;
model.ActiveSection = desktopPage switch { "StoryBible" => "Story Bible", "PlotLineWorkspace" => "Plot Lines", "PlotThreads" => "Threads", "StoryCalendar" => "Calendar", "StoryPoint" => "At This Point", "ProjectMetrics" => "Metrics", "Analytics" or "Dynamics" => "Health", _ => desktopPage };

View File

@ -23,14 +23,14 @@ public sealed class PublicController(IConfiguration configuration) : Controller
var pricingUrl = PublicSeo.AbsoluteUrl(configuration, "/pricing");
PublicSeo.Apply(ViewData, configuration, new SeoMetadata
{
Title = "PlotDirector Features | Novel Planning, Continuity & Story Writing Software",
Title = "PlotDirector Tour | Novel Planning, Continuity & Story Writing Software",
Description = FeaturesDescription,
Keywords = FeaturesKeywords,
CanonicalPath = "/features",
OgTitle = "PlotDirector Features | Plan, Write and Manage Your Story",
OgTitle = "PlotDirector Tour | Plan, Write and Manage Your Story",
OgDescription = "Discover the connected story planning tools inside PlotDirector, including timelines, scene management, characters, relationships, continuity tracking, story health, floor plans, exports and Word integration.",
OgType = "website",
OgImage = "https://plotdirector.com/images/og/plotdirector-features-og.webp",
OgImage = PublicSeo.AbsoluteUrl(configuration, "/images/public/workspace.jpg"),
TwitterCard = "summary_large_image",
JsonLd =
[
@ -38,7 +38,7 @@ public sealed class PublicController(IConfiguration configuration) : Controller
{
["@context"] = "https://schema.org",
["@type"] = "WebPage",
["name"] = "PlotDirector Features",
["name"] = "PlotDirector Tour",
["description"] = FeaturesDescription,
["url"] = featuresUrl,
["isPartOf"] = new Dictionary<string, object?>
@ -65,25 +65,11 @@ public sealed class PublicController(IConfiguration configuration) : Controller
}),
PublicSeo.BreadcrumbJsonLd(
("Home", homeUrl),
("Features", featuresUrl)),
PublicSeo.JsonLd(new Dictionary<string, object?>
{
["@context"] = "https://schema.org",
["@type"] = "FAQPage",
["mainEntity"] = new[]
{
Faq("What is PlotDirector?", "PlotDirector is story planning and writing software for authors. It helps writers organise books, chapters, scenes, characters, locations, timelines, plot threads, continuity, writing schedules and story bibles in one connected workspace."),
Faq("Can PlotDirector help with story continuity?", "Yes. PlotDirector includes continuity tools for tracking characters, locations, story assets, knowledge, custody, warnings and story state across scenes."),
Faq("Does PlotDirector work with Microsoft Word?", "PlotDirector includes a Microsoft Word Companion designed to connect your manuscript with your planning data, helping sync chapters, scenes, word counts and story details."),
Faq("Can I use PlotDirector for a series?", "Yes. PlotDirector supports projects, books, chapters and scenes, making it suitable for novels, series, screenplays and larger story worlds."),
Faq("Does PlotDirector include character and relationship tracking?", "Yes. PlotDirector includes character profiles, aliases, appearances, relationship tracking, relationship maps and changes over time."),
Faq("Can PlotDirector create a story bible?", "Yes. PlotDirector can produce story bible exports containing key information about characters, settings, plot threads, timelines and other story details.")
}
})
("Tour", featuresUrl))
]
});
ViewData["SeoTitle"] = "PlotDirector Features | Novel Planning, Continuity & Story Writing Software";
ViewData["OgTitle"] = "PlotDirector Features | Plan, Write and Manage Your Story";
ViewData["SeoTitle"] = "PlotDirector Tour | Novel Planning, Continuity & Story Writing Software";
ViewData["OgTitle"] = "PlotDirector Tour | Plan, Write and Manage Your Story";
return View();
}
@ -156,15 +142,4 @@ public sealed class PublicController(IConfiguration configuration) : Controller
SupportEmail = SupportEmail,
LastUpdated = PolicyDate
};
private static Dictionary<string, object?> Faq(string question, string answer) => new()
{
["@type"] = "Question",
["name"] = question,
["acceptedAnswer"] = new Dictionary<string, object?>
{
["@type"] = "Answer",
["text"] = answer
}
};
}

View File

@ -23,7 +23,7 @@ public static class PublicRouteNames
public static partial class PublicSeo
{
public const string DefaultBaseUrl = "https://plotdirector.com";
public const string DefaultOgImagePath = "/og-image.png";
public const string DefaultOgImagePath = "/images/public/plotdirector-social.png";
private const int DescriptionTargetLength = 155;
public static string BaseUrl(IConfiguration configuration)

View File

@ -67,7 +67,7 @@ else
<div class="page-heading compact auth-page-heading">
<div>
<p class="eyebrow">Account</p>
<h1>Login</h1>
<h1>Sign in</h1>
<p class="lead-text">Sign in to PlotDirector.</p>
</div>
</div>
@ -103,7 +103,7 @@ else
</div>
<div class="auth-actions">
<button class="btn btn-primary" type="submit">Login</button>
<button class="btn btn-primary" type="submit">Sign in</button>
<a class="btn btn-outline-secondary" asp-action="Register">Create an account</a>
<a class="btn btn-outline-secondary" asp-action="ForgotPassword">Forgot password?</a>
</div>

View File

@ -48,7 +48,7 @@
</div>
<div class="button-row mt-3">
<button class="btn btn-primary" type="submit">Register</button>
<button class="btn btn-primary" type="submit">Start writing</button>
<a class="btn btn-outline-secondary" asp-action="Login">Already have an account?</a>
</div>
</form>

View File

@ -2,258 +2,182 @@
ViewData["Title"] = "Finally finish your novel";
ViewData["ShellClass"] = "marketing-shell";
}
<article class="marketing-home marketing-home-page">
<section class="marketing-hero reveal-section">
<div class="marketing-container marketing-hero__grid">
<div class="marketing-hero__copy">
<p class="marketing-eyebrow">PlotDirector for novelists</p>
<h1>Finally finish the novel you've always wanted to write.</h1>
<p class="marketing-lead">
PlotDirector gives your characters, chapters, plot threads, notes, timelines and continuity checks one calm place to live, so you can plan, organise, track and finish your book.
<article class="writer-home">
<section class="writer-hero">
<div class="marketing-container writer-hero-grid">
<div class="writer-hero-copy">
<p class="marketing-eyebrow"><span class="eyebrow-line"></span> A little order. A lot more story.</p>
<h1>Finally finish<br />the novel you've<br /> always wanted<br />to <em>write.</em>
</h1>
<p class="marketing-lead">The characters. The loose ends. That thing you mentioned in chapter three. Keep it all together, so you can get back to the words.</p>
<div class="marketing-actions"><a class="marketing-btn marketing-btn--primary" asp-controller="Account" asp-action="Register">Start writing free <span aria-hidden="true">↗</span></a><a class="editorial-link" asp-route="@PublicRouteNames.Features">Take a look inside <span aria-hidden="true">→</span></a>
</div>
<p class="cta-note">30 days free. No card needed. Your words stay yours.</p>
</div>
<div class="writing-desk" aria-label="An illustrative manuscript and story notes">
<div class="desk-rule" aria-hidden="true">THE NEXT CHAPTER STARTS HERE</div>
<div class="manuscript-sheet">
<p class="manuscript-running">A DISTANT SHORE <span>12</span>
</p>
<p class="manuscript-chapter">Chapter one</p>
<h2>The crossing</h2>
<p>By the time Mara reached the harbour, the last light in the customs house had gone out.</p>
<p>She stopped at the end of the pier. In her coat pocket, <span class="editorial-underline">the letter</span> felt heavier than it had any right to.</p>
<p>Someone had been here before her.</p>
<div class="manuscript-fade" aria-hidden="true">
<p>Across the water, a door closed. She waited.</p>
<p>Then, from somewhere in the dark, a familiar voice.</p>
</div>
<span class="hand-note">this is where it begins ↗</span>
</div>
<div class="desk-note"><span class="note-pin" aria-hidden="true"></span><small>Note to self</small>
<p>Who knows<br />about the letter?</p><span class="hand-note">don't lose this thread.</span>
</div>
<div class="desk-answer"><span class="answer-tick" aria-hidden="true">✓</span>
<div><small>A place for every story detail</small><strong>You write it.<br />PlotDirector remembers it.</strong><a asp-route="@PublicRouteNames.Features" asp-fragment="knowledge">See how <span aria-hidden="true">→</span></a>
</div>
</div>
<span class="desk-pencil" aria-hidden="true"></span>
<p class="desk-caption">Your imagination. A little breathing room.</p>
</div>
</div>
</section>
<section class="writer-problems">
<div class="marketing-container">
<p class="marketing-eyebrow">Sound familiar?</p>
<h2>Writing is wonderful.<br /><em>Keeping track of it all?</em>
</h2>
<div class="question-scatter" aria-label="Questions every novelist recognises">
<p>“When did Anna find the letter?”</p>
<p>“Has Tom met David yet?”</p>
<p>“Didn't this happen on Thursday?”</p>
<p>“Where did that storyline go?”</p>
<p>“Who the hell is Malcolm?”</p>
</div>
<div class="problem-answer"><span aria-hidden="true">↓</span>
<p>You don't need a better memory.<br /><strong>You need somewhere your story can live.</strong>
</p>
<div class="marketing-actions">
<a class="marketing-btn marketing-btn--primary" asp-controller="Account" asp-action="Register">Start Free Trial</a>
<a class="marketing-btn marketing-btn--secondary" href="#overview">Watch 2 Minute Overview</a>
</div>
<dl class="hero-proof" aria-label="PlotDirector highlights">
<div>
<dt>9</dt>
<dd>story systems brought together</dd>
</div>
<div>
<dt>1</dt>
<dd>calm place to plan, draft, and revise</dd>
</div>
</dl>
</div>
<div class="home-image-card home-hero-image hero-product" id="overview">
<img src="~/images/home/hero-writing-workspace.webp"
width="1600"
height="1200"
alt="PlotDirector writing workspace showing manuscript planning, character notes, plot threads and continuity checks." />
</div>
</div>
</section>
<section class="problem-intro reveal-section">
<div class="marketing-container">
<p class="marketing-eyebrow">Made for real drafting problems</p>
<h2>Every writer faces these challenges. PlotDirector helps solve them.</h2>
</div>
</section>
<section class="problem-stack">
<div class="marketing-container">
<div class="problem-section reveal-section">
<div class="problem-visual visual-notes" aria-hidden="true">
<span>Where is Mary?</span>
<span>Who saw Sophie?</span>
<span>Chapter 18 clue</span>
<span>Rebecca's notebook</span>
</div>
<div class="problem-copy">
<p class="marketing-eyebrow">Losing track of story details</p>
<h3>Your story should feel alive, not scattered across notebooks, documents and half-remembered ideas.</h3>
<p>You shouldn't have to remember what colour someone's eyes were fifty thousand words ago, or which chapter introduced an important clue. PlotDirector keeps the details connected so you can stay close to the story.</p>
</div>
</div>
<div class="problem-section problem-section--reverse reveal-section">
<div class="problem-visual visual-plot" aria-hidden="true">
<span>Secret</span>
<span>Reveal</span>
<span>Consequence</span>
<span>Pay-off</span>
</div>
<div class="problem-copy">
<p class="marketing-eyebrow">Managing complex plots</p>
<h3>See how every scene, reveal and promise connects before the story ties itself in knots.</h3>
<p>When plots, subplots, mysteries, romances and character arcs start pulling in different directions, PlotDirector helps you keep the shape of the book in view.</p>
</div>
</div>
<div class="problem-section reveal-section">
<div class="problem-visual problem-visual--image visual-warning">
<img class="home-feature-image"
src="~/images/home/manuscript-continuity.webp"
width="1200"
height="675"
loading="lazy"
alt="PlotDirector manuscript continuity view highlighting story details and possible contradictions." />
</div>
<div class="problem-copy">
<p class="marketing-eyebrow">Continuity mistakes</p>
<h3>Catch contradictions before readers do.</h3>
<p>Readers notice when characters know things they shouldn't, important objects disappear, or timelines stop making sense. PlotDirector helps you spot those problems before publication.</p>
</div>
</div>
<div class="problem-section problem-section--reverse reveal-section">
<div class="problem-visual visual-next" aria-hidden="true">
<small>Writing queue</small>
<strong>Draft Scene 31</strong>
<p>Revise Chapter 12</p>
<p>Polish ending</p>
</div>
<div class="problem-copy">
<p class="marketing-eyebrow">Knowing what to work on next</p>
<h3>Open your project and know exactly what scene needs you next.</h3>
<p>Many novels stall because writers simply don't know what to tackle next. PlotDirector helps you identify the scenes, revisions, and unresolved issues that deserve your attention today.</p>
</div>
</div>
<div class="problem-section reveal-section">
<div class="problem-visual visual-docs" aria-hidden="true">
<span>Notebook</span>
<span>Research</span>
<span>Scene ideas</span>
<span>Character notes</span>
<span>Loose pages</span>
</div>
<div class="problem-copy">
<p class="marketing-eyebrow">Drowning in notes and documents</p>
<h3>Stop opening five files just to remember what happened next.</h3>
<p>If your story lives across Word documents, notebooks, spreadsheets, and scraps of paper, you're not alone. PlotDirector brings everything together in one organised place.</p>
</div>
</div>
<div class="problem-section problem-section--reverse reveal-section">
<div class="problem-visual problem-visual--image visual-relationships">
<img class="home-feature-image"
src="~/images/home/character-relationship-board.webp"
width="1200"
height="800"
loading="lazy"
alt="PlotDirector character relationship board showing connected characters and relationship details." />
</div>
<div class="problem-copy">
<p class="marketing-eyebrow">Tracking character relationships</p>
<h3>Track the loyalties, secrets and tensions that make your cast feel real.</h3>
<p>Friendships evolve. Rivalries deepen. Secrets change everything. PlotDirector helps you track how your characters connect and how those relationships change over time.</p>
</div>
</div>
<div class="problem-section reveal-section">
<div class="problem-visual problem-visual--image visual-threads">
<img class="home-feature-image"
src="~/images/home/plot-thread-map.webp"
width="1200"
height="434"
loading="lazy"
alt="Plot threads visualised across scenes in PlotDirector" />
</div>
<div class="problem-copy">
<p class="marketing-eyebrow">Keeping plot threads organised</p>
<h3>Never lose a promise you made to the reader.</h3>
<p>Give each thread a visible lifecycle from introduction to resolution, whether it is a murder clue, family secret, magic rule, rivalry, or slow-burn confession.</p>
</div>
</div>
<div class="problem-section problem-section--reverse reveal-section">
<div class="problem-visual problem-visual--image visual-series">
<img class="home-feature-image"
src="~/images/home/series-dashboard.webp"
width="1200"
height="596"
loading="lazy"
alt="Series dashboard showing books, progress and writing statistics" />
</div>
<div class="problem-copy">
<p class="marketing-eyebrow">Managing series and multiple books</p>
<h3>Keep the whole series organised without flattening the life out of it.</h3>
<p>Long-running mysteries, character journeys, and future revelations become difficult to manage across multiple books. PlotDirector helps you keep the bigger picture in view.</p>
</div>
</div>
<div class="problem-section reveal-section">
<div class="problem-visual problem-visual--image visual-flow">
<img class="home-feature-image"
src="~/images/home/story-timeline.webp"
width="1200"
height="660"
loading="lazy"
alt="Story pacing and emotional timeline visualisation in PlotDirector" />
</div>
<div class="problem-copy">
<p class="marketing-eyebrow">Understanding pacing and emotional flow</p>
<h3>Feel the rhythm of the novel as a whole.</h3>
<p>Action without breathing room can exhaust readers. Quiet moments without momentum can slow the story. PlotDirector helps you visualise pacing and emotional balance across your manuscript.</p>
</div>
</div>
</div>
</section>
<section class="founder-story reveal-section">
<div class="marketing-container founder-story__grid">
<div class="founder-mark" aria-hidden="true">PD</div>
<section class="editorial-section remembers-section">
<div class="marketing-container editorial-split">
<div>
<p class="marketing-eyebrow">Built by an author</p>
<h2>Created by a novelist who needed the same calm.</h2>
<p>
PlotDirector was built while writing a real novel, because spreadsheets, scattered notes and half-finished planning documents weren't enough.
</p>
<p>
It is not trying to turn writing into admin. It is there to keep the admin from eating the writing.
</p>
<p class="marketing-eyebrow">Meet PlotDirector</p>
<h2>Your novel has<br />a lot going on.<br /><em>We've got room.</em>
</h2>
<p>Bring chapters, scenes, characters and plot lines into one connected workspace. Find the detail you need without rummaging through five different documents.</p>
<p>Start with the basics. Let the rest earn its place in your writing day.</p><a class="editorial-link" asp-route="@PublicRouteNames.Features">Come inside <span aria-hidden="true">→</span></a>
</div>
<figure class="product-print product-print--tilt">
<a class="product-preview" href="~/images/public/scene.jpg" target="_blank" rel="noopener" aria-label="Open full-size application screenshot in a new tab"><img src="~/images/public/scene.jpg" width="1440" height="960" loading="lazy" alt="PlotDirector Scene Inspector showing the story, people and details of an example scene." /></a>
<figcaption><span class="hand-note">All those details. One place.</span><span>Scene Inspector · fictional demonstration</span>
</figcaption>
</figure>
</div>
</section>
<section class="bring-manuscript">
<div class="marketing-container import-grid">
<div class="import-pages" aria-hidden="true">
<div><span>YOUR MANUSCRIPT</span>
<p>Chapter 01<br />Chapter 02<br />Chapter 03<br /><i>and all the rest…</i>
</p>
</div><span class="import-arrow">↗</span>
</div>
<div>
<p class="marketing-eyebrow">No blank-slate requirement</p>
<h2>Already halfway through<br />your novel? <em>Perfect.</em><br />Bring it with you.</h2>
<p>You don't have to start again. Import your existing manuscript through the Microsoft Word Companion and build your story workspace from there. Review the result, then carry on with the book you've already begun.</p><a class="editorial-link" asp-route="@PublicRouteNames.Features" asp-fragment="import">A home for the work you've done <span aria-hidden="true">→</span></a>
</div>
</div>
</section>
<section class="social-proof reveal-section">
<section class="editorial-section just-write">
<div class="marketing-container">
<div class="section-heading">
<p class="marketing-eyebrow">Loved by story-obsessed writers</p>
<h2>Authors use PlotDirector to feel in control again.</h2>
<div class="writing-heading">
<p class="marketing-eyebrow">We hear you</p>
<h2>“I just want to write.”<br /><em>Good. So write.</em>
</h2>
<p>You don't need to plan every detail before you begin. Work on your next scene. Keep the structure close when you need it, and get back to your story when you don't.</p>
</div>
<div class="testimonial-grid">
<figure>
<blockquote>"For the first time in years, I could see the whole book without losing the thread."</blockquote>
<figcaption>Anna M., novelist</figcaption>
<figure class="product-print writing-product">
<a class="product-preview" href="~/images/public/writing.jpg" target="_blank" rel="noopener" aria-label="Open full-size application screenshot in a new tab"><img src="~/images/public/writing.jpg" width="1440" height="960" loading="lazy" alt="The actual PlotDirector scene workspace, showing notes and drafting support for a fictional scene." /></a>
<figcaption><span class="hand-note">One scene. Your words. Off you go.</span><span>Scene notes and drafting support</span>
</figcaption>
</figure>
</div>
</section>
<section class="editorial-section story-problems">
<div class="marketing-container">
<div class="section-intro">
<p class="marketing-eyebrow">For the moments that stop you writing</p>
<h2>Less “hang on…”<br /><em>More “what happens next?”</em>
</h2>
</div>
<div class="problem-demonstration">
<figure class="product-print">
<a class="product-preview" href="~/images/public/calendar.jpg" target="_blank" rel="noopener" aria-label="Open full-size application screenshot in a new tab"><img src="~/images/public/calendar.jpg" width="1440" height="960" loading="lazy" alt="PlotDirector story calendar places example scenes in story time." /></a>
</figure>
<figure>
<blockquote>"It helped me spot the contradiction before my reader did."</blockquote>
<figcaption>Maya K., crime writer</figcaption>
</figure>
<figure>
<blockquote>"I stopped opening five documents just to work out what happened next."</blockquote>
<figcaption>Elena S., series author</figcaption>
<div><span class="section-number">01 / TIME</span>
<h3>“Hang on.<br />She's in Birmingham.”</h3>
<p>And the next scene is in London, ten minutes later. Put events in story time with chronology and calendar views, so you can check whether the journey adds up.</p><a class="editorial-link" asp-route="@PublicRouteNames.Features" asp-fragment="timeline">Make time make sense →</a>
</div>
</div>
<div class="problem-demonstration problem-demonstration--reverse">
<figure class="product-print">
<a class="product-preview" href="~/images/public/plot-lines.jpg" target="_blank" rel="noopener" aria-label="Open full-size application screenshot in a new tab"><img src="~/images/public/plot-lines.jpg" width="1920" height="900" loading="lazy" alt="PlotDirector's genuine narrative map arranges example plot lines across scenes." /></a>
</figure>
<div><span class="section-number">02 / THE LOOSE ENDS</span>
<h3>“I've completely<br />neglected this storyline.”</h3>
<p>See how plot lines weave through your scenes. Follow the promises, developments and payoffs, and find the threads that need another look.</p><a class="editorial-link" asp-route="@PublicRouteNames.Features" asp-fragment="plot-lines">Follow the thread →</a>
</div>
</div>
<div class="small-problems"><a asp-route="@PublicRouteNames.Features" asp-fragment="knowledge"><span class="section-number">03 / FINDING THINGS</span>
<h3>“I'm sure I mentioned this earlier.”</h3>
<p>Keep story knowledge and search close to the manuscript.</p><span class="editorial-link">Find your bearings →</span></a><a asp-route="@PublicRouteNames.Features" asp-fragment="characters"><span class="section-number">04 / YOUR CAST</span>
<h3>“Who the hell is Malcolm?”</h3>
<p>A minor character. A major secret. A place to remember both.</p><span class="editorial-link">Meet your characters →</span></a>
</div>
</div>
</section>
<section class="final-cta reveal-section">
<section class="editorial-section application-reveal">
<div class="marketing-container">
<div class="editorial-split">
<div>
<p class="marketing-eyebrow">A space of your own</p>
<h2>Your novel deserves<br />more than another<br /><em>browser tab.</em>
</h2>
</div>
<div>
<p>Install PlotDirector for a clean application window and a workspace that feels like somewhere to settle in. The same story, with a little less around it.</p><a class="editorial-link" asp-route="@PublicRouteNames.Features" asp-fragment="writing">Make yourself at home →</a>
</div>
</div>
<figure class="product-print large-product">
<a class="product-preview" href="~/images/public/workspace.jpg" target="_blank" rel="noopener" aria-label="Open full-size application screenshot in a new tab"><img src="~/images/public/workspace.jpg" width="1440" height="960" loading="lazy" alt="PlotDirector in application presentation, showing an example novel's books, progress and story details without browser chrome." /></a>
<figcaption>Actual PlotDirector application · fictional demonstration project</figcaption>
</figure>
<div class="power-copy">
<p class="marketing-eyebrow">Room for the big picture</p>
<h2>And when your novel<br />isn't simple anymore…</h2>
<p class="serif-statement">PlotDirector doesn't run out of road.</p>
<p>One book or a whole series. A small cast or a world full of people. Connected scenes, chronology, relationships, continuity and insights help you understand the story you've made.</p><a class="editorial-link" asp-route="@PublicRouteNames.Features">See what else is inside →</a>
</div>
</div>
</section>
<section class="writer-philosophy">
<div class="marketing-container"><span class="editorial-asterisk" aria-hidden="true">✳</span>
<p class="marketing-eyebrow">A promise to the person holding the pen</p>
<h2>Your book.<br /><em>Your words.</em>
</h2>
<p>PlotDirector is for novelists who write their own books. It helps organise, understand and analyse what you've written. It doesn't write your novel for you.</p>
<p class="philosophy-signoff">Reads to understand. Never to take over.</p>
</div>
</section>
<section class="final-cta">
<div class="marketing-container final-cta__inner">
<p class="marketing-eyebrow">Start with the story you already have</p>
<h2>Ready to take control of your story?</h2>
<p>Whether you're writing your first novel or untangling an epic series, PlotDirector helps you stay organised, maintain confidence, and finally finish your story.</p>
<a class="marketing-btn marketing-btn--primary" asp-controller="Account" asp-action="Register">Start Your Free Trial</a>
<p class="marketing-eyebrow">The next chapter is yours</p>
<h2>You've got a book to finish.</h2>
<p>Let's give it a little room.</p><a class="marketing-btn marketing-btn--primary" asp-controller="Account" asp-action="Register">Start writing free <span aria-hidden="true">↗</span></a>
<p class="cta-note">30 days free · No card needed</p>
</div>
</section>
</article>
@section Scripts {
<script>
(() => {
const sections = document.querySelectorAll(".reveal-section");
if (!("IntersectionObserver" in window)) {
sections.forEach((section) => section.classList.add("is-visible"));
return;
}
const observer = new IntersectionObserver((entries) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
entry.target.classList.add("is-visible");
observer.unobserve(entry.target);
}
});
}, { threshold: 0.14 });
sections.forEach((section) => observer.observe(section));
})();
</script>
}

View File

@ -11,11 +11,11 @@
<section class="pricing-hero">
<div class="marketing-container pricing-hero__inner">
<p class="marketing-eyebrow">Pricing</p>
<h1>Simple pricing for stories of every size.</h1>
<h1>A little room.<br />Or a whole story world.</h1>
<p class="marketing-lead">Start with a 30-day free trial. No payment details are required until you choose a paid plan.</p>
<div class="marketing-actions">
<a class="marketing-btn marketing-btn--primary" asp-controller="Pricing" asp-action="StartTrial">Start Free Trial</a>
<a class="marketing-btn marketing-btn--secondary" href="#plans">Compare Plans</a>
<a class="marketing-btn marketing-btn--primary" asp-controller="Pricing" asp-action="StartTrial">Start writing free</a>
<a class="marketing-btn marketing-btn--secondary" href="#plans">Compare plans</a>
</div>
</div>
</section>
@ -50,14 +50,16 @@
var isSuggested = suggestedPlanId == plan.SubscriptionLevelID;
var isTrialPlan = !plan.RequiresStripeSubscription;
<article class="pricing-card @(isSuggested ? "pricing-card--featured" : string.Empty) @(isTrialPlan ? "pricing-card--trial" : string.Empty)">
<div class="pricing-card__badges">
@if (isTrialPlan)
{
<p class="pricing-badge pricing-badge--trial">30-day free trial</p>
}
@if (isSuggested)
{
<p class="pricing-badge">Most Popular</p>
<p class="pricing-badge">Room to grow</p>
}
</div>
<div class="pricing-card__heading">
<h3>@plan.DisplayName</h3>
<p>@PlanTagline(plan)</p>
@ -89,6 +91,7 @@
}
<li>@FormatLimit(plan.MaxBooks) books</li>
<li>@FormatLimit(plan.MaxCharactersPerProject) characters per project</li>
<li>@FormatLimit(plan.MaxChaptersPerBook) chapters per book</li>
<li>@FormatLimit(plan.MaxScenesPerBook) scenes per book</li>
<li>@FormatStorageAllowance(plan.MaxStorageMB) storage</li>
<li>@FormatLimit(plan.MaxCollaborators) collaborators</li>
@ -97,12 +100,12 @@
<div class="pricing-card__actions">
@if (!plan.RequiresStripeSubscription)
{
<a class="marketing-btn marketing-btn--primary" asp-controller="Pricing" asp-action="StartTrial">Start Free Trial</a>
<a class="marketing-btn marketing-btn--primary" asp-controller="Pricing" asp-action="StartTrial">Start writing free</a>
}
else
{
<a class="marketing-btn marketing-btn--primary" asp-controller="Pricing" asp-action="Checkout" asp-route-id="@plan.SubscriptionLevelID" asp-route-billingInterval="Monthly">
@(isCurrent ? "Current Plan" : "Subscribe Now")
@(isCurrent ? "Current plan" : "Choose this plan")
</a>
@if (plan.AnnualPricePence.HasValue)
{
@ -125,19 +128,19 @@
</div>
<div class="comparison-grid">
<article>
<h3>Planning capacity</h3>
<p>Database-backed limits for books, chapters, scenes, characters, storage, and collaborators scale with the plan you choose.</p>
<h3>Room for your next book</h3>
<p>Choose the capacity that fits your work. Book, scene, character, storage and collaborator allowances are shown above.</p>
</article>
<article>
<h3>Story organisation</h3>
<h3>Keep your story together</h3>
<p>Characters, plot threads, story assets, locations, and the story bible help keep the moving pieces of your manuscript in one place.</p>
</article>
<article>
<h3>Structure and flow</h3>
<h3>See where the story needs you</h3>
<p>Timeline, scene metrics, story health, and analytics views help you understand pacing, pressure, and revision priorities.</p>
</article>
<article>
<h3>Continuity confidence</h3>
<h3>Keep the details straight</h3>
<p>Relationship mapping, continuity warnings, import, export, backups, and restore points support serious drafting and revision work.</p>
</article>
</div>
@ -165,7 +168,11 @@
</article>
<article>
<h3>What happens to my work if I cancel?</h3>
<p>Your existing story data remains in PlotDirector. Your account may return to the application-managed Draft Desk level after the paid subscription ends.</p>
<p>Your existing story data remains in PlotDirector. Your account may return to Draft Desk after the paid subscription ends.</p>
</article>
<article>
<h3>Will PlotDirector write my book for me?</h3>
<p>No. PlotDirector is designed for authors who write their own books. It helps organise, understand and analyse your work. The writing and creative decisions stay with you.</p>
</article>
<article>
<h3>Is PlotDirector suitable for a series?</h3>
@ -177,7 +184,7 @@
</article>
<article>
<h3>What happens when the trial expires?</h3>
<p>Your trial status will show in your dashboard and subscription pages. When the 30 days are over, choose a paid plan to continue with higher paid-plan access.</p>
<p>Your trial status will show in your dashboard and subscription pages. When the 30 days are over, choose a paid plan to continue with the capacity your story needs.</p>
</article>
</div>
</div>
@ -185,11 +192,11 @@
<section class="final-cta">
<div class="marketing-container final-cta__inner">
<p class="marketing-eyebrow">Begin with clarity</p>
<h2>Ready to take control of your story?</h2>
<p class="marketing-eyebrow">Make room for your story</p>
<h2>Enough about pricing.<br />You've got a book to write.</h2>
<p>Try PlotDirector free for 30 days with no payment details, or choose the paid plan that fits the novel you are building.</p>
<div class="marketing-actions">
<a class="marketing-btn marketing-btn--primary" asp-controller="Pricing" asp-action="StartTrial">Start Free Trial</a>
<a class="marketing-btn marketing-btn--primary" asp-controller="Pricing" asp-action="StartTrial">Start writing free</a>
<a class="marketing-btn marketing-btn--secondary" href="#plans">View Plans</a>
</div>
</div>
@ -231,8 +238,12 @@
return $"{symbol}{pence.Value / 100m:0.00}";
}
private static string PlanTagline(SubscriptionLevel plan) =>
string.IsNullOrWhiteSpace(plan.Description)
? plan.RequiresStripeSubscription ? "For authors ready to build with confidence." : "A calm place to begin."
: plan.Description;
private static string PlanTagline(SubscriptionLevel plan) => plan.DisplayName switch
{
"Draft Desk" => "For finding your feet and trying your first story workspace.",
"Writing Room" => "For the novelist settling into a regular writing rhythm.",
"Story Forge" => "For a growing cast, a bigger book and more moving parts.",
"Author Studio" => "For authors with several books and a whole world to organise.",
_ => "For authors who need a little more room for their stories."
};
}

View File

@ -1,315 +1,206 @@
@{
ViewData["Title"] = "Features";
ViewData["Title"] = "Tour";
ViewData["ShellClass"] = "marketing-shell";
const string Placeholder = "/images/features/feature-placeholder.webp";
}
<article class="marketing-home features-page">
<section class="features-hero reveal-section">
<div class="marketing-container features-hero__grid">
<div class="features-hero__copy">
<p class="marketing-eyebrow">PlotDirector features</p>
<h1>All the tools.<br />One connected story.</h1>
<p class="marketing-lead">
PlotDirector brings every part of your story together - plans, characters, places, objects, timelines, secrets and continuity - so you can focus on the bit that matters most: writing something unforgettable.
</p>
<div class="marketing-actions">
<a class="marketing-btn marketing-btn--primary" asp-controller="Account" asp-action="Register">Start your free trial</a>
<a class="marketing-btn marketing-btn--secondary" asp-route="@PublicRouteNames.Pricing">View pricing</a>
</div>
<div class="features-hero__highlights" aria-label="Feature highlights">
<article>
<strong>Everything connected</strong>
<span>Changes ripple through your story automatically.</span>
</article>
<article>
<strong>Stay consistent</strong>
<span>Spot continuity problems before your readers do.</span>
</article>
<article>
<strong>Write with confidence</strong>
<span>Know what happens when, where, and why.</span>
</article>
</div>
<article class="writer-tour">
<section class="tour-hero">
<div class="marketing-container">
<p class="marketing-eyebrow">A look around PlotDirector</p>
<h1>Come inside.<br /><em>Bring your story.</em>
</h1>
<div class="tour-hero-bottom">
<p class="marketing-lead">A place for the words, the people and the wonderfully tangled thing you're making. Start with what you need. There's plenty to grow into.</p><a class="marketing-btn marketing-btn--primary" asp-controller="Account" asp-action="Register">Start writing free ↗</a>
</div>
<figure class="features-screenshot features-screenshot--hero">
<img src="/images/features/hero-timeline.webp"
onerror="this.onerror=null;this.src='@Placeholder';"
width="1920"
height="1080"
alt="PlotDirector timeline overview with scenes, plot threads and story warnings." />
<figcaption>Timeline overview with scenes, plot threads and story warnings.</figcaption>
</figure>
</div>
</section>
<nav class="features-jump reveal-section" aria-label="Jump to a feature area">
<div class="marketing-container">
<p class="marketing-eyebrow">Jump to a feature area</p>
<div class="features-jump__grid">
<a href="#plan">Plan Your Story</a>
<a href="#create">Create &amp; Write</a>
<a href="#world">Build Your World</a>
<a href="#consistent">Stay Consistent</a>
<a href="#experiment">Experiment</a>
<a href="#publish">Publish &amp; Share</a>
<a href="#word">Word Companion</a>
</div>
<nav class="tour-jump" aria-label="Tour stops">
<div class="marketing-container"><span>YOUR TOUR</span><a href="#writing">Writing</a><a href="#story">Story</a><a href="#characters">Characters</a><a href="#timeline">Timeline</a><a href="#plot-lines">Plot Lines</a><a href="#continuity">Continuity</a><a href="#knowledge">Knowledge / Search</a><a href="#import">Import</a><a href="#insights">Insights</a>
</div>
</nav>
<section class="features-section reveal-section" id="plan">
<section class="tour-stop" id="writing">
<div class="marketing-container">
<div class="features-section__heading">
<p class="marketing-eyebrow">Plan your story</p>
<h2>Lay the perfect foundation for your novel, series or screenplay.</h2>
<p>See the big picture and the tiny details side by side, without turning your creative process into spreadsheet archaeology.</p>
<div class="tour-stop-heading"><span class="section-number">01 / WRITING</span>
<h2>“Right. What am I<br /><em>working on today?”</em>
</h2>
<p>Keep the next scene in reach. PlotDirector gives the work around your writing a home, so getting organised doesn't become a second novel.</p>
</div>
<div class="features-preview-pair">
<figure class="features-screenshot features-screenshot--product">
<img src="/images/features/timeline.webp"
onerror="this.onerror=null;this.src='@Placeholder';"
width="1920"
height="1080"
loading="lazy"
alt="PlotDirector main story timeline with readable landscape scene cards and plot thread lanes." />
<figcaption>Timeline with scenes and threads</figcaption>
</figure>
<figure class="features-screenshot features-screenshot--product">
<img src="/images/features/project-dashboard.webp"
onerror="this.onerror=null;this.src='@Placeholder';"
width="1920"
height="1080"
loading="lazy"
alt="PlotDirector project dashboard showing books, progress and story status." />
<figcaption>Project dashboard</figcaption>
</figure>
</div>
<div class="features-icon-grid">
<article class="feature-icon-card"><span aria-hidden="true">PB</span><h3>Projects, Books &amp; Chapters</h3><p>Organise your series, books and chapters in one clean workspace. Track progress, word counts, deadlines and status at a glance.</p></article>
<article class="feature-icon-card"><span aria-hidden="true">TL</span><h3>Timeline</h3><p>Your story's command centre. Drag scenes, spot gaps, track threads and see your story unfold across time.</p></article>
<article class="feature-icon-card"><span aria-hidden="true">PT</span><h3>Plot Threads</h3><p>Track every promise, mystery, conflict, reveal and payoff. Make sure the thing you set up in chapter three does not quietly vanish into the swamp.</p></article>
<article class="feature-icon-card"><span aria-hidden="true">SC</span><h3>Story Structure</h3><p>Build scenes, link them to chapters, and create the skeleton that supports your entire story.</p></article>
</div>
</div>
</section>
<section class="features-section features-section--soft reveal-section" id="create">
<div class="marketing-container">
<div class="features-section__heading">
<p class="marketing-eyebrow">Create &amp; write</p>
<h2>Turn ideas into words without losing the details that make the story work.</h2>
<p>Everything you need to draft, revise, polish and keep moving.</p>
</div>
<div class="features-split">
<figure class="features-screenshot features-screenshot--product">
<img src="/images/features/scene-inspector.webp"
onerror="this.onerror=null;this.src='@Placeholder';"
width="1920"
height="1080"
loading="lazy"
alt="PlotDirector Scene Inspector summary view with scene details, people, world and continuity." />
<figcaption>Scene Inspector</figcaption>
</figure>
<div class="features-split__copy">
<p class="marketing-eyebrow">Scene Inspector</p>
<h3>Every moving part of a scene, visible at once.</h3>
<p>Everything about a scene in one place: characters, locations, assets, goals, outcomes, notes, warnings and more.</p>
</div>
</div>
<div class="features-icon-grid features-icon-grid--three">
<article class="feature-icon-card"><span aria-hidden="true">WW</span><h3>Writer Workspace</h3><p>Know exactly what to write next. PlotDirector queues scenes by workflow status, priority and progress.</p></article>
<article class="feature-icon-card"><span aria-hidden="true">WS</span><h3>Writing Schedule</h3><p>Turn your deadline into a plan. Set your time, your pace and let PlotDirector build your writing schedule.</p></article>
<article class="feature-icon-card"><span aria-hidden="true">RG</span><h3>Revision &amp; Goals</h3><p>Track revisions, set goals and stay motivated with progress that actually means something.</p></article>
</div>
</div>
</section>
<section class="features-section reveal-section" id="world">
<div class="marketing-container">
<div class="features-section__heading">
<p class="marketing-eyebrow">Build your world</p>
<h2>Bring your world to life with rich detail that is easy to find, track and reuse.</h2>
<p>Because "the pub near the thing with the man" is not a sustainable world-building strategy.</p>
</div>
<div class="features-collage">
<figure class="features-screenshot features-screenshot--product">
<img src="/images/features/floor-plans.webp"
onerror="this.onerror=null;this.src='@Placeholder';"
width="1920"
height="1080"
loading="lazy"
alt="PlotDirector floor plan editor showing rooms, transitions and occupancy." />
<figcaption>Floor plan editor</figcaption>
</figure>
<figure class="features-screenshot features-screenshot--product">
<img src="/images/features/relationship-map.webp"
onerror="this.onerror=null;this.src='@Placeholder';"
width="1920"
height="1080"
loading="lazy"
alt="PlotDirector relationship map showing character connections and changing dynamics." />
<figcaption>Relationship map</figcaption>
</figure>
</div>
<div class="features-icon-grid features-icon-grid--five">
<article class="feature-icon-card"><span aria-hidden="true">CH</span><h3>Characters</h3><p>Create character profiles with aliases, attributes, images, appearances and arcs across your story.</p></article>
<article class="feature-icon-card"><span aria-hidden="true">RE</span><h3>Relationships</h3><p>Map connections, track dynamics and watch relationships evolve over time.</p></article>
<article class="feature-icon-card"><span aria-hidden="true">LO</span><h3>Locations</h3><p>Organise places, link them together and see where your story comes alive.</p></article>
<article class="feature-icon-card"><span aria-hidden="true">FP</span><h3>Floor Plans</h3><p>Design buildings and spaces. See who is where with interactive occupancy views.</p></article>
<article class="feature-icon-card"><span aria-hidden="true">AS</span><h3>Story Assets</h3><p>Track objects, clues, letters, weapons, heirlooms and anything else important to your story.</p></article>
</div>
</div>
</section>
<section class="features-showcase reveal-section" id="consistent">
<div class="marketing-container">
<div class="features-showcase__intro">
<p class="marketing-eyebrow">Stay consistent</p>
<h2>This is where PlotDirector earns its keep.</h2>
<p>Track who knows what, who has what, who was where, and what changed from one scene to the next.</p>
</div>
<figure class="features-screenshot features-screenshot--showcase">
<img src="/images/features/continuity-explorer.webp"
onerror="this.onerror=null;this.src='@Placeholder';"
width="1920"
height="1080"
loading="lazy"
alt="PlotDirector Continuity Explorer showing readable story state across a landscape timeline." />
<figcaption>Continuity Explorer</figcaption>
<figure class="product-print">
<a class="product-preview" href="~/images/public/writing.jpg" target="_blank" rel="noopener" aria-label="Open full-size application screenshot in a new tab"><img src="~/images/public/writing.jpg" width="1440" height="960" alt="Actual scene workspace with drafting support and notes for a fictional scene." /></a>
<figcaption>Scene workspace · fictional demonstration</figcaption>
</figure>
<div class="features-icon-grid features-icon-grid--showcase">
<article class="feature-icon-card"><span aria-hidden="true">SS</span><h3>Story State</h3><p>Track who knows what, who owns what, and what changed when.</p></article>
<article class="feature-icon-card"><span aria-hidden="true">AC</span><h3>Asset Custody</h3><p>Always know who has what, where it is, and when it changed hands.</p></article>
<article class="feature-icon-card"><span aria-hidden="true">LA</span><h3>Location Activity</h3><p>See which characters were where, when, and for how long.</p></article>
<article class="feature-icon-card"><span aria-hidden="true">WC</span><h3>Warnings &amp; Checks</h3><p>Spot problems early with smart warnings and helpful suggestions.</p></article>
<article class="feature-icon-card"><span aria-hidden="true">SH</span><h3>Story Health</h3><p>Measure pacing, balance, thread health and more. Keep your story strong.</p></article>
</div>
<aside class="features-did-you-know">
<strong>Did you know?</strong>
<p>Move a scene on the Timeline and PlotDirector keeps the rest of your story model in sync - characters, locations, assets, story state, continuity and writing plans.</p>
</aside>
<ul class="tour-capabilities">
<li>Scene notes and checklists</li>
<li>Drafting and revision workflow</li>
<li>Microsoft Word Companion</li>
</ul>
</div>
</section>
<section class="features-section reveal-section" id="experiment">
<div class="marketing-container">
<div class="features-section__heading">
<p class="marketing-eyebrow">Experiment safely</p>
<h2>Try new ideas without breaking your main story.</h2>
<p>Test different orders and explore possibilities while your real manuscript stays steady.</p>
</div>
<figure class="features-screenshot features-screenshot--wide">
<img src="/images/features/scenarios.webp"
onerror="this.onerror=null;this.src='@Placeholder';"
width="1920"
height="1080"
loading="lazy"
alt="PlotDirector scenario timeline for alternate story orders and what-if structures." />
<figcaption>Scenario timeline</figcaption>
</figure>
<div class="features-icon-grid features-icon-grid--three">
<article class="feature-icon-card"><span aria-hidden="true">SC</span><h3>Scenarios</h3><p>Create alternate story orders and what-if structures. Perfect for trying bold changes.</p></article>
<article class="feature-icon-card"><span aria-hidden="true">CV</span><h3>Compare &amp; Validate</h3><p>See how your scenario compares to the main story and validate the impact.</p></article>
<article class="feature-icon-card"><span aria-hidden="true">AP</span><h3>Apply with Confidence</h3><p>When you are happy, apply changes back to your main story in one click.</p></article>
</div>
</div>
</section>
<section class="features-section features-section--soft reveal-section" id="publish">
<div class="marketing-container">
<div class="features-section__heading">
<p class="marketing-eyebrow">Publish, share &amp; protect</p>
<h2>Your story knowledge should never be trapped.</h2>
<p>Export it, share it, back it up and keep control of everything you have built.</p>
</div>
<div class="features-icon-grid features-icon-grid--publish">
<article class="feature-icon-card feature-icon-card--large"><span aria-hidden="true">SB</span><h3>Story Bible</h3><p>Create a one-click story bible with characters, settings, timelines, threads and more.</p></article>
<article class="feature-icon-card feature-icon-card--large"><span aria-hidden="true">EX</span><h3>Exports</h3><p>Export timelines, character guides, scene briefs and more in useful formats.</p></article>
<article class="feature-icon-card feature-icon-card--large"><span aria-hidden="true">BK</span><h3>Backups</h3><p>Create backups and restore points so your work stays safe.</p></article>
<article class="feature-icon-card feature-icon-card--large"><span aria-hidden="true">CO</span><h3>Collaboration</h3><p>Invite trusted collaborators, editors or co-writers into your project.</p></article>
<article class="feature-icon-card feature-icon-card--large"><span aria-hidden="true">PE</span><h3>Permissions</h3><p>Granular permissions help ensure the right people see the right things.</p></article>
</div>
</div>
</section>
<section class="features-word reveal-section" id="word">
<div class="marketing-container features-word__grid">
<div>
<p class="marketing-eyebrow">Microsoft Word Companion</p>
<h2>Write in Word. Stay connected to your story.</h2>
<p>The Microsoft Word Companion links your manuscript to PlotDirector, so your planning and your writing can work together instead of living in separate worlds.</p>
<ul class="features-bullet-list">
<li>Sync chapters and scenes</li>
<li>Update word counts automatically</li>
<li>Detect characters, assets and locations</li>
<li>Get suggestions and continuity warnings as you write</li>
<li>Keep PlotDirector focused on the scene you are working on</li>
<section class="tour-stop tour-stop--soft" id="story">
<div class="marketing-container editorial-split">
<div><span class="section-number">02 / STORY</span>
<h2>A whole book.<br /><em>Manageable pieces.</em>
</h2>
<p>From an idea for chapter one to a series with a life of its own. Organise projects, books, chapters and scenes without losing sight of what connects them.</p>
<ul class="editorial-list">
<li>See your books and progress together</li>
<li>Keep scene summaries and story purpose close</li>
<li>Move between the big picture and the details</li>
</ul>
</div>
<figure class="features-screenshot">
<img src="/images/features/word-companion.webp"
onerror="this.onerror=null;this.src='@Placeholder';"
width="1920"
height="1080"
loading="lazy"
alt="Microsoft Word document with the PlotDirector Companion pane connected to story planning data." />
<figcaption>Word document with PlotDirector Companion pane</figcaption>
<figure class="product-print">
<a class="product-preview" href="~/images/public/workspace.jpg" target="_blank" rel="noopener" aria-label="Open full-size application screenshot in a new tab"><img src="~/images/public/workspace.jpg" width="1440" height="960" loading="lazy" alt="Actual project dashboard showing a demonstration book and progress." /></a>
<figcaption>Project overview</figcaption>
</figure>
</div>
</section>
<section class="features-faq reveal-section" aria-labelledby="features-faq-heading">
<div class="marketing-container">
<div class="section-heading">
<p class="marketing-eyebrow">Questions writers ask</p>
<h2 id="features-faq-heading">PlotDirector FAQ</h2>
</div>
<div class="faq-grid">
<article><h3>What is PlotDirector?</h3><p>PlotDirector is story planning and writing software for authors. It helps writers organise books, chapters, scenes, characters, locations, timelines, plot threads, continuity, writing schedules and story bibles in one connected workspace.</p></article>
<article><h3>Can PlotDirector help with story continuity?</h3><p>Yes. PlotDirector includes continuity tools for tracking characters, locations, story assets, knowledge, custody, warnings and story state across scenes.</p></article>
<article><h3>Does PlotDirector work with Microsoft Word?</h3><p>PlotDirector includes a Microsoft Word Companion designed to connect your manuscript with your planning data, helping sync chapters, scenes, word counts and story details.</p></article>
<article><h3>Can I use PlotDirector for a series?</h3><p>Yes. PlotDirector supports projects, books, chapters and scenes, making it suitable for novels, series, screenplays and larger story worlds.</p></article>
<article><h3>Does PlotDirector include character and relationship tracking?</h3><p>Yes. PlotDirector includes character profiles, aliases, appearances, relationship tracking, relationship maps and changes over time.</p></article>
<article><h3>Can PlotDirector create a story bible?</h3><p>Yes. PlotDirector can produce story bible exports containing key information about characters, settings, plot threads, timelines and other story details.</p></article>
<section class="tour-stop" id="characters">
<div class="marketing-container editorial-split editorial-split--reverse">
<div><span class="section-number">03 / CHARACTERS</span>
<h2>“Who the hell<br /><em>is Malcolm?”</em>
</h2>
<p>He might only appear twice. That doesn't mean you should have to invent him twice. Give every character a place, and keep their details close as your cast grows.</p>
<ul class="editorial-list">
<li>Character profiles and aliases</li>
<li>Relationships and scene appearances</li>
<li>Notes for the details that matter</li>
</ul>
</div>
<figure class="product-print">
<a class="product-preview" href="~/images/public/characters.jpg" target="_blank" rel="noopener" aria-label="Open full-size application screenshot in a new tab"><img src="~/images/public/characters.jpg" width="1440" height="960" loading="lazy" alt="The actual character profile workspace, using fictional character Mara Vale." /></a>
<figcaption>A home for your cast</figcaption>
</figure>
</div>
</section>
<section class="final-cta reveal-section">
<div class="marketing-container final-cta__inner">
<p class="marketing-eyebrow">Ready to bring your story to life?</p>
<h2>Ready to bring your story to life?</h2>
<p>Join thousands of writers who plan, write and finish with PlotDirector.</p>
<div class="marketing-actions">
<a class="marketing-btn marketing-btn--primary" asp-controller="Account" asp-action="Register">Start your free trial</a>
<a class="marketing-btn marketing-btn--secondary" asp-route="@PublicRouteNames.Pricing">View pricing</a>
<section class="tour-stop tour-stop--sage" id="timeline">
<div class="marketing-container">
<div class="tour-stop-heading"><span class="section-number">04 / TIMELINE</span>
<h2>“Didn't this happen<br /><em>on Thursday?”</em>
</h2>
<p>Story order and story time aren't always the same thing. See where your scenes fall, follow chronology and check the gaps between events.</p>
</div>
<small>Free trial available. No card required. Cancel anytime.</small>
<figure class="product-print">
<a class="product-preview" href="~/images/public/calendar.jpg" target="_blank" rel="noopener" aria-label="Open full-size application screenshot in a new tab"><img src="~/images/public/calendar.jpg" width="1440" height="960" loading="lazy" alt="Real story calendar showing fictional scenes arranged in story time." /></a>
<figcaption>Story Calendar · make time make sense</figcaption>
</figure>
<ul class="tour-capabilities">
<li>Scene timeline</li>
<li>Story dates and chronology</li>
<li>Calendar view</li>
</ul>
</div>
</section>
<section class="tour-stop" id="plot-lines">
<div class="marketing-container">
<div class="editorial-split">
<div><span class="section-number">05 / PLOT LINES</span>
<h2>Every promise<br /><em>needs somewhere to go.</em>
</h2>
</div>
<div>
<p>The mystery. The friendship. The secret that changes everything. Follow plot lines and their threads through your scenes, individually or woven together.</p>
<p>See where an arc develops, where it resolves, and where it might have been left behind.</p>
</div>
</div>
<figure class="product-print large-product">
<a class="product-preview" href="~/images/public/plot-lines.jpg" target="_blank" rel="noopener" aria-label="Open full-size application screenshot in a new tab"><img src="~/images/public/plot-lines.jpg" width="1920" height="900" loading="lazy" alt="Genuine Plot Lines Workspace narrative map rendered with fictional regression data." /></a>
<figcaption>Plot Lines Workspace · follow the weave</figcaption>
</figure>
<ul class="tour-capabilities">
<li>Focus on one plot line</li>
<li>Compare the weave across scenes</li>
<li>Track thread development and payoffs</li>
</ul>
</div>
</section>
<section class="tour-stop tour-stop--soft" id="continuity">
<div class="marketing-container editorial-split">
<div><span class="section-number">06 / CONTINUITY</span>
<h2>Readers remember.<br /><em>Let's help you do it too.</em>
</h2>
<p>Characters shouldn't know a secret before they've heard it. An important object shouldn't quietly disappear. Keep track of story details and review continuity warnings as you revise.</p>
<ul class="editorial-list">
<li>Review scene continuity warnings</li>
<li>Track characters, locations and objects</li>
<li>Use your judgement to resolve issues</li>
</ul>
</div>
<figure class="product-print">
<a class="product-preview" href="~/images/public/continuity.jpg" target="_blank" rel="noopener" aria-label="Open full-size application screenshot in a new tab"><img src="~/images/public/continuity.jpg" width="1440" height="960" loading="lazy" alt="Actual continuity review panel showing an example warning for a fictional scene." /></a>
<figcaption>A second look at the details</figcaption>
</figure>
</div>
</section>
<section class="tour-stop" id="knowledge">
<div class="marketing-container editorial-split editorial-split--reverse">
<div><span class="section-number">07 / KNOWLEDGE &amp; SEARCH</span>
<h2>“I'm sure I<br /><em>mentioned this earlier.”</em>
</h2>
<p>Give your story's knowledge a home. Record who knows what, connect details to scenes and search your story bible when you need to find your bearings.</p>
<ul class="editorial-list">
<li>Character knowledge changes</li>
<li>Connections to story assets and threads</li>
<li>Searchable story bible</li>
</ul>
</div>
<figure class="product-print">
<a class="product-preview" href="~/images/public/knowledge.jpg" target="_blank" rel="noopener" aria-label="Open full-size application screenshot in a new tab"><img src="~/images/public/knowledge.jpg" width="1440" height="960" loading="lazy" alt="Actual scene knowledge panel with fictional character knowledge records." /></a>
<figcaption>Who knows what, and when</figcaption>
</figure>
</div>
</section>
<section class="tour-stop tour-stop--soft" id="import">
<div class="marketing-container">
<div class="tour-stop-heading"><span class="section-number">08 / IMPORT</span>
<h2>You didn't come this far<br /><em>to start from scratch.</em>
</h2>
<p>Bring your manuscript from Microsoft Word into the guided import. Scan, review the detected structure and approve what comes into your workspace. Then build from the work you've already done.</p>
</div>
<figure class="product-print">
<a class="product-preview" href="~/images/public/import.jpg" target="_blank" rel="noopener" aria-label="Open full-size application screenshot in a new tab"><img src="~/images/public/import.jpg" width="1440" height="960" loading="lazy" alt="Actual PlotDirector guided manuscript import interface, using a fictional demonstration project." /></a>
<figcaption>Guided manuscript import · review before you continue</figcaption>
</figure>
<ul class="tour-capabilities">
<li>Bring your existing manuscript</li>
<li>Review chapters and scenes</li>
<li>Keep control of what you import</li>
</ul>
</div>
</section>
<section class="tour-stop" id="insights">
<div class="marketing-container editorial-split">
<div><span class="section-number">09 / INSIGHTS</span>
<h2>Step back.<br /><em>See the story.</em>
</h2>
<p>When you're deep in a draft, perspective is hard to find. Review story progress, scene metrics and story health to help decide where your next revision will count.</p>
<ul class="editorial-list">
<li>Book and project progress</li>
<li>Scene metrics and pacing</li>
<li>Story health and revision priorities</li>
</ul>
<p class="tour-aside">PlotDirector helps you understand your work. The creative decisions stay with you.</p>
</div>
<figure class="product-print">
<a class="product-preview" href="~/images/public/insights.jpg" target="_blank" rel="noopener" aria-label="Open full-size application screenshot in a new tab"><img src="~/images/public/insights.jpg" width="1440" height="960" loading="lazy" alt="Actual PlotDirector plot health panel showing example story development and revision signals." /></a>
<figcaption>Room for a wider view</figcaption>
</figure>
</div>
</section>
<section class="writer-philosophy writer-philosophy--compact">
<div class="marketing-container">
<p class="marketing-eyebrow">Through it all</p>
<h2>Your book. <em>Your words.</em>
</h2>
<p>PlotDirector reads to understand, not to write. It helps organise and analyse your manuscript. The novel is yours to tell.</p>
</div>
</section>
<section class="final-cta">
<div class="marketing-container final-cta__inner">
<p class="marketing-eyebrow">Make yourself at home</p>
<h2>Start with your next scene.</h2>
<p>You don't have to use everything. Just the things that help.</p>
<div class="marketing-actions"><a class="marketing-btn marketing-btn--primary" asp-controller="Account" asp-action="Register">Start writing free ↗</a><a class="editorial-link" asp-route="@PublicRouteNames.Pricing">Find your writing room →</a>
</div>
<p class="cta-note">30 days free · No card needed</p>
</div>
</section>
</article>
@section Scripts {
<script>
(() => {
const sections = document.querySelectorAll(".reveal-section");
if (!("IntersectionObserver" in window)) {
sections.forEach((section) => section.classList.add("is-visible"));
return;
}
const observer = new IntersectionObserver((entries) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
entry.target.classList.add("is-visible");
observer.unobserve(entry.target);
}
});
}, { threshold: 0.12 });
sections.forEach((section) => observer.observe(section));
})();
</script>
}

View File

@ -0,0 +1,134 @@
@using System.Security.Claims
@inject IConfiguration Configuration
@inject PlotLine.Data.IAppearanceRepository AppearancePreferences
@{
var isAuthentication = string.Equals(ViewContext.RouteData.Values["controller"]?.ToString(), "Account", StringComparison.OrdinalIgnoreCase);
string? accountTheme = null;
if (isAuthentication && User.Identity?.IsAuthenticated == true && int.TryParse(User.FindFirstValue(ClaimTypes.NameIdentifier), out var accountUserId))
{
accountTheme = (await AppearancePreferences.GetAsync(accountUserId)).ThemeKey;
}
var seoMetadata = ViewData["Seo"] as SeoMetadata;
var defaultTitle = PublicSeo.DisplayTitle(ViewData["Title"] as string);
var seoTitle = ViewData["SeoTitle"] is string seoTitleValue ? seoTitleValue : defaultTitle;
var hasSeoMetadata = seoMetadata is not null || ViewData["SeoDescription"] is string || ViewData["CanonicalUrl"] is string;
var seoDescription = ViewData["SeoDescription"] as string;
var canonicalUrl = ViewData["CanonicalUrl"] as string;
var seoKeywords = ViewData["SeoKeywords"] as string;
var structuredData = ViewData["StructuredData"] is IEnumerable<string> structuredDataValues ? structuredDataValues : Array.Empty<string>();
var ogTitle = ViewData["OgTitle"] as string ?? seoTitle;
var ogDescription = ViewData["OgDescription"] as string ?? seoDescription;
var ogType = ViewData["OgType"] as string ?? "website";
var ogImageUrl = ViewData["OgImage"] as string ?? PublicSeo.AbsoluteUrl(Configuration, PublicSeo.DefaultOgImagePath);
var twitterCard = ViewData["TwitterCard"] as string ?? "summary_large_image";
}
<!DOCTYPE html>
<html lang="en-GB" data-theme="light" data-bs-theme="light" data-site-theme="public">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@seoTitle</title>
@if (hasSeoMetadata)
{
@if (!string.IsNullOrWhiteSpace(seoDescription))
{
<meta name="description" content="@seoDescription" />
}
@if (!string.IsNullOrWhiteSpace(seoKeywords))
{
<meta name="keywords" content="@seoKeywords" />
}
<meta name="robots" content="index, follow" />
<meta property="og:site_name" content="PlotDirector" />
<meta property="og:title" content="@ogTitle" />
@if (!string.IsNullOrWhiteSpace(ogDescription))
{
<meta property="og:description" content="@ogDescription" />
}
<meta property="og:type" content="@ogType" />
@if (!string.IsNullOrWhiteSpace(canonicalUrl))
{
<meta property="og:url" content="@canonicalUrl" />
}
<meta property="og:image" content="@ogImageUrl" />
<meta name="twitter:card" content="@twitterCard" />
<meta name="twitter:title" content="@ogTitle" />
@if (!string.IsNullOrWhiteSpace(ogDescription))
{
<meta name="twitter:description" content="@ogDescription" />
}
<meta name="twitter:image" content="@ogImageUrl" />
}
@foreach (var jsonLd in structuredData)
{
@Html.Raw("<script type=\"application/ld+json\">")
@Html.Raw(jsonLd)
@Html.Raw("</script>")
}
@if (!string.IsNullOrWhiteSpace(canonicalUrl))
{
<link rel="canonical" href="@canonicalUrl" />
}
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
<link rel="stylesheet" href="~/css/public-site.css" asp-append-version="true" />
<link rel="icon" href="~/favicon.svg" type="image/svg+xml" />
<meta name="theme-color" content="#f8f5ee" />
@if (isAuthentication)
{
<link id="public-auth-base" rel="stylesheet" href="~/css/plotline-theme.css" asp-append-version="true" media="not all" />
<link rel="manifest" href="~/site.webmanifest" />
<link rel="stylesheet" href="~/css/application-shell.css" asp-append-version="true" />
<script src="~/js/application-display-mode.js" asp-append-version="true"></script>
<script>window.plotdirectorAuthTheme = @Html.Raw(System.Text.Json.JsonSerializer.Serialize(accountTheme));</script>
<script src="~/js/public-auth-theme.js" asp-append-version="true"></script>
}
</head>
<body class="public-site @(isAuthentication ? "public-auth" : "")">
<a class="public-skip" href="#main-content">Skip to content</a>
<header class="public-header">
<nav class="navbar navbar-expand-md public-nav" aria-label="Main navigation">
<div class="marketing-container">
<a class="public-wordmark" asp-route="@PublicRouteNames.Home"><span class="public-logo-mark" aria-hidden="true">p<span>.</span></span>PlotDirector</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#publicMenu" aria-controls="publicMenu" aria-expanded="false" aria-label="Open navigation"><span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="publicMenu">
<div class="public-links">
<a asp-route="@PublicRouteNames.Home">Home</a>
<a asp-route="@PublicRouteNames.Features">Tour</a>
<a asp-route="@PublicRouteNames.Pricing">Pricing</a>
<a asp-route="@PublicRouteNames.Help">Help</a>
</div>
<div class="public-account">
@if (User.Identity?.IsAuthenticated == true)
{
<a asp-controller="Projects" asp-action="Index">Your workspace <span aria-hidden="true">↗</span></a>
}
else
{
<a asp-controller="Account" asp-action="Login">Sign in</a>
<a class="marketing-btn marketing-btn--primary" asp-controller="Account" asp-action="Register">Start writing <span aria-hidden="true">↗</span></a>
}
</div>
</div>
</div>
</nav>
</header>
<main id="main-content" class="@(isAuthentication ? "public-auth-main" : "marketing-shell")" tabindex="-1">
@RenderBody()
</main>
<footer class="public-footer">
<div class="marketing-container">
<div class="public-footer-top"><a class="public-wordmark" asp-route="@PublicRouteNames.Home">PlotDirector<span class="gold-dot">.</span></a><p>Your book. Your words.<br />A little less to keep in your head.</p></div>
<nav class="public-footer__nav" aria-label="Footer navigation">
<a asp-route="@PublicRouteNames.Features">Tour</a><a asp-route="@PublicRouteNames.Pricing">Pricing</a><a asp-route="@PublicRouteNames.Help">Help</a><a asp-route="@PublicRouteNames.About">Our story</a><a asp-route="@PublicRouteNames.Contact">Contact</a><a asp-route="@PublicRouteNames.Privacy">Privacy</a><a asp-route="@PublicRouteNames.Terms">Terms</a>
</nav>
<p class="public-colophon">© @DateTime.UtcNow.Year PlotDirector. For the stories only you can tell.</p>
</div>
</footer>
<script src="~/lib/jquery/dist/jquery.min.js"></script>
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="~/js/site.js" asp-append-version="true"></script>
@await RenderSectionAsync("Scripts", required: false)
</body>
</html>

View File

@ -1,3 +1,8 @@
@{
Layout = "_Layout";
@{
var controller = ViewContext.RouteData.Values["controller"]?.ToString();
var action = ViewContext.RouteData.Values["action"]?.ToString();
var publicPage = controller is "Public" or "Help" or "Account"
|| (controller == "Home" && action == "Index")
|| (controller == "Pricing" && action == "Index");
Layout = publicPage ? "_PublicLayout" : "_Layout";
}

View File

@ -0,0 +1,395 @@
/* A dedicated public palette. No application preference participates in this scope. */
html[data-site-theme="public"] {
--paper: #f8f5ee; --paper-deep: #eee9de; --ink: #292c27; --muted: #65665b; --gold: #e3b85e; --gold-dark: #876127; --sage: #e6eade; --line: #d9d8cb;
--marketing-navy: var(--ink); --marketing-ink: var(--ink); --marketing-gold: var(--gold); --marketing-cream: var(--paper); --marketing-offwhite: #fffdf7; --marketing-muted: var(--muted); --marketing-line: var(--line);
scroll-behavior: smooth; scroll-padding-top: 110px;
body.public-site { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", system-ui, sans-serif; font-size: 16px; line-height: 1.7; }
.public-site *, .public-site *::before, .public-site *::after { box-sizing: border-box; }
.public-site { h1,h2,h3,h4 { color: var(--ink); } h1,h2,h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; line-height: 1.08; } h1 { font-size: clamp(3.6rem,6vw,6.4rem); } h2 { font-size: clamp(2.6rem,4.1vw,4.4rem); } h3 { font-size: clamp(2rem,3vw,3rem); } h1 em,h2 em { font-weight: 400; color: #6b7655; } :where(p) { margin: 0 0 1.2rem; } :where(a) { color: inherit; } img { max-width: 100%; } :focus-visible { outline: 3px solid #916122; outline-offset: 5px; } }
.marketing-container { width: min(1280px, calc(100% - 112px)); max-width: 1280px; margin-inline: auto; padding: 0; }
.marketing-shell { width: 100%; max-width: none; padding: 0; margin: 0; }
.marketing-shell main { padding: 0; }
.public-skip { position: fixed; top: -100px; left: 20px; z-index: 1000; padding: 10px 20px; color: var(--paper); background: var(--ink); }
.public-skip:focus { top: 10px; }
.public-header { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 20; }
.public-nav { min-height: 100px; padding: 16px 0; }
.public-nav > .marketing-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.public-wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 700 27px/1 Georgia,serif; letter-spacing: -1px; text-decoration: none; white-space: nowrap; }
.public-logo-mark { width: 35px; height: 37px; display: inline-block; font-size: 38px; line-height: .8; border-bottom: 2px solid var(--gold-dark); }
.public-logo-mark span,.gold-dot { color: var(--gold-dark); }
#publicMenu { justify-content: space-between; margin-left: 65px; gap: 20px; }
.public-links,.public-account { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.public-links a,.public-account > a:not(.marketing-btn) { text-decoration: none; padding-block: 8px; border-bottom: 1px solid transparent; }
.public-links a:hover,.public-account > a:not(.marketing-btn):hover { border-color: var(--gold-dark); }
.marketing-btn { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 52px; border: 1px solid transparent; border-radius: 4px; padding: 13px 24px; font: 600 14px/1.5 "Segoe UI",system-ui,sans-serif; letter-spacing: 0; text-decoration: none; box-shadow: none; transition: background .2s,transform .2s; white-space: normal; }
.public-site a.marketing-btn--primary, .marketing-btn--primary { background: var(--ink); border-color: var(--ink); color: #fffdf7; }
.marketing-btn--primary:hover { background: #444a39; color: #fffdf7; border-color: #444a39; transform: translateY(-2px); }
.marketing-btn--secondary { background: transparent; border-color: #a3a595; color: var(--ink); }
.marketing-btn--secondary:hover { background: var(--paper-deep); color: var(--ink); }
.marketing-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.marketing-eyebrow { color: var(--muted); font: 600 11px/1.5 "Segoe UI",system-ui,sans-serif; letter-spacing: .17em; text-transform: uppercase; margin: 0 0 22px; }
.eyebrow-line { display: inline-block; width: 30px; height: 1px; background: var(--gold-dark); vertical-align: middle; margin-right: 10px; }
.marketing-lead { font-size: 18px; line-height: 1.75; color: var(--muted); max-width: 530px; }
.editorial-link { display: inline-block; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid #aeb19d; padding-bottom: 3px; }
.editorial-link:hover { color: #6b7655; border-color: #6b7655; }
.cta-note { font-size: 12px; color: var(--muted); margin-top: 18px; }
.writer-hero { position: relative; overflow: clip; padding: 78px 0 85px; background: radial-gradient(ellipse at 85% 50%,#e9e7d9 0,transparent 57%); }
.writer-hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 45px; }
.writer-hero h1 { margin-bottom: 26px; font-size: clamp(3.8rem,5.9vw,6.3rem); }
.writer-hero h1 em { position: relative; }
.writer-hero h1 em::after { content: ''; position: absolute; height: 5px; bottom: -3px; left: -3%; width: 110%; background: var(--gold); border-radius: 50%; transform: rotate(-4deg); }
.writer-hero .marketing-lead { max-width: 430px; font-size: 16px; }
.writer-hero .marketing-actions { gap: 22px; }
.writing-desk { height: 645px; position: relative; margin-right: -24px; }
.desk-rule { position: absolute; top: -8px; left: 55px; font-size: 9px; letter-spacing: .25em; color: #858677; transform: rotate(-5deg); }
.manuscript-sheet { position: absolute; inset: 26px 60px 60px 25px; padding: 36px 40px; background: #fffef9; box-shadow: 1px 3px 6px #33321c0b, 7px 16px 35px #33321c18; transform: rotate(-5deg); border: 1px solid #e7e3d6; font: 16px/1.9 Georgia,serif; }
.manuscript-sheet::before { content: ''; position: absolute; inset: 6px -8px -7px 8px; background: #fbf9f2; border: 1px solid #e1ded3; z-index: -1; transform: rotate(2deg); }
.manuscript-running { display: flex; justify-content: space-between; font: 8px/1.5 "Segoe UI",sans-serif; letter-spacing: .2em; color: #8a8a7f; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 35px !important; }
.manuscript-chapter { text-align: center; font-variant: small-caps; font-size: 14px; margin: 0 0 8px !important; }
.manuscript-sheet h2 { text-align: center; font-size: 31px; margin-bottom: 27px; }
.manuscript-sheet > p:not(.manuscript-running,.manuscript-chapter) { text-indent: 18px; margin-bottom: 9px; }
.editorial-underline { text-decoration: underline; text-decoration-color: #c49845; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.manuscript-fade { opacity: .35; }
.hand-note { font: italic 19px/1.4 "Segoe Print","Bradley Hand",cursive; color: #6a704f; letter-spacing: -.5px; }
.manuscript-sheet > .hand-note { position: absolute; bottom: 28px; left: 32px; transform: rotate(-2deg); }
.desk-note { position: absolute; top: 135px; right: -8px; width: 189px; padding: 29px 22px 23px; background: #f1d88d; transform: rotate(8deg); box-shadow: 3px 9px 15px #3c351319; }
.desk-note small { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: #76602e; }
.desk-note p { font: 24px/1.25 Georgia,serif; margin-block: 12px 20px; }
.desk-note .hand-note { font-size: 15px; color: #665935; }
.note-pin { position: absolute; top: -9px; left: 55px; width: 70px; height: 22px; background: #e2dcc8a3; transform: rotate(-12deg); }
.desk-answer { position: absolute; bottom: 12px; left: 90px; right: 20px; display: flex; gap: 16px; padding: 22px 26px; background: #fdfdf6; border: 1px solid #d3d9c7; border-left: 4px solid #788766; box-shadow: 3px 9px 25px #3d422819; transform: rotate(2deg); }
.answer-tick { color: #667750; font-size: 21px; }
.desk-answer small { display: block; color: var(--muted); font-size: 10px; margin-bottom: 5px; }
.desk-answer strong { display: block; font: 24px/1.2 Georgia,serif; }
.desk-answer a { display: inline-block; margin-top: 8px; font-size: 11px; text-decoration: none; border-bottom: 1px solid var(--line); }
.desk-pencil { position: absolute; height: 285px; width: 8px; background: linear-gradient(90deg,#b97e2c,#eac16d 45%,#c99b4d); bottom: 85px; left: 25px; transform: rotate(18deg); border-top: 12px solid #c3b294; border-bottom: 14px solid #37352d; box-shadow: 4px 2px 4px #0002; }
.desk-caption { position: absolute; bottom: -36px; right: 38px; font: italic 15px Georgia,serif; color: #878777; }
.writer-problems { padding: 90px 0 65px; text-align: center; border-top: 1px solid var(--line); background: #f1efe6; }
.writer-problems h2 { font-size: clamp(2.5rem,3.8vw,4rem); }
.question-scatter { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px 25px; padding: 40px 40px 28px; max-width: 1100px; margin: auto; }
.question-scatter p { padding: 12px 21px; background: #fffdf7; font: 19px/1.5 Georgia,serif; box-shadow: 0 3px 8px #24291408; margin: 0; transform: rotate(-2deg); }
.question-scatter p:nth-child(2n) { transform: rotate(2deg); background: #e8eadf; }
.question-scatter p:last-child { background: #f3dfa5; }
.problem-answer { margin-top: 16px; color: var(--muted); font-size: 15px; }
.problem-answer > span { font: 32px Georgia,serif; color: #7e865e; }
.problem-answer strong { color: var(--ink); font-weight: 500; }
.editorial-section { padding: 115px 0; }
.editorial-split { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 85px; }
.editorial-split > div > p:not(.marketing-eyebrow) { max-width: 470px; color: var(--muted); }
.editorial-split h2 { margin-bottom: 28px; }
.product-print { margin: 0; min-width: 0; padding: 9px; background: #fffef9; border: 1px solid #d8d8cc; box-shadow: 0 14px 35px #272e1910; border-radius: 5px; }
.product-preview { display: block; cursor: zoom-in; border-radius: 2px; }
.product-print img { display: block; width: 100%; height: auto; border: 1px solid #e6e5da; border-radius: 2px; }
.product-print figcaption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 12px 8px 3px; font-size: 10px; color: var(--muted); }
.product-print--tilt { transform: rotate(1.5deg); }
.bring-manuscript { background: var(--sage); padding: 75px 0; border-block: 1px solid #d7dccb; }
.import-grid { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 100px; }
.import-grid h2 { font-size: clamp(2.4rem,3.6vw,3.8rem); margin-bottom: 24px; }
.import-grid > div > p:not(.marketing-eyebrow) { max-width: 540px; color: #5f6756; }
.import-pages { height: 290px; display: grid; place-items: center; position: relative; }
.import-pages > div { position: relative; width: 205px; background: #fffdf7; padding: 30px; transform: rotate(-7deg); box-shadow: 4px 8px 20px #353f2712; border: 1px solid #d5d8c8; }
.import-pages > div::before { content: ''; position: absolute; inset: 8px -10px -10px 10px; background: #f8f7ed; border: 1px solid #d5d8c8; transform: rotate(4deg); z-index: -1; }
.import-pages span:not(.import-arrow) { font-size: 8px; letter-spacing: .15em; }
.import-pages p { font: 21px/1.9 Georgia,serif; margin-top: 20px; margin-bottom: 0; }
.import-pages i { font-size: 13px; color: var(--muted); }
.import-arrow { position: absolute; right: -20px; bottom: 15px; font: 100px Georgia,serif; color: #7a875f; transform: rotate(16deg); }
.writing-heading { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.writing-heading h2 { margin-bottom: 26px; }
.writing-heading p:not(.marketing-eyebrow) { max-width: 540px; margin-inline: auto; color: var(--muted); }
.writing-product { max-width: 1050px; margin: auto; }
.story-problems { background: #f0ede4; padding-top: 85px; }
.section-intro { margin-bottom: 60px; }
.problem-demonstration { display: grid; grid-template-columns: 1.2fr .8fr; gap: 75px; align-items: center; margin-top: 70px; }
.problem-demonstration > div > p { color: var(--muted); }
.problem-demonstration h3 { margin: 12px 0 22px; }
.problem-demonstration--reverse { grid-template-columns: .8fr 1.2fr; }
.problem-demonstration--reverse > figure { order: 2; }
.section-number { display: block; color: #777b66; font: 600 10px/1.5 "Segoe UI",sans-serif; letter-spacing: .16em; margin-bottom: 20px; }
.small-problems { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 85px; border-top: 1px solid #d1d2c5; padding-top: 45px; }
.small-problems > a { text-decoration: none; padding-right: 30px; }
.small-problems h3 { font-size: 30px; margin-bottom: 20px; }
.small-problems p { color: var(--muted); font-size: 15px; }
.application-reveal .editorial-split { grid-template-columns: 1.1fr .9fr; }
.large-product { margin-top: 50px; }
.power-copy { max-width: 730px; text-align: center; margin: 80px auto 0; }
.power-copy h2 { font-size: clamp(2.5rem,3.8vw,4rem); }
.power-copy > p:not(.marketing-eyebrow,.serif-statement) { max-width: 560px; margin: 0 auto 24px; color: var(--muted); }
.serif-statement { font: italic clamp(1.7rem,2.8vw,2.7rem)/1.3 Georgia,serif; color: #6b7655; margin-block: 22px; }
.writer-philosophy { text-align: center; background: #e7e9df; border-block: 1px solid #d7dbcb; padding: 85px 0; }
.writer-philosophy h2 { font-size: clamp(3.5rem,6vw,6rem); margin-bottom: 28px; }
.writer-philosophy p:not(.marketing-eyebrow) { max-width: 560px; margin: 0 auto 20px; }
.editorial-asterisk { font-size: 45px; line-height: 1; color: #8e9a72; display: block; margin-bottom: 30px; }
.philosophy-signoff { font: italic 20px Georgia,serif; color: #6b7655; }
.final-cta { background: var(--paper); color: var(--ink); padding: 90px 0; text-align: center; border: 0; }
.final-cta::before,.final-cta::after { display: none; }
.final-cta__inner { background: transparent; border: 0; padding: 0; box-shadow: none; border-radius: 0; max-width: none; }
.final-cta h2 { color: var(--ink); font-size: clamp(2.8rem,4.5vw,4.8rem); margin-bottom: 18px; }
.final-cta p { color: var(--muted); }
.final-cta .marketing-actions { justify-content: center; }
.final-cta .marketing-eyebrow { color: var(--muted); }
.public-footer { background: #eeece2; border-top: 1px solid var(--line); padding: 48px 0 28px; }
.public-footer-top { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.public-footer-top > p { font: italic 20px/1.5 Georgia,serif; color: var(--muted); }
.public-footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 16px 26px; font-size: 12px; margin-top: 20px; }
.public-footer__nav a { text-decoration: none; }
.public-footer__nav a:hover { text-decoration: underline; }
.public-colophon { margin: 28px 0 0 !important; padding-top: 18px; border-top: 1px solid #d6d5c9; font-size: 10px; color: var(--muted); }
/* Tour: a single editorial journey, with compact sticky wayfinding. */
.tour-hero { padding: 80px 0 60px; }
.tour-hero h1 { margin-bottom: 35px; }
.tour-hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.tour-hero-bottom .marketing-lead { max-width: 650px; margin: 0; }
.tour-jump { background: #f8f5eef5; backdrop-filter: blur(12px); border-block: 1px solid var(--line); position: sticky; top: 0; z-index: 15; }
.tour-jump > div { display: flex; gap: 22px; overflow-x: auto; align-items: center; padding-block: 18px; scrollbar-width: thin; }
.tour-jump a { flex-shrink: 0; font-size: 12px; font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; padding-block: 5px; }
.tour-jump a:hover { border-color: var(--gold-dark); }
.tour-jump span { font-size: 9px; letter-spacing: .12em; color: var(--muted); white-space: nowrap; margin-right: 8px; }
.tour-stop { padding: 100px 0; scroll-margin-top: 10px; }
.tour-stop--soft { background: #f0ede4; }
.tour-stop--sage { background: var(--sage); }
.tour-stop-heading { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 75px; align-items: center; margin-bottom: 40px; }
.tour-stop-heading > .section-number { grid-column: 1/-1; }
.tour-stop-heading > p { color: var(--muted); max-width: 440px; }
.tour-capabilities { list-style: none; padding: 24px 0 0; margin: 0; display: flex; justify-content: space-between; gap: 30px; font-size: 13px; color: var(--muted); }
.tour-capabilities li::before { content: '✓'; color: #6b7655; margin-right: 10px; }
.editorial-list { padding-left: 0; list-style: none; color: var(--muted); font-size: 14px; margin-top: 25px; }
.editorial-list li { border-top: 1px solid var(--line); padding: 12px 0; }
.editorial-list li::before { content: '↗'; color: #788465; margin-right: 12px; }
.editorial-split--reverse { grid-template-columns: 1.18fr .82fr; }
.editorial-split--reverse > div { order: 2; }
.tour-aside { font: italic 17px/1.5 Georgia,serif; }
.writer-philosophy--compact h2 { font-size: clamp(2.7rem,4.5vw,4.5rem); }
/* Pricing keeps the server-rendered plans, limits and checkout links intact. */
.marketing-home { --marketing-navy: var(--ink); --marketing-gold: var(--gold); --marketing-cream: var(--paper); --marketing-offwhite: #fffdf7; --marketing-ink: var(--ink); --marketing-muted: var(--muted); --marketing-line: var(--line); background: var(--paper); color: var(--ink); }
.pricing-hero,.public-hero { background: var(--paper); color: var(--ink); padding: 75px 0 60px; border: 0; }
.pricing-hero::before,.pricing-hero::after,.public-hero::before,.public-hero::after { display: none; }
.pricing-hero__inner,.public-hero__inner { max-width: 1280px; text-align: left; }
.pricing-hero h1,.public-hero h1 { color: var(--ink); max-width: 950px; font-size: clamp(3rem,5.5vw,5.4rem); font-weight: 400; }
.pricing-hero .marketing-eyebrow,.pricing-hero .marketing-lead,.public-hero .marketing-eyebrow,.public-hero .marketing-lead { color: var(--muted); }
.pricing-hero .marketing-lead { max-width: 650px; margin: 24px 0; }
.pricing-hero .marketing-actions { justify-content: flex-start; }
.pricing-plans { background: var(--paper); padding: 30px 0 70px; }
.section-heading { text-align: left; max-width: none; margin-bottom: 35px; }
.section-heading h2 { font-size: clamp(2.3rem,3.5vw,3.4rem); }
.pricing-card-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; position: relative; border: 1px solid var(--line); border-radius: 5px; background: #fffdf7; color: var(--ink); box-shadow: none; padding: 30px 24px; }
.pricing-card--featured { border: 2px solid #778366; background: #eff1e7; transform: none; padding: 29px 23px; box-shadow: none; }
.pricing-card--trial { background: #f3eddf; }
.pricing-badge { align-self: flex-start; position: static; display: inline-block; background: #dfe5d3; color: #445239; font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border: 0; border-radius: 2px; margin: 0 0 20px; }
.pricing-badge--trial { background: #ebd6a6; color: #5b4926; }
.pricing-card__badges { min-height: 45px; }
.pricing-card__heading h3 { font-size: 28px; margin-bottom: 10px; }
.pricing-card__heading p { font-size: 13px; color: var(--muted); min-height: 65px; }
.pricing-price { min-height: 130px; padding: 18px 0; margin: 0; border-block: 1px solid var(--line); }
.pricing-price strong { color: var(--ink); display: block; font: 36px/1.3 Georgia,serif; }
.pricing-price__value { font: inherit; }
.pricing-price > span,.pricing-price > small { font-size: 11px; display: block; color: var(--muted); line-height: 1.7; }
.pricing-price strong small { font: 10px "Segoe UI",sans-serif; }
.pricing-feature-list { list-style: none; padding: 22px 0; margin: 0; font-size: 12px; color: var(--muted); }
.pricing-feature-list li { padding: 6px 0; }
.pricing-feature-list li::before { content: '✓'; color: #76805e; margin-right: 7px; }
.pricing-card__actions { margin-top: auto; padding-top: 15px; }
.pricing-card__actions .marketing-btn { width: 100%; padding-inline: 10px; font-size: 12px; }
.pricing-link { font-size: 11px; display: block; text-align: center; margin-top: 12px; color: var(--muted); }
.pricing-compare { background: var(--sage); padding: 70px 0; }
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px 60px; }
.comparison-grid article { border: 0; border-top: 1px solid #cbd2be; background: transparent; padding: 22px 0 0; border-radius: 0; box-shadow: none; }
.comparison-grid h3 { font-size: 25px; margin-bottom: 14px; }
.comparison-grid p { font-size: 14px; color: #5f6756; }
.pricing-faq { background: var(--paper); padding: 70px 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px 65px; }
.faq-grid article { border: 0; border-top: 1px solid var(--line); padding: 24px 0 0; border-radius: 0; box-shadow: none; background: transparent; }
.faq-grid h3 { font: 400 23px/1.25 Georgia,serif; letter-spacing: -.02em; margin-bottom: 14px; }
.faq-grid p { color: var(--muted); font-size: 14px; }
.pricing-message { border: 1px solid var(--line); background: #fffdf7; color: var(--ink); padding: 16px 20px; margin-block: 20px; }
/* Shared primitives for public help, legal content and authentication. */
.eyebrow { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.lead-text,.muted { color: var(--muted); }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 25px; }
.page-heading h1 { font-size: clamp(2.7rem,5vw,4.5rem); margin-bottom: 20px; }
.button-row,.auth-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.plain-card,.edit-panel { border: 1px solid var(--line); border-radius: 5px; padding: 28px; margin-bottom: 24px; }
.plain-card h2,.list-section h2 { font-size: 32px; margin-bottom: 20px; }
.plain-card h3 { font-size: 25px; margin-bottom: 16px; }
.asset-card-grid,.help-category-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 22px; }
.asset-card-grid .plain-card { margin: 0; }
.list-section { padding-block: 25px; }
.breadcrumb-trail { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); padding-block: 10px; }
.breadcrumb-trail > * + *::before { content: '/'; margin-right: 10px; color: #929584; }
.status-pill { display: inline-block; font-size: 11px; padding: 3px 10px; background: var(--sage); border-radius: 3px; }
.help-markdown-body { max-width: 850px; margin-inline: auto; }
.help-markdown-body h2 { margin-top: 35px; font-size: 32px; }
.help-markdown-body h3 { margin-top: 25px; font-size: 25px; }
.help-markdown-body img { max-width: 100%; }
.help-markdown-body pre,.help-markdown-body table { max-width: 100%; overflow-x: auto; display: block; }
.help-markdown-body a,.public-policy a { overflow-wrap: anywhere; }
.plotline-help-icon { display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fffdf7; color: var(--muted); font: 11px/1 system-ui,sans-serif; width: 20px; height: 20px; vertical-align: middle; }
.auth-field-stack { display: grid; gap: 20px; }
.auth-actions { margin-top: 24px; }
.auth-help { margin-top: 20px; font-size: 13px; }
.form-check { display: flex; align-items: center; gap: 8px; }
.form-check-input { float: none; margin-top: 0; }
.public-auth-main .trial-status-panel { padding: 24px; margin-bottom: 28px; background: var(--sage); border: 1px solid #d4dbc6; border-radius: 5px; }
.public-auth-main .trial-status-panel h2 { font-size: 28px; margin-bottom: 14px; }
.public-auth-main .trial-status-panel p { font-size: 14px; color: var(--muted); }
/* Existing informational pages inherit the public typography and paper. */
.public-mission { background: var(--sage); padding: 65px 0; }
.public-mission h2 { font-size: clamp(2.2rem,3.8vw,3.8rem); max-width: 900px; }
.public-card-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 40px; }
.public-card { border-top: 1px solid var(--line); padding-top: 24px; }
.public-policy { max-width: 850px; }
.public-policy section { margin-bottom: 40px; }
.public-policy h2 { margin-bottom: 22px; }
.public-updated { font-size: 12px; color: var(--muted); }
.public-content-section--soft { background: #f0ede4; }
.public-content-section { background: var(--paper); padding-block: 45px; }
.public-info-page .public-hero h1 { margin-bottom: 20px; }
.public-narrative { max-width: 850px; font-size: 17px; }
.public-content-section h2 { font-size: 36px; }
.public-content-section h3 { font-size: 26px; }
.public-info-page .plain-card,.public-info-page .public-card { background: #fffdf7; border-color: var(--line); color: var(--ink); box-shadow: none; }
main.marketing-shell > :not(article) { max-width: 1168px; margin-inline: auto; }
main.marketing-shell > .page-heading { padding: 60px 0 20px; }
main.marketing-shell > .breadcrumb-trail { margin-top: 25px; }
.plain-card,.edit-panel { background: #fffdf7; border-color: var(--line); box-shadow: none; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fffdf7; }
.btn-primary:hover { background: #444a39; border-color: #444a39; }
.btn-outline-primary,.btn-outline-secondary { color: var(--ink); border-color: #a6aa99; }
.btn-outline-primary:hover,.btn-outline-secondary:hover { background: #e5e9db; border-color: #808b6b; color: var(--ink); }
.form-control,.form-select { background-color: #fffefb; color: var(--ink); border-color: #c5c8b8; }
.form-control:focus,.form-select:focus { border-color: #858e6c; box-shadow: 0 0 0 .2rem #85936830; }
.public-auth-main { width: min(640px,calc(100% - 48px)); min-height: 60vh; margin: 65px auto 85px; }
.public-auth-main h1 { font-size: 54px; font-weight: 400; }
.public-auth-main .page-heading { margin-bottom: 30px; }
.public-auth-main .auth-card { padding: 32px; border: 1px solid var(--line); border-radius: 5px; background: #fffdf7; }
.auth-page-heading,.auth-card { max-width: none; }
.auth-actions { gap: 12px; }
.auth-field-stack { gap: 20px; }
.validation-summary-valid { display: none; }
@media (min-width:1600px) { .writer-hero-grid { gap: 80px; } }
@media (max-width:1100px) {
.marketing-container { width: calc(100% - 64px); }
#publicMenu { margin-left: 35px; }
.public-links,.public-account { gap: 18px; }
.public-account .marketing-btn { padding-inline: 16px; }
.writer-hero-grid { gap: 25px; grid-template-columns: 1fr 1fr; }
.writer-hero h1 { font-size: 5.9vw; }
.writing-desk { height: 570px; margin-right: -10px; }
.manuscript-sheet { inset: 25px 35px 65px 5px; padding: 25px; font-size: 14px; }
.manuscript-running { margin-bottom: 25px !important; }
.desk-note { top: 170px; right: -15px; width: 155px; padding: 24px 18px; }
.desk-note p { font-size: 21px; }
.desk-answer { left: 40px; right: 0; bottom: 0; }
.desk-pencil { left: 0; }
.editorial-split,.problem-demonstration { gap: 45px; }
.import-grid { gap: 60px; }
.pricing-card-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
.pricing-card__heading p { min-height: 0; }
main.marketing-shell > :not(article) { max-width: calc(100% - 64px); }
}
@media (max-width:767px) {
.marketing-container { width: calc(100% - 40px); }
.public-nav { min-height: 78px; padding: 14px 0; }
.public-wordmark { font-size: 25px; }
#publicMenu { margin-left: 0; flex-basis: 100%; }
.public-links { flex-direction: column; align-items: stretch; gap: 0; padding-top: 20px; }
.public-links a { padding: 10px 0; border-bottom: 1px solid var(--line); }
.public-account { justify-content: space-between; margin-block: 18px 8px; }
.writer-hero { padding: 45px 0 55px; }
.writer-hero-grid { grid-template-columns: 1fr; gap: 45px; }
.writer-hero h1 { font-size: clamp(3.55rem,10.9vw,5.2rem); }
.writer-hero h1 br:nth-of-type(2) { display: none; }
.writer-hero .marketing-lead { max-width: 500px; }
.writer-hero .marketing-actions { gap: 20px; }
.writing-desk { max-width: 490px; width: calc(100% - 10px); height: 565px; margin: 0 auto 25px; }
.manuscript-sheet { inset: 25px 40px 60px 20px; padding: 28px; font-size: 15px; }
.desk-note { right: -4px; top: 155px; width: 150px; }
.desk-answer { bottom: 0; left: 45px; right: 4px; padding: 20px; }
.desk-answer strong { font-size: 23px; }
.desk-pencil { left: 13px; }
.desk-caption { right: 20px; bottom: -38px; font-size: 13px; }
.desk-rule { left: 40px; }
.writer-problems { padding: 60px 0 40px; }
.question-scatter { padding: 25px 0; gap: 12px; }
.question-scatter p { font-size: 16px; padding: 10px 14px; }
.editorial-section,.tour-stop { padding: 65px 0; }
.editorial-split,.editorial-split--reverse,.problem-demonstration,.problem-demonstration--reverse,.import-grid,.application-reveal .editorial-split { grid-template-columns: 1fr; gap: 35px; }
.editorial-split--reverse > div,.problem-demonstration--reverse > figure { order: initial; }
.editorial-split h2 { margin-bottom: 22px; }
.product-print { padding: 5px; }
.product-print figcaption { padding: 8px 4px 4px; font-size: 9px; }
.product-print figcaption .hand-note { font-size: 15px; }
.product-print--tilt { transform: rotate(.6deg); }
.bring-manuscript { padding: 55px 0; }
.import-grid { gap: 40px; }
.import-pages { height: 235px; }
.import-pages > div { padding: 20px 30px; width: 190px; }
.import-arrow { right: 20px; font-size: 75px; }
.writing-heading { margin-bottom: 30px; text-align: left; }
.writing-heading > p:not(.marketing-eyebrow) { margin-left: 0; }
.problem-demonstration { margin-top: 40px; }
.problem-demonstration > figure { order: 2; }
.small-problems { grid-template-columns: 1fr; gap: 35px; margin-top: 50px; }
.small-problems > a { padding-right: 0; }
.small-problems h3 { font-size: 28px; }
.power-copy { margin-top: 50px; }
.large-product { margin-top: 25px; }
.writer-philosophy { padding: 60px 0; }
.writer-philosophy h2 { font-size: 4rem; }
.final-cta { padding: 65px 0; }
.public-footer { padding-top: 35px; }
.public-footer-top { flex-direction: column; gap: 25px; }
.public-footer-top p { font-size: 18px; }
.public-footer__nav { gap: 15px 23px; }
.tour-hero { padding: 45px 0; }
.tour-hero h1 { font-size: clamp(3.6rem,11vw,5rem); }
.tour-hero-bottom { flex-direction: column; gap: 20px; align-items: flex-start; }
.tour-jump > div { width: 100%; padding-inline: 20px; gap: 24px; }
.tour-jump span { display: none; }
.tour-stop-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 25px; }
.tour-stop-heading > .section-number { margin-bottom: 0; }
.tour-stop-heading > p { margin: 0; }
.tour-capabilities { flex-direction: column; gap: 12px; padding-top: 20px; }
.writer-philosophy--compact h2 { font-size: 3rem; }
.pricing-hero,.public-hero { padding: 45px 0; }
.pricing-hero h1,.public-hero h1 { font-size: clamp(2.9rem,9vw,4.2rem); }
.pricing-plans { padding-top: 10px; }
.comparison-grid,.faq-grid { grid-template-columns: 1fr; gap: 20px; }
.pricing-compare,.pricing-faq { padding: 50px 0; }
main.marketing-shell > :not(article) { max-width: calc(100% - 40px); }
.public-auth-main { margin-block: 40px 60px; }
.public-auth-main .auth-card { padding: 24px; }
.public-auth-main h1 { font-size: 44px; }
.public-auth-main .auth-actions { flex-direction: column; align-items: stretch; }
.page-heading { flex-direction: column; }
.plain-card,.edit-panel { padding: 22px; }
}
@media (max-width:480px) {
.pricing-card-grid { grid-template-columns: 1fr; }
.writer-hero .marketing-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
.manuscript-sheet { padding: 24px; font-size: 13px; }
.manuscript-running { font-size: 7px; }
.manuscript-sheet h2 { font-size: 26px; }
.writing-desk { height: 520px; }
.desk-note { top: 166px; width: 133px; padding: 20px 14px; }
.desk-note p { font-size: 19px; }
.desk-note .hand-note { font-size: 12px; }
.desk-answer { left: 32px; padding: 17px 14px; gap: 10px; }
.desk-answer strong { font-size: 21px; }
.manuscript-sheet > .hand-note { font-size: 15px; bottom: 24px; left: 24px; }
}
@media (prefers-reduced-motion: reduce) {
scroll-behavior: auto;
*,*::before,*::after { animation: none !important; transition: none !important; }
}
}
/* Standalone authentication uses the application's semantic palette, without an application shell. */
html[data-app-theme] .public-auth { background: var(--pd-workspace); color: var(--pd-text); }
html[data-app-theme] .public-auth .public-header { background: var(--pd-chrome); padding: 20px; border-bottom: 1px solid var(--pd-border); }
html[data-app-theme] .public-auth .public-nav > div { width: 100%; display: flex; justify-content: space-between; }
html[data-app-theme] .public-auth .public-wordmark { color: var(--pd-heading); font: bold 26px Georgia,serif; text-decoration: none; }
html[data-app-theme] .public-auth .public-logo-mark,html[data-app-theme] .public-auth .public-links,html[data-app-theme] .public-auth .public-account,html[data-app-theme] .public-auth .navbar-toggler,html[data-app-theme] .public-auth .public-footer { display: none; }
html[data-app-theme] .public-auth .public-auth-main { width: min(640px,calc(100% - 40px)); margin: 55px auto; }
html[data-app-theme] .public-auth .auth-card { background: var(--pd-surface); border: 1px solid var(--pd-border); padding: 28px; }
html[data-app-theme] .public-auth .public-skip { position: absolute; left: -9999px; }
html[data-app-theme] .public-auth .public-skip:focus { left: 20px; }

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

View File

@ -11,6 +11,8 @@
let theme = appearance.theme, busy = false;
function applyTheme(value) {
theme = value;
// Non-sensitive device preference keeps installed reauthentication visually continuous.
try { localStorage.setItem("plotdirector.applicationTheme", value); } catch { }
document.documentElement.dataset.appTheme = value;
document.documentElement.dataset.theme = value.endsWith('-dark') ? 'dark' : 'light';
document.documentElement.dataset.bsTheme = document.documentElement.dataset.theme;

View File

@ -0,0 +1,29 @@
// Only authentication may adopt the application palette, and only in an installed window.
(() => {
const root = document.documentElement;
const themes = ['warm-light', 'warm-dark', 'modern-light', 'modern-dark', 'rose-pink', 'baby-blue'];
const apply = () => {
const legacyStyles = document.getElementById("public-auth-base");
if (legacyStyles) legacyStyles.media = window.PlotDirectorPwa?.standalone ? "all" : "not all";
if (!window.PlotDirectorPwa?.standalone) {
delete root.dataset.appTheme;
root.dataset.siteTheme = 'public';
root.dataset.theme = root.dataset.bsTheme = 'light';
} else {
let cached = null, legacy = null;
try {
cached = localStorage.getItem('plotdirector.applicationTheme');
legacy = localStorage.getItem('plotline.theme');
} catch { }
const preferred = window.plotdirectorAuthTheme || cached;
const theme = themes.includes(preferred) ? preferred : legacy === 'dark' ? 'warm-dark' : 'warm-light';
delete root.dataset.siteTheme;
root.dataset.appTheme = theme;
root.dataset.theme = root.dataset.bsTheme = theme.endsWith('-dark') ? 'dark' : 'light';
}
document.querySelector('meta[name="theme-color"]')?.setAttribute('content', root.dataset.theme === 'dark' ? '#231e19' : '#f8f5ee');
};
apply();
window.addEventListener('plotdirector:pwa-mode-changed', apply);
window.addEventListener('pageshow', apply);
})();

View File

@ -1,4 +1,4 @@
(() => {if(document.documentElement.dataset.appTheme)return;
(() => {if(document.documentElement.dataset.appTheme || document.documentElement.dataset.siteTheme)return;
const storageKey = "plotline.theme";
const choices = document.querySelectorAll("[data-theme-choice]");
@ -295,6 +295,8 @@
moreLink.textContent = "More...";
moreLink.className = "plotline-help-more";
moreLink.addEventListener("click", (event) => {
// Public pages use full help articles rather than the application drawer.
if (!window.PlotLineHelpDrawer && icon.dataset.helpUrl) return;
event.preventDefault();
hideActivePopover();
hideAllHelpTooltips();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 51 KiB