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
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
}
|
| 17 |
|
| 18 |
.card {
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
}
|
|
|
|
| 1 |
+
:root {
|
| 2 |
+
--bg: #f4efe4;
|
| 3 |
+
--bg-strong: #e4f1e1;
|
| 4 |
+
--panel: rgba(255, 252, 245, 0.9);
|
| 5 |
+
--panel-strong: rgba(226, 243, 231, 0.92);
|
| 6 |
+
--ink: #173225;
|
| 7 |
+
--muted: #496457;
|
| 8 |
+
--line: rgba(23, 50, 37, 0.12);
|
| 9 |
+
--accent: #007a5a;
|
| 10 |
+
--accent-strong: #0d5f49;
|
| 11 |
+
--shadow: 0 24px 60px rgba(23, 50, 37, 0.12);
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
* {
|
| 15 |
+
box-sizing: border-box;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
body {
|
| 19 |
+
margin: 0;
|
| 20 |
+
min-height: 100vh;
|
| 21 |
+
font-family: "Noto Sans TC", "Source Sans 3", "Segoe UI", sans-serif;
|
| 22 |
+
color: var(--ink);
|
| 23 |
+
background:
|
| 24 |
+
radial-gradient(circle at top left, rgba(255, 214, 153, 0.5), transparent 28%),
|
| 25 |
+
radial-gradient(circle at top right, rgba(85, 160, 120, 0.28), transparent 30%),
|
| 26 |
+
linear-gradient(180deg, var(--bg) 0%, #f8f5ed 100%);
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
a {
|
| 30 |
+
color: var(--accent-strong);
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
code {
|
| 34 |
+
padding: 0.12rem 0.35rem;
|
| 35 |
+
border-radius: 0.4rem;
|
| 36 |
+
background: rgba(23, 50, 37, 0.08);
|
| 37 |
+
font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
|
| 38 |
+
font-size: 0.92em;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.page {
|
| 42 |
+
width: min(1120px, calc(100% - 32px));
|
| 43 |
+
margin: 0 auto;
|
| 44 |
+
padding: 40px 0 56px;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.hero,
|
| 48 |
+
.panel,
|
| 49 |
+
.footer-panel,
|
| 50 |
+
.metric {
|
| 51 |
+
border: 1px solid var(--line);
|
| 52 |
+
box-shadow: var(--shadow);
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
.hero {
|
| 56 |
+
padding: 36px;
|
| 57 |
+
border-radius: 28px;
|
| 58 |
+
background:
|
| 59 |
+
linear-gradient(135deg, rgba(255, 250, 240, 0.95), rgba(223, 241, 228, 0.92)),
|
| 60 |
+
var(--panel);
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.hero__eyebrow {
|
| 64 |
+
display: inline-block;
|
| 65 |
+
margin-bottom: 12px;
|
| 66 |
+
padding: 0.35rem 0.7rem;
|
| 67 |
+
border-radius: 999px;
|
| 68 |
+
background: rgba(0, 122, 90, 0.1);
|
| 69 |
+
color: var(--accent-strong);
|
| 70 |
+
font-size: 0.85rem;
|
| 71 |
+
font-weight: 700;
|
| 72 |
+
letter-spacing: 0.08em;
|
| 73 |
+
text-transform: uppercase;
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
.hero h1,
|
| 77 |
+
.panel h2,
|
| 78 |
+
.card h3,
|
| 79 |
+
.footer-panel h2 {
|
| 80 |
+
margin: 0;
|
| 81 |
+
font-family: "Noto Serif TC", "Iowan Old Style", serif;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
.hero h1 {
|
| 85 |
+
max-width: 14ch;
|
| 86 |
+
font-size: clamp(2.3rem, 5vw, 4.2rem);
|
| 87 |
+
line-height: 0.98;
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
.hero__lead {
|
| 91 |
+
max-width: 62ch;
|
| 92 |
+
margin: 18px 0 0;
|
| 93 |
+
font-size: 1.05rem;
|
| 94 |
+
line-height: 1.75;
|
| 95 |
+
color: var(--muted);
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
.hero__actions {
|
| 99 |
+
display: flex;
|
| 100 |
+
flex-wrap: wrap;
|
| 101 |
+
gap: 12px;
|
| 102 |
+
margin-top: 24px;
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
.hero__actions a {
|
| 106 |
+
display: inline-flex;
|
| 107 |
+
align-items: center;
|
| 108 |
+
justify-content: center;
|
| 109 |
+
min-height: 44px;
|
| 110 |
+
padding: 0 16px;
|
| 111 |
+
border-radius: 999px;
|
| 112 |
+
text-decoration: none;
|
| 113 |
+
font-weight: 700;
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
.hero__actions a:first-child {
|
| 117 |
+
background: var(--accent);
|
| 118 |
+
color: #fff;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
.hero__actions a:last-child {
|
| 122 |
+
border: 1px solid rgba(0, 122, 90, 0.22);
|
| 123 |
+
background: rgba(255, 255, 255, 0.5);
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
.grid {
|
| 127 |
+
display: grid;
|
| 128 |
+
gap: 18px;
|
| 129 |
+
margin-top: 18px;
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
+
.grid--two {
|
| 133 |
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
.panel,
|
| 137 |
+
.footer-panel {
|
| 138 |
+
padding: 24px;
|
| 139 |
+
border-radius: 24px;
|
| 140 |
+
background: var(--panel);
|
| 141 |
+
}
|
| 142 |
+
|
| 143 |
+
.panel--accent {
|
| 144 |
+
background: var(--panel-strong);
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
.panel h2,
|
| 148 |
+
.footer-panel h2 {
|
| 149 |
+
margin-bottom: 14px;
|
| 150 |
+
font-size: 1.45rem;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
.panel p,
|
| 154 |
+
.panel li,
|
| 155 |
+
.footer-panel p {
|
| 156 |
+
color: var(--muted);
|
| 157 |
+
line-height: 1.7;
|
| 158 |
+
}
|
| 159 |
+
|
| 160 |
+
.panel ul {
|
| 161 |
+
margin: 0;
|
| 162 |
+
padding-left: 1.15rem;
|
| 163 |
}
|
| 164 |
|
| 165 |
+
.metrics {
|
| 166 |
+
display: grid;
|
| 167 |
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
| 168 |
+
gap: 18px;
|
| 169 |
+
margin-top: 18px;
|
| 170 |
}
|
| 171 |
|
| 172 |
+
.metric {
|
| 173 |
+
padding: 20px;
|
| 174 |
+
border-radius: 22px;
|
| 175 |
+
background: rgba(255, 255, 255, 0.72);
|
| 176 |
+
}
|
| 177 |
+
|
| 178 |
+
.metric__value {
|
| 179 |
+
display: block;
|
| 180 |
+
font-family: "Noto Serif TC", "Iowan Old Style", serif;
|
| 181 |
+
font-size: 2rem;
|
| 182 |
+
font-weight: 700;
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
.metric__label {
|
| 186 |
+
display: block;
|
| 187 |
+
margin-top: 8px;
|
| 188 |
+
color: var(--muted);
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
+
.cards {
|
| 192 |
+
display: grid;
|
| 193 |
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
| 194 |
+
gap: 18px;
|
| 195 |
}
|
| 196 |
|
| 197 |
.card {
|
| 198 |
+
display: block;
|
| 199 |
+
padding: 20px;
|
| 200 |
+
border-radius: 22px;
|
| 201 |
+
background: rgba(255, 255, 255, 0.68);
|
| 202 |
+
border: 1px solid var(--line);
|
| 203 |
+
text-decoration: none;
|
| 204 |
+
color: inherit;
|
| 205 |
+
}
|
| 206 |
+
|
| 207 |
+
.card__tag {
|
| 208 |
+
display: inline-block;
|
| 209 |
+
margin-bottom: 10px;
|
| 210 |
+
color: var(--accent-strong);
|
| 211 |
+
font-size: 0.85rem;
|
| 212 |
+
font-weight: 700;
|
| 213 |
+
letter-spacing: 0.04em;
|
| 214 |
+
text-transform: uppercase;
|
| 215 |
+
}
|
| 216 |
+
|
| 217 |
+
.card p {
|
| 218 |
+
margin-bottom: 0;
|
| 219 |
}
|
| 220 |
|
| 221 |
+
@media (max-width: 900px) {
|
| 222 |
+
.grid--two,
|
| 223 |
+
.metrics,
|
| 224 |
+
.cards {
|
| 225 |
+
grid-template-columns: 1fr;
|
| 226 |
+
}
|
| 227 |
+
}
|
| 228 |
+
|
| 229 |
+
@media (max-width: 640px) {
|
| 230 |
+
.page {
|
| 231 |
+
width: min(100% - 20px, 1120px);
|
| 232 |
+
padding: 20px 0 32px;
|
| 233 |
+
}
|
| 234 |
+
|
| 235 |
+
.hero,
|
| 236 |
+
.panel,
|
| 237 |
+
.footer-panel,
|
| 238 |
+
.metric,
|
| 239 |
+
.card {
|
| 240 |
+
border-radius: 20px;
|
| 241 |
+
}
|
| 242 |
+
|
| 243 |
+
.hero {
|
| 244 |
+
padding: 24px;
|
| 245 |
+
}
|
| 246 |
}
|