Skip to content

Commit 6c93664

Browse files
committed
Add landing page stylesheet
1 parent 70798f8 commit 6c93664

1 file changed

Lines changed: 197 additions & 0 deletions

File tree

‎docs/styles.css‎

Lines changed: 197 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,197 @@
1+
/* SPDX-License-Identifier: Apache-2.0 */
2+
:root {
3+
--page: #f4f8fb;
4+
--surface: rgba(255,255,255,.76);
5+
--surface-strong: rgba(255,255,255,.94);
6+
--ink: #102033;
7+
--muted: #52657a;
8+
--faint: #7b8da0;
9+
--line: rgba(16,32,51,.1);
10+
--line-strong: rgba(16,32,51,.16);
11+
--blue: #1668e8;
12+
--cyan: #23a8e8;
13+
--teal: #0f9385;
14+
--green: #1c9d70;
15+
--amber: #d5921f;
16+
--red: #d64a4a;
17+
--shadow-soft: 0 16px 46px rgba(18,42,70,.09);
18+
--shadow-lift: 0 26px 72px rgba(18,42,70,.14);
19+
--shadow-deep: 0 42px 120px rgba(18,42,70,.18);
20+
--radius-xl: 34px;
21+
--radius-lg: 26px;
22+
--radius-md: 20px;
23+
--max: 1200px;
24+
}
25+
* { box-sizing: border-box; }
26+
html { scroll-behavior: smooth; }
27+
body {
28+
margin: 0;
29+
color: var(--ink);
30+
background:
31+
radial-gradient(circle at 12% 8%, rgba(35,168,232,.13), transparent 25%),
32+
radial-gradient(circle at 88% 5%, rgba(20,126,202,.12), transparent 28%),
33+
linear-gradient(180deg, #fbfdff 0%, var(--page) 56%, #f8fbfe 100%);
34+
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
35+
font-size: 15px;
36+
line-height: 1.64;
37+
text-rendering: optimizeLegibility;
38+
-webkit-font-smoothing: antialiased;
39+
overflow-x: hidden;
40+
}
41+
a { color: inherit; text-decoration: none; }
42+
p, h1, h2, h3 { margin: 0; }
43+
main, .site-footer { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
44+
main { position: relative; z-index: 2; }
45+
.material-symbols-rounded {
46+
font-family: 'Material Symbols Rounded';
47+
font-weight: 300;
48+
font-style: normal;
49+
font-size: 20px;
50+
line-height: 1;
51+
display: inline-flex;
52+
font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
53+
}
54+
.ambient, .grid-glow { position: fixed; pointer-events: none; z-index: 0; }
55+
.ambient { width: 520px; height: 520px; border-radius: 999px; filter: blur(78px); opacity: .32; }
56+
.ambient-one { top: 35px; left: -190px; background: rgba(22,104,232,.28); }
57+
.ambient-two { top: 360px; right: -180px; background: rgba(15,147,133,.20); }
58+
.grid-glow {
59+
inset: 0;
60+
opacity: .42;
61+
background-image:
62+
linear-gradient(rgba(22,104,232,.08) 1px, transparent 1px),
63+
linear-gradient(90deg, rgba(22,104,232,.08) 1px, transparent 1px);
64+
background-size: 64px 64px;
65+
mask-image: linear-gradient(180deg, rgba(0,0,0,.78), transparent 78%);
66+
}
67+
.scroll-progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--teal)); z-index: 99; box-shadow: 0 0 24px rgba(22,104,232,.3); }
68+
.site-header { position: sticky; top: 14px; z-index: 40; padding: 16px 20px 0; }
69+
.header-shell {
70+
width: min(100%, var(--max)); margin-inline: auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
71+
padding: 12px 14px; border: 1px solid rgba(255,255,255,.82); border-radius: 999px; background: rgba(250,252,255,.78);
72+
backdrop-filter: blur(20px) saturate(1.08); box-shadow: var(--shadow-soft); transition: padding .18s ease, box-shadow .18s ease, background .18s ease;
73+
}
74+
.site-header.is-compact .header-shell { padding: 9px 12px; background: rgba(250,252,255,.9); box-shadow: 0 18px 52px rgba(18,42,70,.12); }
75+
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; padding: 4px 8px 4px 4px; border-radius: 999px; transition: background .18s ease, transform .18s ease; }
76+
.brand:hover { background: rgba(255,255,255,.65); transform: translateY(-1px); }
77+
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: white; font-size: 12px; font-weight: 600; letter-spacing: -.04em; background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 14px 30px rgba(22,104,232,.22); }
78+
.brand-copy { display: grid; gap: 1px; }
79+
.brand-copy strong { font-size: 15px; line-height: 1.15; font-weight: 500; letter-spacing: -.035em; }
80+
.brand-copy small { color: var(--faint); font-size: 12px; line-height: 1.1; }
81+
.nav-links { justify-self: center; display: inline-flex; gap: 3px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: rgba(238,243,249,.72); }
82+
.nav-links a { padding: 10px 13px; border-radius: 999px; color: var(--muted); font-size: 13px; line-height: 1; transition: color .18s ease, background .18s ease, transform .18s ease; }
83+
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); background: rgba(255,255,255,.92); transform: translateY(-1px); }
84+
.header-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: -.02em; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
85+
.header-cta, .button.primary { color: white; background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 18px 44px rgba(22,104,232,.22); }
86+
.button.secondary { color: var(--ink); border: 1px solid var(--line); background: rgba(255,255,255,.84); }
87+
.header-cta:hover, .button:hover, .download-card:hover, .feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
88+
.hero { min-height: calc(100vh - 92px); display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: 46px; align-items: center; padding: 58px 0 44px; }
89+
.eyebrow { width: fit-content; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(22,104,232,.15); border-radius: 999px; background: rgba(22,104,232,.07); color: #155bbd; font-size: 12px; line-height: 1; font-weight: 500; }
90+
h1, h2, h3, strong { letter-spacing: -.035em; }
91+
h1 { margin-top: 18px; max-width: 650px; font-size: clamp(34px,4.5vw,52px); line-height: 1.05; font-weight: 500; }
92+
h2 { max-width: 760px; font-size: clamp(27px,3.3vw,38px); line-height: 1.12; font-weight: 500; }
93+
h3 { margin-top: 13px; font-size: 18px; line-height: 1.25; font-weight: 500; }
94+
.lead { margin-top: 21px; max-width: 620px; color: var(--muted); font-size: 16px; line-height: 1.78; }
95+
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
96+
.signal-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
97+
.signal-strip span { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.70); color: #3e5267; font-size: 13px; }
98+
.safety-note { margin-top: 18px; max-width: 630px; padding: 14px 16px; border: 1px solid rgba(213,146,31,.22); border-radius: 18px; background: rgba(255,248,232,.74); color: #674a17; font-size: 13px; }
99+
.product-window, .download-panel, .feature-card, .timeline, .split-section, .faq-list details, .site-footer, .proof-band article { border: 1px solid rgba(255,255,255,.82); background: var(--surface); backdrop-filter: blur(18px) saturate(1.04); box-shadow: var(--shadow-soft); }
100+
.product-window { position: relative; width: min(760px, 100%); padding: 14px; border-radius: var(--radius-xl); box-shadow: var(--shadow-deep); }
101+
.window-top { height: 40px; display: grid; grid-template-columns: auto auto auto 1fr auto; align-items: center; gap: 8px; padding: 0 8px 12px; color: #42556b; font-size: 12px; }
102+
.window-top strong { justify-self: center; font-weight: 500; }
103+
.window-top em { display: inline-flex; align-items: center; gap: 7px; font-style: normal; color: var(--muted); }
104+
.window-top em span { width: 7px; height: 7px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 5px rgba(28,157,112,.12); }
105+
.dot { width: 9px; height: 9px; border-radius: 999px; background: #d5e0eb; }
106+
.screen-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; }
107+
.screen-card, .event-feed { border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.78); box-shadow: inset 0 1px 0 rgba(255,255,255,.9); padding: 16px; }
108+
.screen-card.large { grid-row: span 2; min-height: 310px; display: grid; align-content: space-between; }
109+
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--faint); font-size: 12px; }
110+
.card-head strong { color: var(--ink); font-size: 14px; font-weight: 500; }
111+
.health-ring { width: 148px; height: 148px; margin: 24px auto 18px; border-radius: 999px; display: grid; place-items: center; background: conic-gradient(var(--blue) 0 72%, rgba(22,104,232,.1) 72% 100%); position: relative; box-shadow: 0 22px 50px rgba(22,104,232,.13); }
112+
.health-ring::after { content: ""; position: absolute; inset: 12px; border-radius: inherit; background: linear-gradient(180deg,#fff,#f3f8fe); }
113+
.health-ring span, .health-ring small { position: relative; z-index: 1; grid-area: 1/1; }
114+
.health-ring span { margin-top: -12px; font-size: 38px; font-weight: 500; letter-spacing: -.05em; }
115+
.health-ring small { margin-top: 48px; color: var(--faint); font-size: 12px; }
116+
.health-bars { display: flex; align-items: end; gap: 8px; height: 86px; padding: 12px; border-radius: 18px; background: rgba(242,247,252,.8); }
117+
.health-bars i { flex: 1; height: var(--v); border-radius: 999px 999px 8px 8px; background: linear-gradient(180deg,var(--cyan),var(--blue)); opacity: .86; }
118+
.mono { margin-top: 22px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #314a63; font-size: 12px; }
119+
.mini-status { width: fit-content; margin-top: 16px; padding: 7px 10px; border-radius: 999px; font-size: 12px; }
120+
.mini-status.pass { color: #0f6b4f; background: rgba(28,157,112,.10); }
121+
.mini-status.warn { color: #7a520e; background: rgba(213,146,31,.13); }
122+
.event-feed { grid-column: 1/-1; display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; padding: 12px; }
123+
.event-feed div { padding: 12px; border-radius: 16px; background: rgba(246,249,253,.82); }
124+
.event-feed span, .event-feed em { display: block; color: var(--faint); font-size: 12px; font-style: normal; }
125+
.event-feed strong { display: block; margin: 4px 0 2px; font-weight: 500; }
126+
.proof-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 8px 0 84px; }
127+
.proof-band article { border-radius: 24px; padding: 20px; }
128+
.proof-band span { color: var(--blue); font-size: 12px; font-weight: 500; }
129+
.proof-band strong { display: block; margin-top: 8px; font-weight: 500; }
130+
.proof-band p { margin-top: 8px; color: var(--muted); font-size: 13px; }
131+
.download-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: center; margin-bottom: 94px; padding: 28px; border-radius: var(--radius-xl); }
132+
.download-panel p:not(.eyebrow), .section-heading p { margin-top: 14px; color: var(--muted); max-width: 720px; }
133+
.download-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
134+
.download-card { display: grid; gap: 9px; padding: 18px; min-height: 150px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.78); transition: transform .18s ease, box-shadow .18s ease; }
135+
.download-card .material-symbols-rounded { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 14px; color: #155bbd; background: rgba(22,104,232,.08); }
136+
.download-card strong { font-weight: 500; }
137+
.download-card small { color: var(--muted); font-size: 12px; line-height: 1.55; }
138+
.section { margin-bottom: 94px; }
139+
.section-heading { margin-bottom: 28px; }
140+
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
141+
.feature-card { min-height: 230px; padding: 22px; border-radius: 26px; transition: transform .18s ease, box-shadow .18s ease; }
142+
.feature-card b { display: inline-flex; padding: 7px 10px; border-radius: 999px; color: #155bbd; background: rgba(22,104,232,.08); font-size: 12px; font-weight: 500; }
143+
.feature-card p { margin-top: 12px; color: var(--muted); font-size: 14px; }
144+
.timeline { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; border-radius: var(--radius-xl); overflow: hidden; }
145+
.timeline div { padding: 24px 18px; border-right: 1px solid var(--line); background: rgba(255,255,255,.52); }
146+
.timeline div:last-child { border-right: 0; }
147+
.timeline span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 999px; color: white; background: linear-gradient(135deg,var(--blue),var(--cyan)); font-size: 13px; }
148+
.timeline p { margin-top: 11px; color: var(--muted); font-size: 13px; }
149+
.split-section { display: grid; grid-template-columns: .94fr 1.06fr; gap: 24px; align-items: center; padding: 28px; border-radius: var(--radius-xl); }
150+
.split-copy p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }
151+
.check-list { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
152+
.check-list li { position: relative; padding-left: 28px; color: #3e5267; }
153+
.check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 15px; height: 15px; border-radius: 999px; background: linear-gradient(135deg,var(--green),var(--cyan)); box-shadow: 0 0 0 5px rgba(28,157,112,.09); }
154+
.code-card { overflow: hidden; border-radius: 24px; background: #101d2b; box-shadow: var(--shadow-lift); }
155+
.code-title { display: flex; align-items: center; gap: 9px; padding: 14px 16px; color: #d9e7f5; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 13px; }
156+
.code-title span { width: 8px; height: 8px; border-radius: 999px; background: var(--green); }
157+
pre { margin: 0; padding: 20px; overflow: auto; color: #d8edf7; font-size: 12px; line-height: 1.65; }
158+
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
159+
.faq-list { display: grid; gap: 12px; }
160+
.faq-list details { border-radius: 22px; padding: 18px 20px; }
161+
.faq-list summary { cursor: pointer; font-weight: 500; letter-spacing: -.02em; }
162+
.faq-list p { margin-top: 12px; color: var(--muted); }
163+
.site-footer { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 26px; padding: 22px 24px; border-radius: 28px; }
164+
.site-footer div:first-child { display: grid; gap: 4px; }
165+
.site-footer span { color: var(--muted); font-size: 13px; }
166+
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
167+
.footer-links a:hover { color: var(--blue); }
168+
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
169+
.reveal.is-visible { opacity: 1; transform: none; }
170+
.delay-1 { transition-delay: .08s; }
171+
.delay-2 { transition-delay: .16s; }
172+
@media (max-width: 1040px) {
173+
.header-shell { grid-template-columns: 1fr auto; border-radius: 28px; }
174+
.nav-links { display: none; }
175+
.hero, .download-panel, .split-section { grid-template-columns: 1fr; }
176+
.proof-band, .feature-grid { grid-template-columns: repeat(2,1fr); }
177+
.timeline { grid-template-columns: 1fr; }
178+
.timeline div { border-right: 0; border-bottom: 1px solid var(--line); }
179+
.event-feed { grid-template-columns: repeat(2,1fr); }
180+
}
181+
@media (max-width: 720px) {
182+
main, .site-footer { width: min(calc(100% - 28px), var(--max)); }
183+
.site-header { top: 0; padding: 10px 12px 0; }
184+
.header-shell { padding: 10px; }
185+
.brand-copy small { display: none; }
186+
.header-cta { min-height: 38px; padding-inline: 12px; }
187+
.hero { padding-top: 42px; }
188+
h1 { font-size: clamp(32px, 12vw, 42px); }
189+
.proof-band, .feature-grid, .download-cards { grid-template-columns: 1fr; }
190+
.screen-grid, .event-feed { grid-template-columns: 1fr; }
191+
.screen-card.large { min-height: 260px; }
192+
.site-footer { align-items: flex-start; flex-direction: column; }
193+
}
194+
@media (prefers-reduced-motion: reduce) {
195+
*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
196+
.reveal { opacity: 1; transform: none; }
197+
}

0 commit comments

Comments
 (0)