Spaces:
Running
Running
File size: 3,909 Bytes
60e766b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | @tailwind base;
@tailwind components;
@tailwind utilities;
:root {
color-scheme: light;
--ink: #1f2a37;
--muted: #5b6473;
--surface: #fffef9;
--surface-strong: #ffffff;
--line: #d7dde8;
--accent: #0f766e;
--accent-2: #ea580c;
}
* {
box-sizing: border-box;
}
html,
body {
min-height: 100%;
}
body {
@apply antialiased;
color: var(--ink);
background: linear-gradient(160deg, #f5f2e9 0%, #f4efe4 45%, #f1ece1 100%);
font-family: var(--font-sans), sans-serif;
line-height: 1.5;
}
.ambient-bg {
position: fixed;
inset: 0;
pointer-events: none;
z-index: -1;
background:
radial-gradient(36rem 30rem at 10% -10%, rgb(14 116 144 / 0.17), transparent 70%),
radial-gradient(24rem 22rem at 90% 4%, rgb(234 88 12 / 0.14), transparent 70%),
radial-gradient(28rem 24rem at 50% 100%, rgb(15 118 110 / 0.1), transparent 70%);
}
.container-page {
@apply mx-auto w-full max-w-6xl px-4 md:px-6;
}
.brand-mark {
font-family: var(--font-display), serif;
letter-spacing: -0.02em;
}
.card {
@apply rounded-2xl border p-5 shadow-sm transition-all md:p-6;
border-color: color-mix(in oklab, var(--line) 84%, white);
background: linear-gradient(180deg, rgb(255 255 255 / 0.9), rgb(255 255 255 / 0.74));
backdrop-filter: blur(6px);
}
.card:hover {
box-shadow: 0 12px 28px -22px rgb(15 23 42 / 0.4);
}
.hero-panel {
@apply rounded-3xl border p-6 md:p-9;
border-color: rgb(255 255 255 / 0.8);
background:
linear-gradient(160deg, rgb(255 255 255 / 0.92) 0%, rgb(249 248 244 / 0.84) 58%, rgb(246 241 234 / 0.92) 100%);
box-shadow:
inset 0 1px 0 rgb(255 255 255 / 0.7),
0 22px 35px -30px rgb(30 41 59 / 0.45);
}
.section-title {
@apply text-lg font-semibold tracking-tight md:text-xl;
font-family: var(--font-display), serif;
}
.kicker {
@apply text-xs font-semibold uppercase tracking-[0.24em];
color: var(--muted);
}
.subtle {
color: var(--muted);
}
.btn {
@apply inline-flex items-center justify-center rounded-xl border px-3.5 py-2 text-sm font-medium transition duration-200;
border-color: color-mix(in oklab, var(--line) 86%, white);
background: rgb(255 255 255 / 0.86);
color: var(--ink);
}
.btn:hover {
transform: translateY(-1px);
box-shadow: 0 10px 22px -18px rgb(15 23 42 / 0.45);
}
.btn:disabled {
opacity: 0.6;
transform: none;
box-shadow: none;
}
.btn-primary {
border-color: color-mix(in oklab, var(--accent) 64%, var(--accent-2));
background: linear-gradient(135deg, var(--accent) 0%, color-mix(in oklab, var(--accent) 65%, var(--accent-2)) 100%);
color: white;
}
.btn-primary:hover {
filter: saturate(1.05) brightness(0.98);
}
.input {
@apply w-full rounded-xl border px-3 py-2.5 text-sm outline-none transition;
border-color: color-mix(in oklab, var(--line) 84%, white);
background: rgb(255 255 255 / 0.88);
}
.input:focus {
border-color: color-mix(in oklab, var(--accent) 70%, white);
box-shadow: 0 0 0 4px rgb(15 118 110 / 0.12);
}
textarea.input {
resize: vertical;
}
.badge {
@apply inline-flex items-center rounded-full border px-2.5 py-1 text-xs font-medium;
border-color: rgb(14 116 144 / 0.18);
background: rgb(14 116 144 / 0.08);
color: rgb(14 116 144 / 0.95);
}
.pill {
@apply inline-flex items-center rounded-full border px-2.5 py-1 text-xs font-medium;
border-color: color-mix(in oklab, var(--line) 80%, white);
background: rgb(255 255 255 / 0.8);
color: var(--muted);
}
.metric {
@apply rounded-xl border px-3 py-2 text-sm;
border-color: rgb(255 255 255 / 0.75);
background: rgb(255 255 255 / 0.55);
}
.reveal-up {
animation: revealUp 420ms ease-out both;
}
@keyframes revealUp {
from {
opacity: 0;
transform: translateY(12px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (prefers-reduced-motion: reduce) {
.btn,
.card,
.reveal-up {
transition: none;
animation: none;
}
}
|