diff --git a/.claude/skills/ATTRIBUTION.md b/.claude/skills/ATTRIBUTION.md
index 3a4f540..6abed9c 100644
--- a/.claude/skills/ATTRIBUTION.md
+++ b/.claude/skills/ATTRIBUTION.md
@@ -29,6 +29,19 @@ The following skills were installed from third-party sources.
as vanilla HTML/CSS: `taste-skill` for building new pages (it built /merge/,
/studio-intelligence/ and the changelog), `redesign-skill` for polishing existing ones.
+## stitch-skills
+- Source: https://github.com/google-labs-code/stitch-skills
+- Author: Google Labs
+- License: Apache-2.0 (see `LICENSE.stitch-skills`)
+- Version: commit 4cf4db8
+- Installed: 2026-11-19
+- Skills: extract-design-md (copied unmodified from
+ `plugins/stitch-design/skills/extract-design-md/`)
+- Only this one skill is kept. It reads the codebase and writes a DESIGN.md, and
+ needs no Stitch account. The other 15 skills in the source (Stitch MCP tools,
+ React / React Native / shadcn / Remotion builders, `taste-design`) were left out:
+ they need the Stitch MCP server or target other stacks.
+
These were vendored directly into `.claude/skills/` (rather than installed via the
Claude Code plugin marketplace) so they are version-controlled and available to all
sessions on this repo, including Claude Code on the web.
diff --git a/.claude/skills/LICENSE.stitch-skills b/.claude/skills/LICENSE.stitch-skills
new file mode 100644
index 0000000..b31ddff
--- /dev/null
+++ b/.claude/skills/LICENSE.stitch-skills
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or Derivative
+ Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/.claude/skills/extract-design-md/SKILL.md b/.claude/skills/extract-design-md/SKILL.md
new file mode 100644
index 0000000..94228a6
--- /dev/null
+++ b/.claude/skills/extract-design-md/SKILL.md
@@ -0,0 +1,365 @@
+---
+name: stitch::extract-design-md
+description: >-
+ Extract a comprehensive design system (DESIGN.md) directly from frontend source
+ code — React, Vue, Svelte, Angular, plain HTML/CSS, or any web framework. Analyzes
+ component files, stylesheets, Tailwind configs, theme definitions, and design tokens
+ to produce a rich, Stitch-compatible design system document. Use this skill whenever
+ the user wants to reverse-engineer a design system from an existing codebase, audit
+ the visual language of a project, extract design tokens from source files, or
+ understand the styling patterns in a frontend repo — even if they just say "what
+ does this app look like?" or "pull out the design from this code."
+allowed-tools:
+ - "stitch*:*"
+ - "Bash"
+ - "Read"
+ - "Write"
+ - "web_fetch"
+---
+
+# Extract Design System from Frontend Code
+
+Analyze frontend source code to extract a comprehensive design system document
+(DESIGN.md) that captures the project's visual language — colors, typography,
+spacing, component patterns, and layout principles — directly from the source
+files, without needing to build or render the application.
+
+## Why This Exists
+
+The `design-md` skill works from rendered HTML. But often you have a codebase
+and want to understand its design system before you can even run the app —
+maybe dependencies are missing, the build is broken, or you just want a quick
+audit. This skill reads the source files themselves: stylesheets, component
+files, theme configs, and Tailwind setups. It's faster and works anywhere.
+
+## When to Use
+
+- User has a frontend codebase and wants to extract or document its design system
+- User wants to migrate a project's visual identity into Stitch
+- User asks to "audit the styling" or "understand the design language" of a repo
+- User wants to create a DESIGN.md from existing source code
+- The app can't be built/rendered but the source is available
+- User wants to unify or reconcile inconsistent styles across a codebase
+
+## Prerequisites
+
+- Access to the frontend project's source directory
+- No build or runtime dependencies needed — this skill reads source files only
+
+---
+
+## Workflow
+
+### Phase 1: Project Discovery
+
+Start by understanding what you're working with. This determines which
+extraction patterns to use.
+
+#### 1. Detect the Framework and Stack
+
+Scan the project root for telltale files:
+
+| Signal File | Framework / Tool |
+|:---|:---|
+| `package.json` with `react` | React / Next.js |
+| `package.json` with `vue` | Vue / Nuxt |
+| `package.json` with `svelte` | Svelte / SvelteKit |
+| `package.json` with `@angular/core` | Angular |
+| `tailwind.config.js/ts` | Tailwind CSS |
+| `postcss.config.js` | PostCSS pipeline |
+| `styled-components` or `@emotion` in deps | CSS-in-JS |
+| `.css` / `.scss` / `.less` files only | Plain CSS / SASS |
+| `theme.js` / `theme.ts` / `tokens.js` | Design token files |
+
+Read `package.json` first — it reveals the framework, CSS tooling, and any
+design-token libraries (e.g., `style-dictionary`, `@chakra-ui/react`,
+`@mui/material`, `ant-design`). This context tells you *where* to look for
+styling information.
+
+#### 2. Map the Source Tree
+
+Identify the key directories and files you'll analyze:
+
+```
+src/
+├── components/ ← Component-level styles
+├── styles/ ← Global stylesheets
+├── theme/ ← Theme definitions, tokens
+├── assets/ ← Fonts, images
+├── app.css ← Root styles
+└── index.css ← Entry CSS
+```
+
+Also check for:
+- `tailwind.config.js` / `tailwind.config.ts` — Custom colors, fonts, spacing
+- `globals.css` / `global.css` — CSS custom properties (variables)
+- Any `theme.*` or `tokens.*` files
+- Component library config (e.g., `chakra-theme.ts`, `vuetify.config.ts`)
+
+#### 3. Read Framework-Specific Guidance
+
+Consult the appropriate reference for extraction patterns:
+
+- **React / Next.js / Tailwind** → [references/react-tailwind.md](references/react-tailwind.md)
+- **Vue / Nuxt** → [references/vue.md](references/vue.md)
+- **Svelte / SvelteKit** → [references/svelte.md](references/svelte.md)
+- **Angular** → [references/angular.md](references/angular.md)
+- **Plain CSS / SASS / Less** → [references/plain-css.md](references/plain-css.md)
+
+These references contain framework-specific patterns for locating colors,
+typography, spacing, and component styles. Read the one that matches before
+proceeding.
+
+---
+
+### Phase 2: Deep Extraction
+
+Work through each design dimension systematically. For each one, gather raw
+data from the source files, then synthesize it into descriptive language.
+
+The goal isn't to dump every CSS property — it's to understand the *intent*
+behind the styling choices and describe them in human, editorial language that
+another designer (or Stitch) can use to recreate the same visual feel.
+
+#### 1. Visual Theme & Atmosphere
+
+Read the broadest styling first to understand the overall mood:
+
+- **Root background**: What's the `body` or root element background? Light
+ cream (#f-range) signals airy/clean; dark (#0-#2 range) signals moody/dramatic.
+- **Whitespace philosophy**: Are spacing values generous (32px+) or tight?
+ Check padding/margin values on root containers, section wrappers, and card components.
+- **Density**: Count the components per page/section. Few with space = minimal;
+ many packed tight = information-dense.
+- **Color temperature**: Are the neutrals warm (creams, tans) or cool (blue-grays, slates)?
+- **Overall feel**: Synthesize into 1-2 rich sentences that capture the mood.
+
+Look for these signals in the source:
+
+| Source Location | What It Tells You |
+|:---|:---|
+| Root `background-color` or Tailwind `bg-*` on layouts | Overall lightness/darkness |
+| Spacing scale in Tailwind config or CSS vars | Whitespace philosophy |
+| Number of components vs. wrapper padding | Density |
+| Custom property naming (`--warm-*` vs `--cool-*`) | Color temperature intent |
+| Comments in theme files | Design intent in the developer's own words |
+
+#### 2. Color Palette & Roles
+
+Extract every unique color from the codebase and assign functional roles.
+Search across all layers:
+
+**Where to find colors:**
+
+| Layer | What to Search |
+|:---|:---|
+| CSS custom properties | `--color-*`, `--primary`, `--bg-*` |
+| Tailwind config | `theme.extend.colors` |
+| Theme/token files | Color objects, palettes |
+| Component styles | `background-color`, `color`, `border-color` |
+| Inline/scoped styles | `bg-*`, `text-*` classes in templates |
+| CSS-in-JS theme objects | `colors`, `palette` keys |
+
+**How to organize:** Group colors by function, not by hue:
+
+1. **Primary Foundation** — Background and surface colors
+2. **Accent & Interactive** — CTA buttons, active states, links
+3. **Typography & Text Hierarchy** — Primary, secondary, tertiary text
+4. **Functional States** — Success, error, warning, info
+
+For each color, create a descriptive name that evokes the color's character
+rather than its raw hex value:
+
+- ❌ `#294056` → "Blue"
+- ✅ `#294056` → **"Deep Muted Teal-Navy"** — Primary CTA, active navigation
+
+**Deduplication matters.** Codebases often have near-duplicate colors (e.g.,
+`#333` and `#2C2C2C`). Consolidate them under one name that best represents
+the intended color.
+
+#### 3. Typography Rules
+
+Extract the complete typographic system:
+
+**Font families:**
+- Check CSS `font-family`, Tailwind `fontFamily`, Google Fonts links, or
+ local `@font-face` declarations.
+- Note the **character** of each font: geometric vs humanist, serif vs sans,
+ the feeling it evokes.
+
+**Type scale (hierarchy):**
+- Find every heading level (H1-H6) and body text, noting:
+ - `font-size` (in rem or px)
+ - `font-weight` (numeric value + descriptive name)
+ - `letter-spacing` (and why — elegance? compactness?)
+ - `line-height` (generous for readability? tight for display?)
+- Map component usage: Which heading level do product cards use? What about
+ hero sections?
+
+**Spacing principles:**
+- How does text spacing relate to the overall spacing scale?
+- Letter-spacing patterns on headings vs body
+- Line-height philosophy (generous/relaxed for body, tighter for display)
+
+#### 4. Component Stylings
+
+Analyze the 4-5 most important UI primitives:
+
+**Buttons:**
+- Corner radius (and what it communicates — playful? professional? minimal?)
+- Color scheme for primary, secondary, and ghost variants
+- Hover/focus/active states and transition timing
+- Padding ratios (horizontal vs vertical)
+
+**Cards / Containers:**
+- Corner radius (often different from buttons — slightly rounder)
+- Shadow strategy: flat, subtle hover shadows, or always elevated?
+- Border treatment: hairline borders, colored accents, or none?
+- Internal padding (generous or compact?)
+- Image treatment within cards (full-bleed, padded, rounded?)
+
+**Navigation:**
+- Layout pattern (horizontal bar, vertical sidebar, drawer)
+- Typography treatment (uppercase, letter-spacing, weight)
+- Active/hover state indicators (underline, color, background)
+- Mobile behavior (hamburger, bottom nav, drawer)
+
+**Inputs & Forms:**
+- Border style and focus state behavior
+- Corner style consistency with buttons
+- Padding and touch-target sizing
+
+**Domain-Specific Components:**
+- Identify 1-2 components unique to this project (e.g., product cards,
+ dashboard widgets, chat bubbles) and describe their styling patterns.
+
+#### 5. Layout Principles
+
+Extract the structural system:
+
+**Grid & Structure:**
+- Max content width (from `max-width` on containers)
+- Column system (CSS Grid, Flexbox patterns, defined breakpoints)
+- Responsive breakpoints (from media queries or Tailwind config)
+
+**Whitespace Strategy:**
+- Base spacing unit (8px grid? 4px? custom?)
+- Section margins (how much space between major sections)
+- Edge padding (page margins at different breakpoints)
+
+**Alignment & Visual Balance:**
+- Text alignment patterns (centered heroes, left-aligned body)
+- Image-to-text ratios
+- Visual weight distribution
+
+**Responsive Behavior:**
+- Mobile-first or desktop-first?
+- How do grids collapse? Padding scale?
+- Touch target sizing
+
+#### 6. Stitch Generation Notes
+
+Synthesize the extraction into actionable prompts for Stitch:
+
+- **Atmosphere language**: Translate the mood into natural descriptors
+- **Color references**: List colors by descriptive name + hex
+- **Component prompts**: Write 2-3 example prompts that would recreate
+ key components in Stitch
+- **Iteration guidance**: Tips for refining screens in this design system
+
+---
+
+### Phase 3: Write the DESIGN.md
+
+Assemble everything into the standard DESIGN.md format. Place it at
+`.stitch/DESIGN.md` in the project directory (create the `.stitch/` directory
+if it doesn't exist).
+
+> [!IMPORTANT]
+> You **MUST** include the YAML frontmatter at the top of the file with `name` and `colors` mapping, exactly as shown in the example at [examples/DESIGN.md](examples/DESIGN.md). This structured data is required for other skills to parse the design system.
+>
+> Failure to include this YAML block with at least the core color tokens is a failure to use this skill correctly.
+
+Use the format from the example at [examples/DESIGN.md](examples/DESIGN.md) as your template. The file must start with the YAML block, followed by the markdown sections:
+
+```markdown
+# Design System: [Project Name]
+**Project ID:** [If known, otherwise omit]
+
+## 1. Visual Theme & Atmosphere
+[Rich 2-paragraph description of mood, philosophy, and key characteristics]
+
+## 2. Color Palette & Roles
+### Primary Foundation
+### Accent & Interactive
+### Typography & Text Hierarchy
+### Functional States
+
+## 3. Typography Rules
+### Hierarchy & Weights
+### Spacing Principles
+
+## 4. Component Stylings
+### Buttons
+### Cards & [Domain-Specific Containers]
+### Navigation
+### Inputs & Forms
+### [Domain-Specific Components]
+
+## 5. Layout Principles
+### Grid & Structure
+### Whitespace Strategy
+### Alignment & Visual Balance
+### Responsive Behavior & Touch
+
+## 6. Design System Notes for Stitch Generation
+### Language to Use
+### Color References
+### Component Prompts
+### Incremental Iteration
+```
+
+---
+
+### Phase 4: Integration (Optional)
+
+If the user wants to push the design system into Stitch:
+
+1. Hand off to the `manage-design-system` skill for the MCP create/update calls
+2. The DESIGN.md you wrote is the input — the manage-design-system skill handles
+ the Stitch API integration
+
+If the user just wants the document, you're done after Phase 3.
+
+---
+
+## Quality Checklist
+
+Before delivering the DESIGN.md, verify:
+
+- [ ] Every color has a descriptive name, hex code, and functional role
+- [ ] Typography includes font family, character description, and full hierarchy
+- [ ] Component styles describe shape, color, states, and transitions
+- [ ] Layout includes max-width, grid, breakpoints, and spacing strategy
+- [ ] Stitch generation notes use natural language, not CSS syntax
+- [ ] The atmosphere section reads like editorial copy, not technical docs
+- [ ] Near-duplicate colors are consolidated
+- [ ] The document captures the *intent* behind styling, not just raw values
+
+## Tips for Better Extraction
+
+- **Read comments and commit messages.** Developers often document design
+ intent in code comments (`/* hero section — breathable */`) and commit
+ messages. These are gold for understanding the *why*.
+- **Check for design-token libraries.** If the project uses `style-dictionary`,
+ `@tokens-studio`, or similar, these files are the most authoritative
+ source of design values.
+- **Theme files are higher-signal than component styles.** A `theme.ts` that
+ defines a palette tells you the intended design system; scattered inline
+ styles in components tell you what actually shipped. Both matter, but
+ start from the theme.
+- **Tailwind config is a design system.** If a project has a customized
+ `tailwind.config.js`, that *is* the design system — extract from it first,
+ then spot-check components for overrides.
+- **CSS custom properties are intentional.** If a developer defined
+ `--brand-primary`, they're telling you this is a design token. Respect that.
diff --git a/.claude/skills/extract-design-md/examples/DESIGN.md b/.claude/skills/extract-design-md/examples/DESIGN.md
new file mode 100644
index 0000000..67be49f
--- /dev/null
+++ b/.claude/skills/extract-design-md/examples/DESIGN.md
@@ -0,0 +1,210 @@
+---
+name: Alpine Peak
+colors:
+ surface: '#fcf8fa'
+ surface-dim: '#dcd9db'
+ surface-bright: '#fcf8fa'
+ surface-container-lowest: '#ffffff'
+ surface-container-low: '#f6f3f5'
+ surface-container: '#f0edef'
+ surface-container-high: '#eae7e9'
+ surface-container-highest: '#e4e2e4'
+ on-surface: '#1b1b1d'
+ on-surface-variant: '#45464d'
+ inverse-surface: '#303032'
+ inverse-on-surface: '#f3f0f2'
+ outline: '#76777d'
+ outline-variant: '#c6c6cd'
+ surface-tint: '#565e74'
+ primary: '#000000'
+ on-primary: '#ffffff'
+ primary-container: '#131b2e'
+ on-primary-container: '#7c839b'
+ inverse-primary: '#bec6e0'
+ secondary: '#5c5f61'
+ on-secondary: '#ffffff'
+ secondary-container: '#e0e3e5'
+ on-secondary-container: '#626567'
+ tertiary: '#000000'
+ on-tertiary: '#ffffff'
+ tertiary-container: '#161c22'
+ on-tertiary-container: '#7e848c'
+ error: '#ba1a1a'
+ on-error: '#ffffff'
+ error-container: '#ffdad6'
+ on-error-container: '#93000a'
+ primary-fixed: '#dae2fd'
+ primary-fixed-dim: '#bec6e0'
+ on-primary-fixed: '#131b2e'
+ on-primary-fixed-variant: '#3f465c'
+ secondary-fixed: '#e0e3e5'
+ secondary-fixed-dim: '#c4c7c9'
+ on-secondary-fixed: '#191c1e'
+ on-secondary-fixed-variant: '#444749'
+ tertiary-fixed: '#dde3eb'
+ tertiary-fixed-dim: '#c1c7cf'
+ on-tertiary-fixed: '#161c22'
+ on-tertiary-fixed-variant: '#41474e'
+ background: '#fcf8fa'
+ on-background: '#1b1b1d'
+ surface-variant: '#e4e2e4'
+typography:
+ display-lg:
+ fontFamily: Inter
+ fontSize: 48px
+ fontWeight: '800'
+ lineHeight: 56px
+ letterSpacing: -0.02em
+ headline-md:
+ fontFamily: Inter
+ fontSize: 24px
+ fontWeight: '700'
+ lineHeight: 32px
+ letterSpacing: -0.01em
+ body-base:
+ fontFamily: Inter
+ fontSize: 16px
+ fontWeight: '400'
+ lineHeight: 24px
+ letterSpacing: '0'
+ body-bold:
+ fontFamily: Inter
+ fontSize: 16px
+ fontWeight: '600'
+ lineHeight: 24px
+ letterSpacing: '0'
+ label-caps:
+ fontFamily: Lexend
+ fontSize: 12px
+ fontWeight: '700'
+ lineHeight: 16px
+ letterSpacing: 0.05em
+ stat-lg:
+ fontFamily: Lexend
+ fontSize: 32px
+ fontWeight: '600'
+ lineHeight: 40px
+ letterSpacing: -0.02em
+rounded:
+ sm: 0.25rem
+ DEFAULT: 0.5rem
+ md: 0.75rem
+ lg: 1rem
+ xl: 1.5rem
+ full: 9999px
+spacing:
+ unit: 4px
+ xs: 4px
+ sm: 8px
+ md: 16px
+ lg: 24px
+ xl: 32px
+ gutter: 16px
+ margin-mobile: 20px
+ margin-desktop: 40px
+---
+
+## Brand & Style
+
+The brand personality is high-performance, sophisticated, and dependable. It is
+designed for the modern skier who demands clarity and precision in harsh
+environments. The visual language evokes the crystalline beauty of a mountain
+peak while prioritizing the rugged utility required for outdoor navigation.
+
+The design system utilizes **Glassmorphism** to achieve a "frozen" aesthetic,
+mimicking the properties of ice and packed snow. This is paired with a
+**High-Contrast** philosophy to ensure that critical data—like trail status and
+weather alerts—remains legible under intense mountain sunlight or the
+low-visibility conditions of a snowstorm.
+
+## Colors
+
+The palette is anchored by **Deep Peak Blue**, a dark navy that provides a
+grounding contrast for white text and maps. **Powder White** serves as the
+primary canvas, ensuring the interface feels airy and cold.
+
+**Safety Orange** is reserved strictly for primary calls to action, hazard
+warnings, and emergency trail closures, ensuring immediate eye-tracking.
+**Electric Blue** (the info status) is used for weather updates and general
+interactivity. For trail difficulty levels, standard industry colors (Green,
+Blue, Black) are used but rendered with high-saturation values to pop against
+the white backgrounds.
+
+## Typography
+
+The typography system uses **Inter** for core functional text and body copy due
+to its exceptional x-height and legibility at small sizes. **Lexend** is
+introduced for labels and statistics; its hyper-readable, athletic character
+suits the "active" nature of skiing data like speed and vertical drop.
+
+To combat outdoor glare, font weights are generally heavier than standard web
+applications. Display styles use tight tracking and heavy weights to create a
+sense of strength. Labels always utilize high-contrast coloring against their
+backgrounds.
+
+## Layout & Spacing
+
+This design system uses a **Fluid Grid** model with generous safe areas.
+Elements are spaced using a strict 4px/8px baseline rhythm to maintain a
+disciplined, professional appearance.
+
+Touch targets are intentionally oversized (minimum 48x48px) to accommodate users
+wearing gloves. Padding within cards and containers is kept spacious (`lg` or
+`xl`) to prevent the interface from feeling cluttered when displaying complex
+trail data.
+
+## Elevation & Depth
+
+Depth is conveyed through **Glassmorphism** and backdrop filters rather than
+traditional heavy shadows. Surfaces use a hierarchy of transparency:
+
+1. **Base Layer:** Solid 'Powder White' or 'Deep Peak Blue'.
+2. **Middle Layer (Cards/Modals):** 70% opacity white with a 20px backdrop blur
+ and a thin 1px 'Ice' border (white at 40% opacity).
+3. **Top Layer (Floating Actions):** 90% opacity with a subtle 4px ambient
+ shadow to separate the element from the blurred background.
+
+This creates a "stacked ice" effect that maintains visual clarity while giving
+the UI a premium, modern feel.
+
+## Shapes
+
+The shape language is defined by modern, organic **rounded corners**. This
+softens the high-contrast color palette and makes the app feel approachable.
+
+Interactive elements like buttons and chips utilize `rounded-lg` (1rem) or
+`rounded-xl` (1.5rem) to suggest a tactile, "pebble" feel. Large containers like
+map overlays use 1rem corners, while small status indicators for trail
+difficulty may use pill shapes for instant recognition.
+
+## Components
+
+### Buttons
+
+Primary buttons use a solid 'Safety Orange' or 'Deep Peak Blue' fill with white
+text. High-contrast outlines are used for secondary actions. All buttons must
+feature a minimum height of 52px for gloved-hand accessibility.
+
+### Cards & Modals
+
+Cards utilize the glassmorphism effect—semi-transparent backgrounds with a 1px
+white border. This ensures that map imagery or photos underneath remain slightly
+visible, maintaining the "frozen" aesthetic.
+
+### Trail Status Chips
+
+Pill-shaped indicators with high-saturation icons. Green (Easy), Blue
+(Intermediate), Black (Expert), and Double Black (Extreme). These must include
+text labels alongside icons to ensure accessibility for colorblind users.
+
+### Input Fields
+
+Fields feature a 'Cloud Gray' background with a thick bottom border that
+transforms into 'Electric Blue' on focus. Labels are always visible above the
+field to ensure the user doesn't lose context in bright environments.
+
+### Weather Widgets
+
+Bold, thick-stroke iconography (minimum 2pt stroke) to represent sun, snow, or
+wind. These icons should be large and accompanied by 'Lexend' typography for
+temperature and wind speed.
\ No newline at end of file
diff --git a/.claude/skills/extract-design-md/references/angular.md b/.claude/skills/extract-design-md/references/angular.md
new file mode 100644
index 0000000..d5e0b65
--- /dev/null
+++ b/.claude/skills/extract-design-md/references/angular.md
@@ -0,0 +1,122 @@
+# Angular Extraction Patterns
+
+Angular projects use a structured, convention-heavy approach to styling.
+Design systems often live in SCSS/CSS files with clear separation between
+global themes and component-scoped styles.
+
+## File Discovery Order
+
+1. **`angular.json`** — Lists global style files under
+ `projects.*.architect.build.options.styles`. These are the entry-point
+ CSS/SCSS files.
+
+2. **`src/styles.scss` / `src/styles.css`** — Global stylesheet. CSS custom
+ properties, font imports, and base styles live here.
+
+3. **`src/theme.scss` / `src/theme/`** — Explicit theme directory. Custom
+ Material/component palettes.
+
+4. **Tailwind Config (`tailwind.config.js` or Tailwind v4 `@theme {}`)** — For Tailwind v3, read `tailwind.config.js`. For Tailwind v4, inspect `@theme {}` blocks, `@custom-variant`, and `@plugin 'tailwindcss-primeui'` in your global CSS/SCSS (e.g. `src/styles.css` or `src/assets/tailwind.css`) for CSS custom property tokens (`--color-*`, `--font-*`, `--text-*`, `--breakpoint-*`).
+
+5. **`src/app/app.component.scss`** — Root component styles, reveals global
+ layout patterns.
+
+6. **Component `.scss` / `.css` files** — Co-located styles (ViewEncapsulation
+ scoped by default).
+
+7. **External Template `.html` files (`src/app/**/*.component.html`)** — Essential for Angular 17+ standalone components using Tailwind CSS utility classes (`bg-*`, `text-*`, `p-*`, `rounded-*`) or structural class bindings (`[ngClass]`, `[class.*]`). Always inspect `.html` templates when styling uses utility classes.
+
+## Angular Material Theme Extraction
+
+Angular Material is the most common component library. Themes are SCSS-based:
+
+```scss
+// src/theme.scss
+@use '@angular/material' as mat;
+
+$primary-palette: mat.m2-define-palette(mat.$m2-teal-palette, 800);
+$accent-palette: mat.m2-define-palette(mat.$m2-blue-grey-palette);
+$warn-palette: mat.m2-define-palette(mat.$m2-red-palette);
+
+$theme: mat.m2-define-light-theme((
+ color: (
+ primary: $primary-palette,
+ accent: $accent-palette,
+ warn: $warn-palette,
+ ),
+ typography: mat.m2-define-typography-config(
+ $font-family: 'Manrope, sans-serif',
+ $headline-1: mat.m2-define-typography-level(3.5rem, 4rem, 600),
+ $headline-5: mat.m2-define-typography-level(1.5rem, 2rem, 500),
+ $body-1: mat.m2-define-typography-level(1rem, 1.7, 400),
+ ),
+));
+
+@include mat.all-component-themes($theme);
+```
+
+**What to extract:**
+- Palette choices → map to functional color roles
+- Typography config → maps directly to the hierarchy section
+- Light vs dark theme → atmosphere
+
+For Angular Material 3 (MDC-based), look for `mat.define-theme()` using
+the new token system with `--mat-*` CSS custom properties.
+
+## SCSS Variable Patterns
+
+Many Angular projects use SCSS variables for tokens:
+
+```scss
+// _variables.scss
+$color-primary: #294056;
+$color-background: #FCFAFA;
+$color-surface: #F5F5F5;
+$color-text: #2C2C2C;
+
+$font-heading: 'Manrope', sans-serif;
+$font-body: 'Inter', sans-serif;
+
+$radius-button: 8px;
+$radius-card: 12px;
+
+$breakpoint-mobile: 768px;
+$breakpoint-desktop: 1024px;
+
+$spacing-section: 5rem;
+$spacing-component: 2rem;
+```
+
+These are explicit design tokens. Map them directly.
+
+## ViewEncapsulation and Scoped Styles
+
+Angular scopes styles by default (similar to Vue's `scoped`). When scanning
+component styles:
+
+- Look for `:host` selectors — these style the component's root element
+- `::ng-deep` (deprecated but still used) — styles that pierce encapsulation
+- Repeated values across components indicate design system conventions
+
+## PrimeNG / Nebular / NG-ZORRO
+
+If component libraries are used:
+- **PrimeNG (v17/v18/v19+)**: Look for modern theme configuration in `src/app.config.ts` (e.g., `providePrimeNG({ theme: { preset: Aura, options: { darkModeSelector: '.app-dark' } } })`). Check for Tailwind v4 integration via `@plugin 'tailwindcss-primeui'` in CSS assets. Inspect CSS custom properties defined by PrimeNG tokens (`--primary-color`, `--surface-*`).
+- **Nebular**: `nb-theme()` in `styles.scss` with custom theme object.
+- **NG-ZORRO (Ant Design for Angular)**: `ng-zorro-antd.less` variables
+ or custom theme config in `angular.json`.
+
+## Modern Angular (v17 - v19) Standalone Components & Control Flow
+
+In modern Angular repositories:
+- **Standalone Components (`@Component({ standalone: true })`)**: Components import their own dependencies directly without NgModules. Inspect `templateUrl` and `styleUrl(s)` in component metadata to locate the template and style files.
+- **Control Flow (`@if`, `@for`, `@switch`)**: Notice how conditional layouts and lists are structured in `.html` templates when analyzing component density and spacing rules.
+- **Signals & Zoneless (`signal()`, `input()`, `computed()`, `provideZonelessChangeDetection()`)**: Dynamic styling or theme toggling is often driven by signals bound to `[class.dark]` or custom CSS classes in templates. Notice `app.config.ts` for app-wide providers.
+
+## Responsive Patterns
+
+Check for:
+- `@media` queries in `styles.scss` and component styles
+- Angular CDK `BreakpointObserver` usage in components
+- Tailwind responsive prefixes if Tailwind is configured
+- Angular Flex-Layout directives (`fxLayout`, `fxFlex`) in templates
diff --git a/.claude/skills/extract-design-md/references/plain-css.md b/.claude/skills/extract-design-md/references/plain-css.md
new file mode 100644
index 0000000..6bea95b
--- /dev/null
+++ b/.claude/skills/extract-design-md/references/plain-css.md
@@ -0,0 +1,161 @@
+# Plain CSS / SASS / Less Extraction Patterns
+
+For projects without a JavaScript framework — static sites, WordPress
+themes, vanilla HTML/CSS, or CSS preprocessor-heavy projects.
+
+## File Discovery Order
+
+1. **`index.html` / `*.html`** — Check `` tags and `
+```
+
+**Extraction points:**
+- Component props (like `variant`) reveal the intended variant system
+- `var(--*)` references → trace to `app.css`
+- Transition values reveal the interaction design philosophy
+
+## SvelteKit Layout Patterns
+
+- **`+layout.svelte`** at route root — Global header, footer, font loading
+- **`+layout.ts/js`** — May load theme data or tokens
+- **`$lib/`** directory — Reusable components and shared utilities
+
+## CSS Custom Properties Strategy
+
+Svelte projects heavily use CSS custom properties for theming:
+
+```css
+/* app.css */
+:root {
+ --color-primary: #294056;
+ --color-bg: #FCFAFA;
+ --color-surface: #F5F5F5;
+ --color-text: #2C2C2C;
+ --color-text-muted: #6B6B6B;
+
+ --font-heading: 'Manrope', sans-serif;
+ --font-body: 'Inter', sans-serif;
+
+ --radius-sm: 8px;
+ --radius-md: 12px;
+ --radius-full: 9999px;
+
+ --shadow-hover: 0 2px 8px rgba(0,0,0,0.06);
+ --spacing-section: 5rem;
+}
+```
+
+These variable names are highly intentional. Use them as the foundation
+of your design system extraction.
+
+## Skeleton UI / DaisyUI / Flowbite-Svelte
+
+If component libraries are used:
+- **Skeleton UI**: Theme defined in `tailwind.config.js` using Skeleton's
+ design token system. Look for custom theme config object.
+- **DaisyUI**: Theme in `tailwind.config.js` → `daisyui.themes` array.
+- **Flowbite-Svelte**: Standard Tailwind theming.
diff --git a/.claude/skills/extract-design-md/references/vue.md b/.claude/skills/extract-design-md/references/vue.md
new file mode 100644
index 0000000..1412288
--- /dev/null
+++ b/.claude/skills/extract-design-md/references/vue.md
@@ -0,0 +1,107 @@
+# Vue / Nuxt Extraction Patterns
+
+Vue projects have a distinctive styling architecture. Styles are often
+co-located with components inside `
+```
+
+**Key extraction points:**
+- `var(--*)` references → trace back to global CSS for the actual values
+- `scoped` styles → component-specific, but reveal consistent patterns
+- BEM naming (`.card__title`) → hints at component hierarchy
+
+## Vuetify Theme Extraction
+
+Vuetify projects define their design system explicitly:
+
+```ts
+// plugins/vuetify.ts
+export default createVuetify({
+ theme: {
+ defaultTheme: 'light',
+ themes: {
+ light: {
+ colors: {
+ primary: '#294056',
+ secondary: '#6B6B6B',
+ background: '#FCFAFA',
+ surface: '#F5F5F5',
+ error: '#EF4444',
+ success: '#10B981',
+ }
+ }
+ }
+ }
+})
+```
+
+This is the design system declaration. Map each key to a functional role
+and descriptive name.
+
+## Quasar / PrimeVue / Element Plus
+
+These component libraries use their own theming systems:
+
+- **Quasar**: `quasar.config.js` → `framework.config.brand` for colors
+- **PrimeVue**: CSS themes in `assets/` or theme preset configuration
+- **Element Plus**: SCSS variables in `element-variables.scss`
+
+Look for the override file — that's where the project's unique values live.
+
+## CSS Scoping Behavior
+
+Vue's `scoped` attribute adds data attributes for CSS isolation. When
+scanning for patterns, look at multiple components to find repeated values
+(same `border-radius`, similar `padding`, consistent color references).
+Repeated patterns across scoped styles = design system conventions.
+
+## Nuxt-Specific Patterns
+
+- **`app.vue`** or **`layouts/default.vue`** — Root layout, reveals
+ global background, font loading, and overall structure.
+- **`assets/`** — Global CSS, fonts, and images.
+- **`composables/`** — May contain `useTheme` or `useDesignTokens`.
+- **`nuxt.config.ts`** `css` array — Lists global stylesheets automatically
+ injected into every page.
diff --git a/.stitch/DESIGN.md b/.stitch/DESIGN.md
new file mode 100644
index 0000000..a70f5fa
--- /dev/null
+++ b/.stitch/DESIGN.md
@@ -0,0 +1,364 @@
+---
+name: Glint
+colors:
+ background: '#0d0d0f'
+ on-background: '#f2f2f0'
+ surface: '#0d0d0f'
+ surface-dim: '#0a0a0c'
+ surface-bright: '#24242a'
+ surface-container-lowest: '#0a0a0c'
+ surface-container-low: '#121214'
+ surface-container: '#151518'
+ surface-container-high: '#1c1c20'
+ surface-container-highest: '#24242a'
+ on-surface: '#ecedf1'
+ on-surface-variant: '#9a9ca8'
+ outline: '#8a8d99'
+ outline-variant: '#2a2a2f'
+ inverse-surface: '#f4f4f3'
+ inverse-on-surface: '#15161a'
+ surface-tint: '#f2a93b'
+ primary: '#f2a93b'
+ on-primary: '#141416'
+ primary-container: '#c47a14'
+ on-primary-container: '#141416'
+ inverse-primary: '#c47a14'
+ secondary: '#e8913a'
+ on-secondary: '#141416'
+ tertiary: '#e8613a'
+ on-tertiary: '#141416'
+ success: '#34d399'
+ error: '#f87171'
+ on-error: '#141416'
+typography:
+ display-lg:
+ fontFamily: Funnel Display
+ fontSize: 80px
+ fontWeight: '600'
+ lineHeight: 82px
+ letterSpacing: -0.025em
+ headline-lg:
+ fontFamily: Funnel Display
+ fontSize: 56px
+ fontWeight: '600'
+ lineHeight: 58px
+ letterSpacing: -0.025em
+ title-md:
+ fontFamily: Funnel Sans
+ fontSize: 20px
+ fontWeight: '600'
+ lineHeight: 26px
+ letterSpacing: -0.025em
+ body-lg:
+ fontFamily: Funnel Sans
+ fontSize: 19px
+ fontWeight: '400'
+ lineHeight: 28px
+ body-md:
+ fontFamily: Funnel Sans
+ fontSize: 15.5px
+ fontWeight: '400'
+ lineHeight: 23px
+ ui-md:
+ fontFamily: Geist
+ fontSize: 13px
+ fontWeight: '500'
+ lineHeight: 18px
+ letterSpacing: -0.1px
+ ui-label:
+ fontFamily: Geist
+ fontSize: 11px
+ fontWeight: '600'
+ lineHeight: 14px
+ letterSpacing: 1.2px
+ mono-sm:
+ fontFamily: JetBrains Mono
+ fontSize: 11px
+ fontWeight: '400'
+ lineHeight: 14px
+rounded:
+ sm: 6px
+ md: 10px
+ lg: 14px
+ full: 999px
+spacing:
+ unit: 4px
+ control-gap: 14px
+ panel-padding: 20px
+ card-gap: 16px
+ page-gutter: clamp(20px, 5vw, 64px)
+ section: clamp(72px, 10vw, 128px)
+ max-width: 1200px
+---
+
+# Design System: Glint
+
+Extracted from source on 2026-11-19: `src/styles.css` (the editor),
+`public/site.css` (the marketing site) and `src/share/viewer.css` (share pages).
+Glint has two surfaces that share one palette but differ in type and shape, so
+each section below says which surface a rule belongs to.
+
+## 1. Visual Theme & Atmosphere
+
+Glint looks like a darkroom with one warm light on. Every base is a neutral
+graphite that is never pure black, text is a soft off-white, and a single amber
+does all the pointing: the primary button, the active control, the focus ring,
+the dot beside a section title. There is no second accent, no blue or purple
+chrome, and no gradient text. Where amber is a fill, the text on it is dark ink,
+never white.
+
+The marketing site leans into film. A faint film grain sits over the whole page,
+a warm light leak bleeds in from the top right corner, and product shots get a
+single streak of light (the "glint") that crosses them once when they scroll into
+view. Headlines are large, tight and solid colored, with generous open space
+around them, in the manner of an Apple product page. One section on the homepage
+flips to solid amber with ink text, like a safelight. The editor is the opposite
+temperament: dense, quiet and tool-like, with frosted glass bars, small uppercase
+labels and a dotted stage behind the canvas so the work is the brightest thing on
+screen.
+
+**Key characteristics**
+
+- Dark first. The site is dark only; the editor also has a light theme.
+- Neutral graphite, cool-leaning grays, one warm accent.
+- Flat surfaces separated by hairlines, not heavy shadows.
+- Sharp 6px corners on cards and media, full pills on buttons and chips.
+- Motion is short and eased, and it switches off under reduced motion.
+
+## 2. Color Palette & Roles
+
+### Primary Foundation
+
+| Name | Hex | Role |
+|:---|:---|:---|
+| Darkroom Graphite | `#0d0d0f` | Page and app background on both surfaces |
+| Sunken Graphite | `#0a0a0c` | Recessed areas on the site |
+| Panel Graphite | `#151518` (site: `#121214`) | Editor sidebar, dialogs, command palette |
+| Raised Graphite | `#1c1c20` (site: `#18181b`) | Inputs, secondary buttons, site cards |
+| Lifted Graphite | `#24242a` | Hover surfaces, floating toolbar, menus |
+| Hairline | white at 7 to 10% | Borders and dividers; 18% for a stronger line |
+| Frosted Glass | `#151518` at 74% with a 24px blur | Editor header, sidebar, toasts; the site nav uses `#0d0d0f` at 60 to 78% |
+
+Editor light theme: Paper Gray `#f4f4f3` (background), Soft White `#fafaf9`
+(panels), Fog `#ebebea` (inputs), Pure White `#ffffff` (raised), with hairlines
+of ink at 8%.
+
+### Accent & Interactive
+
+| Name | Hex | Role |
+|:---|:---|:---|
+| Glint Amber | `#f2a93b` | The one accent: primary buttons, slider thumbs, active marks, selection and guides on the canvas, text selection |
+| Amber Highlight | `#f6bb5e` | Hover and pressed state of amber fills; top of the logo gradient |
+| Deep Amber | `#c47a14` | Borders and focus rings on light backgrounds, where Glint Amber is too faint |
+| Burnt Amber | `#e8913a` | Secondary amber in the editor |
+| Ember Coral | `#e8613a` | Logo gradient end and the light leak only; never a UI color |
+| Ink on Amber | `#141416` | All text and icons on an amber fill |
+| Amber Wash | amber at 12 to 14% | Soft active backgrounds; amber at 40% for accent borders |
+
+### Typography & Text Hierarchy
+
+| Name | Hex | Role |
+|:---|:---|:---|
+| Off-White Ink | `#f2f2f0` (editor: `#ecedf1`) | Headlines and primary text |
+| Soft Gray | `#b4b4b0` (editor: `#9a9ca8`) | Body copy, labels, secondary text |
+| Quiet Gray | `#8d8d89` (editor: `#8a8d99`) | Hints and metadata; the lightest gray that still passes 4.5:1 |
+| Graphite Ink | `#15161a` | Primary text in the light theme, and active text there in place of amber |
+
+### Functional States
+
+| Name | Hex | Role |
+|:---|:---|:---|
+| Mint Success | `#34d399` | Success toasts and confirm buttons (text on it is `#042f2e`) |
+| Soft Red | `#f87171` | Errors and destructive actions |
+
+There is no separate warning or info color. Info uses the neutral text colors.
+
+## 3. Typography Rules
+
+**Marketing site.** Headlines use **Funnel Display**, a wide, confident display
+sans; everything else uses **Funnel Sans**, its plainer companion. Both are
+self-hosted variable fonts (weights 300 to 800).
+
+**Editor and share pages.** **Geist**, a neutral geometric sans that stays
+legible at 11 to 13px, with **JetBrains Mono** for numbers, dimensions and
+timestamps.
+
+### Hierarchy & Weights
+
+| Level | Surface | Size | Weight | Tracking | Line height |
+|:---|:---|:---|:---|:---|:---|
+| Page headline (H1) | Site | 40 to 80px, fluid | 600 | -0.025em | 1.02 |
+| Section headline (H2) | Site | 32 to 56px, fluid | 600 | -0.025em | 1.04 |
+| Closing headline | Site | 36 to 68px, fluid | 600 | -0.025em | tight |
+| Card title (H3) | Site | 20px | 600 | -0.025em | normal |
+| Lede | Site | 18 to 21px | 400 | normal | 1.5 |
+| Body | Site | 15.5 to 19px | 400 | normal | 1.5 |
+| Eyebrow | Site | 17 to 22px, sentence case | 600 | -0.01em | normal |
+| Button | Site | 14.5 to 15.5px | 600 | -0.01em | normal |
+| Logo / dialog title | Editor | 16 to 17px | 600 | -0.2 to -0.3px | normal |
+| Control text, buttons | Editor | 13px | 500 | -0.1px | normal |
+| Section title | Editor | 11px, uppercase | 600 | 1.2px | normal |
+| Control label | Editor | 11px, uppercase | 500 | 0.3px | normal |
+| Values, sizes, times | Editor | 10 to 11px mono | 400 to 500 | normal | normal |
+
+### Spacing Principles
+
+- Site headlines are large and tight; body text is relaxed at 1.5. Headline
+ blocks are capped near 48 characters wide so they break into short lines.
+- Site labels are sentence case. The editor is the only place that uses small
+ uppercase labels with wide tracking.
+- Headline accents are a solid color. No gradient text.
+
+## 4. Component Stylings
+
+### Buttons
+
+- **Site primary:** a full pill filled with Glint Amber and Ink on Amber text,
+ comfortable padding (11px by 22px, larger variant 15px by 30px). Flat: no
+ glow and no lift. Hover brightens to Amber Highlight; press shrinks it very
+ slightly. A trailing arrow slides 3px on hover.
+- **Site secondary (ghost):** a pill of faint frosted glass with a hairline
+ border and off-white text; the border brightens on hover.
+- **Editor primary:** a compact rectangle with 6px corners, amber fill, ink
+ text, 8px by 16px padding. Hover brightens, lifts 1px and adds a soft amber
+ glow.
+- **Editor secondary:** Raised Graphite fill with a hairline border; hover
+ moves to Lifted Graphite.
+- **Focus:** a 2px amber outline, offset 1 to 2px (Deep Amber in light theme).
+- **Timing:** 0.15 to 0.25s with a smooth ease-out; a springy 0.4s curve is
+ reserved for playful moments.
+
+### Cards & Product Shots
+
+- **Site cards:** flat Raised Graphite tiles with 6px corners, a hairline
+ border and roomy padding (26 to 34px). No glass sheen and no lift; hover only
+ strengthens the border. Icons sit bare in amber at 30px, with no badge behind
+ them.
+- **Product shots:** real editor output, 6px corners, full bleed in their
+ frame, with the glint streak on first view and on hover. Large shots may
+ carry a deep, soft drop shadow.
+- **Editor dialogs and the command palette:** Panel Graphite, 14px corners, a
+ hairline border and a large soft shadow. Toasts and the floating toolbar use
+ 10px corners.
+
+### Navigation
+
+- **Site:** a 66px sticky bar of dark frosted glass that gains a hairline once
+ the page scrolls. Each section opens a full-width flyout laid out in three
+ columns; links turn amber on hover. Below 980px the bar becomes a menu button
+ that opens a full-screen list, where a section slides in as its own page with
+ a back button. Product pages add a 52px sticky sub-bar with the page name,
+ section links and one small button.
+- **Editor:** a 52px frosted header with a faint amber line along its bottom
+ edge, a narrow icon rail of stacked icon-plus-label tabs, and one 360px
+ frosted panel beside it (320px on tablets).
+
+### Inputs & Forms
+
+- Text inputs and selects: Raised Graphite fill, hairline border, 6px corners,
+ 9px by 12px padding, 13px text.
+- Sliders: a 4px graphite track with a 14px round amber thumb.
+- Switches: a 40 by 22px pill; the knob is gray when off and the pill turns
+ amber when on.
+- Preset tiles: 44px tall swatches with 6px corners; the active one gets an
+ amber border.
+- Each control sits under a small uppercase label.
+
+### Glint-Specific Components
+
+- **Sidebar section:** 20px padding, a hairline underneath, and a title row
+ with a 5px amber dot before an uppercase label. Sections collapse to their
+ title.
+- **Canvas stage:** graphite with a faint 22px dot grid, so it reads as a work
+ surface. The empty state is a 600 by 400 drop zone with a dashed amber border,
+ 20px corners and a barely-there amber wash.
+- **Safelight section (site):** one full-width band of solid amber with ink
+ text. Use it once per page at most.
+- **Logo:** a four-point sparkle on a rounded tile with an amber-to-coral
+ gradient (`#f6bb5e` to `#e8613a`).
+
+## 5. Layout Principles
+
+### Grid & Structure
+
+- Site content sits in a 1200px container (760px for narrow text pages) with a
+ fluid side gutter of 20 to 64px.
+- Card grids are two, three or four equal columns with a 16px gap. Feature rows
+ are two equal columns, picture beside text. The footer is five columns.
+- The editor is a fixed, full-height app: header on top, icon rail and panel on
+ the left, canvas filling the rest. It does not scroll as a page.
+
+### Whitespace Strategy
+
+- Base unit is 4px. Controls sit 6 to 14px apart; panels pad 20px.
+- Site sections breathe: 72 to 128px above and below, and page heads open with
+ 64 to 128px. Closing sections end on open space, one line and one button.
+- The editor is dense by design. Space comes from hairlines and grouping, not
+ from large gaps.
+
+### Alignment & Visual Balance
+
+- Site heroes and closing sections are centered; feature chapters are left
+ aligned with the picture carrying the weight.
+- Depth is quiet: hairlines first, frosted glass for bars, shadows only for
+ things that float (dialogs, menus, toasts, large product shots).
+- Atmosphere is fixed to the viewport: grain at 16% opacity over everything and
+ one light leak in the top right. Grain is removed under high-contrast settings.
+
+### Responsive Behavior & Touch
+
+- Desktop first, with max-width breakpoints. Site: 1000, 980 (nav becomes the
+ phone menu), 860, 760, 700, 560 and 460px. Editor: 1024 and 767px.
+- Grids step down to two columns, then one. The sub-bar hides its button and
+ lets its links scroll sideways.
+- The editor has extra rules for touch (`pointer: coarse`, `hover: none`) to
+ enlarge targets and drop hover-only affordances.
+- Reduced motion turns off the glint streak and reveal animations; reduced
+ transparency replaces frosted glass with solid fills.
+
+## 6. Design System Notes for Stitch Generation
+
+### Language to Use
+
+- "Dark graphite interface, never pure black, with a single warm amber accent."
+- "Darkroom mood: film grain, one warm light leak in the top right corner."
+- "Large, tight, solid-color headlines with lots of open space, like an Apple
+ product page."
+- "Flat cards with sharp 6px corners and hairline borders; pill-shaped buttons."
+- "Dark ink text on amber buttons."
+- Avoid: gradients on text, blue or purple accents, glowing buttons, large
+ rounded card corners, stock photos, white text on amber.
+
+### Color References
+
+- Darkroom Graphite `#0d0d0f` (background)
+- Raised Graphite `#18181b` (cards)
+- Off-White Ink `#f2f2f0` (headlines), Soft Gray `#b4b4b0` (body)
+- Glint Amber `#f2a93b` (the only accent), Amber Highlight `#f6bb5e` (hover)
+- Ink on Amber `#141416` (text on amber)
+- Mint Success `#34d399`, Soft Red `#f87171`
+
+### Component Prompts
+
+- "A centered hero on a dark graphite page with subtle film grain: a small
+ amber sparkle logo, a very large tight off-white headline in a wide display
+ sans, one line of soft gray text, an amber pill button with dark text and a
+ frosted glass pill button beside it, then a large product screenshot with
+ sharp 6px corners below."
+- "A row of three flat feature cards on dark graphite: slightly lighter
+ graphite fill, hairline border, 6px corners, a bare amber line icon, a 20px
+ semibold title and two lines of soft gray text. No shadows."
+- "A dense editor sidebar in dark frosted glass, 360px wide: sections divided
+ by hairlines, each with a tiny uppercase gray title and an amber dot, small
+ uppercase control labels, thin sliders with round amber thumbs, pill switches
+ that turn amber when on, and a compact amber primary button with dark text."
+
+### Incremental Iteration
+
+- Keep one accent per screen. If a second color is asked for, use a neutral.
+- When a screen looks generic, sharpen card corners to 6px and remove shadows
+ before changing colors.
+- For site screens ask for Funnel Display headlines and Funnel Sans text; for
+ tool screens ask for Geist at 13px with 11px uppercase labels.
+- Ask for the amber safelight band or the film grain by name; add at most one
+ amber band per page.
diff --git a/CLAUDE.md b/CLAUDE.md
index 8d9d5b1..373a0b4 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -233,4 +233,5 @@ Current `SCHEMA_VERSION` is 26 (v42 Junction: tour hotspot targets, Bokeh tilt-s
## Things that look like project rules but aren't
- `.claude/skills/taste-skill` is the **required** design skill for marketing pages and any identity work (v36 Glint rebrand: the brand has its own identity, so new pages are built under its design read, dials and §14 pre-flight, including zero em/en dashes in marketing copy). `.claude/skills/redesign-skill` is only for small polish passes on existing pages. Both are generic skills (see `.claude/skills/ATTRIBUTION.md`); express them as vanilla HTML/CSS. Their React/Tailwind suggestions are not conventions for this repo, and neither skill applies to the editor UI.
+- `.claude/skills/extract-design-md` (from Google's stitch-skills) writes a DESIGN.md describing a codebase's design system. Use it only when asked; it is not a design rule for this repo, and `taste-skill` stays the required design skill for the marketing pages.
- `SnapShot-Pro-main/` is a legacy pre-Vite single-file version of the app, kept for reference. The live app is everything under `src/` + `editor/`. Do not edit the legacy copy.