@refrakt-md/lumina 0.20.2 → 0.22.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.
Files changed (108) hide show
  1. package/contracts/structures.json +154 -5
  2. package/dist/tokens.d.ts +5 -3
  3. package/dist/tokens.d.ts.map +1 -1
  4. package/dist/tokens.js +42 -3
  5. package/dist/tokens.js.map +1 -1
  6. package/index.css +2 -0
  7. package/package.json +6 -5
  8. package/styles/dimensions/checklist.css +1 -1
  9. package/styles/dimensions/cover.css +18 -0
  10. package/styles/dimensions/density.css +3 -0
  11. package/styles/dimensions/frame.css +4 -4
  12. package/styles/dimensions/metadata.css +6 -6
  13. package/styles/dimensions/sections.css +12 -15
  14. package/styles/dimensions/sequence.css +3 -3
  15. package/styles/global.css +15 -15
  16. package/styles/layouts/blog.css +31 -31
  17. package/styles/layouts/default.css +9 -9
  18. package/styles/layouts/docs.css +6 -6
  19. package/styles/layouts/mobile.css +2 -2
  20. package/styles/layouts/on-this-page.css +5 -5
  21. package/styles/layouts/plan.css +24 -24
  22. package/styles/layouts/search.css +14 -14
  23. package/styles/layouts/version-switcher.css +6 -6
  24. package/styles/runes/accordion.css +10 -10
  25. package/styles/runes/aggregate.css +1 -1
  26. package/styles/runes/annotate.css +5 -5
  27. package/styles/runes/api.css +1 -1
  28. package/styles/runes/audio.css +9 -9
  29. package/styles/runes/badge.css +2 -2
  30. package/styles/runes/bento.css +2 -2
  31. package/styles/runes/blog.css +15 -15
  32. package/styles/runes/bond.css +3 -3
  33. package/styles/runes/breadcrumb.css +2 -2
  34. package/styles/runes/budget.css +20 -20
  35. package/styles/runes/bug.css +2 -2
  36. package/styles/runes/card.css +3 -3
  37. package/styles/runes/cast.css +5 -5
  38. package/styles/runes/changelog.css +8 -8
  39. package/styles/runes/character.css +3 -3
  40. package/styles/runes/chart.css +5 -5
  41. package/styles/runes/codegroup.css +3 -3
  42. package/styles/runes/collection.css +3 -3
  43. package/styles/runes/compare.css +5 -5
  44. package/styles/runes/comparison.css +22 -22
  45. package/styles/runes/conversation.css +4 -4
  46. package/styles/runes/cta.css +14 -14
  47. package/styles/runes/datatable.css +8 -8
  48. package/styles/runes/decision.css +2 -2
  49. package/styles/runes/design-context.css +2 -2
  50. package/styles/runes/details.css +4 -4
  51. package/styles/runes/diagram.css +3 -3
  52. package/styles/runes/diff.css +6 -6
  53. package/styles/runes/drawer.css +8 -8
  54. package/styles/runes/embed.css +1 -1
  55. package/styles/runes/event.css +2 -2
  56. package/styles/runes/expand.css +5 -5
  57. package/styles/runes/faction.css +3 -3
  58. package/styles/runes/feature.css +23 -11
  59. package/styles/runes/figure.css +3 -3
  60. package/styles/runes/form.css +16 -16
  61. package/styles/runes/gallery.css +7 -7
  62. package/styles/runes/hero.css +116 -14
  63. package/styles/runes/hint.css +7 -7
  64. package/styles/runes/howto.css +6 -6
  65. package/styles/runes/itinerary.css +12 -12
  66. package/styles/runes/juxtapose.css +6 -6
  67. package/styles/runes/lore.css +4 -4
  68. package/styles/runes/map.css +6 -6
  69. package/styles/runes/mediatext.css +1 -1
  70. package/styles/runes/milestone.css +12 -12
  71. package/styles/runes/mockup.css +7 -7
  72. package/styles/runes/nav.css +34 -34
  73. package/styles/runes/organization.css +3 -3
  74. package/styles/runes/pagination.css +5 -5
  75. package/styles/runes/palette.css +13 -13
  76. package/styles/runes/placeholder.css +16 -0
  77. package/styles/runes/plan-history.css +20 -20
  78. package/styles/runes/plan-progress.css +3 -3
  79. package/styles/runes/plan-ref.css +1 -1
  80. package/styles/runes/playlist.css +8 -8
  81. package/styles/runes/plot.css +6 -6
  82. package/styles/runes/preview.css +6 -6
  83. package/styles/runes/pricing.css +16 -16
  84. package/styles/runes/progress.css +2 -2
  85. package/styles/runes/pullquote.css +6 -5
  86. package/styles/runes/realm.css +3 -3
  87. package/styles/runes/recipe.css +9 -9
  88. package/styles/runes/relationships.css +2 -2
  89. package/styles/runes/reveal.css +10 -10
  90. package/styles/runes/sandbox.css +52 -2
  91. package/styles/runes/section.css +70 -0
  92. package/styles/runes/sidenote.css +2 -2
  93. package/styles/runes/spacing.css +11 -11
  94. package/styles/runes/spec.css +2 -2
  95. package/styles/runes/steps.css +22 -10
  96. package/styles/runes/storyboard.css +2 -2
  97. package/styles/runes/swatch.css +1 -1
  98. package/styles/runes/symbol.css +10 -10
  99. package/styles/runes/tabs.css +9 -9
  100. package/styles/runes/testimonial.css +7 -7
  101. package/styles/runes/textblock.css +4 -4
  102. package/styles/runes/timeline.css +7 -7
  103. package/styles/runes/toc.css +4 -4
  104. package/styles/runes/track.css +10 -10
  105. package/styles/runes/typography.css +12 -12
  106. package/styles/runes/work.css +2 -2
  107. package/tokens/base.css +43 -66
  108. package/tokens/dark.css +76 -80
@@ -14,12 +14,12 @@
14
14
  }
15
15
 
16
16
  .rf-progress__label {
17
- font-weight: 600;
17
+ font-weight: var(--rf-weight-semibold);
18
18
  color: var(--rf-color-text);
19
19
  }
20
20
 
21
21
  .rf-progress__value {
22
- font-weight: 600;
22
+ font-weight: var(--rf-weight-semibold);
23
23
  color: var(--rf-color-text);
24
24
  margin-left: auto;
25
25
  }
@@ -3,10 +3,10 @@
3
3
  margin: 2rem 0;
4
4
  padding: 1.5rem 2rem;
5
5
  border: none;
6
- font-size: 1.375rem;
6
+ font-size: var(--rf-text-xl);
7
7
  font-style: italic;
8
- font-weight: 500;
9
- line-height: 1.5;
8
+ font-weight: var(--rf-weight-medium);
9
+ line-height: var(--rf-leading-normal);
10
10
  color: var(--rf-color-text);
11
11
  background: none;
12
12
  border-radius: 0;
@@ -17,9 +17,10 @@
17
17
  position: absolute;
18
18
  top: -0.25rem;
19
19
  left: 0;
20
+ /* Decorative oversized quote glyph — a display one-off above the type scale. */
20
21
  font-size: 4rem;
21
22
  font-style: normal;
22
- font-weight: 700;
23
+ font-weight: var(--rf-weight-bold);
23
24
  line-height: 1;
24
25
  color: var(--rf-color-primary);
25
26
  opacity: 0.4;
@@ -89,7 +90,7 @@
89
90
  border-bottom: 2px solid var(--rf-color-border);
90
91
  padding: 1.75rem 0;
91
92
  font-family: Georgia, 'Times New Roman', serif;
92
- letter-spacing: 0.01em;
93
+ letter-spacing: var(--rf-tracking-normal);
93
94
  }
94
95
  .rf-pullquote--editorial::before {
95
96
  display: none;
@@ -59,9 +59,9 @@
59
59
  }
60
60
  .rf-realm-section__name {
61
61
  display: block;
62
- font-size: 1.25rem;
63
- font-weight: 700;
64
- line-height: 1.3;
62
+ font-size: var(--rf-text-xl);
63
+ font-weight: var(--rf-weight-bold);
64
+ line-height: var(--rf-leading-snug);
65
65
  margin-bottom: 0.5rem;
66
66
  color: var(--rf-color-text);
67
67
  }
@@ -35,9 +35,9 @@
35
35
  }
36
36
 
37
37
  .rf-recipe .rf-recipe__eyebrow {
38
- font-size: 0.8rem;
39
- font-weight: 600;
40
- letter-spacing: 0.06em;
38
+ font-size: var(--rf-text-xs);
39
+ font-weight: var(--rf-weight-semibold);
40
+ letter-spacing: var(--rf-tracking-wider);
41
41
  text-transform: uppercase;
42
42
  color: var(--rf-color-primary);
43
43
  margin: 0 0 0.375rem;
@@ -73,7 +73,7 @@
73
73
  }
74
74
  .rf-recipe__content ul li {
75
75
  padding: 0.2rem 0;
76
- line-height: 1.6;
76
+ line-height: var(--rf-leading-relaxed);
77
77
  }
78
78
  .rf-recipe__content ul li::marker {
79
79
  color: var(--rf-color-primary);
@@ -91,7 +91,7 @@
91
91
  padding: 0.625rem 0;
92
92
  padding-left: 2.25rem;
93
93
  position: relative;
94
- line-height: 1.65;
94
+ line-height: var(--rf-leading-relaxed);
95
95
  }
96
96
  .rf-recipe__content ol > li + li {
97
97
  border-top: 1px solid var(--rf-color-border);
@@ -106,8 +106,8 @@
106
106
  display: flex;
107
107
  align-items: center;
108
108
  justify-content: center;
109
- font-size: 0.75rem;
110
- font-weight: 700;
109
+ font-size: var(--rf-text-xs);
110
+ font-weight: var(--rf-weight-bold);
111
111
  color: var(--rf-color-primary);
112
112
  background: var(--rf-color-surface);
113
113
  border-radius: var(--rf-radius-full);
@@ -125,10 +125,10 @@
125
125
  border-radius: 0 var(--rf-radius-md) var(--rf-radius-md) 0;
126
126
  padding: 0.75rem 1.25rem;
127
127
  margin: 0;
128
- font-size: 0.9125rem;
128
+ font-size: var(--rf-text-sm);
129
129
  font-style: italic;
130
130
  color: var(--rf-color-muted);
131
- line-height: 1.6;
131
+ line-height: var(--rf-leading-relaxed);
132
132
  }
133
133
  .rf-recipe__content blockquote p {
134
134
  margin: 0;
@@ -79,7 +79,7 @@
79
79
  margin: 0 0 var(--rf-spacing-sm);
80
80
  font-size: 0.875em;
81
81
  text-transform: uppercase;
82
- letter-spacing: 0.05em;
82
+ letter-spacing: var(--rf-tracking-wider);
83
83
  color: var(--rf-color-muted);
84
84
  }
85
85
 
@@ -118,7 +118,7 @@
118
118
  }
119
119
 
120
120
  .rf-relationships__title {
121
- font-weight: 600;
121
+ font-weight: var(--rf-weight-semibold);
122
122
  color: var(--rf-color-text);
123
123
  text-decoration: none;
124
124
  }
@@ -3,9 +3,9 @@
3
3
  margin-bottom: 1.5rem;
4
4
  }
5
5
  .rf-reveal__eyebrow {
6
- font-size: 0.8125rem;
7
- font-weight: 600;
8
- letter-spacing: 0.05em;
6
+ font-size: var(--rf-text-sm);
7
+ font-weight: var(--rf-weight-semibold);
8
+ letter-spacing: var(--rf-tracking-wider);
9
9
  text-transform: uppercase;
10
10
  color: var(--rf-color-primary);
11
11
  margin: 0 0 0.5rem;
@@ -17,13 +17,13 @@
17
17
  border: 1px solid var(--rf-color-border);
18
18
  border-radius: var(--rf-radius-full);
19
19
  color: var(--rf-color-text);
20
- font-weight: 400;
20
+ font-weight: var(--rf-weight-normal);
21
21
  text-transform: none;
22
- letter-spacing: 0;
22
+ letter-spacing: var(--rf-tracking-normal);
23
23
  transition: border-color 150ms ease;
24
24
  }
25
25
  .rf-reveal__eyebrow:has(a):hover { border-color: var(--rf-color-muted); }
26
- .rf-reveal__eyebrow:has(a) a { color: var(--rf-color-primary); font-weight: 600; text-decoration: none; }
26
+ .rf-reveal__eyebrow:has(a) a { color: var(--rf-color-primary); font-weight: var(--rf-weight-semibold); text-decoration: none; }
27
27
  .rf-reveal__eyebrow:has(a) a::before { content: ''; position: absolute; inset: 0; border-radius: inherit; }
28
28
  .rf-reveal__headline {
29
29
  margin-top: 0;
@@ -59,8 +59,8 @@
59
59
  border-bottom: 1px solid var(--rf-color-border);
60
60
  }
61
61
  .rf-reveal-step__title {
62
- font-size: 1.125rem;
63
- font-weight: 600;
62
+ font-size: var(--rf-text-lg);
63
+ font-weight: var(--rf-weight-semibold);
64
64
  margin: 0 0 0.5rem;
65
65
  }
66
66
  .rf-reveal-step__body > span[property],
@@ -77,8 +77,8 @@
77
77
  border-radius: var(--rf-radius-md);
78
78
  background: var(--rf-color-surface);
79
79
  color: var(--rf-color-text);
80
- font-size: 0.875rem;
81
- font-weight: 500;
80
+ font-size: var(--rf-text-sm);
81
+ font-weight: var(--rf-weight-medium);
82
82
  cursor: pointer;
83
83
  transition: background 0.15s;
84
84
  }
@@ -30,10 +30,60 @@
30
30
  .rf-sandbox__untrusted-banner {
31
31
  display: block;
32
32
  padding: 0.5rem 0.75rem;
33
- font-size: 0.8125rem;
33
+ font-size: var(--rf-text-sm);
34
34
  line-height: 1.25rem;
35
- font-weight: 600;
35
+ font-weight: var(--rf-weight-semibold);
36
36
  color: var(--rf-color-warning);
37
37
  background: var(--rf-color-warning-bg, #fef3c7);
38
38
  border-bottom: 1px solid var(--rf-color-warning, #b45309);
39
39
  }
40
+
41
+ /* Deferred activation (WORK-381): poster shown until a non-eager sandbox
42
+ mounts. Rendered by the RfSandbox custom element from `data-poster`. */
43
+ .rf-sandbox__poster {
44
+ position: relative;
45
+ display: flex;
46
+ align-items: center;
47
+ justify-content: center;
48
+ min-height: 150px;
49
+ background: var(--rf-color-surface-2, var(--rf-color-surface, #f4f4f5));
50
+ }
51
+
52
+ .rf-sandbox__poster-image {
53
+ position: absolute;
54
+ inset: 0;
55
+ width: 100%;
56
+ height: 100%;
57
+ object-fit: cover;
58
+ }
59
+
60
+ .rf-sandbox__activate {
61
+ position: relative;
62
+ z-index: 1;
63
+ display: inline-flex;
64
+ align-items: center;
65
+ gap: 0.5ch;
66
+ padding: 0.5rem 1rem;
67
+ font: inherit;
68
+ font-weight: var(--rf-weight-semibold);
69
+ color: var(--rf-color-on-accent, #fff);
70
+ background: var(--rf-color-accent, #2563eb);
71
+ border: none;
72
+ border-radius: var(--rf-radius-md);
73
+ cursor: pointer;
74
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
75
+ }
76
+
77
+ .rf-sandbox__activate::before {
78
+ content: "▶";
79
+ font-size: 0.85em;
80
+ }
81
+
82
+ .rf-sandbox__activate:hover {
83
+ background: var(--rf-color-accent-hover, var(--rf-color-accent, #1d4ed8));
84
+ }
85
+
86
+ .rf-sandbox__activate:focus-visible {
87
+ outline: 2px solid var(--rf-color-accent, #2563eb);
88
+ outline-offset: 2px;
89
+ }
@@ -0,0 +1,70 @@
1
+ /* Section — a generic page section: an eyebrow/headline/blurb header above
2
+ arbitrary body content. Header styling mirrors the shared page-section look
3
+ (reveal/feature); the body is content-agnostic and full width. */
4
+ .rf-section {
5
+ display: flex;
6
+ flex-direction: column;
7
+ gap: 1.5rem;
8
+ }
9
+
10
+ /* Header */
11
+ .rf-section__preamble {
12
+ display: flex;
13
+ flex-direction: column;
14
+ gap: 0.5rem;
15
+ max-width: var(--rf-measure, 65ch);
16
+ margin: 0;
17
+ }
18
+ .rf-section__eyebrow {
19
+ font-size: var(--rf-text-sm);
20
+ font-weight: var(--rf-weight-semibold);
21
+ letter-spacing: var(--rf-tracking-wider);
22
+ text-transform: uppercase;
23
+ color: var(--rf-color-primary);
24
+ margin: 0;
25
+ }
26
+ .rf-section__eyebrow:has(a) {
27
+ display: inline-block;
28
+ position: relative;
29
+ padding: 0.25rem 0.875rem;
30
+ border: 1px solid var(--rf-color-border);
31
+ border-radius: var(--rf-radius-full);
32
+ color: var(--rf-color-text);
33
+ font-weight: var(--rf-weight-normal);
34
+ text-transform: none;
35
+ letter-spacing: var(--rf-tracking-normal);
36
+ transition: border-color 150ms ease;
37
+ }
38
+ .rf-section__eyebrow:has(a):hover { border-color: var(--rf-color-muted); }
39
+ .rf-section__eyebrow:has(a) a { color: var(--rf-color-primary); font-weight: var(--rf-weight-semibold); text-decoration: none; }
40
+ .rf-section__eyebrow:has(a) a::before { content: ''; position: absolute; inset: 0; border-radius: inherit; }
41
+ .rf-section__headline {
42
+ margin: 0;
43
+ }
44
+ .rf-section__blurb {
45
+ color: var(--rf-color-muted);
46
+ margin: 0;
47
+ }
48
+ .rf-section__image {
49
+ margin: 0;
50
+ border-radius: var(--rf-radius-md);
51
+ max-width: 100%;
52
+ height: auto;
53
+ }
54
+
55
+ /* Body — content-agnostic; fills the section width regardless of header align. */
56
+ .rf-section__body {
57
+ width: 100%;
58
+ }
59
+
60
+ /* Header alignment (the body stays full width). */
61
+ .rf-section[data-align="center"] .rf-section__preamble {
62
+ align-items: center;
63
+ text-align: center;
64
+ margin-inline: auto;
65
+ }
66
+ .rf-section[data-align="end"] .rf-section__preamble {
67
+ align-items: flex-end;
68
+ text-align: end;
69
+ margin-inline-start: auto;
70
+ }
@@ -1,8 +1,8 @@
1
1
  /* Sidenote */
2
2
  .rf-sidenote {
3
3
  margin: 1rem 0;
4
- font-size: 0.875rem;
5
- line-height: 1.6;
4
+ font-size: var(--rf-text-sm);
5
+ line-height: var(--rf-leading-relaxed);
6
6
  }
7
7
  .rf-sidenote--sidenote {
8
8
  border-left: 3px solid var(--rf-color-primary);
@@ -1,7 +1,7 @@
1
1
  /* Spacing — spacing scale, radii, and shadow display */
2
2
  .rf-spacing__title {
3
- font-size: 1.125rem;
4
- font-weight: 600;
3
+ font-size: var(--rf-text-lg);
4
+ font-weight: var(--rf-weight-semibold);
5
5
  margin-bottom: 1rem;
6
6
  }
7
7
  .rf-spacing__section {
@@ -11,10 +11,10 @@
11
11
  margin-bottom: 0;
12
12
  }
13
13
  .rf-spacing__section-title {
14
- font-size: 0.8rem;
15
- font-weight: 600;
14
+ font-size: var(--rf-text-xs);
15
+ font-weight: var(--rf-weight-semibold);
16
16
  text-transform: uppercase;
17
- letter-spacing: 0.05em;
17
+ letter-spacing: var(--rf-tracking-wider);
18
18
  color: var(--rf-color-muted);
19
19
  margin-bottom: 0.75rem;
20
20
  }
@@ -38,7 +38,7 @@
38
38
  min-width: 4px;
39
39
  }
40
40
  .rf-spacing__scale-label {
41
- font-size: 0.75rem;
41
+ font-size: var(--rf-text-xs);
42
42
  font-family: var(--rf-font-mono, monospace);
43
43
  color: var(--rf-color-text, #1a1a2e);
44
44
  white-space: nowrap;
@@ -69,11 +69,11 @@
69
69
  background: var(--rf-color-surface-raised, #f9fafb);
70
70
  }
71
71
  .rf-spacing__radius-label {
72
- font-weight: 500;
73
- font-size: 0.8rem;
72
+ font-weight: var(--rf-weight-medium);
73
+ font-size: var(--rf-text-xs);
74
74
  }
75
75
  .rf-spacing__radius-value {
76
- font-size: 0.7rem;
76
+ font-size: var(--rf-text-xs);
77
77
  font-family: var(--rf-font-mono, monospace);
78
78
  color: var(--rf-color-muted);
79
79
  }
@@ -97,8 +97,8 @@
97
97
  border-radius: var(--rf-radius-md, 8px);
98
98
  }
99
99
  .rf-spacing__shadow-label {
100
- font-weight: 500;
101
- font-size: 0.8rem;
100
+ font-weight: var(--rf-weight-medium);
101
+ font-size: var(--rf-text-xs);
102
102
  }
103
103
 
104
104
  /* Context-aware: no outer margin when inside design-context */
@@ -18,8 +18,8 @@
18
18
  }
19
19
 
20
20
  .rf-spec__body {
21
- font-size: 0.925rem;
22
- line-height: 1.65;
21
+ font-size: var(--rf-text-sm);
22
+ line-height: var(--rf-leading-relaxed);
23
23
  }
24
24
  .rf-spec__body blockquote {
25
25
  border-left: 3px solid var(--rf-color-border);
@@ -9,9 +9,9 @@
9
9
  margin-bottom: 1.5rem;
10
10
  }
11
11
  .rf-steps__eyebrow {
12
- font-size: 0.8125rem;
13
- font-weight: 600;
14
- letter-spacing: 0.05em;
12
+ font-size: var(--rf-text-sm);
13
+ font-weight: var(--rf-weight-semibold);
14
+ letter-spacing: var(--rf-tracking-wider);
15
15
  text-transform: uppercase;
16
16
  color: var(--rf-color-primary);
17
17
  margin: 0 0 0.5rem;
@@ -23,13 +23,13 @@
23
23
  border: 1px solid var(--rf-color-border);
24
24
  border-radius: var(--rf-radius-full);
25
25
  color: var(--rf-color-text);
26
- font-weight: 400;
26
+ font-weight: var(--rf-weight-normal);
27
27
  text-transform: none;
28
- letter-spacing: 0;
28
+ letter-spacing: var(--rf-tracking-normal);
29
29
  transition: border-color 150ms ease;
30
30
  }
31
31
  .rf-steps__eyebrow:has(a):hover { border-color: var(--rf-color-muted); }
32
- .rf-steps__eyebrow:has(a) a { color: var(--rf-color-primary); font-weight: 600; text-decoration: none; }
32
+ .rf-steps__eyebrow:has(a) a { color: var(--rf-color-primary); font-weight: var(--rf-weight-semibold); text-decoration: none; }
33
33
  .rf-steps__eyebrow:has(a) a::before { content: ''; position: absolute; inset: 0; border-radius: inherit; }
34
34
  .rf-steps__headline {
35
35
  margin-top: 0;
@@ -72,8 +72,8 @@
72
72
  display: flex;
73
73
  align-items: center;
74
74
  justify-content: center;
75
- font-weight: 700;
76
- font-size: 0.75rem;
75
+ font-weight: var(--rf-weight-bold);
76
+ font-size: var(--rf-text-xs);
77
77
  font-variant-numeric: tabular-nums;
78
78
  }
79
79
  .rf-step h1,
@@ -94,10 +94,22 @@
94
94
  margin-top: 0;
95
95
  }
96
96
  .rf-step p {
97
- font-size: 0.925rem;
98
- line-height: 1.65;
97
+ font-size: var(--rf-text-sm);
98
+ line-height: var(--rf-leading-relaxed);
99
99
  }
100
100
  .rf-step__media {
101
101
  border-radius: var(--rf-radius-md);
102
102
  overflow: hidden;
103
103
  }
104
+
105
+ /* BUG-001 — content-first DOM inverts the shared media-first stacked contract
106
+ * (layouts/split.css): counter it so the labels are truthful. `bottom` (the
107
+ * default) is plain block flow — media after the content, the historical
108
+ * look; an explicit `top` flips the visual order without touching the DOM. */
109
+ .rf-step[data-media-position="bottom"] {
110
+ display: block;
111
+ }
112
+ .rf-step[data-media-position="top"] {
113
+ display: flex;
114
+ flex-direction: column-reverse;
115
+ }
@@ -28,7 +28,7 @@
28
28
  }
29
29
  .rf-storyboard--comic .rf-storyboard-panel__body p {
30
30
  font-family: 'Comic Sans MS', 'Chalkboard SE', cursive;
31
- font-size: 0.9375rem;
31
+ font-size: var(--rf-text);
32
32
  text-align: center;
33
33
  margin: 0.5rem 0 0;
34
34
  }
@@ -40,7 +40,7 @@
40
40
  border-radius: 2px;
41
41
  }
42
42
  .rf-storyboard--polaroid .rf-storyboard-panel__body p {
43
- font-size: 0.8125rem;
43
+ font-size: var(--rf-text-sm);
44
44
  text-align: center;
45
45
  color: var(--rf-color-muted);
46
46
  margin: 0.5rem 0 0;
@@ -18,7 +18,7 @@
18
18
  flex-shrink: 0;
19
19
  }
20
20
  .rf-swatch__label {
21
- font-weight: 500;
21
+ font-weight: var(--rf-weight-medium);
22
22
  }
23
23
  .rf-swatch__value {
24
24
  color: var(--rf-color-muted);
@@ -7,7 +7,7 @@
7
7
  padding: 0.5rem 0;
8
8
  }
9
9
  .rf-symbol__eyebrow [data-meta-type="link"] {
10
- font-size: 0.75rem;
10
+ font-size: var(--rf-text-xs);
11
11
  color: var(--rf-color-muted);
12
12
  text-decoration: none;
13
13
  }
@@ -37,7 +37,7 @@
37
37
  .rf-symbol__body > div > ul > li {
38
38
  padding: 0.375rem 0;
39
39
  border-bottom: 1px solid var(--rf-color-border);
40
- font-size: 0.9375rem;
40
+ font-size: var(--rf-text);
41
41
  }
42
42
  .rf-symbol__body > div > ul > li:last-child {
43
43
  border-bottom: none;
@@ -49,7 +49,7 @@
49
49
  }
50
50
  .rf-symbol__body > div > ul > li > ul > li {
51
51
  padding: 0.25rem 0;
52
- font-size: 0.875rem;
52
+ font-size: var(--rf-text-sm);
53
53
  color: var(--rf-color-muted);
54
54
  }
55
55
  .rf-symbol__body blockquote {
@@ -57,7 +57,7 @@
57
57
  padding: 0.5rem 1rem;
58
58
  margin: 0.75rem 0;
59
59
  border-radius: 0 var(--rf-radius-sm) var(--rf-radius-sm) 0;
60
- font-size: 0.9375rem;
60
+ font-size: var(--rf-text);
61
61
  }
62
62
  .rf-symbol__body blockquote::before {
63
63
  content: none;
@@ -83,10 +83,10 @@
83
83
  border-top: none;
84
84
  }
85
85
  .rf-symbol-group h3 {
86
- font-size: 0.75rem;
87
- font-weight: 700;
86
+ font-size: var(--rf-text-xs);
87
+ font-weight: var(--rf-weight-bold);
88
88
  text-transform: uppercase;
89
- letter-spacing: 0.05em;
89
+ letter-spacing: var(--rf-tracking-wider);
90
90
  color: var(--rf-color-muted);
91
91
  margin: 0 0 1rem;
92
92
  }
@@ -99,7 +99,7 @@
99
99
  .rf-symbol-member h4 {
100
100
  margin: 0 0 0.5rem;
101
101
  font-family: var(--rf-font-mono);
102
- font-size: 1rem;
102
+ font-size: var(--rf-text);
103
103
  }
104
104
  .rf-symbol-member pre {
105
105
  border-radius: var(--rf-radius-sm);
@@ -112,14 +112,14 @@
112
112
  }
113
113
  .rf-symbol-member li {
114
114
  padding: 0.25rem 0;
115
- font-size: 0.875rem;
115
+ font-size: var(--rf-text-sm);
116
116
  }
117
117
  .rf-symbol-member blockquote {
118
118
  border-left: 3px solid var(--rf-color-border);
119
119
  padding: 0.375rem 0.75rem;
120
120
  margin: 0.5rem 0;
121
121
  border-radius: 0 var(--rf-radius-sm) var(--rf-radius-sm) 0;
122
- font-size: 0.875rem;
122
+ font-size: var(--rf-text-sm);
123
123
  }
124
124
  .rf-symbol-member blockquote::before {
125
125
  content: none;
@@ -3,9 +3,9 @@
3
3
  margin-bottom: 1.5rem;
4
4
  }
5
5
  .rf-tabs__eyebrow {
6
- font-size: 0.8125rem;
7
- font-weight: 600;
8
- letter-spacing: 0.05em;
6
+ font-size: var(--rf-text-sm);
7
+ font-weight: var(--rf-weight-semibold);
8
+ letter-spacing: var(--rf-tracking-wider);
9
9
  text-transform: uppercase;
10
10
  color: var(--rf-color-primary);
11
11
  margin: 0 0 0.5rem;
@@ -17,13 +17,13 @@
17
17
  border: 1px solid var(--rf-color-border);
18
18
  border-radius: var(--rf-radius-full);
19
19
  color: var(--rf-color-text);
20
- font-weight: 400;
20
+ font-weight: var(--rf-weight-normal);
21
21
  text-transform: none;
22
- letter-spacing: 0;
22
+ letter-spacing: var(--rf-tracking-normal);
23
23
  transition: border-color 150ms ease;
24
24
  }
25
25
  .rf-tabs__eyebrow:has(a):hover { border-color: var(--rf-color-muted); }
26
- .rf-tabs__eyebrow:has(a) a { color: var(--rf-color-primary); font-weight: 600; text-decoration: none; }
26
+ .rf-tabs__eyebrow:has(a) a { color: var(--rf-color-primary); font-weight: var(--rf-weight-semibold); text-decoration: none; }
27
27
  .rf-tabs__eyebrow:has(a) a::before { content: ''; position: absolute; inset: 0; border-radius: inherit; }
28
28
  .rf-tabs__headline {
29
29
  margin-top: 0;
@@ -53,8 +53,8 @@
53
53
  .rf-tab {
54
54
  flex: 0 0 auto;
55
55
  padding: 0.625rem 1.25rem;
56
- font-size: 0.875rem;
57
- font-weight: 500;
56
+ font-size: var(--rf-text-sm);
57
+ font-weight: var(--rf-weight-medium);
58
58
  color: var(--rf-color-muted);
59
59
  background: none;
60
60
  border: none;
@@ -70,7 +70,7 @@
70
70
  .rf-tab--active {
71
71
  color: var(--rf-color-primary);
72
72
  border-bottom-color: var(--rf-color-primary);
73
- font-weight: 600;
73
+ font-weight: var(--rf-weight-semibold);
74
74
  }
75
75
 
76
76
  /* Panel content — breathing room */
@@ -8,15 +8,15 @@
8
8
  * treatment; this rule only owns the spacing below the row. */
9
9
  .rf-testimonial__rating {
10
10
  margin-bottom: 0.75rem;
11
- font-size: 1.1rem;
11
+ font-size: var(--rf-text-lg);
12
12
  }
13
13
  .rf-testimonial blockquote {
14
14
  border: none;
15
15
  padding: 0;
16
16
  margin: 0 0 1rem;
17
- font-size: 1.05rem;
17
+ font-size: var(--rf-text);
18
18
  font-style: italic;
19
- line-height: 1.7;
19
+ line-height: var(--rf-leading-relaxed);
20
20
  color: var(--rf-color-text);
21
21
  background: none;
22
22
  border-radius: 0;
@@ -29,18 +29,18 @@
29
29
  }
30
30
  .rf-testimonial__author-name {
31
31
  display: block;
32
- font-weight: 700;
32
+ font-weight: var(--rf-weight-bold);
33
33
  font-style: normal;
34
- font-size: 0.925rem;
34
+ font-size: var(--rf-text-sm);
35
35
  color: var(--rf-color-text);
36
36
  }
37
37
  .rf-testimonial__author-role {
38
38
  display: block;
39
39
  margin-top: 0.125rem;
40
- font-size: 0.85rem;
40
+ font-size: var(--rf-text-sm);
41
41
  color: var(--rf-color-muted);
42
42
  }
43
- .rf-testimonial img {
43
+ .rf-testimonial :is(img, .rf-placeholder) {
44
44
  width: 48px;
45
45
  height: 48px;
46
46
  border-radius: 50%;
@@ -7,7 +7,7 @@
7
7
  .rf-textblock--dropcap .rf-textblock__body > p:first-child::first-letter {
8
8
  float: left;
9
9
  font-size: 3.5em;
10
- font-weight: 700;
10
+ font-weight: var(--rf-weight-bold);
11
11
  line-height: 0.8;
12
12
  padding-right: 0.1em;
13
13
  margin-top: 0.05em;
@@ -17,9 +17,9 @@
17
17
 
18
18
  /* Lead paragraph — emphasized opening text */
19
19
  .rf-textblock--lead .rf-textblock__body > p:first-child {
20
- font-size: 1.25rem;
21
- line-height: 1.6;
22
- font-weight: 400;
20
+ font-size: var(--rf-text-xl);
21
+ line-height: var(--rf-leading-relaxed);
22
+ font-weight: var(--rf-weight-normal);
23
23
  color: var(--rf-color-text);
24
24
  }
25
25