mirror of
https://github.com/pvrzz/portage-site.git
synced 2026-11-29 05:12:24 +00:00
0f429d6b22
Download page: each card now links to its store listing (Chrome Web Store, Firefox Add-ons), with the latest unpacked build underneath. The zip links come from the newest GitHub release by matching "chrome" or "firefox" in the file name; the old code looked for underscore names that don't exist, so the buttons only ever opened the release page. Dropped the .crx/.xpi instructions, which no browser accepts from a website. Home page: new hero with a Chrome <-> Firefox transfer strip and the real 2.1.1 dashboard (light and dark), a three-step "how it works" with real screens, a bento feature grid, the transfer table and a closing call to action with store buttons. Style: same monochrome ink scale, Geist and Geist Mono hosted on the site (SIL OFL), hairline borders, contrast-checked text pairs, motion limited to transform/opacity with hover gated to fine pointers and reduced-motion handling. Privacy: list everything Portage reads about installed extensions, note that it stores appearance settings locally, and that cookies are set again on import. Updated the date. Adds .assetsignore so wrangler.jsonc and other repo files aren't published with the site. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
411 lines
24 KiB
CSS
411 lines
24 KiB
CSS
/*
|
|
Portage by pvrz
|
|
https://github.com/pvrzz/Portage/
|
|
File Name: styles.css
|
|
|
|
Design stamp: precise monochrome (Vercel/Linear school), ink scale from the extension.
|
|
Type: Geist + Geist Mono, self-hosted (SIL OFL, media/fonts/LICENSE.txt).
|
|
Text-safe pairings only: ink-900/700/600/500 on bg/paper (>= 4.5:1); ink-400/300 are decorative.
|
|
Motion: transform/opacity only, ease-out for UI, hover gated to fine pointers, reduced-motion aware.
|
|
*/
|
|
|
|
@font-face {
|
|
font-family: "Geist";
|
|
src: url("media/fonts/Geist-Variable.woff2") format("woff2");
|
|
font-weight: 100 900;
|
|
font-display: swap;
|
|
}
|
|
@font-face {
|
|
font-family: "Geist Mono";
|
|
src: url("media/fonts/GeistMono-Variable.woff2") format("woff2");
|
|
font-weight: 100 900;
|
|
font-display: swap;
|
|
}
|
|
|
|
:root {
|
|
--ink-900: #18181b;
|
|
--ink-800: #27272a;
|
|
--ink-700: #3f3f46;
|
|
--ink-600: #52525b;
|
|
--ink-500: #71717a;
|
|
--ink-400: #a1a1aa;
|
|
--ink-300: #d4d4d8;
|
|
--ink-200: #e4e4e7;
|
|
--ink-100: #f4f4f5;
|
|
--paper: #ffffff;
|
|
--bg: #fafafa;
|
|
--line: #e7e7ea;
|
|
--accent: #18181b;
|
|
--accent-contrast: #fafafa;
|
|
--glow-a: rgba(24, 24, 27, .10);
|
|
--glow-b: rgba(113, 113, 122, .12);
|
|
--grid-dot: rgba(24, 24, 27, .07);
|
|
|
|
--font: "Geist", ui-sans-serif, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
|
|
--mono: "Geist Mono", ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
|
|
|
|
--r-sm: 8px;
|
|
--r-md: 12px;
|
|
--r-lg: 16px;
|
|
--r-xl: 24px;
|
|
--shadow-sm: 0 1px 2px rgba(24,24,27,.05);
|
|
--shadow: 0 1px 2px rgba(24,24,27,.04), 0 12px 32px -8px rgba(24,24,27,.10);
|
|
--shadow-lg: 0 2px 4px rgba(24,24,27,.04), 0 40px 80px -24px rgba(24,24,27,.22);
|
|
--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
|
|
--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
|
|
--maxw: 1140px;
|
|
}
|
|
|
|
:root[data-mode="dark"] {
|
|
--ink-900: #fafafa; --ink-800: #f4f4f5; --ink-700: #e4e4e7; --ink-600: #d4d4d8;
|
|
--ink-500: #a1a1aa; --ink-400: #71717a; --ink-300: #52525b; --ink-200: #3f3f46; --ink-100: #1f1f22;
|
|
--paper: #111113; --bg: #09090b; --line: #232326;
|
|
--accent: #fafafa; --accent-contrast: #09090b;
|
|
--glow-a: rgba(250, 250, 250, .09);
|
|
--glow-b: rgba(161, 161, 170, .08);
|
|
--grid-dot: rgba(250, 250, 250, .06);
|
|
--shadow-sm: 0 1px 2px rgba(0,0,0,.5);
|
|
--shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -8px rgba(0,0,0,.6);
|
|
--shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 40px 80px -24px rgba(0,0,0,.8);
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
:root:not([data-mode]) {
|
|
--ink-900: #fafafa; --ink-800: #f4f4f5; --ink-700: #e4e4e7; --ink-600: #d4d4d8;
|
|
--ink-500: #a1a1aa; --ink-400: #71717a; --ink-300: #52525b; --ink-200: #3f3f46; --ink-100: #1f1f22;
|
|
--paper: #111113; --bg: #09090b; --line: #232326;
|
|
--accent: #fafafa; --accent-contrast: #09090b;
|
|
--glow-a: rgba(250, 250, 250, .09);
|
|
--glow-b: rgba(161, 161, 170, .08);
|
|
--grid-dot: rgba(250, 250, 250, .06);
|
|
--shadow-sm: 0 1px 2px rgba(0,0,0,.5);
|
|
--shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -8px rgba(0,0,0,.6);
|
|
--shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 40px 80px -24px rgba(0,0,0,.8);
|
|
}
|
|
}
|
|
|
|
/* ---------- Base ---------- */
|
|
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
|
|
body {
|
|
font-family: var(--font); background: var(--bg); color: var(--ink-900);
|
|
font-size: 16px; line-height: 1.6; letter-spacing: -0.011em; overflow-x: hidden;
|
|
}
|
|
a { color: inherit; text-decoration: none; }
|
|
img { max-width: 100%; }
|
|
::selection { background: var(--accent); color: var(--accent-contrast); }
|
|
:focus-visible { outline: 2px solid var(--ink-900); outline-offset: 3px; border-radius: 6px; }
|
|
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.035em; line-height: 1.08; font-weight: 600; }
|
|
p { text-wrap: pretty; }
|
|
code, .mono { font-family: var(--mono); letter-spacing: 0; }
|
|
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
|
|
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
|
|
|
|
/* ---------- Nav ---------- */
|
|
|
|
.nav {
|
|
position: sticky; top: 0; z-index: 50;
|
|
background: color-mix(in srgb, var(--bg) 78%, transparent);
|
|
backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
|
|
border-bottom: 1px solid transparent; transition: border-color .2s ease;
|
|
}
|
|
.nav.scrolled { border-color: var(--line); }
|
|
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 16px; }
|
|
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 16px; letter-spacing: -0.02em; }
|
|
.brand .mk { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--accent-contrast); display: grid; place-items: center; }
|
|
.brand .mk svg { width: 18px; height: 18px; }
|
|
.nav .links { display: flex; gap: 2px; margin-left: auto; align-items: center; }
|
|
.navlink { padding: 7px 12px; border-radius: var(--r-sm); font-size: 14px; color: var(--ink-600); transition: color .15s ease, background-color .15s ease; }
|
|
.navlink:hover, .navlink[aria-current="page"] { color: var(--ink-900); background: var(--ink-100); }
|
|
.nav .cta { margin-left: 8px; }
|
|
.theme-toggle {
|
|
width: 34px; height: 34px; margin-left: 6px; border-radius: var(--r-sm); border: 1px solid var(--line);
|
|
background: transparent; color: var(--ink-700); cursor: pointer; display: grid; place-items: center;
|
|
transition: background-color .15s ease, color .15s ease, transform .16s var(--ease-out);
|
|
}
|
|
.theme-toggle:hover { background: var(--ink-100); color: var(--ink-900); }
|
|
.theme-toggle:active { transform: scale(.94); }
|
|
.theme-toggle svg { width: 16px; height: 16px; }
|
|
@media (max-width: 760px) { .navlink { display: none; } }
|
|
|
|
/* ---------- Buttons ---------- */
|
|
|
|
.btn {
|
|
display: inline-flex; align-items: center; justify-content: center; gap: 9px;
|
|
font: inherit; font-weight: 550; font-size: 15px; line-height: 1; letter-spacing: -0.01em;
|
|
min-height: 44px; padding: 0 20px; border-radius: 10px;
|
|
border: 1px solid transparent; cursor: pointer; white-space: nowrap;
|
|
transition: transform .16s var(--ease-out), background-color .15s ease, border-color .15s ease, color .15s ease;
|
|
}
|
|
.btn:active { transform: scale(.97); }
|
|
.btn svg { width: 17px; height: 17px; flex: none; }
|
|
.btn-sm { min-height: 34px; padding: 0 14px; font-size: 14px; border-radius: var(--r-sm); }
|
|
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
|
|
.btn-primary { background: var(--accent); color: var(--accent-contrast); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), var(--shadow-sm); }
|
|
.btn-ghost { background: var(--paper); color: var(--ink-900); border-color: var(--line); box-shadow: var(--shadow-sm); }
|
|
@media (hover: hover) and (pointer: fine) {
|
|
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--bg)); }
|
|
.btn-ghost:hover { border-color: var(--ink-300); background: var(--ink-100); }
|
|
}
|
|
|
|
/* ---------- Hero ---------- */
|
|
|
|
.hero { position: relative; padding: 52px 0 0; text-align: center; isolation: isolate; }
|
|
.hero::before {
|
|
content: ""; position: absolute; inset: 0 0 auto; height: 760px; z-index: -2;
|
|
background-image: radial-gradient(var(--grid-dot) 1px, transparent 1px);
|
|
background-size: 22px 22px;
|
|
-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
|
|
mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
|
|
}
|
|
.aura { position: absolute; inset: -120px 0 auto; height: 720px; z-index: -1; pointer-events: none; overflow: hidden; }
|
|
.aura i { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
|
|
.aura i:nth-child(1) { width: 560px; height: 380px; left: calc(50% - 460px); top: 120px; background: var(--glow-a); animation: drift-a 22s ease-in-out infinite alternate; }
|
|
.aura i:nth-child(2) { width: 520px; height: 420px; left: calc(50% - 40px); top: 60px; background: var(--glow-b); animation: drift-b 26s ease-in-out infinite alternate; }
|
|
@keyframes drift-a { to { transform: translate3d(90px, 50px, 0) scale(1.08); } }
|
|
@keyframes drift-b { to { transform: translate3d(-110px, 70px, 0) scale(.94); } }
|
|
|
|
.hero h1 { font-size: clamp(42px, 7vw, 80px); font-weight: 650; letter-spacing: -0.05em; line-height: 1.0; max-width: 13ch; margin: 24px auto 0; }
|
|
.hero h1 .soft { color: var(--ink-500); }
|
|
.hero .lead { font-size: clamp(17px, 2.1vw, 20px); color: var(--ink-600); max-width: 34em; margin: 22px auto 0; }
|
|
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
|
|
.hero .fine { margin-top: 18px; font-size: 13.5px; color: var(--ink-500); }
|
|
|
|
/* Chrome <-> Firefox transfer strip */
|
|
.transfer {
|
|
display: inline-flex; align-items: center; gap: 10px; padding: 6px 8px;
|
|
background: color-mix(in srgb, var(--paper) 80%, transparent); border: 1px solid var(--line);
|
|
border-radius: 99px; box-shadow: var(--shadow-sm); font-size: 13px; color: var(--ink-700);
|
|
}
|
|
.transfer .end { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 99px; background: var(--ink-100); font-weight: 550; }
|
|
.transfer .end svg { width: 15px; height: 15px; }
|
|
.transfer .track { position: relative; width: 132px; height: 26px; }
|
|
.transfer .track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--ink-300); }
|
|
.transfer .file {
|
|
position: absolute; top: 1px; left: 0; height: 24px; padding: 0 8px; display: inline-flex; align-items: center; gap: 5px;
|
|
background: var(--accent); color: var(--accent-contrast); border-radius: 6px; font-family: var(--mono); font-size: 11px;
|
|
animation: ferry 5.6s var(--ease-in-out) infinite; will-change: transform;
|
|
}
|
|
.transfer .file svg { width: 11px; height: 11px; }
|
|
@keyframes ferry {
|
|
0%, 12% { transform: translateX(0); }
|
|
44%, 56% { transform: translateX(calc(132px - 100%)); }
|
|
88%, 100% { transform: translateX(0); }
|
|
}
|
|
|
|
/* Browser frame around real screenshots */
|
|
.frame { position: relative; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
|
|
.frame .bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg); }
|
|
.frame .bar i { width: 10px; height: 10px; border-radius: 99px; background: var(--ink-200); }
|
|
.frame .bar .addr {
|
|
margin: 0 auto; transform: translateX(-24px); font-family: var(--mono); font-size: 11.5px; color: var(--ink-500);
|
|
background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 3px 12px; min-width: 40%; text-align: center;
|
|
}
|
|
.frame img { display: block; width: 100%; height: auto; }
|
|
.frame img.shot-dark { display: none; }
|
|
:root[data-mode="dark"] .frame img.shot-light { display: none; }
|
|
:root[data-mode="dark"] .frame img.shot-dark { display: block; }
|
|
@media (prefers-color-scheme: dark) {
|
|
:root:not([data-mode]) .frame img.shot-light { display: none; }
|
|
:root:not([data-mode]) .frame img.shot-dark { display: block; }
|
|
}
|
|
|
|
.hero-shot { max-width: 1040px; margin: 44px auto 0; padding: 0 24px; perspective: 1600px; }
|
|
.hero-shot .frame { transform-origin: 50% 0; animation: settle 1.1s var(--ease-out) .15s both; }
|
|
@keyframes settle { from { opacity: 0; transform: translateY(28px) rotateX(9deg) scale(.97); } }
|
|
.hero-shot::after { content: ""; display: block; height: 1px; }
|
|
|
|
/* ---------- Sections ---------- */
|
|
|
|
section { padding: 112px 0; }
|
|
.section-head { max-width: 640px; margin: 0 0 48px; }
|
|
.section-head.center { margin: 0 auto 56px; text-align: center; }
|
|
.kicker { font-family: var(--mono); font-size: 12.5px; color: var(--ink-500); letter-spacing: 0; }
|
|
.section-head h2 { font-size: clamp(30px, 4.4vw, 48px); margin-top: 12px; }
|
|
.section-head p { color: var(--ink-600); margin-top: 14px; font-size: 17px; }
|
|
|
|
/* How it works: three real screens */
|
|
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
|
|
.step { display: flex; flex-direction: column; gap: 16px; }
|
|
.step .frame { box-shadow: var(--shadow); aspect-ratio: 1280 / 800; }
|
|
.step .frame img { height: 100%; object-fit: cover; object-position: top left; }
|
|
.step h3 { font-size: 19px; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 10px; }
|
|
.step h3::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--ink-500); letter-spacing: 0; }
|
|
.step p { color: var(--ink-600); font-size: 15px; margin-top: -8px; }
|
|
@media (max-width: 900px) { .steps3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
|
|
|
|
/* Bento features */
|
|
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
|
|
.tile {
|
|
position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line);
|
|
border-radius: var(--r-xl); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-height: 240px;
|
|
transition: border-color .2s ease, transform .3s var(--ease-out);
|
|
}
|
|
@media (hover: hover) and (pointer: fine) { .tile:hover { border-color: var(--ink-300); transform: translateY(-2px); } }
|
|
.tile h3 { font-size: 21px; letter-spacing: -0.025em; }
|
|
.tile p { color: var(--ink-600); font-size: 15px; max-width: 34em; }
|
|
.tile .ic { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); display: grid; place-items: center; color: var(--ink-800); margin-bottom: 6px; }
|
|
.tile .ic svg { width: 19px; height: 19px; }
|
|
.t-wide { grid-column: span 4; }
|
|
.t-tall { grid-column: span 2; grid-row: span 2; }
|
|
.t-third { grid-column: span 2; }
|
|
.t-half { grid-column: span 3; }
|
|
.tile .peek { margin: auto -28px -28px 18%; height: 190px; border-top-left-radius: var(--r-md); border: 1px solid var(--line); border-right: 0; border-bottom: 0; overflow: hidden; box-shadow: var(--shadow); }
|
|
.tile .peek img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
|
|
.tile .popup-peek { margin: auto auto -28px; width: min(260px, 100%); border-radius: var(--r-md) var(--r-md) 0 0; border: 1px solid var(--line); border-bottom: 0; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 360 / 262; }
|
|
.tile .popup-peek img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
|
|
.tile .spec { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
|
|
.chip { font-family: var(--mono); font-size: 12px; color: var(--ink-700); background: var(--bg); border: 1px solid var(--line); padding: 3px 9px; border-radius: 6px; }
|
|
.netlog { margin-top: auto; font-family: var(--mono); font-size: 12.5px; color: var(--ink-600); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; display: grid; gap: 4px; }
|
|
.netlog b { color: var(--ink-900); font-weight: 500; }
|
|
.netlog .row { display: flex; justify-content: space-between; gap: 12px; }
|
|
.checklist { margin-top: auto; font-family: var(--mono); font-size: 12.5px; color: var(--ink-700); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; display: grid; gap: 5px; }
|
|
.checklist span { color: var(--ink-500); }
|
|
@media (max-width: 900px) {
|
|
.bento { grid-template-columns: 1fr 1fr; }
|
|
.t-wide, .t-half { grid-column: span 2; }
|
|
.t-tall, .t-third { grid-column: span 1; grid-row: auto; }
|
|
}
|
|
@media (max-width: 600px) {
|
|
.bento { grid-template-columns: 1fr; }
|
|
.t-wide, .t-half, .t-tall, .t-third { grid-column: auto; }
|
|
}
|
|
|
|
/* What transfers */
|
|
.table-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
|
|
table.matrix { width: 100%; border-collapse: collapse; font-size: 15px; }
|
|
table.matrix th, table.matrix td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
|
|
table.matrix thead th { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--ink-500); background: var(--bg); }
|
|
table.matrix tbody tr:last-child td { border-bottom: 0; }
|
|
table.matrix td:first-child { font-weight: 550; white-space: nowrap; }
|
|
table.matrix td:nth-child(2) { color: var(--ink-700); }
|
|
table.matrix td:nth-child(3) { color: var(--ink-600); }
|
|
.mark { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 99px; margin-right: 8px; vertical-align: -3px; background: var(--accent); color: var(--accent-contrast); }
|
|
.mark svg { width: 11px; height: 11px; }
|
|
.mark.off { background: transparent; border: 1px solid var(--ink-300); color: var(--ink-500); }
|
|
@media (max-width: 640px) {
|
|
table.matrix thead { display: none; }
|
|
table.matrix tr { display: grid; padding: 14px 18px; border-bottom: 1px solid var(--line); gap: 2px; }
|
|
table.matrix td { padding: 0; border: 0; }
|
|
}
|
|
|
|
/* Closing band */
|
|
.close {
|
|
position: relative; overflow: hidden; isolation: isolate; text-align: center;
|
|
background: var(--accent); color: var(--accent-contrast); border-radius: 28px; padding: 88px 28px;
|
|
}
|
|
.close::before {
|
|
content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
|
|
background-image: radial-gradient(color-mix(in srgb, var(--accent-contrast) 14%, transparent) 1px, transparent 1px);
|
|
background-size: 22px 22px;
|
|
-webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%);
|
|
mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%);
|
|
}
|
|
.close h2 { font-size: clamp(32px, 5vw, 56px); color: var(--accent-contrast); }
|
|
.close p { margin: 16px auto 0; max-width: 32em; color: color-mix(in srgb, var(--accent-contrast) 72%, var(--accent)); font-size: 17px; }
|
|
.close .cta-row { margin-top: 32px; }
|
|
.btn-store-inv { background: var(--accent-contrast); color: var(--accent); }
|
|
.btn-outline-inv { background: transparent; color: var(--accent-contrast); border-color: color-mix(in srgb, var(--accent-contrast) 28%, transparent); }
|
|
@media (hover: hover) and (pointer: fine) {
|
|
.btn-store-inv:hover { background: color-mix(in srgb, var(--accent-contrast) 88%, var(--accent)); }
|
|
.btn-outline-inv:hover { border-color: color-mix(in srgb, var(--accent-contrast) 60%, transparent); }
|
|
}
|
|
|
|
/* ---------- Download page ---------- */
|
|
|
|
.page-head { position: relative; text-align: center; padding: 80px 0 16px; isolation: isolate; }
|
|
.page-head h1 { font-size: clamp(38px, 6vw, 64px); letter-spacing: -0.045em; }
|
|
.page-head p { color: var(--ink-600); margin: 16px auto 0; font-size: 18px; max-width: 32em; }
|
|
|
|
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
|
|
@media (max-width: 820px) { .dl-grid { grid-template-columns: 1fr; } }
|
|
.dl-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; }
|
|
.dl-main { padding: 32px; display: flex; flex-direction: column; gap: 22px; }
|
|
.dl-top { display: flex; align-items: center; gap: 14px; }
|
|
.dl-logo { width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); display: grid; place-items: center; color: var(--ink-900); flex: none; }
|
|
.dl-logo svg { width: 26px; height: 26px; }
|
|
.dl-top h2 { font-size: 24px; letter-spacing: -0.03em; line-height: 1.2; }
|
|
.dl-top .sub { font-size: 14px; color: var(--ink-500); }
|
|
.dl-main .btn { width: 100%; }
|
|
.dl-points { list-style: none; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-600); }
|
|
.dl-points li { display: flex; gap: 10px; align-items: flex-start; }
|
|
.dl-points svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--ink-900); }
|
|
|
|
.dl-build { margin-top: auto; border-top: 1px solid var(--line); background: var(--bg); padding: 22px 32px 26px; }
|
|
.dl-build-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
|
|
.dl-build-head h3 { font-size: 15px; letter-spacing: -0.01em; }
|
|
.ver-pill { font-family: var(--mono); font-size: 12px; color: var(--ink-700); border: 1px solid var(--line); background: var(--paper); border-radius: 6px; padding: 2px 8px; }
|
|
.ver-pill[data-state="loading"] { color: var(--ink-500); }
|
|
.dl-build p { font-size: 14px; color: var(--ink-600); margin-top: 6px; }
|
|
.dl-build .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
|
|
.howto { margin-top: 14px; }
|
|
.howto summary {
|
|
cursor: pointer; list-style: none; font-size: 14px; font-weight: 550; color: var(--ink-700);
|
|
display: inline-flex; align-items: center; gap: 6px; border-radius: 6px; user-select: none;
|
|
}
|
|
.howto summary::-webkit-details-marker { display: none; }
|
|
.howto summary svg { width: 14px; height: 14px; transition: transform .2s var(--ease-out); }
|
|
.howto[open] summary svg { transform: rotate(90deg); }
|
|
.howto summary:hover { color: var(--ink-900); }
|
|
.howto ol { margin-top: 12px; padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
|
|
.howto li { display: flex; gap: 12px; font-size: 14px; color: var(--ink-700); }
|
|
.howto li::before {
|
|
counter-increment: s; content: counter(s); flex: none; width: 22px; height: 22px; border-radius: 99px;
|
|
border: 1px solid var(--line); background: var(--paper); font-family: var(--mono); font-size: 11.5px; color: var(--ink-700);
|
|
display: grid; place-items: center; margin-top: 1px;
|
|
}
|
|
.howto code, .dl-build code { font-size: 12.5px; background: var(--paper); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; color: var(--ink-800); }
|
|
.howto .note { margin-top: 10px; font-size: 13px; color: var(--ink-500); }
|
|
|
|
.dl-foot { margin-top: 28px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
|
|
|
|
/* ---------- Prose (privacy) ---------- */
|
|
|
|
.prose { max-width: 720px; margin: 0 auto; padding: 32px 0 40px; }
|
|
.prose .effective { font-family: var(--mono); color: var(--ink-500); font-size: 13px; margin-bottom: 32px; }
|
|
.prose .summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; margin-bottom: 40px; }
|
|
.prose .summary p { margin: 0; color: var(--ink-700); }
|
|
.prose h2 { font-size: 22px; letter-spacing: -0.02em; margin: 44px 0 12px; }
|
|
.prose p { color: var(--ink-700); font-size: 16px; line-height: 1.75; margin-bottom: 14px; }
|
|
.prose ul { margin: 8px 0 18px; padding-left: 20px; display: grid; gap: 8px; }
|
|
.prose ul li { color: var(--ink-700); font-size: 15.5px; line-height: 1.7; }
|
|
.prose ul li::marker { color: var(--ink-400); }
|
|
.prose strong { color: var(--ink-900); font-weight: 600; }
|
|
.prose code { font-size: 13.5px; background: var(--ink-100); padding: 1px 6px; border-radius: 5px; color: var(--ink-800); }
|
|
.prose a { color: var(--ink-900); text-decoration: underline; text-decoration-color: var(--ink-300); text-underline-offset: 3px; transition: text-decoration-color .15s ease; }
|
|
.prose a:hover { text-decoration-color: var(--ink-900); }
|
|
|
|
/* ---------- Footer ---------- */
|
|
|
|
.foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 36px 0 44px; }
|
|
.foot-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
|
|
.foot .brand { font-size: 15px; }
|
|
.foot .spacer { flex: 1; }
|
|
.foot .links2 { display: flex; gap: 20px; font-size: 14px; color: var(--ink-600); flex-wrap: wrap; }
|
|
.foot .links2 a { transition: color .15s ease; }
|
|
.foot .links2 a:hover { color: var(--ink-900); }
|
|
.foot .made { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-500); font-size: 14px; }
|
|
.foot .made a { color: var(--ink-800); font-weight: 550; }
|
|
.foot .heart { color: var(--ink-900); display: inline-flex; }
|
|
.foot .heart svg { width: 13px; height: 13px; }
|
|
|
|
/* ---------- Scroll reveal ---------- */
|
|
|
|
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
|
|
.reveal.in { opacity: 1; transform: none; }
|
|
.reveal-group > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
|
|
.reveal-group.in > * { opacity: 1; transform: none; }
|
|
.reveal-group.in > *:nth-child(2) { transition-delay: 70ms; }
|
|
.reveal-group.in > *:nth-child(3) { transition-delay: 140ms; }
|
|
.reveal-group.in > *:nth-child(4) { transition-delay: 210ms; }
|
|
.reveal-group.in > *:nth-child(5) { transition-delay: 280ms; }
|
|
.reveal-group.in > *:nth-child(6) { transition-delay: 350ms; }
|
|
.no-js .reveal, .no-js .reveal-group > * { opacity: 1; transform: none; }
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
html { scroll-behavior: auto; }
|
|
.aura i, .transfer .file, .hero-shot .frame { animation: none; }
|
|
.reveal, .reveal-group > * { transform: none; transition: opacity .3s ease; }
|
|
.btn:active, .theme-toggle:active { transform: none; }
|
|
}
|