File size: 10,466 Bytes
6db5454
 
 
 
48eafa7
178db06
48eafa7
6db5454
 
178db06
6db5454
 
48eafa7
 
178db06
 
 
48eafa7
178db06
48eafa7
178db06
6db5454
 
 
 
 
 
178db06
48eafa7
178db06
 
 
 
48eafa7
 
 
6db5454
 
178db06
48eafa7
 
 
 
 
 
178db06
 
 
6db5454
 
 
178db06
 
48eafa7
 
178db06
48eafa7
178db06
 
48eafa7
 
178db06
48eafa7
178db06
48eafa7
 
 
178db06
48eafa7
 
 
6db5454
 
178db06
6db5454
178db06
 
 
 
 
 
 
 
48eafa7
 
 
178db06
48eafa7
 
 
 
 
6db5454
 
 
48eafa7
178db06
48eafa7
6db5454
178db06
 
 
 
 
 
 
 
48eafa7
 
178db06
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48eafa7
 
178db06
 
6db5454
48eafa7
178db06
 
48eafa7
 
178db06
 
6db5454
 
 
 
48eafa7
 
178db06
48eafa7
 
178db06
 
6db5454
 
48eafa7
6db5454
48eafa7
 
 
178db06
6db5454
 
178db06
 
 
 
 
 
 
 
 
 
 
 
48eafa7
6db5454
 
48eafa7
178db06
6db5454
178db06
 
 
 
48eafa7
178db06
 
6db5454
 
178db06
48eafa7
178db06
6db5454
 
178db06
 
 
48eafa7
 
178db06
6db5454
48eafa7
178db06
48eafa7
 
6db5454
48eafa7
 
6db5454
48eafa7
 
6db5454
 
178db06
 
 
 
 
 
 
 
 
 
6db5454
 
178db06
 
 
 
 
 
 
 
 
 
 
a737f01
178db06
 
 
48eafa7
178db06
 
 
 
 
 
48eafa7
178db06
 
 
 
 
 
 
 
6db5454
 
 
48eafa7
 
 
6db5454
178db06
 
 
 
 
 
 
 
 
 
 
 
6db5454
178db06
 
 
 
 
 
 
 
6db5454
48eafa7
178db06
 
 
 
 
 
 
 
48eafa7
178db06
 
6db5454
178db06
 
 
 
 
 
 
48eafa7
178db06
 
48eafa7
178db06
48eafa7
178db06
 
 
 
 
 
 
 
48eafa7
 
178db06
48eafa7
 
 
 
 
 
 
178db06
 
6db5454
 
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
@tailwind base;
@tailwind components;
@tailwind utilities;

/* ───────────────────────────────────────────────────────────────
   Twilight Atelier β€” base canvas
   ─────────────────────────────────────────────────────────────── */
@layer base {
  :root {
    color-scheme: dark;
  }

  html,
  body {
    background: #06070a;
    color: #f5f3ec;
    font-family: var(--font-manrope), system-ui, -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
    font-feature-settings: "ss01", "cv11", "calt";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  body {
    /* Layered: deep canvas + warm aurora + subtle grain */
    background:
      radial-gradient(1100px 700px at 78% -10%, rgba(255, 181, 69, 0.12), transparent 65%),
      radial-gradient(900px 800px at 8% 110%, rgba(98, 70, 255, 0.10), transparent 60%),
      radial-gradient(1400px 900px at 50% 50%, rgba(20, 24, 40, 0.6), transparent 70%),
      #06070a;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
  }

  /* Subtle grain overlay (doesn't capture pointer events) */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1, 0 0 0 0 1, 0 0 0 0 1, 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.65;
    mix-blend-mode: overlay;
  }

  ::selection {
    background: rgba(255, 181, 69, 0.32);
    color: #fff8e7;
  }

  /* Custom scrollbar β€” barely there */
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  ::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    border: 2px solid transparent;
    background-clip: content-box;
  }
  ::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.16);
  }
  ::-webkit-scrollbar-track {
    background: transparent;
  }

  /* Focus ring β€” luminous amber */
  :focus-visible {
    outline: 2px solid rgba(255, 181, 69, 0.75);
    outline-offset: 2px;
    border-radius: 4px;
  }
  button:focus-visible,
  a:focus-visible,
  input:focus-visible,
  textarea:focus-visible {
    outline-offset: 3px;
  }

  /* Default kerning for headlines */
  h1,
  h2,
  h3,
  h4 {
    letter-spacing: -0.02em;
  }
}

/* ───────────────────────────────────────────────────────────────
   Component grammars
   ─────────────────────────────────────────────────────────────── */
@layer components {
  /* ── Glass surfaces ─────────────────────────────────────────── */
  .glass {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset,
      0 0 0 1px rgba(255, 255, 255, 0.08),
      0 16px 40px -16px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
  }

  .glass-strong {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset,
      0 0 0 1px rgba(255, 255, 255, 0.14),
      0 28px 80px -24px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
  }

  .glass-elev {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.02) 100%
    );
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset,
      0 0 0 1px rgba(255, 255, 255, 0.10),
      0 32px 80px -24px rgba(0, 0, 0, 0.7);
  }

  /* ── Buttons ────────────────────────────────────────────────── */
  .btn-primary {
    @apply inline-flex items-center justify-center
           px-5 py-2.5 rounded-pill
           text-body-strong text-canvas
           bg-amber
           transition-all duration-200 ease-atelier
           active:scale-[0.97]
           disabled:opacity-40 disabled:cursor-not-allowed disabled:active:scale-100
           hover:bg-amber-soft hover:shadow-amber;
  }

  .btn-secondary {
    @apply inline-flex items-center justify-center
           px-5 py-2.5 rounded-pill
           text-body text-ink
           bg-glass
           transition-all duration-200 ease-atelier
           active:scale-[0.97]
           hover:bg-glass-stronger;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10);
  }

  .btn-ghost {
    @apply inline-flex items-center justify-center
           px-3 py-1.5 rounded-md
           text-caption text-ink-70
           transition-colors duration-200
           hover:text-ink hover:bg-glass;
  }

  .btn-danger {
    @apply inline-flex items-center justify-center
           px-5 py-2.5 rounded-pill
           text-body-strong text-status-err
           transition-colors duration-200
           hover:bg-status-err-glow;
    box-shadow: 0 0 0 1px rgba(255, 122, 122, 0.4);
  }

  /* ── Inputs ─────────────────────────────────────────────────── */
  .input-glass {
    @apply w-full bg-glass text-ink
           rounded-md px-4 py-3
           text-body
           outline-none
           transition-all duration-200;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10);
  }
  .input-glass:focus {
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 1px rgba(255, 181, 69, 0.55),
      0 0 24px -6px rgba(255, 181, 69, 0.35);
  }
  .input-glass::placeholder {
    color: rgba(245, 243, 236, 0.36);
  }

  /* ── Cards ──────────────────────────────────────────────────── */
  .card {
    @apply rounded-lg p-6 glass;
  }

  /* ── Editorial italic moments ───────────────────────────────── */
  .serif-italic {
    font-family: var(--font-instrument), ui-serif, Georgia, serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
  }

  /* ── Containers ─────────────────────────────────────────────── */
  .container-app {
    @apply max-w-[1480px] mx-auto px-6 md:px-10;
  }
  .container-narrow {
    @apply max-w-[920px] mx-auto px-6 md:px-10;
  }
  .container-prose {
    @apply max-w-[760px] mx-auto px-6 md:px-10;
  }

  /* ── Chat-specific helpers ──────────────────────────────────── */
  .chat-bubble-user {
    @apply rounded-2xl rounded-tr-sm px-5 py-3 text-body text-ink;
    background: linear-gradient(
      135deg,
      rgba(255, 181, 69, 0.16) 0%,
      rgba(255, 181, 69, 0.08) 100%
    );
    box-shadow: 0 0 0 1px rgba(255, 181, 69, 0.22),
      0 8px 24px -8px rgba(255, 181, 69, 0.18);
  }

  .chat-bubble-assistant {
    @apply rounded-2xl rounded-tl-sm px-5 py-4 text-body text-ink;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.025) 100%
    );
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.10),
      0 16px 48px -16px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  /* Hairline divider β€” for sectioning inside cards */
  .hairline {
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.12),
      transparent
    );
  }
  .hairline-vert {
    width: 1px;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(255, 255, 255, 0.10),
      transparent
    );
  }
}

/* ───────────────────────────────────────────────────────────────
   Utilities
   ─────────────────────────────────────────────────────────────── */
@layer utilities {
  .text-shimmer {
    background: linear-gradient(
      110deg,
      rgba(245, 243, 236, 0.4) 30%,
      rgba(245, 243, 236, 1) 50%,
      rgba(245, 243, 236, 0.4) 70%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmerBg 2.4s linear infinite;
  }

  @keyframes shimmerBg {
    0% {
      background-position: 200% 0;
    }
    100% {
      background-position: -200% 0;
    }
  }

  /* Aurora gradient orbs (used decoratively behind hero) */
  .aurora-amber {
    position: absolute;
    border-radius: 9999px;
    background: radial-gradient(
      circle,
      rgba(255, 181, 69, 0.32) 0%,
      rgba(255, 181, 69, 0) 65%
    );
    filter: blur(80px);
    pointer-events: none;
  }
  .aurora-violet {
    position: absolute;
    border-radius: 9999px;
    background: radial-gradient(
      circle,
      rgba(120, 90, 240, 0.22) 0%,
      rgba(120, 90, 240, 0) 65%
    );
    filter: blur(90px);
    pointer-events: none;
  }
  .aurora-teal {
    position: absolute;
    border-radius: 9999px;
    background: radial-gradient(
      circle,
      rgba(80, 200, 200, 0.18) 0%,
      rgba(80, 200, 200, 0) 65%
    );
    filter: blur(80px);
    pointer-events: none;
  }

  /* No-scrollbar utility */
  .scrollbar-none {
    scrollbar-width: none;
  }
  .scrollbar-none::-webkit-scrollbar {
    display: none;
  }

  .text-balance {
    text-wrap: balance;
  }
}