Skip to content

Commit dfeee6e

Browse files
committed
feat(landing): add Privacy Policy and Support pages
Publish cumulusvpn.com/privacy and /support as static pages on the apex landing site, matching index.html's design system via a shared doc.css. Privacy ports store/privacy-policy.md; Support adds a categorized FAQ (getting started / privacy / premium / troubleshooting) plus contact channels (email + GitHub live; Discord/Telegram + X marked as placeholders). Wire both into the footer and sitemap; keep the on-page #trust anchor and add the policy page as a separate link. Also correct the control-plane transport wording in the store compliance docs (play/data-safety.md, app-store/app-review.md): the gateway control API is plain HTTP with ed25519-signed responses, not TLS; the VPN tunnel itself is WireGuard-encrypted.
1 parent 5c7f263 commit dfeee6e

8 files changed

Lines changed: 1007 additions & 4 deletions

File tree

clients/landing/public/doc.css

Lines changed: 188 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,188 @@
1+
/*
2+
* Shared stylesheet for the CumulusVPN document pages (privacy.html, support.html).
3+
*
4+
* The tokens, fonts, header and footer are lifted VERBATIM from index.html so the
5+
* doc pages share the exact "Signed sky" palette and site chrome. index.html keeps
6+
* its own (hero/phone/tier-specific) inline styles — those aren't needed here, so
7+
* this file carries only tokens + chrome + a prose/FAQ layout for text pages.
8+
*/
9+
10+
/* Inter, self-hosted (latin) — same faces as index.html and the web app. */
11+
@font-face { font-family:"Inter"; font-style:normal; font-weight:400; font-display:swap; src:url("/fonts/inter-400.woff2") format("woff2"); }
12+
@font-face { font-family:"Inter"; font-style:normal; font-weight:500; font-display:swap; src:url("/fonts/inter-500.woff2") format("woff2"); }
13+
@font-face { font-family:"Inter"; font-style:normal; font-weight:600; font-display:swap; src:url("/fonts/inter-600.woff2") format("woff2"); }
14+
@font-face { font-family:"Inter"; font-style:normal; font-weight:700; font-display:swap; src:url("/fonts/inter-700.woff2") format("woff2"); }
15+
16+
:root {
17+
--bg: #F5F8FB; --bg-2: #EAF0F6; --surface: #FFFFFF; --surface-2: #F0F4F8;
18+
--ink: #0C1420; --ink-2: #46586B; --ink-3: #7B8D9E; --line: #DCE5EE;
19+
--cyan: #0FB9AE; --cyan-glow: #34E4DA; --amber: #C77F17; --amber-2: #F5B23D;
20+
--green: #1F9D6B; --slate: #8496A8;
21+
--radius: 18px; --maxw: 1160px;
22+
--mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, monospace;
23+
--sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
24+
/* "Signed sky" identity extras (shared with index.html). */
25+
--blue: #5b7dff;
26+
--grad: linear-gradient(135deg, var(--cyan-glow), var(--blue));
27+
--grad-soft: linear-gradient(135deg, color-mix(in srgb, var(--cyan-glow) 16%, transparent),
28+
color-mix(in srgb, var(--blue) 16%, transparent));
29+
--shadow-card: 0 1px 0 rgba(255,255,255,.04) inset, 0 30px 64px -40px rgba(3,8,16,.55);
30+
--ring: 0 0 0 3px color-mix(in srgb, var(--cyan-glow) 32%, transparent);
31+
--ease: cubic-bezier(.2,.7,.2,1);
32+
}
33+
@media (prefers-color-scheme: dark) {
34+
:root {
35+
--bg: #070B11; --bg-2: #0C121B; --surface: #10171F; --surface-2: #161F2A;
36+
--ink: #EAF1F8; --ink-2: #A6B6C6; --ink-3: #6C7E90; --line: #1E2A37;
37+
--cyan: #34E4DA; --cyan-glow: #34E4DA; --amber: #F5B23D; --amber-2: #F5B23D;
38+
--green: #34D399; --slate: #64748B;
39+
}
40+
}
41+
:root[data-theme="light"] {
42+
--bg: #F5F8FB; --bg-2: #EAF0F6; --surface: #FFFFFF; --surface-2: #F0F4F8;
43+
--ink: #0C1420; --ink-2: #46586B; --ink-3: #7B8D9E; --line: #DCE5EE;
44+
--cyan: #0FB9AE; --cyan-glow: #34E4DA; --amber: #C77F17; --amber-2: #F5B23D; --green: #1F9D6B;
45+
}
46+
:root[data-theme="dark"] {
47+
--bg: #070B11; --bg-2: #0C121B; --surface: #10171F; --surface-2: #161F2A;
48+
--ink: #EAF1F8; --ink-2: #A6B6C6; --ink-3: #6C7E90; --line: #1E2A37;
49+
--cyan: #34E4DA; --cyan-glow: #34E4DA; --amber: #F5B23D; --amber-2: #F5B23D; --green: #34D399;
50+
}
51+
52+
* { box-sizing: border-box; }
53+
html { scroll-behavior: smooth; }
54+
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
55+
-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-synthesis: none;
56+
line-height: 1.5; overflow-x: hidden; }
57+
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
58+
h1, h2, h3 { text-wrap: balance; margin: 0; }
59+
.mono { font-family: var(--mono); }
60+
a { color: inherit; }
61+
img { max-width: 100%; }
62+
.eyebrow { display:inline-flex; align-items:center; gap:8px; padding:5px 12px; border-radius:999px;
63+
border:1px solid color-mix(in srgb, var(--cyan) 28%, var(--line)); background: var(--grad-soft);
64+
font-family: var(--mono); font-size:11.5px; letter-spacing:.14em; text-transform: uppercase;
65+
color: var(--cyan); font-weight: 600; }
66+
67+
/* Ambient aurora fixed behind the page (shared with index.html). */
68+
body::before { content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
69+
background:
70+
radial-gradient(42rem 30rem at 84% -8%, color-mix(in srgb, var(--cyan-glow) 13%, transparent), transparent 60%),
71+
radial-gradient(38rem 28rem at 4% 6%, color-mix(in srgb, var(--blue) 11%, transparent), transparent 55%); }
72+
73+
/* Focus ring. */
74+
:where(a,button,input,select,summary,[tabindex]):focus-visible { outline:none; box-shadow: var(--ring); border-radius:10px; }
75+
76+
/* ---- top bar (same markup/classes as index.html) ---- */
77+
header.top { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
78+
background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); }
79+
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
80+
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.02em; font-size: 18px;
81+
text-decoration: none; color: var(--ink); }
82+
.mark { width: 26px; height: 26px; }
83+
.top nav { display: flex; gap: 22px; font-size: 14px; color: var(--ink-2); align-items: center; }
84+
.top nav a { text-decoration: none; }
85+
.top nav a:hover { color: var(--ink); }
86+
.top .right { display: flex; align-items: center; gap: 14px; }
87+
/* Official "Powered by Flux" lockup — two art variants swapped by theme. */
88+
.pbf { display: inline-flex; align-items: center; line-height: 0; opacity: 0.92; }
89+
.pbf:hover { opacity: 1; }
90+
.pbf img { width: auto; display: none; }
91+
.pbf .pbf-on-light { display: inline; }
92+
@media (prefers-color-scheme: dark) {
93+
.pbf .pbf-on-light { display: none; }
94+
.pbf .pbf-on-dark { display: inline; }
95+
}
96+
:root[data-theme="light"] .pbf .pbf-on-light { display: inline; }
97+
:root[data-theme="light"] .pbf .pbf-on-dark { display: none; }
98+
:root[data-theme="dark"] .pbf .pbf-on-light { display: none; }
99+
:root[data-theme="dark"] .pbf .pbf-on-dark { display: inline; }
100+
.theme-btn { background: transparent; border: 1px solid var(--line); color: var(--ink-2); border-radius: 20px;
101+
width: 34px; height: 34px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
102+
font-size: 15px; line-height: 1; }
103+
.theme-btn:hover { color: var(--ink); border-color: var(--ink-3); }
104+
105+
/* ---- buttons (subset used by the doc pages) ---- */
106+
.btn { font: inherit; font-weight: 600; font-size: 15px; border-radius: 12px; padding: 13px 20px; cursor: pointer;
107+
border: 1px solid transparent; text-decoration: none; display: inline-flex; align-items: center; gap: 9px; }
108+
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
109+
.btn.ghost:hover { border-color: var(--ink-3); }
110+
111+
/* ---- document (prose) layout ---- */
112+
main.doc { padding: 56px 0 24px; }
113+
.doc-head { max-width: 74ch; margin: 0 auto 8px; }
114+
.doc-head h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.03em; font-weight: 800; margin-top: 14px; }
115+
.doc-meta { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); margin-top: 14px; }
116+
.doc-body { max-width: 74ch; margin: 0 auto; }
117+
.doc-body h2 { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.02em; font-weight: 700; color: var(--ink);
118+
margin: 40px 0 6px; padding-top: 8px; }
119+
.doc-body h3 { font-size: 16.5px; letter-spacing: -.01em; font-weight: 700; color: var(--ink); margin: 24px 0 4px; }
120+
.doc-body p { color: var(--ink-2); font-size: 15.5px; line-height: 1.72; margin: 12px 0; }
121+
.doc-body ul { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; padding-left: 22px; margin: 12px 0; }
122+
.doc-body li { margin: 8px 0; }
123+
.doc-body strong { color: var(--ink); font-weight: 600; }
124+
.doc-body a { color: var(--cyan); text-decoration: none; }
125+
.doc-body a:hover { text-decoration: underline; }
126+
.doc-body code, .doc-body .kbd { font-family: var(--mono); font-size: 13px; background: var(--bg-2);
127+
border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
128+
.doc-body .lead { font-size: 17px; color: var(--ink-2); }
129+
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
130+
box-shadow: var(--shadow-card); padding: 22px 24px; margin: 28px 0; }
131+
.contact p { margin: 6px 0; }
132+
.hr { height: 1px; background: var(--line); border: 0; margin: 40px 0; }
133+
134+
/* ---- support: FAQ accordions (native <details>, no JS) ---- */
135+
.support-intro { max-width: 74ch; margin: 0 auto 8px; }
136+
.support-intro h1 { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.03em; font-weight: 800; margin-top: 14px; }
137+
.support-intro p { color: var(--ink-2); font-size: 17px; max-width: 60ch; margin: 16px 0 0; }
138+
.faq-group { max-width: 74ch; margin: 0 auto; padding-top: 40px; }
139+
.faq-group > h2 { font-size: 13px; }
140+
.faq { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
141+
background: var(--surface); box-shadow: var(--shadow-card); }
142+
.faq details { border-top: 1px solid var(--line); }
143+
.faq details:first-child { border-top: 0; }
144+
.faq summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 15.5px;
145+
color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
146+
.faq summary::-webkit-details-marker { display: none; }
147+
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--cyan); font-weight: 400; font-size: 17px;
148+
flex-shrink: 0; transition: transform .2s var(--ease); }
149+
.faq details[open] summary::after { content: "-"; }
150+
.faq summary:hover { color: var(--cyan); }
151+
.faq .answer { padding: 0 20px 18px; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
152+
.faq .answer p { margin: 0 0 10px; }
153+
.faq .answer a { color: var(--cyan); text-decoration: none; }
154+
.faq .answer a:hover { text-decoration: underline; }
155+
.faq .answer code { font-family: var(--mono); font-size: 12.5px; background: var(--bg-2);
156+
border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
157+
158+
/* ---- support: contact channels ---- */
159+
.channels-head { max-width: 74ch; margin: 56px auto 0; }
160+
.channels { max-width: 74ch; margin: 22px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
161+
.channel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
162+
box-shadow: var(--shadow-card); padding: 22px; display: flex; flex-direction: column; gap: 6px;
163+
text-decoration: none; transition: border-color .2s var(--ease); }
164+
a.channel:hover { border-color: color-mix(in srgb, var(--cyan) 28%, var(--line)); }
165+
.channel .ico { width: 26px; height: 26px; color: var(--cyan); margin-bottom: 6px; }
166+
.channel h3 { font-size: 16px; letter-spacing: -.01em; color: var(--ink); display: flex; align-items: center; gap: 9px; }
167+
.channel p { color: var(--ink-2); font-size: 14px; margin: 0; }
168+
.channel .val { font-family: var(--mono); font-size: 13px; color: var(--cyan); margin-top: 4px; }
169+
.channel.disabled { cursor: default; }
170+
.tag-soon { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em;
171+
color: var(--ink-3); border: 1px solid var(--line); border-radius: 20px; padding: 2px 8px; font-weight: 500; }
172+
173+
/* ---- footer (same markup/classes as index.html) ---- */
174+
footer { padding: 56px 0 60px; color: var(--ink-3); font-size: 13px; margin-top: 40px;
175+
border-top: 1px solid var(--line); }
176+
footer .cols { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 28px; }
177+
footer .col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2);
178+
margin: 0 0 12px; }
179+
footer .col a { display: block; color: var(--ink-3); text-decoration: none; font-size: 13.5px; margin-bottom: 8px; }
180+
footer .col a:hover { color: var(--ink); }
181+
footer .foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
182+
padding-top: 22px; border-top: 1px solid var(--line); }
183+
footer .disclaimer { max-width: 62ch; line-height: 1.55; color: var(--ink-3); }
184+
185+
@media (max-width: 900px) {
186+
.top nav { display: none; }
187+
.channels { grid-template-columns: 1fr; }
188+
}

clients/landing/public/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,8 @@ <h4>Product</h4>
614614
<div class="col">
615615
<h4>Learn</h4>
616616
<a href="#trust">Privacy</a>
617+
<a href="/privacy">Privacy Policy</a>
618+
<a href="/support">Support</a>
617619
<a href="https://runonflux.io">Flux network</a>
618620
<a href="#how">Payments in FLUX</a>
619621
</div>

0 commit comments

Comments
 (0)