| ... |
... |
@@ -1,249 +1,213 @@ |
| 1 |
|
-/* ========== Agnease Landing (LESS, scoped to .agnease-landing) ========== */ |
| 2 |
|
-@brand: #00937D; |
| 3 |
|
-@brand-strong: #007B6A; |
| 4 |
|
-@text: #2D3A34; |
| 5 |
|
-@muted: #5B6B64; |
| 6 |
|
-@bg: #FFFFFF; |
| 7 |
|
-@panel: #F7F9F8; |
| 8 |
|
-@line: #E4ECE9; |
| 9 |
|
-@radius: 16px; |
| 10 |
|
-@radius-sm: 12px; |
| 11 |
|
-@shadow-sm: 0 6px 20px rgba(0,0,0,.06); |
| 12 |
|
-@shadow: 0 12px 36px rgba(0,0,0,.08); |
| 13 |
|
-@maxw: 1140px; |
|
1 |
+/* ========= Agnease Landing (LESS version) ========= */ |
|
2 |
+@brand: #00937D; // primary (AA vs white) |
|
3 |
+@brand-strong: #007B6A; // hover/active |
|
4 |
+@text: #2D3A34; // body text (AAA on white) |
|
5 |
+@muted: #5B6B64; // secondary |
|
6 |
+@bg: #FFFFFF; |
|
7 |
+@panel: #F7F9F8; |
|
8 |
+@line: #E4ECE9; |
|
9 |
+@radius: 16px; |
|
10 |
+@radius-sm: 12px; |
|
11 |
+@shadow-sm: 0 6px 20px rgba(0,0,0,.06); |
|
12 |
+@shadow: 0 12px 36px rgba(0,0,0,.08); |
|
13 |
+@maxw: 1140px; |
| 14 |
14 |
|
| 15 |
|
-.agnease-landing { |
| 16 |
|
- /* Base */ |
|
15 |
+/* Base */ |
|
16 |
+* { box-sizing: border-box; } |
|
17 |
+html, body { |
|
18 |
+ margin: 0; |
|
19 |
+ padding: 0; |
|
20 |
+ background: @bg; |
| 17 |
17 |
color: @text; |
| 18 |
18 |
font: 16px/1.6 Inter, Segoe UI, Roboto, system-ui, -apple-system, Arial, sans-serif; |
| 19 |
|
- a { color: @brand; text-decoration: none; &:hover { color: @brand-strong; text-decoration: underline; } } |
| 20 |
|
- img { max-width: 100%; display: block; } |
| 21 |
|
- h1 { font-size: clamp(1.8rem, 2.5vw + .8rem, 3rem); line-height: 1.15; margin: .2rem 0 .6rem; } |
| 22 |
|
- h2 { font-size: clamp(1.4rem, 1.4vw + .8rem, 2rem); line-height: 1.2; margin: .2rem 0 .4rem; } |
| 23 |
|
- h3 { font-size: 1.12rem; margin: .2rem 0 .25rem; } |
| 24 |
|
- .lead { color: @muted; max-width: 72ch; } |
| 25 |
|
- .container { max-width: @maxw; margin-top: 5px; padding: 0;} |
|
23 |
+} |
|
24 |
+img { max-width: 100%; display: block; } |
|
25 |
+a { |
|
26 |
+ color: @brand; text-decoration: none; |
|
27 |
+ &:hover { color: @brand-strong; text-decoration: underline; } |
|
28 |
+} |
| 26 |
26 |
|
| 27 |
|
- /* Global sections */ |
| 28 |
|
- section { padding: 32px 0; border-top: 1px solid @line; } |
| 29 |
|
- section:first-of-type { border-top: none; } |
|
30 |
+/* Layout helpers */ |
|
31 |
+.agnease-landing { isolation: isolate; } |
|
32 |
+.container { max-width: @maxw; margin: auto; padding: 0 20px; } |
|
33 |
+h1 { font-size: clamp(1.8rem, 2.5vw + .8rem, 3rem); line-height: 1.15; margin: .2rem 0 .6rem; } |
|
34 |
+h2 { font-size: clamp(1.4rem, 1.4vw + .8rem, 2rem); line-height: 1.2; margin: .2rem 0 .4rem; } |
|
35 |
+h3 { font-size: 1.12rem; margin: .2rem 0 .25rem; } |
|
36 |
+.lead { color: @muted; max-width: 72ch; } |
| 30 |
30 |
|
| 31 |
|
- /* Buttons */ |
| 32 |
|
- .btn { |
| 33 |
|
- display: inline-flex; align-items: center; gap: .55rem; |
| 34 |
|
- padding: .85rem 1.1rem; border-radius: 12px; border: 2px solid transparent; |
| 35 |
|
- font-weight: 650; letter-spacing: .2px; cursor: pointer; box-shadow: @shadow-sm; |
|
38 |
+/* Buttons */ |
|
39 |
+.btn { |
|
40 |
+ display: inline-flex; align-items: center; gap: .55rem; |
|
41 |
+ padding: .85rem 1.1rem; border-radius: 12px; border: 2px solid transparent; |
|
42 |
+ font-weight: 650; letter-spacing: .2px; cursor: pointer; box-shadow: @shadow-sm; |
| 36 |
36 |
|
| 37 |
|
- &:focus-visible { outline: 3px solid @brand; outline-offset: 2px; } |
|
44 |
+ &:focus-visible { outline: 3px solid @brand; outline-offset: 2px; } |
| 38 |
38 |
|
| 39 |
|
- &-primary { |
| 40 |
|
- background: @brand; color: #fff; |
| 41 |
|
- &:hover, &:focus { background: @brand-strong; color: #fff; } |
| 42 |
|
- } |
| 43 |
|
- &-ghost { |
| 44 |
|
- background: #fff; color: @brand; border-color: @brand; |
| 45 |
|
- &:hover { color: @brand-strong; border-color: @brand-strong; } |
| 46 |
|
- } |
|
46 |
+ &-primary { |
|
47 |
+ background: @brand; color: #fff; |
|
48 |
+ &:hover { background: @brand-strong; color: #fff; } |
|
49 |
+ &:focus { color: #fff; } |
| 47 |
47 |
} |
| 48 |
48 |
|
| 49 |
|
- /* HERO (centered) */ |
| 50 |
|
- .hero { |
| 51 |
|
- &.hero-centered { |
| 52 |
|
- text-align: center; |
| 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 */ |
|
52 |
+ &-ghost { |
|
53 |
+ background: #fff; color: @brand; border-color: @brand; |
|
54 |
+ &:hover { color: @brand-strong; border-color: @brand-strong; } |
|
55 |
+ } |
|
56 |
+} |
| 61 |
61 |
|
| 62 |
|
- .hero-inner { |
| 63 |
|
- /*max-width: 760px;*/ |
| 64 |
|
- margin: auto; |
| 65 |
|
- display: flex; |
| 66 |
|
- flex-direction: column; |
| 67 |
|
- align-items: center; |
| 68 |
|
- gap: 1rem; |
| 69 |
|
- } |
|
58 |
+/* Sections */ |
|
59 |
+section { |
|
60 |
+ padding: 0 0 68px; |
|
61 |
+ border-top: 1px solid @line; |
| 70 |
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 |
|
- } |
|
63 |
+ &:first-of-type { border-top: none; } |
|
64 |
+} |
| 76 |
76 |
|
| 77 |
|
- .lead { |
| 78 |
|
- color: @muted; |
| 79 |
|
- /*max-width: 68ch;*/ |
| 80 |
|
- margin: 0 auto 0.9rem; |
| 81 |
|
- } |
|
66 |
+/* Hero */ |
|
67 |
+.hero { |
|
68 |
+ background: |
|
69 |
+ radial-gradient(60rem 22rem at 15% -10%, #E7FFF8 0%, transparent 60%), |
|
70 |
+ radial-gradient(60rem 22rem at 85% -20%, #E9F6F2 0%, transparent 60%); |
|
71 |
+} |
| 82 |
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 |
|
- } |
|
73 |
+.hero-top { |
|
74 |
+ display: grid; gap: 22px; grid-template-columns: 1fr; |
| 90 |
90 |
|
| 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: 14px; |
| 101 |
|
- li + li::before { |
| 102 |
|
- content: "•"; |
| 103 |
|
- } |
| 104 |
|
- } |
| 105 |
|
- } |
|
76 |
+ @media (min-width: 860px) { |
|
77 |
+ grid-template-columns: 1.05fr .95fr; |
| 106 |
106 |
} |
|
79 |
+} |
| 107 |
107 |
|
| 108 |
|
- /* === WHY CHOOSE (widgets with inline icon + title) === */ |
| 109 |
|
- .widgets { |
| 110 |
|
- display: grid; |
| 111 |
|
- gap: 16px; |
| 112 |
|
- grid-template-columns: 1fr; |
|
81 |
+.chip { |
|
82 |
+ display: inline-block; background: @panel; border: 1px solid @line; |
|
83 |
+ padding: .35rem .65rem; border-radius: 999px; font-size: .82rem; color: @text; |
|
84 |
+} |
|
85 |
+.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; } |
|
86 |
+.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; } |
|
87 |
+.hero-card { background: #fff; border: 1px solid @line; border-radius: @radius; padding: 18px; box-shadow: @shadow; } |
| 113 |
113 |
|
| 114 |
|
- @media (min-width: 860px) { |
| 115 |
|
- grid-template-columns: repeat(4, 1fr); |
| 116 |
|
- } |
|
89 |
+/* Assurance widgets (generic widget styles) */ |
|
90 |
+.widgets { |
|
91 |
+ display: grid; gap: 12px; grid-template-columns: 1fr; align-content: start; |
|
92 |
+ |
|
93 |
+ @media (min-width: 860px) { |
|
94 |
+ &--wide { grid-template-columns: repeat(4, 1fr); } /* optional modifier */ |
| 117 |
117 |
} |
|
96 |
+} |
|
97 |
+.widget { |
|
98 |
+ display: grid; grid-template-columns: auto 1fr; gap: 10px; |
|
99 |
+ background: #fff; border: 1px solid @line; border-radius: @radius; |
|
100 |
+ padding: 14px; box-shadow: @shadow-sm; |
| 118 |
118 |
|
| 119 |
|
- .widget { |
| 120 |
|
- background: #fff; |
| 121 |
|
- border: 1px solid @line; |
| 122 |
|
- border-radius: @radius; |
| 123 |
|
- padding: 18px; |
| 124 |
|
- box-shadow: @shadow-sm; |
| 125 |
|
- display: flex; |
| 126 |
|
- flex-direction: column; |
| 127 |
|
- justify-content: flex-start; |
| 128 |
|
- gap: 8px; |
| 129 |
|
- text-align: left; |
| 130 |
|
- transition: transform 0.18s ease, box-shadow 0.18s ease; |
|
102 |
+ h3 { margin: .1rem 0 .15rem; font-size: 1rem; } |
|
103 |
+ p { margin: 0; color: @muted; } |
| 131 |
131 |
|
| 132 |
|
- &:hover { |
| 133 |
|
- transform: translateY(-2px); |
| 134 |
|
- box-shadow: @shadow; |
| 135 |
|
- } |
|
105 |
+ .icon { |
|
106 |
+ width: 38px; height: 38px; border-radius: 10px; |
|
107 |
+ background: @panel; border: 1px solid @line; display: grid; place-items: center; |
|
108 |
+ } |
|
109 |
+} |
| 136 |
136 |
|
| 137 |
|
- /* The icon + title row */ |
| 138 |
|
- .icon { |
| 139 |
|
- display: flex; |
| 140 |
|
- align-items: center; |
| 141 |
|
- gap: 10px; |
| 142 |
|
- padding: 6px 0; |
| 143 |
|
- border-bottom: 1px solid fade(@line, 60%); |
| 144 |
|
- margin-bottom: 6px; |
|
111 |
+/* Services grid + cards */ |
|
112 |
+.services { |
|
113 |
+ display: grid; gap: 16px; grid-template-columns: 1fr; |
| 145 |
145 |
|
| 146 |
|
- svg { |
| 147 |
|
- width: 24px; |
| 148 |
|
- height: 24px; |
| 149 |
|
- flex-shrink: 0; |
| 150 |
|
- stroke: @text; |
| 151 |
|
- } |
|
115 |
+ @media (min-width: 920px) { |
|
116 |
+ grid-template-columns: repeat(3, 1fr); |
|
117 |
+ } |
|
118 |
+} |
| 152 |
152 |
|
| 153 |
|
- h3 { |
| 154 |
|
- font-size: 1.05rem; |
| 155 |
|
- font-weight: 700; |
| 156 |
|
- margin: 0; |
| 157 |
|
- color: @text; |
| 158 |
|
- line-height: 1.2; |
| 159 |
|
- } |
| 160 |
|
- } |
|
120 |
+.card { |
|
121 |
+ background: #fff; border: 1px solid @line; border-radius: @radius; |
|
122 |
+ padding: 18px; box-shadow: @shadow-sm; transition: transform .18s ease, box-shadow .18s ease; |
| 161 |
161 |
|
| 162 |
|
- /* Body paragraph */ |
| 163 |
|
- p { |
| 164 |
|
- color: @muted; |
| 165 |
|
- margin: 0; |
| 166 |
|
- line-height: 1.45; |
| 167 |
|
- } |
| 168 |
|
- } |
|
124 |
+ &:hover { transform: translateY(-2px); box-shadow: @shadow; } |
|
125 |
+ p { color: @muted; margin: 0; } |
| 169 |
169 |
|
| 170 |
|
- /* SERVICES */ |
| 171 |
|
- .services { |
| 172 |
|
- display: grid; gap: 16px; grid-template-columns: 1fr; |
| 173 |
|
- @media (min-width: 920px) { grid-template-columns: repeat(3, 1fr); } |
| 174 |
|
- } |
| 175 |
|
- .card { |
| 176 |
|
- background: #fff; border: 1px solid @line; border-radius: @radius; |
| 177 |
|
- padding: 18px; box-shadow: @shadow-sm; transition: transform .18s ease, box-shadow .18s ease; |
|
127 |
+ details { |
|
128 |
+ margin-top: .6rem; border-top: 1px dashed @line; padding-top: .6rem; |
| 178 |
178 |
|
| 179 |
|
- &:hover { transform: translateY(-2px); box-shadow: @shadow; } |
| 180 |
|
- p { color: @muted; margin: 0; } |
| 181 |
|
- details { |
| 182 |
|
- margin-top: .6rem; border-top: 1px dashed @line; padding-top: .6rem; |
| 183 |
|
- summary { cursor: pointer; font-weight: 650; } |
| 184 |
|
- } |
|
130 |
+ summary { cursor: pointer; font-weight: 650; } |
| 185 |
185 |
} |
|
132 |
+} |
| 186 |
186 |
|
| 187 |
|
- /* METRICS */ |
| 188 |
|
- .metrics { |
| 189 |
|
- display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); |
| 190 |
|
- @media (min-width: 720px) { grid-template-columns: repeat(4, 1fr); } |
| 191 |
|
- .metric { |
| 192 |
|
- background: #fff; border: 1px solid @line; border-radius: 14px; padding: 16px; text-align: center; box-shadow: @shadow-sm; |
| 193 |
|
- .num { font-size: 1.6rem; font-weight: 800; color: @brand; } |
| 194 |
|
- .label { color: @muted; font-size: .92rem; } |
| 195 |
|
- } |
| 196 |
|
- } |
|
134 |
+/* Metrics */ |
|
135 |
+.metrics { |
|
136 |
+ display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); |
| 197 |
197 |
|
| 198 |
|
- /* PROCESS */ |
| 199 |
|
- .steps { |
| 200 |
|
- display: grid; gap: 16px; grid-template-columns: 1fr; |
| 201 |
|
- @media (min-width: 860px) { grid-template-columns: repeat(3, 1fr); } |
| 202 |
|
- .step { |
| 203 |
|
- background: #fff; border: 1px solid @line; border-radius: @radius; padding: 18px; box-shadow: @shadow-sm; |
| 204 |
|
- } |
| 205 |
|
- } |
|
138 |
+ @media (min-width: 720px) { grid-template-columns: repeat(4, 1fr); } |
|
139 |
+} |
|
140 |
+.metric { |
|
141 |
+ background: #fff; border: 1px solid @line; border-radius: 14px; padding: 16px; |
|
142 |
+ text-align: center; box-shadow: @shadow-sm; |
| 206 |
206 |
|
| 207 |
|
- /* FAQ */ |
| 208 |
|
- .faq { |
| 209 |
|
- details { |
| 210 |
|
- border: 1px solid @line; border-radius: @radius-sm; padding: .75rem .9rem; background: #fff; margin: .6rem 0; |
| 211 |
|
- summary { cursor: pointer; font-weight: 650; } |
| 212 |
|
- &[open] { box-shadow: @shadow-sm; } |
| 213 |
|
- } |
| 214 |
|
- } |
|
144 |
+ .num { font-size: 1.6rem; font-weight: 800; color: @brand; } |
|
145 |
+ .label { color: @muted; font-size: .92rem; } |
|
146 |
+} |
| 215 |
215 |
|
| 216 |
|
- /* CTA BAND */ |
| 217 |
|
- #contact { |
| 218 |
|
- .cta-band { |
| 219 |
|
- background: #fff; border: 1px solid @line; border-radius: @radius; |
| 220 |
|
- padding: 20px; box-shadow: @shadow; |
| 221 |
|
- display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; |
| 222 |
|
- } |
| 223 |
|
- } |
|
148 |
+/* Process */ |
|
149 |
+.steps { |
|
150 |
+ display: grid; gap: 16px; grid-template-columns: 1fr; |
| 224 |
224 |
|
| 225 |
|
- /* ===== Prevent horizontal overflow ===== */ |
| 226 |
|
- html, body { |
| 227 |
|
- overflow-x: hidden; |
| 228 |
|
- } |
|
152 |
+ @media (min-width: 860px) { grid-template-columns: repeat(3, 1fr); } |
|
153 |
+} |
|
154 |
+.step { |
|
155 |
+ background: #fff; border: 1px solid @line; border-radius: @radius; padding: 18px; box-shadow: @shadow-sm; |
|
156 |
+} |
| 229 |
229 |
|
| 230 |
|
- /* Ensure hero gradients don't bleed */ |
| 231 |
|
- .hero { |
| 232 |
|
- overflow: hidden; /* contain background overflow */ |
| 233 |
|
- background-repeat: no-repeat; |
| 234 |
|
- background-attachment: scroll; |
|
158 |
+/* FAQ */ |
|
159 |
+.faq { |
|
160 |
+ details { |
|
161 |
+ border: 1px solid @line; border-radius: @radius-sm; padding: .75rem .9rem; |
|
162 |
+ background: #fff; margin: .6rem 0; |
|
163 |
+ |
|
164 |
+ summary { cursor: pointer; font-weight: 650; } |
|
165 |
+ &[open] { box-shadow: @shadow-sm; } |
| 235 |
235 |
} |
|
167 |
+} |
| 236 |
236 |
|
| 237 |
|
- /* Fix possible grid or card overshoot */ |
| 238 |
|
- .container { |
| 239 |
|
- max-width: 100%; |
| 240 |
|
- overflow-x: clip; /* hides subtle pixel overflow without scroll */ |
|
169 |
+/* CTA band */ |
|
170 |
+.cta-band { |
|
171 |
+ background: #fff; border: 1px solid @line; border-radius: @radius; |
|
172 |
+ padding: 20px; box-shadow: @shadow; |
|
173 |
+ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; |
|
174 |
+} |
|
175 |
+ |
|
176 |
+/* Keep primary CTA text white on hover/focus (explicit) */ |
|
177 |
+.btn-primary, |
|
178 |
+.btn-primary:hover, |
|
179 |
+.btn-primary:focus { color: #fff; } |
|
180 |
+ |
|
181 |
+/* Benefits (quick bullets) */ |
|
182 |
+.benefits { |
|
183 |
+ display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; |
|
184 |
+ margin: .8rem 0 0; padding: 0; list-style: none; color: @muted; font-size: .95rem; |
|
185 |
+} |
|
186 |
+ |
|
187 |
+/* Centered hero variant */ |
|
188 |
+.hero-centered { |
|
189 |
+ text-align: center; |
|
190 |
+ background: |
|
191 |
+ radial-gradient(60rem 24rem at 50% -20%, #E7FFF8 0%, transparent 60%), |
|
192 |
+ radial-gradient(60rem 24rem at 50% -10%, #E8F6F3 0%, transparent 60%); |
|
193 |
+ display: flex; align-items: center; justify-content: center; |
|
194 |
+ min-height: 70vh; |
|
195 |
+ |
|
196 |
+ .hero-inner { |
|
197 |
+ max-width: 780px; margin: auto; |
|
198 |
+ display: flex; flex-direction: column; align-items: center; gap: 1.2rem; |
| 241 |
241 |
} |
|
200 |
+ .hero-badges { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; } |
|
201 |
+ h1 { font-size: clamp(1.8rem, 2.5vw + .8rem, 3rem); line-height: 1.15; margin: .3rem 0 .4rem; } |
|
202 |
+ .lead { color: @muted; max-width: 70ch; margin: 0 auto 1.2rem; } |
| 242 |
242 |
|
| 243 |
|
- /* Safety for large paddings/margins that might extend */ |
| 244 |
|
- section, .widgets, .services, .metrics, .steps { |
| 245 |
|
- margin-left: auto; |
| 246 |
|
- margin-right: auto; |
|
204 |
+ .hero-cta { |
|
205 |
+ display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-top: .5rem; |
| 247 |
247 |
} |
|
207 |
+ |
|
208 |
+ /* reinforce button colors when used in hero */ |
|
209 |
+ .btn-primary, |
|
210 |
+ .btn-primary:hover, |
|
211 |
+ .btn-primary:focus { background: @brand; color: #fff !important; } |
| 248 |
248 |
} |
| 249 |
249 |
|