astro-component-kit 0.4.0 → 0.5.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 (208) hide show
  1. package/README.md +139 -27
  2. package/bin/cli.js +67 -0
  3. package/bin/installer.js +179 -0
  4. package/package.json +35 -5
  5. package/src/components/index.ts +2 -0
  6. package/src/components/lib/Galaxy3D.astro +249 -137
  7. package/src/components/lib/app/AppSidebar.astro +249 -0
  8. package/src/components/lib/app/AppTopbar.astro +284 -0
  9. package/src/components/lib/app/ArrivalsBoard.astro +176 -0
  10. package/src/components/lib/app/AuthCard.astro +213 -0
  11. package/src/components/lib/app/DataTable.astro +346 -0
  12. package/src/components/lib/app/GuestProfileCard.astro +133 -0
  13. package/src/components/lib/app/HousekeepingBoard.astro +189 -0
  14. package/src/components/lib/app/PageHeader.astro +157 -0
  15. package/src/components/lib/app/PlanUsageCard.astro +112 -0
  16. package/src/components/lib/app/RoomRack.astro +207 -0
  17. package/src/components/lib/app/SettingsSection.astro +96 -0
  18. package/src/components/lib/app/SwitchRow.astro +71 -0
  19. package/src/components/lib/app/TeamMembers.astro +190 -0
  20. package/src/components/lib/app/app-icons.ts +52 -0
  21. package/src/components/lib/app/index.ts +19 -0
  22. package/src/components/lib/charts/AreaChart.astro +4 -4
  23. package/src/components/lib/charts/BarChart.astro +3 -3
  24. package/src/components/lib/charts/ChartFrame.astro +10 -10
  25. package/src/components/lib/charts/DonutChart.astro +2 -2
  26. package/src/components/lib/charts/DumbbellChart.astro +1 -1
  27. package/src/components/lib/charts/ForecastLineChart.astro +1 -1
  28. package/src/components/lib/charts/GaugeChart.astro +1 -1
  29. package/src/components/lib/charts/HeatmapChart.astro +1 -1
  30. package/src/components/lib/charts/HorizontalBarChart.astro +2 -2
  31. package/src/components/lib/charts/KpiStatTile.astro +4 -4
  32. package/src/components/lib/charts/LinearProgressGauge.astro +4 -4
  33. package/src/components/lib/charts/MetricDeltaTable.astro +3 -3
  34. package/src/components/lib/charts/RadarMetricChart.astro +4 -4
  35. package/src/components/lib/charts/RadialBarChart.astro +1 -1
  36. package/src/components/lib/charts/RetentionCohortTable.astro +2 -2
  37. package/src/components/lib/charts/TreemapChart.astro +1 -1
  38. package/src/components/lib/ecommerce/CartDrawer.astro +483 -0
  39. package/src/components/lib/ecommerce/CartPageList.astro +290 -0
  40. package/src/components/lib/ecommerce/CartToast.astro +276 -0
  41. package/src/components/lib/ecommerce/CategoryTiles.astro +143 -0
  42. package/src/components/lib/ecommerce/CheckoutForm.astro +423 -0
  43. package/src/components/lib/ecommerce/CountdownBanner.astro +230 -0
  44. package/src/components/lib/ecommerce/FilterBar.astro +278 -0
  45. package/src/components/lib/ecommerce/FilterSidebar.astro +405 -0
  46. package/src/components/lib/ecommerce/LiveActivityToast.astro +213 -0
  47. package/src/components/lib/ecommerce/OrderSummary.astro +295 -0
  48. package/src/components/lib/ecommerce/ProductBuyBox.astro +247 -0
  49. package/src/components/lib/ecommerce/ProductCardMinimal.astro +229 -0
  50. package/src/components/lib/ecommerce/ProductGallery.astro +145 -0
  51. package/src/components/lib/ecommerce/ProductGrid.astro +118 -0
  52. package/src/components/lib/ecommerce/ProductMedia.astro +113 -0
  53. package/src/components/lib/ecommerce/ProductRating.astro +78 -0
  54. package/src/components/lib/ecommerce/ProductToolbar.astro +93 -0
  55. package/src/components/lib/ecommerce/PromoBar.astro +145 -0
  56. package/src/components/lib/ecommerce/StockIndicator.astro +127 -0
  57. package/src/components/lib/ecommerce/StoreHeader.astro +446 -0
  58. package/src/components/lib/ecommerce/StoreHero.astro +260 -0
  59. package/src/components/lib/ecommerce/StoreProductCard.astro +307 -0
  60. package/src/components/lib/ecommerce/TrustBadges.astro +101 -0
  61. package/src/components/lib/ecommerce/VariantPicker.astro +145 -0
  62. package/src/components/lib/ecommerce/cart-store.ts +151 -0
  63. package/src/components/lib/ecommerce/catalog-filter.ts +62 -0
  64. package/src/components/lib/ecommerce/index.ts +34 -0
  65. package/src/components/lib/ecommerce/product-icons.ts +28 -0
  66. package/src/components/lib/ecommerce/types.ts +70 -0
  67. package/src/components/lib/forms/AnimatedInput.astro +4 -2
  68. package/src/components/lib/forms/CustomRadioGroup.astro +3 -1
  69. package/src/components/lib/index.ts +2 -0
  70. package/src/components/lib/layout/BentoGrid3.astro +6 -4
  71. package/src/components/lib/layout/CenterFixedBox.astro +2 -2
  72. package/src/components/lib/layout/CenteredContainer.astro +4 -2
  73. package/src/components/lib/layout/ClusterHorizontal.astro +2 -2
  74. package/src/components/lib/layout/FeatureHero.astro +4 -2
  75. package/src/components/lib/layout/FooterCenteredMinimal.astro +4 -2
  76. package/src/components/lib/layout/FullBleedSection.astro +2 -2
  77. package/src/components/lib/layout/GalleryGrid4.astro +2 -2
  78. package/src/components/lib/layout/HolyGrailGrid.astro +11 -9
  79. package/src/components/lib/layout/LandingSectionSplit.astro +5 -3
  80. package/src/components/lib/layout/MasonryGrid.astro +2 -2
  81. package/src/components/lib/layout/MinimalFooterGrid.astro +1 -1
  82. package/src/components/lib/layout/ScrollSnapSection.astro +1 -1
  83. package/src/components/lib/layout/SidebarLayoutWrapper.astro +4 -2
  84. package/src/components/lib/layout/SplitScreenLayout.astro +3 -3
  85. package/src/components/lib/layout/StepLayoutVertical.astro +1 -1
  86. package/src/components/lib/layout/StickySidebarWrapper.astro +4 -2
  87. package/src/components/lib/sections/AgencyContactBrief.astro +194 -0
  88. package/src/components/lib/sections/AgencyFooterCta.astro +94 -0
  89. package/src/components/lib/sections/AgencyHeader.astro +161 -0
  90. package/src/components/lib/sections/AgencyHeroKinetic.astro +172 -0
  91. package/src/components/lib/sections/AgencyServicesList.astro +113 -0
  92. package/src/components/lib/sections/AgencyTeamGrid.astro +111 -0
  93. package/src/components/lib/sections/AgencyWorkGrid.astro +147 -0
  94. package/src/components/lib/sections/BlogGridSection.astro +9 -7
  95. package/src/components/lib/sections/ButtonsShowcase.astro +20 -18
  96. package/src/components/lib/sections/CardsShowcase.astro +28 -26
  97. package/src/components/lib/sections/CareersOpenings.astro +10 -8
  98. package/src/components/lib/sections/ChangelogSection.astro +20 -7
  99. package/src/components/lib/sections/ContactGlassForm.astro +10 -8
  100. package/src/components/lib/sections/ContactSplitMap.astro +11 -9
  101. package/src/components/lib/sections/CtaAppDownload.astro +13 -11
  102. package/src/components/lib/sections/CtaGlowBanner.astro +12 -10
  103. package/src/components/lib/sections/CtaNewsletterSection.astro +13 -11
  104. package/src/components/lib/sections/CtaSplitImage.astro +13 -11
  105. package/src/components/lib/sections/DataShowcase.astro +23 -21
  106. package/src/components/lib/sections/FaqAccordionSection.astro +8 -8
  107. package/src/components/lib/sections/FaqTwoColumn.astro +9 -7
  108. package/src/components/lib/sections/FeatureAlternatingRows.astro +10 -8
  109. package/src/components/lib/sections/FeatureBentoGrid.astro +13 -11
  110. package/src/components/lib/sections/FeatureIconGrid.astro +6 -6
  111. package/src/components/lib/sections/FeatureTabsShowcase.astro +13 -11
  112. package/src/components/lib/sections/FeatureTimelineFlow.astro +8 -6
  113. package/src/components/lib/sections/FeedbackShowcase.astro +15 -13
  114. package/src/components/lib/sections/FooterMegaSection.astro +13 -11
  115. package/src/components/lib/sections/FormsShowcase.astro +22 -20
  116. package/src/components/lib/sections/HeroDashboardPreview.astro +11 -9
  117. package/src/components/lib/sections/HeroGlass.astro +22 -20
  118. package/src/components/lib/sections/HeroGradient.astro +15 -13
  119. package/src/components/lib/sections/HeroMinimalCentered.astro +10 -10
  120. package/src/components/lib/sections/HeroShowcaseSplit.astro +18 -16
  121. package/src/components/lib/sections/HeroSplit.astro +13 -11
  122. package/src/components/lib/sections/HeroTerminal.astro +14 -12
  123. package/src/components/lib/sections/HeroWaitlist.astro +10 -8
  124. package/src/components/lib/sections/HowItWorksSteps.astro +12 -10
  125. package/src/components/lib/sections/IntegrationsGrid.astro +7 -7
  126. package/src/components/lib/sections/LayoutShowcase.astro +21 -19
  127. package/src/components/lib/sections/LogoCloudSection.astro +4 -4
  128. package/src/components/lib/sections/LogoWallGrid.astro +6 -4
  129. package/src/components/lib/sections/NavigationShowcase.astro +15 -13
  130. package/src/components/lib/sections/OverlaysShowcase.astro +21 -19
  131. package/src/components/lib/sections/PricingComparisonMatrix.astro +15 -13
  132. package/src/components/lib/sections/PricingSinglePlan.astro +13 -11
  133. package/src/components/lib/sections/PricingTierCards.astro +11 -9
  134. package/src/components/lib/sections/PricingToggleCards.astro +13 -13
  135. package/src/components/lib/sections/ShopCategoryHero.astro +103 -0
  136. package/src/components/lib/sections/ShopCollectionMosaic.astro +131 -0
  137. package/src/components/lib/sections/ShopFooterWordmark.astro +100 -0
  138. package/src/components/lib/sections/ShopHeaderEditorial.astro +396 -0
  139. package/src/components/lib/sections/ShopHeroEditorial.astro +151 -0
  140. package/src/components/lib/sections/ShopLookbook.astro +250 -0
  141. package/src/components/lib/sections/ShopNewsletterEditorial.astro +128 -0
  142. package/src/components/lib/sections/ShopProductRail.astro +150 -0
  143. package/src/components/lib/sections/ShopReviewsEditorial.astro +133 -0
  144. package/src/components/lib/sections/ShopValuesMarquee.astro +91 -0
  145. package/src/components/lib/sections/StatsCounterBand.astro +9 -7
  146. package/src/components/lib/sections/StatsDashboardSection.astro +4 -2
  147. package/src/components/lib/sections/StatsMetricShowcase.astro +9 -7
  148. package/src/components/lib/sections/TeamGridSection.astro +12 -10
  149. package/src/components/lib/sections/TestimonialCarousel.astro +10 -8
  150. package/src/components/lib/sections/TestimonialFeatured.astro +7 -5
  151. package/src/components/lib/sections/TestimonialGridSection.astro +7 -7
  152. package/src/components/lib/sections/TestimonialWallGlass.astro +11 -9
  153. package/src/components/lib/sections/TypographyShowcase.astro +10 -8
  154. package/src/components/lib/sections/index.ts +10 -0
  155. package/src/components/lib/templates/ecommerce/StoreCategoryPage.astro +160 -0
  156. package/src/components/lib/templates/ecommerce/StoreCheckoutPage.astro +98 -0
  157. package/src/components/lib/templates/ecommerce/StoreHomePage.astro +191 -0
  158. package/src/components/lib/templates/ecommerce/StoreLayout.astro +169 -0
  159. package/src/components/lib/templates/ecommerce/StoreProductPage.astro +165 -0
  160. package/src/components/lib/templates/ecommerce/data.ts +187 -0
  161. package/src/components/lib/templates/ecommerce/index.ts +14 -0
  162. package/src/components/lib/templates/ecommerce-editorial/EditorialBagPage.astro +52 -0
  163. package/src/components/lib/templates/ecommerce-editorial/EditorialCheckoutPage.astro +123 -0
  164. package/src/components/lib/templates/ecommerce-editorial/EditorialHomePage.astro +102 -0
  165. package/src/components/lib/templates/ecommerce-editorial/EditorialLayout.astro +216 -0
  166. package/src/components/lib/templates/ecommerce-editorial/EditorialProductPage.astro +205 -0
  167. package/src/components/lib/templates/ecommerce-editorial/EditorialShopPage.astro +112 -0
  168. package/src/components/lib/templates/ecommerce-editorial/data.ts +125 -0
  169. package/src/components/lib/templates/ecommerce-editorial/index.ts +16 -0
  170. package/src/components/lib/templates/saas-hotel/AppLayout.astro +83 -0
  171. package/src/components/lib/templates/saas-hotel/DashboardPage.astro +66 -0
  172. package/src/components/lib/templates/saas-hotel/GuestsPage.astro +65 -0
  173. package/src/components/lib/templates/saas-hotel/LandingPage.astro +213 -0
  174. package/src/components/lib/templates/saas-hotel/ReportsPage.astro +63 -0
  175. package/src/components/lib/templates/saas-hotel/ReservationsPage.astro +49 -0
  176. package/src/components/lib/templates/saas-hotel/RoomsPage.astro +48 -0
  177. package/src/components/lib/templates/saas-hotel/SettingsPage.astro +115 -0
  178. package/src/components/lib/templates/saas-hotel/SignInPage.astro +50 -0
  179. package/src/components/lib/templates/saas-hotel/data.ts +229 -0
  180. package/src/components/lib/templates/saas-hotel/index.ts +19 -0
  181. package/src/components/lib/templates/saas-hotel/lobby-theme.css +90 -0
  182. package/src/data/registry/app.ts +93 -0
  183. package/src/data/registry/buttons.ts +3279 -0
  184. package/src/data/registry/cards.ts +1753 -0
  185. package/src/data/registry/charts-svg.ts +557 -0
  186. package/src/data/registry/charts.ts +500 -0
  187. package/src/data/registry/data.ts +986 -0
  188. package/src/data/registry/ecommerce.ts +269 -0
  189. package/src/data/registry/feedback.ts +1824 -0
  190. package/src/data/registry/forms.ts +2513 -0
  191. package/src/data/registry/index.ts +64 -0
  192. package/src/data/registry/layout.ts +206 -0
  193. package/src/data/registry/navigation.ts +936 -0
  194. package/src/data/registry/overlays.ts +1133 -0
  195. package/src/data/registry/sections-extra.ts +397 -0
  196. package/src/data/registry/sections.ts +361 -0
  197. package/src/data/registry/sources.ts +41 -0
  198. package/src/data/registry/templates.ts +414 -0
  199. package/src/data/registry/types.ts +30 -0
  200. package/src/data/registry/typography.ts +777 -0
  201. package/src/mcp/http-server.ts +324 -0
  202. package/src/mcp/index.ts +67 -0
  203. package/src/mcp/installer.ts +178 -0
  204. package/src/mcp/registry-adapter.ts +278 -0
  205. package/src/mcp/stdio-server.ts +11 -0
  206. package/src/mcp/tools.ts +247 -0
  207. package/src/mcp/types.ts +53 -0
  208. package/src/styles/global.css +95 -0
@@ -21,6 +21,7 @@ interface Props {
21
21
  const { copyright = '© 2026 Built with Astro Components Kit.', className = '' } = Astro.props;
22
22
  ---
23
23
 
24
+ <div class="cq-footer-centered-minimal-cq">
24
25
  <footer class:list={['footer-centered', className]}>
25
26
  <div class="footer-centered__inner">
26
27
  <div class="footer-centered__logo">
@@ -29,8 +30,9 @@ const { copyright = '© 2026 Built with Astro Components Kit.', className = '' }
29
30
  <p class="footer-centered__copy">{copyright}</p>
30
31
  </div>
31
32
  </footer>
32
-
33
+ </div>
33
34
  <style>
35
+ .cq-footer-centered-minimal-cq { container-type: inline-size; }
34
36
  .footer-centered {
35
37
  border-top: 1px solid var(--c-border);
36
38
  padding: var(--sp-10) var(--sp-6);
@@ -54,7 +56,7 @@ const { copyright = '© 2026 Built with Astro Components Kit.', className = '' }
54
56
  margin: 0;
55
57
  }
56
58
 
57
- @media (max-width: 640px) {
59
+ @container (max-width: 640px) {
58
60
  .footer-centered {
59
61
  padding: var(--sp-8) var(--sp-4);
60
62
  }
@@ -27,8 +27,8 @@ const { className = '' } = Astro.props;
27
27
  margin-left: -50vw;
28
28
  margin-right: -50vw;
29
29
  background: rgba(30, 41, 59, 0.4);
30
- border-top: 1px solid rgba(255, 255, 255, 0.06);
31
- border-bottom: 1px solid rgba(255, 255, 255, 0.06);
30
+ border-top: 1px solid rgb(var(--ink-rgb, 255 255 255) / 0.06);
31
+ border-bottom: 1px solid rgb(var(--ink-rgb, 255 255 255) / 0.06);
32
32
  padding: 3.5rem 1.5rem;
33
33
  box-sizing: border-box;
34
34
  }
@@ -28,8 +28,8 @@ const { className = '' } = Astro.props;
28
28
  .gal-grid :global(> *), .gal-item {
29
29
  aspect-ratio: 1;
30
30
  border-radius: 12px;
31
- background: rgba(255, 255, 255, 0.04);
32
- border: 1px solid rgba(255, 255, 255, 0.08);
31
+ background: rgb(var(--ink-rgb, 255 255 255) / 0.04);
32
+ border: 1px solid rgb(var(--ink-rgb, 255 255 255) / 0.08);
33
33
  display: flex;
34
34
  align-items: center;
35
35
  justify-content: center;
@@ -22,6 +22,7 @@ const {
22
22
  } = Astro.props;
23
23
  ---
24
24
 
25
+ <div class="cq-holy-grail-grid-cq">
25
26
  <div
26
27
  class:list={['holy-grail', className]}
27
28
  style={`--hg-left: ${leftWidth}; --hg-right: ${rightWidth}; --hg-gap: ${gap};`}
@@ -48,8 +49,9 @@ const {
48
49
  <slot name="footer" />
49
50
  </footer>
50
51
  </div>
51
-
52
+ </div>
52
53
  <style>
54
+ .cq-holy-grail-grid-cq { container-type: inline-size; }
53
55
  .holy-grail {
54
56
  display: flex;
55
57
  flex-direction: column;
@@ -64,7 +66,7 @@ const {
64
66
  padding: var(--sp-4, 1rem) var(--sp-6, 1.5rem);
65
67
  background: rgba(10, 10, 14, 0.8);
66
68
  backdrop-filter: blur(16px);
67
- border-bottom: 1px solid rgba(255, 255, 255, 0.08);
69
+ border-bottom: 1px solid rgb(var(--ink-rgb, 255 255 255) / 0.08);
68
70
  }
69
71
 
70
72
  .holy-grail__middle {
@@ -81,8 +83,8 @@ const {
81
83
  .holy-grail__left,
82
84
  .holy-grail__right {
83
85
  padding: var(--sp-4, 1rem);
84
- background: rgba(255, 255, 255, 0.02);
85
- border: 1px solid rgba(255, 255, 255, 0.06);
86
+ background: rgb(var(--ink-rgb, 255 255 255) / 0.02);
87
+ border: 1px solid rgb(var(--ink-rgb, 255 255 255) / 0.06);
86
88
  border-radius: var(--r-lg, 16px);
87
89
  height: fit-content;
88
90
  position: sticky;
@@ -91,8 +93,8 @@ const {
91
93
 
92
94
  .holy-grail__main {
93
95
  padding: var(--sp-6, 1.5rem);
94
- background: rgba(255, 255, 255, 0.015);
95
- border: 1px solid rgba(255, 255, 255, 0.06);
96
+ background: rgb(var(--ink-rgb, 255 255 255) / 0.015);
97
+ border: 1px solid rgb(var(--ink-rgb, 255 255 255) / 0.06);
96
98
  border-radius: var(--r-lg, 16px);
97
99
  min-height: 400px;
98
100
  }
@@ -101,11 +103,11 @@ const {
101
103
  width: 100%;
102
104
  padding: var(--sp-6, 1.5rem);
103
105
  background: rgba(10, 10, 14, 0.9);
104
- border-top: 1px solid rgba(255, 255, 255, 0.08);
106
+ border-top: 1px solid rgb(var(--ink-rgb, 255 255 255) / 0.08);
105
107
  margin-top: auto;
106
108
  }
107
109
 
108
- @media (max-width: 1024px) {
110
+ @container (max-width: 1024px) {
109
111
  .holy-grail__middle {
110
112
  grid-template-columns: var(--hg-left) 1fr;
111
113
  }
@@ -114,7 +116,7 @@ const {
114
116
  }
115
117
  }
116
118
 
117
- @media (max-width: 768px) {
119
+ @container (max-width: 768px) {
118
120
  .holy-grail__middle {
119
121
  grid-template-columns: 1fr;
120
122
  }
@@ -15,6 +15,7 @@ const {
15
15
  } = Astro.props;
16
16
  ---
17
17
 
18
+ <div class="cq-landing-section-split-cq">
18
19
  <section class={`split-sec ${className}`}>
19
20
  <div class="split-sec-text">
20
21
  <h2>{title}</h2>
@@ -33,8 +34,9 @@ const {
33
34
  </slot>
34
35
  </div>
35
36
  </section>
36
-
37
+ </div>
37
38
  <style>
39
+ .cq-landing-section-split-cq { container-type: inline-size; }
38
40
  .split-sec {
39
41
  display: grid;
40
42
  grid-template-columns: 1fr 1fr;
@@ -72,14 +74,14 @@ const {
72
74
  height: 220px;
73
75
  background: rgba(15, 23, 42, 0.6);
74
76
  border-radius: 16px;
75
- border: 1px solid rgba(255, 255, 255, 0.1);
77
+ border: 1px solid rgb(var(--ink-rgb, 255 255 255) / 0.1);
76
78
  display: flex;
77
79
  align-items: center;
78
80
  justify-content: center;
79
81
  color: #94a3b8;
80
82
  font-weight: 600;
81
83
  }
82
- @media (max-width: 768px) {
84
+ @container (max-width: 768px) {
83
85
  .split-sec {
84
86
  grid-template-columns: 1fr;
85
87
  gap: 2rem;
@@ -34,8 +34,8 @@ const { columns = 3, gap = '1.5rem', className = '' } = Astro.props;
34
34
  display: block;
35
35
  }
36
36
  .masonry-demo-item {
37
- background: rgba(255, 255, 255, 0.04);
38
- border: 1px solid rgba(255, 255, 255, 0.08);
37
+ background: rgb(var(--ink-rgb, 255 255 255) / 0.04);
38
+ border: 1px solid rgb(var(--ink-rgb, 255 255 255) / 0.08);
39
39
  border-radius: var(--r-md, 12px);
40
40
  display: flex;
41
41
  align-items: center;
@@ -37,7 +37,7 @@ const { brandName = 'AstroKit', className = '' } = Astro.props;
37
37
  .m-footer {
38
38
  width: 100%;
39
39
  padding: 3rem 1.5rem;
40
- border-top: 1px solid rgba(255, 255, 255, 0.08);
40
+ border-top: 1px solid rgb(var(--ink-rgb, 255 255 255) / 0.08);
41
41
  background: rgba(0, 0, 0, 0.2);
42
42
  }
43
43
  .f-row {
@@ -25,7 +25,7 @@ const { height = '300px', className = '' } = Astro.props;
25
25
  scroll-snap-type: y mandatory;
26
26
  width: 100%;
27
27
  border-radius: var(--r-lg, 12px);
28
- border: 1px solid rgba(255, 255, 255, 0.1);
28
+ border: 1px solid rgb(var(--ink-rgb, 255 255 255) / 0.1);
29
29
  }
30
30
  .snap-wrap :global(section), .snap-panel {
31
31
  height: var(--snap-height, 300px);
@@ -30,6 +30,7 @@ interface Props {
30
30
  const { sidebarWidth = '280px', breakpoint = '768px', className = '' } = Astro.props;
31
31
  ---
32
32
 
33
+ <div class="cq-sidebar-layout-wrapper-cq">
33
34
  <div class:list={['sidebar-layout', className]} style={`--sidebar-w: ${sidebarWidth}; --breakpoint: ${breakpoint}`}>
34
35
  <aside class="sidebar-layout__sidebar">
35
36
  <slot name="sidebar" />
@@ -38,8 +39,9 @@ const { sidebarWidth = '280px', breakpoint = '768px', className = '' } = Astro.p
38
39
  <slot name="main" />
39
40
  </main>
40
41
  </div>
41
-
42
+ </div>
42
43
  <style>
44
+ .cq-sidebar-layout-wrapper-cq { container-type: inline-size; }
43
45
  .sidebar-layout {
44
46
  display: grid;
45
47
  grid-template-columns: var(--sidebar-w) 1fr;
@@ -54,7 +56,7 @@ const { sidebarWidth = '280px', breakpoint = '768px', className = '' } = Astro.p
54
56
  padding: var(--sp-6);
55
57
  }
56
58
 
57
- @media (max-width: 768px) {
59
+ @container (max-width: 768px) {
58
60
  .sidebar-layout {
59
61
  grid-template-columns: 1fr;
60
62
  }
@@ -36,7 +36,7 @@ const { className = '' } = Astro.props;
36
36
  width: 100%;
37
37
  border-radius: var(--r-xl, 16px);
38
38
  overflow: hidden;
39
- border: 1px solid rgba(255, 255, 255, 0.08);
39
+ border: 1px solid rgb(var(--ink-rgb, 255 255 255) / 0.08);
40
40
  }
41
41
  .split-side {
42
42
  flex: 1;
@@ -47,11 +47,11 @@ const { className = '' } = Astro.props;
47
47
  padding: 3rem 2rem;
48
48
  }
49
49
  .left {
50
- background: rgba(255, 255, 255, 0.02);
50
+ background: rgb(var(--ink-rgb, 255 255 255) / 0.02);
51
51
  }
52
52
  .right {
53
53
  background: rgba(0, 0, 0, 0.3);
54
- border-left: 1px solid rgba(255, 255, 255, 0.06);
54
+ border-left: 1px solid rgb(var(--ink-rgb, 255 255 255) / 0.06);
55
55
  }
56
56
  .demo-split-block {
57
57
  text-align: center;
@@ -53,7 +53,7 @@ const { className = '' } = Astro.props;
53
53
  top: 18px;
54
54
  bottom: 18px;
55
55
  width: 2px;
56
- background: rgba(255, 255, 255, 0.1);
56
+ background: rgb(var(--ink-rgb, 255 255 255) / 0.1);
57
57
  z-index: 0;
58
58
  }
59
59
  .step-point {
@@ -32,6 +32,7 @@ interface Props {
32
32
  const { sidebarWidth = '280px', stickyTop = '100px', gap = '2rem', className = '' } = Astro.props;
33
33
  ---
34
34
 
35
+ <div class="cq-sticky-sidebar-wrapper-cq">
35
36
  <div class:list=['sticky-sidebar', className]} style={`--sidebar-w: ${sidebarWidth}; --sticky-top: ${stickyTop}; --col-gap: ${gap}`}>
36
37
  <main class="sticky-sidebar__main">
37
38
  <slot name="main" />
@@ -42,8 +43,9 @@ const { sidebarWidth = '280px', stickyTop = '100px', gap = '2rem', className = '
42
43
  </div>
43
44
  </aside>
44
45
  </div>
45
-
46
+ </div>
46
47
  <style>
48
+ .cq-sticky-sidebar-wrapper-cq { container-type: inline-size; }
47
49
  .sticky-sidebar {
48
50
  display: grid;
49
51
  grid-template-columns: 1fr var(--sidebar-w, 280px);
@@ -61,7 +63,7 @@ const { sidebarWidth = '280px', stickyTop = '100px', gap = '2rem', className = '
61
63
  top: var(--sticky-top, 100px);
62
64
  }
63
65
 
64
- @media (max-width: 768px) {
66
+ @container (max-width: 768px) {
65
67
  .sticky-sidebar {
66
68
  grid-template-columns: 1fr;
67
69
  gap: var(--sp-6);
@@ -0,0 +1,194 @@
1
+ ---
2
+ /**
3
+ * AgencyContactBrief — "Start a project" brief: service chips, budget pills, timeline, contact
4
+ * details and message, with validation and a success state; side column with direct contacts,
5
+ * office and response time.
6
+ *
7
+ * @param {string} title - Heading. Default "Let's build something people remember".
8
+ * @param {string} text - Intro text.
9
+ * @param {string[]} services - Service chips (multi-select).
10
+ * @param {string[]} budgets - Budget options (single-select).
11
+ * @param {string[]} timelines - Timeline select options.
12
+ * @param {string} action - Form action. With '#' the form validates and confirms locally. Default '#'.
13
+ * @param {Array<{label: string, value: string, href: string}>} contacts - Direct channels.
14
+ * @param {{city: string, address: string}} office - Office card (optional).
15
+ * @param {string} responseTime - Reply promise. Default 'We reply within one business day.'
16
+ * @param {string} id - Base id. Default 'brief'.
17
+ * @param {string} className - Extra class.
18
+ *
19
+ * Accessibility: chips and pills are native checkboxes/radios inside fieldsets with legends;
20
+ * required fields use autocomplete hints; errors are listed in an alert and focus moves to the
21
+ * first invalid field; the success message receives focus.
22
+ */
23
+ interface Props {
24
+ title?: string;
25
+ text?: string;
26
+ services?: string[];
27
+ budgets?: string[];
28
+ timelines?: string[];
29
+ action?: string;
30
+ contacts?: Array<{ label: string; value: string; href: string }>;
31
+ office?: { city: string; address: string };
32
+ responseTime?: string;
33
+ id?: string;
34
+ className?: string;
35
+ }
36
+
37
+ const {
38
+ title = "Let's build something people remember",
39
+ text = 'Tell us a little about your project. A partner — not a salesperson — will reply with next steps.',
40
+ services = ['Brand identity', 'Website', 'Growth marketing', 'Content & social', 'Not sure yet'],
41
+ budgets = ['< €15k', '€15–30k', '€30–60k', '€60k+'],
42
+ timelines = ['As soon as possible', 'In 1–3 months', 'In 3–6 months', 'Just exploring'],
43
+ action = '#',
44
+ contacts = [
45
+ { label: 'New business', value: 'hello@volta.studio', href: 'mailto:hello@volta.studio' },
46
+ { label: 'Call us', value: '+34 910 123 456', href: 'tel:+34910123456' },
47
+ ],
48
+ office = { city: 'Madrid', address: 'Calle de Fuencarral 45, 28004' },
49
+ responseTime = 'We reply within one business day.',
50
+ id = 'brief',
51
+ className = '',
52
+ } = Astro.props;
53
+ ---
54
+
55
+ <div class="cq-agency-brief">
56
+ <section class:list={['acb', className]} aria-labelledby={`${id}-title`}>
57
+ <div class="acb__intro">
58
+ <h2 class="acb__title" id={`${id}-title`}>{title}</h2>
59
+ {text && <p class="acb__text">{text}</p>}
60
+ <ul class="acb__contacts">
61
+ {contacts.map((c) => <li><span>{c.label}</span><a href={c.href}>{c.value}</a></li>)}
62
+ </ul>
63
+ {office && <p class="acb__office"><span>Studio</span><strong>{office.city}</strong>{office.address}</p>}
64
+ {responseTime && <p class="acb__reply"><i aria-hidden="true"></i>{responseTime}</p>}
65
+ </div>
66
+
67
+ <form class="acb__form" action={action} method="post" novalidate data-brief>
68
+ <fieldset class="acb__group">
69
+ <legend>What do you need?</legend>
70
+ <div class="acb__chips">
71
+ {services.map((s, i) => (
72
+ <label class="acb__chip"><input type="checkbox" name="services" value={s} checked={i === 0} /><span>{s}</span></label>
73
+ ))}
74
+ </div>
75
+ </fieldset>
76
+ <fieldset class="acb__group">
77
+ <legend>Budget</legend>
78
+ <div class="acb__chips">
79
+ {budgets.map((b, i) => (
80
+ <label class="acb__chip"><input type="radio" name="budget" value={b} checked={i === 1} /><span>{b}</span></label>
81
+ ))}
82
+ </div>
83
+ </fieldset>
84
+ <div class="acb__row">
85
+ <div class="acb__field">
86
+ <label for={`${id}-name`}>Your name</label>
87
+ <input id={`${id}-name`} name="name" required autocomplete="name" />
88
+ </div>
89
+ <div class="acb__field">
90
+ <label for={`${id}-email`}>Work email</label>
91
+ <input id={`${id}-email`} name="email" type="email" required autocomplete="email" />
92
+ </div>
93
+ </div>
94
+ <div class="acb__row">
95
+ <div class="acb__field">
96
+ <label for={`${id}-company`}>Company</label>
97
+ <input id={`${id}-company`} name="company" autocomplete="organization" />
98
+ </div>
99
+ <div class="acb__field">
100
+ <label for={`${id}-when`}>Timeline</label>
101
+ <select id={`${id}-when`} name="timeline">{timelines.map((t) => <option>{t}</option>)}</select>
102
+ </div>
103
+ </div>
104
+ <div class="acb__field">
105
+ <label for={`${id}-msg`}>Tell us about the project</label>
106
+ <textarea id={`${id}-msg`} name="message" rows="4" required minlength="20" placeholder="Goals, audience, deadlines, links…"></textarea>
107
+ </div>
108
+ <p class="acb__error" role="alert" data-error></p>
109
+ <button class="acb__submit" type="submit">Send brief <span aria-hidden="true">↗</span></button>
110
+ <p class="acb__fine">By sending this form you agree to our privacy policy. No newsletters, promise.</p>
111
+ </form>
112
+
113
+ <div class="acb__done" hidden tabindex="-1" data-done>
114
+ <span class="acb__done-badge" aria-hidden="true">✓</span>
115
+ <h3>Brief received — thank you!</h3>
116
+ <p>{responseTime} In the meantime, have a look at our recent work.</p>
117
+ </div>
118
+ </section>
119
+ </div>
120
+
121
+ <script>
122
+ document.querySelectorAll<HTMLFormElement>('form[data-brief]:not([data-bound])').forEach((form) => {
123
+ form.dataset.bound = '';
124
+ const error = form.querySelector<HTMLElement>('[data-error]')!;
125
+ const done = form.parentElement!.querySelector<HTMLElement>('[data-done]')!;
126
+ form.addEventListener('submit', (e) => {
127
+ form.querySelectorAll('[aria-invalid]').forEach((n) => n.removeAttribute('aria-invalid'));
128
+ const invalid = Array.from(form.querySelectorAll<HTMLInputElement | HTMLTextAreaElement>('input[required], textarea[required]')).filter((n) => !n.checkValidity());
129
+ const noService = !form.querySelector('input[name="services"]:checked');
130
+ if (invalid.length || noService) {
131
+ e.preventDefault();
132
+ invalid.forEach((n) => n.setAttribute('aria-invalid', 'true'));
133
+ const msgs = invalid.map((n) => form.querySelector(`label[for="${n.id}"]`)?.textContent).filter(Boolean);
134
+ if (noService) msgs.unshift('at least one service');
135
+ error.textContent = `Please complete: ${msgs.join(', ')}.`;
136
+ (invalid[0] ?? form.querySelector<HTMLInputElement>('input[name="services"]'))?.focus();
137
+ return;
138
+ }
139
+ if (form.getAttribute('action') === '#') {
140
+ e.preventDefault();
141
+ form.hidden = true;
142
+ done.hidden = false;
143
+ done.focus();
144
+ }
145
+ });
146
+ });
147
+ </script>
148
+
149
+ <style>
150
+ .cq-agency-brief { container-type: inline-size; }
151
+ .acb { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6cqi, 5rem); color: var(--c-text-1, #fff); }
152
+ .acb__title { margin: 0; font-size: clamp(2.4rem, 6.5cqi, 4.6rem); font-weight: 900; letter-spacing: -0.055em; line-height: 0.92; }
153
+ .acb__text { margin: var(--sp-5, 1.25rem) 0 0; max-width: 28rem; font-size: 1.05rem; line-height: 1.6; color: var(--c-text-2, #a3a3a3); }
154
+ .acb__contacts { display: grid; gap: var(--sp-4, 1rem); margin: var(--sp-8, 2rem) 0 0; padding: 0; list-style: none; }
155
+ .acb__contacts li, .acb__office { display: grid; gap: 2px; margin: 0; }
156
+ .acb__contacts span, .acb__office span { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-3, #737373); }
157
+ .acb__contacts a { font-size: clamp(1.2rem, 2.6cqi, 1.6rem); font-weight: 800; letter-spacing: -0.02em; color: inherit; text-decoration: none; background: linear-gradient(var(--agency-accent, var(--c-primary-light, #d4a017)), var(--agency-accent, var(--c-primary-light, #d4a017))) 0 100% / 0 35% no-repeat; transition: background-size 0.3s ease; width: fit-content; }
158
+ .acb__contacts a:hover { background-size: 100% 35%; }
159
+ .acb__office { margin-top: var(--sp-6, 1.5rem); font-size: 0.92rem; color: var(--c-text-2, #a3a3a3); }
160
+ .acb__office strong { font-size: 1.05rem; color: var(--c-text-1, #fff); }
161
+ .acb__reply { display: flex; align-items: center; gap: 8px; margin: var(--sp-6, 1.5rem) 0 0; font-size: 0.88rem; font-weight: 600; }
162
+ .acb__reply i { width: 10px; height: 10px; border-radius: 50%; background: var(--c-success, #34d399); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-success, #34d399) 25%, transparent); }
163
+
164
+ .acb__form, .acb__done { display: grid; gap: var(--sp-5, 1.25rem); padding: clamp(1.25rem, 3.5cqi, 2.25rem); border-radius: 28px; border: 1px solid var(--c-border, rgba(255, 255, 255, 0.12)); background: var(--c-bg-1, #0a0a0a); }
165
+ .acb__form[hidden], .acb__done[hidden] { display: none; }
166
+ .acb__group { margin: 0; padding: 0; border: 0; min-width: 0; }
167
+ .acb__group legend { margin-bottom: var(--sp-3, 0.75rem); font-size: 0.95rem; font-weight: 800; }
168
+ .acb__chips { display: flex; flex-wrap: wrap; gap: 8px; }
169
+ .acb__chip { position: relative; cursor: pointer; }
170
+ .acb__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
171
+ .acb__chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--c-border, rgba(255, 255, 255, 0.2)); font-size: 0.9rem; font-weight: 700; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
172
+ .acb__chip:hover span { border-color: currentColor; }
173
+ .acb__chip input:checked + span { background: var(--agency-accent, var(--c-primary-light, #d4a017)); border-color: transparent; color: var(--c-on-primary, #050505); }
174
+ .acb__chip input:focus-visible + span { outline: 2px solid var(--c-text-1, #fff); outline-offset: 2px; }
175
+ .acb__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4, 1rem); }
176
+ .acb__field { display: grid; gap: 6px; }
177
+ .acb__field label { font-size: 0.85rem; font-weight: 700; }
178
+ .acb__field :is(input, select, textarea) { width: 100%; min-height: 50px; padding: 0.75rem 1rem; border-radius: 14px; border: 1.5px solid var(--c-border, rgba(255, 255, 255, 0.16)); background: var(--c-bg, #050505); color: var(--c-text-1, #fff); font: inherit; font-size: 0.95rem; }
179
+ .acb__field textarea { resize: vertical; }
180
+ .acb__field :is(input, select, textarea):focus { outline: none; border-color: var(--c-text-1, #fff); box-shadow: 0 0 0 4px color-mix(in srgb, var(--agency-accent, var(--c-primary-light, #d4a017)) 35%, transparent); }
181
+ .acb__field [aria-invalid='true'] { border-color: var(--c-danger, #f87171); }
182
+ .acb__error { margin: 0; font-size: 0.88rem; font-weight: 600; color: var(--c-danger, #f87171); }
183
+ .acb__error:empty { display: none; }
184
+ .acb__submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; border: 0; border-radius: 999px; background: var(--c-text-1, #fff); color: var(--c-bg, #050505); font: inherit; font-size: 1.05rem; font-weight: 900; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
185
+ .acb__submit:hover { background: var(--agency-accent, var(--c-primary-light, #d4a017)); color: var(--c-on-primary, #050505); transform: rotate(-1deg); }
186
+ .acb__submit:focus-visible { outline: 2px solid var(--agency-accent, var(--c-primary-light, #d4a017)); outline-offset: 3px; }
187
+ .acb__fine { margin: -6px 0 0; font-size: 0.78rem; color: var(--c-text-3, #737373); text-align: center; }
188
+ .acb__done { place-content: center; justify-items: start; min-height: 420px; outline: none; }
189
+ .acb__done-badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--agency-accent, var(--c-primary-light, #d4a017)); color: var(--c-on-primary, #050505); font-size: 1.8rem; font-weight: 900; transform: rotate(-8deg); }
190
+ .acb__done h3 { margin: 0; font-size: 2rem; font-weight: 900; letter-spacing: -0.04em; }
191
+ .acb__done p { margin: 0; color: var(--c-text-2, #a3a3a3); }
192
+ @container (max-width: 820px) { .acb { grid-template-columns: 1fr; } }
193
+ @container (max-width: 520px) { .acb__row { grid-template-columns: 1fr; } }
194
+ </style>
@@ -0,0 +1,94 @@
1
+ ---
2
+ /**
3
+ * AgencyFooterCta — Agency footer led by a giant "Let's talk" link, then link columns, offices,
4
+ * socials and the legal line.
5
+ *
6
+ * @param {string} kicker - Line above the CTA. Default 'Have a project in mind?'.
7
+ * @param {{label: string, href: string}} cta - Giant CTA link. Default "Let's talk".
8
+ * @param {string} email - Email shown under the CTA (optional).
9
+ * @param {Array<{title: string, links: {label: string, href: string}[]}>} columns - Link columns.
10
+ * @param {Array<{city: string, address: string}>} offices - Office addresses.
11
+ * @param {Array<{label: string, href: string}>} socials - Social links.
12
+ * @param {string} brand - Brand for the legal line. Default 'Volta'.
13
+ * @param {string} variant - Style (accent|plain). Default 'accent'.
14
+ * @param {string} className - Extra class.
15
+ *
16
+ * Accessibility: footer landmark with a visually hidden heading; the CTA is a single large link;
17
+ * columns are nav lists.
18
+ */
19
+ interface Props {
20
+ kicker?: string;
21
+ cta?: { label: string; href: string };
22
+ email?: string;
23
+ columns?: Array<{ title: string; links: Array<{ label: string; href: string }> }>;
24
+ offices?: Array<{ city: string; address: string }>;
25
+ socials?: Array<{ label: string; href: string }>;
26
+ brand?: string;
27
+ variant?: 'accent' | 'plain';
28
+ className?: string;
29
+ }
30
+
31
+ const {
32
+ kicker = 'Have a project in mind?',
33
+ cta = { label: "Let's talk", href: '#contact' },
34
+ email = 'hello@volta.studio',
35
+ columns = [
36
+ { title: 'Studio', links: [{ label: 'Work', href: '#' }, { label: 'Services', href: '#' }, { label: 'About', href: '#' }, { label: 'Careers', href: '#' }] },
37
+ { title: 'Services', links: [{ label: 'Brand identity', href: '#' }, { label: 'Websites', href: '#' }, { label: 'Growth', href: '#' }] },
38
+ ],
39
+ offices = [{ city: 'Madrid', address: 'Calle de Fuencarral 45' }, { city: 'Lisbon', address: 'Rua das Flores 12' }],
40
+ socials = [{ label: 'Instagram', href: '#' }, { label: 'LinkedIn', href: '#' }, { label: 'Dribbble', href: '#' }, { label: 'Behance', href: '#' }],
41
+ brand = 'Volta',
42
+ variant = 'accent',
43
+ className = '',
44
+ } = Astro.props;
45
+ ---
46
+
47
+ <div class="cq-agency-footer">
48
+ <footer class:list={['afc', `afc--${variant}`, className]} aria-labelledby="afc-title">
49
+ <h2 id="afc-title" class="sr-only">Footer</h2>
50
+ <div class="afc__inner">
51
+ <p class="afc__kicker">{kicker}</p>
52
+ <a class="afc__cta" href={cta.href}>{cta.label}<span aria-hidden="true">↗</span></a>
53
+ {email && <a class="afc__email" href={`mailto:${email}`}>{email}</a>}
54
+
55
+ <div class="afc__grid">
56
+ {columns.map((c) => (
57
+ <nav aria-label={c.title}><p class="afc__label">{c.title}</p><ul>{c.links.map((l) => <li><a href={l.href}>{l.label}</a></li>)}</ul></nav>
58
+ ))}
59
+ {offices.length > 0 && (
60
+ <div><p class="afc__label">Offices</p><ul>{offices.map((o) => <li><strong>{o.city}</strong><span>{o.address}</span></li>)}</ul></div>
61
+ )}
62
+ {socials.length > 0 && (
63
+ <nav aria-label="Social"><p class="afc__label">Follow</p><ul>{socials.map((s) => <li><a href={s.href}>{s.label} ↗</a></li>)}</ul></nav>
64
+ )}
65
+ </div>
66
+ <p class="afc__legal"><span>© {new Date().getFullYear()} {brand}. All rights reserved.</span><span>Privacy · Cookies · Imprint</span></p>
67
+ </div>
68
+ </footer>
69
+ </div>
70
+
71
+ <style>
72
+ .cq-agency-footer { container-type: inline-size; }
73
+ .afc { padding: clamp(3rem, 8cqi, 6rem) clamp(1rem, 4cqi, 2.5rem) var(--sp-6, 1.5rem); color: var(--c-text-1, #fff); }
74
+ .afc--accent { background: var(--agency-accent, var(--c-primary-light, #d4a017)); color: var(--c-on-primary, #050505); --c-text-1: var(--c-on-primary, #050505); --c-text-2: color-mix(in srgb, var(--c-on-primary, #050505) 72%, transparent); --c-border: color-mix(in srgb, var(--c-on-primary, #050505) 25%, transparent); border-radius: 40px 40px 0 0; }
75
+ .afc__inner { max-width: 1280px; margin: 0 auto; }
76
+ .afc__kicker { margin: 0 0 var(--sp-3, 0.75rem); font-size: 1.1rem; font-weight: 700; color: var(--c-text-2, #a3a3a3); }
77
+ .afc__cta { display: inline-flex; align-items: flex-start; gap: 0.1em; font-size: clamp(3.5rem, 15cqi, 12rem); font-weight: 900; letter-spacing: -0.07em; line-height: 0.85; color: inherit; text-decoration: none; transition: letter-spacing 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
78
+ .afc__cta span { font-size: 0.4em; transition: transform 0.4s ease; }
79
+ .afc__cta:hover { letter-spacing: -0.05em; color: inherit; }
80
+ .afc__cta:hover span { transform: translate(6px, -6px) rotate(10deg); }
81
+ .afc__email { display: inline-block; margin-top: var(--sp-4, 1rem); font-size: clamp(1.1rem, 2.4cqi, 1.5rem); font-weight: 800; color: inherit; text-decoration: underline; text-underline-offset: 6px; }
82
+ .afc__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-8, 2rem); margin-top: clamp(2.5rem, 7cqi, 5rem); padding-top: var(--sp-6, 1.5rem); border-top: 1.5px solid currentColor; }
83
+ .afc__label { margin: 0 0 var(--sp-3, 0.75rem); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-text-2, #a3a3a3); }
84
+ .afc__grid ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
85
+ .afc__grid a { display: inline-flex; min-height: 32px; align-items: center; color: inherit; font-weight: 700; text-decoration: none; }
86
+ .afc__grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
87
+ .afc__grid li strong { display: block; font-weight: 800; }
88
+ .afc__grid li span { font-size: 0.9rem; color: var(--c-text-2, #a3a3a3); }
89
+ .afc a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
90
+ .afc__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3, 0.75rem); margin: var(--sp-10, 2.5rem) 0 0; font-size: 0.82rem; color: var(--c-text-2, #a3a3a3); }
91
+ .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
92
+ @container (max-width: 760px) { .afc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .afc--accent { border-radius: 28px 28px 0 0; } }
93
+ @media (prefers-reduced-motion: reduce) { .afc__cta, .afc__cta span { transition: none; } }
94
+ </style>