1- /* Metridex v0.2.5 — Fixed navbar + About perfect centering (Black & Gold base) */
1+ /* Metridex v0.2.6 — Restore Screens + FAQ; Articles left padding; image placeholders */
2+ /* (Black & Gold base + fixed navbar + centered About band) */
23: root {
34 --bg : # 070709 ;
45 --ink : # f5f3eb ;
@@ -28,11 +29,9 @@ a:visited{color:var(--link-visited)}
2829/* Containers */
2930.container {width : min (1120px , 92% ); margin : 0 auto}
3031
31- /* Navbar — fixed + shadow */
32- .nav {position : fixed; top : 0 ; left : 0 ; right : 0 ; z-index : 100 ;
33- border-bottom : 1px solid var (--stroke );
34- backdrop-filter : saturate (150% ) blur (8px );
35- background : rgba (7 , 7 , 9 , .70 ); box-shadow : 0 6px 18px rgba (0 , 0 , 0 , .35 )}
32+ /* Navbar — fixed */
33+ .nav {position : fixed; top : 0 ; left : 0 ; right : 0 ; z-index : 100 ; border-bottom : 1px solid var (--stroke );
34+ backdrop-filter : saturate (150% ) blur (8px ); background : rgba (7 , 7 , 9 , .70 ); box-shadow : 0 6px 18px rgba (0 , 0 , 0 , .35 )}
3635.nav-inner {display : flex; align-items : center; gap : 16px ; padding : 12px 0 }
3736.brand {display : flex; align-items : center; gap : 10px ; font-weight : 900 ; letter-spacing : .2px }
3837.logo-mark {display : inline-grid; place-items : center; width : 34px ; height : 34px ; border-radius : 10px ;
@@ -47,7 +46,7 @@ a:visited{color:var(--link-visited)}
4746.burger {display : none; margin-left : 8px ; background : transparent; border : 1px solid var (--stroke ); color : var (--ink );
4847 border-radius : 10px ; padding : 8px 10px ; cursor : pointer}
4948
50- /* Ensure page content starts below fixed nav (JS also sets padding-top precisely) */
49+ /* Content offset for fixed nav */
5150body .has-fixed-nav {padding-top : 72px }
5251
5352/* Hero */
@@ -61,13 +60,10 @@ body.has-fixed-nav{padding-top:72px}
6160 border : 1px solid var (--stroke ); background : linear-gradient (180deg , # 141414, # 0f1115 ); color : var (--ink )}
6261.cta : hover {transform : translateY (-1px )}
6362.cta .ghost {background : transparent; color : var (--ink ); border-color : var (--stroke )}
64- /* Aura with gold shimmer */
6563.cta-bot {position : relative; overflow : hidden}
66- .cta-bot .aura {
67- position : absolute; inset : -2px ; border-radius : 18px ; pointer-events : none;
64+ .cta-bot .aura {position : absolute; inset : -2px ; border-radius : 18px ; pointer-events : none;
6865 background : conic-gradient (from 0deg , rgba (247 , 227 , 161 , .0 ), rgba (247 , 227 , 161 , .35 ), rgba (184 , 138 , 42 , .35 ), rgba (247 , 227 , 161 , .0 ));
69- filter : blur (8px ); animation : spin 3s linear infinite;
70- }
66+ filter : blur (8px ); animation : spin 3s linear infinite}
7167@keyframes spin{to {transform : rotate (360deg )}}
7268
7369/* Glass cards */
@@ -80,25 +76,44 @@ body.has-fixed-nav{padding-top:72px}
8076.section {padding : 68px 0 }
8177.section .alt {background : linear-gradient (180deg , rgba (255 , 255 , 255 , .03 ), transparent)}
8278
83- /* Centered band variant for About */
79+ /* Centered band for About */
8480.band {background : linear-gradient (180deg , rgba (255 , 255 , 255 , .04 ), rgba (255 , 255 , 255 , .00 ))}
8581.center {min-height : 260px ; padding : 0 }
8682.band-inner {display : flex; align-items : center; min-height : 260px }
87- .band-copy {display : block}
8883.band-copy h2 {margin : 0 0 10px }
8984.band-copy p {margin : 0 }
9085
91- /* Headings */
92- h1 {font-size : 40px ; margin : 0 0 12px }
93- h2 {font-size : 32px ; margin : 0 0 14px }
86+ /* Screens */
87+ .screens-grid {display : grid; grid-template-columns : repeat (auto-fit, minmax (280px , 1fr )); gap : 16px }
88+ .screen {padding : 16px }
89+ .viewport {border-radius : 12px ; border : 1px solid var (--stroke ); background : rgba (255 , 255 , 255 , .02 ); overflow : hidden;
90+ aspect-ratio : 16 / 10 ; display : grid; place-items : center}
91+ .viewport img {width : 100% ; height : 100% ; object-fit : cover; display : block}
92+ .viewport .placeholder {background :
93+ linear-gradient (180deg , rgba (255 , 255 , 255 , .04 ), rgba (255 , 255 , 255 , .01 )),
94+ radial-gradient (600px 300px at 80% 10% , rgba (247 , 227 , 161 , .10 ), transparent 60% ),
95+ rgba (0 , 0 , 0 , .15 )}
96+ .screen figcaption {margin-top : 8px ; font-weight : 700 }
97+ .hint {color : var (--muted ); font-size : .9rem }
9498
95- /* Features & cards */
99+ /* Cards & Features */
96100.features-grid {display : grid; grid-template-columns : repeat (auto-fit, minmax (240px , 1fr )); gap : 16px }
97101.feature {padding : 16px }
98102.cards {display : grid; grid-template-columns : repeat (auto-fit, minmax (230px , 1fr )); gap : 16px }
99103.card {padding : 18px }
100104.card .price {font-size : 22px ; font-weight : 900 }
101105
106+ /* FAQ */
107+ .faq {display : grid; gap : 12px }
108+ .qa {padding : 12px }
109+ .qa > summary {cursor : pointer; font-weight : 800 ; outline : none}
110+ .qa [open ] > summary {margin-bottom : 8px }
111+
112+ /* Articles */
113+ .articles {display : grid; grid-template-columns : repeat (auto-fit, minmax (280px , 1fr )); gap : 16px }
114+ .post {padding : 16px 18px 16px 22px } /* extra left padding */
115+ .post h3 {margin : 0 0 6px }
116+
102117/* Footer */
103118.footer {padding : 36px 0 ; border-top : 1px solid var (--stroke ); color : var (--muted )}
104119
0 commit comments