| ... |
... |
@@ -22,10 +22,10 @@ |
| 22 |
22 |
h2 { font-size: clamp(1.4rem, 1.4vw + .8rem, 2rem); line-height: 1.2; margin: .2rem 0 .4rem; } |
| 23 |
23 |
h3 { font-size: 1.12rem; margin: .2rem 0 .25rem; } |
| 24 |
24 |
.lead { color: @muted; max-width: 72ch; } |
| 25 |
|
- .container { max-width: @maxw; margin-top: 5px; padding: 0;} |
|
25 |
+ .container { max-width: @maxw; margin: 0 auto; padding: 0 20px; } |
| 26 |
26 |
|
| 27 |
27 |
/* Global sections */ |
| 28 |
|
- section { padding: 32px 0; border-top: 1px solid @line; } |
|
28 |
+ section { padding: 64px 0; border-top: 1px solid @line; } |
| 29 |
29 |
section:first-of-type { border-top: none; } |
| 30 |
30 |
|
| 31 |
31 |
/* Buttons */ |
| ... |
... |
@@ -51,117 +51,38 @@ |
| 51 |
51 |
&.hero-centered { |
| 52 |
52 |
text-align: center; |
| 53 |
53 |
background: |
| 54 |
|
- radial-gradient(50rem 18rem at 50% -10%, #E7FFF8 0%, transparent 60%), |
| 55 |
|
- radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); |
| 56 |
|
- display: flex; |
| 57 |
|
- align-items: center; |
| 58 |
|
- justify-content: center; |
| 59 |
|
- min-height: 350px; /* reduced height */ |
| 60 |
|
- /*padding: 48px 0; /* controlled vertical spacing */ |
|
54 |
+ radial-gradient(60rem 24rem at 50% -20%, #E7FFF8 0%, transparent 60%), |
|
55 |
+ radial-gradient(60rem 24rem at 50% -10%, #E8F6F3 0%, transparent 60%); |
|
56 |
+ display: flex; align-items: center; justify-content: center; |
|
57 |
+ min-height: 60vh; |
| 61 |
61 |
|
| 62 |
62 |
.hero-inner { |
| 63 |
|
- max-width: 760px; |
| 64 |
|
- margin: auto; |
| 65 |
|
- display: flex; |
| 66 |
|
- flex-direction: column; |
| 67 |
|
- align-items: center; |
| 68 |
|
- gap: 1rem; |
|
60 |
+ max-width: 780px; margin: auto; |
|
61 |
+ display: flex; flex-direction: column; align-items: center; gap: 1.2rem; |
| 69 |
69 |
} |
| 70 |
|
- |
| 71 |
|
- h1 { |
| 72 |
|
- font-size: clamp(1.9rem, 2.3vw + 1rem, 2.7rem); |
| 73 |
|
- line-height: 1.15; |
| 74 |
|
- margin: 0.4rem 0 0.5rem; |
| 75 |
|
- } |
| 76 |
|
- |
| 77 |
|
- .lead { |
| 78 |
|
- color: @muted; |
| 79 |
|
- max-width: 68ch; |
| 80 |
|
- margin: 0 auto 0.9rem; |
| 81 |
|
- } |
| 82 |
|
- |
| 83 |
|
- .hero-cta { |
| 84 |
|
- display: flex; |
| 85 |
|
- gap: 0.8rem; |
| 86 |
|
- flex-wrap: wrap; |
| 87 |
|
- justify-content: center; |
| 88 |
|
- margin-top: 0.3rem; |
| 89 |
|
- } |
| 90 |
|
- |
|
63 |
+ .hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-top: .5rem; } |
|
64 |
+ .lead { color: @muted; max-width: 70ch; margin: 0 auto 1.2rem; } |
| 91 |
91 |
.benefits { |
| 92 |
|
- display: flex; |
| 93 |
|
- flex-wrap: wrap; |
| 94 |
|
- justify-content: center; |
| 95 |
|
- gap: 0.6rem 1rem; |
| 96 |
|
- list-style: none; |
| 97 |
|
- padding: 0; |
| 98 |
|
- margin: 0.8rem 0 0; |
| 99 |
|
- color: @muted; |
| 100 |
|
- font-size: 0.95rem; |
|
66 |
+ display: flex; flex-wrap: wrap; justify-content: center; |
|
67 |
+ gap: .6rem 1.2rem; list-style: none; padding: 0; margin: .8rem 0 0; color: @muted; font-size: .95rem; |
| 101 |
101 |
} |
| 102 |
102 |
} |
| 103 |
103 |
} |
| 104 |
104 |
|
| 105 |
|
- /* === WHY CHOOSE (widgets with inline icon + title) === */ |
|
72 |
+ /* WHY CHOOSE (widgets) */ |
| 106 |
106 |
.widgets { |
| 107 |
|
- display: grid; |
| 108 |
|
- gap: 16px; |
| 109 |
|
- grid-template-columns: 1fr; |
| 110 |
|
- |
| 111 |
|
- @media (min-width: 860px) { |
| 112 |
|
- grid-template-columns: repeat(4, 1fr); |
| 113 |
|
- } |
|
74 |
+ display: grid; gap: 16px; grid-template-columns: 1fr; |
|
75 |
+ @media (min-width: 860px) { grid-template-columns: repeat(4, 1fr); } |
| 114 |
114 |
} |
| 115 |
|
- |
| 116 |
116 |
.widget { |
| 117 |
|
- background: #fff; |
| 118 |
|
- border: 1px solid @line; |
| 119 |
|
- border-radius: @radius; |
| 120 |
|
- padding: 18px; |
| 121 |
|
- box-shadow: @shadow-sm; |
| 122 |
|
- display: flex; |
| 123 |
|
- flex-direction: column; |
| 124 |
|
- justify-content: flex-start; |
| 125 |
|
- gap: 8px; |
| 126 |
|
- text-align: left; |
| 127 |
|
- transition: transform 0.18s ease, box-shadow 0.18s ease; |
|
78 |
+ background: #fff; border: 1px solid @line; border-radius: @radius; |
|
79 |
+ padding: 18px; box-shadow: @shadow-sm; display: grid; gap: 8px; align-content: start; |
| 128 |
128 |
|
| 129 |
|
- &:hover { |
| 130 |
|
- transform: translateY(-2px); |
| 131 |
|
- box-shadow: @shadow; |
| 132 |
|
- } |
| 133 |
|
- |
| 134 |
|
- /* The icon + title row */ |
| 135 |
135 |
.icon { |
| 136 |
|
- display: flex; |
| 137 |
|
- align-items: center; |
| 138 |
|
- gap: 10px; |
| 139 |
|
- padding: 6px 0; |
| 140 |
|
- border-bottom: 1px solid fade(@line, 60%); |
| 141 |
|
- margin-bottom: 6px; |
| 142 |
|
- |
| 143 |
|
- svg { |
| 144 |
|
- width: 24px; |
| 145 |
|
- height: 24px; |
| 146 |
|
- flex-shrink: 0; |
| 147 |
|
- stroke: @text; |
| 148 |
|
- } |
| 149 |
|
- |
| 150 |
|
- h3 { |
| 151 |
|
- font-size: 1.05rem; |
| 152 |
|
- font-weight: 700; |
| 153 |
|
- margin: 0; |
| 154 |
|
- color: @text; |
| 155 |
|
- line-height: 1.2; |
| 156 |
|
- } |
|
82 |
+ width: 38px; height: 38px; border-radius: 10px; |
|
83 |
+ background: @panel; border: 1px solid @line; display: grid; place-items: center; |
| 157 |
157 |
} |
| 158 |
|
- |
| 159 |
|
- /* Body paragraph */ |
| 160 |
|
- p { |
| 161 |
|
- color: @muted; |
| 162 |
|
- margin: 0; |
| 163 |
|
- line-height: 1.45; |
| 164 |
|
- } |
|
85 |
+ p { color: @muted; margin: 0; } |
| 165 |
165 |
} |
| 166 |
166 |
|
| 167 |
167 |
/* SERVICES */ |
| ... |
... |
@@ -218,62 +218,4 @@ |
| 218 |
218 |
display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; |
| 219 |
219 |
} |
| 220 |
220 |
} |
| 221 |
|
- |
| 222 |
|
- /* ===== Prevent horizontal overflow ===== */ |
| 223 |
|
- html, body { |
| 224 |
|
- overflow-x: hidden; |
| 225 |
|
- } |
| 226 |
|
- |
| 227 |
|
- /* Ensure hero gradients don't bleed */ |
| 228 |
|
- .hero { |
| 229 |
|
- overflow: hidden; /* contain background overflow */ |
| 230 |
|
- background-repeat: no-repeat; |
| 231 |
|
- background-attachment: scroll; |
| 232 |
|
- } |
| 233 |
|
- |
| 234 |
|
- /* Fix possible grid or card overshoot */ |
| 235 |
|
- .container { |
| 236 |
|
- max-width: 100%; |
| 237 |
|
- overflow-x: clip; /* hides subtle pixel overflow without scroll */ |
| 238 |
|
- } |
| 239 |
|
- |
| 240 |
|
- /* Safety for large paddings/margins that might extend */ |
| 241 |
|
- section, .widgets, .services, .metrics, .steps { |
| 242 |
|
- margin-left: auto; |
| 243 |
|
- margin-right: auto; |
| 244 |
|
- } |
| 245 |
245 |
} |
| 246 |
|
-/* === Page side shadows (for centered layout) === */ |
| 247 |
|
-body { |
| 248 |
|
- background: @bg; |
| 249 |
|
- position: relative; |
| 250 |
|
- |
| 251 |
|
- /* Left and right soft shadows */ |
| 252 |
|
- &::before, |
| 253 |
|
- &::after { |
| 254 |
|
- content: ""; |
| 255 |
|
- position: fixed; |
| 256 |
|
- top: 0; |
| 257 |
|
- bottom: 0; |
| 258 |
|
- width: 40px; /* width of fade */ |
| 259 |
|
- pointer-events: none; |
| 260 |
|
- z-index: 1; |
| 261 |
|
- } |
| 262 |
|
- |
| 263 |
|
- &::before { |
| 264 |
|
- left: 0; |
| 265 |
|
- background: linear-gradient(to right, rgba(0,0,0,0.06), transparent 70%); |
| 266 |
|
- } |
| 267 |
|
- |
| 268 |
|
- &::after { |
| 269 |
|
- right: 0; |
| 270 |
|
- background: linear-gradient(to left, rgba(0,0,0,0.06), transparent 70%); |
| 271 |
|
- } |
| 272 |
|
-} |
| 273 |
|
- |
| 274 |
|
-/* Ensure container content stays above the shadow fade */ |
| 275 |
|
-.agnease-landing { |
| 276 |
|
- position: relative; |
| 277 |
|
- z-index: 2; |
| 278 |
|
-} |
| 279 |
|
- |