@dreamtree-org/landing-kit 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/styles.css ADDED
@@ -0,0 +1,836 @@
1
+ /*
2
+ * @dreamtree-org/landing-kit — the shared marketing site.
3
+ *
4
+ * Plain CSS on --dt-* custom properties, the same ones @dreamtree-org/auth-kit
5
+ * uses: --dt-brand (and optionally --dt-brand-accent / --dt-brand-panel) come
6
+ * from the `brand` prop; every other colour is derived here, so the landing
7
+ * page and the login screen are one family. Works the same under Tailwind 3,
8
+ * Tailwind 4 (preflight or not) or no Tailwind: every block sets its own
9
+ * margins, list styles and button styles.
10
+ *
11
+ * Dark mode: [data-theme="dark"] on <html> (twreact-ui ThemeProvider), a
12
+ * `.dark` ancestor, or data-theme="dark" on the .dt-landing element itself.
13
+ */
14
+ .dt-landing,
15
+ .dt-lp-dialog {
16
+ --dt-brand: #1e3a6e;
17
+ --dt-brand-accent: var(--dt-brand);
18
+ --dt-brand-panel: color-mix(in oklab, var(--dt-brand) 82%, black);
19
+ --dt-brand-soft: color-mix(in oklab, var(--dt-brand) 9%, white);
20
+ --dt-brand-line: color-mix(in oklab, var(--dt-brand) 22%, white);
21
+ --dt-brand-ink: color-mix(in oklab, var(--dt-brand) 85%, black);
22
+ --dt-brand-hover: color-mix(in oklab, var(--dt-brand) 88%, black);
23
+ --dt-lp-bg: #ffffff;
24
+ --dt-lp-surface: #ffffff;
25
+ --dt-lp-muted-bg: #f6f7f9;
26
+ --dt-lp-border: #e4e7ec;
27
+ --dt-lp-text: #101828;
28
+ --dt-lp-body: #475467;
29
+ --dt-lp-muted: #667085;
30
+ --dt-lp-dark-bg: #0b1220;
31
+ --dt-lp-dark-text: #e6eaf2;
32
+ --dt-lp-dark-muted: #b4bccb;
33
+ --dt-lp-warn: #f5b041;
34
+ --dt-lp-radius: 0.75rem;
35
+ --dt-lp-radius-lg: 1rem;
36
+ --dt-lp-max: 72rem;
37
+ --dt-lp-gutter: 1rem;
38
+ --dt-lp-header-h: 4rem;
39
+ --dt-lp-font: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
40
+ --dt-lp-shadow: 0 1px 2px rgb(16 24 40 / 0.05);
41
+ }
42
+
43
+ :root[data-theme='dark'] .dt-landing,
44
+ :root[data-theme='dark'] .dt-lp-dialog,
45
+ .dark .dt-landing,
46
+ .dark .dt-lp-dialog,
47
+ .dt-landing[data-theme='dark'] {
48
+ --dt-brand-soft: color-mix(in oklab, var(--dt-brand) 18%, #0b0f17);
49
+ --dt-brand-line: color-mix(in oklab, var(--dt-brand) 40%, #0b0f17);
50
+ --dt-brand-ink: color-mix(in oklab, var(--dt-brand) 45%, white);
51
+ --dt-brand-panel: color-mix(in oklab, var(--dt-brand) 55%, #0b0f17);
52
+ --dt-lp-bg: #0b0f17;
53
+ --dt-lp-surface: #131a26;
54
+ --dt-lp-muted-bg: #0f1520;
55
+ --dt-lp-border: #243042;
56
+ --dt-lp-text: #e6eaf2;
57
+ --dt-lp-body: #b4bccb;
58
+ --dt-lp-muted: #98a2b3;
59
+ --dt-lp-dark-bg: #060a12;
60
+ --dt-lp-shadow: 0 1px 2px rgb(0 0 0 / 0.4);
61
+ color-scheme: dark;
62
+ }
63
+
64
+ .dt-landing {
65
+ min-height: 100vh;
66
+ background: var(--dt-lp-bg);
67
+ color: var(--dt-lp-text);
68
+ font-family: var(--dt-lp-font);
69
+ font-size: 1rem;
70
+ line-height: 1.6;
71
+ -webkit-text-size-adjust: 100%;
72
+ -webkit-font-smoothing: antialiased;
73
+ overflow-x: clip;
74
+ }
75
+ .dt-landing *,
76
+ .dt-landing *::before,
77
+ .dt-landing *::after,
78
+ .dt-lp-dialog *,
79
+ .dt-lp-dialog *::before,
80
+ .dt-lp-dialog *::after { box-sizing: border-box; }
81
+ /* Resets at zero specificity (:where), so every block class below wins over them. */
82
+ :where(.dt-landing) :where(h1, h2, h3, p, ul, ol, dl, figure, blockquote) { margin: 0; }
83
+ :where(.dt-landing) :where(ul, ol) { padding: 0; list-style: none; }
84
+ :where(.dt-landing) :where(img, svg) { display: inline-block; vertical-align: middle; max-width: 100%; }
85
+ :where(.dt-landing) :where(a) { color: inherit; text-decoration: none; }
86
+ :where(.dt-landing) :where(main) { display: block; }
87
+ .dt-lp-icon { flex-shrink: 0; }
88
+ html:has(.dt-landing) { scroll-behavior: smooth; scroll-padding-top: calc(var(--dt-lp-header-h) + 1rem); }
89
+ @media (prefers-reduced-motion: reduce) {
90
+ html:has(.dt-landing) { scroll-behavior: auto; }
91
+ .dt-landing *, .dt-lp-dialog * { transition: none !important; }
92
+ }
93
+
94
+ .dt-lp-sr-only {
95
+ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
96
+ overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
97
+ }
98
+ .dt-lp-skip {
99
+ position: absolute; left: -9999px; top: 1rem; z-index: 60;
100
+ padding: 0.5rem 0.75rem; border-radius: 0.375rem;
101
+ background: var(--dt-lp-surface); color: var(--dt-lp-text); box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
102
+ }
103
+ .dt-lp-skip:focus { left: 1rem; }
104
+
105
+ /* ---- frame ---- */
106
+ .dt-lp-wrap {
107
+ width: 100%;
108
+ max-width: var(--dt-lp-max);
109
+ margin: 0 auto;
110
+ padding: 0 var(--dt-lp-gutter);
111
+ min-width: 0;
112
+ }
113
+ .dt-lp-wrap--narrow { max-width: 48rem; }
114
+ @media (min-width: 640px) { .dt-landing { --dt-lp-gutter: 1.5rem; } }
115
+
116
+ /* Positioned so a short PreviewFrame never lets the (positioned) hero paint over the next section. */
117
+ .dt-lp-section { position: relative; padding: 4rem 0; scroll-margin-top: calc(var(--dt-lp-header-h) + 0.5rem); }
118
+ @media (min-width: 640px) { .dt-lp-section { padding: 5rem 0; } }
119
+ .dt-lp-tone--tinted { background: var(--dt-brand-soft); }
120
+ .dt-lp-tone--muted { background: var(--dt-lp-muted-bg); }
121
+ .dt-lp-tone--dark {
122
+ background: var(--dt-lp-dark-bg);
123
+ color: var(--dt-lp-dark-text);
124
+ --dt-lp-text: #ffffff;
125
+ --dt-lp-body: var(--dt-lp-dark-muted);
126
+ --dt-lp-border: rgb(255 255 255 / 0.12);
127
+ --dt-brand-ink: color-mix(in oklab, var(--dt-brand-accent) 60%, white);
128
+ }
129
+
130
+ /* ---- type ---- */
131
+ .dt-lp-eyebrow {
132
+ font-size: 0.75rem;
133
+ font-weight: 600;
134
+ line-height: 1.4;
135
+ letter-spacing: 0.16em;
136
+ text-transform: uppercase;
137
+ color: var(--dt-brand-ink);
138
+ }
139
+ .dt-lp-eyebrow--inverse { color: rgb(255 255 255 / 0.85); }
140
+ .dt-lp-h1 {
141
+ margin-top: 1rem;
142
+ font-size: clamp(1.875rem, 1.2rem + 3.4vw, 3.75rem);
143
+ line-height: 1.1;
144
+ font-weight: 700;
145
+ letter-spacing: -0.025em;
146
+ color: var(--dt-lp-text);
147
+ overflow-wrap: break-word;
148
+ text-wrap: balance;
149
+ }
150
+ .dt-lp-h1--page { font-size: clamp(1.875rem, 1.3rem + 2.6vw, 3rem); max-width: 48rem; margin-top: 0.75rem; }
151
+ .dt-lp-h1-hi {
152
+ background-image: linear-gradient(var(--dt-brand-accent), var(--dt-brand-accent));
153
+ background-repeat: no-repeat;
154
+ background-size: 100% 0.18em;
155
+ background-position: 0 96%;
156
+ padding-bottom: 0.08em;
157
+ -webkit-box-decoration-break: clone;
158
+ box-decoration-break: clone;
159
+ }
160
+ .dt-lp-h2 {
161
+ font-size: clamp(1.625rem, 1.25rem + 1.6vw, 2.25rem);
162
+ line-height: 1.2;
163
+ font-weight: 700;
164
+ letter-spacing: -0.02em;
165
+ color: var(--dt-lp-text);
166
+ overflow-wrap: break-word;
167
+ text-wrap: balance;
168
+ }
169
+ .dt-lp-eyebrow + .dt-lp-h2 { margin-top: 0.75rem; }
170
+ .dt-lp-h3 { font-size: 1rem; line-height: 1.4; font-weight: 600; color: var(--dt-lp-text); }
171
+ .dt-lp-h3--lg { font-size: 1.125rem; }
172
+ .dt-lp-lead { margin-top: 1rem; color: var(--dt-lp-body); max-width: 42rem; }
173
+ .dt-lp-body { color: var(--dt-lp-body); }
174
+ .dt-lp-muted { color: var(--dt-lp-muted); font-size: 0.875rem; }
175
+ .dt-lp-kicker {
176
+ margin-top: 1rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
177
+ text-transform: uppercase; color: var(--dt-brand-ink);
178
+ }
179
+ .dt-lp-mt { margin-top: 1.5rem; }
180
+ .dt-lp-mt-lg { margin-top: 2rem; }
181
+ .dt-lp-grow { flex: 1; }
182
+
183
+ .dt-lp-intro { min-width: 0; }
184
+ .dt-lp-intro--center { text-align: center; margin: 0 auto; max-width: 42rem; }
185
+ .dt-lp-intro--center .dt-lp-lead { margin-left: auto; margin-right: auto; }
186
+
187
+ /* ---- buttons & links ---- */
188
+ .dt-lp-btn {
189
+ display: inline-flex;
190
+ align-items: center;
191
+ justify-content: center;
192
+ gap: 0.5rem;
193
+ border: 1px solid transparent;
194
+ border-radius: 0.5rem;
195
+ font: inherit;
196
+ font-weight: 600;
197
+ line-height: 1.25;
198
+ cursor: pointer;
199
+ white-space: nowrap;
200
+ text-decoration: none;
201
+ transition: background-color 0.15s, color 0.15s, border-color 0.15s;
202
+ -webkit-tap-highlight-color: transparent;
203
+ }
204
+ .dt-lp-btn--sm { padding: 0.5rem 0.875rem; font-size: 0.875rem; }
205
+ .dt-lp-btn--md { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
206
+ .dt-lp-btn--lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
207
+ .dt-lp-btn--primary { background: var(--dt-brand); color: #fff; box-shadow: var(--dt-lp-shadow); }
208
+ .dt-lp-btn--primary:hover { background: var(--dt-brand-hover); }
209
+ .dt-lp-btn--inverse { background: #fff; color: var(--dt-brand-panel); }
210
+ .dt-lp-btn--inverse:hover { background: color-mix(in oklab, var(--dt-brand) 8%, white); }
211
+ .dt-lp-btn--outline { background: transparent; color: var(--dt-lp-text); border-color: var(--dt-lp-border); }
212
+ .dt-lp-btn--outline:hover { background: var(--dt-lp-muted-bg); }
213
+ .dt-lp-btn:focus-visible,
214
+ .dt-landing a:focus-visible,
215
+ .dt-lp-menu-btn:focus-visible,
216
+ .dt-lp-faq-item summary:focus-visible { outline: 2px solid var(--dt-brand); outline-offset: 2px; }
217
+ .dt-lp-btn--inverse:focus-visible { outline-color: #fff; }
218
+ .dt-lp-btn[aria-busy='true'],
219
+ .dt-lp-btn:disabled { opacity: 0.6; }
220
+ .dt-lp-btn:disabled { cursor: not-allowed; }
221
+ .dt-lp-textlink {
222
+ display: inline-flex;
223
+ align-items: center;
224
+ gap: 0.375rem;
225
+ font-weight: 600;
226
+ color: var(--dt-brand-ink);
227
+ text-underline-offset: 4px;
228
+ }
229
+ .dt-lp-textlink:hover { text-decoration: underline; }
230
+ .dt-lp-textlink .dt-lp-icon { transition: transform 0.15s; }
231
+ .dt-lp-textlink:hover .dt-lp-icon { transform: translateX(2px); }
232
+
233
+ /* ---- header ---- */
234
+ .dt-lp-header {
235
+ position: sticky;
236
+ top: 0;
237
+ z-index: 40;
238
+ border-bottom: 1px solid var(--dt-lp-border);
239
+ background: color-mix(in oklab, var(--dt-lp-bg) 90%, transparent);
240
+ -webkit-backdrop-filter: saturate(1.4) blur(10px);
241
+ backdrop-filter: saturate(1.4) blur(10px);
242
+ }
243
+ .dt-lp-header-bar {
244
+ display: flex;
245
+ align-items: center;
246
+ justify-content: space-between;
247
+ gap: 0.75rem;
248
+ height: var(--dt-lp-header-h);
249
+ }
250
+ .dt-lp-brand { display: inline-flex; align-items: center; gap: 0.625rem; min-width: 0; color: var(--dt-lp-text); }
251
+ .dt-lp-brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
252
+ .dt-lp-wordmark { font-size: 1.125rem; font-weight: 800; letter-spacing: -0.02em; color: var(--dt-lp-text); white-space: nowrap; }
253
+ .dt-lp-wordmark-hi { color: var(--dt-brand); }
254
+ .dt-lp-byline { margin-top: 0.25rem; font-size: 0.625rem; font-weight: 500; color: var(--dt-lp-muted); white-space: nowrap; }
255
+ .dt-lp-mark-img { display: block; width: 2.25rem; height: 2.25rem; object-fit: contain; border-radius: 0.5rem; flex-shrink: 0; }
256
+ .dt-lp-mark-node { display: inline-flex; color: var(--dt-brand); flex-shrink: 0; }
257
+ .dt-lp-monogram {
258
+ display: inline-grid; place-items: center; flex-shrink: 0;
259
+ border-radius: 0.5rem; background: var(--dt-brand); color: #fff; font-weight: 800;
260
+ }
261
+ .dt-lp-nav { display: none; align-items: center; gap: 2rem; font-size: 0.875rem; font-weight: 500; }
262
+ .dt-lp-nav-link { color: var(--dt-lp-body); white-space: nowrap; }
263
+ .dt-lp-nav-link:hover { color: var(--dt-brand-ink); }
264
+ .dt-lp-header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
265
+ .dt-lp-login { display: none; font-size: 0.875rem; font-weight: 500; padding: 0.375rem 0.25rem; }
266
+ .dt-lp-menu-btn {
267
+ display: inline-grid; place-items: center;
268
+ width: 2.5rem; height: 2.5rem; padding: 0; margin-right: -0.375rem;
269
+ border: 0; border-radius: 0.5rem; background: transparent; color: var(--dt-lp-body); cursor: pointer;
270
+ }
271
+ .dt-lp-menu-btn:hover { background: var(--dt-lp-muted-bg); }
272
+ .dt-lp-menu-close,
273
+ .dt-lp-menu-btn[aria-expanded='true'] .dt-lp-menu-open { display: none; }
274
+ .dt-lp-menu-btn[aria-expanded='true'] .dt-lp-menu-close { display: inline-flex; }
275
+ .dt-lp-menu-open { display: inline-flex; }
276
+ .dt-lp-mobile-nav { border-top: 1px solid var(--dt-lp-border); background: var(--dt-lp-bg); }
277
+ .dt-lp-mobile-nav[hidden] { display: none; }
278
+ .dt-lp-mobile-nav ul { display: flex; flex-direction: column; padding: 0.5rem 0; }
279
+ .dt-lp-mobile-nav a { display: block; padding: 0.75rem 0; font-size: 0.9375rem; font-weight: 500; color: var(--dt-lp-body); }
280
+ .dt-lp-mobile-nav a:hover { color: var(--dt-brand-ink); }
281
+ @media (max-width: 359px) {
282
+ .dt-lp-byline { display: none; }
283
+ .dt-lp-header .dt-lp-btn--sm { padding: 0.5rem 0.625rem; }
284
+ .dt-lp-mark-img, .dt-lp-header .dt-lp-monogram { width: 2rem !important; height: 2rem !important; }
285
+ }
286
+ @media (min-width: 640px) { .dt-lp-login { display: inline-block; } .dt-lp-header-actions { gap: 1rem; } }
287
+ @media (min-width: 1024px) {
288
+ .dt-lp-nav { display: flex; }
289
+ .dt-lp-menu-btn, .dt-lp-mobile-nav { display: none !important; }
290
+ }
291
+
292
+ /* ---- hero ---- */
293
+ .dt-lp-hero {
294
+ position: relative;
295
+ overflow: hidden;
296
+ padding: 3rem 0 4rem;
297
+ background: linear-gradient(180deg, var(--dt-brand-soft) 0%, var(--dt-lp-bg) 70%);
298
+ }
299
+ @media (min-width: 640px) { .dt-lp-hero { padding: 4rem 0 5rem; } }
300
+ .dt-lp-hero--overlap { padding-bottom: 14rem; }
301
+ @media (min-width: 640px) { .dt-lp-hero--overlap { padding-bottom: 16rem; } }
302
+ .dt-lp-hero--page { padding: 2rem 0 3rem; }
303
+ @media (min-width: 640px) { .dt-lp-hero--page { padding: 2.5rem 0 4rem; } }
304
+ .dt-lp-hero-glow {
305
+ position: absolute; inset: 0; pointer-events: none;
306
+ background:
307
+ radial-gradient(circle at 20% 10%, color-mix(in oklab, var(--dt-brand) 14%, transparent), transparent 45%),
308
+ radial-gradient(circle at 85% 0%, color-mix(in oklab, var(--dt-brand-accent) 12%, transparent), transparent 40%);
309
+ }
310
+ .dt-lp-hero-inner { position: relative; text-align: center; }
311
+ .dt-lp-hero-inner .dt-lp-h1 { margin-left: auto; margin-right: auto; max-width: 56rem; }
312
+ .dt-lp-hero-inner--start { text-align: left; }
313
+ .dt-lp-hero-inner--start .dt-lp-h1 { margin-left: 0; }
314
+ .dt-lp-hero-subtitle {
315
+ margin: 1.5rem auto 0; max-width: 42rem;
316
+ font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); font-weight: 600; color: var(--dt-lp-text);
317
+ }
318
+ .dt-lp-hero-lead { margin: 0.75rem auto 0; max-width: 42rem; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem); color: var(--dt-lp-body); }
319
+ .dt-lp-hero-inner--start .dt-lp-hero-lead { margin: 1.5rem 0 0; }
320
+ .dt-lp-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.5rem; }
321
+ .dt-lp-actions--start { justify-content: flex-start; }
322
+
323
+ .dt-lp-chips { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; font-size: 0.875rem; }
324
+ .dt-lp-chips li {
325
+ padding: 0.25rem 0.75rem; border-radius: 999px; border: 1px solid var(--dt-lp-border);
326
+ background: color-mix(in oklab, var(--dt-lp-surface) 75%, transparent); color: var(--dt-lp-body);
327
+ }
328
+ .dt-lp-chips--start { justify-content: flex-start; }
329
+ .dt-lp-chips--inverse li { background: transparent; border-color: rgb(255 255 255 / 0.4); color: #fff; }
330
+
331
+ /* ---- product preview frame ---- */
332
+ .dt-lp-preview { position: relative; z-index: 1; margin-top: -12rem; scroll-margin-top: calc(var(--dt-lp-header-h) + 1rem); }
333
+ @media (min-width: 640px) { .dt-lp-preview { margin-top: -14rem; } }
334
+ .dt-lp-preview-frame {
335
+ overflow: hidden;
336
+ border: 4px solid #101828;
337
+ border-radius: var(--dt-lp-radius-lg);
338
+ background: #101828;
339
+ box-shadow: 0 25px 50px -12px rgb(16 24 40 / 0.3);
340
+ }
341
+ .dt-lp-preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 1rem; color: #fff; }
342
+ .dt-lp-preview-title { display: flex; align-items: center; gap: 1.5rem; min-width: 0; }
343
+ .dt-lp-preview-title .dt-lp-wordmark { color: #fff; }
344
+ .dt-lp-preview-title .dt-lp-wordmark-hi { color: var(--dt-brand-accent); }
345
+ .dt-lp-preview-meta { display: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.875rem; color: #d0d5dd; }
346
+ @media (min-width: 640px) { .dt-lp-preview-meta { display: inline; } }
347
+ .dt-lp-preview-badge {
348
+ flex-shrink: 0; padding: 0.125rem 0.5rem; border-radius: 0.25rem;
349
+ font-size: 0.6875rem; font-weight: 600; background: color-mix(in oklab, var(--dt-brand-accent) 35%, white); color: #101828;
350
+ }
351
+ .dt-lp-preview-body { background: #fff; color: #101828; min-width: 0; }
352
+
353
+ /* ---- grids & cards ---- */
354
+ .dt-lp-grid { display: grid; gap: 1rem; margin-top: 2.5rem; min-width: 0; }
355
+ .dt-lp-grid > * { min-width: 0; }
356
+ @media (min-width: 640px) {
357
+ .dt-lp-grid--cards, .dt-lp-grid--split, .dt-lp-grid--links, .dt-lp-grid--list, .dt-lp-grid--audiences, .dt-lp-grid--chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
358
+ }
359
+ @media (min-width: 768px) { .dt-lp-grid--steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
360
+ @media (min-width: 1024px) {
361
+ .dt-lp-grid--cards, .dt-lp-grid--links, .dt-lp-grid--list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
362
+ .dt-lp-grid--audiences { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
363
+ }
364
+ .dt-lp-grid--list { gap: 2rem; }
365
+ .dt-lp-grid--chips { gap: 0.75rem; margin-top: 0; }
366
+ .dt-lp-card {
367
+ border: 1px solid var(--dt-lp-border);
368
+ border-radius: var(--dt-lp-radius);
369
+ background: var(--dt-lp-surface);
370
+ padding: 1.25rem;
371
+ overflow-wrap: break-word;
372
+ }
373
+ .dt-lp-card p { margin-top: 0.375rem; font-size: 0.875rem; color: var(--dt-lp-body); }
374
+ .dt-lp-card .dt-lp-icon-tile + .dt-lp-card-text { margin-top: 1rem; }
375
+ .dt-lp-icon-tile {
376
+ display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem;
377
+ border-radius: 0.5rem; background: var(--dt-brand-soft); color: var(--dt-brand-ink);
378
+ }
379
+ .dt-lp-card--split { border-color: var(--dt-brand-line); }
380
+ .dt-lp-card--list { display: flex; gap: 1rem; border: 0; padding: 0; background: transparent; }
381
+ .dt-lp-card--list .dt-lp-icon-tile { background: transparent; width: auto; height: auto; color: var(--dt-brand-ink); }
382
+ .dt-lp-card--list .dt-lp-icon-tile svg { width: 28px; height: 28px; }
383
+ .dt-lp-card--list .dt-lp-icon-tile + .dt-lp-card-text { margin-top: 0; }
384
+ .dt-lp-card--audience { display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--dt-lp-radius-lg); }
385
+ .dt-lp-card--audience .dt-lp-h3--lg { margin-top: 0.25rem; font-size: 1.25rem; font-weight: 700; }
386
+ .dt-lp-card--audience > p:not(.dt-lp-kicker) { font-size: 1rem; margin-top: 0.5rem; margin-bottom: 1rem; }
387
+ .dt-lp-audience-icon { color: var(--dt-brand-ink); }
388
+ .dt-lp-card--compare { padding: 1.5rem; border-radius: var(--dt-lp-radius-lg); }
389
+ .dt-lp-footnote { margin-top: 1.5rem; font-size: 0.875rem; color: var(--dt-lp-muted); }
390
+
391
+ .dt-lp-split { display: grid; gap: 2.5rem; align-items: center; }
392
+ .dt-lp-split .dt-lp-grid { margin-top: 0; }
393
+ @media (min-width: 1024px) {
394
+ .dt-lp-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
395
+ .dt-lp-split--wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
396
+ }
397
+
398
+ /* intro ("What is X?") */
399
+ .dt-lp-intro-grid { display: grid; gap: 2.5rem; }
400
+ @media (min-width: 1024px) { .dt-lp-intro-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
401
+ .dt-lp-intro-grid > div > .dt-lp-h3--lg { margin-top: 2rem; font-size: 1.25rem; }
402
+ .dt-lp-intro-grid > div > .dt-lp-body { margin-top: 0.5rem; }
403
+ .dt-lp-note { margin-top: 1rem; padding-left: 1rem; border-left: 4px solid var(--dt-brand-line); font-size: 0.875rem; color: var(--dt-lp-muted); }
404
+ .dt-lp-glance { align-self: start; border: 1px solid var(--dt-brand-line); border-radius: var(--dt-lp-radius-lg); background: var(--dt-brand-soft); padding: 1.5rem; }
405
+ .dt-lp-glance .dt-lp-checklist { margin-top: 1rem; }
406
+
407
+ .dt-lp-checklist { display: grid; gap: 0.75rem; margin-top: 1rem; font-size: 0.875rem; font-weight: 500; color: var(--dt-lp-text); }
408
+ .dt-lp-checklist li { display: flex; align-items: flex-start; gap: 0.625rem; }
409
+ .dt-lp-checklist li svg { margin-top: 0.125rem; color: var(--dt-brand-ink); }
410
+ .dt-lp-checklist--check li svg { color: var(--dt-lp-muted); }
411
+ .dt-lp-compare { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
412
+ @media (min-width: 768px) { .dt-lp-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
413
+
414
+ /* highlight (dark band) */
415
+ .dt-lp-callout {
416
+ display: flex; gap: 0.75rem; margin-top: 1.5rem; max-width: 36rem; padding: 1rem;
417
+ border: 1px solid color-mix(in oklab, var(--dt-lp-warn) 40%, transparent);
418
+ border-radius: var(--dt-lp-radius); background: color-mix(in oklab, var(--dt-lp-warn) 8%, transparent);
419
+ font-size: 0.875rem; color: var(--dt-lp-body);
420
+ }
421
+ .dt-lp-callout svg { color: var(--dt-lp-warn); }
422
+ .dt-lp-callout strong { color: var(--dt-lp-text); font-weight: 600; }
423
+ .dt-lp-chip-card {
424
+ display: flex; align-items: center; gap: 0.75rem; padding: 1rem;
425
+ border: 1px solid rgb(255 255 255 / 0.1); border-radius: var(--dt-lp-radius);
426
+ background: rgb(255 255 255 / 0.05); font-size: 0.875rem;
427
+ }
428
+ .dt-lp-chip-card svg { color: var(--dt-brand-ink); }
429
+ .dt-lp-tone--plain .dt-lp-chip-card, .dt-lp-tone--muted .dt-lp-chip-card, .dt-lp-tone--tinted .dt-lp-chip-card { border-color: var(--dt-lp-border); background: var(--dt-lp-surface); }
430
+
431
+ /* band (accent panel) */
432
+ .dt-lp-band {
433
+ display: grid; gap: 2rem; align-items: center; padding: 1.5rem;
434
+ border: 1px solid var(--dt-brand-line); border-radius: var(--dt-lp-radius-lg);
435
+ background: linear-gradient(135deg, var(--dt-brand-soft), var(--dt-lp-surface));
436
+ }
437
+ @media (min-width: 640px) { .dt-lp-band { padding: 2.5rem; } }
438
+ @media (min-width: 1024px) { .dt-lp-band { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
439
+ .dt-lp-band .dt-lp-chips li { background: var(--dt-lp-surface); border-color: var(--dt-brand-line); color: var(--dt-lp-text); }
440
+ .dt-lp-band-list { display: grid; gap: 0.75rem; }
441
+ .dt-lp-band-list li {
442
+ display: flex; align-items: center; gap: 0.75rem; padding: 1rem;
443
+ border-radius: var(--dt-lp-radius); background: var(--dt-lp-surface); box-shadow: var(--dt-lp-shadow);
444
+ font-size: 0.875rem; font-weight: 500;
445
+ }
446
+ .dt-lp-band-list svg { color: var(--dt-brand-ink); }
447
+
448
+ /* link cards */
449
+ .dt-lp-linkcard {
450
+ display: block; height: 100%; padding: 1.25rem;
451
+ border: 1px solid var(--dt-lp-border); border-radius: var(--dt-lp-radius); background: var(--dt-lp-surface);
452
+ transition: border-color 0.15s, background-color 0.15s;
453
+ }
454
+ .dt-lp-linkcard:hover { border-color: var(--dt-brand-line); background: var(--dt-brand-soft); }
455
+ .dt-lp-linkcard-title { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; font-weight: 600; color: var(--dt-lp-text); }
456
+ .dt-lp-linkcard-title svg { color: var(--dt-brand-ink); transition: transform 0.15s; }
457
+ .dt-lp-linkcard:hover .dt-lp-linkcard-title svg { transform: translateX(2px); }
458
+ .dt-lp-linkcard-body { display: block; margin-top: 0.375rem; font-size: 0.875rem; color: var(--dt-lp-body); }
459
+
460
+ /* detail (sub-page section) */
461
+ .dt-lp-feature--detail { padding: 3rem 0; }
462
+ @media (min-width: 640px) { .dt-lp-feature--detail { padding: 3.5rem 0; } }
463
+ .dt-lp-detail { display: grid; gap: 1.5rem; }
464
+ @media (min-width: 1024px) { .dt-lp-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3rem; } }
465
+ .dt-lp-detail .dt-lp-checklist { margin-top: 1.25rem; font-size: 1rem; font-weight: 400; }
466
+ .dt-lp-detail .dt-lp-body + .dt-lp-checklist { margin-top: 1.25rem; }
467
+
468
+ /* steps */
469
+ .dt-lp-steps .dt-lp-card { padding: 1.5rem; }
470
+ .dt-lp-step-num {
471
+ display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem;
472
+ border-radius: 999px; background: var(--dt-brand); color: #fff; font-weight: 700;
473
+ }
474
+ .dt-lp-steps .dt-lp-h3 { margin-top: 1rem; }
475
+
476
+ /* FAQ */
477
+ .dt-lp-faq-list { margin-top: 2rem; border: 1px solid var(--dt-lp-border); border-radius: var(--dt-lp-radius); background: var(--dt-lp-surface); }
478
+ .dt-lp-faq-item { padding: 1rem 1.25rem; }
479
+ .dt-lp-faq-item + .dt-lp-faq-item { border-top: 1px solid var(--dt-lp-border); }
480
+ .dt-lp-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; }
481
+ .dt-lp-faq-item summary::-webkit-details-marker { display: none; }
482
+ .dt-lp-faq-item summary .dt-lp-h3 { font-size: 1rem; }
483
+ .dt-lp-faq-chevron { color: var(--dt-lp-muted); transition: transform 0.15s; }
484
+ .dt-lp-faq-item[open] .dt-lp-faq-chevron { transform: rotate(90deg); }
485
+ .dt-lp-faq-item p { margin-top: 0.75rem; color: var(--dt-lp-body); }
486
+
487
+ /* closing CTA */
488
+ .dt-lp-cta-panel {
489
+ padding: 3rem 1.5rem; border-radius: var(--dt-lp-radius-lg); text-align: center; color: #fff;
490
+ background: radial-gradient(circle at 15% 0%, color-mix(in oklab, var(--dt-brand-accent) 30%, transparent), transparent 55%), var(--dt-brand-panel);
491
+ }
492
+ .dt-lp-h2--cta { margin-top: 0.5rem; color: #fff; font-size: clamp(1.5rem, 1.2rem + 1.3vw, 1.875rem); }
493
+ .dt-lp-cta-body { margin: 0.75rem auto 1.5rem; max-width: 36rem; color: rgb(255 255 255 / 0.85); }
494
+ .dt-lp-cta-panel .dt-lp-chips { margin-top: 1.5rem; }
495
+
496
+ /* breadcrumbs */
497
+ .dt-lp-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; font-size: 0.875rem; color: var(--dt-lp-muted); }
498
+ .dt-lp-crumbs li { display: inline-flex; align-items: center; gap: 0.375rem; }
499
+ .dt-lp-crumbs a:hover { color: var(--dt-brand-ink); }
500
+ .dt-lp-crumbs [aria-current='page'] { font-weight: 500; color: var(--dt-lp-text); }
501
+
502
+ /* ---- footer ---- */
503
+ .dt-lp-footer { border-top: 1px solid var(--dt-lp-border); font-size: 0.875rem; color: var(--dt-lp-body); }
504
+ .dt-lp-footer-grid { display: grid; gap: 2.5rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
505
+ @media (min-width: 768px) {
506
+ .dt-lp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
507
+ .dt-lp-footer-grid--2 .dt-lp-footer-about, .dt-lp-footer-grid--3 .dt-lp-footer-about { grid-column: 1 / -1; }
508
+ }
509
+ @media (min-width: 1024px) {
510
+ .dt-lp-footer-grid--1 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
511
+ .dt-lp-footer-grid--2 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 0.8fr); }
512
+ .dt-lp-footer-grid--3 { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.9fr)); }
513
+ .dt-lp-footer-grid--2 .dt-lp-footer-about, .dt-lp-footer-grid--3 .dt-lp-footer-about { grid-column: auto; }
514
+ }
515
+ .dt-lp-footer-about p { margin-top: 0.75rem; max-width: 24rem; line-height: 1.65; }
516
+ .dt-lp-org { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; flex-shrink: 0; }
517
+ .dt-lp-org-name { font-size: 1.125rem; font-weight: 800; color: var(--dt-lp-text); }
518
+ :root[data-theme='dark'] .dt-lp-org svg g, .dark .dt-lp-org svg g, .dt-landing[data-theme='dark'] .dt-lp-org svg g { stroke: #2dd4bf; }
519
+ .dt-lp-footer-title { font-weight: 600; color: var(--dt-lp-text); }
520
+ .dt-lp-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1.5rem; margin-top: 0.75rem; }
521
+ .dt-lp-footer-links--one { grid-template-columns: minmax(0, 1fr); }
522
+ @media (min-width: 1024px) { .dt-lp-footer-links { grid-template-columns: minmax(0, 1fr); } }
523
+ .dt-lp-footer-links a:hover, .dt-lp-footer-legal a:hover { color: var(--dt-brand-ink); }
524
+ .dt-lp-footer-bar { border-top: 1px solid var(--dt-lp-border); }
525
+ .dt-lp-footer-bar-inner { display: flex; flex-direction: column; gap: 0.25rem; padding-top: 1.25rem; padding-bottom: 1.25rem; font-size: 0.75rem; color: var(--dt-lp-muted); }
526
+ @media (min-width: 640px) { .dt-lp-footer-bar-inner { flex-direction: row; justify-content: space-between; gap: 1rem; } }
527
+ .dt-lp-footer-legal { display: flex; flex-wrap: wrap; gap: 0.75rem; }
528
+ .dt-lp-footer a { display: inline-block; padding: 0.125rem 0; }
529
+
530
+ /* ---- demo dialog ---- */
531
+ .dt-lp-dialog {
532
+ width: calc(100% - 2rem);
533
+ max-width: 36rem;
534
+ margin: auto;
535
+ padding: 0;
536
+ border: 0;
537
+ border-radius: var(--dt-lp-radius-lg);
538
+ background: var(--dt-lp-surface);
539
+ color: var(--dt-lp-text);
540
+ font-family: var(--dt-lp-font);
541
+ font-size: 1rem;
542
+ line-height: 1.5;
543
+ box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.35);
544
+ }
545
+ .dt-lp-dialog::backdrop { background: rgb(11 15 23 / 0.6); }
546
+ :where(.dt-lp-dialog) :where(h2, p) { margin: 0; }
547
+ .dt-lp-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--dt-lp-border); }
548
+ .dt-lp-dialog-head h2 { font-size: 1.125rem; font-weight: 700; }
549
+ .dt-lp-dialog-x { display: inline-grid; place-items: center; padding: 0.375rem; border: 0; border-radius: 0.375rem; background: transparent; color: var(--dt-lp-muted); cursor: pointer; }
550
+ .dt-lp-dialog-x:hover { background: var(--dt-lp-muted-bg); }
551
+ .dt-lp-dialog-body { max-height: 75vh; max-height: 75dvh; overflow-y: auto; padding: 1.25rem; }
552
+ .dt-lp-stack > * + * { margin-top: 1rem; }
553
+ .dt-lp-fields { display: grid; gap: 0.75rem; }
554
+ @media (min-width: 640px) { .dt-lp-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
555
+ .dt-lp-field { display: block; font-size: 0.875rem; font-weight: 500; color: var(--dt-lp-text); }
556
+ .dt-lp-field--wide { grid-column: 1 / -1; }
557
+ .dt-lp-input {
558
+ display: block; width: 100%; margin-top: 0.25rem; padding: 0.5rem 0.75rem;
559
+ border: 1px solid var(--dt-lp-border); border-radius: 0.5rem; background: var(--dt-lp-surface); color: var(--dt-lp-text);
560
+ font: inherit; font-size: 0.875rem; line-height: 1.5;
561
+ }
562
+ .dt-lp-input:focus { outline: none; border-color: var(--dt-brand); box-shadow: 0 0 0 3px color-mix(in oklab, var(--dt-brand) 25%, transparent); }
563
+ @media (max-width: 639px) { .dt-lp-input { font-size: 16px; } }
564
+ .dt-lp-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
565
+ .dt-lp-consent { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: var(--dt-lp-text); }
566
+ .dt-lp-consent input { margin-top: 0.2rem; width: 1rem; height: 1rem; accent-color: var(--dt-brand); flex-shrink: 0; }
567
+ .dt-lp-fineprint { font-size: 0.75rem; color: var(--dt-lp-muted); }
568
+ .dt-lp-fineprint a { color: inherit; text-decoration: underline; }
569
+ .dt-lp-error {
570
+ padding: 0.5rem 0.75rem; border: 1px solid #fecdca; border-radius: 0.5rem;
571
+ background: #fef3f2; color: #b42318; font-size: 0.875rem;
572
+ }
573
+ :root[data-theme='dark'] .dt-lp-error, .dark .dt-lp-error { background: #2a1513; border-color: #7a271a; color: #fda29b; }
574
+
575
+ /* ── 0.1.1: product extension points ───────────────────────────────────── */
576
+
577
+ /* Hero backdrop: a decorative illustration behind the copy. */
578
+ .dt-lp-hero-backdrop { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
579
+ .dt-lp-hero-backdrop > * { max-width: 100%; }
580
+
581
+ /* Several calls to action side by side. */
582
+ .dt-lp-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
583
+ .dt-lp-intro--center + .dt-lp-ctas, .dt-lp-grid + .dt-lp-ctas, .dt-lp-footnote + .dt-lp-ctas { justify-content: center; }
584
+
585
+ /* Card kicker (item.label). */
586
+ .dt-lp-card .dt-lp-kicker { margin: 0 0 0.375rem; }
587
+
588
+ /* media: a section's visual side (a product preview, a figure, an illustration). */
589
+ .dt-lp-media { min-width: 0; max-width: 100%; }
590
+ .dt-lp-media img, .dt-lp-media svg { max-width: 100%; height: auto; }
591
+ .dt-lp-media table { max-width: 100%; }
592
+ @media (min-width: 1024px) {
593
+ .dt-lp-split.dt-lp-pair--reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
594
+ .dt-lp-split--wide.dt-lp-pair--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
595
+ .dt-lp-band.dt-lp-pair--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
596
+ }
597
+ .dt-lp-inline-items { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.5rem; font-size: 0.875rem; color: var(--dt-lp-body); }
598
+ .dt-lp-inline-items li { display: flex; align-items: flex-start; gap: 0.625rem; min-width: 0; max-width: 100%; }
599
+ .dt-lp-inline-items svg { color: var(--dt-brand-ink); flex-shrink: 0; }
600
+ .dt-lp-tone--dark .dt-lp-inline-items { color: inherit; }
601
+ .dt-lp-tone--dark .dt-lp-inline-items svg { color: var(--dt-brand-accent); }
602
+ .dt-lp-inline-title { display: block; font-weight: 600; color: var(--dt-lp-text); }
603
+ .dt-lp-tone--dark .dt-lp-inline-title { color: inherit; }
604
+ .dt-lp-inline-body { display: block; margin-top: 0.125rem; }
605
+ .dt-lp-intro .dt-lp-checklist { margin-top: 1.5rem; font-size: 1rem; font-weight: 400; }
606
+
607
+ /* Audiences: an illustration beside the heading, a short icon list. */
608
+ @media (min-width: 1024px) {
609
+ .dt-lp-grid--audiences.dt-lp-grid--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
610
+ .dt-lp-grid--audiences.dt-lp-grid--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
611
+ }
612
+ .dt-lp-audience-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
613
+ .dt-lp-audience-head > div:first-child { min-width: 0; flex: 1; }
614
+ .dt-lp-audience-media { display: none; width: 8rem; flex-shrink: 0; }
615
+ @media (min-width: 640px) { .dt-lp-audience-media { display: block; } }
616
+ .dt-lp-audience-media svg, .dt-lp-audience-media img { width: 100%; height: auto; }
617
+ .dt-lp-audience-features {
618
+ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0.5rem 0 1.25rem;
619
+ font-size: 0.875rem; line-height: 1.35; color: var(--dt-lp-body); align-content: start;
620
+ }
621
+ @media (min-width: 640px) { .dt-lp-grid--n2 .dt-lp-audience-features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
622
+ .dt-lp-audience-features li { display: flex; align-items: center; gap: 0.625rem; min-width: 0; }
623
+ .dt-lp-audience-features svg { color: var(--dt-brand-ink); flex-shrink: 0; }
624
+
625
+ /* Closing CTA: "what to tell us" note and a quiet link. */
626
+ .dt-lp-cta-note {
627
+ margin: 2rem auto 0; max-width: 40rem; padding: 1.25rem; text-align: left;
628
+ border-radius: var(--dt-lp-radius); background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.25);
629
+ }
630
+ .dt-lp-cta-note .dt-lp-h3 { color: #fff; }
631
+ .dt-lp-cta-note p { margin-top: 0.375rem; font-size: 0.875rem; color: rgb(255 255 255 / 0.85); }
632
+ .dt-lp-cta-link { margin-top: 1rem; font-size: 0.875rem; }
633
+ .dt-lp-cta-link a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
634
+
635
+ /* Demo form: an error under its field. */
636
+ .dt-lp-field-error { display: block; margin-top: 0.25rem; font-size: 0.8125rem; font-weight: 400; color: #b42318; }
637
+ .dark .dt-lp-field-error, :root[data-theme='dark'] .dt-lp-field-error { color: #fda29b; }
638
+ .dt-lp-input[aria-invalid='true'] { border-color: #f04438; }
639
+
640
+ /* ── AuthShell (.dt-auth) ───────────────────────────────────────────────── */
641
+
642
+ /*
643
+ * @dreamtree-org/auth-kit — the shared auth frame.
644
+ * A product sets --dt-brand (and optionally --dt-brand-accent / --dt-brand-panel)
645
+ * through the `brand` prop; every other colour is derived here so all products
646
+ * share the same contrast, spacing and shape.
647
+ */
648
+ .dt-auth {
649
+ --dt-brand: #1e3a6e;
650
+ --dt-brand-accent: var(--dt-brand);
651
+ --dt-brand-panel: color-mix(in oklab, var(--dt-brand) 82%, black);
652
+ --dt-brand-soft: color-mix(in oklab, var(--dt-brand) 12%, white);
653
+ --dt-auth-bg: #f6f7f9;
654
+ --dt-auth-card: #ffffff;
655
+ --dt-auth-border: #e4e7ec;
656
+ --dt-auth-text: #101828;
657
+ --dt-auth-muted: #667085;
658
+ --dt-auth-radius: 0.75rem;
659
+ --dt-auth-font: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
660
+
661
+ display: flex;
662
+ flex-direction: column;
663
+ min-height: 100vh;
664
+ min-height: 100dvh;
665
+ background: var(--dt-auth-bg);
666
+ color: var(--dt-auth-text);
667
+ font-family: var(--dt-auth-font);
668
+ padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom)
669
+ env(safe-area-inset-left);
670
+ overflow-x: hidden;
671
+ -webkit-text-size-adjust: 100%;
672
+ }
673
+ .dt-auth *,
674
+ .dt-auth *::before,
675
+ .dt-auth *::after { box-sizing: border-box; }
676
+
677
+ :root[data-theme='dark'] .dt-auth,
678
+ .dark .dt-auth {
679
+ --dt-brand-panel: color-mix(in oklab, var(--dt-brand) 55%, #0b0f17);
680
+ --dt-auth-bg: #0b0f17;
681
+ --dt-auth-card: #131a26;
682
+ --dt-auth-border: #243042;
683
+ --dt-auth-text: #e6eaf2;
684
+ --dt-auth-muted: #98a2b3;
685
+ }
686
+
687
+ /* Platform doors get a darker, unmistakable panel so an admin never confuses them */
688
+ .dt-auth--platform { --dt-brand-panel: color-mix(in oklab, var(--dt-brand) 30%, #0b0f17); }
689
+
690
+ /* ---- brand panel (desktop only) ---- */
691
+ .dt-auth-panel { display: none; }
692
+ @media (min-width: 1024px) {
693
+ .dt-auth { flex-direction: row; }
694
+ .dt-auth-panel {
695
+ display: flex;
696
+ flex-direction: column;
697
+ justify-content: space-between;
698
+ width: 40%;
699
+ max-width: 640px;
700
+ padding: 2.5rem;
701
+ background: var(--dt-brand-panel);
702
+ color: #fff;
703
+ }
704
+ }
705
+ .dt-auth-brand {
706
+ display: inline-flex;
707
+ align-items: center;
708
+ gap: 0.5rem;
709
+ color: inherit;
710
+ text-decoration: none;
711
+ }
712
+ .dt-auth-brand-name { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
713
+ .dt-auth-brand--mobile {
714
+ display: flex;
715
+ flex-wrap: wrap;
716
+ justify-content: center;
717
+ text-align: center;
718
+ margin-bottom: 1.5rem;
719
+ color: var(--dt-brand);
720
+ }
721
+ .dt-auth-brand--mobile .dt-auth-brand-name { font-size: 1.125rem; }
722
+ @media (min-width: 1024px) { .dt-auth-brand--mobile { display: none; } }
723
+
724
+ .dt-auth-monogram {
725
+ display: inline-grid;
726
+ place-items: center;
727
+ border-radius: 0.5rem;
728
+ background: var(--dt-brand-accent);
729
+ color: #fff;
730
+ font-weight: 800;
731
+ font-size: 0.95em;
732
+ }
733
+ .dt-auth-panel .dt-auth-monogram { background: var(--dt-brand-accent); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.2); }
734
+ .dt-auth-mark-img { display: block; object-fit: contain; }
735
+ /* A dark logo must stay visible on the dark brand panel */
736
+ .dt-auth-panel .dt-auth-mark-img { background: #fff; border-radius: 0.375rem; padding: 0.1875rem; }
737
+ .dt-auth-mark-node { display: inline-flex; color: var(--dt-brand-accent); }
738
+ .dt-auth-panel .dt-auth-mark-node { color: var(--dt-brand-accent); }
739
+
740
+ .dt-auth-badge {
741
+ margin-left: 0.25rem;
742
+ padding: 0.125rem 0.5rem;
743
+ border-radius: 999px;
744
+ font-size: 0.6875rem;
745
+ font-weight: 600;
746
+ letter-spacing: 0.04em;
747
+ text-transform: uppercase;
748
+ background: rgb(255 255 255 / 0.14);
749
+ border: 1px solid rgb(255 255 255 / 0.24);
750
+ }
751
+ .dt-auth-brand--mobile .dt-auth-badge { background: var(--dt-brand-soft); border-color: transparent; }
752
+
753
+ .dt-auth-pitch h2 { margin: 0; color: #fff; font-size: 1.875rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
754
+ .dt-auth-pitch p { margin: 1rem 0 0; max-width: 28rem; line-height: 1.6; color: rgb(255 255 255 / 0.8); }
755
+ .dt-auth-pitch ul { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.625rem; }
756
+ .dt-auth-pitch li { position: relative; padding-left: 1.5rem; color: rgb(255 255 255 / 0.88); font-size: 0.9375rem; }
757
+ .dt-auth-pitch li::before {
758
+ content: '';
759
+ position: absolute;
760
+ left: 0;
761
+ top: 0.45em;
762
+ width: 0.625rem;
763
+ height: 0.625rem;
764
+ border-radius: 999px;
765
+ background: var(--dt-brand-accent);
766
+ box-shadow: 0 0 0 3px rgb(255 255 255 / 0.15);
767
+ }
768
+ .dt-auth-panel-foot { margin: 0; font-size: 0.75rem; color: rgb(255 255 255 / 0.6); }
769
+
770
+ /* ---- form side ---- */
771
+ .dt-auth-main {
772
+ display: flex;
773
+ flex: 1;
774
+ align-items: center;
775
+ justify-content: center;
776
+ padding: 1rem;
777
+ }
778
+ @media (min-width: 640px) { .dt-auth-main { padding: 2rem; } }
779
+ .dt-auth-column { width: 100%; max-width: 28rem; }
780
+ .dt-auth-card {
781
+ background: var(--dt-auth-card);
782
+ border: 1px solid var(--dt-auth-border);
783
+ border-radius: var(--dt-auth-radius);
784
+ box-shadow: 0 1px 2px rgb(16 24 40 / 0.05);
785
+ padding: 1.5rem;
786
+ }
787
+ @media (min-width: 640px) { .dt-auth-card { padding: 2rem; } }
788
+ .dt-auth-head { margin-bottom: 1.5rem; }
789
+ .dt-auth-head h1 { margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--dt-auth-text); }
790
+ .dt-auth-head p { margin: 0.25rem 0 0; font-size: 0.875rem; color: var(--dt-auth-muted); }
791
+
792
+ .dt-auth-footer { margin-top: 1rem; text-align: center; font-size: 0.875rem; color: var(--dt-auth-muted); }
793
+ /* Host apps often colour bare h2/p globally (Tailwind @layer base); keep the frame's own colours */
794
+ .dt-auth-footer p { color: inherit; }
795
+ /* Only real links take the brand colour; an inert <a> (no href, or aria-disabled) keeps its own style */
796
+ .dt-auth-footer a[href]:not([aria-disabled='true']) { color: var(--dt-brand); font-weight: 500; text-decoration: none; }
797
+ .dt-auth-footer a[href]:not([aria-disabled='true']):hover { text-decoration: underline; }
798
+ .dt-auth-legal {
799
+ display: flex;
800
+ flex-wrap: wrap;
801
+ justify-content: center;
802
+ gap: 0.75rem;
803
+ margin-top: 0.75rem;
804
+ font-size: 0.75rem;
805
+ color: var(--dt-auth-muted);
806
+ }
807
+ .dt-auth-legal-item { display: inline-flex; align-items: center; gap: 0.75rem; }
808
+ .dt-auth-legal-link { color: inherit; text-decoration: none; }
809
+ .dt-auth-legal-link:hover { color: var(--dt-brand); text-decoration: underline; }
810
+
811
+ /* ---- phones ---- */
812
+ .dt-auth-column,
813
+ .dt-auth-card { min-width: 0; }
814
+ .dt-auth-card { overflow-wrap: anywhere; }
815
+ .dt-auth-legal-link,
816
+ .dt-auth-footer a { display: inline-block; padding: 0.375rem 0.125rem; } /* ≥24px tap target */
817
+ @media (max-width: 639px) {
818
+ /* iOS Safari zooms into any focused field under 16px — keep the page still */
819
+ .dt-auth input,
820
+ .dt-auth select,
821
+ .dt-auth textarea { font-size: 16px; }
822
+ .dt-auth-main { align-items: flex-start; padding-top: 2rem; }
823
+ }
824
+ @media (max-width: 359px) {
825
+ .dt-auth-main { padding: 1.25rem 0.75rem; }
826
+ .dt-auth-card { padding: 1.125rem; border-radius: 0.625rem; }
827
+ .dt-auth-head h1 { font-size: 1.125rem; }
828
+ }
829
+ /* Short landscape phones: don't vertically centre a form taller than the screen */
830
+ @media (max-height: 560px) {
831
+ .dt-auth-main { align-items: flex-start; }
832
+ }
833
+
834
+ /* Shared helpers for form content inside the card */
835
+ .dt-auth-link { color: var(--dt-brand); font-weight: 500; font-size: 0.875rem; text-decoration: none; }
836
+ .dt-auth-link:hover { text-decoration: underline; }