| ... |
... |
@@ -1,213 +1,113 @@ |
| 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 |
|
- |
| 15 |
|
-/* Base */ |
| 16 |
|
-* { box-sizing: border-box; } |
| 17 |
|
-html, body { |
| 18 |
|
- margin: 0; |
| 19 |
|
- padding: 0; |
| 20 |
|
- background: @bg; |
| 21 |
|
- color: @text; |
| 22 |
|
- font: 16px/1.6 Inter, Segoe UI, Roboto, system-ui, -apple-system, Arial, sans-serif; |
|
1 |
+/* ============================ |
|
2 |
+ Agnease – UI polish pack |
|
3 |
+ (scoped to #contentcontainer) |
|
4 |
+ ============================ */ |
|
5 |
+#contentcontainer{ |
|
6 |
+ --brand:#00937D; |
|
7 |
+ --brand-strong:#007B6A; |
|
8 |
+ --text:#2D3A34; |
|
9 |
+ --muted:#5B6B64; |
|
10 |
+ --panel:#F7F9F8; |
|
11 |
+ --line:#E4ECE9; |
|
12 |
+ --radius:14px; |
|
13 |
+ --radius-sm:10px; |
|
14 |
+ --shadow-sm:0 4px 16px rgba(0,0,0,.05); |
|
15 |
+ --shadow:0 10px 32px rgba(0,0,0,.08); |
| 23 |
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 |
|
-} |
| 29 |
29 |
|
| 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; } |
|
18 |
+/* 1) Typographic rhythm */ |
|
19 |
+#contentcontainer h1{font-size:clamp(1.6rem,2.2vw + .8rem,2.4rem);line-height:1.15;margin:.3rem 0 .4rem} |
|
20 |
+#contentcontainer h2{font-size:clamp(1.3rem,1.2vw + .8rem,1.8rem);line-height:1.2;margin:.2rem 0 .35rem} |
|
21 |
+#contentcontainer h3{font-size:1.08rem;margin:.2rem 0 .2rem} |
|
22 |
+#contentcontainer p{margin:.35rem 0 .9rem;color:var(--text)} |
|
23 |
+#contentcontainer .lead{color:var(--muted);max-width:72ch} |
| 37 |
37 |
|
| 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; |
|
25 |
+/* 2) Section spacing + subtle separators */ |
|
26 |
+#contentcontainer section{padding:2.2rem 0;border-top:1px solid var(--line)} |
|
27 |
+#contentcontainer section:first-child{border-top:none;padding-top:1.6rem} |
| 43 |
43 |
|
| 44 |
|
- &:focus-visible { outline: 3px solid @brand; outline-offset: 2px; } |
| 45 |
|
- |
| 46 |
|
- &-primary { |
| 47 |
|
- background: @brand; color: #fff; |
| 48 |
|
- &:hover { background: @brand-strong; color: #fff; } |
| 49 |
|
- &:focus { color: #fff; } |
| 50 |
|
- } |
| 51 |
|
- |
| 52 |
|
- &-ghost { |
| 53 |
|
- background: #fff; color: @brand; border-color: @brand; |
| 54 |
|
- &:hover { color: @brand-strong; border-color: @brand-strong; } |
| 55 |
|
- } |
|
29 |
+/* 3) Eyebrow + links */ |
|
30 |
+#contentcontainer .eyebrow{ |
|
31 |
+ display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.14em; |
|
32 |
+ text-transform:uppercase;color:var(--brand);margin:0 0 .35rem |
| 56 |
56 |
} |
|
34 |
+#contentcontainer a{color:var(--brand);text-decoration:none} |
|
35 |
+#contentcontainer a:hover{color:var(--brand-strong);text-decoration:underline} |
| 57 |
57 |
|
| 58 |
|
-/* Sections */ |
| 59 |
|
-section { |
| 60 |
|
- padding: 0 0 68px; |
| 61 |
|
- border-top: 1px solid @line; |
| 62 |
|
- |
| 63 |
|
- &:first-of-type { border-top: none; } |
|
37 |
+/* 4) Grids */ |
|
38 |
+#contentcontainer .pillars, |
|
39 |
+#contentcontainer .services-grid, |
|
40 |
+#contentcontainer .cards, |
|
41 |
+#contentcontainer .process-steps{display:grid;gap:1rem} |
|
42 |
+#contentcontainer .pillars{grid-template-columns:1fr} |
|
43 |
+#contentcontainer .services-grid{grid-template-columns:1fr} |
|
44 |
+@media (min-width:780px){ |
|
45 |
+ #contentcontainer .pillars{grid-template-columns:repeat(3,1fr)} |
|
46 |
+ #contentcontainer .services-grid{grid-template-columns:repeat(3,1fr)} |
| 64 |
64 |
} |
| 65 |
65 |
|
| 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%); |
|
49 |
+/* 5) Cards / articles */ |
|
50 |
+#contentcontainer .pillars > article, |
|
51 |
+#contentcontainer .services-grid > article, |
|
52 |
+#contentcontainer .card{ |
|
53 |
+ background:#fff;border:1px solid var(--line);border-radius:var(--radius); |
|
54 |
+ padding:1rem 1.1rem;box-shadow:var(--shadow-sm);transition:transform .18s ease, box-shadow .18s ease |
| 71 |
71 |
} |
| 72 |
|
- |
| 73 |
|
-.hero-top { |
| 74 |
|
- display: grid; gap: 22px; grid-template-columns: 1fr; |
| 75 |
|
- |
| 76 |
|
- @media (min-width: 860px) { |
| 77 |
|
- grid-template-columns: 1.05fr .95fr; |
| 78 |
|
- } |
|
56 |
+#contentcontainer .services-grid > article:hover, |
|
57 |
+#contentcontainer .pillars > article:hover{ |
|
58 |
+ transform:translateY(-2px);box-shadow:var(--shadow) |
| 79 |
79 |
} |
|
60 |
+#contentcontainer .services-grid h3, |
|
61 |
+#contentcontainer .pillars h3{font-weight:700} |
|
62 |
+#contentcontainer .services-grid p, |
|
63 |
+#contentcontainer .pillars p{color:var(--muted);margin:0} |
| 80 |
80 |
|
| 81 |
|
-.chip { |
| 82 |
|
- display: inline-block; background: @panel; border: 1px solid @line; |
| 83 |
|
- padding: .35rem .65rem; border-radius: 999px; font-size: .82rem; color: @text; |
|
65 |
+/* 6) Lists inside cards */ |
|
66 |
+#contentcontainer .services-grid ul{margin:.6rem 0 0;padding-left:1.15rem;color:var(--muted)} |
|
67 |
+#contentcontainer .services-grid li{margin:.15rem 0} |
|
68 |
+#contentcontainer .benefits, |
|
69 |
+#contentcontainer .highlights{display:flex;flex-wrap:wrap;gap:.55rem 1rem;padding-left:0;list-style:none;color:var(--muted)} |
|
70 |
+#contentcontainer .highlights li{ |
|
71 |
+ background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-sm);padding:.55rem .8rem |
| 84 |
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; } |
| 88 |
88 |
|
| 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 */ |
| 95 |
|
- } |
|
74 |
+/* 7) CTA buttons (if used inside this container) */ |
|
75 |
+#contentcontainer .btn{ |
|
76 |
+ display:inline-flex;align-items:center;gap:.55rem; |
|
77 |
+ padding:.78rem 1rem;border-radius:12px;font-weight:650;letter-spacing:.2px; |
|
78 |
+ border:2px solid transparent;box-shadow:var(--shadow-sm);cursor:pointer |
| 96 |
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; |
|
80 |
+#contentcontainer .btn-primary{background:var(--brand);color:#fff} |
|
81 |
+#contentcontainer .btn-primary:hover{background:var(--brand-strong)} |
|
82 |
+#contentcontainer .btn-ghost{background:#fff;color:var(--brand);border-color:var(--brand)} |
|
83 |
+#contentcontainer .btn-ghost:hover{color:var(--brand-strong);border-color:var(--brand-strong)} |
|
84 |
+#contentcontainer .btn:focus-visible{outline:3px solid var(--brand);outline-offset:2px} |
| 101 |
101 |
|
| 102 |
|
- h3 { margin: .1rem 0 .15rem; font-size: 1rem; } |
| 103 |
|
- p { margin: 0; color: @muted; } |
| 104 |
|
- |
| 105 |
|
- .icon { |
| 106 |
|
- width: 38px; height: 38px; border-radius: 10px; |
| 107 |
|
- background: @panel; border: 1px solid @line; display: grid; place-items: center; |
| 108 |
|
- } |
|
86 |
+/* 8) Process steps */ |
|
87 |
+#contentcontainer .process-steps{list-style:none;padding:0;grid-template-columns:1fr} |
|
88 |
+@media (min-width:780px){#contentcontainer .process-steps{grid-template-columns:repeat(3,1fr)}} |
|
89 |
+#contentcontainer .process-steps > li{ |
|
90 |
+ background:#fff;border:1px solid var(--line);border-radius:var(--radius); |
|
91 |
+ padding:1rem 1.1rem;box-shadow:var(--shadow-sm) |
| 109 |
109 |
} |
| 110 |
110 |
|
| 111 |
|
-/* Services grid + cards */ |
| 112 |
|
-.services { |
| 113 |
|
- display: grid; gap: 16px; grid-template-columns: 1fr; |
|
94 |
+/* 9) Details/FAQ */ |
|
95 |
+#contentcontainer details{border:1px solid var(--line);border-radius:var(--radius-sm);padding:.75rem .9rem;background:#fff;margin:.6rem 0} |
|
96 |
+#contentcontainer details summary{cursor:pointer;font-weight:650} |
|
97 |
+#contentcontainer details[open]{box-shadow:var(--shadow-sm)} |
| 114 |
114 |
|
| 115 |
|
- @media (min-width: 920px) { |
| 116 |
|
- grid-template-columns: repeat(3, 1fr); |
| 117 |
|
- } |
|
99 |
+/* 10) Forms (contact) */ |
|
100 |
+#contentcontainer .contact-form .form-row{display:grid;gap:.4rem;margin-bottom:.9rem} |
|
101 |
+#contentcontainer .contact-form label{font-weight:600} |
|
102 |
+#contentcontainer .contact-form input, |
|
103 |
+#contentcontainer .contact-form textarea{ |
|
104 |
+ width:100%;padding:.75rem .9rem;border:1px solid var(--line);border-radius:var(--radius-sm); |
|
105 |
+ color:var(--text);background:#fff;font:inherit |
| 118 |
118 |
} |
|
107 |
+#contentcontainer .contact-form input:focus, |
|
108 |
+#contentcontainer .contact-form textarea:focus{outline:3px solid var(--brand);outline-offset:2px} |
| 119 |
119 |
|
| 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; |
|
110 |
+/* 11) Small niceties */ |
|
111 |
+#contentcontainer .cta-line{margin-top:.8rem} |
|
112 |
+#contentcontainer .service-summary{padding-left:1.1rem;color:var(--muted)} |
| 123 |
123 |
|
| 124 |
|
- &:hover { transform: translateY(-2px); box-shadow: @shadow; } |
| 125 |
|
- p { color: @muted; margin: 0; } |
| 126 |
|
- |
| 127 |
|
- details { |
| 128 |
|
- margin-top: .6rem; border-top: 1px dashed @line; padding-top: .6rem; |
| 129 |
|
- |
| 130 |
|
- summary { cursor: pointer; font-weight: 650; } |
| 131 |
|
- } |
| 132 |
|
-} |
| 133 |
|
- |
| 134 |
|
-/* Metrics */ |
| 135 |
|
-.metrics { |
| 136 |
|
- display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); |
| 137 |
|
- |
| 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; |
| 143 |
|
- |
| 144 |
|
- .num { font-size: 1.6rem; font-weight: 800; color: @brand; } |
| 145 |
|
- .label { color: @muted; font-size: .92rem; } |
| 146 |
|
-} |
| 147 |
|
- |
| 148 |
|
-/* Process */ |
| 149 |
|
-.steps { |
| 150 |
|
- display: grid; gap: 16px; grid-template-columns: 1fr; |
| 151 |
|
- |
| 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 |
|
-} |
| 157 |
|
- |
| 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; } |
| 166 |
|
- } |
| 167 |
|
-} |
| 168 |
|
- |
| 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; |
| 199 |
|
- } |
| 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; } |
| 203 |
|
- |
| 204 |
|
- .hero-cta { |
| 205 |
|
- display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-top: .5rem; |
| 206 |
|
- } |
| 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; } |
| 212 |
|
-} |
| 213 |
|
- |