1- /* Metridex v0.2.3 — Contrast fixes, light navbar, link colors, articles page */
1+ /* Metridex v0.2.4 — Black & Gold preset + centered About band */
22: root {
3- --bg : # 090b0f ;
4- --ink : # e9eef6 ;
5- --muted : # 9aa7b6 ;
6- --glass : # 0f141b ;
7- --stroke : rgba ( 255 , 255 , 255 , .08 ) ;
8- --gold1 : # f2d58c ;
9- --gold2 : # b38a3a ;
10- --teal : # 23d6c6 ;
11- --link : # 2bd3c8 ;
12- --link-visited : # 8cd4ff ;
3+ /* Luxury palette */
4+ --bg : # 070709 ;
5+ --ink : # f5f3eb ; /* ivory text */
6+ --muted : # b9b3a3 ; /* warm gray */
7+ --glass : # 0c0d11 ;
8+ --stroke : rgba ( 255 , 255 , 255 , .10 ) ;
9+ --gold1 : # f7e3a1 ; /* soft gold */
10+ --gold2 : # b88a2a ; /* deep gold */
11+ --link : # f0c65a ; /* gold link */
12+ --link-visited : # d0b36e ;
1313}
1414* {box-sizing : border-box}
1515html {scroll-behavior : smooth}
@@ -18,26 +18,25 @@ body{
1818 margin : 0 ; font-family : Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
1919 color : var (--ink );
2020 background :
21- radial-gradient (800 px 400 px at 80 % 10 % , rgba (35 , 214 , 198 , .10 ), transparent 60% ),
22- radial-gradient (900 px 500 px at 10 % 20 % , rgba (242 , 213 , 140 , .10 ), transparent 60% ),
23- radial-gradient (1200px 600px at 70% 70% , rgba (255 , 255 , 255 , .04 ), transparent 60% ),
21+ radial-gradient (900 px 500 px at 10 % 15 % , rgba (247 , 227 , 161 , .08 ), transparent 60% ),
22+ radial-gradient (800 px 420 px at 80 % 8 % , rgba (184 , 138 , 42 , .10 ), transparent 60% ),
23+ radial-gradient (1200px 600px at 70% 70% , rgba (255 , 255 , 255 , .05 ), transparent 60% ),
2424 var (--bg );
2525 line-height : 1.6 ;
2626}
2727a {color : var (--link ); text-decoration : none}
2828a : hover {text-decoration : underline}
2929a : visited {color : var (--link-visited )}
30- .link {color : var (--link )}
3130
3231/* Containers */
3332.container {width : min (1120px , 92% ); margin : 0 auto}
3433
3534/* Navbar */
3635.nav {position : sticky; top : 0 ; z-index : 50 ; border-bottom : 1px solid var (--stroke );
37- backdrop-filter : saturate (140 % ) blur (6 px ); background : rgba (9 , 11 , 15 , .6 )}
36+ backdrop-filter : saturate (150 % ) blur (8 px ); background : rgba (7 , 7 , 9 , .65 )}
3837.nav-inner {display : flex; align-items : center; gap : 16px ; padding : 12px 0 }
3938.brand {display : flex; align-items : center; gap : 10px ; font-weight : 900 ; letter-spacing : .2px }
40- .logo-mark {display : inline-grid; place-items : center; width : 32 px ; height : 32 px ; border-radius : 10px ;
39+ .logo-mark {display : inline-grid; place-items : center; width : 34 px ; height : 34 px ; border-radius : 10px ;
4140 background : linear-gradient (135deg , var (--gold1 ), var (--gold2 )); color : # 0d1116 ; font-weight : 900 }
4241.logo-text {font-weight : 900 }
4342.nav-links {display : flex; gap : 22px ; margin-left : auto}
@@ -52,41 +51,50 @@ a:visited{color:var(--link-visited)}
5251/* Hero */
5352.hero {padding : 96px 0 56px }
5453.hero-inner {display : grid; grid-template-columns : 1.2fr .8fr ; gap : 32px ; align-items : center}
55- .hero-copy h1 {font-size : clamp (34 px , 5.6 vw , 64 px ); line-height : 1.08 ; margin : 0 0 10px ; font-weight : 900 ; letter-spacing : -.02em }
56- .grad {background : linear-gradient (90deg , var (--gold1 ) 0% , var (--teal ) 60 % ); -webkit-background-clip : text; background-clip : text; color : transparent}
54+ .hero-copy h1 {font-size : clamp (36 px , 5.8 vw , 66 px ); line-height : 1.06 ; margin : 0 0 10px ; font-weight : 900 ; letter-spacing : -.02em }
55+ .grad {background : linear-gradient (90deg , var (--gold1 ) 0% , var (--gold2 ) 38 % , # fff 70 % ); -webkit-background-clip : text; background-clip : text; color : transparent}
5756.sub {color : var (--muted ); margin : 0 }
5857.cta-row {display : flex; gap : 12px ; margin-top : 16px }
5958.cta {display : inline-flex; align-items : center; gap : 10px ; text-decoration : none; font-weight : 800 ; padding : 12px 16px ; border-radius : 16px ;
60- border : 1px solid var (--stroke ); background : linear-gradient (180deg , # 141a22 , # 0e1318 ); color : var (--ink )}
59+ border : 1px solid var (--stroke ); background : linear-gradient (180deg , # 141414 , # 0f1115 ); color : var (--ink )}
6160.cta : hover {transform : translateY (-1px )}
6261.cta .ghost {background : transparent; color : var (--ink ); border-color : var (--stroke )}
63- /* Premium animated aura */
62+ /* Aura with gold shimmer */
6463.cta-bot {position : relative; overflow : hidden}
6564.cta-bot .aura {
6665 position : absolute; inset : -2px ; border-radius : 18px ; pointer-events : none;
67- background : conic-gradient (from 0deg , rgba (242 , 213 , 140 , .0 ), rgba (179 , 138 , 58 , .35 ), rgba (35 , 214 , 198 , .35 ), rgba (242 , 213 , 140 , .0 ));
68- filter : blur (8px ); animation : spin 2.8 s linear infinite;
66+ 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 ));
67+ filter : blur (8px ); animation : spin 3 s linear infinite;
6968}
7069@keyframes spin{to {transform : rotate (360deg )}}
7170
7271/* Glass cards */
73- .glass {background : rgba (255 , 255 , 255 , .04 ); border : 1px solid var (--stroke ); border-radius : 18px ; box-shadow : 0 12 px 36 px rgba (0 , 0 , 0 , .35 ); backdrop-filter : blur (8 px )}
72+ .glass {background : rgba (255 , 255 , 255 , .03 ); border : 1px solid var (--stroke ); border-radius : 18px ; box-shadow : 0 18 px 48 px rgba (0 , 0 , 0 , .45 ); backdrop-filter : blur (10 px )}
7473.hero-card {padding : 18px }
7574.hero-card h3 {margin : 0 0 8px }
7675.hero-card ul {margin : 0 ; padding-left : 18px }
7776
7877/* Sections */
7978.section {padding : 68px 0 }
80- .section .alt {background : linear-gradient (180deg , rgba (255 , 255 , 255 , .02 ), transparent)}
79+ .section .alt {background : linear-gradient (180deg , rgba (255 , 255 , 255 , .03 ), transparent)}
80+ /* Centered band variant for About */
81+ .band {background : linear-gradient (180deg , rgba (255 , 255 , 255 , .04 ), rgba (255 , 255 , 255 , .00 ))}
82+ .center {display : grid; place-items : center; min-height : 240px }
83+ .center .container h2 {margin : 0 0 8px }
84+ .center .container p {margin : 0 }
85+
86+ /* Headings */
8187h1 {font-size : 40px ; margin : 0 0 12px }
8288h2 {font-size : 32px ; margin : 0 0 14px }
89+
90+ /* Features & cards */
8391.features-grid {display : grid; grid-template-columns : repeat (auto-fit, minmax (240px , 1fr )); gap : 16px }
8492.feature {padding : 16px }
8593.cards {display : grid; grid-template-columns : repeat (auto-fit, minmax (230px , 1fr )); gap : 16px }
8694.card {padding : 18px }
8795.card .price {font-size : 22px ; font-weight : 900 }
8896
89- /* Articles list */
97+ /* Articles */
9098.articles {display : grid; grid-template-columns : repeat (auto-fit, minmax (280px , 1fr )); gap : 16px }
9199.post {padding : 16px }
92100.post h3 {margin : 0 0 6px }
@@ -105,18 +113,18 @@ h2{font-size:32px; margin:0 0 14px}
105113 .nav-links .open {display : flex}
106114}
107115
108- /* Light theme */
116+ /* Light theme (kept, but tuned for luxury) */
109117: root .light {
110- --bg : # f7f9fc ; --ink : # 0d1117 ; --muted : # 485565 ; --glass : # ffffff ; --stroke : rgba (0 , 0 , 0 , .08 );
111- --link : # 0b7d76 ; --link-visited : # 0a5e9c ;
118+ --bg : # faf8f2 ; --ink : # 14120e ; --muted : # 5a5346 ; --glass : # ffffff ; --stroke : rgba (0 , 0 , 0 , .10 );
119+ --link : # 916c16 ; --link-visited : # 6d5524 ;
112120 background : none;
113121}
114122: root .light body {background : var (--bg )}
115- : root .light .nav {background : rgba (255 , 255 , 255 , .85 ); border-bottom-color : var (--stroke )}
123+ : root .light .nav {background : rgba (255 , 255 , 255 , .9 ); border-bottom-color : var (--stroke )}
116124: root .light .nav-links a {color : var (--muted )}
117125: root .light .nav-links a : hover , : root .light .nav-links a [aria-current = "page" ]{color : var (--ink )}
118126: root .light .icon-btn {color : var (--ink ); border-color : var (--stroke )}
119- : root .light .cta {background : linear-gradient (180deg , # ffffff, # f2f5f9 ); color : # 0d1117 ; border-color : var (--stroke )}
120- : root .light .cta .ghost {background : transparent; color : # 0d1117 ; border-color : var (--stroke )}
121- : root .light .glass {background : rgba (255 , 255 , 255 , .7 ); box-shadow : 0 8px 24px rgba (0 , 0 , 0 , .08 )}
122- : root .light .grad {background : linear-gradient (90deg , # 0d1117 0% , # 0d1117 35 % , # 1c8f87 65 % ); -webkit-background-clip : text; background-clip : text; color : transparent}
127+ : root .light .cta {background : linear-gradient (180deg , # ffffff, # f2efe9 ); color : # 14120e ; border-color : var (--stroke )}
128+ : root .light .cta .ghost {background : transparent; color : # 14120e ; border-color : var (--stroke )}
129+ : root .light .glass {background : rgba (255 , 255 , 255 , .75 ); box-shadow : 0 8px 24px rgba (0 , 0 , 0 , .10 )}
130+ : root .light .grad {background : linear-gradient (90deg , # 14120e 0% , # 14120e 40 % , # b88a2a 80 % ); -webkit-background-clip : text; background-clip : text; color : transparent}
0 commit comments