diff --git a/AGENTS.md b/AGENTS.md index 5fbe4b9cc4..cc61b76a08 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -30,6 +30,7 @@ OpenScreen is a free, open-source screen recorder and video editor (Electron + R - `scripts/` — native build scripts, diagnostic tools - `nix/`, `flake.nix` — Linux packaging - `release/`, `dist-electron/` — build artifacts (gitignored) +- `site/` — the Marquee landing page: static HTML, CSS and JS with no build step, served by Vercel with `site` as the project root (`site/vercel.json` skips builds when nothing in `site/` changed). Preview with `python -m http.server --directory site`; the logo files are in `site/brand/` ## Code style diff --git a/site/404.html b/site/404.html new file mode 100644 index 0000000000..a8599b55ba --- /dev/null +++ b/site/404.html @@ -0,0 +1,24 @@ + + + + + + Page not found · Marquee + + + + + + +
+ + + Marquee + +

Error 404

+

This scene was cut.

+

The page you asked for is not on the program. The main stage is one click away.

+ Back to the main stage +
+ + diff --git a/site/apple-touch-icon.png b/site/apple-touch-icon.png new file mode 100644 index 0000000000..e5cb3156e2 Binary files /dev/null and b/site/apple-touch-icon.png differ diff --git a/site/assets/studio-frame.webp b/site/assets/studio-frame.webp new file mode 100644 index 0000000000..ece6abf6c2 Binary files /dev/null and b/site/assets/studio-frame.webp differ diff --git a/site/assets/studio-timeline.webp b/site/assets/studio-timeline.webp new file mode 100644 index 0000000000..d6d161a2d2 Binary files /dev/null and b/site/assets/studio-timeline.webp differ diff --git a/site/brand/app-icon-1024.png b/site/brand/app-icon-1024.png new file mode 100644 index 0000000000..a6b7a09f0b Binary files /dev/null and b/site/brand/app-icon-1024.png differ diff --git a/site/brand/app-icon.svg b/site/brand/app-icon.svg new file mode 100644 index 0000000000..374a87c023 --- /dev/null +++ b/site/brand/app-icon.svg @@ -0,0 +1,25 @@ + + Marquee + + + + + + + + + + + + + + + + + + + + + + + diff --git a/site/brand/index.html b/site/brand/index.html new file mode 100644 index 0000000000..6b1af11bf6 --- /dev/null +++ b/site/brand/index.html @@ -0,0 +1,87 @@ + + + + + + Brand assets · Marquee + + + + + + + + + + + + + + +
+
+

Brand assets

+

A frame of bulbs around the record light

+

Up close the mark is a theatre marquee. At icon size it turns into the dotted marquee of a selection, which is exactly what the app draws when you pick an area. The red dot is the recorder's own Record button.

+
+ +
+
+
The Marquee mark: eighteen warm bulbs in a rounded frame around a red dot.
+

Mark

+

For dark backgrounds. Keep clear space of one bulb row around it.

+ +
+
+
The Marquee app icon: the mark on a graphite rounded square.
+

App icon

+

Graphite squircle, the bulbs with a soft glow. Use the PNG where SVG is not accepted.

+ +
+
+
The Marquee lockup: the mark next to the word Marquee.
+

Lockup

+

The mark with the name set in Geist Semibold, outlined, so it needs no font.

+ +
+
+ +

The sign

+

The name in bulbs, five by seven, with the record light in the tail of the Q. It is for big moments: a finale, a cover, a social card.

+
+
+ +
+

Colors

+ +
+
+ + + + diff --git a/site/brand/lockup.png b/site/brand/lockup.png new file mode 100644 index 0000000000..a0b8a4d3c6 Binary files /dev/null and b/site/brand/lockup.png differ diff --git a/site/brand/lockup.svg b/site/brand/lockup.svg new file mode 100644 index 0000000000..7ba09db22e --- /dev/null +++ b/site/brand/lockup.svg @@ -0,0 +1,6 @@ + + Marquee + + + + diff --git a/site/brand/mark.svg b/site/brand/mark.svg new file mode 100644 index 0000000000..655acf3792 --- /dev/null +++ b/site/brand/mark.svg @@ -0,0 +1,6 @@ + + Marquee + + + + diff --git a/site/favicon-32.png b/site/favicon-32.png new file mode 100644 index 0000000000..a79d5aa2bd Binary files /dev/null and b/site/favicon-32.png differ diff --git a/site/favicon.svg b/site/favicon.svg new file mode 100644 index 0000000000..c4209fc480 --- /dev/null +++ b/site/favicon.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/site/fonts/Geist-Variable.woff2 b/site/fonts/Geist-Variable.woff2 new file mode 100644 index 0000000000..b62a364a13 Binary files /dev/null and b/site/fonts/Geist-Variable.woff2 differ diff --git a/site/fonts/GeistMono-Variable.woff2 b/site/fonts/GeistMono-Variable.woff2 new file mode 100644 index 0000000000..87f9541f7e Binary files /dev/null and b/site/fonts/GeistMono-Variable.woff2 differ diff --git a/site/fonts/OFL.txt b/site/fonts/OFL.txt new file mode 100644 index 0000000000..8d003fec6b --- /dev/null +++ b/site/fonts/OFL.txt @@ -0,0 +1,92 @@ +Copyright (c) 2023 Vercel, in collaboration with basement.studio + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION AND CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/site/icons.svg b/site/icons.svg new file mode 100644 index 0000000000..c6853a6241 --- /dev/null +++ b/site/icons.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/site/index.html b/site/index.html new file mode 100644 index 0000000000..c46ee2a7a3 --- /dev/null +++ b/site/index.html @@ -0,0 +1,412 @@ + + + + + + Marquee: a free, open source screen recorder + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Now showing · Free and open source

+

+ Draw a box. + Hit record. + Send the clip. +

+

Marquee records any part of your screen and saves the MP4 the moment you stop. When a clip needs polish, Studio adds zooms, device frames and captions.

+ +

Windows, macOS and LinuxMIT licenseNo account

+ + + +
+ + +
+

Why Marquee

+
+

Showing beats explaining. A ten second clip of the bug, the chart or the new button says more than three paragraphs in a chat.

+

Marquee keeps that clip one keystroke away. It waits in the tray, starts on a single shortcut and puts every recording in a folder you choose, already named and ready to send.

+
+
+ + +
+
+

How it works

+

Three acts. No intermission.

+
+
    +
  1. + +

    Act I

    +

    Press the shortcut

    +

    One shortcut starts and stops a recording from anywhere. The area picker opens with your last area already drawn, so a repeat take is shortcut, then Enter.

    +
  2. +
  3. + +

    Act II

    +

    Draw the area

    +

    Drag out any area, snap it to 16:9, 4:3, 1:1 or 9:16, or pick an exact 720p or 1080p frame. The size is shown in real pixels.

    +
  4. +
  5. + +

    Act III

    +

    Stop and send

    +

    A second or two later the MP4 is in your folder. Copy the file straight into a chat, or upload it to Yandex Disk and copy the link.

    +
  6. +
+
+ + +
+
+
    +
  • Area
  • Window
  • Screen
  • 720p
  • 1080p
  • Original size
  • 30 or 60 fps
  • System audio
  • Microphone
  • Camera
  • Auto zoom
  • Cursor effects
  • Motion blur
  • Captions
  • Device frames
  • MP4
  • GIF
  • 13 languages
  • +
+ +
+
+ + +
+
+

Studio

+

When it needs polish,
open Studio.

+

Turn the camera on or make the cursor editable, and the recording keeps its tracks for Studio. Frame it, cut it and export it from one window.

+
+ +
+
+
+

Device frames at real proportions

+

Phone, tablet, laptop or browser window, in graphite, silver, black or white. A device never stretches to fit the video: you scale it, turn it, and choose fill or fit.

+
+
+ Studio with the Frame tab open: a Marquee recording inside a graphite laptop on a coral gradient, with device and color settings on the right and the clip on the timeline below. +
+
+ +
+
+ The timeline: the clip with a piece cut out of the middle, the two halves joined and a scissors mark where the cut was. +
+
+

Cut it like an editor

+

Split with T and remove with Delete, as in any editor. The cut stays marked on the track, and one click puts the piece back.

+
+
+ +
+ +
+

Captions written on your computer

+

Whisper turns a 77 second meeting into text in about 14 seconds on a midrange GPU. A transcript and subtitles land next to the video. Nothing is uploaded.

+
+
+ +
+ +
+

Zooms that follow the cursor

+

Auto zoom tracks where you work. Depth, duration, easing and position stay yours to tune, down to the pixel.

+
+
+ +
+ +
+

Export once, share anywhere

+

MP4 at 720p, 1080p or the source size, or a GIF. Save it anywhere, or publish to Yandex Disk and copy the link.

+
+
+
+
+ + +
+

The fine print, in large type

+

Every clip lands in a folder you own. Nothing leaves your computer unless you ask, and nothing is locked behind a paywall.

+
+ + +
+
+

Free, for real

+

Not a trial. Not a tier.

+

Marquee has no paid plan, no watermark and no sign in. It is MIT licensed, so you can use it at work, change it and ship your own build.

+
+ +

Marquee is a fork of OpenScreen, created by Siddharth Vaddem and carried on by its contributors.

+
+ + +
+
+

FAQ

+

Questions from the front row

+
+
+
+ Is Marquee really free? +

Yes. There is no paid plan and nothing is locked. The MIT license allows personal and commercial use, changes and redistribution.

+
+
+ Which systems does it run on? +

Windows, macOS (Apple Silicon and Intel) and Linux, as a .deb, a .pacman package or an AppImage. Every installer is on the releases page.

+
+
+ Why does my computer warn me on the first launch? +

The installers are not code signed yet. On Windows, choose More info, then Run anyway. On macOS, the install notes have a one line command that clears the quarantine flag.

+
+
+ Why does the installer say OpenScreen? +

Marquee is the new name of OpenScreen Creator Edition. The releases on GitHub still carry the old name for now.

+
+
+ Does it upload my recordings? +

No. Every clip is saved to your own folder. A link is made only when you press Copy link, which uploads that one file to your Yandex Disk. Sharing never deletes the clip from your folder.

+
+
+ Can it record my camera and my voice? +

Yes. Microphone and system audio are toggles on the recorder, and window or screen recordings can include the camera as picture in picture. Area clips always include the cursor and leave the camera out.

+
+
+ How do captions work without the cloud? +

Whisper runs on your computer. The speech model downloads once, the first time you transcribe (about 560 MB for the GPU model, 250 MB for the processor one), and works offline after that.

+
+
+ Can I edit a video I did not record with Marquee? +

Yes. Studio opens MP4, MOV, WebM, MKV and AVI files, from the title bar, by dropping a file onto the editor, or from the recorder menu.

+
+
+ Is it stable? +

It is young software, so expect rough edges. If something breaks, an issue on GitHub helps the most.

+
+
+
+ + +
+ +

Now showing on GitHub

+

Free for Windows, macOS and Linux.

+ +
+
+ + + + diff --git a/site/main.js b/site/main.js new file mode 100644 index 0000000000..cb10f81276 --- /dev/null +++ b/site/main.js @@ -0,0 +1,346 @@ +// Marquee landing: small, independent behaviours. No framework, no build step. +(() => { + document.documentElement.classList.add("js"); + const reduce = matchMedia("(prefers-reduced-motion: reduce)").matches; + const NS = "http://www.w3.org/2000/svg"; + + // Pause decorative animation while it is off screen. + const pauser = new IntersectionObserver((entries) => { + for (const e of entries) e.target.classList.toggle("is-paused", !e.isIntersecting); + }); + + // ---- Reveal once on scroll --------------------------------------------- + const revealer = new IntersectionObserver( + (entries) => { + for (const e of entries) { + if (!e.isIntersecting) continue; + e.target.classList.add("is-in"); + revealer.unobserve(e.target); + } + }, + { rootMargin: "0px 0px -10% 0px" }, + ); + for (const el of document.querySelectorAll(".reveal, .sign")) revealer.observe(el); + + // ---- Bulbs: a frame of lights that chase around the host --------------- + // Starts at the top centre, so every even count is symmetric on both axes. + const frame = (w, h, r) => + `M${w / 2} 0H${w - r}A${r} ${r} 0 0 1 ${w} ${r}V${h - r}A${r} ${r} 0 0 1 ${w - r} ${h}` + + `H${r}A${r} ${r} 0 0 1 0 ${h - r}V${r}A${r} ${r} 0 0 1 ${r} 0Z`; + + function bulbs(host) { + const layers = ["bulbs-base", "bulbs-lit b0", "bulbs-lit b1", "bulbs-lit b2"].map((cls) => { + const svg = document.createElementNS(NS, "svg"); + svg.setAttribute("class", `bulbs ${cls}`); + svg.setAttribute("aria-hidden", "true"); + svg.append(document.createElementNS(NS, "path")); + host.append(svg); + return svg.firstChild; + }); + const draw = () => { + const cs = getComputedStyle(host); + const gap = Number.parseFloat(cs.getPropertyValue("--bulb-gap")) || 16; + const size = Number.parseFloat(cs.getPropertyValue("--bulb-size")) || 5; + const shape = host.querySelector(".stage-screen") || host; + const r = (Number.parseFloat(getComputedStyle(shape).borderTopLeftRadius) || 0) + gap; + const w = host.offsetWidth + gap * 2; + const h = host.offsetHeight + gap * 2; + const length = 2 * (w - 2 * r) + 2 * (h - 2 * r) + 2 * Math.PI * r; + // A multiple of three, for the three-phase chase. Spacing grows with the bulb. + const n = Math.max(3, Math.round(length / (size * 5.2) / 3) * 3); + layers.forEach((path, i) => { + path.setAttribute("d", frame(w, h, r)); + path.setAttribute("pathLength", String(n)); + path.setAttribute("stroke-dasharray", i === 0 ? "0 1" : "0 3"); + path.setAttribute("stroke-dashoffset", i === 0 ? "0" : String(-(i - 1))); + }); + }; + draw(); + new ResizeObserver(draw).observe(host); + pauser.observe(host); + } + + // ---- The sign: MARQUEE in bulbs, the Q's tail is the record light ------- + const GLYPHS = { + M: ["X...X", "XX.XX", "X.X.X", "X.X.X", "X...X", "X...X", "X...X"], + A: [".XXX.", "X...X", "X...X", "XXXXX", "X...X", "X...X", "X...X"], + R: ["XXXX.", "X...X", "X...X", "XXXX.", "X.X..", "X..X.", "X...X"], + Q: [".XXX.", "X...X", "X...X", "X...X", "X.X.X", "X..X.", ".XX.X"], + U: ["X...X", "X...X", "X...X", "X...X", "X...X", "X...X", ".XXX."], + E: ["XXXXX", "X....", "X....", "XXXX.", "X....", "X....", "XXXXX"], + }; + + function sign(host) { + const word = "MARQUEE"; + const cols = word.length * 6 - 1; + const svg = document.createElementNS(NS, "svg"); + svg.setAttribute("class", "sign-letters"); + svg.setAttribute("viewBox", `0 0 ${cols * 10} 70`); + [...word].forEach((ch, i) => { + GLYPHS[ch].forEach((row, y) => { + [...row].forEach((cell, x) => { + const col = i * 6 + x; + const c = document.createElementNS(NS, "circle"); + c.setAttribute("cx", String(col * 10 + 5)); + c.setAttribute("cy", String(y * 10 + 5)); + c.setAttribute("r", "3.4"); + if (cell === "X") { + c.setAttribute("class", ch === "Q" && y === 6 && x === 4 ? "on red" : "on"); + c.style.setProperty("--d", `${col * 24 + y * 12}ms`); + } + svg.append(c); + }); + }); + }); + host.append(svg); + } + + const signHost = document.querySelector("[data-sign]"); + if (signHost) sign(signHost); + for (const host of document.querySelectorAll("[data-bulbs]")) bulbs(host); + + // ---- "box": the selection around the word shows its size in real pixels -- + const wordbox = document.querySelector("[data-wordbox]"); + if (wordbox) { + const ui = wordbox.querySelector(".wordbox-ui"); + const label = wordbox.querySelector("[data-wordbox-size]"); + const measure = () => { + const r = ui.getBoundingClientRect(); + const d = window.devicePixelRatio || 1; + label.textContent = `${Math.round(r.width * d)} × ${Math.round(r.height * d)}`; + }; + measure(); + new ResizeObserver(measure).observe(wordbox); + document.fonts?.ready.then(measure); + } + + // ---- Tagline: words light up one at a time as the block scrolls by ------- + const tagline = document.querySelector("[data-tagline]"); + if (tagline) { + const hot = new Set(["own.", "ask,", "paywall."]); + const words = tagline.textContent.trim().split(/\s+/); + tagline.textContent = ""; + const spans = words.map((w, i) => { + const s = document.createElement("span"); + s.className = hot.has(w) ? "w hot" : "w"; + s.textContent = w; + tagline.append(s, i < words.length - 1 ? " " : ""); + return s; + }); + if (reduce) { + for (const s of spans) s.classList.add("is-lit"); + } else { + let queued = false; + const update = () => { + queued = false; + const r = tagline.getBoundingClientRect(); + const start = innerHeight * 0.85; + const end = innerHeight * 0.4; + const p = (start - r.top) / (start - end + r.height); + const lit = Math.round(Math.min(1, Math.max(0, p)) * spans.length); + spans.forEach((s, i) => s.classList.toggle("is-lit", i < lit)); + }; + addEventListener( + "scroll", + () => { + if (queued) return; + queued = true; + requestAnimationFrame(update); + }, + { passive: true }, + ); + update(); + } + } + + // ---- Navigation: mark the section in view ------------------------------- + const links = new Map( + [...document.querySelectorAll("[data-spy]")].map((a) => [a.dataset.spy, a]), + ); + const spy = new IntersectionObserver( + (entries) => { + for (const e of entries) { + const link = links.get(e.target.id); + if (!link) continue; + if (e.isIntersecting) link.setAttribute("aria-current", "true"); + else link.removeAttribute("aria-current"); + } + }, + { rootMargin: "-45% 0px -50% 0px" }, + ); + for (const id of links.keys()) { + const section = document.getElementById(id); + if (section) spy.observe(section); + } + + const ticker = document.querySelector(".ticker"); + if (ticker) pauser.observe(ticker); + + // ---- The stage: hotkey, select, record, stop, copy. On a loop. ---------- + const stage = document.querySelector(".stage"); + if (stage) demo(stage); + + function demo(stage) { + const screen = stage.querySelector(".stage-screen"); + const desk = stage.querySelector("[data-desk]"); + const sel = desk.querySelector("[data-sel]"); + const selSize = desk.querySelector("[data-sel-size]"); + const cursor = desk.querySelector("[data-cursor]"); + const timer = desk.querySelector("[data-timer]"); + const copyBtn = desk.querySelector('[data-target="copy-link"]'); + const copyLabel = desk.querySelector("[data-copy-label]"); + const narrow = matchMedia("(max-width: 700px)"); + const SEL = { x: 288, y: 104, w: 704, h: 396 }; + const REST = { x: 930, y: 660 }; + + const fit = () => { + desk.style.setProperty("--k", String(screen.clientWidth / (narrow.matches ? 840 : 1280))); + }; + fit(); + new ResizeObserver(fit).observe(screen); + + const phase = (p) => { + desk.dataset.phase = p; + }; + + if (reduce) { + phase("done"); + cursor.style.display = "none"; + return; + } + + let visible = false; + let wake = null; + new IntersectionObserver(([e]) => { + visible = e.isIntersecting; + if (visible) wake?.(); + }).observe(stage); + document.addEventListener("visibilitychange", () => { + if (!document.hidden && visible) wake?.(); + }); + const gate = () => + visible && !document.hidden + ? Promise.resolve() + : new Promise((resolve) => { + wake = resolve; + }); + + const wait = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); + const inOut = (t) => (t < 0.5 ? 4 * t * t * t : 1 - (-2 * t + 2) ** 3 / 2); + const out = (t) => 1 - (1 - t) ** 3; + const tween = (ms, fn, ease = inOut) => + new Promise((resolve) => { + const t0 = performance.now(); + const tick = (now) => { + const t = Math.min(1, (now - t0) / ms); + fn(ease(t)); + if (t < 1) requestAnimationFrame(tick); + else resolve(); + }; + requestAnimationFrame(tick); + }); + + let pos = { ...REST }; + const put = (p) => { + pos = p; + cursor.style.transform = `translate(${p.x}px, ${p.y}px)`; + }; + const moveTo = (to, ms) => { + const from = { ...pos }; + return tween(ms, (p) => + put({ x: from.x + (to.x - from.x) * p, y: from.y + (to.y - from.y) * p }), + ); + }; + // Centre of an element in desk coordinates (the desk is scaled by --k). + const at = (el, dx = 0, dy = 0) => { + const d = desk.getBoundingClientRect(); + const r = el.getBoundingClientRect(); + const k = d.width / 1280; + return { + x: (r.left + r.width / 2 - d.left) / k + dx, + y: (r.top + r.height / 2 - d.top) / k + dy, + }; + }; + const press = async (el) => { + cursor.classList.add("is-clicking"); + el.classList.add("is-pressed"); + await wait(140); + cursor.classList.remove("is-clicking"); + el.classList.remove("is-pressed"); + }; + const drag = (ms) => + tween( + ms, + (p) => { + const w = SEL.w * p; + const h = SEL.h * p; + sel.style.width = `${w}px`; + sel.style.height = `${h}px`; + selSize.textContent = `${Math.round(1280 * p)} × ${Math.round(720 * p)}`; + put({ x: SEL.x + w, y: SEL.y + h }); + }, + out, + ); + + put(REST); + + (async () => { + for (let take = 0; ; take++) { + await gate(); + phase("idle"); + sel.style.width = "0px"; + sel.style.height = "0px"; + selSize.textContent = "0 × 0"; + timer.textContent = "00:00"; + copyLabel.textContent = "Copy link"; + copyBtn.classList.remove("is-done"); + delete desk.dataset.tip; + // Let the first look at the desk last a little longer. + await wait(take === 0 ? 1800 : 800); + + phase("keys"); + await wait(1200); + phase("select"); + await moveTo({ x: SEL.x, y: SEL.y }, 700); + await wait(120); + await drag(1000); + phase("ready"); + await wait(500); + + const rec = desk.querySelector('[data-target="picker-rec"]'); + await moveTo(at(rec, -14, 2), 650); + await press(rec); + phase("rec"); + let secs = 0; + const clock = setInterval(() => { + secs += 1; + timer.textContent = `00:${String(secs).padStart(2, "0")}`; + }, 1000); + + const dip = desk.querySelector(".dip"); + await moveTo(at(dip, 6, 8), 900); + desk.dataset.tip = ""; + await wait(1300); + await moveTo(at(dip, 120, -70), 900); + delete desk.dataset.tip; + await wait(300); + + const stop = desk.querySelector('[data-target="stop"]'); + await moveTo(at(stop, -20, 2), 800); + await press(stop); + clearInterval(clock); + phase("done"); + await wait(600); + + await moveTo(at(copyBtn, -10, 2), 700); + await press(copyBtn); + copyLabel.textContent = "Link copied"; + copyBtn.classList.add("is-done"); + await wait(2400); + + phase("idle"); + await moveTo(REST, 900); + } + })(); + } +})(); diff --git a/site/og.png b/site/og.png new file mode 100644 index 0000000000..cc4d8a8c28 Binary files /dev/null and b/site/og.png differ diff --git a/site/robots.txt b/site/robots.txt new file mode 100644 index 0000000000..c2a49f4fb8 --- /dev/null +++ b/site/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Allow: / diff --git a/site/styles.css b/site/styles.css new file mode 100644 index 0000000000..09fe7830d5 --- /dev/null +++ b/site/styles.css @@ -0,0 +1,2469 @@ +/* Marquee landing. One typeface (Geist, with Geist Mono for numbers), the recorder's + graphite palette, and one brand flourish: bulbs that chase around whatever is on stage. */ + +@font-face { + font-family: "Geist"; + src: url("/fonts/Geist-Variable.woff2") format("woff2"); + font-weight: 100 900; + font-display: swap; +} + +@font-face { + font-family: "Geist Mono"; + src: url("/fonts/GeistMono-Variable.woff2") format("woff2"); + font-weight: 100 900; + font-display: swap; +} + +:root { + color-scheme: dark; + --bg: #181818; + --surface: #1f1f1f; + --surface-2: #272727; + --surface-3: #313131; + --line: rgba(255, 255, 255, 0.1); + --line-strong: rgba(255, 255, 255, 0.16); + --text: #ffffff; + --text-2: rgba(235, 235, 245, 0.64); + --text-3: rgba(235, 235, 245, 0.42); + --red: #ff453a; + --red-hover: #ff5b51; + --blue: #0a84ff; + --green: #30d158; + --bulb: #ffe6b8; + --bulb-glow: rgba(255, 176, 84, 0.85); + --ease: cubic-bezier(0.22, 1, 0.36, 1); + --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; + --mono: "Geist Mono", ui-monospace, "SF Mono", Consolas, monospace; + --gutter: 24px; +} + +@media (max-width: 640px) { + :root { + --gutter: 16px; + } +} + +*, +*::before, +*::after { + box-sizing: border-box; +} + +html { + -webkit-text-size-adjust: 100%; + scroll-padding-top: 96px; +} + +@media (prefers-reduced-motion: no-preference) { + html { + scroll-behavior: smooth; + } +} + +body { + margin: 0; + overflow-x: clip; + background: var(--bg); + color: var(--text); + font-family: var(--font); + font-size: 1rem; + line-height: 1.5rem; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +img, +svg { + display: block; + max-width: 100%; +} + +a { + color: inherit; + text-decoration: none; +} + +h1, +h2, +h3, +p, +figure { + margin: 0; +} + +ul, +ol { + margin: 0; + padding: 0; + list-style: none; +} + +h1, +h2, +h3, +summary { + text-wrap: balance; +} + +p, +li { + text-wrap: pretty; +} + +:focus-visible { + outline: 2px solid var(--blue); + outline-offset: 2px; +} + +.sr { + position: absolute; + width: 1px; + height: 1px; + overflow: hidden; + clip: rect(0 0 0 0); + white-space: nowrap; +} + +.skip { + position: fixed; + top: -48px; + left: 16px; + z-index: 100; + padding: 8px 12px; + border-radius: 8px; + background: var(--text); + color: #000; + font-weight: 600; + transition: transform 300ms var(--ease); +} + +.skip:focus { + transform: translateY(64px); +} + +/* ---- Text styles (Tailwind scale steps only) ---------------------------- */ + +.heading-1 { + font-size: 3.75rem; + line-height: 1; + font-weight: 600; + letter-spacing: -0.04em; +} + +.heading-2 { + font-size: 3rem; + line-height: 1; + font-weight: 600; + letter-spacing: -0.035em; +} + +.heading-3 { + font-size: 2.25rem; + line-height: 2.5rem; + font-weight: 600; + letter-spacing: -0.03em; +} + +.heading-6 { + font-size: 1.25rem; + line-height: 1.75rem; + font-weight: 600; + letter-spacing: -0.015em; +} + +.title-2 { + font-size: 1.125rem; + line-height: 1.75rem; + font-weight: 500; + letter-spacing: -0.02em; +} + +.title-3 { + font-size: 1rem; + line-height: 1.5rem; + font-weight: 500; +} + +.title-4 { + font-size: 0.875rem; + line-height: 1.25rem; + font-weight: 500; +} + +.body-3 { + font-size: 1rem; + line-height: 1.5rem; + font-weight: 400; +} + +.body-5 { + font-size: 0.875rem; + line-height: 1.25rem; + font-weight: 500; +} + +.body-6 { + font-size: 0.875rem; + line-height: 1.25rem; + font-weight: 400; +} + +.button-md { + font-size: 1rem; + line-height: 1.5rem; + font-weight: 600; +} + +.button-sm { + font-size: 0.875rem; + line-height: 1.25rem; + font-weight: 600; +} + +.caption-3 { + font-size: 0.75rem; + line-height: 1rem; + font-weight: 600; +} + +.caption-4 { + font-size: 0.75rem; + line-height: 1rem; + font-weight: 500; +} + +.caption-5 { + font-size: 0.75rem; + line-height: 1rem; + font-weight: 400; +} + +@media (max-width: 640px) { + .heading-1 { + font-size: 3rem; + } + + .heading-2 { + font-size: 2.25rem; + line-height: 2.5rem; + } + + .heading-3 { + font-size: 1.875rem; + line-height: 2.25rem; + } +} + +kbd { + font-family: var(--mono); + font-size: 0.8em; + padding: 0 4px; + border-radius: 4px; + background: rgba(255, 255, 255, 0.08); + box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.4); +} + +/* ---- Brand ---------------------------------------------------------------- */ + +.brand { + display: inline-flex; + align-items: center; + gap: 8px; + color: var(--text); +} + +.brand-mark { + width: 30px; + height: 24px; + overflow: visible; +} + +.brand-mark path { + fill: none; + stroke: var(--bulb); + stroke-width: 3.4; + stroke-linecap: round; + stroke-dasharray: 0 1; +} + +.brand-mark circle { + fill: var(--red); +} + +/* The mark's bulbs march when the logo is hovered: the marquee is the selection. */ +@media (prefers-reduced-motion: no-preference) { + .brand:hover .brand-mark path { + animation: march 600ms linear infinite; + } +} + +@keyframes march { + to { + stroke-dashoffset: -1; + } +} + +/* ---- Navigation ----------------------------------------------------------- */ + +.nav-wrap { + position: fixed; + top: 16px; + left: 0; + right: 0; + z-index: 50; + display: flex; + justify-content: center; + padding: 0 var(--gutter); + pointer-events: none; +} + +.nav { + display: flex; + align-items: center; + gap: 24px; + padding: 8px 8px 8px 16px; + border: 1px solid var(--line); + border-radius: 9999px; + background: rgba(31, 31, 31, 0.72); + -webkit-backdrop-filter: blur(16px) saturate(1.6); + backdrop-filter: blur(16px) saturate(1.6); + box-shadow: + 0 16px 32px -16px rgba(0, 0, 0, 0.7), + inset 0 1px 0 rgba(255, 255, 255, 0.06); + pointer-events: auto; +} + +.nav-links { + display: flex; + gap: 4px; +} + +.nav-links a { + display: block; + padding: 4px 12px; + border-radius: 9999px; + color: var(--text-2); + transition: + color 300ms var(--ease), + background-color 300ms var(--ease); +} + +.nav-links a:hover { + color: var(--text); +} + +.nav-links a[aria-current="true"] { + color: var(--text); + background: rgba(255, 255, 255, 0.08); +} + +@media (max-width: 640px) { + .nav { + gap: 16px; + } + + .nav-links { + display: none; + } +} + +/* ---- Buttons and links ---------------------------------------------------- */ + +.btn { + display: inline-flex; + align-items: center; + justify-content: center; + gap: 8px; + padding: 8px 12px; + border-radius: 12px; + white-space: nowrap; + transition: + transform 300ms var(--ease), + background-color 300ms var(--ease); +} + +.btn:active { + transform: scale(0.98); +} + +.btn .ico { + width: 20px; + height: 20px; +} + +.btn-sm { + padding: 4px 12px; + border-radius: 9999px; +} + +.btn-sm .ico { + width: 16px; + height: 16px; +} + +/* The primary action borrows the recorder's Record button: red, with the white dot. */ +.btn-rec { + padding: 8px 16px 8px 12px; + background: var(--red); + color: #fff; + box-shadow: + inset 0 1px 0 rgba(255, 255, 255, 0.32), + 0 12px 32px -12px rgba(255, 69, 58, 0.75); +} + +.btn-rec::before { + content: ""; + width: 10px; + height: 10px; + margin: 0 4px; + border-radius: 50%; + background: #fff; +} + +.btn-rec .ico { + display: none; +} + +.btn-rec:hover { + background: var(--red-hover); +} + +.btn-ghost { + background: rgba(255, 255, 255, 0.08); + color: var(--text); +} + +.btn-ghost:hover { + background: rgba(255, 255, 255, 0.14); +} + +.link { + display: inline-flex; + align-items: center; + gap: 4px; + color: var(--text-2); + transition: color 300ms var(--ease); +} + +.link:hover { + color: var(--text); +} + +.link .ico { + width: 16px; + height: 16px; + transition: transform 300ms var(--ease); +} + +.link:hover .ico { + transform: translateX(2px); +} + +p .link, +li .link { + display: inline; + color: var(--text); + text-decoration: underline; + text-decoration-color: var(--line-strong); + text-underline-offset: 4px; + transition: text-decoration-color 300ms var(--ease); +} + +p .link:hover, +li .link:hover { + text-decoration-color: var(--text); +} + +/* ---- Sections ------------------------------------------------------------- */ + +main > section { + padding: 96px var(--gutter); +} + +.section-head { + display: flex; + flex-direction: column; + align-items: center; + max-width: 680px; + margin: 0 auto 64px; + text-align: center; +} + +.eyebrow { + margin-bottom: 16px; + color: var(--bulb); + letter-spacing: 0.08em; + text-transform: uppercase; +} + +.section-sub { + margin-top: 24px; + color: var(--text-2); +} + +@media (max-width: 640px) { + main > section { + padding: 64px var(--gutter); + } + + .section-head { + margin-bottom: 40px; + } +} + +/* Scroll reveal: rise 32px and fade in once. */ +@media (prefers-reduced-motion: no-preference) { + .js .reveal { + opacity: 0; + transform: translateY(32px); + transition: + opacity 700ms var(--ease), + transform 700ms var(--ease); + } + + .js .reveal.is-in { + opacity: 1; + transform: none; + } +} + +/* ---- Hero ----------------------------------------------------------------- */ + +main > .hero { + display: flex; + flex-direction: column; + align-items: center; + padding-top: 160px; + text-align: center; +} + +.badge { + display: inline-flex; + align-items: center; + gap: 8px; + padding: 4px 12px; + border: 1px solid var(--line); + border-radius: 9999px; + background: rgba(255, 255, 255, 0.04); + color: var(--text-2); +} + +.rec-light { + width: 8px; + height: 8px; + border-radius: 50%; + background: var(--red); + box-shadow: 0 0 8px var(--red); +} + +@media (prefers-reduced-motion: no-preference) { + .rec-light { + animation: blink 1600ms var(--ease) infinite; + } +} + +@keyframes blink { + 50% { + opacity: 0.3; + } +} + +.hero-title { + max-width: 680px; + margin-top: 24px; + padding-bottom: 4px; +} + +.hero-title .ph { + display: block; + background: linear-gradient(90deg, #ffffff, #9b9b9b); + -webkit-background-clip: text; + background-clip: text; + color: transparent; + -webkit-text-fill-color: transparent; +} + +/* "box" sits inside a live selection, like the area picker draws it. */ +.wordbox { + position: relative; + display: inline-block; + margin: 0 12px 0 4px; + color: #fff; + -webkit-text-fill-color: #fff; +} + +.wordbox-ui { + position: absolute; + inset: 2px -8px -2px; + pointer-events: none; +} + +.ants, +.sel .ants { + position: absolute; + inset: 0; + width: 100%; + height: 100%; + overflow: visible; +} + +.ants rect { + width: calc(100% - 1px); + height: calc(100% - 1px); + fill: none; + stroke: #fff; + stroke-width: 1.5; + stroke-dasharray: 6 5; +} + +@media (prefers-reduced-motion: no-preference) { + .ants rect { + animation: ants 900ms linear infinite; + } +} + +@keyframes ants { + to { + stroke-dashoffset: -11; + } +} + +.h { + position: absolute; + width: 8px; + height: 8px; + margin: -4px 0 0 -4px; + border-radius: 50%; + background: #fff; + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35); +} + +.h.nw { left: 0; top: 0; } +.h.n { left: 50%; top: 0; } +.h.ne { left: 100%; top: 0; } +.h.e { left: 100%; top: 50%; } +.h.se { left: 100%; top: 100%; } +.h.s { left: 50%; top: 100%; } +.h.sw { left: 0; top: 100%; } +.h.w { left: 0; top: 50%; } + +.wordbox-size { + position: absolute; + left: 50%; + bottom: 100%; + margin-bottom: 8px; + padding: 2px 8px; + border-radius: 6px; + background: rgba(0, 0, 0, 0.72); + color: #fff; + -webkit-text-fill-color: #fff; + font-family: var(--mono); + font-size: 0.75rem; + line-height: 1rem; + font-weight: 500; + letter-spacing: 0; + white-space: nowrap; + transform: translateX(-50%); +} + +/* The full stop of "Hit record" is the recording light. */ +.rec-stop { + display: inline-block; + width: 0.2em; + height: 0.2em; + margin-left: 0.06em; + border-radius: 50%; + background: var(--red); + box-shadow: 0 0 0.25em rgba(255, 69, 58, 0.8); +} + +.hero-sub { + max-width: 560px; + margin-top: 24px; + color: var(--text-2); +} + +.hero-cta { + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: center; + gap: 16px 24px; + margin-top: 32px; +} + +.hero-proof { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 8px; + margin-top: 16px; + color: var(--text-3); +} + +/* ---- Bulbs (shared by the stage and the sign) ----------------------------- */ + +.bulbs { + position: absolute; + inset: calc(var(--bulb-gap, 16px) * -1); + width: calc(100% + var(--bulb-gap, 16px) * 2); + height: calc(100% + var(--bulb-gap, 16px) * 2); + overflow: visible; + pointer-events: none; +} + +.bulbs path { + fill: none; + stroke: var(--bulb); + stroke-width: var(--bulb-size, 5px); + stroke-linecap: round; +} + +.bulbs-base { + opacity: 0.14; +} + +.bulbs-lit { + filter: drop-shadow(0 0 4px var(--bulb-glow)); + will-change: opacity; +} + +@media (prefers-reduced-motion: no-preference) { + .bulbs-lit { + animation: chase 1500ms var(--ease) infinite; + } + + .bulbs-lit.b1 { + animation-delay: -1000ms; + } + + .bulbs-lit.b2 { + animation-delay: -500ms; + } + + .is-paused .bulbs-lit { + animation-play-state: paused; + } +} + +@keyframes chase { + 0%, + 30% { + opacity: 1; + } + + 40%, + 90% { + opacity: 0.12; + } + + 100% { + opacity: 1; + } +} + +/* ---- Stage: the recorder, drawn in HTML ----------------------------------- */ + +.stage { + --bulb-gap: 18px; + --bulb-size: 5px; + position: relative; + width: 100%; + max-width: 1120px; + margin-top: 64px; +} + +.stage-screen { + position: relative; + aspect-ratio: 16 / 10; + overflow: hidden; + border-radius: 24px; + background: #121212; + box-shadow: + 0 0 0 1px var(--line-strong), + 0 48px 96px -32px rgba(0, 0, 0, 0.9); + isolation: isolate; +} + +@media (max-width: 700px) { + .stage { + --bulb-gap: 10px; + --bulb-size: 4px; + margin-top: 64px; + } + + .stage-screen { + aspect-ratio: 840 / 800; + border-radius: 16px; + } +} + +.desk { + position: absolute; + top: 0; + left: 50%; + width: 1280px; + height: 800px; + overflow: hidden; + transform: translateX(-50%) scale(var(--k, 0.875)); + transform-origin: 50% 0; + color: rgba(255, 255, 255, 0.94); + font-size: 12.5px; + line-height: 1.3; + text-align: left; + contain: layout paint; + user-select: none; +} + +.wall { + position: absolute; + inset: 0; + overflow: hidden; + background: #121212; +} + +.wall::after { + content: ""; + position: absolute; + inset: 0; + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); + opacity: 0.09; + mix-blend-mode: overlay; +} + +.glow { + position: absolute; + border-radius: 50%; + filter: blur(80px); +} + +.g1 { + left: -160px; + bottom: -260px; + width: 760px; + height: 560px; + background: #ff5a1f; + opacity: 0.5; +} + +.g2 { + right: -180px; + bottom: -160px; + width: 680px; + height: 500px; + background: #ff2d55; + opacity: 0.38; +} + +.g3 { + top: -300px; + left: 520px; + width: 620px; + height: 460px; + background: #0a84ff; + opacity: 0.2; +} + +/* A light app window: what you would actually clip. */ +.win { + position: absolute; + top: 52px; + left: 120px; + display: grid; + grid-template-columns: 150px 1fr; + grid-template-rows: 38px 1fr; + width: 890px; + height: 590px; + overflow: hidden; + border-radius: 12px; + background: #fbfbfa; + box-shadow: + 0 0 0 1px rgba(0, 0, 0, 0.5), + 0 32px 64px -24px rgba(0, 0, 0, 0.85); + color: #1d1d1f; + font-size: 13px; +} + +.win-bar { + grid-column: 1 / -1; + position: relative; + display: flex; + align-items: center; + gap: 8px; + padding: 0 14px; + border-bottom: 1px solid #e8e8e5; + background: #f3f3f1; +} + +.win-bar i { + width: 12px; + height: 12px; + border-radius: 50%; + background: #ff5f57; +} + +.win-bar i:nth-child(2) { + background: #febc2e; +} + +.win-bar i:nth-child(3) { + background: #28c840; +} + +.win-bar span { + position: absolute; + left: 50%; + color: #6e6e73; + font-weight: 500; + transform: translateX(-50%); +} + +.win-side { + display: flex; + flex-direction: column; + gap: 2px; + padding: 16px 10px; + border-right: 1px solid #e8e8e5; + background: #f6f6f4; + color: #6e6e73; +} + +.win-side span { + padding: 6px 10px; + border-radius: 6px; +} + +.win-side .is-on { + background: #e8e8e5; + color: #1d1d1f; + font-weight: 500; +} + +.win-main { + position: relative; + padding: 22px 30px; +} + +.kpis { + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 12px; +} + +.kpis div { + padding: 12px 14px; + border: 1px solid #e8e8e5; + border-radius: 10px; + background: #fff; +} + +.kpis small { + display: block; + margin-bottom: 2px; + color: #86868b; + font-size: 12px; +} + +.kpis b { + font-size: 22px; + font-weight: 600; + letter-spacing: -0.02em; +} + +.kpis em { + margin-left: 6px; + font-size: 12px; + font-style: normal; + font-weight: 500; +} + +.kpis .up { + color: #1f9d55; +} + +.kpis .down { + color: #d70015; +} + +.chart { + width: 100%; + margin-top: 18px; + overflow: visible; +} + +.chart .grid { + fill: none; + stroke: #ececea; + stroke-width: 1; +} + +.area { + fill: rgba(10, 132, 255, 0.1); +} + +.line { + fill: none; + stroke: #0a84ff; + stroke-width: 2.5; + vector-effect: non-scaling-stroke; +} + +.dip { + fill: #fff; + stroke: #ff453a; + stroke-width: 2.5; +} + +.tip { + position: absolute; + top: 222px; + left: 486px; + padding: 8px 10px; + border-radius: 8px; + background: #1d1d1f; + color: #fff; + font-size: 12px; + line-height: 1.4; + box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.6); + opacity: 0; + transform: translateY(4px); + transition: + opacity 300ms var(--ease), + transform 300ms var(--ease); +} + +.tip span { + color: #ff8a80; +} + +.desk[data-tip] .tip { + opacity: 1; + transform: none; +} + +/* Area picker: everything outside the selection is dimmed. */ +.sel { + position: absolute; + top: 104px; + left: 288px; + width: 0; + height: 0; + opacity: 0; + transition: opacity 300ms var(--ease); +} + +.sel::before { + content: ""; + position: absolute; + inset: 0; + box-shadow: 0 0 0 2400px rgba(0, 0, 0, 0.5); + transition: opacity 300ms var(--ease); +} + +.sel::after { + content: ""; + position: absolute; + inset: -4px; + border: 2px solid var(--red); + border-radius: 4px; + box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35); + opacity: 0; + transition: opacity 200ms var(--ease); +} + +.sel .ants rect { + stroke-width: 1; + rx: 0; +} + +.sel-size { + position: absolute; + bottom: 100%; + left: -1px; + margin-bottom: 8px; + padding: 3px 8px; + border-radius: 6px; + background: rgba(28, 28, 30, 0.92); + color: #fff; + font-family: var(--mono); + font-size: 12px; + font-weight: 600; + white-space: nowrap; +} + +.desk[data-phase="keys"] .sel, +.desk[data-phase="select"] .sel, +.desk[data-phase="ready"] .sel, +.desk[data-phase="rec"] .sel { + opacity: 1; +} + +.desk[data-phase="rec"] .sel::before, +.desk[data-phase="rec"] .sel .ants, +.desk[data-phase="rec"] .sel .h, +.desk[data-phase="rec"] .sel-size { + opacity: 0; +} + +.desk[data-phase="rec"] .sel::after { + opacity: 1; +} + +.desk[data-phase="keys"] .sel .ants, +.desk[data-phase="keys"] .sel .h, +.desk[data-phase="keys"] .sel-size { + opacity: 0; +} + +/* HUD material, matching hud.module.css in the app. */ +.hud-surface { + border: 1px solid rgba(255, 255, 255, 0.1); + border-radius: 16px; + background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 60%), + rgba(30, 30, 32, 0.96); + box-shadow: + 0 0 0 0.5px rgba(0, 0, 0, 0.55), + 0 14px 30px -10px rgba(0, 0, 0, 0.6), + 0 3px 8px rgba(0, 0, 0, 0.28), + inset 0 1px 0 rgba(255, 255, 255, 0.09); +} + +.desk .hud-surface svg { + width: 16px; + height: 16px; + fill: currentColor; + flex: none; +} + +.hud-div { + flex: none; + width: 1px; + height: 22px; + margin: 0 2px; + background: rgba(255, 255, 255, 0.1); +} + +.hud-rec { + display: inline-flex; + flex: none; + align-items: center; + gap: 7px; + height: 36px; + padding: 0 14px 0 12px; + border-radius: 11px; + background: #ff453a; + color: #fff; + font-weight: 600; + box-shadow: + inset 0 0.5px 0 rgba(255, 255, 255, 0.35), + 0 1px 2px rgba(0, 0, 0, 0.3); + transition: transform 120ms var(--ease); +} + +.hud-rec .dot, +.hud-rec .sq { + width: 9px; + height: 9px; + border-radius: 50%; + background: #fff; +} + +.hud-rec .sq { + border-radius: 2.5px; +} + +.hud-kbd { + margin-left: 4px; + color: rgba(255, 255, 255, 0.72); + font-size: 11px; + font-weight: 450; +} + +.is-pressed { + transform: scale(0.96); +} + +.picker { + position: absolute; + top: 516px; + left: 50%; + display: flex; + align-items: center; + gap: 6px; + height: 50px; + padding: 0 7px; + opacity: 0; + transform: translate(-50%, 6px) scale(0.97); + transform-origin: 50% 0; + transition: + opacity 240ms var(--ease), + transform 240ms var(--ease); +} + +.desk[data-phase="ready"] .picker { + opacity: 1; + transform: translate(-50%, 0); +} + +.pk-seg { + display: inline-flex; + align-items: center; + height: 36px; + padding: 2px; + border-radius: 11px; + background: rgba(255, 255, 255, 0.06); +} + +.pk-seg span, +.pk-btn { + display: inline-flex; + align-items: center; + height: 32px; + padding: 0 10px; + border-radius: 9px; + color: rgba(235, 235, 245, 0.62); + font-weight: 600; + white-space: nowrap; +} + +.pk-seg .is-on { + background: rgba(255, 255, 255, 0.16); + color: #fff; + box-shadow: + 0 1px 2px rgba(0, 0, 0, 0.35), + inset 0 0.5px 0 rgba(255, 255, 255, 0.14); +} + +.keys { + position: absolute; + top: 300px; + left: 50%; + display: flex; + gap: 10px; + opacity: 0; + transform: translate(-50%, 8px) scale(0.96); + transition: + opacity 300ms var(--ease), + transform 300ms var(--ease); +} + +.desk[data-phase="keys"] .keys { + opacity: 1; + transform: translate(-50%, 0); +} + +.keys kbd, +.act-keys kbd { + display: inline-flex; + align-items: center; + justify-content: center; + min-width: 72px; + height: 72px; + padding: 0 18px; + border-radius: 14px; + background: linear-gradient(180deg, #3a3a3c, #2c2c2e); + color: #fff; + font-family: var(--font); + font-size: 22px; + font-weight: 500; + box-shadow: + inset 0 1px 0 rgba(255, 255, 255, 0.18), + inset 0 -3px 0 rgba(0, 0, 0, 0.35), + 0 0 0 1px rgba(0, 0, 0, 0.5), + 0 12px 24px -8px rgba(0, 0, 0, 0.7); +} + +.hud-stack { + position: absolute; + bottom: 24px; + left: 50%; + display: flex; + flex-direction: column; + align-items: center; + gap: 12px; + transform: translateX(-50%); +} + +.hud-bars { + display: grid; + justify-items: center; +} + +.hud-bar { + grid-area: 1 / 1; + display: flex; + align-items: center; + gap: 6px; + height: 50px; + padding: 0 7px; + white-space: nowrap; + transition: + opacity 240ms var(--ease), + transform 240ms var(--ease); +} + +.hud-live { + opacity: 0; + transform: scale(0.97); +} + +.desk[data-phase="rec"] .hud-idle { + opacity: 0; + transform: scale(0.97); +} + +.desk[data-phase="rec"] .hud-live { + opacity: 1; + transform: none; +} + +.hud-drag { + display: flex; + align-items: center; + justify-content: center; + width: 20px; + height: 36px; + color: rgba(235, 235, 245, 0.4); +} + +.hud-seg { + display: inline-flex; + align-items: center; + height: 36px; + padding: 2px; + border-radius: 11px; + background: rgba(255, 255, 255, 0.06); +} + +.hud-seg > span { + display: inline-flex; + align-items: center; + gap: 6px; + height: 32px; + padding: 0 11px; + border-radius: 9px; + color: rgba(235, 235, 245, 0.62); + font-weight: 600; +} + +.hud-seg > .is-on { + background: rgba(255, 255, 255, 0.16); + color: #fff; + box-shadow: + 0 1px 2px rgba(0, 0, 0, 0.35), + inset 0 0.5px 0 rgba(255, 255, 255, 0.14); +} + +.hud-detail { + color: rgba(235, 235, 245, 0.62); + font-weight: 500; +} + +.hud-ctl { + display: inline-flex; + align-items: center; + justify-content: center; + width: 36px; + height: 36px; + border-radius: 10px; + color: rgba(235, 235, 245, 0.62); +} + +.hud-ctl.is-dim { + opacity: 0.45; +} + +.hud-fmt { + display: inline-flex; + align-items: center; + gap: 6px; + height: 36px; + padding: 0 11px; + color: rgba(235, 235, 245, 0.62); + font-weight: 600; +} + +.hud-fmt svg { + width: 12px; + height: 12px; +} + +.hud-live-dot { + width: 8px; + height: 8px; + margin-left: 6px; + border-radius: 50%; + background: #ff453a; + box-shadow: 0 0 8px rgba(255, 69, 58, 0.8); +} + +.hud-timer { + min-width: 44px; + margin-right: 6px; + color: #fff; + font-size: 13.5px; + font-weight: 600; + font-variant-numeric: tabular-nums; +} + +/* The finished clip card. */ +.clip { + width: 420px; + padding: 12px; + border-radius: 16px; + opacity: 0; + transform: translateY(6px) scale(0.97); + transform-origin: 50% 100%; + transition: + opacity 260ms var(--ease), + transform 260ms var(--ease); +} + +.desk[data-phase="done"] .clip { + opacity: 1; + transform: none; +} + +.clip-top { + position: relative; + display: flex; + gap: 14px; +} + +.clip-thumb { + position: relative; + flex: none; + width: 132px; + height: 76px; + overflow: hidden; + border-radius: 8px; + background: #fbfbfa; + box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); +} + +.desk .clip-thumb svg { + position: absolute; + right: 0; + bottom: 0; + left: 0; + width: 100%; + height: 60%; +} + +.clip-dur { + position: absolute; + right: 4px; + bottom: 4px; + padding: 1px 5px; + border-radius: 4px; + background: rgba(0, 0, 0, 0.72); + color: #fff; + font-size: 10.5px; + font-weight: 600; +} + +.clip-info { + display: flex; + flex-direction: column; + gap: 3px; + min-width: 0; + padding-top: 2px; +} + +.clip-info b { + font-size: 13.5px; + font-weight: 600; +} + +.clip-info span { + color: rgba(235, 235, 245, 0.62); +} + +.ok { + display: inline-flex; + align-items: center; + gap: 6px; + margin-top: auto; + color: rgba(235, 235, 245, 0.62); +} + +.ok svg { + width: 14px !important; + height: 14px !important; + color: #30d158; +} + +.clip-x { + position: absolute; + top: 0; + right: 0; + color: rgba(235, 235, 245, 0.4); +} + +.clip-actions { + display: flex; + gap: 8px; + margin-top: 12px; +} + +.hb { + display: inline-flex; + align-items: center; + justify-content: center; + gap: 6px; + height: 32px; + padding: 0 12px; + border-radius: 8px; + background: rgba(255, 255, 255, 0.1); + color: #fff; + font-size: 12.5px; + font-weight: 600; + white-space: nowrap; + transition: + transform 120ms var(--ease), + background-color 300ms var(--ease); +} + +.hb svg { + width: 15px; + height: 15px; + fill: currentColor; +} + +.hb-blue { + background: #0a84ff; +} + +.hb-icon { + width: 32px; + padding: 0; +} + +.hb.is-done { + color: #30d158; +} + +.cursor { + position: absolute; + top: 0; + left: 0; + z-index: 5; + width: 28px !important; + height: 28px !important; + margin: -3px 0 0 -6px; + filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45)); + transform: translate(930px, 660px); + transition: scale 120ms var(--ease); + will-change: transform; +} + +.cursor.is-clicking { + scale: 0.85; +} + +.cursor path { + fill: #000; + stroke: #fff; + stroke-width: 1.6; + stroke-linejoin: round; +} + +/* ---- Why ------------------------------------------------------------------ */ + +main > .intro { + display: grid; + grid-template-columns: 200px minmax(0, 560px); + justify-content: center; + gap: 48px; +} + +.intro-label { + color: var(--bulb); +} + +.intro-copy { + display: grid; + gap: 24px; + color: var(--text-3); +} + +.intro-copy b { + color: var(--text); + font-weight: 500; +} + +@media (max-width: 760px) { + main > .intro { + grid-template-columns: minmax(0, 1fr); + gap: 16px; + } +} + +/* ---- Acts ----------------------------------------------------------------- */ + +.act-list { + display: grid; + grid-template-columns: repeat(3, minmax(0, 1fr)); + gap: 16px; + max-width: 1120px; + margin: 0 auto; +} + +.act { + display: flex; + flex-direction: column; + padding: 16px 16px 32px; + border: 1px solid var(--line); + border-radius: 24px; + background: var(--surface); +} + +.act h3 { + margin-top: 8px; +} + +.act p.body-6 { + margin-top: 8px; + color: var(--text-2); +} + +.act > :not(.act-visual) { + padding: 0 8px; +} + +.act-no { + color: var(--bulb); + letter-spacing: 0.08em; + text-transform: uppercase; +} + +/* outer 24 − padding 16 = 8 */ +.act-visual { + position: relative; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 16px; + height: 176px; + margin-bottom: 24px; + overflow: hidden; + border-radius: 8px; + background: var(--bg); + box-shadow: inset 0 0 0 1px var(--line); + font-size: 12.5px; +} + +.act-keys { + flex-direction: row; + gap: 8px; +} + +.act-keys kbd { + min-width: 56px; + height: 56px; + padding: 0 16px; + font-size: 18px; +} + +@media (prefers-reduced-motion: no-preference) { + .act.is-in .act-keys kbd { + animation: press 2400ms var(--ease) infinite; + } + + .act.is-in .act-keys kbd:nth-child(2) { + animation-delay: 120ms; + } + + .act.is-in .act-keys kbd:nth-child(3) { + animation-delay: 240ms; + } +} + +@keyframes press { + 0%, + 30%, + 100% { + transform: none; + } + + 12% { + transform: translateY(2px) scale(0.97); + } +} + +.act-ratios .pk-seg span { + font-size: 12.5px; +} + +.act-size { + padding: 2px 8px; + border-radius: 6px; + background: rgba(255, 255, 255, 0.06); + color: var(--text-2); + font-family: var(--mono); + font-size: 0.75rem; + line-height: 1rem; +} + +.act-saved .ok svg { + fill: currentColor; +} + +.act-saved .hb { + height: 36px; + padding: 0 16px; + font-size: 14px; +} + +@media (max-width: 860px) { + .act-list { + grid-template-columns: minmax(0, 1fr); + max-width: 480px; + } +} + +/* ---- Ticker --------------------------------------------------------------- */ + +main > .ticker { + padding: 0; + overflow: hidden; + border-top: 1px solid var(--line); + border-bottom: 1px solid var(--line); +} + +.ticker-track { + display: flex; + width: max-content; +} + +@media (prefers-reduced-motion: no-preference) { + .ticker-track { + animation: ticker 48s linear infinite; + } + + .ticker:hover .ticker-track, + .ticker.is-paused .ticker-track { + animation-play-state: paused; + } +} + +@keyframes ticker { + to { + transform: translateX(-50%); + } +} + +.ticker-list { + display: flex; + flex: none; + color: var(--text-2); + letter-spacing: 0.08em; + text-transform: uppercase; +} + +.ticker-list li { + display: inline-flex; + align-items: center; + gap: 24px; + padding: 24px 0 24px 24px; + white-space: nowrap; +} + +.ticker-list li::after { + content: ""; + width: 6px; + height: 6px; + border-radius: 50%; + background: var(--bulb); + box-shadow: 0 0 6px var(--bulb-glow); +} + +.ticker-list li:nth-child(6n)::after { + background: var(--red); + box-shadow: 0 0 6px var(--red); +} + +@media (prefers-reduced-motion: reduce) { + .ticker-track { + flex-wrap: wrap; + width: auto; + justify-content: center; + } + + .ticker-list { + flex-wrap: wrap; + justify-content: center; + } + + .ticker-list[aria-hidden] { + display: none; + } +} + +/* ---- Studio bento --------------------------------------------------------- */ + +.bento { + display: grid; + grid-template-columns: repeat(2, minmax(0, 1fr)); + gap: 16px; + max-width: 1120px; + margin: 0 auto; +} + +.card { + display: flex; + flex-direction: column; + gap: 24px; + padding: 16px 16px 24px; + overflow: hidden; + border: 1px solid var(--line); + border-radius: 24px; + background: var(--surface); +} + +.card-text { + display: grid; + gap: 8px; + padding: 0 8px; +} + +.card-text p { + color: var(--text-2); +} + +.card-wide { + grid-column: 1 / -1; + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); + align-items: center; + gap: 32px; + padding: 16px; +} + +.card-wide .card-text { + padding: 16px; +} + +/* outer 24 − padding 16 = 8 */ +.shot { + overflow: hidden; + border-radius: 8px; + background: #111; + box-shadow: 0 0 0 1px var(--line); +} + +.shot img { + width: 100%; + height: auto; +} + +.shot-crop { + height: 176px; +} + +.shot-crop img { + height: 100%; + object-fit: cover; + object-position: 0 50%; +} + +.captions, +.zoom-demo, +.export-demo { + position: relative; + display: flex; + flex-direction: column; + justify-content: center; + gap: 8px; + height: 176px; + padding: 16px 24px; + overflow: hidden; + border-radius: 8px; + background: var(--bg); + box-shadow: inset 0 0 0 1px var(--line); +} + +.cap-file { + color: var(--text-3); + font-family: var(--mono); +} + +.cap-line { + display: flex; + gap: 16px; + color: var(--text-3); + font-size: 0.875rem; + line-height: 1.25rem; +} + +.cap-line span { + flex: none; + font-family: var(--mono); + font-size: 0.75rem; + line-height: 1.25rem; +} + +.cap-line.is-live { + color: var(--text); +} + +.caret { + display: inline-block; + width: 2px; + height: 1em; + margin-left: 2px; + vertical-align: -2px; + background: var(--bulb); +} + +@media (prefers-reduced-motion: no-preference) { + .caret { + animation: blink 1000ms steps(1) infinite; + } +} + +.zoom-demo { + align-items: center; + background: + radial-gradient(circle at 30% 40%, rgba(255, 90, 31, 0.22), transparent 60%), + var(--bg); +} + +.zoom-frame { + position: relative; + width: 240px; + height: 135px; + border-radius: 8px; + background: #fbfbfa; + box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.8); +} + +.zoom-frame::before { + content: ""; + position: absolute; + inset: 16px 16px auto; + height: 12px; + border-radius: 4px; + background: #e8e8e5; + box-shadow: + 0 24px 0 #e8e8e5, + 0 48px 0 #e8e8e5; +} + +.zoom-target { + position: absolute; + right: 24px; + bottom: 16px; + width: 88px; + height: 50px; + border: 2px solid var(--blue); + border-radius: 6px; + background: rgba(10, 132, 255, 0.12); +} + +@media (prefers-reduced-motion: no-preference) { + .card.is-in .zoom-frame { + animation: zoom 4000ms var(--ease) infinite; + } +} + +@keyframes zoom { + 0%, + 20%, + 100% { + transform: none; + } + + 45%, + 75% { + transform: scale(1.8) translate(-44px, -24px); + } +} + +.zoom-chip { + position: absolute; + top: 16px; + left: 16px; + display: inline-flex; + align-items: center; + gap: 4px; + padding: 2px 8px; + border-radius: 6px; + background: rgba(10, 132, 255, 0.24); + color: #9fcdff; +} + +.zoom-chip svg, +.export-demo svg, +.act-saved svg { + width: 16px; + height: 16px; + fill: currentColor; +} + +.export-demo { + align-items: center; + gap: 12px; + font-size: 12.5px; +} + +.export-demo .hb { + height: 36px; + padding: 0 16px; + font-size: 14px; +} + +@media (max-width: 860px) { + .bento { + grid-template-columns: minmax(0, 1fr); + max-width: 560px; + } + + .card-wide { + grid-template-columns: minmax(0, 1fr); + gap: 0; + } + + .card-wide .card-text { + order: 2; + padding: 24px 8px 8px; + } +} + +/* ---- Tagline reveal ------------------------------------------------------- */ + +main > .tagline { + display: flex; + flex-direction: column; + align-items: center; + padding-top: 128px; + padding-bottom: 128px; + text-align: center; +} + +.tagline-text { + max-width: 880px; + line-height: 1.1; +} + +.tagline-text .w { + opacity: 0.3; + transition: opacity 500ms var(--ease); +} + +.tagline-text .w.is-lit { + opacity: 1; +} + +.tagline-text .w.hot { + color: var(--bulb); + text-shadow: 0 0 24px rgba(255, 176, 84, 0.45); +} + +/* ---- Free ----------------------------------------------------------------- */ + +.facts { + display: grid; + grid-template-columns: repeat(3, minmax(0, 1fr)); + gap: 16px; + max-width: 1120px; + margin: 0 auto; +} + +.fact { + display: flex; + flex-direction: column; + gap: 16px; + padding: 32px; + border: 1px solid var(--line); + border-radius: 24px; + background: var(--surface); +} + +.fact-n { + color: var(--bulb); + font-family: var(--mono); + font-size: 3.75rem; + line-height: 1; + font-weight: 500; + letter-spacing: -0.04em; + text-shadow: 0 0 32px rgba(255, 176, 84, 0.35); +} + +.fact span { + color: var(--text-2); +} + +.credits { + max-width: 560px; + margin: 48px auto 0; + color: var(--text-3); + text-align: center; +} + +@media (max-width: 760px) { + .facts { + grid-template-columns: minmax(0, 1fr); + max-width: 480px; + } + + .fact { + padding: 24px; + } +} + +/* ---- FAQ ------------------------------------------------------------------ */ + +.faq-list { + max-width: 760px; + margin: 0 auto; + border-top: 1px solid var(--line); +} + +.faq-list details { + border-bottom: 1px solid var(--line); +} + +.faq-list summary { + display: flex; + align-items: center; + justify-content: space-between; + gap: 24px; + padding: 24px 0; + cursor: pointer; + list-style: none; + transition: color 300ms var(--ease); +} + +.faq-list summary::-webkit-details-marker { + display: none; +} + +.faq-list summary::after { + content: ""; + flex: none; + width: 12px; + height: 12px; + border-radius: 50%; + background: var(--surface-3); + box-shadow: inset 0 0 0 1px var(--line-strong); + transition: + transform 300ms var(--ease), + background-color 300ms var(--ease), + box-shadow 300ms var(--ease); +} + +.faq-list summary:hover { + color: var(--bulb); +} + +.faq-list details[open] summary::after { + background: var(--bulb); + box-shadow: 0 0 12px var(--bulb-glow); + transform: scale(0.85); +} + +.faq-list details p { + max-width: 640px; + padding-bottom: 24px; + color: var(--text-2); +} + +/* ---- Finale: the sign ----------------------------------------------------- */ + +main > .finale { + display: flex; + flex-direction: column; + align-items: center; + padding-top: 128px; + text-align: center; +} + +.sign { + --bulb-gap: 16px; + --bulb-size: 6px; + position: relative; + width: min(100%, 880px); + margin-bottom: 64px; + padding: 48px; + border-radius: 24px; + background: var(--surface); + box-shadow: + 0 0 0 1px var(--line), + 0 48px 96px -32px rgba(0, 0, 0, 0.9); +} + +.sign-letters { + width: 100%; + height: auto; + overflow: visible; +} + +.sign-letters circle { + fill: var(--bulb); + opacity: 0.1; +} + +.sign-letters .on { + opacity: 1; + filter: drop-shadow(0 0 3px var(--bulb-glow)); +} + +.sign-letters .on.red { + fill: var(--red); + filter: drop-shadow(0 0 4px rgba(255, 69, 58, 0.9)); +} + +@media (prefers-reduced-motion: no-preference) { + .js .sign-letters .on { + opacity: 0.1; + transition: opacity 400ms var(--ease); + transition-delay: var(--d, 0ms); + } + + .js .sign.is-in .sign-letters .on { + opacity: 1; + } +} + +.finale-sub { + margin-top: 16px; + color: var(--text-2); +} + +@media (max-width: 640px) { + .sign { + --bulb-gap: 8px; + --bulb-size: 4px; + margin-bottom: 48px; + padding: 24px 16px; + border-radius: 16px; + } +} + +/* ---- Footer --------------------------------------------------------------- */ + +.footer { + max-width: 1168px; + margin: 0 auto; + padding: 64px var(--gutter) 40px; + border-top: 1px solid var(--line); +} + +.footer-top { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + gap: 48px; +} + +.footer-brand { + display: grid; + gap: 16px; + max-width: 320px; +} + +.footer-brand p { + color: var(--text-2); +} + +.footer-cols { + display: flex; + flex-wrap: wrap; + gap: 48px 64px; +} + +.footer-cols p { + margin-bottom: 16px; + color: var(--text-3); +} + +.footer-cols ul { + display: grid; + gap: 12px; +} + +.footer-cols a { + color: var(--text-2); + transition: color 300ms var(--ease); +} + +.footer-cols a:hover { + color: var(--text); +} + +.footer-bottom { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + gap: 8px 24px; + margin-top: 64px; + padding-top: 24px; + border-top: 1px solid var(--line); + color: var(--text-3); +} + +@media (max-width: 640px) { + main > .hero { + padding-top: 128px; + } +} + +/* ---- 404 ------------------------------------------------------------------ */ + +.lost { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 24px; + min-height: 100svh; + padding: 64px var(--gutter); + text-align: center; +} + +.lost .brand { + margin-bottom: 40px; +} + +.lost .eyebrow { + margin: 0; +} + +.lost-sub { + max-width: 440px; + color: var(--text-2); +} + +/* ---- Brand page ----------------------------------------------------------- */ + +.brand-page { + max-width: 1120px; + margin: 0 auto; + padding: 160px var(--gutter) 96px; +} + +.brand-page > header { + max-width: 680px; + margin-bottom: 64px; +} + +.brand-page h1 + p { + margin-top: 24px; + color: var(--text-2); +} + +.assets { + display: grid; + grid-template-columns: repeat(3, minmax(0, 1fr)); + gap: 16px; +} + +.asset { + display: flex; + flex-direction: column; + gap: 16px; + padding: 16px 16px 24px; + border: 1px solid var(--line); + border-radius: 24px; + background: var(--surface); +} + +.asset-wide { + grid-column: 1 / -1; +} + +/* outer 24 − padding 16 = 8 */ +.asset-art { + display: grid; + place-items: center; + min-height: 240px; + padding: 32px; + border-radius: 8px; + background: var(--bg); + box-shadow: inset 0 0 0 1px var(--line); +} + +.asset-art img { + max-height: 176px; + width: auto; +} + +.asset > :not(.asset-art, .sign) { + padding: 0 8px; +} + +.asset p { + color: var(--text-2); +} + +.asset-links { + display: flex; + flex-wrap: wrap; + gap: 8px; +} + +.swatches { + display: grid; + grid-template-columns: repeat(5, minmax(0, 1fr)); + gap: 16px; + margin-top: 16px; +} + +.swatch { + display: grid; + gap: 12px; + padding: 8px 8px 16px; + border: 1px solid var(--line); + border-radius: 16px; + background: var(--surface); +} + +.swatch i { + height: 96px; + border-radius: 8px; + box-shadow: inset 0 0 0 1px var(--line); +} + +.swatch span { + padding: 0 8px; + color: var(--text-2); +} + +.sw-graphite { background: #181818; } +.sw-bulb { background: var(--bulb); } +.sw-red { background: var(--red); } +.sw-blue { background: var(--blue); } +.sw-green { background: var(--green); } + +.brand-colors { + margin-top: 64px; +} + +.swatch b { + display: block; + color: var(--text); + font-weight: 500; +} + +.brand-page .sign { + margin: 32px auto 0; +} + +@media (max-width: 860px) { + .assets { + grid-template-columns: minmax(0, 1fr); + } + + .swatches { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } +} + +@media (max-width: 640px) { + .brand-page { + padding-top: 128px; + } +} diff --git a/site/vercel.json b/site/vercel.json new file mode 100644 index 0000000000..864a77e62e --- /dev/null +++ b/site/vercel.json @@ -0,0 +1,24 @@ +{ + "$schema": "https://openapi.vercel.sh/vercel.json", + "cleanUrls": true, + "trailingSlash": false, + "ignoreCommand": "git diff --quiet HEAD^ HEAD -- .", + "headers": [ + { + "source": "/fonts/(.*)", + "headers": [{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }] + }, + { + "source": "/(.*)", + "headers": [ + { + "key": "Content-Security-Policy", + "value": "default-src 'self'; img-src 'self' data:; style-src 'self'; script-src 'self'; font-src 'self'; connect-src 'self'; base-uri 'self'; form-action 'none'; frame-ancestors 'none'" + }, + { "key": "X-Content-Type-Options", "value": "nosniff" }, + { "key": "Referrer-Policy", "value": "strict-origin-when-cross-origin" }, + { "key": "Permissions-Policy", "value": "camera=(), microphone=(), geolocation=()" } + ] + } + ] +}