-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
146 lines (132 loc) · 7.43 KB
/
style.css
File metadata and controls
146 lines (132 loc) · 7.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
:root {
--bg: #1e1e2e;
--bg-alt: #181825;
--surface: #313244;
--text: #cdd6f4;
--text-dim: #a6adc8;
--blue: #89b4fa;
--green: #a6e3a1;
--mauve: #cba6f7;
--red: #f38ba8;
--mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', 'Fira Code', monospace;
--sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }
/* Nav */
nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 960px; margin: 0 auto; }
nav .logo { color: var(--blue); font-weight: 700; font-size: 18px; font-family: var(--mono); }
nav .links { display: flex; gap: 24px; align-items: center; }
nav .links a { color: var(--text-dim); font-size: 14px; }
nav .links a:hover { color: var(--text); text-decoration: none; }
/* Hero */
.hero { padding: 120px 24px 80px; text-align: center; max-width: 720px; margin: 0 auto; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero .accent { color: var(--green); }
.hero p { color: var(--text-dim); font-size: 18px; max-width: 560px; margin: 0 auto 32px; }
.hero .buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 15px; border: none; cursor: pointer; }
.btn-primary { background: var(--blue); color: var(--bg); }
.btn-primary:hover { opacity: 0.9; text-decoration: none; }
.btn-outline { border: 1px solid var(--surface); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--text-dim); text-decoration: none; }
/* Stats */
.stats { display: flex; justify-content: center; gap: 48px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--surface); flex-wrap: wrap; }
.stat { text-align: center; }
.stat .value { display: block; font-family: var(--mono); font-size: 14px; color: var(--green); font-weight: 700; }
.stat .label { font-size: 13px; color: var(--text-dim); }
/* Section */
section { padding: 80px 24px; }
section h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
section .subtitle { color: var(--text-dim); font-size: 16px; margin-bottom: 40px; max-width: 560px; }
.section-center { text-align: center; }
.section-center .subtitle { margin-left: auto; margin-right: auto; }
/* Grid */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 960px; margin: 0 auto; }
.card { background: var(--bg-alt); border: 1px solid var(--surface); border-radius: 12px; padding: 28px; }
.card .icon { font-size: 28px; margin-bottom: 12px; }
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 14px; line-height: 1.5; }
/* Steps */
.steps { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); color: var(--blue); font-family: var(--mono); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.step-content h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.step-content p { color: var(--text-dim); font-size: 14px; }
/* Architecture */
.arch { background: var(--bg-alt); border: 1px solid var(--surface); border-radius: 12px; padding: 32px; max-width: 720px; margin: 0 auto; overflow-x: auto; }
.arch pre { font-family: var(--mono); font-size: 13px; color: var(--text-dim); line-height: 1.7; white-space: pre; }
.arch .hl { color: var(--blue); }
.arch .gr { color: var(--green); }
/* Code */
.code-block { background: var(--bg-alt); border: 1px solid var(--surface); border-radius: 12px; overflow: hidden; max-width: 640px; margin: 0 auto; }
.code-header { padding: 10px 16px; border-bottom: 1px solid var(--surface); font-family: var(--mono); font-size: 12px; color: var(--text-dim); }
.code-block pre { padding: 20px; font-family: var(--mono); font-size: 13px; line-height: 1.6; overflow-x: auto; }
.code-block .k { color: var(--mauve); }
.code-block .s { color: var(--green); }
.code-block .c { color: var(--text-dim); font-style: italic; }
/* Callout */
.callout { background: var(--bg-alt); border: 1px solid var(--surface); border-radius: 12px; padding: 40px; text-align: center; max-width: 640px; margin: 0 auto; }
.callout h3 { font-size: 20px; margin-bottom: 12px; }
.callout p { color: var(--text-dim); font-size: 15px; margin-bottom: 20px; }
/* Two-mode comparison */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.mode { background: var(--bg-alt); border: 1px solid var(--surface); border-radius: 10px; padding: 24px; }
.mode h3 { margin: 12px 0 12px; font-size: 18px; }
.mode p { color: var(--text); font-size: 14px; margin-bottom: 12px; line-height: 1.6; }
.mode p.dim { color: var(--text-dim); font-style: italic; font-size: 13px; }
.mode-tag {
display: inline-block; padding: 3px 10px; border-radius: 4px;
font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
font-family: var(--mono);
}
.mode-customer h3 { color: var(--mauve); }
.mode-customer .mode-tag { background: rgba(203, 166, 247, 0.15); color: var(--mauve); }
.mode-confidential h3 { color: #fab387; }
.mode-confidential .mode-tag { background: rgba(250, 179, 135, 0.15); color: #fab387; }
/* Trust model table */
.trust-table { border-collapse: collapse; width: 100%; margin: 24px 0 16px; }
.trust-table td {
vertical-align: top; padding: 14px 12px;
border-bottom: 1px solid var(--surface);
font-size: 14px; color: var(--text);
line-height: 1.6;
}
.trust-table td:first-child { width: 140px; white-space: nowrap; }
.state-pill {
display: inline-block; padding: 3px 10px; border-radius: 4px;
font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
font-family: var(--mono);
}
.state-pristine { background: rgba(166, 227, 161, 0.18); color: var(--green); }
.state-tainted { background: rgba(250, 179, 135, 0.18); color: #fab387; }
.state-safe { background: rgba(137, 180, 250, 0.18); color: var(--blue); }
.reasons { list-style: none; padding-left: 0; }
.reasons li { padding: 4px 0; font-size: 13px; color: var(--text-dim); }
.reasons li code { color: var(--text); }
.trust-cta {
margin-top: 16px; padding: 14px 16px;
background: rgba(250, 179, 135, 0.08); border-left: 3px solid #fab387; border-radius: 0 6px 6px 0;
font-size: 14px; color: var(--text); line-height: 1.6;
}
/* CTA */
.cta { text-align: center; padding: 80px 24px; }
.cta h2 { font-size: 28px; margin-bottom: 12px; }
.cta p { color: var(--text-dim); margin-bottom: 24px; }
/* Footer */
footer { border-top: 1px solid var(--surface); padding: 32px 24px; text-align: center; }
footer p { color: var(--text-dim); font-size: 13px; }
footer a { color: var(--text-dim); margin: 0 12px; }
footer a:hover { color: var(--text); }
@media (max-width: 600px) {
nav .links { display: none; }
.hero { padding: 80px 16px 48px; }
.stats { gap: 24px; }
.grid-3 { grid-template-columns: 1fr; }
.modes { grid-template-columns: 1fr; }
.trust-table td:first-child { width: auto; }
}