|
7 | 7 | padding: 0 20px; |
8 | 8 | box-sizing: border-box; |
9 | 9 |
|
| 10 | + .pricing-header-row { |
| 11 | + width: 100%; |
| 12 | + display: flex; |
| 13 | + flex-flow: row wrap; |
| 14 | + align-items: center; |
| 15 | + justify-content: space-between; |
| 16 | + margin-bottom: 24px; |
| 17 | + gap: 16px; |
| 18 | + |
| 19 | + @include break-down(sm) { |
| 20 | + flex-direction: column; |
| 21 | + align-items: center; |
| 22 | + text-align: center; |
| 23 | + } |
| 24 | + |
| 25 | + .pricing-subtitle { |
| 26 | + font-size: 1.5rem; |
| 27 | + color: var(--text-body-secondary, #555); |
| 28 | + font-weight: 300; |
| 29 | + margin: 0; |
| 30 | + |
| 31 | + @include break-up(md) { |
| 32 | + font-size: 1.75rem; |
| 33 | + } |
| 34 | + } |
| 35 | + } |
| 36 | + |
10 | 37 | #pricing-toggle { |
11 | 38 | display: flex; |
12 | 39 | flex-flow: row; |
|
15 | 42 | border: 1px solid var(--text-body-primary); |
16 | 43 | border-radius: 50px; |
17 | 44 | min-height: 38px; |
18 | | - margin-bottom: 50px; |
19 | 45 |
|
20 | 46 | & > button { |
21 | 47 | box-sizing: border-box; |
|
51 | 77 | } |
52 | 78 |
|
53 | 79 | @include break-up(sm) { |
54 | | - grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); |
55 | | - column-gap: 15px; |
56 | | - row-gap: 30px; |
| 80 | + grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); |
| 81 | + column-gap: 12px; |
| 82 | + row-gap: 24px; |
57 | 83 | justify-content: center; |
58 | 84 | } |
59 | 85 |
|
60 | 86 | @include break-up(md) { |
61 | | - grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); |
62 | | - column-gap: 20px; |
63 | | - row-gap: 30px; |
| 87 | + grid-template-columns: repeat(2, minmax(220px, 280px)); |
| 88 | + column-gap: 16px; |
| 89 | + row-gap: 24px; |
64 | 90 | justify-content: center; |
65 | | - max-width: 620px; |
| 91 | + max-width: 600px; |
66 | 92 | margin: 0 auto; |
67 | 93 | } |
68 | 94 |
|
69 | 95 | @include break-up(lg) { |
70 | | - grid-template-columns: repeat(4, minmax(280px, 320px)); |
71 | | - column-gap: 30px; |
72 | | - row-gap: 30px; |
| 96 | + grid-template-columns: repeat(4, minmax(200px, 260px)); |
| 97 | + column-gap: 16px; |
| 98 | + row-gap: 24px; |
73 | 99 | justify-content: center; |
74 | 100 | max-width: none; |
75 | 101 | margin: 0; |
76 | 102 | } |
77 | 103 |
|
78 | 104 | @include break-up(xl) { |
79 | | - grid-template-columns: repeat(4, 320px); |
80 | | - column-gap: 30px; |
81 | | - row-gap: 30px; |
| 105 | + grid-template-columns: repeat(4, 260px); |
| 106 | + column-gap: 20px; |
| 107 | + row-gap: 24px; |
82 | 108 | justify-content: center; |
83 | 109 | } |
84 | 110 |
|
|
95 | 121 | align-items: center; |
96 | 122 | justify-content: center; |
97 | 123 | box-sizing: border-box; |
98 | | - padding: 20px; |
| 124 | + padding: 16px; |
99 | 125 |
|
100 | 126 | p { |
101 | | - font-size: 18px; |
| 127 | + font-size: 16px; |
102 | 128 | font-weight: 500; |
103 | 129 | line-height: 1.4; |
104 | 130 | color: var(--text-body-primary); |
|
112 | 138 | flex-flow: column; |
113 | 139 | align-items: center; |
114 | 140 | justify-content: flex-start; |
115 | | - row-gap: 10px; |
116 | | - padding: 20px 0; |
| 141 | + row-gap: 8px; |
| 142 | + padding: 16px 0; |
117 | 143 |
|
118 | 144 | & > .price { |
119 | 145 | display: flex; |
|
135 | 161 |
|
136 | 162 | .free { |
137 | 163 | font-family: "Poppins"; |
138 | | - font-size: 30px; |
| 164 | + font-size: 24px; |
139 | 165 | font-weight: 600; |
140 | 166 | color: var(--text-body-primary); |
141 | 167 | } |
|
158 | 184 | .monthly { |
159 | 185 | font-family: "Poppins"; |
160 | 186 | font-weight: 600; |
161 | | - font-size: 30px; |
| 187 | + font-size: 24px; |
162 | 188 | } |
163 | 189 |
|
164 | 190 | .annually { |
|
167 | 193 | } |
168 | 194 |
|
169 | 195 | & > .annual-message { |
170 | | - font-size: 12px; |
171 | | - line-height: 1.5; |
| 196 | + font-size: 11px; |
| 197 | + line-height: 1.4; |
172 | 198 | color: var(--text-body-primary); |
173 | 199 | text-align: center; |
174 | 200 | text-wrap: balance; |
175 | 201 | box-sizing: border-box; |
176 | | - padding: 0 20px; |
| 202 | + padding: 0 14px; |
177 | 203 | } |
178 | 204 |
|
179 | 205 | & > .action-container { |
|
189 | 215 | flex-flow: row nowrap; |
190 | 216 | align-items: center; |
191 | 217 | justify-content: center; |
192 | | - min-width: calc(86.5px + (32 * 2px)); |
| 218 | + min-width: calc(70px + (24 * 2px)); |
193 | 219 | border-radius: 25px; |
194 | 220 | border: 1px solid var(--surface-main-primary); |
195 | 221 | background-color: var(--surface-main-primary); |
196 | 222 | box-sizing: border-box; |
197 | 223 | text-decoration: none; |
198 | | - padding: 10px; |
| 224 | + padding: 8px 12px; |
199 | 225 | transition: border-color 0.2s, color 0.2s, background-color 0.2s; |
200 | 226 |
|
201 | 227 | &:hover, &:focus { |
|
209 | 235 | } |
210 | 236 |
|
211 | 237 | span { |
212 | | - font-size: 14px; |
| 238 | + font-size: 13px; |
213 | 239 | font-weight: 500; |
214 | 240 | line-height: 1.4; |
215 | 241 | color: var(--text-button-secondary); |
|
278 | 304 | .pricing-card { |
279 | 305 | .content-container { |
280 | 306 | box-sizing: border-box; |
281 | | - padding: 20px; |
| 307 | + padding: 14px; |
282 | 308 |
|
283 | 309 | // Override typography for pricing page specific smaller fonts |
284 | 310 | strong { |
285 | | - font-size: 14px; |
| 311 | + font-size: 12px; |
286 | 312 | font-weight: 600; |
287 | | - line-height: 1.8; |
| 313 | + line-height: 1.6; |
288 | 314 | display: block; |
289 | | - margin-bottom: 12px; |
| 315 | + margin-bottom: 8px; |
290 | 316 | color: var(--text-body-primary); |
291 | 317 | } |
292 | 318 |
|
293 | 319 | ul { |
294 | 320 | margin: 0; |
295 | 321 | padding: 0; |
296 | | - padding-left: 15px; |
297 | | - line-height: 1.8; |
| 322 | + padding-left: 14px; |
| 323 | + line-height: 1.6; |
298 | 324 |
|
299 | 325 | li { |
300 | | - font-size: 14px; |
| 326 | + font-size: 12px; |
301 | 327 | font-weight: 400; |
302 | | - line-height: 1.7; |
303 | | - margin-bottom: 10px; |
| 328 | + line-height: 1.5; |
| 329 | + margin-bottom: 6px; |
304 | 330 | text-wrap: balance; |
305 | 331 |
|
306 | 332 | & > span { |
307 | 333 | display: block; |
308 | | - font-size: 12px; |
309 | | - line-height: 1.5; |
| 334 | + font-size: 11px; |
| 335 | + line-height: 1.4; |
310 | 336 | color: var(--text-body-primary); |
311 | 337 | } |
312 | 338 | } |
|
325 | 351 |
|
326 | 352 | // Optimize paragraph spacing |
327 | 353 | p { |
328 | | - font-size: 14px; |
329 | | - line-height: 1.6; |
330 | | - margin-bottom: 12px; |
| 354 | + font-size: 12px; |
| 355 | + line-height: 1.5; |
| 356 | + margin-bottom: 8px; |
331 | 357 | } |
332 | 358 | } |
333 | 359 | } |
|
0 commit comments